mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Merge pull request #61 from Instadapp/dep/reflexer
Whitelist Reflexer connector
This commit is contained in:
commit
9ed8cf568b
|
@ -37,8 +37,7 @@ abstract contract Helpers is DSMath, Basic {
|
||||||
* @dev Return Reflexer mapping Address.
|
* @dev Return Reflexer mapping Address.
|
||||||
*/
|
*/
|
||||||
function getGebMappingAddress() internal pure returns (address) {
|
function getGebMappingAddress() internal pure returns (address) {
|
||||||
// TODO: Set the real deployed Reflexer mapping address
|
return 0x573e5132693C046D1A9F75Bac683889164bA41b4;
|
||||||
return 0x0000000000000000000000000000000000000000;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCollateralJoinAddress(bytes32 collateralType) internal view returns (address) {
|
function getCollateralJoinAddress(bytes32 collateralType) internal view returns (address) {
|
||||||
|
|
|
@ -20,8 +20,7 @@ contract Helpers {
|
||||||
ConnectorsInterface public constant connectors = ConnectorsInterface(0x97b0B3A8bDeFE8cB9563a3c610019Ad10DB8aD11); // InstaConnectorsV2
|
ConnectorsInterface public constant connectors = ConnectorsInterface(0x97b0B3A8bDeFE8cB9563a3c610019Ad10DB8aD11); // InstaConnectorsV2
|
||||||
IndexInterface public constant instaIndex = IndexInterface(0x2971AdFa57b20E5a416aE5a708A8655A9c74f723);
|
IndexInterface public constant instaIndex = IndexInterface(0x2971AdFa57b20E5a416aE5a708A8655A9c74f723);
|
||||||
|
|
||||||
// TODO: add address for MappingController
|
MappingControllerInterface public constant mappingController = MappingControllerInterface(0xDdd075D5e1024901E4038461e1e4BbC3A48a08d4);
|
||||||
MappingControllerInterface public constant mappingController = MappingControllerInterface(address(0));
|
|
||||||
uint public version = 1;
|
uint public version = 1;
|
||||||
|
|
||||||
mapping (bytes32 => address) public collateralJoinMapping;
|
mapping (bytes32 => address) public collateralJoinMapping;
|
||||||
|
@ -55,8 +54,8 @@ contract Helpers {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
contract GebMapping is Helpers {
|
contract InstaReflexerGebMapping is Helpers {
|
||||||
string constant public name = "Reflexer-Mapping-v1";
|
string constant public name = "Reflexer-Geb-Mapping-v1";
|
||||||
|
|
||||||
constructor() public {
|
constructor() public {
|
||||||
address[] memory collateralJoins = new address[](1);
|
address[] memory collateralJoins = new address[](1);
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
"connectors":
|
"connectors": {
|
||||||
{
|
|
||||||
"1" : {
|
"1" : {
|
||||||
"AUTHORITY-A": "0x351Bb32e90C35647Df7a584f3c1a3A0c38F31c68",
|
"AUTHORITY-A": "0x351Bb32e90C35647Df7a584f3c1a3A0c38F31c68",
|
||||||
"BASIC-A": "0x9926955e0Dd681Dc303370C52f4Ad0a4dd061687",
|
"BASIC-A": "0x9926955e0Dd681Dc303370C52f4Ad0a4dd061687",
|
||||||
|
@ -24,7 +23,8 @@
|
||||||
"MAKERDAO-CLAIM-A": "0x2f8cBE650af98602a215b6482F2aD60893C5A4E8",
|
"MAKERDAO-CLAIM-A": "0x2f8cBE650af98602a215b6482F2aD60893C5A4E8",
|
||||||
"WETH-A": "0x22075fa719eFb02Ca3cF298AFa9C974B7465E5D3",
|
"WETH-A": "0x22075fa719eFb02Ca3cF298AFa9C974B7465E5D3",
|
||||||
"REFINANCE-A": "0x9eA34bE6dA51aa9F6408FeA79c946FDCFA424442",
|
"REFINANCE-A": "0x9eA34bE6dA51aa9F6408FeA79c946FDCFA424442",
|
||||||
"INST-A": "0x52C2C4a0db049255fF345EB9D3Fb1f555b7a924A"
|
"INST-A": "0x52C2C4a0db049255fF345EB9D3Fb1f555b7a924A",
|
||||||
|
"REFLEXER-A": "0xaC6dc28a6251F49Bbe5755E630107Dccde9ae2C8"
|
||||||
},
|
},
|
||||||
"137" : {
|
"137" : {
|
||||||
"1INCH-A": "0xC0d9210496afE9763F5d8cEb8deFfBa817232A9e",
|
"1INCH-A": "0xC0d9210496afE9763F5d8cEb8deFfBa817232A9e",
|
||||||
|
@ -36,6 +36,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mappings": {
|
"mappings": {
|
||||||
"InstaMappingController": "0xDdd075D5e1024901E4038461e1e4BbC3A48a08d4"
|
"InstaMappingController": "0xDdd075D5e1024901E4038461e1e4BbC3A48a08d4",
|
||||||
|
"InstaReflexerGebMapping": "0x573e5132693C046D1A9F75Bac683889164bA41b4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user