-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from 1inch/feature/deploy-aave-wrapper-v3
[SC-1028] Deploy AaveWrapperV3
- Loading branch information
Showing
9 changed files
with
1,121 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
{ | ||
"address": "0x0c8fc7a71C28c768FDC1f7d75835229beBEB1573", | ||
"abi": [ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "contract ILendingPoolV3", | ||
"name": "lendingPool", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "NotAddedMarket", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "NotRemovedMarket", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "NotSupportedToken", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "contract IERC20", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"name": "aTokenToToken", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IERC20", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "contract IERC20[]", | ||
"name": "tokens", | ||
"type": "address[]" | ||
} | ||
], | ||
"name": "addMarkets", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "contract IERC20[]", | ||
"name": "tokens", | ||
"type": "address[]" | ||
} | ||
], | ||
"name": "removeMarkets", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "contract IERC20", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"name": "tokenToaToken", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IERC20", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "contract IERC20", | ||
"name": "token", | ||
"type": "address" | ||
} | ||
], | ||
"name": "wrap", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IERC20", | ||
"name": "wrappedToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "rate", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
], | ||
"receipt": { | ||
"to": "0xD935a2bb926019E0ed6fb31fbD5b1Bbb7c05bf65", | ||
"from": "0x56E44874F624EbDE6efCc783eFD685f0FBDC6dcF", | ||
"contractAddress": null, | ||
"gasUsed": "6679461", | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"blockHash": "0x22e5341ad7d46f57716001cb69f7ba0c376a7120836f7f84c704803a2d875bb7", | ||
"logs": [], | ||
"blockNumber": 162360157, | ||
"cumulativeGasUsed": "6679461", | ||
"status": 1 | ||
}, | ||
"args": [ | ||
"0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654" | ||
], | ||
"numDeployments": 1, | ||
"bytecode": "0x60a03461007057601f6107a238819003918201601f19168301916001600160401b038311848410176100755780849260209460405283398101031261007057516001600160a01b038116810361007057608052604051610716908161008c8239608051818181608201526102060152f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe604060808152600490600436101561001657600080fd5b6000803560e01c8063023276f01461040757806394a32b4b146103a2578063a928058b1461033e578063bfef7bdf146101db5763da40385d1461005857600080fd5b346101d85761006636610502565b92819273ffffffffffffffffffffffffffffffffffffffff92837f000000000000000000000000000000000000000000000000000000000000000016945b86518110156101d457846100b8828961064c565b51168351907fd2493b6c0000000000000000000000000000000000000000000000000000000082528582015260609081816024818b5afa9182156101ca5790879291859261019b575b5050168015610172579060019186610119838b61064c565b511690808552838a8961015d866020938a85528b8b207fffffffffffffffffffffffff0000000000000000000000000000000000000000988982541617905561064c565b511687525285852091825416179055016100a4565b505050517f54279e74000000000000000000000000000000000000000000000000000000008152fd5b6101ba9250803d106101c3575b6101b28183610492565b8101906106b0565b50503880610101565b503d6101a8565b85513d86823e3d90fd5b5080f35b80fd5b50903461033a576101eb36610502565b908273ffffffffffffffffffffffffffffffffffffffff94857f000000000000000000000000000000000000000000000000000000000000000016945b8451811015610336578661023c828761064c565b51168451907fd2493b6c0000000000000000000000000000000000000000000000000000000082528382015260609081816024818b5afa91821561032c5790899291869261030d575b50501680156102e557906001918452602084815282868620917fffffffffffffffffffffffff0000000000000000000000000000000000000000928381541690558a6102d1858b61064c565b511687525285852090815416905501610228565b8285517f7b609a5b000000000000000000000000000000000000000000000000000000008152fd5b6103239250803d106101c3576101b28183610492565b50503880610285565b86513d87823e3d90fd5b8280f35b5080fd5b50903461033a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033a576020918173ffffffffffffffffffffffffffffffffffffffff918261039261046a565b1681528085522054169051908152f35b50903461033a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033a576020918173ffffffffffffffffffffffffffffffffffffffff91826103f661046a565b168152600185522054169051908152f35b50346101d85760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d8575061044861044361046a565b6105c0565b73ffffffffffffffffffffffffffffffffffffffff8351921682526020820152f35b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361048d57565b600080fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176104d357604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6020807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261048d5767ffffffffffffffff9160043583811161048d578160238201121561048d5780600401359384116104d3578360051b906040519461056e6020840187610492565b85526024602086019282010192831161048d57602401905b828210610594575050505090565b813573ffffffffffffffffffffffffffffffffffffffff8116810361048d578152908301908301610586565b73ffffffffffffffffffffffffffffffffffffffff809116600052600060205280604060002054169060016020526040600020541681151560001461060d575090670de0b6b3a764000090565b905080156106225790670de0b6b3a764000090565b60046040517fc8a08d6f000000000000000000000000000000000000000000000000000000008152fd5b80518210156106605760209160051b010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b519073ffffffffffffffffffffffffffffffffffffffff8216820361048d57565b9081606091031261048d576106c48161068f565b916106dd60406106d66020850161068f565b930161068f565b9056fea2646970667358221220065609fae4446b57eb6c7cb87814770721ab01b22f7d08c925d98ecbd1ef993564736f6c63430008170033", | ||
"deployedBytecode": "0x604060808152600490600436101561001657600080fd5b6000803560e01c8063023276f01461040757806394a32b4b146103a2578063a928058b1461033e578063bfef7bdf146101db5763da40385d1461005857600080fd5b346101d85761006636610502565b92819273ffffffffffffffffffffffffffffffffffffffff92837f000000000000000000000000000000000000000000000000000000000000000016945b86518110156101d457846100b8828961064c565b51168351907fd2493b6c0000000000000000000000000000000000000000000000000000000082528582015260609081816024818b5afa9182156101ca5790879291859261019b575b5050168015610172579060019186610119838b61064c565b511690808552838a8961015d866020938a85528b8b207fffffffffffffffffffffffff0000000000000000000000000000000000000000988982541617905561064c565b511687525285852091825416179055016100a4565b505050517f54279e74000000000000000000000000000000000000000000000000000000008152fd5b6101ba9250803d106101c3575b6101b28183610492565b8101906106b0565b50503880610101565b503d6101a8565b85513d86823e3d90fd5b5080f35b80fd5b50903461033a576101eb36610502565b908273ffffffffffffffffffffffffffffffffffffffff94857f000000000000000000000000000000000000000000000000000000000000000016945b8451811015610336578661023c828761064c565b51168451907fd2493b6c0000000000000000000000000000000000000000000000000000000082528382015260609081816024818b5afa91821561032c5790899291869261030d575b50501680156102e557906001918452602084815282868620917fffffffffffffffffffffffff0000000000000000000000000000000000000000928381541690558a6102d1858b61064c565b511687525285852090815416905501610228565b8285517f7b609a5b000000000000000000000000000000000000000000000000000000008152fd5b6103239250803d106101c3576101b28183610492565b50503880610285565b86513d87823e3d90fd5b8280f35b5080fd5b50903461033a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033a576020918173ffffffffffffffffffffffffffffffffffffffff918261039261046a565b1681528085522054169051908152f35b50903461033a5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033a576020918173ffffffffffffffffffffffffffffffffffffffff91826103f661046a565b168152600185522054169051908152f35b50346101d85760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d8575061044861044361046a565b6105c0565b73ffffffffffffffffffffffffffffffffffffffff8351921682526020820152f35b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361048d57565b600080fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176104d357604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6020807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261048d5767ffffffffffffffff9160043583811161048d578160238201121561048d5780600401359384116104d3578360051b906040519461056e6020840187610492565b85526024602086019282010192831161048d57602401905b828210610594575050505090565b813573ffffffffffffffffffffffffffffffffffffffff8116810361048d578152908301908301610586565b73ffffffffffffffffffffffffffffffffffffffff809116600052600060205280604060002054169060016020526040600020541681151560001461060d575090670de0b6b3a764000090565b905080156106225790670de0b6b3a764000090565b60046040517fc8a08d6f000000000000000000000000000000000000000000000000000000008152fd5b80518210156106605760209160051b010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b519073ffffffffffffffffffffffffffffffffffffffff8216820361048d57565b9081606091031261048d576106c48161068f565b916106dd60406106d66020850161068f565b930161068f565b9056fea2646970667358221220065609fae4446b57eb6c7cb87814770721ab01b22f7d08c925d98ecbd1ef993564736f6c63430008170033" | ||
} |
Oops, something went wrong.