mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
Added connectorId func
This commit is contained in:
parent
175ebfb20e
commit
4607f156ed
|
@ -154,7 +154,7 @@ interface ManagerLike {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface VatLike {
|
interface VatLike {
|
||||||
// function can(address, address) external view returns (uint);
|
function can(address, address) external view returns (uint);
|
||||||
function ilks(bytes32) external view returns (uint, uint, uint, uint, uint);
|
function ilks(bytes32) external view returns (uint, uint, uint, uint, uint);
|
||||||
function dai(address) external view returns (uint);
|
function dai(address) external view returns (uint);
|
||||||
function urns(bytes32, address) external view returns (uint, uint);
|
function urns(bytes32, address) external view returns (uint, uint);
|
||||||
|
@ -261,6 +261,13 @@ contract Helpers is DSMath {
|
||||||
// return 0xd0A1E359811322d97991E03f863a0C30C2cF029C; // Kovan WETH Address
|
// return 0xd0A1E359811322d97991E03f863a0C30C2cF029C; // Kovan WETH Address
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @dev Connector Details.
|
||||||
|
*/
|
||||||
|
function connectorID() public pure returns(uint _type, uint _id) {
|
||||||
|
(_type, _id) = (1, 72);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev Return InstaDApp Mapping Address
|
* @dev Return InstaDApp Mapping Address
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user