Updated connectorId

This commit is contained in:
Thrilok Kumar 2021-05-05 16:14:14 +05:30
parent 5530f8f013
commit 74b4dfa21e

View File

@ -32,11 +32,6 @@ interface CETHInterface {
function repayBorrow() external payable;
}
// interface InstaMapping {
// function cTokenMapping(address) external view returns (address);
// function gemJoinMapping(bytes32) external view returns (address);
// }
interface CompoundMappingInterface {
function cTokenMapping(string calldata tokenId) external view returns (address);
function getMapping(string calldata tokenId) external view returns (address, address);
@ -179,13 +174,6 @@ contract Helpers is DSMath {
// 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
*/
@ -1056,5 +1044,12 @@ contract RefinanceResolver is AaveV2Helpers {
}
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";
}