mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Updated connectorId
This commit is contained in:
parent
5530f8f013
commit
74b4dfa21e
|
@ -32,11 +32,6 @@ interface CETHInterface {
|
||||||
function repayBorrow() external payable;
|
function repayBorrow() external payable;
|
||||||
}
|
}
|
||||||
|
|
||||||
// interface InstaMapping {
|
|
||||||
// function cTokenMapping(address) external view returns (address);
|
|
||||||
// function gemJoinMapping(bytes32) external view returns (address);
|
|
||||||
// }
|
|
||||||
|
|
||||||
interface CompoundMappingInterface {
|
interface CompoundMappingInterface {
|
||||||
function cTokenMapping(string calldata tokenId) external view returns (address);
|
function cTokenMapping(string calldata tokenId) external view returns (address);
|
||||||
function getMapping(string calldata tokenId) external view returns (address, address);
|
function getMapping(string calldata tokenId) external view returns (address, address);
|
||||||
|
@ -179,13 +174,6 @@ 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, 73);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev Return InstaDApp Mapping Address
|
* @dev Return InstaDApp Mapping Address
|
||||||
*/
|
*/
|
||||||
|
@ -1056,5 +1044,12 @@ contract RefinanceResolver is AaveV2Helpers {
|
||||||
}
|
}
|
||||||
|
|
||||||
contract ConnectRefinance is RefinanceResolver {
|
contract ConnectRefinance is RefinanceResolver {
|
||||||
|
/**
|
||||||
|
* @dev Connector Details.
|
||||||
|
*/
|
||||||
|
function connectorID() public pure returns(uint _type, uint _id) {
|
||||||
|
(_type, _id) = (1, 96);
|
||||||
|
}
|
||||||
|
|
||||||
string public name = "Refinance-v1.2";
|
string public name = "Refinance-v1.2";
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user