mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
edits
This commit is contained in:
parent
f448507b97
commit
6370eccfbd
|
@ -46,13 +46,6 @@ contract Stores {
|
||||||
if (setId != 0) MemoryInterface(getMemoryAddr()).setUint(setId, val);
|
if (setId != 0) MemoryInterface(getMemoryAddr()).setUint(setId, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @dev Connector Details
|
|
||||||
*/
|
|
||||||
function connectorID() public pure returns(uint model, uint id) {
|
|
||||||
(model, id) = (0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev emit event on event contract
|
* @dev emit event on event contract
|
||||||
*/
|
*/
|
||||||
|
@ -61,4 +54,11 @@ contract Stores {
|
||||||
EventInterface(getEventAddr()).emitEvent(model, id, eventCode, eventData);
|
EventInterface(getEventAddr()).emitEvent(model, id, eventCode, eventData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @dev Connector Details - needs to be changed before deployment
|
||||||
|
*/
|
||||||
|
function connectorID() public pure returns(uint model, uint id) {
|
||||||
|
(model, id) = (0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user