diff --git a/networks/mainnet-abi.json b/networks/mainnet-abi.json index 612af7a15..39e30e7ee 100644 --- a/networks/mainnet-abi.json +++ b/networks/mainnet-abi.json @@ -2189,58 +2189,23 @@ "signature": "constructor" } ], - "cDAI": [ + "GovernorAlpha": [ { "inputs": [ { "internalType": "address", - "name": "underlying_", - "type": "address" - }, - { - "internalType": "contract ComptrollerInterface", - "name": "comptroller_", - "type": "address" - }, - { - "internalType": "contract InterestRateModel", - "name": "interestRateModel_", + "name": "timelock_", "type": "address" }, { - "internalType": "uint256", - "name": "initialExchangeRateMantissa_", - "type": "uint256" - }, - { - "internalType": "string", - "name": "name_", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol_", - "type": "string" - }, - { - "internalType": "uint8", - "name": "decimals_", - "type": "uint8" - }, - { - "internalType": "address payable", - "name": "admin_", + "internalType": "address", + "name": "comp_", "type": "address" }, { "internalType": "address", - "name": "implementation_", + "name": "guardian_", "type": "address" - }, - { - "internalType": "bytes", - "name": "becomeImplementationData", - "type": "bytes" } ], "payable": false, @@ -2254,89 +2219,75 @@ { "indexed": false, "internalType": "uint256", - "name": "cashPrior", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "interestAccumulated", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "borrowIndex", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "totalBorrows", + "name": "id", "type": "uint256" } ], - "name": "AccrueInterest", + "name": "ProposalCanceled", "type": "event", - "signature": "0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04" + "signature": "0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c" }, { "anonymous": false, "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + "indexed": false, + "internalType": "uint256", + "name": "id", + "type": "uint256" }, { - "indexed": true, + "indexed": false, "internalType": "address", - "name": "spender", + "name": "proposer", "type": "address" }, { "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event", - "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" - }, - { - "anonymous": false, - "inputs": [ + "internalType": "address[]", + "name": "targets", + "type": "address[]" + }, { "indexed": false, - "internalType": "address", - "name": "borrower", - "type": "address" + "internalType": "uint256[]", + "name": "values", + "type": "uint256[]" }, { "indexed": false, - "internalType": "uint256", - "name": "borrowAmount", - "type": "uint256" + "internalType": "string[]", + "name": "signatures", + "type": "string[]" + }, + { + "indexed": false, + "internalType": "bytes[]", + "name": "calldatas", + "type": "bytes[]" }, { "indexed": false, "internalType": "uint256", - "name": "accountBorrows", + "name": "startBlock", "type": "uint256" }, { "indexed": false, "internalType": "uint256", - "name": "totalBorrows", + "name": "endBlock", "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "description", + "type": "string" } ], - "name": "Borrow", + "name": "ProposalCreated", "type": "event", - "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" + "signature": "0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0" }, { "anonymous": false, @@ -2344,25 +2295,33 @@ { "indexed": false, "internalType": "uint256", - "name": "error", + "name": "id", "type": "uint256" - }, + } + ], + "name": "ProposalExecuted", + "type": "event", + "signature": "0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f" + }, + { + "anonymous": false, + "inputs": [ { "indexed": false, "internalType": "uint256", - "name": "info", + "name": "id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", - "name": "detail", + "name": "eta", "type": "uint256" } ], - "name": "Failure", + "name": "ProposalQueued", "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + "signature": "0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892" }, { "anonymous": false, @@ -2370,335 +2329,370 @@ { "indexed": false, "internalType": "address", - "name": "liquidator", - "type": "address" - }, - { - "indexed": false, - "internalType": "address", - "name": "borrower", + "name": "voter", "type": "address" }, { "indexed": false, "internalType": "uint256", - "name": "repayAmount", + "name": "proposalId", "type": "uint256" }, { "indexed": false, - "internalType": "address", - "name": "cTokenCollateral", - "type": "address" + "internalType": "bool", + "name": "support", + "type": "bool" }, { "indexed": false, "internalType": "uint256", - "name": "seizeTokens", + "name": "votes", "type": "uint256" } ], - "name": "LiquidateBorrow", + "name": "VoteCast", "type": "event", - "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" + "signature": "0x877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c46" }, { - "anonymous": false, + "constant": true, + "inputs": [], + "name": "BALLOT_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xdeaaa7cc" + }, + { + "constant": true, + "inputs": [], + "name": "DOMAIN_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x20606b70" + }, + { + "constant": false, + "inputs": [], + "name": "__abdicate", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x760fbc13" + }, + { + "constant": false, + "inputs": [], + "name": "__acceptAdmin", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb9a61961" + }, + { + "constant": false, "inputs": [ { - "indexed": false, "internalType": "address", - "name": "minter", + "name": "newPendingAdmin", "type": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "mintAmount", - "type": "uint256" - }, - { - "indexed": false, "internalType": "uint256", - "name": "mintTokens", + "name": "eta", "type": "uint256" } ], - "name": "Mint", - "type": "event", - "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" + "name": "__executeSetTimelockPendingAdmin", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x21f43e42" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, "internalType": "address", - "name": "oldAdmin", + "name": "newPendingAdmin", "type": "address" }, { - "indexed": false, - "internalType": "address", - "name": "newAdmin", - "type": "address" + "internalType": "uint256", + "name": "eta", + "type": "uint256" } ], - "name": "NewAdmin", - "type": "event", - "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" + "name": "__queueSetTimelockPendingAdmin", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x91500671" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "contract ComptrollerInterface", - "name": "oldComptroller", - "type": "address" - }, - { - "indexed": false, - "internalType": "contract ComptrollerInterface", - "name": "newComptroller", - "type": "address" + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" } ], - "name": "NewComptroller", - "type": "event", - "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" + "name": "cancel", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x40e58ee5" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "address", - "name": "oldImplementation", - "type": "address" + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" }, { - "indexed": false, - "internalType": "address", - "name": "newImplementation", - "type": "address" + "internalType": "bool", + "name": "support", + "type": "bool" } ], - "name": "NewImplementation", - "type": "event", - "signature": "0xd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a" - }, + "name": "castVote", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x15373e3d" + }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "contract InterestRateModel", - "name": "oldInterestRateModel", - "type": "address" + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" }, { - "indexed": false, - "internalType": "contract InterestRateModel", - "name": "newInterestRateModel", - "type": "address" + "internalType": "bool", + "name": "support", + "type": "bool" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" } ], - "name": "NewMarketInterestRateModel", - "type": "event", - "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" + "name": "castVoteBySig", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4634c61f" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "oldPendingAdmin", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "comp", + "outputs": [ { - "indexed": false, - "internalType": "address", - "name": "newPendingAdmin", + "internalType": "contract CompInterface", + "name": "", "type": "address" } ], - "name": "NewPendingAdmin", - "type": "event", - "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x109d0af8" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "oldReserveFactorMantissa", - "type": "uint256" - }, - { - "indexed": false, "internalType": "uint256", - "name": "newReserveFactorMantissa", + "name": "proposalId", "type": "uint256" } ], - "name": "NewReserveFactor", - "type": "event", - "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" + "name": "execute", + "outputs": [], + "payable": true, + "stateMutability": "payable", + "type": "function", + "signature": "0xfe0d94c1" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "internalType": "address", - "name": "redeemer", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "redeemAmount", - "type": "uint256" - }, - { - "indexed": false, "internalType": "uint256", - "name": "redeemTokens", + "name": "proposalId", "type": "uint256" } ], - "name": "Redeem", - "type": "event", - "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "payer", - "type": "address" - }, + "name": "getActions", + "outputs": [ { - "indexed": false, - "internalType": "address", - "name": "borrower", - "type": "address" + "internalType": "address[]", + "name": "targets", + "type": "address[]" }, { - "indexed": false, - "internalType": "uint256", - "name": "repayAmount", - "type": "uint256" + "internalType": "uint256[]", + "name": "values", + "type": "uint256[]" }, { - "indexed": false, - "internalType": "uint256", - "name": "accountBorrows", - "type": "uint256" + "internalType": "string[]", + "name": "signatures", + "type": "string[]" }, { - "indexed": false, - "internalType": "uint256", - "name": "totalBorrows", - "type": "uint256" + "internalType": "bytes[]", + "name": "calldatas", + "type": "bytes[]" } ], - "name": "RepayBorrow", - "type": "event", - "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x328dd982" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "internalType": "address", - "name": "benefactor", - "type": "address" - }, - { - "indexed": false, "internalType": "uint256", - "name": "addAmount", + "name": "proposalId", "type": "uint256" }, { - "indexed": false, - "internalType": "uint256", - "name": "newTotalReserves", - "type": "uint256" + "internalType": "address", + "name": "voter", + "type": "address" } ], - "name": "ReservesAdded", - "type": "event", - "signature": "0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5" + "name": "getReceipt", + "outputs": [ + { + "components": [ + { + "internalType": "bool", + "name": "hasVoted", + "type": "bool" + }, + { + "internalType": "bool", + "name": "support", + "type": "bool" + }, + { + "internalType": "uint96", + "name": "votes", + "type": "uint96" + } + ], + "internalType": "struct GovernorAlpha.Receipt", + "name": "", + "type": "tuple" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xe23a9a52" }, { - "anonymous": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "guardian", + "outputs": [ { - "indexed": false, "internalType": "address", - "name": "admin", + "name": "", "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "reduceAmount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newTotalReserves", - "type": "uint256" } ], - "name": "ReservesReduced", - "type": "event", - "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x452a9320" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, "internalType": "address", - "name": "to", + "name": "", "type": "address" - }, + } + ], + "name": "latestProposalIds", + "outputs": [ { - "indexed": false, "internalType": "uint256", - "name": "amount", + "name": "", "type": "uint256" } ], - "name": "Transfer", - "type": "event", - "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x17977c61" }, { - "payable": true, - "stateMutability": "payable", - "type": "fallback" + "constant": true, + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x06fdde03" }, { - "constant": false, + "constant": true, "inputs": [], - "name": "_acceptAdmin", + "name": "proposalCount", "outputs": [ { "internalType": "uint256", @@ -2707,20 +2701,30 @@ } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xe9c714f2" + "signature": "0xda35c664" }, { - "constant": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "proposalMaxOperations", + "outputs": [ { "internalType": "uint256", - "name": "addAmount", + "name": "", "type": "uint256" } ], - "name": "_addReserves", + "payable": false, + "stateMutability": "pure", + "type": "function", + "signature": "0x7bdbe4d0" + }, + { + "constant": true, + "inputs": [], + "name": "proposalThreshold", "outputs": [ { "internalType": "uint256", @@ -2729,90 +2733,102 @@ } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "pure", "type": "function", - "signature": "0x3e941010" + "signature": "0xb58131b0" }, { - "constant": false, + "constant": true, "inputs": [ { "internalType": "uint256", - "name": "reduceAmount", + "name": "", "type": "uint256" } ], - "name": "_reduceReserves", + "name": "proposals", "outputs": [ { "internalType": "uint256", - "name": "", + "name": "id", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x601a0bf1" - }, - { - "constant": false, - "inputs": [ + }, { - "internalType": "contract ComptrollerInterface", - "name": "newComptroller", + "internalType": "address", + "name": "proposer", "type": "address" - } - ], - "name": "_setComptroller", - "outputs": [ + }, { "internalType": "uint256", - "name": "", + "name": "eta", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x4576b5db" - }, - { - "constant": false, - "inputs": [ + }, { - "internalType": "address", - "name": "implementation_", - "type": "address" + "internalType": "uint256", + "name": "startBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "endBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "forVotes", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "againstVotes", + "type": "uint256" }, { "internalType": "bool", - "name": "allowResign", + "name": "canceled", "type": "bool" }, { - "internalType": "bytes", - "name": "becomeImplementationData", - "type": "bytes" + "internalType": "bool", + "name": "executed", + "type": "bool" } ], - "name": "_setImplementation", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x555bcc40" + "signature": "0x013cf08b" }, { "constant": false, "inputs": [ { - "internalType": "contract InterestRateModel", - "name": "newInterestRateModel", - "type": "address" + "internalType": "address[]", + "name": "targets", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "values", + "type": "uint256[]" + }, + { + "internalType": "string[]", + "name": "signatures", + "type": "string[]" + }, + { + "internalType": "bytes[]", + "name": "calldatas", + "type": "bytes[]" + }, + { + "internalType": "string", + "name": "description", + "type": "string" } ], - "name": "_setInterestRateModel", + "name": "propose", "outputs": [ { "internalType": "uint256", @@ -2823,18 +2839,28 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xf2b3abbd" + "signature": "0xda95691a" }, { "constant": false, "inputs": [ { - "internalType": "address payable", - "name": "newPendingAdmin", - "type": "address" + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" } ], - "name": "_setPendingAdmin", + "name": "queue", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xddf0b009" + }, + { + "constant": true, + "inputs": [], + "name": "quorumVotes", "outputs": [ { "internalType": "uint256", @@ -2843,52 +2869,52 @@ } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "pure", "type": "function", - "signature": "0xb71d1a0c" + "signature": "0x24bc1a64" }, { - "constant": false, + "constant": true, "inputs": [ { "internalType": "uint256", - "name": "newReserveFactorMantissa", + "name": "proposalId", "type": "uint256" } ], - "name": "_setReserveFactor", + "name": "state", "outputs": [ { - "internalType": "uint256", + "internalType": "enum GovernorAlpha.ProposalState", "name": "", - "type": "uint256" + "type": "uint8" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xfca7820b" + "signature": "0x3e4f49e6" }, { "constant": true, "inputs": [], - "name": "accrualBlockNumber", + "name": "timelock", "outputs": [ { - "internalType": "uint256", + "internalType": "contract TimelockInterface", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x6c540baf" + "signature": "0xd33219b4" }, { - "constant": false, + "constant": true, "inputs": [], - "name": "accrueInterest", + "name": "votingDelay", "outputs": [ { "internalType": "uint256", @@ -2897,527 +2923,559 @@ } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "pure", "type": "function", - "signature": "0xa6afed95" + "signature": "0x3932abb1" }, { "constant": true, "inputs": [], - "name": "admin", + "name": "votingPeriod", "outputs": [ { - "internalType": "address payable", + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "pure", "type": "function", - "signature": "0xf851a440" - }, + "signature": "0x02a251a3" + } + ], + "cDAI": [ { - "constant": true, "inputs": [ { "internalType": "address", - "name": "owner", + "name": "underlying_", "type": "address" }, { - "internalType": "address", - "name": "spender", + "internalType": "contract ComptrollerInterface", + "name": "comptroller_", "type": "address" - } - ], - "name": "allowance", - "outputs": [ + }, + { + "internalType": "contract InterestRateModel", + "name": "interestRateModel_", + "type": "address" + }, { "internalType": "uint256", - "name": "", + "name": "initialExchangeRateMantissa_", "type": "uint256" + }, + { + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "uint8", + "name": "decimals_", + "type": "uint8" + }, + { + "internalType": "address payable", + "name": "admin_", + "type": "address" + }, + { + "internalType": "address", + "name": "implementation_", + "type": "address" + }, + { + "internalType": "bytes", + "name": "becomeImplementationData", + "type": "bytes" } ], "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xdd62ed3e" + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "internalType": "address", - "name": "spender", - "type": "address" + "indexed": false, + "internalType": "uint256", + "name": "cashPrior", + "type": "uint256" }, { + "indexed": false, "internalType": "uint256", - "name": "amount", + "name": "interestAccumulated", "type": "uint256" - } - ], - "name": "approve", - "outputs": [ + }, { - "internalType": "bool", - "name": "", - "type": "bool" + "indexed": false, + "internalType": "uint256", + "name": "borrowIndex", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalBorrows", + "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x095ea7b3" + "name": "AccrueInterest", + "type": "event", + "signature": "0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04" }, { - "constant": true, + "anonymous": false, "inputs": [ { + "indexed": true, "internalType": "address", "name": "owner", "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "amount", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x70a08231" + "name": "Approval", + "type": "event", + "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, "internalType": "address", - "name": "owner", + "name": "borrower", "type": "address" - } - ], - "name": "balanceOfUnderlying", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "borrowAmount", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x3af9e669" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "accountBorrows", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalBorrows", + "type": "uint256" + } + ], + "name": "Borrow", + "type": "event", + "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, "internalType": "uint256", - "name": "borrowAmount", + "name": "error", "type": "uint256" - } - ], - "name": "borrow", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "info", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "detail", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xc5ebeaec" + "name": "Failure", + "type": "event", + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, + "internalType": "address", + "name": "liquidator", + "type": "address" + }, + { + "indexed": false, "internalType": "address", - "name": "account", + "name": "borrower", "type": "address" - } - ], - "name": "borrowBalanceCurrent", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "repayAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "cTokenCollateral", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "seizeTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x17bfdfbc" + "name": "LiquidateBorrow", + "type": "event", + "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" }, { - "constant": true, + "anonymous": false, "inputs": [ { + "indexed": false, "internalType": "address", - "name": "account", + "name": "minter", "type": "address" - } - ], - "name": "borrowBalanceStored", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "mintAmount", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x95dd9193" - }, - { - "constant": true, - "inputs": [], - "name": "borrowIndex", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "mintTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xaa5af0fd" + "name": "Mint", + "type": "event", + "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" }, { - "constant": true, - "inputs": [], - "name": "borrowRatePerBlock", - "outputs": [ + "anonymous": false, + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "indexed": false, + "internalType": "address", + "name": "oldAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf8f9da28" + "name": "NewAdmin", + "type": "event", + "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" }, { - "constant": true, - "inputs": [], - "name": "comptroller", - "outputs": [ + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "contract ComptrollerInterface", + "name": "oldComptroller", + "type": "address" + }, { + "indexed": false, "internalType": "contract ComptrollerInterface", - "name": "", + "name": "newComptroller", "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x5fe3b567" + "name": "NewComptroller", + "type": "event", + "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" }, { - "constant": true, - "inputs": [], - "name": "decimals", - "outputs": [ + "anonymous": false, + "inputs": [ { - "internalType": "uint8", - "name": "", - "type": "uint8" + "indexed": false, + "internalType": "address", + "name": "oldImplementation", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newImplementation", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x313ce567" + "name": "NewImplementation", + "type": "event", + "signature": "0xd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "delegateToImplementation", - "outputs": [ + "indexed": false, + "internalType": "contract InterestRateModel", + "name": "oldInterestRateModel", + "type": "address" + }, { - "internalType": "bytes", - "name": "", - "type": "bytes" + "indexed": false, + "internalType": "contract InterestRateModel", + "name": "newInterestRateModel", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x0933c1ed" + "name": "NewMarketInterestRateModel", + "type": "event", + "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "delegateToViewImplementation", - "outputs": [ + "indexed": false, + "internalType": "address", + "name": "oldPendingAdmin", + "type": "address" + }, { - "internalType": "bytes", - "name": "", - "type": "bytes" + "indexed": false, + "internalType": "address", + "name": "newPendingAdmin", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x4487152f" + "name": "NewPendingAdmin", + "type": "event", + "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" }, { - "constant": false, - "inputs": [], - "name": "exchangeRateCurrent", - "outputs": [ + "anonymous": false, + "inputs": [ { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "oldReserveFactorMantissa", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xbd6d894d" - }, - { - "constant": true, - "inputs": [], - "name": "exchangeRateStored", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "newReserveFactorMantissa", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x182df0f5" + "name": "NewReserveFactor", + "type": "event", + "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" }, { - "constant": true, + "anonymous": false, "inputs": [ { + "indexed": false, "internalType": "address", - "name": "account", + "name": "redeemer", "type": "address" - } - ], - "name": "getAccountSnapshot", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "redeemAmount", "type": "uint256" }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "redeemTokens", "type": "uint256" + } + ], + "name": "Redeem", + "type": "event", + "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "payer", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "borrower", + "type": "address" }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "repayAmount", "type": "uint256" }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "accountBorrows", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xc37f68e2" - }, - { - "constant": true, - "inputs": [], - "name": "getCash", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x3b1d21a2" + "name": "RepayBorrow", + "type": "event", + "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" }, { - "constant": true, - "inputs": [], - "name": "implementation", - "outputs": [ + "anonymous": false, + "inputs": [ { + "indexed": false, "internalType": "address", - "name": "", + "name": "benefactor", "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x5c60da1b" - }, - { - "constant": true, - "inputs": [], - "name": "interestRateModel", - "outputs": [ + }, { - "internalType": "contract InterestRateModel", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf3fdb15a" - }, - { - "constant": true, - "inputs": [], - "name": "isCToken", - "outputs": [ + "indexed": false, + "internalType": "uint256", + "name": "addAmount", + "type": "uint256" + }, { - "internalType": "bool", - "name": "", - "type": "bool" + "indexed": false, + "internalType": "uint256", + "name": "newTotalReserves", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xfe9c44ae" + "name": "ReservesAdded", + "type": "event", + "signature": "0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, "internalType": "address", - "name": "borrower", + "name": "admin", "type": "address" }, { + "indexed": false, "internalType": "uint256", - "name": "repayAmount", + "name": "reduceAmount", "type": "uint256" }, { - "internalType": "contract CTokenInterface", - "name": "cTokenCollateral", - "type": "address" - } - ], - "name": "liquidateBorrow", - "outputs": [ - { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "newTotalReserves", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xf5e3c462" + "name": "ReservesReduced", + "type": "event", + "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "internalType": "uint256", - "name": "mintAmount", - "type": "uint256" - } - ], - "name": "mint", - "outputs": [ + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "amount", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa0712d68" + "name": "Transfer", + "type": "event", + "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" }, { - "constant": true, - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x06fdde03" + "payable": true, + "stateMutability": "payable", + "type": "fallback" }, { - "constant": true, + "constant": false, "inputs": [], - "name": "pendingAdmin", + "name": "_acceptAdmin", "outputs": [ { - "internalType": "address payable", + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x26782247" + "signature": "0xe9c714f2" }, { "constant": false, "inputs": [ { "internalType": "uint256", - "name": "redeemTokens", + "name": "addAmount", "type": "uint256" } ], - "name": "redeem", + "name": "_addReserves", "outputs": [ { "internalType": "uint256", @@ -3428,18 +3486,18 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xdb006a75" + "signature": "0x3e941010" }, { "constant": false, "inputs": [ { "internalType": "uint256", - "name": "redeemAmount", + "name": "reduceAmount", "type": "uint256" } ], - "name": "redeemUnderlying", + "name": "_reduceReserves", "outputs": [ { "internalType": "uint256", @@ -3450,18 +3508,18 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x852a12e3" + "signature": "0x601a0bf1" }, { "constant": false, "inputs": [ { - "internalType": "uint256", - "name": "repayAmount", - "type": "uint256" + "internalType": "contract ComptrollerInterface", + "name": "newComptroller", + "type": "address" } ], - "name": "repayBorrow", + "name": "_setComptroller", "outputs": [ { "internalType": "uint256", @@ -3472,39 +3530,44 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x0e752702" + "signature": "0x4576b5db" }, { "constant": false, "inputs": [ { "internalType": "address", - "name": "borrower", + "name": "implementation_", "type": "address" }, { - "internalType": "uint256", - "name": "repayAmount", - "type": "uint256" - } - ], - "name": "repayBorrowBehalf", - "outputs": [ + "internalType": "bool", + "name": "allowResign", + "type": "bool" + }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "internalType": "bytes", + "name": "becomeImplementationData", + "type": "bytes" } ], + "name": "_setImplementation", + "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x2608f818" + "signature": "0x555bcc40" }, { - "constant": true, - "inputs": [], - "name": "reserveFactorMantissa", + "constant": false, + "inputs": [ + { + "internalType": "contract InterestRateModel", + "name": "newInterestRateModel", + "type": "address" + } + ], + "name": "_setInterestRateModel", "outputs": [ { "internalType": "uint256", @@ -3513,30 +3576,20 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x173b9904" + "signature": "0xf2b3abbd" }, { "constant": false, "inputs": [ { - "internalType": "address", - "name": "liquidator", - "type": "address" - }, - { - "internalType": "address", - "name": "borrower", + "internalType": "address payable", + "name": "newPendingAdmin", "type": "address" - }, - { - "internalType": "uint256", - "name": "seizeTokens", - "type": "uint256" } ], - "name": "seize", + "name": "_setPendingAdmin", "outputs": [ { "internalType": "uint256", @@ -3547,44 +3600,34 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xb2a02ff1" + "signature": "0xb71d1a0c" }, { - "constant": true, - "inputs": [], - "name": "supplyRatePerBlock", - "outputs": [ + "constant": false, + "inputs": [ { "internalType": "uint256", - "name": "", + "name": "newReserveFactorMantissa", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xae9d70b0" - }, - { - "constant": true, - "inputs": [], - "name": "symbol", + "name": "_setReserveFactor", "outputs": [ { - "internalType": "string", + "internalType": "uint256", "name": "", - "type": "string" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x95d89b41" + "signature": "0xfca7820b" }, { "constant": true, "inputs": [], - "name": "totalBorrows", + "name": "accrualBlockNumber", "outputs": [ { "internalType": "uint256", @@ -3595,12 +3638,12 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x47bd3718" + "signature": "0x6c540baf" }, { "constant": false, "inputs": [], - "name": "totalBorrowsCurrent", + "name": "accrueInterest", "outputs": [ { "internalType": "uint256", @@ -3611,28 +3654,39 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x73acee98" + "signature": "0xa6afed95" }, { "constant": true, "inputs": [], - "name": "totalReserves", + "name": "admin", "outputs": [ { - "internalType": "uint256", + "internalType": "address payable", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x8f840ddd" + "signature": "0xf851a440" }, { "constant": true, - "inputs": [], - "name": "totalSupply", + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", "outputs": [ { "internalType": "uint256", @@ -3643,14 +3697,14 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x18160ddd" + "signature": "0xdd62ed3e" }, { "constant": false, "inputs": [ { "internalType": "address", - "name": "dst", + "name": "spender", "type": "address" }, { @@ -3659,7 +3713,7 @@ "type": "uint256" } ], - "name": "transfer", + "name": "approve", "outputs": [ { "internalType": "bool", @@ -3670,925 +3724,350 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xa9059cbb" + "signature": "0x095ea7b3" }, { - "constant": false, + "constant": true, "inputs": [ { "internalType": "address", - "name": "src", - "type": "address" - }, - { - "internalType": "address", - "name": "dst", + "name": "owner", "type": "address" - }, + } + ], + "name": "balanceOf", + "outputs": [ { "internalType": "uint256", - "name": "amount", + "name": "", "type": "uint256" } ], - "name": "transferFrom", + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x70a08231" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOfUnderlying", "outputs": [ { - "internalType": "bool", + "internalType": "uint256", "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x23b872dd" + "signature": "0x3af9e669" }, { - "constant": true, - "inputs": [], - "name": "underlying", + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "borrowAmount", + "type": "uint256" + } + ], + "name": "borrow", "outputs": [ { - "internalType": "address", + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x6f307dc3" - } - ], - "DAI": [ + "signature": "0xc5ebeaec" + }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, "internalType": "address", - "name": "spender", + "name": "account", "type": "address" - }, + } + ], + "name": "borrowBalanceCurrent", + "outputs": [ { - "indexed": false, "internalType": "uint256", - "name": "amount", + "name": "", "type": "uint256" } ], - "name": "Approval", - "type": "event", - "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x17bfdfbc" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, "internalType": "address", - "name": "to", + "name": "account", "type": "address" - }, + } + ], + "name": "borrowBalanceStored", + "outputs": [ { - "indexed": false, "internalType": "uint256", - "name": "amount", + "name": "", "type": "uint256" } ], - "name": "Transfer", - "type": "event", - "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x95dd9193" }, { "constant": true, "inputs": [], - "name": "name", + "name": "borrowIndex", "outputs": [ { - "internalType": "string", + "internalType": "uint256", "name": "", - "type": "string" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x06fdde03" + "signature": "0xaa5af0fd" }, { "constant": true, "inputs": [], - "name": "symbol", + "name": "borrowRatePerBlock", "outputs": [ { - "internalType": "string", + "internalType": "uint256", "name": "", - "type": "string" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x95d89b41" + "signature": "0xf8f9da28" }, { "constant": true, "inputs": [], - "name": "decimals", + "name": "comptroller", "outputs": [ { - "internalType": "uint8", + "internalType": "contract ComptrollerInterface", "name": "", - "type": "uint8" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x313ce567" + "signature": "0x5fe3b567" }, { "constant": true, "inputs": [], - "name": "totalSupply", + "name": "decimals", "outputs": [ { - "internalType": "uint256", + "internalType": "uint8", "name": "", - "type": "uint256" + "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x18160ddd" + "signature": "0x313ce567" }, { - "constant": true, + "constant": false, "inputs": [ { - "internalType": "address", - "name": "owner", - "type": "address" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "name": "balanceOf", + "name": "delegateToImplementation", "outputs": [ { - "internalType": "uint256", - "name": "balance", - "type": "uint256" + "internalType": "bytes", + "name": "", + "type": "bytes" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x70a08231" + "signature": "0x0933c1ed" }, { - "constant": false, + "constant": true, "inputs": [ { - "internalType": "address", - "name": "dst", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], - "name": "transfer", + "name": "delegateToViewImplementation", "outputs": [ { - "internalType": "bool", - "name": "success", - "type": "bool" + "internalType": "bytes", + "name": "", + "type": "bytes" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xa9059cbb" + "signature": "0x4487152f" }, { "constant": false, - "inputs": [ - { - "internalType": "address", - "name": "src", - "type": "address" - }, - { - "internalType": "address", - "name": "dst", - "type": "address" - }, + "inputs": [], + "name": "exchangeRateCurrent", + "outputs": [ { "internalType": "uint256", - "name": "amount", + "name": "", "type": "uint256" } ], - "name": "transferFrom", + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xbd6d894d" + }, + { + "constant": true, + "inputs": [], + "name": "exchangeRateStored", "outputs": [ { - "internalType": "bool", - "name": "success", - "type": "bool" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x23b872dd" + "signature": "0x182df0f5" }, { - "constant": false, + "constant": true, "inputs": [ { "internalType": "address", - "name": "spender", + "name": "account", "type": "address" + } + ], + "name": "getAccountSnapshot", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" }, { "internalType": "uint256", - "name": "amount", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "approve", + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xc37f68e2" + }, + { + "constant": true, + "inputs": [], + "name": "getCash", "outputs": [ { - "internalType": "bool", - "name": "success", - "type": "bool" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x095ea7b3" + "signature": "0x3b1d21a2" }, { "constant": true, - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, + "inputs": [], + "name": "implementation", + "outputs": [ { "internalType": "address", - "name": "spender", + "name": "", "type": "address" } ], - "name": "allowance", + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x5c60da1b" + }, + { + "constant": true, + "inputs": [], + "name": "interestRateModel", "outputs": [ { - "internalType": "uint256", - "name": "remaining", - "type": "uint256" + "internalType": "contract InterestRateModel", + "name": "", + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xdd62ed3e" - } - ], - "SAI": [ - { - "constant": true, - "inputs": [ - - ], - "name": "name", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - - ], - "name": "stop", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "guy", - "type": "address" - }, - { - "name": "wad", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "owner_", - "type": "address" - } - ], - "name": "setOwner", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - - ], - "name": "totalSupply", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "src", - "type": "address" - }, - { - "name": "dst", - "type": "address" - }, - { - "name": "wad", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - - ], - "name": "decimals", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "guy", - "type": "address" - }, - { - "name": "wad", - "type": "uint256" - } - ], - "name": "mint", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "wad", - "type": "uint256" - } - ], - "name": "burn", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "name_", - "type": "bytes32" - } - ], - "name": "setName", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "src", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - - ], - "name": "stopped", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "authority_", - "type": "address" - } - ], - "name": "setAuthority", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - - ], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - - ], - "name": "symbol", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "guy", - "type": "address" - }, - { - "name": "wad", - "type": "uint256" - } - ], - "name": "burn", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "wad", - "type": "uint256" - } - ], - "name": "mint", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "dst", - "type": "address" - }, - { - "name": "wad", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "dst", - "type": "address" - }, - { - "name": "wad", - "type": "uint256" - } - ], - "name": "push", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "src", - "type": "address" - }, - { - "name": "dst", - "type": "address" - }, - { - "name": "wad", - "type": "uint256" - } - ], - "name": "move", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - - ], - "name": "start", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - - ], - "name": "authority", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "guy", - "type": "address" - } - ], - "name": "approve", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "src", - "type": "address" - }, - { - "name": "guy", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "src", - "type": "address" - }, - { - "name": "wad", - "type": "uint256" - } - ], - "name": "pull", - "outputs": [ - - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "name": "symbol_", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "guy", - "type": "address" - }, - { - "indexed": false, - "name": "wad", - "type": "uint256" - } - ], - "name": "Mint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "guy", - "type": "address" - }, - { - "indexed": false, - "name": "wad", - "type": "uint256" - } - ], - "name": "Burn", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "authority", - "type": "address" - } - ], - "name": "LogSetAuthority", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - } - ], - "name": "LogSetOwner", - "type": "event" - }, - { - "anonymous": true, - "inputs": [ - { - "indexed": true, - "name": "sig", - "type": "bytes4" - }, - { - "indexed": true, - "name": "guy", - "type": "address" - }, - { - "indexed": true, - "name": "foo", - "type": "bytes32" - }, - { - "indexed": true, - "name": "bar", - "type": "bytes32" - }, - { - "indexed": false, - "name": "wad", - "type": "uint256" - }, - { - "indexed": false, - "name": "fax", - "type": "bytes" - } - ], - "name": "LogNote", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "src", - "type": "address" - }, - { - "indexed": true, - "name": "guy", - "type": "address" - }, - { - "indexed": false, - "name": "wad", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "src", - "type": "address" - }, - { - "indexed": true, - "name": "dst", - "type": "address" - }, - { - "indexed": false, - "name": "wad", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - } - ], - "StdComptroller": [ + "signature": "0xf3fdb15a" + }, { "constant": true, "inputs": [], - "name": "isComptroller", + "name": "isCToken", "outputs": [ { + "internalType": "bool", "name": "", "type": "bool" } @@ -4596,62 +4075,53 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x007e3dd2" + "signature": "0xfe9c44ae" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { - "name": "payer", - "type": "address" - }, - { + "internalType": "address", "name": "borrower", "type": "address" }, { + "internalType": "uint256", "name": "repayAmount", "type": "uint256" }, { - "name": "borrowerIndex", + "internalType": "contract CTokenInterface", + "name": "cTokenCollateral", + "type": "address" + } + ], + "name": "liquidateBorrow", + "outputs": [ + { + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "repayBorrowVerify", - "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x1ededc91" + "signature": "0xf5e3c462" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { - "name": "payer", - "type": "address" - }, - { - "name": "borrower", - "type": "address" - }, - { - "name": "repayAmount", + "internalType": "uint256", + "name": "mintAmount", "type": "uint256" } ], - "name": "repayBorrowAllowed", + "name": "mint", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -4659,7 +4129,23 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x24008a62" + "signature": "0xa0712d68" + }, + { + "constant": true, + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x06fdde03" }, { "constant": true, @@ -4667,6 +4153,7 @@ "name": "pendingAdmin", "outputs": [ { + "internalType": "address payable", "name": "", "type": "address" } @@ -4680,13 +4167,15 @@ "constant": false, "inputs": [ { - "name": "newCloseFactorMantissa", + "internalType": "uint256", + "name": "redeemTokens", "type": "uint256" } ], - "name": "_setCloseFactor", + "name": "redeem", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -4694,107 +4183,86 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x317b0b77" + "signature": "0xdb006a75" }, { "constant": false, "inputs": [ { - "name": "unitroller", - "type": "address" - }, + "internalType": "uint256", + "name": "redeemAmount", + "type": "uint256" + } + ], + "name": "redeemUnderlying", + "outputs": [ { - "name": "_oracle", - "type": "address" - }, - { - "name": "_closeFactorMantissa", - "type": "uint256" - }, - { - "name": "_maxAssets", + "internalType": "uint256", + "name": "", "type": "uint256" - }, - { - "name": "reinitializing", - "type": "bool" } ], - "name": "_become", - "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x32000e00" + "signature": "0x852a12e3" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { - "name": "minter", - "type": "address" - }, - { - "name": "mintAmount", + "internalType": "uint256", + "name": "repayAmount", "type": "uint256" - }, + } + ], + "name": "repayBorrow", + "outputs": [ { - "name": "mintTokens", + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "mintVerify", - "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x41c728b9" + "signature": "0x0e752702" }, { "constant": false, "inputs": [ { - "name": "cTokenBorrowed", - "type": "address" - }, - { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "liquidator", - "type": "address" - }, - { + "internalType": "address", "name": "borrower", "type": "address" }, { + "internalType": "uint256", "name": "repayAmount", "type": "uint256" - }, + } + ], + "name": "repayBorrowBehalf", + "outputs": [ { - "name": "seizeTokens", + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "liquidateBorrowVerify", - "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x47ef3b3b" + "signature": "0x2608f818" }, { "constant": true, "inputs": [], - "name": "liquidationIncentiveMantissa", + "name": "reserveFactorMantissa", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -4802,27 +4270,31 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x4ada90af" + "signature": "0x173b9904" }, { "constant": false, "inputs": [ { - "name": "cToken", + "internalType": "address", + "name": "liquidator", "type": "address" }, { - "name": "minter", + "internalType": "address", + "name": "borrower", "type": "address" }, { - "name": "mintAmount", + "internalType": "uint256", + "name": "seizeTokens", "type": "uint256" } ], - "name": "mintAllowed", + "name": "seize", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -4830,66 +4302,63 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x4ef4c3e1" + "signature": "0xb2a02ff1" }, { - "constant": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "supplyRatePerBlock", + "outputs": [ { - "name": "newLiquidationIncentiveMantissa", + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "_setLiquidationIncentive", + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xae9d70b0" + }, + { + "constant": true, + "inputs": [], + "name": "symbol", "outputs": [ { + "internalType": "string", "name": "", - "type": "uint256" + "type": "string" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x4fd42e17" + "signature": "0x95d89b41" }, { - "constant": false, - "inputs": [ - { - "name": "cToken", - "type": "address" - }, - { - "name": "redeemer", - "type": "address" - }, - { - "name": "redeemAmount", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "totalBorrows", + "outputs": [ { - "name": "redeemTokens", + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "redeemVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x51dff989" + "signature": "0x47bd3718" }, { "constant": false, - "inputs": [ - { - "name": "newOracle", - "type": "address" - } - ], - "name": "_setPriceOracle", + "inputs": [], + "name": "totalBorrowsCurrent", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -4897,50 +4366,31 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x55ee1fe1" + "signature": "0x73acee98" }, { - "constant": false, - "inputs": [ - { - "name": "cToken", - "type": "address" - }, - { - "name": "borrower", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "totalReserves", + "outputs": [ { - "name": "borrowAmount", + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "borrowVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x5c778605" + "signature": "0x8f840ddd" }, { "constant": true, - "inputs": [ - { - "name": "account", - "type": "address" - } - ], - "name": "getAccountLiquidity", + "inputs": [], + "name": "totalSupply", "outputs": [ { - "name": "", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" - }, - { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -4948,171 +4398,192 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x5ec88c79" + "signature": "0x18160ddd" }, { "constant": false, "inputs": [ { - "name": "cTokenBorrowed", - "type": "address" - }, - { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "liquidator", - "type": "address" - }, - { - "name": "borrower", + "internalType": "address", + "name": "dst", "type": "address" }, { - "name": "repayAmount", + "internalType": "uint256", + "name": "amount", "type": "uint256" } ], - "name": "liquidateBorrowAllowed", + "name": "transfer", "outputs": [ { + "internalType": "bool", "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x5fc7e71e" + "signature": "0xa9059cbb" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { + "internalType": "address", "name": "src", "type": "address" }, { + "internalType": "address", "name": "dst", "type": "address" }, { - "name": "transferTokens", + "internalType": "uint256", + "name": "amount", "type": "uint256" } ], - "name": "transferVerify", - "outputs": [], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x6a56947e" + "signature": "0x23b872dd" }, { - "constant": false, - "inputs": [ - { - "name": "cTokenCollateral", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "underlying", + "outputs": [ { - "name": "cTokenBorrowed", + "internalType": "address", + "name": "", "type": "address" - }, - { - "name": "liquidator", + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x6f307dc3" + } + ], + "DAI": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", "type": "address" }, { - "name": "borrower", + "indexed": true, + "internalType": "address", + "name": "spender", "type": "address" }, { - "name": "seizeTokens", + "indexed": false, + "internalType": "uint256", + "name": "amount", "type": "uint256" } ], - "name": "seizeVerify", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x6d35bf91" + "name": "Approval", + "type": "event", + "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event", + "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" }, { "constant": true, "inputs": [], - "name": "oracle", + "name": "name", "outputs": [ { + "internalType": "string", "name": "", - "type": "address" + "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x7dc0d1d0" + "signature": "0x06fdde03" }, { "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "markets", + "inputs": [], + "name": "symbol", "outputs": [ { - "name": "isListed", - "type": "bool" - }, - { - "name": "collateralFactorMantissa", - "type": "uint256" + "internalType": "string", + "name": "", + "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x8e8f294b" + "signature": "0x95d89b41" }, { "constant": true, - "inputs": [ - { - "name": "account", - "type": "address" - }, - { - "name": "cToken", - "type": "address" - } - ], - "name": "checkMembership", + "inputs": [], + "name": "decimals", "outputs": [ { + "internalType": "uint8", "name": "", - "type": "bool" + "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x929fe9a1" + "signature": "0x313ce567" }, { "constant": true, "inputs": [], - "name": "maxAssets", + "name": "totalSupply", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -5120,160 +4591,169 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x94b2294b" + "signature": "0x18160ddd" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "cToken", + "internalType": "address", + "name": "owner", "type": "address" } ], - "name": "_supportMarket", + "name": "balanceOf", "outputs": [ { - "name": "", + "internalType": "uint256", + "name": "balance", "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xa76b3fda" + "signature": "0x70a08231" }, { - "constant": true, + "constant": false, "inputs": [ { - "name": "account", + "internalType": "address", + "name": "dst", "type": "address" - } - ], - "name": "getAssetsIn", - "outputs": [ + }, { - "name": "", - "type": "address[]" + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xabfceffc" - }, - { - "constant": true, - "inputs": [], - "name": "comptrollerImplementation", + "name": "transfer", "outputs": [ { - "name": "", - "type": "address" + "internalType": "bool", + "name": "success", + "type": "bool" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xbb82aa5e" + "signature": "0xa9059cbb" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { + "internalType": "address", "name": "src", "type": "address" }, { + "internalType": "address", "name": "dst", "type": "address" }, { - "name": "transferTokens", + "internalType": "uint256", + "name": "amount", "type": "uint256" } ], - "name": "transferAllowed", + "name": "transferFrom", "outputs": [ { - "name": "", - "type": "uint256" + "internalType": "bool", + "name": "success", + "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xbdcdc258" + "signature": "0x23b872dd" }, { "constant": false, "inputs": [ { - "name": "cTokens", - "type": "address[]" + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "name": "enterMarkets", + "name": "approve", "outputs": [ { - "name": "", - "type": "uint256[]" + "internalType": "bool", + "name": "success", + "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xc2998238" + "signature": "0x095ea7b3" }, { "constant": true, "inputs": [ { - "name": "cTokenBorrowed", + "internalType": "address", + "name": "owner", "type": "address" }, { - "name": "cTokenCollateral", + "internalType": "address", + "name": "spender", "type": "address" - }, - { - "name": "repayAmount", - "type": "uint256" } ], - "name": "liquidateCalculateSeizeTokens", + "name": "allowance", "outputs": [ { - "name": "", + "internalType": "uint256", + "name": "remaining", "type": "uint256" - }, + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xdd62ed3e" + } + ], + "StdComptroller": [ + { + "constant": true, + "inputs": [], + "name": "isComptroller", + "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xc488847b" + "signature": "0x007e3dd2" }, { "constant": false, "inputs": [ { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "cTokenBorrowed", + "name": "cToken", "type": "address" }, { - "name": "liquidator", + "name": "payer", "type": "address" }, { @@ -5281,41 +4761,20 @@ "type": "address" }, { - "name": "seizeTokens", + "name": "repayAmount", "type": "uint256" - } - ], - "name": "seizeAllowed", - "outputs": [ + }, { - "name": "", + "name": "borrowerIndex", "type": "uint256" } ], + "name": "repayBorrowVerify", + "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xd02f7351" - }, - { - "constant": false, - "inputs": [ - { - "name": "newMaxAssets", - "type": "uint256" - } - ], - "name": "_setMaxAssets", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xd9226ced" + "signature": "0x1ededc91" }, { "constant": false, @@ -5324,16 +4783,20 @@ "name": "cToken", "type": "address" }, + { + "name": "payer", + "type": "address" + }, { "name": "borrower", "type": "address" }, { - "name": "borrowAmount", + "name": "repayAmount", "type": "uint256" } ], - "name": "borrowAllowed", + "name": "repayBorrowAllowed", "outputs": [ { "name": "", @@ -5343,46 +4806,73 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xda3d454c" + "signature": "0x24008a62" }, { "constant": true, - "inputs": [ + "inputs": [], + "name": "pendingAdmin", + "outputs": [ { "name": "", "type": "address" - }, + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x26782247" + }, + { + "constant": false, + "inputs": [ { - "name": "", + "name": "newCloseFactorMantissa", "type": "uint256" } ], - "name": "accountAssets", + "name": "_setCloseFactor", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xdce15449" + "signature": "0x317b0b77" }, { - "constant": true, - "inputs": [], - "name": "pendingComptrollerImplementation", - "outputs": [ + "constant": false, + "inputs": [ { - "name": "", + "name": "unitroller", + "type": "address" + }, + { + "name": "_oracle", "type": "address" + }, + { + "name": "_closeFactorMantissa", + "type": "uint256" + }, + { + "name": "_maxAssets", + "type": "uint256" + }, + { + "name": "reinitializing", + "type": "bool" } ], + "name": "_become", + "outputs": [], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xdcfbc0c7" + "signature": "0x32000e00" }, { "constant": false, @@ -5392,26 +4882,64 @@ "type": "address" }, { - "name": "newCollateralFactorMantissa", + "name": "minter", + "type": "address" + }, + { + "name": "mintAmount", + "type": "uint256" + }, + { + "name": "mintTokens", "type": "uint256" } ], - "name": "_setCollateralFactor", - "outputs": [ + "name": "mintVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x41c728b9" + }, + { + "constant": false, + "inputs": [ { - "name": "", + "name": "cTokenBorrowed", + "type": "address" + }, + { + "name": "cTokenCollateral", + "type": "address" + }, + { + "name": "liquidator", + "type": "address" + }, + { + "name": "borrower", + "type": "address" + }, + { + "name": "repayAmount", + "type": "uint256" + }, + { + "name": "seizeTokens", "type": "uint256" } ], + "name": "liquidateBorrowVerify", + "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xe4028eee" + "signature": "0x47ef3b3b" }, { "constant": true, "inputs": [], - "name": "closeFactorMantissa", + "name": "liquidationIncentiveMantissa", "outputs": [ { "name": "", @@ -5421,7 +4949,7 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xe8755446" + "signature": "0x4ada90af" }, { "constant": false, @@ -5431,15 +4959,15 @@ "type": "address" }, { - "name": "redeemer", + "name": "minter", "type": "address" }, { - "name": "redeemTokens", + "name": "mintAmount", "type": "uint256" } ], - "name": "redeemAllowed", + "name": "mintAllowed", "outputs": [ { "name": "", @@ -5449,17 +4977,17 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xeabe7d91" + "signature": "0x4ef4c3e1" }, { "constant": false, "inputs": [ { - "name": "cTokenAddress", - "type": "address" + "name": "newLiquidationIncentiveMantissa", + "type": "uint256" } ], - "name": "exitMarket", + "name": "_setLiquidationIncentive", "outputs": [ { "name": "", @@ -5469,203 +4997,204 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xede4edd0" + "signature": "0x4fd42e17" }, { - "constant": true, - "inputs": [], - "name": "admin", - "outputs": [ + "constant": false, + "inputs": [ { - "name": "", + "name": "cToken", + "type": "address" + }, + { + "name": "redeemer", "type": "address" + }, + { + "name": "redeemAmount", + "type": "uint256" + }, + { + "name": "redeemTokens", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf851a440" - }, - { - "inputs": [], + "name": "redeemVerify", + "outputs": [], "payable": false, "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" + "type": "function", + "signature": "0x51dff989" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "cToken", + "name": "newOracle", "type": "address" } ], - "name": "MarketListed", - "type": "event", - "signature": "0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f" + "name": "_setPriceOracle", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x55ee1fe1" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, "name": "cToken", "type": "address" }, { - "indexed": false, - "name": "account", + "name": "borrower", "type": "address" + }, + { + "name": "borrowAmount", + "type": "uint256" } ], - "name": "MarketEntered", - "type": "event", - "signature": "0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5" + "name": "borrowVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x5c778605" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "name": "cToken", - "type": "address" - }, - { - "indexed": false, "name": "account", "type": "address" } ], - "name": "MarketExited", - "type": "event", - "signature": "0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d" - }, - { - "anonymous": false, - "inputs": [ + "name": "getAccountLiquidity", + "outputs": [ { - "indexed": false, - "name": "oldCloseFactorMantissa", + "name": "", "type": "uint256" }, { - "indexed": false, - "name": "newCloseFactorMantissa", + "name": "", + "type": "uint256" + }, + { + "name": "", "type": "uint256" } ], - "name": "NewCloseFactor", - "type": "event", - "signature": "0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x5ec88c79" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "cToken", + "name": "cTokenBorrowed", "type": "address" }, { - "indexed": false, - "name": "oldCollateralFactorMantissa", - "type": "uint256" + "name": "cTokenCollateral", + "type": "address" }, { - "indexed": false, - "name": "newCollateralFactorMantissa", + "name": "liquidator", + "type": "address" + }, + { + "name": "borrower", + "type": "address" + }, + { + "name": "repayAmount", "type": "uint256" } ], - "name": "NewCollateralFactor", - "type": "event", - "signature": "0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldLiquidationIncentiveMantissa", - "type": "uint256" - }, + "name": "liquidateBorrowAllowed", + "outputs": [ { - "indexed": false, - "name": "newLiquidationIncentiveMantissa", + "name": "", "type": "uint256" } ], - "name": "NewLiquidationIncentive", - "type": "event", - "signature": "0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x5fc7e71e" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldMaxAssets", - "type": "uint256" + "name": "cToken", + "type": "address" }, { - "indexed": false, - "name": "newMaxAssets", + "name": "src", + "type": "address" + }, + { + "name": "dst", + "type": "address" + }, + { + "name": "transferTokens", "type": "uint256" } ], - "name": "NewMaxAssets", - "type": "event", - "signature": "0x7093cf1eb653f749c3ff531d6df7f92764536a7fa0d13530cd26e070780c32ea" + "name": "transferVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6a56947e" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldPriceOracle", + "name": "cTokenCollateral", "type": "address" }, { - "indexed": false, - "name": "newPriceOracle", + "name": "cTokenBorrowed", "type": "address" - } - ], - "name": "NewPriceOracle", - "type": "event", - "signature": "0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22" - }, - { - "anonymous": false, - "inputs": [ + }, { - "indexed": false, - "name": "error", - "type": "uint256" + "name": "liquidator", + "type": "address" }, { - "indexed": false, - "name": "info", - "type": "uint256" + "name": "borrower", + "type": "address" }, { - "indexed": false, - "name": "detail", + "name": "seizeTokens", "type": "uint256" } ], - "name": "Failure", - "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" - } - ], - "Unitroller": [ + "name": "seizeVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6d35bf91" + }, { "constant": true, "inputs": [], - "name": "pendingAdmin", + "name": "oracle", "outputs": [ { "name": "", @@ -5675,82 +5204,80 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x26782247" + "signature": "0x7dc0d1d0" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "newPendingAdmin", + "name": "", "type": "address" } ], - "name": "_setPendingAdmin", + "name": "markets", "outputs": [ { - "name": "", + "name": "isListed", + "type": "bool" + }, + { + "name": "collateralFactorMantissa", "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xb71d1a0c" + "signature": "0x8e8f294b" }, { "constant": true, - "inputs": [], - "name": "comptrollerImplementation", - "outputs": [ + "inputs": [ { - "name": "", + "name": "account", + "type": "address" + }, + { + "name": "cToken", "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xbb82aa5e" - }, - { - "constant": false, - "inputs": [], - "name": "_acceptImplementation", + "name": "checkMembership", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xc1e80334" + "signature": "0x929fe9a1" }, { "constant": true, "inputs": [], - "name": "pendingComptrollerImplementation", + "name": "maxAssets", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xdcfbc0c7" + "signature": "0x94b2294b" }, { "constant": false, "inputs": [ { - "name": "newPendingImplementation", + "name": "cToken", "type": "address" } ], - "name": "_setPendingImplementation", + "name": "_supportMarket", "outputs": [ { "name": "", @@ -5760,27 +5287,32 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xe992a041" + "signature": "0xa76b3fda" }, { - "constant": false, - "inputs": [], - "name": "_acceptAdmin", + "constant": true, + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "name": "getAssetsIn", "outputs": [ { "name": "", - "type": "uint256" + "type": "address[]" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xe9c714f2" + "signature": "0xabfceffc" }, { "constant": true, "inputs": [], - "name": "admin", + "name": "comptrollerImplementation", "outputs": [ { "name": "", @@ -5790,568 +5322,519 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf851a440" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" - }, - { - "payable": true, - "stateMutability": "payable", - "type": "fallback" + "signature": "0xbb82aa5e" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldPendingImplementation", + "name": "cToken", "type": "address" }, { - "indexed": false, - "name": "newPendingImplementation", + "name": "src", "type": "address" - } - ], - "name": "NewPendingImplementation", - "type": "event", - "signature": "0xe945ccee5d701fc83f9b8aa8ca94ea4219ec1fcbd4f4cab4f0ea57c5c3e1d815" - }, - { - "anonymous": false, - "inputs": [ + }, { - "indexed": false, - "name": "oldImplementation", + "name": "dst", "type": "address" }, { - "indexed": false, - "name": "newImplementation", - "type": "address" + "name": "transferTokens", + "type": "uint256" } ], - "name": "NewImplementation", - "type": "event", - "signature": "0xd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a" + "name": "transferAllowed", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xbdcdc258" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldPendingAdmin", - "type": "address" - }, - { - "indexed": false, - "name": "newPendingAdmin", - "type": "address" + "name": "cTokens", + "type": "address[]" } ], - "name": "NewPendingAdmin", - "type": "event", - "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldAdmin", - "type": "address" - }, + "name": "enterMarkets", + "outputs": [ { - "indexed": false, - "name": "newAdmin", - "type": "address" + "name": "", + "type": "uint256[]" } ], - "name": "NewAdmin", - "type": "event", - "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc2998238" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "name": "error", - "type": "uint256" + "name": "cTokenBorrowed", + "type": "address" }, { - "indexed": false, - "name": "info", - "type": "uint256" + "name": "cTokenCollateral", + "type": "address" }, { - "indexed": false, - "name": "detail", + "name": "repayAmount", "type": "uint256" } ], - "name": "Failure", - "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" - } - ], - "cDaiDelegate": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "cashPrior", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "interestAccumulated", - "type": "uint256" - }, + "name": "liquidateCalculateSeizeTokens", + "outputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "borrowIndex", + "name": "", "type": "uint256" }, { - "indexed": false, - "internalType": "uint256", - "name": "totalBorrows", + "name": "", "type": "uint256" } ], - "name": "AccrueInterest", - "type": "event", - "signature": "0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xc488847b" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "owner", + "name": "cTokenCollateral", "type": "address" }, { - "indexed": true, - "internalType": "address", - "name": "spender", + "name": "cTokenBorrowed", "type": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event", - "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "borrower", + "name": "liquidator", "type": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "borrowAmount", - "type": "uint256" + "name": "borrower", + "type": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "accountBorrows", + "name": "seizeTokens", "type": "uint256" - }, + } + ], + "name": "seizeAllowed", + "outputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "totalBorrows", + "name": "", "type": "uint256" } ], - "name": "Borrow", - "type": "event", - "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd02f7351" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "error", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "info", + "name": "newMaxAssets", "type": "uint256" - }, + } + ], + "name": "_setMaxAssets", + "outputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "detail", + "name": "", "type": "uint256" } ], - "name": "Failure", - "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd9226ced" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "address", - "name": "liquidator", + "name": "cToken", "type": "address" }, { - "indexed": false, - "internalType": "address", "name": "borrower", "type": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "repayAmount", + "name": "borrowAmount", "type": "uint256" - }, - { - "indexed": false, - "internalType": "address", - "name": "cTokenCollateral", - "type": "address" - }, + } + ], + "name": "borrowAllowed", + "outputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "seizeTokens", + "name": "", "type": "uint256" } ], - "name": "LiquidateBorrow", - "type": "event", - "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xda3d454c" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "internalType": "address", - "name": "minter", + "name": "", "type": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "mintAmount", + "name": "", "type": "uint256" - }, + } + ], + "name": "accountAssets", + "outputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "mintTokens", - "type": "uint256" + "name": "", + "type": "address" } ], - "name": "Mint", - "type": "event", - "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xdce15449" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "oldAdmin", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "pendingComptrollerImplementation", + "outputs": [ { - "indexed": false, - "internalType": "address", - "name": "newAdmin", + "name": "", "type": "address" } ], - "name": "NewAdmin", - "type": "event", - "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xdcfbc0c7" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "contract ComptrollerInterface", - "name": "oldComptroller", + "name": "cToken", "type": "address" }, { - "indexed": false, - "internalType": "contract ComptrollerInterface", - "name": "newComptroller", - "type": "address" - } + "name": "newCollateralFactorMantissa", + "type": "uint256" + } ], - "name": "NewComptroller", - "type": "event", - "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" + "name": "_setCollateralFactor", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xe4028eee" }, { - "anonymous": false, + "constant": true, + "inputs": [], + "name": "closeFactorMantissa", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xe8755446" + }, + { + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "contract InterestRateModel", - "name": "oldInterestRateModel", + "name": "cToken", + "type": "address" + }, + { + "name": "redeemer", "type": "address" }, + { + "name": "redeemTokens", + "type": "uint256" + } + ], + "name": "redeemAllowed", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xeabe7d91" + }, + { + "constant": false, + "inputs": [ + { + "name": "cTokenAddress", + "type": "address" + } + ], + "name": "exitMarket", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xede4edd0" + }, + { + "constant": true, + "inputs": [], + "name": "admin", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf851a440" + }, + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + }, + { + "anonymous": false, + "inputs": [ { "indexed": false, - "internalType": "contract InterestRateModel", - "name": "newInterestRateModel", + "name": "cToken", "type": "address" } ], - "name": "NewMarketInterestRateModel", + "name": "MarketListed", "type": "event", - "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" + "signature": "0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f" }, { "anonymous": false, "inputs": [ { "indexed": false, - "internalType": "address", - "name": "oldPendingAdmin", + "name": "cToken", "type": "address" }, { "indexed": false, - "internalType": "address", - "name": "newPendingAdmin", + "name": "account", "type": "address" } ], - "name": "NewPendingAdmin", + "name": "MarketEntered", "type": "event", - "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" + "signature": "0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5" }, { "anonymous": false, "inputs": [ { "indexed": false, - "internalType": "uint256", - "name": "oldReserveFactorMantissa", - "type": "uint256" + "name": "cToken", + "type": "address" }, { "indexed": false, - "internalType": "uint256", - "name": "newReserveFactorMantissa", - "type": "uint256" + "name": "account", + "type": "address" } ], - "name": "NewReserveFactor", + "name": "MarketExited", "type": "event", - "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" + "signature": "0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d" }, { "anonymous": false, "inputs": [ { "indexed": false, - "internalType": "address", - "name": "redeemer", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "redeemAmount", + "name": "oldCloseFactorMantissa", "type": "uint256" }, { "indexed": false, - "internalType": "uint256", - "name": "redeemTokens", + "name": "newCloseFactorMantissa", "type": "uint256" } ], - "name": "Redeem", + "name": "NewCloseFactor", "type": "event", - "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" + "signature": "0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9" }, { "anonymous": false, "inputs": [ { "indexed": false, - "internalType": "address", - "name": "payer", + "name": "cToken", "type": "address" }, { "indexed": false, - "internalType": "address", - "name": "borrower", - "type": "address" + "name": "oldCollateralFactorMantissa", + "type": "uint256" }, { "indexed": false, - "internalType": "uint256", - "name": "repayAmount", + "name": "newCollateralFactorMantissa", "type": "uint256" - }, + } + ], + "name": "NewCollateralFactor", + "type": "event", + "signature": "0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5" + }, + { + "anonymous": false, + "inputs": [ { "indexed": false, - "internalType": "uint256", - "name": "accountBorrows", + "name": "oldLiquidationIncentiveMantissa", "type": "uint256" }, { "indexed": false, - "internalType": "uint256", - "name": "totalBorrows", + "name": "newLiquidationIncentiveMantissa", "type": "uint256" } ], - "name": "RepayBorrow", + "name": "NewLiquidationIncentive", "type": "event", - "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" + "signature": "0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316" }, { "anonymous": false, "inputs": [ { "indexed": false, - "internalType": "address", - "name": "benefactor", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "addAmount", + "name": "oldMaxAssets", "type": "uint256" }, { "indexed": false, - "internalType": "uint256", - "name": "newTotalReserves", + "name": "newMaxAssets", "type": "uint256" } ], - "name": "ReservesAdded", + "name": "NewMaxAssets", "type": "event", - "signature": "0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5" + "signature": "0x7093cf1eb653f749c3ff531d6df7f92764536a7fa0d13530cd26e070780c32ea" }, { "anonymous": false, "inputs": [ { "indexed": false, - "internalType": "address", - "name": "admin", + "name": "oldPriceOracle", "type": "address" }, { "indexed": false, - "internalType": "uint256", - "name": "reduceAmount", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "newTotalReserves", - "type": "uint256" + "name": "newPriceOracle", + "type": "address" } ], - "name": "ReservesReduced", + "name": "NewPriceOracle", "type": "event", - "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" + "signature": "0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22" }, { "anonymous": false, "inputs": [ { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + "indexed": false, + "name": "error", + "type": "uint256" }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + "indexed": false, + "name": "info", + "type": "uint256" }, { "indexed": false, - "internalType": "uint256", - "name": "amount", + "name": "detail", "type": "uint256" } ], - "name": "Transfer", + "name": "Failure", "type": "event", - "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" - }, + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + } + ], + "Unitroller": [ { - "constant": false, + "constant": true, "inputs": [], - "name": "_acceptAdmin", + "name": "pendingAdmin", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xe9c714f2" + "signature": "0x26782247" }, { "constant": false, "inputs": [ { - "internalType": "uint256", - "name": "addAmount", - "type": "uint256" - } + "name": "newPendingAdmin", + "type": "address" + } ], - "name": "_addReserves", + "name": "_setPendingAdmin", "outputs": [ { - "internalType": "uint256", "name": "", "type": "uint256" } @@ -6359,69 +5842,29 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x3e941010" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "_becomeImplementation", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x56e67728" + "signature": "0xb71d1a0c" }, { - "constant": false, - "inputs": [ - { - "internalType": "uint256", - "name": "reduceAmount", - "type": "uint256" - } - ], - "name": "_reduceReserves", + "constant": true, + "inputs": [], + "name": "comptrollerImplementation", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x601a0bf1" + "signature": "0xbb82aa5e" }, { "constant": false, "inputs": [], - "name": "_resignImplementation", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x153ab505" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "contract ComptrollerInterface", - "name": "newComptroller", - "type": "address" - } - ], - "name": "_setComptroller", + "name": "_acceptImplementation", "outputs": [ { - "internalType": "uint256", "name": "", "type": "uint256" } @@ -6429,43 +5872,34 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x4576b5db" + "signature": "0xc1e80334" }, { - "constant": false, - "inputs": [ - { - "internalType": "contract InterestRateModel", - "name": "newInterestRateModel", - "type": "address" - } - ], - "name": "_setInterestRateModel", + "constant": true, + "inputs": [], + "name": "pendingComptrollerImplementation", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xf2b3abbd" + "signature": "0xdcfbc0c7" }, { "constant": false, "inputs": [ { - "internalType": "address payable", - "name": "newPendingAdmin", + "name": "newPendingImplementation", "type": "address" } ], - "name": "_setPendingAdmin", + "name": "_setPendingImplementation", "outputs": [ { - "internalType": "uint256", "name": "", "type": "uint256" } @@ -6473,21 +5907,14 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xb71d1a0c" + "signature": "0xe992a041" }, { "constant": false, - "inputs": [ - { - "internalType": "uint256", - "name": "newReserveFactorMantissa", - "type": "uint256" - } - ], - "name": "_setReserveFactor", + "inputs": [], + "name": "_acceptAdmin", "outputs": [ { - "internalType": "uint256", "name": "", "type": "uint256" } @@ -6495,751 +5922,558 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xfca7820b" + "signature": "0xe9c714f2" }, { "constant": true, "inputs": [], - "name": "accrualBlockNumber", + "name": "admin", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x6c540baf" + "signature": "0xf851a440" }, { - "constant": false, "inputs": [], - "name": "accrueInterest", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], "payable": false, "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa6afed95" + "type": "constructor", + "signature": "constructor" }, { - "constant": true, - "inputs": [], - "name": "admin", - "outputs": [ - { - "internalType": "address payable", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf851a440" + "payable": true, + "stateMutability": "payable", + "type": "fallback" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "internalType": "address", - "name": "owner", + "indexed": false, + "name": "oldPendingImplementation", "type": "address" }, { - "internalType": "address", - "name": "spender", + "indexed": false, + "name": "newPendingImplementation", "type": "address" } ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xdd62ed3e" + "name": "NewPendingImplementation", + "type": "event", + "signature": "0xe945ccee5d701fc83f9b8aa8ca94ea4219ec1fcbd4f4cab4f0ea57c5c3e1d815" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "internalType": "address", - "name": "spender", + "indexed": false, + "name": "oldImplementation", "type": "address" }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" + "indexed": false, + "name": "newImplementation", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x095ea7b3" + "name": "NewImplementation", + "type": "event", + "signature": "0xd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "internalType": "address", - "name": "owner", + "indexed": false, + "name": "oldPendingAdmin", "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ + }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "indexed": false, + "name": "newPendingAdmin", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x70a08231" + "name": "NewPendingAdmin", + "type": "event", + "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "internalType": "address", - "name": "owner", + "indexed": false, + "name": "oldAdmin", "type": "address" - } - ], - "name": "balanceOfUnderlying", - "outputs": [ + }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "indexed": false, + "name": "newAdmin", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x3af9e669" + "name": "NewAdmin", + "type": "event", + "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "internalType": "uint256", - "name": "borrowAmount", + "indexed": false, + "name": "error", "type": "uint256" - } - ], - "name": "borrow", - "outputs": [ + }, { - "internalType": "uint256", - "name": "", + "indexed": false, + "name": "info", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xc5ebeaec" - }, - { - "constant": false, - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "borrowBalanceCurrent", - "outputs": [ + }, { - "internalType": "uint256", - "name": "", + "indexed": false, + "name": "detail", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x17bfdfbc" - }, + "name": "Failure", + "type": "event", + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + } + ], + "cDaiDelegate": [ { - "constant": true, + "anonymous": false, "inputs": [ { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "borrowBalanceStored", - "outputs": [ + "indexed": false, + "internalType": "uint256", + "name": "cashPrior", + "type": "uint256" + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "interestAccumulated", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x95dd9193" - }, - { - "constant": true, - "inputs": [], - "name": "borrowIndex", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "borrowIndex", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xaa5af0fd" - }, - { - "constant": true, - "inputs": [], - "name": "borrowRatePerBlock", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf8f9da28" + "name": "AccrueInterest", + "type": "event", + "signature": "0x4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04" }, { - "constant": true, - "inputs": [], - "name": "comptroller", - "outputs": [ + "anonymous": false, + "inputs": [ { - "internalType": "contract ComptrollerInterface", - "name": "", + "indexed": true, + "internalType": "address", + "name": "owner", "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x5fe3b567" - }, - { - "constant": true, - "inputs": [], - "name": "daiJoinAddress", - "outputs": [ + }, { + "indexed": true, "internalType": "address", - "name": "", + "name": "spender", "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x8a8df2e6" - }, - { - "constant": true, - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x313ce567" - }, - { - "constant": false, - "inputs": [], - "name": "exchangeRateCurrent", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xbd6d894d" - }, - { - "constant": true, - "inputs": [], - "name": "exchangeRateStored", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "amount", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x182df0f5" + "name": "Approval", + "type": "event", + "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" }, { - "constant": true, + "anonymous": false, "inputs": [ { + "indexed": false, "internalType": "address", - "name": "account", + "name": "borrower", "type": "address" - } - ], - "name": "getAccountSnapshot", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "borrowAmount", "type": "uint256" }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "accountBorrows", "type": "uint256" }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xc37f68e2" + "name": "Borrow", + "type": "event", + "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" }, { - "constant": true, - "inputs": [], - "name": "getCash", - "outputs": [ + "anonymous": false, + "inputs": [ { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "error", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x3b1d21a2" - }, - { - "constant": true, - "inputs": [], - "name": "implementation", - "outputs": [ + }, { - "internalType": "address", - "name": "", - "type": "address" + "indexed": false, + "internalType": "uint256", + "name": "info", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "detail", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x5c60da1b" + "name": "Failure", + "type": "event", + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, "internalType": "address", - "name": "underlying_", + "name": "liquidator", "type": "address" }, { - "internalType": "contract ComptrollerInterface", - "name": "comptroller_", - "type": "address" - }, - { - "internalType": "contract InterestRateModel", - "name": "interestRateModel_", + "indexed": false, + "internalType": "address", + "name": "borrower", "type": "address" }, { + "indexed": false, "internalType": "uint256", - "name": "initialExchangeRateMantissa_", + "name": "repayAmount", "type": "uint256" }, { - "internalType": "string", - "name": "name_", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol_", - "type": "string" + "indexed": false, + "internalType": "address", + "name": "cTokenCollateral", + "type": "address" }, { - "internalType": "uint8", - "name": "decimals_", - "type": "uint8" + "indexed": false, + "internalType": "uint256", + "name": "seizeTokens", + "type": "uint256" } ], - "name": "initialize", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x1a31d465" + "name": "LiquidateBorrow", + "type": "event", + "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "internalType": "contract ComptrollerInterface", - "name": "comptroller_", - "type": "address" - }, - { - "internalType": "contract InterestRateModel", - "name": "interestRateModel_", + "indexed": false, + "internalType": "address", + "name": "minter", "type": "address" }, { + "indexed": false, "internalType": "uint256", - "name": "initialExchangeRateMantissa_", + "name": "mintAmount", "type": "uint256" }, { - "internalType": "string", - "name": "name_", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol_", - "type": "string" - }, - { - "internalType": "uint8", - "name": "decimals_", - "type": "uint8" + "indexed": false, + "internalType": "uint256", + "name": "mintTokens", + "type": "uint256" } ], - "name": "initialize", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x99d8c1b4" + "name": "Mint", + "type": "event", + "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" }, { - "constant": true, - "inputs": [], - "name": "interestRateModel", - "outputs": [ + "anonymous": false, + "inputs": [ { - "internalType": "contract InterestRateModel", - "name": "", + "indexed": false, + "internalType": "address", + "name": "oldAdmin", "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf3fdb15a" - }, - { - "constant": true, - "inputs": [], - "name": "isCToken", - "outputs": [ + }, { - "internalType": "bool", - "name": "", - "type": "bool" + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xfe9c44ae" + "name": "NewAdmin", + "type": "event", + "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "internalType": "address", - "name": "borrower", + "indexed": false, + "internalType": "contract ComptrollerInterface", + "name": "oldComptroller", "type": "address" }, { - "internalType": "uint256", - "name": "repayAmount", - "type": "uint256" - }, - { - "internalType": "contract CTokenInterface", - "name": "cTokenCollateral", + "indexed": false, + "internalType": "contract ComptrollerInterface", + "name": "newComptroller", "type": "address" } ], - "name": "liquidateBorrow", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xf5e3c462" + "name": "NewComptroller", + "type": "event", + "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "internalType": "uint256", - "name": "mintAmount", - "type": "uint256" - } - ], - "name": "mint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa0712d68" - }, - { - "constant": true, - "inputs": [], - "name": "name", - "outputs": [ + "indexed": false, + "internalType": "contract InterestRateModel", + "name": "oldInterestRateModel", + "type": "address" + }, { - "internalType": "string", - "name": "", - "type": "string" + "indexed": false, + "internalType": "contract InterestRateModel", + "name": "newInterestRateModel", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x06fdde03" + "name": "NewMarketInterestRateModel", + "type": "event", + "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" }, { - "constant": true, - "inputs": [], - "name": "pendingAdmin", - "outputs": [ + "anonymous": false, + "inputs": [ { - "internalType": "address payable", - "name": "", + "indexed": false, + "internalType": "address", + "name": "oldPendingAdmin", "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x26782247" - }, - { - "constant": true, - "inputs": [], - "name": "potAddress", - "outputs": [ + }, { + "indexed": false, "internalType": "address", - "name": "", + "name": "newPendingAdmin", "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x66ced602" + "name": "NewPendingAdmin", + "type": "event", + "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, "internalType": "uint256", - "name": "redeemTokens", + "name": "oldReserveFactorMantissa", "type": "uint256" - } - ], - "name": "redeem", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "newReserveFactorMantissa", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xdb006a75" + "name": "NewReserveFactor", + "type": "event", + "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, + "internalType": "address", + "name": "redeemer", + "type": "address" + }, + { + "indexed": false, "internalType": "uint256", "name": "redeemAmount", "type": "uint256" - } - ], - "name": "redeemUnderlying", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "redeemTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x852a12e3" + "name": "Redeem", + "type": "event", + "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, + "internalType": "address", + "name": "payer", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "borrower", + "type": "address" + }, + { + "indexed": false, "internalType": "uint256", "name": "repayAmount", "type": "uint256" - } - ], - "name": "repayBorrow", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "accountBorrows", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x0e752702" + "name": "RepayBorrow", + "type": "event", + "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, "internalType": "address", - "name": "borrower", + "name": "benefactor", "type": "address" }, { + "indexed": false, "internalType": "uint256", - "name": "repayAmount", + "name": "addAmount", "type": "uint256" - } - ], - "name": "repayBorrowBehalf", - "outputs": [ + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "newTotalReserves", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x2608f818" + "name": "ReservesAdded", + "type": "event", + "signature": "0xa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5" }, { - "constant": true, - "inputs": [], - "name": "reserveFactorMantissa", - "outputs": [ + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "admin", + "type": "address" + }, { + "indexed": false, "internalType": "uint256", - "name": "", + "name": "reduceAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newTotalReserves", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x173b9904" + "name": "ReservesReduced", + "type": "event", + "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": true, "internalType": "address", - "name": "liquidator", + "name": "from", "type": "address" }, { + "indexed": true, "internalType": "address", - "name": "borrower", + "name": "to", "type": "address" }, { + "indexed": false, "internalType": "uint256", - "name": "seizeTokens", + "name": "amount", "type": "uint256" } ], - "name": "seize", + "name": "Transfer", + "type": "event", + "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" + }, + { + "constant": false, + "inputs": [], + "name": "_acceptAdmin", "outputs": [ { "internalType": "uint256", @@ -7250,12 +6484,18 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xb2a02ff1" + "signature": "0xe9c714f2" }, { - "constant": true, - "inputs": [], - "name": "supplyRatePerBlock", + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "addAmount", + "type": "uint256" + } + ], + "name": "_addReserves", "outputs": [ { "internalType": "uint256", @@ -7264,46 +6504,36 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xae9d70b0" + "signature": "0x3e941010" }, { - "constant": true, - "inputs": [], - "name": "symbol", - "outputs": [ + "constant": false, + "inputs": [ { - "internalType": "string", - "name": "", - "type": "string" + "internalType": "bytes", + "name": "data", + "type": "bytes" } ], + "name": "_becomeImplementation", + "outputs": [], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x95d89b41" + "signature": "0x56e67728" }, { - "constant": true, - "inputs": [], - "name": "totalBorrows", - "outputs": [ + "constant": false, + "inputs": [ { "internalType": "uint256", - "name": "", + "name": "reduceAmount", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x47bd3718" - }, - { - "constant": false, - "inputs": [], - "name": "totalBorrowsCurrent", + "name": "_reduceReserves", "outputs": [ { "internalType": "uint256", @@ -7314,12 +6544,28 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x73acee98" + "signature": "0x601a0bf1" }, { - "constant": true, + "constant": false, "inputs": [], - "name": "totalReserves", + "name": "_resignImplementation", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x153ab505" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "contract ComptrollerInterface", + "name": "newComptroller", + "type": "address" + } + ], + "name": "_setComptroller", "outputs": [ { "internalType": "uint256", @@ -7328,14 +6574,20 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x8f840ddd" + "signature": "0x4576b5db" }, { - "constant": true, - "inputs": [], - "name": "totalSupply", + "constant": false, + "inputs": [ + { + "internalType": "contract InterestRateModel", + "name": "newInterestRateModel", + "type": "address" + } + ], + "name": "_setInterestRateModel", "outputs": [ { "internalType": "uint256", @@ -7344,92 +6596,93 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x18160ddd" + "signature": "0xf2b3abbd" }, { "constant": false, "inputs": [ { - "internalType": "address", - "name": "dst", + "internalType": "address payable", + "name": "newPendingAdmin", "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" } ], - "name": "transfer", + "name": "_setPendingAdmin", "outputs": [ { - "internalType": "bool", + "internalType": "uint256", "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xa9059cbb" + "signature": "0xb71d1a0c" }, { "constant": false, "inputs": [ - { - "internalType": "address", - "name": "src", - "type": "address" - }, - { - "internalType": "address", - "name": "dst", - "type": "address" - }, { "internalType": "uint256", - "name": "amount", + "name": "newReserveFactorMantissa", "type": "uint256" } ], - "name": "transferFrom", + "name": "_setReserveFactor", "outputs": [ { - "internalType": "bool", + "internalType": "uint256", "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x23b872dd" + "signature": "0xfca7820b" }, { "constant": true, "inputs": [], - "name": "underlying", + "name": "accrualBlockNumber", "outputs": [ { - "internalType": "address", + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x6f307dc3" + "signature": "0x6c540baf" + }, + { + "constant": false, + "inputs": [], + "name": "accrueInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa6afed95" }, { "constant": true, "inputs": [], - "name": "vatAddress", + "name": "admin", "outputs": [ { - "internalType": "address", + "internalType": "address payable", "name": "", "type": "address" } @@ -7437,66 +6690,97 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x8d925ccd" - } - ], - "Comptroller": [ + "signature": "0xf851a440" + }, { "constant": true, - "inputs": [], - "name": "pendingAdmin", + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x26782247" + "signature": "0xdd62ed3e" }, { "constant": false, "inputs": [ { - "name": "newPendingAdmin", + "internalType": "address", + "name": "spender", "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" } ], - "name": "_setPendingAdmin", + "name": "approve", "outputs": [ { + "internalType": "bool", "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xb71d1a0c" + "signature": "0x095ea7b3" }, { "constant": true, - "inputs": [], - "name": "comptrollerImplementation", + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xbb82aa5e" + "signature": "0x70a08231" }, { "constant": false, - "inputs": [], - "name": "_acceptImplementation", + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOfUnderlying", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -7504,34 +6788,43 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xc1e80334" + "signature": "0x3af9e669" }, { - "constant": true, - "inputs": [], - "name": "pendingComptrollerImplementation", + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "borrowAmount", + "type": "uint256" + } + ], + "name": "borrow", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xdcfbc0c7" + "signature": "0xc5ebeaec" }, { "constant": false, "inputs": [ { - "name": "newPendingImplementation", + "internalType": "address", + "name": "account", "type": "address" } ], - "name": "_setPendingImplementation", + "name": "borrowBalanceCurrent", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -7539,229 +6832,202 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xe992a041" + "signature": "0x17bfdfbc" }, { - "constant": false, - "inputs": [], - "name": "_acceptAdmin", + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "borrowBalanceStored", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xe9c714f2" + "signature": "0x95dd9193" }, { "constant": true, "inputs": [], - "name": "admin", + "name": "borrowIndex", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf851a440" + "signature": "0xaa5af0fd" }, { + "constant": true, "inputs": [], + "name": "borrowRatePerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], "payable": false, - "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" - }, - { - "payable": true, - "stateMutability": "payable", - "type": "fallback" + "stateMutability": "view", + "type": "function", + "signature": "0xf8f9da28" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldPendingImplementation", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "comptroller", + "outputs": [ { - "indexed": false, - "name": "newPendingImplementation", + "internalType": "contract ComptrollerInterface", + "name": "", "type": "address" } ], - "name": "NewPendingImplementation", - "type": "event", - "signature": "0xe945ccee5d701fc83f9b8aa8ca94ea4219ec1fcbd4f4cab4f0ea57c5c3e1d815" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x5fe3b567" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldImplementation", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "daiJoinAddress", + "outputs": [ { - "indexed": false, - "name": "newImplementation", + "internalType": "address", + "name": "", "type": "address" } ], - "name": "NewImplementation", - "type": "event", - "signature": "0xd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x8a8df2e6" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldPendingAdmin", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "decimals", + "outputs": [ { - "indexed": false, - "name": "newPendingAdmin", - "type": "address" + "internalType": "uint8", + "name": "", + "type": "uint8" } ], - "name": "NewPendingAdmin", - "type": "event", - "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x313ce567" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldAdmin", - "type": "address" - }, + "constant": false, + "inputs": [], + "name": "exchangeRateCurrent", + "outputs": [ { - "indexed": false, - "name": "newAdmin", - "type": "address" + "internalType": "uint256", + "name": "", + "type": "uint256" } ], - "name": "NewAdmin", - "type": "event", - "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "error", - "type": "uint256" - }, - { - "indexed": false, - "name": "info", - "type": "uint256" - }, - { - "indexed": false, - "name": "detail", - "type": "uint256" - } - ], - "name": "Failure", - "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xbd6d894d" }, { "constant": true, "inputs": [], - "name": "isComptroller", + "name": "exchangeRateStored", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x007e3dd2" + "signature": "0x182df0f5" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "cToken", + "internalType": "address", + "name": "account", "type": "address" - }, + } + ], + "name": "getAccountSnapshot", + "outputs": [ { - "name": "payer", - "type": "address" + "internalType": "uint256", + "name": "", + "type": "uint256" }, { - "name": "borrower", - "type": "address" + "internalType": "uint256", + "name": "", + "type": "uint256" }, { - "name": "repayAmount", + "internalType": "uint256", + "name": "", "type": "uint256" }, { - "name": "borrowerIndex", + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "repayBorrowVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x1ededc91" + "signature": "0xc37f68e2" }, { - "constant": false, - "inputs": [ - { - "name": "cToken", - "type": "address" - }, - { - "name": "payer", - "type": "address" - }, - { - "name": "borrower", - "type": "address" - }, - { - "name": "repayAmount", - "type": "uint256" - } - ], - "name": "repayBorrowAllowed", + "constant": true, + "inputs": [], + "name": "getCash", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x24008a62" + "signature": "0x3b1d21a2" }, { "constant": true, "inputs": [], - "name": "pendingAdmin", + "name": "implementation", "outputs": [ { + "internalType": "address", "name": "", "type": "address" } @@ -7769,155 +7035,150 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x26782247" + "signature": "0x5c60da1b" }, { "constant": false, "inputs": [ { - "name": "newCloseFactorMantissa", - "type": "uint256" - } - ], - "name": "_setCloseFactor", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x317b0b77" - }, - { - "constant": false, - "inputs": [ + "internalType": "address", + "name": "underlying_", + "type": "address" + }, { - "name": "unitroller", + "internalType": "contract ComptrollerInterface", + "name": "comptroller_", "type": "address" }, { - "name": "_oracle", + "internalType": "contract InterestRateModel", + "name": "interestRateModel_", "type": "address" }, { - "name": "_closeFactorMantissa", + "internalType": "uint256", + "name": "initialExchangeRateMantissa_", "type": "uint256" }, { - "name": "_maxAssets", - "type": "uint256" + "internalType": "string", + "name": "name_", + "type": "string" }, { - "name": "reinitializing", - "type": "bool" + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "uint8", + "name": "decimals_", + "type": "uint8" } ], - "name": "_become", + "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x32000e00" + "signature": "0x1a31d465" }, { "constant": false, "inputs": [ { - "name": "cToken", + "internalType": "contract ComptrollerInterface", + "name": "comptroller_", "type": "address" }, { - "name": "minter", + "internalType": "contract InterestRateModel", + "name": "interestRateModel_", "type": "address" }, { - "name": "mintAmount", + "internalType": "uint256", + "name": "initialExchangeRateMantissa_", "type": "uint256" }, { - "name": "mintTokens", - "type": "uint256" + "internalType": "string", + "name": "name_", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol_", + "type": "string" + }, + { + "internalType": "uint8", + "name": "decimals_", + "type": "uint8" } ], - "name": "mintVerify", + "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x41c728b9" + "signature": "0x99d8c1b4" }, { - "constant": false, - "inputs": [ - { - "name": "cTokenBorrowed", - "type": "address" - }, - { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "liquidator", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "interestRateModel", + "outputs": [ { - "name": "borrower", + "internalType": "contract InterestRateModel", + "name": "", "type": "address" - }, - { - "name": "repayAmount", - "type": "uint256" - }, - { - "name": "seizeTokens", - "type": "uint256" } ], - "name": "liquidateBorrowVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x47ef3b3b" + "signature": "0xf3fdb15a" }, { "constant": true, "inputs": [], - "name": "liquidationIncentiveMantissa", + "name": "isCToken", "outputs": [ { + "internalType": "bool", "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x4ada90af" + "signature": "0xfe9c44ae" }, { "constant": false, "inputs": [ { - "name": "cToken", + "internalType": "address", + "name": "borrower", "type": "address" }, { - "name": "minter", - "type": "address" + "internalType": "uint256", + "name": "repayAmount", + "type": "uint256" }, { - "name": "mintAmount", - "type": "uint256" + "internalType": "contract CTokenInterface", + "name": "cTokenCollateral", + "type": "address" } ], - "name": "mintAllowed", + "name": "liquidateBorrow", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -7925,19 +7186,21 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x4ef4c3e1" + "signature": "0xf5e3c462" }, { "constant": false, "inputs": [ { - "name": "newLiquidationIncentiveMantissa", + "internalType": "uint256", + "name": "mintAmount", "type": "uint256" } ], - "name": "_setLiquidationIncentive", + "name": "mint", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -7945,133 +7208,140 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x4fd42e17" + "signature": "0xa0712d68" }, { - "constant": false, - "inputs": [ - { - "name": "cToken", - "type": "address" - }, - { - "name": "redeemer", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "name", + "outputs": [ { - "name": "redeemAmount", - "type": "uint256" - }, - { - "name": "redeemTokens", - "type": "uint256" + "internalType": "string", + "name": "", + "type": "string" } ], - "name": "redeemVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x51dff989" + "signature": "0x06fdde03" }, { - "constant": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "pendingAdmin", + "outputs": [ { - "name": "newOracle", + "internalType": "address payable", + "name": "", "type": "address" } ], - "name": "_setPriceOracle", + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x26782247" + }, + { + "constant": true, + "inputs": [], + "name": "potAddress", "outputs": [ { + "internalType": "address", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x55ee1fe1" + "signature": "0x66ced602" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { - "name": "borrower", - "type": "address" - }, + "internalType": "uint256", + "name": "redeemTokens", + "type": "uint256" + } + ], + "name": "redeem", + "outputs": [ { - "name": "borrowAmount", + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "borrowVerify", - "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x5c778605" + "signature": "0xdb006a75" }, { - "constant": true, + "constant": false, "inputs": [ { - "name": "account", - "type": "address" + "internalType": "uint256", + "name": "redeemAmount", + "type": "uint256" } ], - "name": "getAccountLiquidity", + "name": "redeemUnderlying", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" - }, + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x852a12e3" + }, + { + "constant": false, + "inputs": [ { - "name": "", + "internalType": "uint256", + "name": "repayAmount", "type": "uint256" - }, + } + ], + "name": "repayBorrow", + "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x5ec88c79" + "signature": "0x0e752702" }, { "constant": false, "inputs": [ { - "name": "cTokenBorrowed", - "type": "address" - }, - { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "liquidator", - "type": "address" - }, - { + "internalType": "address", "name": "borrower", "type": "address" }, { + "internalType": "uint256", "name": "repayAmount", "type": "uint256" } ], - "name": "liquidateBorrowAllowed", + "name": "repayBorrowBehalf", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -8079,135 +7349,95 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x5fc7e71e" + "signature": "0x2608f818" }, { - "constant": false, - "inputs": [ - { - "name": "cToken", - "type": "address" - }, - { - "name": "src", - "type": "address" - }, - { - "name": "dst", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "reserveFactorMantissa", + "outputs": [ { - "name": "transferTokens", + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "transferVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x6a56947e" + "signature": "0x173b9904" }, { "constant": false, "inputs": [ { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "cTokenBorrowed", - "type": "address" - }, - { + "internalType": "address", "name": "liquidator", "type": "address" }, { + "internalType": "address", "name": "borrower", "type": "address" }, { + "internalType": "uint256", "name": "seizeTokens", "type": "uint256" } ], - "name": "seizeVerify", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x6d35bf91" - }, - { - "constant": true, - "inputs": [], - "name": "oracle", + "name": "seize", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x7dc0d1d0" + "signature": "0xb2a02ff1" }, { "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "markets", + "inputs": [], + "name": "supplyRatePerBlock", "outputs": [ { - "name": "isListed", - "type": "bool" - }, - { - "name": "collateralFactorMantissa", + "internalType": "uint256", + "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x8e8f294b" + "signature": "0xae9d70b0" }, { "constant": true, - "inputs": [ - { - "name": "account", - "type": "address" - }, - { - "name": "cToken", - "type": "address" - } - ], - "name": "checkMembership", + "inputs": [], + "name": "symbol", "outputs": [ { + "internalType": "string", "name": "", - "type": "bool" + "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x929fe9a1" + "signature": "0x95d89b41" }, { "constant": true, "inputs": [], - "name": "maxAssets", + "name": "totalBorrows", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -8215,19 +7445,15 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x94b2294b" + "signature": "0x47bd3718" }, { "constant": false, - "inputs": [ - { - "name": "cToken", - "type": "address" - } - ], - "name": "_supportMarket", + "inputs": [], + "name": "totalBorrowsCurrent", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -8235,239 +7461,172 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xa76b3fda" + "signature": "0x73acee98" }, { "constant": true, - "inputs": [ - { - "name": "account", - "type": "address" - } - ], - "name": "getAssetsIn", + "inputs": [], + "name": "totalReserves", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "address[]" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xabfceffc" + "signature": "0x8f840ddd" }, { "constant": true, "inputs": [], - "name": "comptrollerImplementation", + "name": "totalSupply", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xbb82aa5e" + "signature": "0x18160ddd" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { - "name": "src", - "type": "address" - }, - { + "internalType": "address", "name": "dst", "type": "address" }, { - "name": "transferTokens", + "internalType": "uint256", + "name": "amount", "type": "uint256" } ], - "name": "transferAllowed", + "name": "transfer", "outputs": [ { + "internalType": "bool", "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xbdcdc258" + "signature": "0xa9059cbb" }, { "constant": false, "inputs": [ { - "name": "cTokens", - "type": "address[]" - } - ], - "name": "enterMarkets", - "outputs": [ - { - "name": "", - "type": "uint256[]" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xc2998238" - }, - { - "constant": true, - "inputs": [ - { - "name": "cTokenBorrowed", + "internalType": "address", + "name": "src", "type": "address" }, { - "name": "cTokenCollateral", + "internalType": "address", + "name": "dst", "type": "address" }, { - "name": "repayAmount", + "internalType": "uint256", + "name": "amount", "type": "uint256" } ], - "name": "liquidateCalculateSeizeTokens", + "name": "transferFrom", "outputs": [ { + "internalType": "bool", "name": "", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xc488847b" + "signature": "0x23b872dd" }, { - "constant": false, - "inputs": [ - { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "cTokenBorrowed", - "type": "address" - }, - { - "name": "liquidator", - "type": "address" - }, - { - "name": "borrower", - "type": "address" - }, - { - "name": "seizeTokens", - "type": "uint256" - } - ], - "name": "seizeAllowed", + "constant": true, + "inputs": [], + "name": "underlying", "outputs": [ { + "internalType": "address", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xd02f7351" + "signature": "0x6f307dc3" }, { - "constant": false, - "inputs": [ - { - "name": "newMaxAssets", - "type": "uint256" - } - ], - "name": "_setMaxAssets", + "constant": true, + "inputs": [], + "name": "vatAddress", "outputs": [ { + "internalType": "address", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xd9226ced" - }, + "signature": "0x8d925ccd" + } + ], + "Comptroller": [ { - "constant": false, - "inputs": [ - { - "name": "cToken", - "type": "address" - }, - { - "name": "borrower", - "type": "address" - }, - { - "name": "borrowAmount", - "type": "uint256" - } - ], - "name": "borrowAllowed", + "constant": true, + "inputs": [], + "name": "pendingAdmin", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xda3d454c" + "signature": "0x26782247" }, { - "constant": true, + "constant": false, "inputs": [ { - "name": "", + "name": "newPendingAdmin", "type": "address" - }, - { - "name": "", - "type": "uint256" } ], - "name": "accountAssets", + "name": "_setPendingAdmin", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xdce15449" + "signature": "0xb71d1a0c" }, { "constant": true, "inputs": [], - "name": "pendingComptrollerImplementation", + "name": "comptrollerImplementation", "outputs": [ { "name": "", @@ -8477,21 +7636,12 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xdcfbc0c7" + "signature": "0xbb82aa5e" }, { "constant": false, - "inputs": [ - { - "name": "cToken", - "type": "address" - }, - { - "name": "newCollateralFactorMantissa", - "type": "uint256" - } - ], - "name": "_setCollateralFactor", + "inputs": [], + "name": "_acceptImplementation", "outputs": [ { "name": "", @@ -8501,40 +7651,32 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xe4028eee" + "signature": "0xc1e80334" }, { "constant": true, "inputs": [], - "name": "closeFactorMantissa", + "name": "pendingComptrollerImplementation", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xe8755446" + "signature": "0xdcfbc0c7" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { - "name": "redeemer", + "name": "newPendingImplementation", "type": "address" - }, - { - "name": "redeemTokens", - "type": "uint256" } ], - "name": "redeemAllowed", + "name": "_setPendingImplementation", "outputs": [ { "name": "", @@ -8544,17 +7686,12 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xeabe7d91" + "signature": "0xe992a041" }, { "constant": false, - "inputs": [ - { - "name": "cTokenAddress", - "type": "address" - } - ], - "name": "exitMarket", + "inputs": [], + "name": "_acceptAdmin", "outputs": [ { "name": "", @@ -8564,7 +7701,7 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xede4edd0" + "signature": "0xe9c714f2" }, { "constant": true, @@ -8588,223 +7725,173 @@ "type": "constructor", "signature": "constructor" }, + { + "payable": true, + "stateMutability": "payable", + "type": "fallback" + }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "cToken", + "name": "oldPendingImplementation", + "type": "address" + }, + { + "indexed": false, + "name": "newPendingImplementation", "type": "address" } ], - "name": "MarketListed", + "name": "NewPendingImplementation", "type": "event", - "signature": "0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f" + "signature": "0xe945ccee5d701fc83f9b8aa8ca94ea4219ec1fcbd4f4cab4f0ea57c5c3e1d815" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "cToken", + "name": "oldImplementation", "type": "address" }, { "indexed": false, - "name": "account", + "name": "newImplementation", "type": "address" } ], - "name": "MarketEntered", + "name": "NewImplementation", "type": "event", - "signature": "0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5" + "signature": "0xd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "cToken", + "name": "oldPendingAdmin", "type": "address" }, { "indexed": false, - "name": "account", + "name": "newPendingAdmin", "type": "address" } ], - "name": "MarketExited", + "name": "NewPendingAdmin", "type": "event", - "signature": "0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d" + "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "oldCloseFactorMantissa", - "type": "uint256" + "name": "oldAdmin", + "type": "address" }, { "indexed": false, - "name": "newCloseFactorMantissa", - "type": "uint256" + "name": "newAdmin", + "type": "address" } ], - "name": "NewCloseFactor", + "name": "NewAdmin", "type": "event", - "signature": "0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9" + "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "cToken", - "type": "address" + "name": "error", + "type": "uint256" }, { "indexed": false, - "name": "oldCollateralFactorMantissa", + "name": "info", "type": "uint256" }, { "indexed": false, - "name": "newCollateralFactorMantissa", + "name": "detail", "type": "uint256" } ], - "name": "NewCollateralFactor", + "name": "Failure", "type": "event", - "signature": "0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5" + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldLiquidationIncentiveMantissa", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "isComptroller", + "outputs": [ { - "indexed": false, - "name": "newLiquidationIncentiveMantissa", - "type": "uint256" + "name": "", + "type": "bool" } ], - "name": "NewLiquidationIncentive", - "type": "event", - "signature": "0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x007e3dd2" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldMaxAssets", - "type": "uint256" + "name": "cToken", + "type": "address" }, { - "indexed": false, - "name": "newMaxAssets", - "type": "uint256" - } - ], - "name": "NewMaxAssets", - "type": "event", - "signature": "0x7093cf1eb653f749c3ff531d6df7f92764536a7fa0d13530cd26e070780c32ea" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldPriceOracle", + "name": "payer", "type": "address" }, { - "indexed": false, - "name": "newPriceOracle", + "name": "borrower", "type": "address" - } - ], - "name": "NewPriceOracle", - "type": "event", - "signature": "0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "error", - "type": "uint256" }, { - "indexed": false, - "name": "info", + "name": "repayAmount", "type": "uint256" }, { - "indexed": false, - "name": "detail", + "name": "borrowerIndex", "type": "uint256" } ], - "name": "Failure", - "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" - } - ], - "cBAT": [ - { - "constant": true, - "inputs": [], - "name": "name", - "outputs": [ - { - "name": "", - "type": "string" - } - ], + "name": "repayBorrowVerify", + "outputs": [], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x06fdde03" + "signature": "0x1ededc91" }, { "constant": false, "inputs": [ { - "name": "spender", + "name": "cToken", "type": "address" }, { - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ + "name": "payer", + "type": "address" + }, { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x095ea7b3" - }, - { - "constant": false, - "inputs": [ + "name": "borrower", + "type": "address" + }, { "name": "repayAmount", "type": "uint256" } ], - "name": "repayBorrow", + "name": "repayBorrowAllowed", "outputs": [ { "name": "", @@ -8814,32 +7901,32 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x0e752702" + "signature": "0x24008a62" }, { "constant": true, "inputs": [], - "name": "reserveFactorMantissa", + "name": "pendingAdmin", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x173b9904" + "signature": "0x26782247" }, { "constant": false, "inputs": [ { - "name": "account", - "type": "address" + "name": "newCloseFactorMantissa", + "type": "uint256" } ], - "name": "borrowBalanceCurrent", + "name": "_setCloseFactor", "outputs": [ { "name": "", @@ -8849,69 +7936,81 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x17bfdfbc" + "signature": "0x317b0b77" }, { - "constant": true, - "inputs": [], - "name": "totalSupply", - "outputs": [ + "constant": false, + "inputs": [ { - "name": "", + "name": "unitroller", + "type": "address" + }, + { + "name": "_oracle", + "type": "address" + }, + { + "name": "_closeFactorMantissa", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x18160ddd" - }, - { - "constant": true, - "inputs": [], - "name": "exchangeRateStored", - "outputs": [ + }, { - "name": "", + "name": "_maxAssets", "type": "uint256" + }, + { + "name": "reinitializing", + "type": "bool" } ], + "name": "_become", + "outputs": [], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x182df0f5" + "signature": "0x32000e00" }, { "constant": false, "inputs": [ { - "name": "src", + "name": "cToken", "type": "address" }, { - "name": "dst", + "name": "minter", "type": "address" }, { - "name": "amount", + "name": "mintAmount", "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ + }, { - "name": "", - "type": "bool" + "name": "mintTokens", + "type": "uint256" } ], + "name": "mintVerify", + "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x23b872dd" + "signature": "0x41c728b9" }, { "constant": false, "inputs": [ + { + "name": "cTokenBorrowed", + "type": "address" + }, + { + "name": "cTokenCollateral", + "type": "address" + }, + { + "name": "liquidator", + "type": "address" + }, { "name": "borrower", "type": "address" @@ -8919,39 +8018,51 @@ { "name": "repayAmount", "type": "uint256" - } - ], - "name": "repayBorrowBehalf", - "outputs": [ + }, { - "name": "", + "name": "seizeTokens", "type": "uint256" } ], + "name": "liquidateBorrowVerify", + "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x2608f818" + "signature": "0x47ef3b3b" }, { "constant": true, "inputs": [], - "name": "pendingAdmin", + "name": "liquidationIncentiveMantissa", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x26782247" + "signature": "0x4ada90af" }, { - "constant": true, - "inputs": [], - "name": "decimals", + "constant": false, + "inputs": [ + { + "name": "cToken", + "type": "address" + }, + { + "name": "minter", + "type": "address" + }, + { + "name": "mintAmount", + "type": "uint256" + } + ], + "name": "mintAllowed", "outputs": [ { "name": "", @@ -8959,19 +8070,19 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x313ce567" + "signature": "0x4ef4c3e1" }, { "constant": false, "inputs": [ { - "name": "owner", - "type": "address" + "name": "newLiquidationIncentiveMantissa", + "type": "uint256" } ], - "name": "balanceOfUnderlying", + "name": "_setLiquidationIncentive", "outputs": [ { "name": "", @@ -8981,32 +8092,44 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x3af9e669" + "signature": "0x4fd42e17" }, { - "constant": true, - "inputs": [], - "name": "getCash", - "outputs": [ + "constant": false, + "inputs": [ { - "name": "", + "name": "cToken", + "type": "address" + }, + { + "name": "redeemer", + "type": "address" + }, + { + "name": "redeemAmount", + "type": "uint256" + }, + { + "name": "redeemTokens", "type": "uint256" } ], + "name": "redeemVerify", + "outputs": [], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x3b1d21a2" + "signature": "0x51dff989" }, { "constant": false, "inputs": [ { - "name": "newComptroller", + "name": "newOracle", "type": "address" } ], - "name": "_setComptroller", + "name": "_setPriceOracle", "outputs": [ { "name": "", @@ -9016,47 +8139,84 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x4576b5db" + "signature": "0x55ee1fe1" }, { - "constant": true, - "inputs": [], - "name": "totalBorrows", - "outputs": [ + "constant": false, + "inputs": [ { - "name": "", + "name": "cToken", + "type": "address" + }, + { + "name": "borrower", + "type": "address" + }, + { + "name": "borrowAmount", "type": "uint256" } ], + "name": "borrowVerify", + "outputs": [], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x47bd3718" + "signature": "0x5c778605" }, { "constant": true, - "inputs": [], - "name": "comptroller", + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "name": "getAccountLiquidity", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x5fe3b567" + "signature": "0x5ec88c79" }, { "constant": false, "inputs": [ { - "name": "reduceAmount", + "name": "cTokenBorrowed", + "type": "address" + }, + { + "name": "cTokenCollateral", + "type": "address" + }, + { + "name": "liquidator", + "type": "address" + }, + { + "name": "borrower", + "type": "address" + }, + { + "name": "repayAmount", "type": "uint256" } ], - "name": "_reduceReserves", + "name": "liquidateBorrowAllowed", "outputs": [ { "name": "", @@ -9066,77 +8226,133 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x601a0bf1" + "signature": "0x5fc7e71e" }, { - "constant": true, - "inputs": [], - "name": "initialExchangeRateMantissa", - "outputs": [ + "constant": false, + "inputs": [ { - "name": "", + "name": "cToken", + "type": "address" + }, + { + "name": "src", + "type": "address" + }, + { + "name": "dst", + "type": "address" + }, + { + "name": "transferTokens", "type": "uint256" } ], + "name": "transferVerify", + "outputs": [], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x675d972c" + "signature": "0x6a56947e" + }, + { + "constant": false, + "inputs": [ + { + "name": "cTokenCollateral", + "type": "address" + }, + { + "name": "cTokenBorrowed", + "type": "address" + }, + { + "name": "liquidator", + "type": "address" + }, + { + "name": "borrower", + "type": "address" + }, + { + "name": "seizeTokens", + "type": "uint256" + } + ], + "name": "seizeVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6d35bf91" }, { "constant": true, "inputs": [], - "name": "accrualBlockNumber", + "name": "oracle", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x6c540baf" + "signature": "0x7dc0d1d0" }, { "constant": true, - "inputs": [], - "name": "underlying", - "outputs": [ + "inputs": [ { "name": "", "type": "address" } ], + "name": "markets", + "outputs": [ + { + "name": "isListed", + "type": "bool" + }, + { + "name": "collateralFactorMantissa", + "type": "uint256" + } + ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x6f307dc3" + "signature": "0x8e8f294b" }, { "constant": true, "inputs": [ { - "name": "owner", + "name": "account", + "type": "address" + }, + { + "name": "cToken", "type": "address" } ], - "name": "balanceOf", + "name": "checkMembership", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x70a08231" + "signature": "0x929fe9a1" }, { - "constant": false, + "constant": true, "inputs": [], - "name": "totalBorrowsCurrent", + "name": "maxAssets", "outputs": [ { "name": "", @@ -9144,19 +8360,19 @@ } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x73acee98" + "signature": "0x94b2294b" }, { "constant": false, "inputs": [ { - "name": "redeemAmount", - "type": "uint256" + "name": "cToken", + "type": "address" } ], - "name": "redeemUnderlying", + "name": "_supportMarket", "outputs": [ { "name": "", @@ -9166,47 +8382,64 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x852a12e3" + "signature": "0xa76b3fda" }, { "constant": true, - "inputs": [], - "name": "totalReserves", + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "name": "getAssetsIn", "outputs": [ { "name": "", - "type": "uint256" + "type": "address[]" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x8f840ddd" + "signature": "0xabfceffc" }, { "constant": true, "inputs": [], - "name": "symbol", + "name": "comptrollerImplementation", "outputs": [ { "name": "", - "type": "string" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x95d89b41" + "signature": "0xbb82aa5e" }, { - "constant": true, + "constant": false, "inputs": [ { - "name": "account", + "name": "cToken", + "type": "address" + }, + { + "name": "src", + "type": "address" + }, + { + "name": "dst", "type": "address" + }, + { + "name": "transferTokens", + "type": "uint256" } ], - "name": "borrowBalanceStored", + "name": "transferAllowed", "outputs": [ { "name": "", @@ -9214,89 +8447,52 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x95dd9193" + "signature": "0xbdcdc258" }, { "constant": false, "inputs": [ { - "name": "mintAmount", - "type": "uint256" + "name": "cTokens", + "type": "address[]" } ], - "name": "mint", + "name": "enterMarkets", "outputs": [ { "name": "", - "type": "uint256" + "type": "uint256[]" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xa0712d68" + "signature": "0xc2998238" }, { - "constant": false, - "inputs": [], - "name": "accrueInterest", - "outputs": [ + "constant": true, + "inputs": [ { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa6afed95" - }, - { - "constant": false, - "inputs": [ + "name": "cTokenBorrowed", + "type": "address" + }, { - "name": "dst", + "name": "cTokenCollateral", "type": "address" }, { - "name": "amount", + "name": "repayAmount", "type": "uint256" } ], - "name": "transfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa9059cbb" - }, - { - "constant": true, - "inputs": [], - "name": "borrowIndex", + "name": "liquidateCalculateSeizeTokens", "outputs": [ { "name": "", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xaa5af0fd" - }, - { - "constant": true, - "inputs": [], - "name": "supplyRatePerBlock", - "outputs": [ + }, { "name": "", "type": "uint256" @@ -9305,11 +8501,19 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xae9d70b0" + "signature": "0xc488847b" }, { "constant": false, "inputs": [ + { + "name": "cTokenCollateral", + "type": "address" + }, + { + "name": "cTokenBorrowed", + "type": "address" + }, { "name": "liquidator", "type": "address" @@ -9323,7 +8527,7 @@ "type": "uint256" } ], - "name": "seize", + "name": "seizeAllowed", "outputs": [ { "name": "", @@ -9333,32 +8537,17 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xb2a02ff1" + "signature": "0xd02f7351" }, { "constant": false, "inputs": [ { - "name": "newPendingAdmin", - "type": "address" - } - ], - "name": "_setPendingAdmin", - "outputs": [ - { - "name": "", + "name": "newMaxAssets", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xb71d1a0c" - }, - { - "constant": false, - "inputs": [], - "name": "exchangeRateCurrent", + "name": "_setMaxAssets", "outputs": [ { "name": "", @@ -9368,69 +8557,25 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xbd6d894d" + "signature": "0xd9226ced" }, { - "constant": true, + "constant": false, "inputs": [ { - "name": "account", + "name": "cToken", "type": "address" - } - ], - "name": "getAccountSnapshot", - "outputs": [ - { - "name": "", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" }, { - "name": "", - "type": "uint256" + "name": "borrower", + "type": "address" }, - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xc37f68e2" - }, - { - "constant": false, - "inputs": [ { "name": "borrowAmount", "type": "uint256" } ], - "name": "borrow", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xc5ebeaec" - }, - { - "constant": false, - "inputs": [ - { - "name": "redeemTokens", - "type": "uint256" - } - ], - "name": "redeem", + "name": "borrowAllowed", "outputs": [ { "name": "", @@ -9440,56 +8585,60 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xdb006a75" + "signature": "0xda3d454c" }, { "constant": true, "inputs": [ { - "name": "owner", + "name": "", "type": "address" }, { - "name": "spender", - "type": "address" + "name": "", + "type": "uint256" } ], - "name": "allowance", + "name": "accountAssets", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xdd62ed3e" + "signature": "0xdce15449" }, { - "constant": false, + "constant": true, "inputs": [], - "name": "_acceptAdmin", + "name": "pendingComptrollerImplementation", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xe9c714f2" + "signature": "0xdcfbc0c7" }, { "constant": false, "inputs": [ { - "name": "newInterestRateModel", + "name": "cToken", "type": "address" + }, + { + "name": "newCollateralFactorMantissa", + "type": "uint256" } ], - "name": "_setInterestRateModel", + "name": "_setCollateralFactor", "outputs": [ { "name": "", @@ -9499,40 +8648,40 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xf2b3abbd" + "signature": "0xe4028eee" }, { "constant": true, "inputs": [], - "name": "interestRateModel", + "name": "closeFactorMantissa", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf3fdb15a" + "signature": "0xe8755446" }, { "constant": false, "inputs": [ { - "name": "borrower", + "name": "cToken", "type": "address" }, { - "name": "repayAmount", - "type": "uint256" + "name": "redeemer", + "type": "address" }, { - "name": "cTokenCollateral", - "type": "address" + "name": "redeemTokens", + "type": "uint256" } ], - "name": "liquidateBorrow", + "name": "redeemAllowed", "outputs": [ { "name": "", @@ -9542,423 +8691,328 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xf5e3c462" + "signature": "0xeabe7d91" }, { - "constant": true, - "inputs": [], - "name": "admin", + "constant": false, + "inputs": [ + { + "name": "cTokenAddress", + "type": "address" + } + ], + "name": "exitMarket", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xf851a440" + "signature": "0xede4edd0" }, { "constant": true, "inputs": [], - "name": "borrowRatePerBlock", + "name": "admin", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf8f9da28" + "signature": "0xf851a440" }, { - "constant": false, - "inputs": [ - { - "name": "newReserveFactorMantissa", - "type": "uint256" - } - ], - "name": "_setReserveFactor", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], + "inputs": [], "payable": false, "stateMutability": "nonpayable", - "type": "function", - "signature": "0xfca7820b" + "type": "constructor", + "signature": "constructor" }, { - "constant": true, - "inputs": [], - "name": "isCToken", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool" + "indexed": false, + "name": "cToken", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xfe9c44ae" + "name": "MarketListed", + "type": "event", + "signature": "0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f" }, { + "anonymous": false, "inputs": [ { - "name": "underlying_", + "indexed": false, + "name": "cToken", "type": "address" }, { - "name": "comptroller_", - "type": "address" - }, - { - "name": "interestRateModel_", + "indexed": false, + "name": "account", "type": "address" - }, - { - "name": "initialExchangeRateMantissa_", - "type": "uint256" - }, - { - "name": "name_", - "type": "string" - }, - { - "name": "symbol_", - "type": "string" - }, - { - "name": "decimals_", - "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" + "name": "MarketEntered", + "type": "event", + "signature": "0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "interestAccumulated", - "type": "uint256" - }, - { - "indexed": false, - "name": "borrowIndex", - "type": "uint256" + "name": "cToken", + "type": "address" }, { "indexed": false, - "name": "totalBorrows", - "type": "uint256" + "name": "account", + "type": "address" } ], - "name": "AccrueInterest", + "name": "MarketExited", "type": "event", - "signature": "0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9" + "signature": "0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "minter", - "type": "address" - }, - { - "indexed": false, - "name": "mintAmount", + "name": "oldCloseFactorMantissa", "type": "uint256" }, { "indexed": false, - "name": "mintTokens", + "name": "newCloseFactorMantissa", "type": "uint256" } ], - "name": "Mint", + "name": "NewCloseFactor", "type": "event", - "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" + "signature": "0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "redeemer", + "name": "cToken", "type": "address" }, { "indexed": false, - "name": "redeemAmount", + "name": "oldCollateralFactorMantissa", "type": "uint256" }, { "indexed": false, - "name": "redeemTokens", + "name": "newCollateralFactorMantissa", "type": "uint256" } ], - "name": "Redeem", + "name": "NewCollateralFactor", "type": "event", - "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" + "signature": "0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "borrower", - "type": "address" - }, - { - "indexed": false, - "name": "borrowAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "accountBorrows", + "name": "oldLiquidationIncentiveMantissa", "type": "uint256" }, { "indexed": false, - "name": "totalBorrows", + "name": "newLiquidationIncentiveMantissa", "type": "uint256" } ], - "name": "Borrow", + "name": "NewLiquidationIncentive", "type": "event", - "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" + "signature": "0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "payer", - "type": "address" - }, - { - "indexed": false, - "name": "borrower", - "type": "address" - }, - { - "indexed": false, - "name": "repayAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "accountBorrows", + "name": "oldMaxAssets", "type": "uint256" }, { "indexed": false, - "name": "totalBorrows", + "name": "newMaxAssets", "type": "uint256" } ], - "name": "RepayBorrow", + "name": "NewMaxAssets", "type": "event", - "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" + "signature": "0x7093cf1eb653f749c3ff531d6df7f92764536a7fa0d13530cd26e070780c32ea" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "liquidator", - "type": "address" - }, - { - "indexed": false, - "name": "borrower", + "name": "oldPriceOracle", "type": "address" }, { "indexed": false, - "name": "repayAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "cTokenCollateral", + "name": "newPriceOracle", "type": "address" - }, - { - "indexed": false, - "name": "seizeTokens", - "type": "uint256" } ], - "name": "LiquidateBorrow", + "name": "NewPriceOracle", "type": "event", - "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" + "signature": "0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22" }, { "anonymous": false, "inputs": [ { "indexed": false, - "name": "oldPendingAdmin", - "type": "address" + "name": "error", + "type": "uint256" }, { "indexed": false, - "name": "newPendingAdmin", - "type": "address" - } - ], - "name": "NewPendingAdmin", - "type": "event", - "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldAdmin", - "type": "address" + "name": "info", + "type": "uint256" }, { "indexed": false, - "name": "newAdmin", - "type": "address" + "name": "detail", + "type": "uint256" } ], - "name": "NewAdmin", + "name": "Failure", "type": "event", - "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" - }, + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + } + ], + "Comp": [ { - "anonymous": false, "inputs": [ { - "indexed": false, - "name": "oldComptroller", - "type": "address" - }, - { - "indexed": false, - "name": "newComptroller", + "internalType": "address", + "name": "account", "type": "address" } ], - "name": "NewComptroller", - "type": "event", - "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" }, { "anonymous": false, "inputs": [ { - "indexed": false, - "name": "oldInterestRateModel", + "indexed": true, + "internalType": "address", + "name": "owner", "type": "address" }, { - "indexed": false, - "name": "newInterestRateModel", + "indexed": true, + "internalType": "address", + "name": "spender", "type": "address" - } - ], - "name": "NewMarketInterestRateModel", - "type": "event", - "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldReserveFactorMantissa", - "type": "uint256" }, { "indexed": false, - "name": "newReserveFactorMantissa", + "internalType": "uint256", + "name": "amount", "type": "uint256" } ], - "name": "NewReserveFactor", + "name": "Approval", "type": "event", - "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" + "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" }, { "anonymous": false, "inputs": [ { - "indexed": false, - "name": "admin", + "indexed": true, + "internalType": "address", + "name": "delegator", "type": "address" }, { - "indexed": false, - "name": "reduceAmount", - "type": "uint256" + "indexed": true, + "internalType": "address", + "name": "fromDelegate", + "type": "address" }, { - "indexed": false, - "name": "newTotalReserves", - "type": "uint256" + "indexed": true, + "internalType": "address", + "name": "toDelegate", + "type": "address" } ], - "name": "ReservesReduced", + "name": "DelegateChanged", "type": "event", - "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" + "signature": "0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f" }, { "anonymous": false, "inputs": [ { - "indexed": false, - "name": "error", - "type": "uint256" + "indexed": true, + "internalType": "address", + "name": "delegate", + "type": "address" }, { "indexed": false, - "name": "info", + "internalType": "uint256", + "name": "previousBalance", "type": "uint256" }, { "indexed": false, - "name": "detail", + "internalType": "uint256", + "name": "newBalance", "type": "uint256" } ], - "name": "Failure", + "name": "DelegateVotesChanged", "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + "signature": "0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724" }, { "anonymous": false, "inputs": [ { "indexed": true, + "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, + "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, + "internalType": "uint256", "name": "amount", "type": "uint256" } @@ -9968,244 +9022,315 @@ "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" }, { - "anonymous": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "DELEGATION_TYPEHASH", + "outputs": [ { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xe7a324dc" + }, + { + "constant": true, + "inputs": [], + "name": "DOMAIN_TYPEHASH", + "outputs": [ { - "indexed": false, - "name": "amount", - "type": "uint256" + "internalType": "bytes32", + "name": "", + "type": "bytes32" } ], - "name": "Approval", - "type": "event", - "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" - } - ], - "StableCoinInterestRateModel": [ + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x20606b70" + }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "name": "error", - "type": "uint256" + "internalType": "address", + "name": "account", + "type": "address" }, { - "indexed": false, - "name": "info", - "type": "uint256" - }, + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ { - "indexed": false, - "name": "detail", + "internalType": "uint256", + "name": "", "type": "uint256" } ], - "name": "Failure", - "type": "event" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xdd62ed3e" }, { - "constant": true, + "constant": false, "inputs": [ { - "name": "_asset", + "internalType": "address", + "name": "spender", "type": "address" }, { - "name": "cash", - "type": "uint256" - }, - { - "name": "borrows", + "internalType": "uint256", + "name": "rawAmount", "type": "uint256" } ], - "name": "getSupplyRate", + "name": "approve", "outputs": [ { + "internalType": "bool", "name": "", - "type": "uint256" - }, + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x095ea7b3" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", - "type": "function" + "type": "function", + "signature": "0x70a08231" }, { "constant": true, "inputs": [ { - "name": "_asset", + "internalType": "address", + "name": "", "type": "address" }, { - "name": "cash", - "type": "uint256" - }, - { - "name": "borrows", - "type": "uint256" + "internalType": "uint32", + "name": "", + "type": "uint32" } ], - "name": "getBorrowRate", + "name": "checkpoints", "outputs": [ { - "name": "", - "type": "uint256" + "internalType": "uint32", + "name": "fromBlock", + "type": "uint32" }, { + "internalType": "uint96", + "name": "votes", + "type": "uint96" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf1127ed8" + }, + { + "constant": true, + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", "name": "", - "type": "uint256" + "type": "uint8" } ], "payable": false, "stateMutability": "view", - "type": "function" - } - ], - "DSR_Kink_9000bps_Jump_12000bps_AssumedRF_500bps": [ + "type": "function", + "signature": "0x313ce567" + }, { + "constant": false, "inputs": [ - { - "internalType": "uint256", - "name": "jumpMultiplierPerYear", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "kink_", - "type": "uint256" - }, - { - "internalType": "address", - "name": "pot_", - "type": "address" - }, { "internalType": "address", - "name": "jug_", + "name": "delegatee", "type": "address" } ], + "name": "delegate", + "outputs": [], "payable": false, "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" + "type": "function", + "signature": "0x5c19a95c" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "baseRatePerBlock", - "type": "uint256" + "internalType": "address", + "name": "delegatee", + "type": "address" }, { - "indexed": false, "internalType": "uint256", - "name": "multiplierPerBlock", + "name": "nonce", "type": "uint256" }, { - "indexed": false, "internalType": "uint256", - "name": "jumpMultiplierPerBlock", + "name": "expiry", "type": "uint256" }, { - "indexed": false, - "internalType": "uint256", - "name": "kink", - "type": "uint256" + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" } ], - "name": "NewInterestParams", - "type": "event", - "signature": "0x6960ab234c7ef4b0c9197100f5393cfcde7c453ac910a27bd2000aa1dd4c068d" + "name": "delegateBySig", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc3cda520" }, { "constant": true, - "inputs": [], - "name": "assumedOneMinusReserveFactorMantissa", + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "delegates", "outputs": [ { - "internalType": "uint256", + "internalType": "address", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x6dac7cd5" + "signature": "0x587cde1e" }, { "constant": true, - "inputs": [], - "name": "baseRatePerBlock", + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getCurrentVotes", "outputs": [ { - "internalType": "uint256", + "internalType": "uint96", "name": "", - "type": "uint256" + "type": "uint96" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf14039de" + "signature": "0xb4b5ea57" }, { "constant": true, - "inputs": [], - "name": "blocksPerYear", - "outputs": [ + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, { "internalType": "uint256", - "name": "", + "name": "blockNumber", "type": "uint256" } ], + "name": "getPriorVotes", + "outputs": [ + { + "internalType": "uint96", + "name": "", + "type": "uint96" + } + ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xa385fb96" + "signature": "0x782d6fe1" }, { "constant": true, "inputs": [], - "name": "dsrPerBlock", + "name": "name", "outputs": [ { - "internalType": "uint256", + "internalType": "string", "name": "", - "type": "uint256" + "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x96456c5c" + "signature": "0x06fdde03" }, { "constant": true, - "inputs": [], - "name": "gapPerBlock", + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "nonces", "outputs": [ { "internalType": "uint256", @@ -10216,97 +9341,50 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf52d21f3" + "signature": "0x7ecebe00" }, { "constant": true, "inputs": [ { - "internalType": "uint256", - "name": "cash", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "borrows", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserves", - "type": "uint256" - } - ], - "name": "getBorrowRate", - "outputs": [ - { - "internalType": "uint256", + "internalType": "address", "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x15f24053" - }, - { - "constant": true, - "inputs": [ - { - "internalType": "uint256", - "name": "cash", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "borrows", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserves", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserveFactorMantissa", - "type": "uint256" + "type": "address" } ], - "name": "getSupplyRate", + "name": "numCheckpoints", "outputs": [ { - "internalType": "uint256", + "internalType": "uint32", "name": "", - "type": "uint256" + "type": "uint32" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xb8168816" + "signature": "0x6fcfff45" }, { "constant": true, "inputs": [], - "name": "isInterestRateModel", + "name": "symbol", "outputs": [ { - "internalType": "bool", + "internalType": "string", "name": "", - "type": "bool" + "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x2191f92a" + "signature": "0x95d89b41" }, { "constant": true, "inputs": [], - "name": "jumpMultiplierPerBlock", + "name": "totalSupply", "outputs": [ { "internalType": "uint256", @@ -10317,120 +9395,132 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xb9f9850a" + "signature": "0x18160ddd" }, { - "constant": true, - "inputs": [], - "name": "kink", - "outputs": [ + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "dst", + "type": "address" + }, { "internalType": "uint256", - "name": "", + "name": "rawAmount", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xfd2da339" - }, - { - "constant": true, - "inputs": [], - "name": "multiplierPerBlock", + "name": "transfer", "outputs": [ { - "internalType": "uint256", + "internalType": "bool", "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x8726bb89" - }, - { - "constant": false, - "inputs": [], - "name": "poke", - "outputs": [], - "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x18178358" + "signature": "0xa9059cbb" }, { - "constant": true, + "constant": false, "inputs": [ { - "internalType": "uint256", - "name": "cash", - "type": "uint256" + "internalType": "address", + "name": "src", + "type": "address" }, { - "internalType": "uint256", - "name": "borrows", - "type": "uint256" + "internalType": "address", + "name": "dst", + "type": "address" }, { "internalType": "uint256", - "name": "reserves", + "name": "rawAmount", "type": "uint256" } ], - "name": "utilizationRate", + "name": "transferFrom", "outputs": [ { - "internalType": "uint256", + "internalType": "bool", "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "pure", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x6e71e2d8" + "signature": "0x23b872dd" } ], - "Base0bps_Slope2000bps": [ + "cBAT": [ { "constant": true, - "inputs": [ + "inputs": [], + "name": "name", + "outputs": [ { - "name": "cash", - "type": "uint256" - }, + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x06fdde03" + }, + { + "constant": false, + "inputs": [ { - "name": "borrows", - "type": "uint256" + "name": "spender", + "type": "address" }, { - "name": "_reserves", + "name": "amount", "type": "uint256" } ], - "name": "getBorrowRate", + "name": "approve", "outputs": [ { "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x095ea7b3" + }, + { + "constant": false, + "inputs": [ + { + "name": "repayAmount", "type": "uint256" - }, + } + ], + "name": "repayBorrow", + "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x15f24053" + "signature": "0x0e752702" }, { "constant": true, "inputs": [], - "name": "multiplier", + "name": "reserveFactorMantissa", "outputs": [ { "name": "", @@ -10440,12 +9530,17 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x1b3ed722" + "signature": "0x173b9904" }, { - "constant": true, - "inputs": [], - "name": "baseRate", + "constant": false, + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "name": "borrowBalanceCurrent", "outputs": [ { "name": "", @@ -10453,29 +9548,29 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x1f68f20a" + "signature": "0x17bfdfbc" }, { "constant": true, "inputs": [], - "name": "isInterestRateModel", + "name": "totalSupply", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x2191f92a" + "signature": "0x18160ddd" }, { "constant": true, "inputs": [], - "name": "blocksPerYear", + "name": "exchangeRateStored", "outputs": [ { "name": "", @@ -10485,55 +9580,1661 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xa385fb96" + "signature": "0x182df0f5" }, { + "constant": false, "inputs": [ { - "name": "baseRate_", - "type": "uint256" + "name": "src", + "type": "address" }, { - "name": "multiplier_", + "name": "dst", + "type": "address" + }, + { + "name": "amount", "type": "uint256" } ], + "name": "transferFrom", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], "payable": false, "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" - } - ], - "cErc20Delegate": [ - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" + "type": "function", + "signature": "0x23b872dd" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "cashPrior", - "type": "uint256" + "name": "borrower", + "type": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "interestAccumulated", + "name": "repayAmount", "type": "uint256" - }, + } + ], + "name": "repayBorrowBehalf", + "outputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "borrowIndex", + "name": "", "type": "uint256" - }, - { + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2608f818" + }, + { + "constant": true, + "inputs": [], + "name": "pendingAdmin", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x26782247" + }, + { + "constant": true, + "inputs": [], + "name": "decimals", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x313ce567" + }, + { + "constant": false, + "inputs": [ + { + "name": "owner", + "type": "address" + } + ], + "name": "balanceOfUnderlying", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3af9e669" + }, + { + "constant": true, + "inputs": [], + "name": "getCash", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x3b1d21a2" + }, + { + "constant": false, + "inputs": [ + { + "name": "newComptroller", + "type": "address" + } + ], + "name": "_setComptroller", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4576b5db" + }, + { + "constant": true, + "inputs": [], + "name": "totalBorrows", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x47bd3718" + }, + { + "constant": true, + "inputs": [], + "name": "comptroller", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x5fe3b567" + }, + { + "constant": false, + "inputs": [ + { + "name": "reduceAmount", + "type": "uint256" + } + ], + "name": "_reduceReserves", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x601a0bf1" + }, + { + "constant": true, + "inputs": [], + "name": "initialExchangeRateMantissa", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x675d972c" + }, + { + "constant": true, + "inputs": [], + "name": "accrualBlockNumber", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x6c540baf" + }, + { + "constant": true, + "inputs": [], + "name": "underlying", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x6f307dc3" + }, + { + "constant": true, + "inputs": [ + { + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x70a08231" + }, + { + "constant": false, + "inputs": [], + "name": "totalBorrowsCurrent", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x73acee98" + }, + { + "constant": false, + "inputs": [ + { + "name": "redeemAmount", + "type": "uint256" + } + ], + "name": "redeemUnderlying", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x852a12e3" + }, + { + "constant": true, + "inputs": [], + "name": "totalReserves", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x8f840ddd" + }, + { + "constant": true, + "inputs": [], + "name": "symbol", + "outputs": [ + { + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x95d89b41" + }, + { + "constant": true, + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "name": "borrowBalanceStored", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x95dd9193" + }, + { + "constant": false, + "inputs": [ + { + "name": "mintAmount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa0712d68" + }, + { + "constant": false, + "inputs": [], + "name": "accrueInterest", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa6afed95" + }, + { + "constant": false, + "inputs": [ + { + "name": "dst", + "type": "address" + }, + { + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa9059cbb" + }, + { + "constant": true, + "inputs": [], + "name": "borrowIndex", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xaa5af0fd" + }, + { + "constant": true, + "inputs": [], + "name": "supplyRatePerBlock", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xae9d70b0" + }, + { + "constant": false, + "inputs": [ + { + "name": "liquidator", + "type": "address" + }, + { + "name": "borrower", + "type": "address" + }, + { + "name": "seizeTokens", + "type": "uint256" + } + ], + "name": "seize", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb2a02ff1" + }, + { + "constant": false, + "inputs": [ + { + "name": "newPendingAdmin", + "type": "address" + } + ], + "name": "_setPendingAdmin", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb71d1a0c" + }, + { + "constant": false, + "inputs": [], + "name": "exchangeRateCurrent", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xbd6d894d" + }, + { + "constant": true, + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "name": "getAccountSnapshot", + "outputs": [ + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xc37f68e2" + }, + { + "constant": false, + "inputs": [ + { + "name": "borrowAmount", + "type": "uint256" + } + ], + "name": "borrow", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc5ebeaec" + }, + { + "constant": false, + "inputs": [ + { + "name": "redeemTokens", + "type": "uint256" + } + ], + "name": "redeem", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xdb006a75" + }, + { + "constant": true, + "inputs": [ + { + "name": "owner", + "type": "address" + }, + { + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xdd62ed3e" + }, + { + "constant": false, + "inputs": [], + "name": "_acceptAdmin", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xe9c714f2" + }, + { + "constant": false, + "inputs": [ + { + "name": "newInterestRateModel", + "type": "address" + } + ], + "name": "_setInterestRateModel", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2b3abbd" + }, + { + "constant": true, + "inputs": [], + "name": "interestRateModel", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf3fdb15a" + }, + { + "constant": false, + "inputs": [ + { + "name": "borrower", + "type": "address" + }, + { + "name": "repayAmount", + "type": "uint256" + }, + { + "name": "cTokenCollateral", + "type": "address" + } + ], + "name": "liquidateBorrow", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf5e3c462" + }, + { + "constant": true, + "inputs": [], + "name": "admin", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf851a440" + }, + { + "constant": true, + "inputs": [], + "name": "borrowRatePerBlock", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf8f9da28" + }, + { + "constant": false, + "inputs": [ + { + "name": "newReserveFactorMantissa", + "type": "uint256" + } + ], + "name": "_setReserveFactor", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xfca7820b" + }, + { + "constant": true, + "inputs": [], + "name": "isCToken", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xfe9c44ae" + }, + { + "inputs": [ + { + "name": "underlying_", + "type": "address" + }, + { + "name": "comptroller_", + "type": "address" + }, + { + "name": "interestRateModel_", + "type": "address" + }, + { + "name": "initialExchangeRateMantissa_", + "type": "uint256" + }, + { + "name": "name_", + "type": "string" + }, + { + "name": "symbol_", + "type": "string" + }, + { + "name": "decimals_", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "interestAccumulated", + "type": "uint256" + }, + { + "indexed": false, + "name": "borrowIndex", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", + "type": "uint256" + } + ], + "name": "AccrueInterest", + "type": "event", + "signature": "0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "minter", + "type": "address" + }, + { + "indexed": false, + "name": "mintAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "mintTokens", + "type": "uint256" + } + ], + "name": "Mint", + "type": "event", + "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "redeemer", + "type": "address" + }, + { + "indexed": false, + "name": "redeemAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "redeemTokens", + "type": "uint256" + } + ], + "name": "Redeem", + "type": "event", + "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "borrower", + "type": "address" + }, + { + "indexed": false, + "name": "borrowAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "accountBorrows", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", + "type": "uint256" + } + ], + "name": "Borrow", + "type": "event", + "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "payer", + "type": "address" + }, + { + "indexed": false, + "name": "borrower", + "type": "address" + }, + { + "indexed": false, + "name": "repayAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "accountBorrows", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", + "type": "uint256" + } + ], + "name": "RepayBorrow", + "type": "event", + "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "liquidator", + "type": "address" + }, + { + "indexed": false, + "name": "borrower", + "type": "address" + }, + { + "indexed": false, + "name": "repayAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "cTokenCollateral", + "type": "address" + }, + { + "indexed": false, + "name": "seizeTokens", + "type": "uint256" + } + ], + "name": "LiquidateBorrow", + "type": "event", + "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "oldPendingAdmin", + "type": "address" + }, + { + "indexed": false, + "name": "newPendingAdmin", + "type": "address" + } + ], + "name": "NewPendingAdmin", + "type": "event", + "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "oldAdmin", + "type": "address" + }, + { + "indexed": false, + "name": "newAdmin", + "type": "address" + } + ], + "name": "NewAdmin", + "type": "event", + "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "oldComptroller", + "type": "address" + }, + { + "indexed": false, + "name": "newComptroller", + "type": "address" + } + ], + "name": "NewComptroller", + "type": "event", + "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "oldInterestRateModel", + "type": "address" + }, + { + "indexed": false, + "name": "newInterestRateModel", + "type": "address" + } + ], + "name": "NewMarketInterestRateModel", + "type": "event", + "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "oldReserveFactorMantissa", + "type": "uint256" + }, + { + "indexed": false, + "name": "newReserveFactorMantissa", + "type": "uint256" + } + ], + "name": "NewReserveFactor", + "type": "event", + "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "admin", + "type": "address" + }, + { + "indexed": false, + "name": "reduceAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "newTotalReserves", + "type": "uint256" + } + ], + "name": "ReservesReduced", + "type": "event", + "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "error", + "type": "uint256" + }, + { + "indexed": false, + "name": "info", + "type": "uint256" + }, + { + "indexed": false, + "name": "detail", + "type": "uint256" + } + ], + "name": "Failure", + "type": "event", + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "from", + "type": "address" + }, + { + "indexed": true, + "name": "to", + "type": "address" + }, + { + "indexed": false, + "name": "amount", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event", + "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "name": "amount", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event", + "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" + } + ], + "StableCoinInterestRateModel": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "error", + "type": "uint256" + }, + { + "indexed": false, + "name": "info", + "type": "uint256" + }, + { + "indexed": false, + "name": "detail", + "type": "uint256" + } + ], + "name": "Failure", + "type": "event" + }, + { + "constant": true, + "inputs": [ + { + "name": "_asset", + "type": "address" + }, + { + "name": "cash", + "type": "uint256" + }, + { + "name": "borrows", + "type": "uint256" + } + ], + "name": "getSupplyRate", + "outputs": [ + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_asset", + "type": "address" + }, + { + "name": "cash", + "type": "uint256" + }, + { + "name": "borrows", + "type": "uint256" + } + ], + "name": "getBorrowRate", + "outputs": [ + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } + ], + "DSR_Kink_9000bps_Jump_12000bps_AssumedRF_500bps": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "jumpMultiplierPerYear", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "kink_", + "type": "uint256" + }, + { + "internalType": "address", + "name": "pot_", + "type": "address" + }, + { + "internalType": "address", + "name": "jug_", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "baseRatePerBlock", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "multiplierPerBlock", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "jumpMultiplierPerBlock", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "kink", + "type": "uint256" + } + ], + "name": "NewInterestParams", + "type": "event", + "signature": "0x6960ab234c7ef4b0c9197100f5393cfcde7c453ac910a27bd2000aa1dd4c068d" + }, + { + "constant": true, + "inputs": [], + "name": "assumedOneMinusReserveFactorMantissa", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x6dac7cd5" + }, + { + "constant": true, + "inputs": [], + "name": "baseRatePerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf14039de" + }, + { + "constant": true, + "inputs": [], + "name": "blocksPerYear", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xa385fb96" + }, + { + "constant": true, + "inputs": [], + "name": "dsrPerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x96456c5c" + }, + { + "constant": true, + "inputs": [], + "name": "gapPerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf52d21f3" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "cash", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "borrows", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "reserves", + "type": "uint256" + } + ], + "name": "getBorrowRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x15f24053" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "cash", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "borrows", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "reserves", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "reserveFactorMantissa", + "type": "uint256" + } + ], + "name": "getSupplyRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xb8168816" + }, + { + "constant": true, + "inputs": [], + "name": "isInterestRateModel", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x2191f92a" + }, + { + "constant": true, + "inputs": [], + "name": "jumpMultiplierPerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xb9f9850a" + }, + { + "constant": true, + "inputs": [], + "name": "kink", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xfd2da339" + }, + { + "constant": true, + "inputs": [], + "name": "multiplierPerBlock", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x8726bb89" + }, + { + "constant": false, + "inputs": [], + "name": "poke", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x18178358" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "cash", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "borrows", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "reserves", + "type": "uint256" + } + ], + "name": "utilizationRate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "pure", + "type": "function", + "signature": "0x6e71e2d8" + } + ], + "Base0bps_Slope2000bps": [ + { + "constant": true, + "inputs": [ + { + "name": "cash", + "type": "uint256" + }, + { + "name": "borrows", + "type": "uint256" + }, + { + "name": "_reserves", + "type": "uint256" + } + ], + "name": "getBorrowRate", + "outputs": [ + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x15f24053" + }, + { + "constant": true, + "inputs": [], + "name": "multiplier", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x1b3ed722" + }, + { + "constant": true, + "inputs": [], + "name": "baseRate", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x1f68f20a" + }, + { + "constant": true, + "inputs": [], + "name": "isInterestRateModel", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x2191f92a" + }, + { + "constant": true, + "inputs": [], + "name": "blocksPerYear", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xa385fb96" + }, + { + "inputs": [ + { + "name": "baseRate_", + "type": "uint256" + }, + { + "name": "multiplier_", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + } + ], + "cErc20Delegate": [ + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "cashPrior", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "interestAccumulated", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "borrowIndex", + "type": "uint256" + }, + { "indexed": false, "internalType": "uint256", "name": "totalBorrows", @@ -12502,35 +13203,261 @@ { "constant": true, "inputs": [], - "name": "supplyRatePerBlock", + "name": "supplyRatePerBlock", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xae9d70b0" + }, + { + "constant": false, + "inputs": [ + { + "name": "liquidator", + "type": "address" + }, + { + "name": "borrower", + "type": "address" + }, + { + "name": "seizeTokens", + "type": "uint256" + } + ], + "name": "seize", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb2a02ff1" + }, + { + "constant": false, + "inputs": [ + { + "name": "newPendingAdmin", + "type": "address" + } + ], + "name": "_setPendingAdmin", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb71d1a0c" + }, + { + "constant": false, + "inputs": [], + "name": "exchangeRateCurrent", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xbd6d894d" + }, + { + "constant": true, + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "name": "getAccountSnapshot", + "outputs": [ + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xc37f68e2" + }, + { + "constant": false, + "inputs": [ + { + "name": "borrowAmount", + "type": "uint256" + } + ], + "name": "borrow", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xc5ebeaec" + }, + { + "constant": false, + "inputs": [ + { + "name": "redeemTokens", + "type": "uint256" + } + ], + "name": "redeem", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xdb006a75" + }, + { + "constant": true, + "inputs": [ + { + "name": "owner", + "type": "address" + }, + { + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xdd62ed3e" + }, + { + "constant": false, + "inputs": [ + { + "name": "borrower", + "type": "address" + } + ], + "name": "repayBorrowBehalf", + "outputs": [], + "payable": true, + "stateMutability": "payable", + "type": "function", + "signature": "0xe5974619" + }, + { + "constant": false, + "inputs": [], + "name": "_acceptAdmin", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xe9c714f2" + }, + { + "constant": false, + "inputs": [ + { + "name": "newInterestRateModel", + "type": "address" + } + ], + "name": "_setInterestRateModel", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2b3abbd" + }, + { + "constant": true, + "inputs": [], + "name": "interestRateModel", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xae9d70b0" + "signature": "0xf3fdb15a" }, { - "constant": false, - "inputs": [ - { - "name": "liquidator", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "admin", + "outputs": [ { - "name": "borrower", + "name": "", "type": "address" - }, - { - "name": "seizeTokens", - "type": "uint256" } ], - "name": "seize", + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf851a440" + }, + { + "constant": true, + "inputs": [], + "name": "borrowRatePerBlock", "outputs": [ { "name": "", @@ -12538,19 +13465,19 @@ } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xb2a02ff1" + "signature": "0xf8f9da28" }, { "constant": false, "inputs": [ { - "name": "newPendingAdmin", - "type": "address" + "name": "newReserveFactorMantissa", + "type": "uint256" } ], - "name": "_setPendingAdmin", + "name": "_setReserveFactor", "outputs": [ { "name": "", @@ -12560,669 +13487,782 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xb71d1a0c" + "signature": "0xfca7820b" }, { - "constant": false, + "constant": true, "inputs": [], - "name": "exchangeRateCurrent", + "name": "isCToken", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xbd6d894d" + "signature": "0xfe9c44ae" }, { - "constant": true, "inputs": [ { - "name": "account", + "name": "comptroller_", "type": "address" - } - ], - "name": "getAccountSnapshot", - "outputs": [ + }, { - "name": "", - "type": "uint256" + "name": "interestRateModel_", + "type": "address" }, { - "name": "", + "name": "initialExchangeRateMantissa_", "type": "uint256" }, { - "name": "", - "type": "uint256" + "name": "name_", + "type": "string" }, { - "name": "", + "name": "symbol_", + "type": "string" + }, + { + "name": "decimals_", "type": "uint256" } ], "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xc37f68e2" + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" }, { - "constant": false, + "payable": true, + "stateMutability": "payable", + "type": "fallback" + }, + { + "anonymous": false, "inputs": [ { - "name": "borrowAmount", + "indexed": false, + "name": "interestAccumulated", + "type": "uint256" + }, + { + "indexed": false, + "name": "borrowIndex", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", "type": "uint256" } ], - "name": "borrow", - "outputs": [ + "name": "AccrueInterest", + "type": "event", + "signature": "0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "minter", + "type": "address" + }, + { + "indexed": false, + "name": "mintAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "mintTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xc5ebeaec" + "name": "Mint", + "type": "event", + "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, + "name": "redeemer", + "type": "address" + }, + { + "indexed": false, + "name": "redeemAmount", + "type": "uint256" + }, + { + "indexed": false, "name": "redeemTokens", "type": "uint256" } ], - "name": "redeem", - "outputs": [ + "name": "Redeem", + "type": "event", + "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "borrower", + "type": "address" + }, + { + "indexed": false, + "name": "borrowAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "accountBorrows", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xdb006a75" + "name": "Borrow", + "type": "event", + "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "name": "owner", + "indexed": false, + "name": "payer", "type": "address" }, { - "name": "spender", + "indexed": false, + "name": "borrower", "type": "address" - } - ], - "name": "allowance", - "outputs": [ + }, { - "name": "", + "indexed": false, + "name": "repayAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "accountBorrows", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xdd62ed3e" + "name": "RepayBorrow", + "type": "event", + "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, + "name": "liquidator", + "type": "address" + }, + { + "indexed": false, "name": "borrower", "type": "address" + }, + { + "indexed": false, + "name": "repayAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "cTokenCollateral", + "type": "address" + }, + { + "indexed": false, + "name": "seizeTokens", + "type": "uint256" } ], - "name": "repayBorrowBehalf", - "outputs": [], - "payable": true, - "stateMutability": "payable", - "type": "function", - "signature": "0xe5974619" + "name": "LiquidateBorrow", + "type": "event", + "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" }, { - "constant": false, - "inputs": [], - "name": "_acceptAdmin", - "outputs": [ + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "oldPendingAdmin", + "type": "address" + }, { - "name": "", - "type": "uint256" + "indexed": false, + "name": "newPendingAdmin", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xe9c714f2" + "name": "NewPendingAdmin", + "type": "event", + "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "newInterestRateModel", + "indexed": false, + "name": "oldAdmin", "type": "address" - } - ], - "name": "_setInterestRateModel", - "outputs": [ + }, { - "name": "", - "type": "uint256" + "indexed": false, + "name": "newAdmin", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xf2b3abbd" + "name": "NewAdmin", + "type": "event", + "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" }, { - "constant": true, - "inputs": [], - "name": "interestRateModel", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "oldComptroller", + "type": "address" + }, + { + "indexed": false, + "name": "newComptroller", "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf3fdb15a" + "name": "NewComptroller", + "type": "event", + "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" }, { - "constant": true, - "inputs": [], - "name": "admin", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "oldInterestRateModel", + "type": "address" + }, + { + "indexed": false, + "name": "newInterestRateModel", "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf851a440" + "name": "NewMarketInterestRateModel", + "type": "event", + "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" }, { - "constant": true, - "inputs": [], - "name": "borrowRatePerBlock", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "oldReserveFactorMantissa", + "type": "uint256" + }, + { + "indexed": false, + "name": "newReserveFactorMantissa", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf8f9da28" + "name": "NewReserveFactor", + "type": "event", + "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "newReserveFactorMantissa", + "indexed": false, + "name": "admin", + "type": "address" + }, + { + "indexed": false, + "name": "reduceAmount", "type": "uint256" - } - ], - "name": "_setReserveFactor", - "outputs": [ + }, { - "name": "", + "indexed": false, + "name": "newTotalReserves", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xfca7820b" + "name": "ReservesReduced", + "type": "event", + "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" }, { - "constant": true, - "inputs": [], - "name": "isCToken", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool" + "indexed": false, + "name": "error", + "type": "uint256" + }, + { + "indexed": false, + "name": "info", + "type": "uint256" + }, + { + "indexed": false, + "name": "detail", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xfe9c44ae" + "name": "Failure", + "type": "event", + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" }, { + "anonymous": false, "inputs": [ { - "name": "comptroller_", + "indexed": true, + "name": "from", "type": "address" }, { - "name": "interestRateModel_", + "indexed": true, + "name": "to", "type": "address" }, { - "name": "initialExchangeRateMantissa_", + "indexed": false, + "name": "amount", "type": "uint256" - }, + } + ], + "name": "Transfer", + "type": "event", + "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" + }, + { + "anonymous": false, + "inputs": [ { - "name": "name_", - "type": "string" + "indexed": true, + "name": "owner", + "type": "address" }, { - "name": "symbol_", - "type": "string" + "indexed": true, + "name": "spender", + "type": "address" }, { - "name": "decimals_", + "indexed": false, + "name": "amount", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" - }, - { - "payable": true, - "stateMutability": "payable", - "type": "fallback" - }, + "name": "Approval", + "type": "event", + "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" + } + ], + "Base500bps_Slope1200bps": [ { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "name": "interestAccumulated", + "name": "cash", "type": "uint256" }, { - "indexed": false, - "name": "borrowIndex", + "name": "borrows", "type": "uint256" }, { - "indexed": false, - "name": "totalBorrows", + "name": "_reserves", "type": "uint256" } ], - "name": "AccrueInterest", - "type": "event", - "signature": "0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9" - }, - { - "anonymous": false, - "inputs": [ + "name": "getBorrowRate", + "outputs": [ { - "indexed": false, - "name": "minter", - "type": "address" + "name": "", + "type": "uint256" }, { - "indexed": false, - "name": "mintAmount", + "name": "", "type": "uint256" - }, + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x15f24053" + }, + { + "constant": true, + "inputs": [], + "name": "multiplier", + "outputs": [ { - "indexed": false, - "name": "mintTokens", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x1b3ed722" + }, + { + "constant": true, + "inputs": [], + "name": "baseRate", + "outputs": [ + { + "name": "", "type": "uint256" } ], - "name": "Mint", - "type": "event", - "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x1f68f20a" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "redeemer", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "isInterestRateModel", + "outputs": [ { - "indexed": false, - "name": "redeemAmount", - "type": "uint256" - }, + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x2191f92a" + }, + { + "constant": true, + "inputs": [], + "name": "blocksPerYear", + "outputs": [ { - "indexed": false, - "name": "redeemTokens", + "name": "", "type": "uint256" } ], - "name": "Redeem", - "type": "event", - "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xa385fb96" }, { - "anonymous": false, "inputs": [ { - "indexed": false, - "name": "borrower", - "type": "address" - }, - { - "indexed": false, - "name": "borrowAmount", + "name": "baseRate_", "type": "uint256" }, { - "indexed": false, - "name": "accountBorrows", + "name": "multiplier_", "type": "uint256" - }, + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + } + ], + "cSAI": [ + { + "constant": true, + "inputs": [], + "name": "name", + "outputs": [ { - "indexed": false, - "name": "totalBorrows", - "type": "uint256" + "name": "", + "type": "string" } ], - "name": "Borrow", - "type": "event", - "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x06fdde03" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "payer", - "type": "address" - }, - { - "indexed": false, - "name": "borrower", + "name": "spender", "type": "address" }, { - "indexed": false, - "name": "repayAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "accountBorrows", + "name": "amount", "type": "uint256" - }, + } + ], + "name": "approve", + "outputs": [ { - "indexed": false, - "name": "totalBorrows", - "type": "uint256" + "name": "", + "type": "bool" } ], - "name": "RepayBorrow", - "type": "event", - "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x095ea7b3" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "liquidator", - "type": "address" - }, - { - "indexed": false, - "name": "borrower", - "type": "address" - }, - { - "indexed": false, "name": "repayAmount", "type": "uint256" - }, - { - "indexed": false, - "name": "cTokenCollateral", - "type": "address" - }, + } + ], + "name": "repayBorrow", + "outputs": [ { - "indexed": false, - "name": "seizeTokens", + "name": "", "type": "uint256" } ], - "name": "LiquidateBorrow", - "type": "event", - "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x0e752702" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldPendingAdmin", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "reserveFactorMantissa", + "outputs": [ { - "indexed": false, - "name": "newPendingAdmin", - "type": "address" + "name": "", + "type": "uint256" } ], - "name": "NewPendingAdmin", - "type": "event", - "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x173b9904" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldAdmin", - "type": "address" - }, - { - "indexed": false, - "name": "newAdmin", + "name": "account", "type": "address" } ], - "name": "NewAdmin", - "type": "event", - "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldComptroller", - "type": "address" - }, + "name": "borrowBalanceCurrent", + "outputs": [ { - "indexed": false, - "name": "newComptroller", - "type": "address" + "name": "", + "type": "uint256" } ], - "name": "NewComptroller", - "type": "event", - "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x17bfdfbc" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldInterestRateModel", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ { - "indexed": false, - "name": "newInterestRateModel", - "type": "address" + "name": "", + "type": "uint256" } ], - "name": "NewMarketInterestRateModel", - "type": "event", - "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x18160ddd" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldReserveFactorMantissa", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "exchangeRateStored", + "outputs": [ { - "indexed": false, - "name": "newReserveFactorMantissa", + "name": "", "type": "uint256" - } - ], - "name": "NewReserveFactor", - "type": "event", - "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x182df0f5" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "admin", + "name": "src", "type": "address" }, { - "indexed": false, - "name": "reduceAmount", - "type": "uint256" + "name": "dst", + "type": "address" }, { - "indexed": false, - "name": "newTotalReserves", + "name": "amount", "type": "uint256" } ], - "name": "ReservesReduced", - "type": "event", - "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" + "name": "transferFrom", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x23b872dd" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "error", - "type": "uint256" + "name": "borrower", + "type": "address" }, { - "indexed": false, - "name": "info", + "name": "repayAmount", "type": "uint256" - }, + } + ], + "name": "repayBorrowBehalf", + "outputs": [ { - "indexed": false, - "name": "detail", + "name": "", "type": "uint256" } ], - "name": "Failure", - "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2608f818" }, { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "pendingAdmin", + "outputs": [ { - "indexed": true, - "name": "to", + "name": "", "type": "address" - }, + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x26782247" + }, + { + "constant": true, + "inputs": [], + "name": "decimals", + "outputs": [ { - "indexed": false, - "name": "amount", + "name": "", "type": "uint256" } ], - "name": "Transfer", - "type": "event", - "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x313ce567" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": true, "name": "owner", "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, + } + ], + "name": "balanceOfUnderlying", + "outputs": [ { - "indexed": false, - "name": "amount", + "name": "", "type": "uint256" } ], - "name": "Approval", - "type": "event", - "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" - } - ], - "Base500bps_Slope1200bps": [ + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x3af9e669" + }, { "constant": true, - "inputs": [ - { - "name": "cash", - "type": "uint256" - }, + "inputs": [], + "name": "getCash", + "outputs": [ { - "name": "borrows", + "name": "", "type": "uint256" - }, + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x3b1d21a2" + }, + { + "constant": false, + "inputs": [ { - "name": "_reserves", - "type": "uint256" + "name": "newComptroller", + "type": "address" } ], - "name": "getBorrowRate", + "name": "_setComptroller", "outputs": [ - { - "name": "", - "type": "uint256" - }, { "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x15f24053" + "signature": "0x4576b5db" }, { "constant": true, "inputs": [], - "name": "multiplier", + "name": "totalBorrows", "outputs": [ { "name": "", @@ -13232,42 +14272,47 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x1b3ed722" + "signature": "0x47bd3718" }, { "constant": true, "inputs": [], - "name": "baseRate", + "name": "comptroller", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x1f68f20a" + "signature": "0x5fe3b567" }, { - "constant": true, - "inputs": [], - "name": "isInterestRateModel", + "constant": false, + "inputs": [ + { + "name": "reduceAmount", + "type": "uint256" + } + ], + "name": "_reduceReserves", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x2191f92a" + "signature": "0x601a0bf1" }, { "constant": true, "inputs": [], - "name": "blocksPerYear", + "name": "initialExchangeRateMantissa", "outputs": [ { "name": "", @@ -13277,74 +14322,97 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xa385fb96" + "signature": "0x675d972c" }, { - "inputs": [ - { - "name": "baseRate_", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "accrualBlockNumber", + "outputs": [ { - "name": "multiplier_", + "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" - } - ], - "cSAI": [ + "stateMutability": "view", + "type": "function", + "signature": "0x6c540baf" + }, { "constant": true, "inputs": [], - "name": "name", + "name": "underlying", "outputs": [ { "name": "", - "type": "string" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x06fdde03" + "signature": "0x6f307dc3" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "spender", + "name": "owner", "type": "address" - }, + } + ], + "name": "balanceOf", + "outputs": [ { - "name": "amount", + "name": "", "type": "uint256" } ], - "name": "approve", + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x70a08231" + }, + { + "constant": false, + "inputs": [], + "name": "totalBorrowsCurrent", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x095ea7b3" + "signature": "0x73acee98" }, { "constant": false, "inputs": [ { - "name": "repayAmount", + "name": "redeemAmount", "type": "uint256" } ], - "name": "repayBorrow", + "name": "redeemUnderlying", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x852a12e3" + }, + { + "constant": true, + "inputs": [], + "name": "totalReserves", "outputs": [ { "name": "", @@ -13352,34 +14420,34 @@ } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x0e752702" + "signature": "0x8f840ddd" }, { "constant": true, "inputs": [], - "name": "reserveFactorMantissa", + "name": "symbol", "outputs": [ { "name": "", - "type": "uint256" + "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x173b9904" + "signature": "0x95d89b41" }, { - "constant": false, + "constant": true, "inputs": [ { "name": "account", "type": "address" } ], - "name": "borrowBalanceCurrent", + "name": "borrowBalanceStored", "outputs": [ { "name": "", @@ -13387,29 +14455,19 @@ } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x17bfdfbc" + "signature": "0x95dd9193" }, { - "constant": true, - "inputs": [], - "name": "totalSupply", - "outputs": [ + "constant": false, + "inputs": [ { - "name": "", + "name": "mintAmount", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x18160ddd" - }, - { - "constant": true, - "inputs": [], - "name": "exchangeRateStored", + "name": "mint", "outputs": [ { "name": "", @@ -13417,81 +14475,68 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x182df0f5" + "signature": "0xa0712d68" }, { "constant": false, - "inputs": [ - { - "name": "src", - "type": "address" - }, - { - "name": "dst", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", + "inputs": [], + "name": "accrueInterest", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x23b872dd" + "signature": "0xa6afed95" }, { "constant": false, "inputs": [ { - "name": "borrower", + "name": "dst", "type": "address" }, { - "name": "repayAmount", + "name": "amount", "type": "uint256" } ], - "name": "repayBorrowBehalf", + "name": "transfer", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x2608f818" + "signature": "0xa9059cbb" }, { "constant": true, "inputs": [], - "name": "pendingAdmin", + "name": "borrowIndex", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x26782247" + "signature": "0xaa5af0fd" }, { "constant": true, "inputs": [], - "name": "decimals", + "name": "supplyRatePerBlock", "outputs": [ { "name": "", @@ -13501,32 +14546,25 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x313ce567" + "signature": "0xae9d70b0" }, { "constant": false, "inputs": [ { - "name": "owner", + "name": "liquidator", "type": "address" - } - ], - "name": "balanceOfUnderlying", - "outputs": [ + }, { - "name": "", + "name": "borrower", + "type": "address" + }, + { + "name": "seizeTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x3af9e669" - }, - { - "constant": true, - "inputs": [], - "name": "getCash", + "name": "seize", "outputs": [ { "name": "", @@ -13534,19 +14572,19 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x3b1d21a2" + "signature": "0xb2a02ff1" }, { "constant": false, "inputs": [ { - "name": "newComptroller", + "name": "newPendingAdmin", "type": "address" } ], - "name": "_setComptroller", + "name": "_setPendingAdmin", "outputs": [ { "name": "", @@ -13556,12 +14594,12 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x4576b5db" + "signature": "0xb71d1a0c" }, { - "constant": true, + "constant": false, "inputs": [], - "name": "totalBorrows", + "name": "exchangeRateCurrent", "outputs": [ { "name": "", @@ -13569,34 +14607,51 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x47bd3718" + "signature": "0xbd6d894d" }, { "constant": true, - "inputs": [], - "name": "comptroller", + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "name": "getAccountSnapshot", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x5fe3b567" + "signature": "0xc37f68e2" }, { "constant": false, "inputs": [ { - "name": "reduceAmount", + "name": "borrowAmount", "type": "uint256" } ], - "name": "_reduceReserves", + "name": "borrow", "outputs": [ { "name": "", @@ -13606,27 +14661,17 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x601a0bf1" + "signature": "0xc5ebeaec" }, { - "constant": true, - "inputs": [], - "name": "initialExchangeRateMantissa", - "outputs": [ + "constant": false, + "inputs": [ { - "name": "", + "name": "redeemTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x675d972c" - }, - { - "constant": true, - "inputs": [], - "name": "accrualBlockNumber", + "name": "redeem", "outputs": [ { "name": "", @@ -13634,24 +14679,9 @@ } ], "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x6c540baf" - }, - { - "constant": true, - "inputs": [], - "name": "underlying", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x6f307dc3" + "signature": "0xdb006a75" }, { "constant": true, @@ -13659,9 +14689,13 @@ { "name": "owner", "type": "address" + }, + { + "name": "spender", + "type": "address" } ], - "name": "balanceOf", + "name": "allowance", "outputs": [ { "name": "", @@ -13671,12 +14705,12 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x70a08231" + "signature": "0xdd62ed3e" }, { "constant": false, "inputs": [], - "name": "totalBorrowsCurrent", + "name": "_acceptAdmin", "outputs": [ { "name": "", @@ -13686,17 +14720,17 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x73acee98" + "signature": "0xe9c714f2" }, { "constant": false, "inputs": [ { - "name": "redeemAmount", - "type": "uint256" + "name": "newInterestRateModel", + "type": "address" } ], - "name": "redeemUnderlying", + "name": "_setInterestRateModel", "outputs": [ { "name": "", @@ -13706,47 +14740,70 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x852a12e3" + "signature": "0xf2b3abbd" }, { "constant": true, "inputs": [], - "name": "totalReserves", + "name": "interestRateModel", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x8f840ddd" + "signature": "0xf3fdb15a" }, { - "constant": true, - "inputs": [], - "name": "symbol", + "constant": false, + "inputs": [ + { + "name": "borrower", + "type": "address" + }, + { + "name": "repayAmount", + "type": "uint256" + }, + { + "name": "cTokenCollateral", + "type": "address" + } + ], + "name": "liquidateBorrow", "outputs": [ { "name": "", - "type": "string" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x95d89b41" + "signature": "0xf5e3c462" }, { "constant": true, - "inputs": [ + "inputs": [], + "name": "admin", + "outputs": [ { - "name": "account", + "name": "", "type": "address" } ], - "name": "borrowBalanceStored", + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf851a440" + }, + { + "constant": true, + "inputs": [], + "name": "borrowRatePerBlock", "outputs": [ { "name": "", @@ -13756,17 +14813,17 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x95dd9193" + "signature": "0xf8f9da28" }, { "constant": false, "inputs": [ { - "name": "mintAmount", + "name": "newReserveFactorMantissa", "type": "uint256" } ], - "name": "mint", + "name": "_setReserveFactor", "outputs": [ { "name": "", @@ -13776,909 +14833,886 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xa0712d68" + "signature": "0xfca7820b" }, { - "constant": false, + "constant": true, "inputs": [], - "name": "accrueInterest", + "name": "isCToken", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xa6afed95" + "signature": "0xfe9c44ae" }, { - "constant": false, "inputs": [ { - "name": "dst", + "name": "underlying_", "type": "address" }, { - "name": "amount", + "name": "comptroller_", + "type": "address" + }, + { + "name": "interestRateModel_", + "type": "address" + }, + { + "name": "initialExchangeRateMantissa_", "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ + }, { - "name": "", - "type": "bool" + "name": "name_", + "type": "string" + }, + { + "name": "symbol_", + "type": "string" + }, + { + "name": "decimals_", + "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa9059cbb" + "type": "constructor", + "signature": "constructor" }, { - "constant": true, - "inputs": [], - "name": "borrowIndex", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "interestAccumulated", "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xaa5af0fd" - }, - { - "constant": true, - "inputs": [], - "name": "supplyRatePerBlock", - "outputs": [ + }, { - "name": "", + "indexed": false, + "name": "borrowIndex", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xae9d70b0" + "name": "AccrueInterest", + "type": "event", + "signature": "0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "liquidator", + "indexed": false, + "name": "minter", "type": "address" }, { - "name": "borrower", - "type": "address" + "indexed": false, + "name": "mintAmount", + "type": "uint256" }, { - "name": "seizeTokens", + "indexed": false, + "name": "mintTokens", "type": "uint256" } ], - "name": "seize", - "outputs": [ + "name": "Mint", + "type": "event", + "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "redeemer", + "type": "address" + }, + { + "indexed": false, + "name": "redeemAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "redeemTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xb2a02ff1" + "name": "Redeem", + "type": "event", + "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "newPendingAdmin", + "indexed": false, + "name": "borrower", "type": "address" - } - ], - "name": "_setPendingAdmin", - "outputs": [ + }, { - "name": "", + "indexed": false, + "name": "borrowAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "accountBorrows", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xb71d1a0c" + "name": "Borrow", + "type": "event", + "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" }, { - "constant": false, - "inputs": [], - "name": "exchangeRateCurrent", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "payer", + "type": "address" + }, + { + "indexed": false, + "name": "borrower", + "type": "address" + }, + { + "indexed": false, + "name": "repayAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "accountBorrows", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xbd6d894d" + "name": "RepayBorrow", + "type": "event", + "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "name": "account", + "indexed": false, + "name": "liquidator", "type": "address" - } - ], - "name": "getAccountSnapshot", - "outputs": [ + }, { - "name": "", - "type": "uint256" + "indexed": false, + "name": "borrower", + "type": "address" }, { - "name": "", + "indexed": false, + "name": "repayAmount", "type": "uint256" }, { - "name": "", + "indexed": false, + "name": "cTokenCollateral", + "type": "address" + }, + { + "indexed": false, + "name": "seizeTokens", "type": "uint256" + } + ], + "name": "LiquidateBorrow", + "type": "event", + "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "oldPendingAdmin", + "type": "address" + }, + { + "indexed": false, + "name": "newPendingAdmin", + "type": "address" + } + ], + "name": "NewPendingAdmin", + "type": "event", + "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "oldAdmin", + "type": "address" }, { - "name": "", - "type": "uint256" + "indexed": false, + "name": "newAdmin", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xc37f68e2" + "name": "NewAdmin", + "type": "event", + "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "borrowAmount", - "type": "uint256" + "indexed": false, + "name": "oldComptroller", + "type": "address" + }, + { + "indexed": false, + "name": "newComptroller", + "type": "address" } ], - "name": "borrow", - "outputs": [ + "name": "NewComptroller", + "type": "event", + "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "uint256" + "indexed": false, + "name": "oldInterestRateModel", + "type": "address" + }, + { + "indexed": false, + "name": "newInterestRateModel", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xc5ebeaec" + "name": "NewMarketInterestRateModel", + "type": "event", + "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "redeemTokens", + "indexed": false, + "name": "oldReserveFactorMantissa", "type": "uint256" - } - ], - "name": "redeem", - "outputs": [ + }, { - "name": "", + "indexed": false, + "name": "newReserveFactorMantissa", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xdb006a75" + "name": "NewReserveFactor", + "type": "event", + "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "name": "owner", + "indexed": false, + "name": "admin", "type": "address" }, { - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ + "indexed": false, + "name": "reduceAmount", + "type": "uint256" + }, { - "name": "", + "indexed": false, + "name": "newTotalReserves", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xdd62ed3e" + "name": "ReservesReduced", + "type": "event", + "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" }, { - "constant": false, - "inputs": [], - "name": "_acceptAdmin", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "error", + "type": "uint256" + }, + { + "indexed": false, + "name": "info", + "type": "uint256" + }, + { + "indexed": false, + "name": "detail", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xe9c714f2" + "name": "Failure", + "type": "event", + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "newInterestRateModel", + "indexed": true, + "name": "from", "type": "address" - } - ], - "name": "_setInterestRateModel", - "outputs": [ + }, { - "name": "", + "indexed": true, + "name": "to", + "type": "address" + }, + { + "indexed": false, + "name": "amount", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xf2b3abbd" + "name": "Transfer", + "type": "event", + "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" }, { - "constant": true, - "inputs": [], - "name": "interestRateModel", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": true, + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "name": "spender", "type": "address" + }, + { + "indexed": false, + "name": "amount", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xf3fdb15a" - }, + "name": "Approval", + "type": "event", + "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" + } + ], + "Timelock": [ { "constant": false, "inputs": [ { - "name": "borrower", + "name": "target", "type": "address" }, { - "name": "repayAmount", + "name": "value", "type": "uint256" }, { - "name": "cTokenCollateral", - "type": "address" + "name": "signature", + "type": "string" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "eta", + "type": "uint256" } ], - "name": "liquidateBorrow", + "name": "executeTransaction", "outputs": [ { "name": "", - "type": "uint256" + "type": "bytes" } ], - "payable": false, - "stateMutability": "nonpayable", + "payable": true, + "stateMutability": "payable", "type": "function", - "signature": "0xf5e3c462" + "signature": "0x0825f38f" }, { - "constant": true, + "constant": false, "inputs": [], - "name": "admin", - "outputs": [ - { - "name": "", - "type": "address" - } - ], + "name": "acceptAdmin", + "outputs": [], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xf851a440" + "signature": "0x0e18b681" }, { "constant": true, "inputs": [], - "name": "borrowRatePerBlock", + "name": "pendingAdmin", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf8f9da28" + "signature": "0x26782247" }, { "constant": false, "inputs": [ { - "name": "newReserveFactorMantissa", + "name": "target", + "type": "address" + }, + { + "name": "value", "type": "uint256" - } - ], - "name": "_setReserveFactor", - "outputs": [ + }, { - "name": "", + "name": "signature", + "type": "string" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "eta", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xfca7820b" - }, - { - "constant": true, - "inputs": [], - "name": "isCToken", + "name": "queueTransaction", "outputs": [ { "name": "", - "type": "bool" + "type": "bytes32" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xfe9c44ae" + "signature": "0x3a66f901" }, { + "constant": false, "inputs": [ { - "name": "underlying_", - "type": "address" - }, - { - "name": "comptroller_", + "name": "pendingAdmin_", "type": "address" - }, + } + ], + "name": "setPendingAdmin", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4dd18bf5" + }, + { + "constant": false, + "inputs": [ { - "name": "interestRateModel_", + "name": "target", "type": "address" }, { - "name": "initialExchangeRateMantissa_", + "name": "value", "type": "uint256" }, { - "name": "name_", + "name": "signature", "type": "string" }, { - "name": "symbol_", - "type": "string" + "name": "data", + "type": "bytes" }, { - "name": "decimals_", + "name": "eta", "type": "uint256" } ], + "name": "cancelTransaction", + "outputs": [], "payable": false, "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" + "type": "function", + "signature": "0x591fcdfe" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "interestAccumulated", - "type": "uint256" - }, - { - "indexed": false, - "name": "borrowIndex", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "delay", + "outputs": [ { - "indexed": false, - "name": "totalBorrows", + "name": "", "type": "uint256" } ], - "name": "AccrueInterest", - "type": "event", - "signature": "0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x6a42b8f8" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "minter", - "type": "address" - }, - { - "indexed": false, - "name": "mintAmount", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "MAXIMUM_DELAY", + "outputs": [ { - "indexed": false, - "name": "mintTokens", + "name": "", "type": "uint256" } ], - "name": "Mint", - "type": "event", - "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x7d645fab" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "redeemer", - "type": "address" - }, - { - "indexed": false, - "name": "redeemAmount", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "MINIMUM_DELAY", + "outputs": [ { - "indexed": false, - "name": "redeemTokens", + "name": "", "type": "uint256" } ], - "name": "Redeem", - "type": "event", - "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xb1b43ae5" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "borrower", - "type": "address" - }, - { - "indexed": false, - "name": "borrowAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "accountBorrows", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "GRACE_PERIOD", + "outputs": [ { - "indexed": false, - "name": "totalBorrows", + "name": "", "type": "uint256" } ], - "name": "Borrow", - "type": "event", - "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xc1a287e2" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "payer", - "type": "address" - }, - { - "indexed": false, - "name": "borrower", - "type": "address" - }, - { - "indexed": false, - "name": "repayAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "accountBorrows", - "type": "uint256" - }, - { - "indexed": false, - "name": "totalBorrows", + "name": "delay_", "type": "uint256" } ], - "name": "RepayBorrow", - "type": "event", - "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" + "name": "setDelay", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xe177246e" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "name": "liquidator", - "type": "address" - }, - { - "indexed": false, - "name": "borrower", - "type": "address" - }, - { - "indexed": false, - "name": "repayAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "cTokenCollateral", - "type": "address" - }, + "name": "", + "type": "bytes32" + } + ], + "name": "queuedTransactions", + "outputs": [ { - "indexed": false, - "name": "seizeTokens", - "type": "uint256" + "name": "", + "type": "bool" } ], - "name": "LiquidateBorrow", - "type": "event", - "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf2b06537" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldPendingAdmin", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "admin", + "outputs": [ { - "indexed": false, - "name": "newPendingAdmin", + "name": "", "type": "address" } ], - "name": "NewPendingAdmin", - "type": "event", - "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xf851a440" }, { - "anonymous": false, "inputs": [ { - "indexed": false, - "name": "oldAdmin", - "type": "address" - }, - { - "indexed": false, - "name": "newAdmin", + "name": "admin_", "type": "address" + }, + { + "name": "delay_", + "type": "uint256" } ], - "name": "NewAdmin", - "type": "event", - "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + }, + { + "payable": true, + "stateMutability": "payable", + "type": "fallback" }, { "anonymous": false, "inputs": [ { - "indexed": false, - "name": "oldComptroller", - "type": "address" - }, - { - "indexed": false, - "name": "newComptroller", + "indexed": true, + "name": "newAdmin", "type": "address" } ], - "name": "NewComptroller", + "name": "NewAdmin", "type": "event", - "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" + "signature": "0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c" }, { "anonymous": false, "inputs": [ { - "indexed": false, - "name": "oldInterestRateModel", - "type": "address" - }, - { - "indexed": false, - "name": "newInterestRateModel", + "indexed": true, + "name": "newPendingAdmin", "type": "address" } ], - "name": "NewMarketInterestRateModel", + "name": "NewPendingAdmin", "type": "event", - "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" + "signature": "0x69d78e38a01985fbb1462961809b4b2d65531bc93b2b94037f3334b82ca4a756" }, { "anonymous": false, "inputs": [ { - "indexed": false, - "name": "oldReserveFactorMantissa", - "type": "uint256" - }, - { - "indexed": false, - "name": "newReserveFactorMantissa", + "indexed": true, + "name": "newDelay", "type": "uint256" } ], - "name": "NewReserveFactor", + "name": "NewDelay", "type": "event", - "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" + "signature": "0x948b1f6a42ee138b7e34058ba85a37f716d55ff25ff05a763f15bed6a04c8d2c" }, { "anonymous": false, "inputs": [ { - "indexed": false, - "name": "admin", - "type": "address" + "indexed": true, + "name": "txHash", + "type": "bytes32" }, { - "indexed": false, - "name": "reduceAmount", - "type": "uint256" + "indexed": true, + "name": "target", + "type": "address" }, { "indexed": false, - "name": "newTotalReserves", + "name": "value", "type": "uint256" - } - ], - "name": "ReservesReduced", - "type": "event", - "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" - }, - { - "anonymous": false, - "inputs": [ + }, { "indexed": false, - "name": "error", - "type": "uint256" + "name": "signature", + "type": "string" }, { "indexed": false, - "name": "info", - "type": "uint256" + "name": "data", + "type": "bytes" }, { "indexed": false, - "name": "detail", + "name": "eta", "type": "uint256" } ], - "name": "Failure", + "name": "CancelTransaction", "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + "signature": "0x2fffc091a501fd91bfbff27141450d3acb40fb8e6d8382b243ec7a812a3aaf87" }, { "anonymous": false, "inputs": [ { "indexed": true, - "name": "from", - "type": "address" + "name": "txHash", + "type": "bytes32" }, { "indexed": true, - "name": "to", + "name": "target", "type": "address" }, { "indexed": false, - "name": "amount", + "name": "value", "type": "uint256" - } - ], - "name": "Transfer", - "type": "event", - "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" - }, - { - "anonymous": false, - "inputs": [ + }, { - "indexed": true, - "name": "owner", - "type": "address" + "indexed": false, + "name": "signature", + "type": "string" }, { - "indexed": true, - "name": "spender", - "type": "address" + "indexed": false, + "name": "data", + "type": "bytes" }, { "indexed": false, - "name": "amount", + "name": "eta", "type": "uint256" } ], - "name": "Approval", + "name": "ExecuteTransaction", "type": "event", - "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" - } - ], - "Timelock": [ + "signature": "0xa560e3198060a2f10670c1ec5b403077ea6ae93ca8de1c32b451dc1a943cd6e7" + }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": true, + "name": "txHash", + "type": "bytes32" + }, + { + "indexed": true, "name": "target", "type": "address" }, { + "indexed": false, "name": "value", "type": "uint256" }, { + "indexed": false, "name": "signature", "type": "string" }, { + "indexed": false, "name": "data", "type": "bytes" }, { + "indexed": false, "name": "eta", "type": "uint256" } ], - "name": "executeTransaction", - "outputs": [ - { - "name": "", - "type": "bytes" - } - ], - "payable": true, - "stateMutability": "payable", - "type": "function", - "signature": "0x0825f38f" - }, - { - "constant": false, - "inputs": [], - "name": "acceptAdmin", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x0e18b681" - }, + "name": "QueueTransaction", + "type": "event", + "signature": "0x76e2796dc3a81d57b0e8504b647febcbeeb5f4af818e164f11eef8131a6a763f" + } + ], + "Base200bps_Slope3000bps": [ { "constant": true, - "inputs": [], - "name": "pendingAdmin", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x26782247" - }, - { - "constant": false, "inputs": [ { - "name": "target", - "type": "address" - }, - { - "name": "value", + "name": "cash", "type": "uint256" }, { - "name": "signature", - "type": "string" - }, - { - "name": "data", - "type": "bytes" + "name": "borrows", + "type": "uint256" }, { - "name": "eta", + "name": "_reserves", "type": "uint256" } ], - "name": "queueTransaction", + "name": "getBorrowRate", "outputs": [ { "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x3a66f901" - }, - { - "constant": false, - "inputs": [ + "type": "uint256" + }, { - "name": "pendingAdmin_", - "type": "address" + "name": "", + "type": "uint256" } ], - "name": "setPendingAdmin", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x4dd18bf5" + "signature": "0x15f24053" }, { - "constant": false, - "inputs": [ - { - "name": "target", - "type": "address" - }, - { - "name": "value", - "type": "uint256" - }, - { - "name": "signature", - "type": "string" - }, - { - "name": "data", - "type": "bytes" - }, + "constant": true, + "inputs": [], + "name": "multiplier", + "outputs": [ { - "name": "eta", + "name": "", "type": "uint256" } ], - "name": "cancelTransaction", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x591fcdfe" + "signature": "0x1b3ed722" }, { "constant": true, "inputs": [], - "name": "delay", + "name": "baseRate", "outputs": [ { "name": "", @@ -14688,27 +15722,27 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x6a42b8f8" + "signature": "0x1f68f20a" }, { "constant": true, "inputs": [], - "name": "MAXIMUM_DELAY", + "name": "isInterestRateModel", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x7d645fab" + "signature": "0x2191f92a" }, { "constant": true, "inputs": [], - "name": "MINIMUM_DELAY", + "name": "blocksPerYear", "outputs": [ { "name": "", @@ -14718,285 +15752,256 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xb1b43ae5" + "signature": "0xa385fb96" }, + { + "inputs": [ + { + "name": "baseRate_", + "type": "uint256" + }, + { + "name": "multiplier_", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + } + ], + "cREP": [ { "constant": true, "inputs": [], - "name": "GRACE_PERIOD", + "name": "name", "outputs": [ { "name": "", - "type": "uint256" + "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xc1a287e2" + "signature": "0x06fdde03" }, { "constant": false, "inputs": [ { - "name": "delay_", + "name": "spender", + "type": "address" + }, + { + "name": "amount", "type": "uint256" } ], - "name": "setDelay", - "outputs": [], + "name": "approve", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xe177246e" + "signature": "0x095ea7b3" }, { - "constant": true, + "constant": false, "inputs": [ { - "name": "", - "type": "bytes32" + "name": "repayAmount", + "type": "uint256" } ], - "name": "queuedTransactions", + "name": "repayBorrow", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xf2b06537" + "signature": "0x0e752702" }, { "constant": true, "inputs": [], - "name": "admin", + "name": "reserveFactorMantissa", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf851a440" + "signature": "0x173b9904" }, { + "constant": false, "inputs": [ { - "name": "admin_", + "name": "account", "type": "address" - }, + } + ], + "name": "borrowBalanceCurrent", + "outputs": [ { - "name": "delay_", + "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" - }, - { - "payable": true, - "stateMutability": "payable", - "type": "fallback" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "newAdmin", - "type": "address" - } - ], - "name": "NewAdmin", - "type": "event", - "signature": "0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c" + "type": "function", + "signature": "0x17bfdfbc" }, { - "anonymous": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ { - "indexed": true, - "name": "newPendingAdmin", - "type": "address" + "name": "", + "type": "uint256" } ], - "name": "NewPendingAdmin", - "type": "event", - "signature": "0x69d78e38a01985fbb1462961809b4b2d65531bc93b2b94037f3334b82ca4a756" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x18160ddd" }, { - "anonymous": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "exchangeRateStored", + "outputs": [ { - "indexed": true, - "name": "newDelay", + "name": "", "type": "uint256" } ], - "name": "NewDelay", - "type": "event", - "signature": "0x948b1f6a42ee138b7e34058ba85a37f716d55ff25ff05a763f15bed6a04c8d2c" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x182df0f5" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": true, - "name": "txHash", - "type": "bytes32" + "name": "src", + "type": "address" }, { - "indexed": true, - "name": "target", + "name": "dst", "type": "address" }, { - "indexed": false, - "name": "value", + "name": "amount", "type": "uint256" - }, - { - "indexed": false, - "name": "signature", - "type": "string" - }, - { - "indexed": false, - "name": "data", - "type": "bytes" - }, + } + ], + "name": "transferFrom", + "outputs": [ { - "indexed": false, - "name": "eta", - "type": "uint256" + "name": "", + "type": "bool" } ], - "name": "CancelTransaction", - "type": "event", - "signature": "0x2fffc091a501fd91bfbff27141450d3acb40fb8e6d8382b243ec7a812a3aaf87" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x23b872dd" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": true, - "name": "txHash", - "type": "bytes32" - }, - { - "indexed": true, - "name": "target", + "name": "borrower", "type": "address" }, { - "indexed": false, - "name": "value", + "name": "repayAmount", "type": "uint256" - }, - { - "indexed": false, - "name": "signature", - "type": "string" - }, - { - "indexed": false, - "name": "data", - "type": "bytes" - }, + } + ], + "name": "repayBorrowBehalf", + "outputs": [ { - "indexed": false, - "name": "eta", + "name": "", "type": "uint256" } ], - "name": "ExecuteTransaction", - "type": "event", - "signature": "0xa560e3198060a2f10670c1ec5b403077ea6ae93ca8de1c32b451dc1a943cd6e7" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2608f818" }, { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "txHash", - "type": "bytes32" - }, + "constant": true, + "inputs": [], + "name": "pendingAdmin", + "outputs": [ { - "indexed": true, - "name": "target", + "name": "", "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - }, - { - "indexed": false, - "name": "signature", - "type": "string" - }, - { - "indexed": false, - "name": "data", - "type": "bytes" - }, - { - "indexed": false, - "name": "eta", - "type": "uint256" } ], - "name": "QueueTransaction", - "type": "event", - "signature": "0x76e2796dc3a81d57b0e8504b647febcbeeb5f4af818e164f11eef8131a6a763f" - } - ], - "Base200bps_Slope3000bps": [ + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x26782247" + }, { "constant": true, - "inputs": [ - { - "name": "cash", - "type": "uint256" - }, + "inputs": [], + "name": "decimals", + "outputs": [ { - "name": "borrows", + "name": "", "type": "uint256" - }, + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x313ce567" + }, + { + "constant": false, + "inputs": [ { - "name": "_reserves", - "type": "uint256" + "name": "owner", + "type": "address" } ], - "name": "getBorrowRate", + "name": "balanceOfUnderlying", "outputs": [ - { - "name": "", - "type": "uint256" - }, { "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x15f24053" + "signature": "0x3af9e669" }, { "constant": true, "inputs": [], - "name": "multiplier", + "name": "getCash", "outputs": [ { "name": "", @@ -15006,12 +16011,17 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x1b3ed722" + "signature": "0x3b1d21a2" }, { - "constant": true, - "inputs": [], - "name": "baseRate", + "constant": false, + "inputs": [ + { + "name": "newComptroller", + "type": "address" + } + ], + "name": "_setComptroller", "outputs": [ { "name": "", @@ -15019,106 +16029,114 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x1f68f20a" + "signature": "0x4576b5db" }, { "constant": true, "inputs": [], - "name": "isInterestRateModel", + "name": "totalBorrows", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x2191f92a" + "signature": "0x47bd3718" }, { "constant": true, "inputs": [], - "name": "blocksPerYear", + "name": "comptroller", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xa385fb96" + "signature": "0x5fe3b567" }, { + "constant": false, "inputs": [ { - "name": "baseRate_", + "name": "reduceAmount", "type": "uint256" - }, + } + ], + "name": "_reduceReserves", + "outputs": [ { - "name": "multiplier_", + "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" - } - ], - "cREP": [ + "type": "function", + "signature": "0x601a0bf1" + }, { "constant": true, "inputs": [], - "name": "name", + "name": "initialExchangeRateMantissa", "outputs": [ { "name": "", - "type": "string" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x06fdde03" + "signature": "0x675d972c" }, { - "constant": false, - "inputs": [ - { - "name": "spender", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "accrualBlockNumber", + "outputs": [ { - "name": "amount", + "name": "", "type": "uint256" } ], - "name": "approve", + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x6c540baf" + }, + { + "constant": true, + "inputs": [], + "name": "underlying", "outputs": [ { "name": "", - "type": "bool" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x095ea7b3" + "signature": "0x6f307dc3" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "repayAmount", - "type": "uint256" + "name": "owner", + "type": "address" } ], - "name": "repayBorrow", + "name": "balanceOf", "outputs": [ { "name": "", @@ -15126,14 +16144,14 @@ } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x0e752702" + "signature": "0x70a08231" }, { - "constant": true, + "constant": false, "inputs": [], - "name": "reserveFactorMantissa", + "name": "totalBorrowsCurrent", "outputs": [ { "name": "", @@ -15141,19 +16159,19 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x173b9904" + "signature": "0x73acee98" }, { "constant": false, "inputs": [ { - "name": "account", - "type": "address" + "name": "redeemAmount", + "type": "uint256" } ], - "name": "borrowBalanceCurrent", + "name": "redeemUnderlying", "outputs": [ { "name": "", @@ -15163,12 +16181,12 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x17bfdfbc" + "signature": "0x852a12e3" }, { "constant": true, "inputs": [], - "name": "totalSupply", + "name": "totalReserves", "outputs": [ { "name": "", @@ -15178,94 +16196,121 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x18160ddd" + "signature": "0x8f840ddd" }, { "constant": true, "inputs": [], - "name": "exchangeRateStored", + "name": "symbol", "outputs": [ { "name": "", - "type": "uint256" + "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x182df0f5" + "signature": "0x95d89b41" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "src", + "name": "account", "type": "address" - }, + } + ], + "name": "borrowBalanceStored", + "outputs": [ { - "name": "dst", - "type": "address" - }, + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x95dd9193" + }, + { + "constant": false, + "inputs": [ { - "name": "amount", + "name": "mintAmount", "type": "uint256" } ], - "name": "transferFrom", + "name": "mint", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x23b872dd" + "signature": "0xa0712d68" + }, + { + "constant": false, + "inputs": [], + "name": "accrueInterest", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa6afed95" }, { "constant": false, "inputs": [ { - "name": "borrower", + "name": "dst", "type": "address" }, { - "name": "repayAmount", + "name": "amount", "type": "uint256" } ], - "name": "repayBorrowBehalf", + "name": "transfer", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x2608f818" + "signature": "0xa9059cbb" }, { "constant": true, "inputs": [], - "name": "pendingAdmin", + "name": "borrowIndex", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x26782247" + "signature": "0xaa5af0fd" }, { "constant": true, "inputs": [], - "name": "decimals", + "name": "supplyRatePerBlock", "outputs": [ { "name": "", @@ -15275,32 +16320,25 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x313ce567" + "signature": "0xae9d70b0" }, { "constant": false, "inputs": [ { - "name": "owner", + "name": "liquidator", "type": "address" - } - ], - "name": "balanceOfUnderlying", - "outputs": [ + }, { - "name": "", + "name": "borrower", + "type": "address" + }, + { + "name": "seizeTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x3af9e669" - }, - { - "constant": true, - "inputs": [], - "name": "getCash", + "name": "seize", "outputs": [ { "name": "", @@ -15308,19 +16346,19 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x3b1d21a2" + "signature": "0xb2a02ff1" }, { "constant": false, "inputs": [ { - "name": "newComptroller", + "name": "newPendingAdmin", "type": "address" } ], - "name": "_setComptroller", + "name": "_setPendingAdmin", "outputs": [ { "name": "", @@ -15330,12 +16368,12 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x4576b5db" + "signature": "0xb71d1a0c" }, { - "constant": true, + "constant": false, "inputs": [], - "name": "totalBorrows", + "name": "exchangeRateCurrent", "outputs": [ { "name": "", @@ -15343,34 +16381,51 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x47bd3718" + "signature": "0xbd6d894d" }, { "constant": true, - "inputs": [], - "name": "comptroller", + "inputs": [ + { + "name": "account", + "type": "address" + } + ], + "name": "getAccountSnapshot", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" + }, + { + "name": "", + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x5fe3b567" + "signature": "0xc37f68e2" }, { "constant": false, "inputs": [ { - "name": "reduceAmount", + "name": "borrowAmount", "type": "uint256" } ], - "name": "_reduceReserves", + "name": "borrow", "outputs": [ { "name": "", @@ -15380,12 +16435,17 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x601a0bf1" + "signature": "0xc5ebeaec" }, { - "constant": true, - "inputs": [], - "name": "initialExchangeRateMantissa", + "constant": false, + "inputs": [ + { + "name": "redeemTokens", + "type": "uint256" + } + ], + "name": "redeem", "outputs": [ { "name": "", @@ -15393,14 +16453,23 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x675d972c" + "signature": "0xdb006a75" }, { "constant": true, - "inputs": [], - "name": "accrualBlockNumber", + "inputs": [ + { + "name": "owner", + "type": "address" + }, + { + "name": "spender", + "type": "address" + } + ], + "name": "allowance", "outputs": [ { "name": "", @@ -15410,32 +16479,32 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x6c540baf" + "signature": "0xdd62ed3e" }, { - "constant": true, + "constant": false, "inputs": [], - "name": "underlying", + "name": "_acceptAdmin", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x6f307dc3" + "signature": "0xe9c714f2" }, { - "constant": true, + "constant": false, "inputs": [ { - "name": "owner", + "name": "newInterestRateModel", "type": "address" } ], - "name": "balanceOf", + "name": "_setInterestRateModel", "outputs": [ { "name": "", @@ -15443,34 +16512,42 @@ } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x70a08231" + "signature": "0xf2b3abbd" }, { - "constant": false, + "constant": true, "inputs": [], - "name": "totalBorrowsCurrent", + "name": "interestRateModel", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x73acee98" + "signature": "0xf3fdb15a" }, { "constant": false, "inputs": [ { - "name": "redeemAmount", + "name": "borrower", + "type": "address" + }, + { + "name": "repayAmount", "type": "uint256" + }, + { + "name": "cTokenCollateral", + "type": "address" } ], - "name": "redeemUnderlying", + "name": "liquidateBorrow", "outputs": [ { "name": "", @@ -15480,47 +16557,47 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x852a12e3" + "signature": "0xf5e3c462" }, { "constant": true, "inputs": [], - "name": "totalReserves", + "name": "admin", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x8f840ddd" + "signature": "0xf851a440" }, { "constant": true, "inputs": [], - "name": "symbol", + "name": "borrowRatePerBlock", "outputs": [ { "name": "", - "type": "string" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x95d89b41" + "signature": "0xf8f9da28" }, { - "constant": true, + "constant": false, "inputs": [ { - "name": "account", - "type": "address" + "name": "newReserveFactorMantissa", + "type": "uint256" } ], - "name": "borrowBalanceStored", + "name": "_setReserveFactor", "outputs": [ { "name": "", @@ -15528,325 +16605,490 @@ } ], "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xfca7820b" + }, + { + "constant": true, + "inputs": [], + "name": "isCToken", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x95dd9193" + "signature": "0xfe9c44ae" }, { - "constant": false, "inputs": [ { - "name": "mintAmount", + "name": "underlying_", + "type": "address" + }, + { + "name": "comptroller_", + "type": "address" + }, + { + "name": "interestRateModel_", + "type": "address" + }, + { + "name": "initialExchangeRateMantissa_", "type": "uint256" - } - ], - "name": "mint", - "outputs": [ + }, { - "name": "", + "name": "name_", + "type": "string" + }, + { + "name": "symbol_", + "type": "string" + }, + { + "name": "decimals_", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa0712d68" + "type": "constructor", + "signature": "constructor" }, { - "constant": false, - "inputs": [], - "name": "accrueInterest", - "outputs": [ + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "interestAccumulated", + "type": "uint256" + }, + { + "indexed": false, + "name": "borrowIndex", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", + "type": "uint256" + } + ], + "name": "AccrueInterest", + "type": "event", + "signature": "0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "minter", + "type": "address" + }, + { + "indexed": false, + "name": "mintAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "mintTokens", + "type": "uint256" + } + ], + "name": "Mint", + "type": "event", + "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "redeemer", + "type": "address" + }, + { + "indexed": false, + "name": "redeemAmount", + "type": "uint256" + }, { - "name": "", + "indexed": false, + "name": "redeemTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa6afed95" + "name": "Redeem", + "type": "event", + "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "dst", + "indexed": false, + "name": "borrower", "type": "address" }, { - "name": "amount", + "indexed": false, + "name": "borrowAmount", "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ + }, { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa9059cbb" - }, - { - "constant": true, - "inputs": [], - "name": "borrowIndex", - "outputs": [ + "indexed": false, + "name": "accountBorrows", + "type": "uint256" + }, { - "name": "", + "indexed": false, + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xaa5af0fd" + "name": "Borrow", + "type": "event", + "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" }, { - "constant": true, - "inputs": [], - "name": "supplyRatePerBlock", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "payer", + "type": "address" + }, + { + "indexed": false, + "name": "borrower", + "type": "address" + }, + { + "indexed": false, + "name": "repayAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "accountBorrows", + "type": "uint256" + }, + { + "indexed": false, + "name": "totalBorrows", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xae9d70b0" + "name": "RepayBorrow", + "type": "event", + "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, "name": "liquidator", "type": "address" }, { + "indexed": false, "name": "borrower", "type": "address" }, { - "name": "seizeTokens", + "indexed": false, + "name": "repayAmount", "type": "uint256" - } - ], - "name": "seize", - "outputs": [ + }, { - "name": "", + "indexed": false, + "name": "cTokenCollateral", + "type": "address" + }, + { + "indexed": false, + "name": "seizeTokens", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xb2a02ff1" + "name": "LiquidateBorrow", + "type": "event", + "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" }, { - "constant": false, + "anonymous": false, "inputs": [ { + "indexed": false, + "name": "oldPendingAdmin", + "type": "address" + }, + { + "indexed": false, "name": "newPendingAdmin", "type": "address" } ], - "name": "_setPendingAdmin", - "outputs": [ + "name": "NewPendingAdmin", + "type": "event", + "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "uint256" + "indexed": false, + "name": "oldAdmin", + "type": "address" + }, + { + "indexed": false, + "name": "newAdmin", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xb71d1a0c" + "name": "NewAdmin", + "type": "event", + "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" }, { - "constant": false, - "inputs": [], - "name": "exchangeRateCurrent", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "uint256" + "indexed": false, + "name": "oldComptroller", + "type": "address" + }, + { + "indexed": false, + "name": "newComptroller", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xbd6d894d" + "name": "NewComptroller", + "type": "event", + "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "name": "account", + "indexed": false, + "name": "oldInterestRateModel", + "type": "address" + }, + { + "indexed": false, + "name": "newInterestRateModel", "type": "address" } ], - "name": "getAccountSnapshot", - "outputs": [ + "name": "NewMarketInterestRateModel", + "type": "event", + "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "oldReserveFactorMantissa", "type": "uint256" }, { - "name": "", + "indexed": false, + "name": "newReserveFactorMantissa", "type": "uint256" + } + ], + "name": "NewReserveFactor", + "type": "event", + "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "admin", + "type": "address" }, { - "name": "", + "indexed": false, + "name": "reduceAmount", "type": "uint256" }, { - "name": "", + "indexed": false, + "name": "newTotalReserves", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xc37f68e2" + "name": "ReservesReduced", + "type": "event", + "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "borrowAmount", + "indexed": false, + "name": "error", "type": "uint256" - } - ], - "name": "borrow", - "outputs": [ + }, { - "name": "", + "indexed": false, + "name": "info", + "type": "uint256" + }, + { + "indexed": false, + "name": "detail", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xc5ebeaec" + "name": "Failure", + "type": "event", + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "redeemTokens", - "type": "uint256" - } - ], - "name": "redeem", - "outputs": [ + "indexed": true, + "name": "from", + "type": "address" + }, { - "name": "", + "indexed": true, + "name": "to", + "type": "address" + }, + { + "indexed": false, + "name": "amount", "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xdb006a75" + "name": "Transfer", + "type": "event", + "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" }, { - "constant": true, + "anonymous": false, "inputs": [ { + "indexed": true, "name": "owner", "type": "address" }, { + "indexed": true, "name": "spender", "type": "address" - } - ], - "name": "allowance", - "outputs": [ + }, { - "name": "", + "indexed": false, + "name": "amount", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xdd62ed3e" - }, + "name": "Approval", + "type": "event", + "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" + } + ], + "ComptrollerG2": [ { - "constant": false, + "constant": true, "inputs": [], - "name": "_acceptAdmin", + "name": "isComptroller", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xe9c714f2" + "signature": "0x007e3dd2" }, { "constant": false, "inputs": [ { - "name": "newInterestRateModel", + "name": "unitroller", "type": "address" } ], - "name": "_setInterestRateModel", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], + "name": "_become", + "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xf2b3abbd" + "signature": "0x1d504dc6" }, { - "constant": true, - "inputs": [], - "name": "interestRateModel", - "outputs": [ + "constant": false, + "inputs": [ { - "name": "", + "name": "cToken", + "type": "address" + }, + { + "name": "payer", + "type": "address" + }, + { + "name": "borrower", "type": "address" + }, + { + "name": "repayAmount", + "type": "uint256" + }, + { + "name": "borrowerIndex", + "type": "uint256" } ], + "name": "repayBorrowVerify", + "outputs": [], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xf3fdb15a" + "signature": "0x1ededc91" }, { "constant": false, "inputs": [ { - "name": "borrower", + "name": "cToken", "type": "address" }, { - "name": "repayAmount", - "type": "uint256" + "name": "payer", + "type": "address" }, { - "name": "cTokenCollateral", + "name": "borrower", "type": "address" + }, + { + "name": "repayAmount", + "type": "uint256" } ], - "name": "liquidateBorrow", + "name": "repayBorrowAllowed", "outputs": [ { "name": "", @@ -15856,12 +17098,12 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xf5e3c462" + "signature": "0x24008a62" }, { "constant": true, "inputs": [], - "name": "admin", + "name": "pauseGuardian", "outputs": [ { "name": "", @@ -15871,563 +17113,562 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf851a440" + "signature": "0x24a3d622" }, { "constant": true, "inputs": [], - "name": "borrowRatePerBlock", + "name": "pendingAdmin", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xf8f9da28" + "signature": "0x26782247" }, { "constant": false, "inputs": [ { - "name": "newReserveFactorMantissa", - "type": "uint256" + "name": "state", + "type": "bool" } ], - "name": "_setReserveFactor", + "name": "_setSeizePaused", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0xfca7820b" + "signature": "0x2d70db78" }, { - "constant": true, - "inputs": [], - "name": "isCToken", + "constant": false, + "inputs": [ + { + "name": "newCloseFactorMantissa", + "type": "uint256" + } + ], + "name": "_setCloseFactor", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0xfe9c44ae" + "signature": "0x317b0b77" }, { + "constant": false, "inputs": [ { - "name": "underlying_", - "type": "address" - }, - { - "name": "comptroller_", + "name": "cToken", "type": "address" }, { - "name": "interestRateModel_", + "name": "minter", "type": "address" }, { - "name": "initialExchangeRateMantissa_", + "name": "mintAmount", "type": "uint256" }, { - "name": "name_", - "type": "string" - }, - { - "name": "symbol_", - "type": "string" - }, - { - "name": "decimals_", + "name": "mintTokens", "type": "uint256" } ], + "name": "mintVerify", + "outputs": [], "payable": false, "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" + "type": "function", + "signature": "0x41c728b9" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "interestAccumulated", - "type": "uint256" - }, - { - "indexed": false, - "name": "borrowIndex", - "type": "uint256" + "name": "cTokenBorrowed", + "type": "address" }, { - "indexed": false, - "name": "totalBorrows", - "type": "uint256" - } - ], - "name": "AccrueInterest", - "type": "event", - "signature": "0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "minter", + "name": "cTokenCollateral", "type": "address" }, { - "indexed": false, - "name": "mintAmount", - "type": "uint256" + "name": "liquidator", + "type": "address" }, { - "indexed": false, - "name": "mintTokens", - "type": "uint256" - } - ], - "name": "Mint", - "type": "event", - "signature": "0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "redeemer", + "name": "borrower", "type": "address" }, { - "indexed": false, - "name": "redeemAmount", + "name": "repayAmount", "type": "uint256" }, { - "indexed": false, - "name": "redeemTokens", + "name": "seizeTokens", "type": "uint256" } ], - "name": "Redeem", - "type": "event", - "signature": "0xe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a929" + "name": "liquidateBorrowVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x47ef3b3b" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "borrower", - "type": "address" - }, - { - "indexed": false, - "name": "borrowAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "accountBorrows", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "liquidationIncentiveMantissa", + "outputs": [ { - "indexed": false, - "name": "totalBorrows", + "name": "", "type": "uint256" } ], - "name": "Borrow", - "type": "event", - "signature": "0x13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x4ada90af" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "payer", + "name": "cToken", "type": "address" }, { - "indexed": false, - "name": "borrower", + "name": "minter", "type": "address" }, { - "indexed": false, - "name": "repayAmount", + "name": "mintAmount", "type": "uint256" - }, + } + ], + "name": "mintAllowed", + "outputs": [ { - "indexed": false, - "name": "accountBorrows", + "name": "", "type": "uint256" - }, + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4ef4c3e1" + }, + { + "constant": false, + "inputs": [ { - "indexed": false, - "name": "totalBorrows", + "name": "newLiquidationIncentiveMantissa", "type": "uint256" } ], - "name": "RepayBorrow", - "type": "event", - "signature": "0x1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1" + "name": "_setLiquidationIncentive", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x4fd42e17" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "liquidator", + "name": "cToken", "type": "address" }, { - "indexed": false, - "name": "borrower", + "name": "redeemer", "type": "address" }, { - "indexed": false, - "name": "repayAmount", + "name": "redeemAmount", "type": "uint256" }, { - "indexed": false, - "name": "cTokenCollateral", - "type": "address" - }, - { - "indexed": false, - "name": "seizeTokens", + "name": "redeemTokens", "type": "uint256" } ], - "name": "LiquidateBorrow", - "type": "event", - "signature": "0x298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb52" + "name": "redeemVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x51dff989" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldPendingAdmin", + "name": "newOracle", "type": "address" - }, + } + ], + "name": "_setPriceOracle", + "outputs": [ { - "indexed": false, - "name": "newPendingAdmin", - "type": "address" + "name": "", + "type": "uint256" } ], - "name": "NewPendingAdmin", - "type": "event", - "signature": "0xca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x55ee1fe1" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldAdmin", - "type": "address" - }, + "name": "state", + "type": "bool" + } + ], + "name": "_setBorrowPaused", + "outputs": [ { - "indexed": false, - "name": "newAdmin", - "type": "address" + "name": "", + "type": "bool" } ], - "name": "NewAdmin", - "type": "event", - "signature": "0xf9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x56133fc8" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldComptroller", + "name": "cToken", "type": "address" }, { - "indexed": false, - "name": "newComptroller", + "name": "borrower", "type": "address" + }, + { + "name": "borrowAmount", + "type": "uint256" } ], - "name": "NewComptroller", - "type": "event", - "signature": "0x7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d" + "name": "borrowVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x5c778605" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldInterestRateModel", - "type": "address" - }, + "constant": true, + "inputs": [], + "name": "mintGuardianPaused", + "outputs": [ { - "indexed": false, - "name": "newInterestRateModel", - "type": "address" + "name": "", + "type": "bool" } ], - "name": "NewMarketInterestRateModel", - "type": "event", - "signature": "0xedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f926" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x5dce0515" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "name": "oldReserveFactorMantissa", + "name": "account", + "type": "address" + } + ], + "name": "getAccountLiquidity", + "outputs": [ + { + "name": "", "type": "uint256" }, { - "indexed": false, - "name": "newReserveFactorMantissa", + "name": "", + "type": "uint256" + }, + { + "name": "", "type": "uint256" } ], - "name": "NewReserveFactor", - "type": "event", - "signature": "0xaaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460" + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0x5ec88c79" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "admin", + "name": "newPauseGuardian", "type": "address" - }, - { - "indexed": false, - "name": "reduceAmount", - "type": "uint256" - }, + } + ], + "name": "_setPauseGuardian", + "outputs": [ { - "indexed": false, - "name": "newTotalReserves", + "name": "", "type": "uint256" } ], - "name": "ReservesReduced", - "type": "event", - "signature": "0x3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x5f5af1aa" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "error", - "type": "uint256" + "name": "cTokenBorrowed", + "type": "address" }, { - "indexed": false, - "name": "info", - "type": "uint256" + "name": "cTokenCollateral", + "type": "address" + }, + { + "name": "liquidator", + "type": "address" + }, + { + "name": "borrower", + "type": "address" }, { - "indexed": false, - "name": "detail", + "name": "repayAmount", + "type": "uint256" + } + ], + "name": "liquidateBorrowAllowed", + "outputs": [ + { + "name": "", "type": "uint256" } ], - "name": "Failure", - "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x5fc7e71e" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": true, - "name": "from", + "name": "cToken", "type": "address" }, { - "indexed": true, - "name": "to", + "name": "src", "type": "address" }, { - "indexed": false, - "name": "amount", + "name": "dst", + "type": "address" + }, + { + "name": "transferTokens", "type": "uint256" } ], - "name": "Transfer", - "type": "event", - "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" + "name": "transferVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6a56947e" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": true, - "name": "owner", + "name": "cTokenCollateral", "type": "address" }, { - "indexed": true, - "name": "spender", + "name": "cTokenBorrowed", "type": "address" }, { - "indexed": false, - "name": "amount", + "name": "liquidator", + "type": "address" + }, + { + "name": "borrower", + "type": "address" + }, + { + "name": "seizeTokens", "type": "uint256" } ], - "name": "Approval", - "type": "event", - "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" - } - ], - "ComptrollerG2": [ + "name": "seizeVerify", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x6d35bf91" + }, { "constant": true, "inputs": [], - "name": "isComptroller", + "name": "oracle", "outputs": [ { "name": "", - "type": "bool" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x007e3dd2" + "signature": "0x7dc0d1d0" }, { - "constant": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "transferGuardianPaused", + "outputs": [ { - "name": "unitroller", - "type": "address" + "name": "", + "type": "bool" } ], - "name": "_become", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x1d504dc6" + "signature": "0x87f76303" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { - "name": "payer", - "type": "address" - }, - { - "name": "borrower", + "name": "", "type": "address" - }, + } + ], + "name": "markets", + "outputs": [ { - "name": "repayAmount", - "type": "uint256" + "name": "isListed", + "type": "bool" }, { - "name": "borrowerIndex", + "name": "collateralFactorMantissa", "type": "uint256" } ], - "name": "repayBorrowVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x1ededc91" + "signature": "0x8e8f294b" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, + "name": "state", + "type": "bool" + } + ], + "name": "_setTransferPaused", + "outputs": [ { - "name": "payer", - "type": "address" - }, + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x8ebf6364" + }, + { + "constant": true, + "inputs": [ { - "name": "borrower", + "name": "account", "type": "address" }, { - "name": "repayAmount", - "type": "uint256" + "name": "cToken", + "type": "address" } ], - "name": "repayBorrowAllowed", + "name": "checkMembership", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x24008a62" + "signature": "0x929fe9a1" }, { "constant": true, "inputs": [], - "name": "pauseGuardian", + "name": "maxAssets", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x24a3d622" + "signature": "0x94b2294b" }, { "constant": true, "inputs": [], - "name": "pendingAdmin", + "name": "borrowGuardianPaused", "outputs": [ { "name": "", - "type": "address" + "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x26782247" + "signature": "0x9530f644" }, { "constant": false, @@ -16437,7 +17678,7 @@ "type": "bool" } ], - "name": "_setSeizePaused", + "name": "_setMintPaused", "outputs": [ { "name": "", @@ -16447,17 +17688,17 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x2d70db78" + "signature": "0x9845f280" }, { "constant": false, "inputs": [ { - "name": "newCloseFactorMantissa", - "type": "uint256" + "name": "cToken", + "type": "address" } ], - "name": "_setCloseFactor", + "name": "_supportMarket", "outputs": [ { "name": "", @@ -16467,84 +17708,57 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x317b0b77" + "signature": "0xa76b3fda" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { - "name": "minter", + "name": "account", "type": "address" - }, - { - "name": "mintAmount", - "type": "uint256" - }, + } + ], + "name": "getAssetsIn", + "outputs": [ { - "name": "mintTokens", - "type": "uint256" + "name": "", + "type": "address[]" } ], - "name": "mintVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x41c728b9" + "signature": "0xabfceffc" }, { - "constant": false, - "inputs": [ - { - "name": "cTokenBorrowed", - "type": "address" - }, - { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "liquidator", - "type": "address" - }, - { - "name": "borrower", - "type": "address" - }, - { - "name": "repayAmount", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "seizeGuardianPaused", + "outputs": [ { - "name": "seizeTokens", - "type": "uint256" + "name": "", + "type": "bool" } ], - "name": "liquidateBorrowVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x47ef3b3b" + "signature": "0xac0b0bb7" }, { "constant": true, "inputs": [], - "name": "liquidationIncentiveMantissa", + "name": "comptrollerImplementation", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x4ada90af" + "signature": "0xbb82aa5e" }, { "constant": false, @@ -16554,15 +17768,19 @@ "type": "address" }, { - "name": "minter", + "name": "src", "type": "address" }, { - "name": "mintAmount", + "name": "dst", + "type": "address" + }, + { + "name": "transferTokens", "type": "uint256" } ], - "name": "mintAllowed", + "name": "transferAllowed", "outputs": [ { "name": "", @@ -16572,64 +17790,85 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x4ef4c3e1" + "signature": "0xbdcdc258" }, { "constant": false, "inputs": [ { - "name": "newLiquidationIncentiveMantissa", - "type": "uint256" + "name": "cTokens", + "type": "address[]" } ], - "name": "_setLiquidationIncentive", + "name": "enterMarkets", "outputs": [ { "name": "", - "type": "uint256" + "type": "uint256[]" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x4fd42e17" + "signature": "0xc2998238" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "cToken", + "name": "cTokenBorrowed", "type": "address" }, { - "name": "redeemer", + "name": "cTokenCollateral", "type": "address" }, { - "name": "redeemAmount", + "name": "repayAmount", + "type": "uint256" + } + ], + "name": "liquidateCalculateSeizeTokens", + "outputs": [ + { + "name": "", "type": "uint256" }, { - "name": "redeemTokens", + "name": "", "type": "uint256" } ], - "name": "redeemVerify", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x51dff989" + "signature": "0xc488847b" }, { "constant": false, "inputs": [ { - "name": "newOracle", + "name": "cTokenCollateral", + "type": "address" + }, + { + "name": "cTokenBorrowed", + "type": "address" + }, + { + "name": "liquidator", "type": "address" + }, + { + "name": "borrower", + "type": "address" + }, + { + "name": "seizeTokens", + "type": "uint256" } ], - "name": "_setPriceOracle", + "name": "seizeAllowed", "outputs": [ { "name": "", @@ -16639,27 +17878,27 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x55ee1fe1" + "signature": "0xd02f7351" }, { "constant": false, "inputs": [ { - "name": "state", - "type": "bool" + "name": "newMaxAssets", + "type": "uint256" } ], - "name": "_setBorrowPaused", + "name": "_setMaxAssets", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x56133fc8" + "signature": "0xd9226ced" }, { "constant": false, @@ -16677,101 +17916,70 @@ "type": "uint256" } ], - "name": "borrowVerify", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x5c778605" - }, - { - "constant": true, - "inputs": [], - "name": "mintGuardianPaused", + "name": "borrowAllowed", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function", - "signature": "0x5dce0515" + "signature": "0xda3d454c" }, { "constant": true, "inputs": [ - { - "name": "account", - "type": "address" - } - ], - "name": "getAccountLiquidity", - "outputs": [ { "name": "", - "type": "uint256" + "type": "address" }, { "name": "", "type": "uint256" - }, + } + ], + "name": "accountAssets", + "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x5ec88c79" + "signature": "0xdce15449" }, { - "constant": false, - "inputs": [ - { - "name": "newPauseGuardian", - "type": "address" - } - ], - "name": "_setPauseGuardian", + "constant": true, + "inputs": [], + "name": "pendingComptrollerImplementation", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0x5f5af1aa" + "signature": "0xdcfbc0c7" }, { "constant": false, "inputs": [ { - "name": "cTokenBorrowed", - "type": "address" - }, - { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "liquidator", - "type": "address" - }, - { - "name": "borrower", + "name": "cToken", "type": "address" }, { - "name": "repayAmount", + "name": "newCollateralFactorMantissa", "type": "uint256" } ], - "name": "liquidateBorrowAllowed", + "name": "_setCollateralFactor", "outputs": [ { "name": "", @@ -16781,7 +17989,22 @@ "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x5fc7e71e" + "signature": "0xe4028eee" + }, + { + "constant": true, + "inputs": [], + "name": "closeFactorMantissa", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function", + "signature": "0xe8755446" }, { "constant": false, @@ -16791,60 +18014,50 @@ "type": "address" }, { - "name": "src", + "name": "redeemer", "type": "address" }, { - "name": "dst", - "type": "address" - }, + "name": "redeemTokens", + "type": "uint256" + } + ], + "name": "redeemAllowed", + "outputs": [ { - "name": "transferTokens", + "name": "", "type": "uint256" } ], - "name": "transferVerify", - "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x6a56947e" + "signature": "0xeabe7d91" }, { "constant": false, "inputs": [ { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "cTokenBorrowed", - "type": "address" - }, - { - "name": "liquidator", - "type": "address" - }, - { - "name": "borrower", + "name": "cTokenAddress", "type": "address" - }, + } + ], + "name": "exitMarket", + "outputs": [ { - "name": "seizeTokens", + "name": "", "type": "uint256" } ], - "name": "seizeVerify", - "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", - "signature": "0x6d35bf91" + "signature": "0xede4edd0" }, { "constant": true, "inputs": [], - "name": "oracle", + "name": "admin", "outputs": [ { "name": "", @@ -16854,286 +18067,335 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0x7dc0d1d0" + "signature": "0xf851a440" }, { - "constant": true, "inputs": [], - "name": "transferGuardianPaused", - "outputs": [ + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + }, + { + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool" + "indexed": false, + "name": "cToken", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x87f76303" + "name": "MarketListed", + "type": "event", + "signature": "0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "name": "", + "indexed": false, + "name": "cToken", + "type": "address" + }, + { + "indexed": false, + "name": "account", "type": "address" } ], - "name": "markets", - "outputs": [ + "name": "MarketEntered", + "type": "event", + "signature": "0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5" + }, + { + "anonymous": false, + "inputs": [ { - "name": "isListed", - "type": "bool" + "indexed": false, + "name": "cToken", + "type": "address" }, { - "name": "collateralFactorMantissa", - "type": "uint256" + "indexed": false, + "name": "account", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x8e8f294b" + "name": "MarketExited", + "type": "event", + "signature": "0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "state", - "type": "bool" - } - ], - "name": "_setTransferPaused", - "outputs": [ + "indexed": false, + "name": "oldCloseFactorMantissa", + "type": "uint256" + }, { - "name": "", - "type": "bool" + "indexed": false, + "name": "newCloseFactorMantissa", + "type": "uint256" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x8ebf6364" + "name": "NewCloseFactor", + "type": "event", + "signature": "0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "name": "account", + "indexed": false, + "name": "cToken", "type": "address" }, { - "name": "cToken", - "type": "address" - } - ], - "name": "checkMembership", - "outputs": [ + "indexed": false, + "name": "oldCollateralFactorMantissa", + "type": "uint256" + }, { - "name": "", - "type": "bool" + "indexed": false, + "name": "newCollateralFactorMantissa", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x929fe9a1" + "name": "NewCollateralFactor", + "type": "event", + "signature": "0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5" }, { - "constant": true, - "inputs": [], - "name": "maxAssets", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", + "indexed": false, + "name": "oldLiquidationIncentiveMantissa", + "type": "uint256" + }, + { + "indexed": false, + "name": "newLiquidationIncentiveMantissa", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x94b2294b" + "name": "NewLiquidationIncentive", + "type": "event", + "signature": "0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316" }, { - "constant": true, - "inputs": [], - "name": "borrowGuardianPaused", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool" + "indexed": false, + "name": "oldMaxAssets", + "type": "uint256" + }, + { + "indexed": false, + "name": "newMaxAssets", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x9530f644" + "name": "NewMaxAssets", + "type": "event", + "signature": "0x7093cf1eb653f749c3ff531d6df7f92764536a7fa0d13530cd26e070780c32ea" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "state", - "type": "bool" - } - ], - "name": "_setMintPaused", - "outputs": [ + "indexed": false, + "name": "oldPriceOracle", + "type": "address" + }, { - "name": "", - "type": "bool" + "indexed": false, + "name": "newPriceOracle", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0x9845f280" + "name": "NewPriceOracle", + "type": "event", + "signature": "0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "cToken", + "indexed": false, + "name": "oldPauseGuardian", "type": "address" - } - ], - "name": "_supportMarket", - "outputs": [ + }, { - "name": "", - "type": "uint256" + "indexed": false, + "name": "newPauseGuardian", + "type": "address" } ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function", - "signature": "0xa76b3fda" + "name": "NewPauseGuardian", + "type": "event", + "signature": "0x0613b6ee6a04f0d09f390e4d9318894b9f6ac7fd83897cd8d18896ba579c401e" }, { - "constant": true, + "anonymous": false, "inputs": [ { - "name": "account", - "type": "address" - } - ], - "name": "getAssetsIn", - "outputs": [ + "indexed": false, + "name": "action", + "type": "string" + }, { - "name": "", - "type": "address[]" + "indexed": false, + "name": "pauseState", + "type": "bool" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xabfceffc" + "name": "ActionPaused", + "type": "event", + "signature": "0xef159d9a32b2472e32b098f954f3ce62d232939f1c207070b584df1814de2de0" }, { - "constant": true, - "inputs": [], - "name": "seizeGuardianPaused", - "outputs": [ + "anonymous": false, + "inputs": [ { - "name": "", - "type": "bool" + "indexed": false, + "name": "error", + "type": "uint256" + }, + { + "indexed": false, + "name": "info", + "type": "uint256" + }, + { + "indexed": false, + "name": "detail", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xac0b0bb7" - }, + "name": "Failure", + "type": "event", + "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" + } + ], + "Base200bps_Slope222bps_Kink90_Jump40": [ { - "constant": true, - "inputs": [], - "name": "comptrollerImplementation", - "outputs": [ + "inputs": [ { - "name": "", - "type": "address" + "internalType": "uint256", + "name": "baseRatePerYear", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "multiplierPerYear", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "kink_", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "jump_", + "type": "uint256" } ], "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xbb82aa5e" + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" }, { - "constant": false, + "anonymous": false, "inputs": [ { - "name": "cToken", - "type": "address" + "indexed": false, + "internalType": "uint256", + "name": "baseRatePerBlock", + "type": "uint256" }, { - "name": "src", - "type": "address" + "indexed": false, + "internalType": "uint256", + "name": "multiplierPerBlock", + "type": "uint256" }, { - "name": "dst", - "type": "address" + "indexed": false, + "internalType": "uint256", + "name": "kink", + "type": "uint256" }, { - "name": "transferTokens", + "indexed": false, + "internalType": "uint256", + "name": "jump", "type": "uint256" } ], - "name": "transferAllowed", + "name": "NewInterestParams", + "type": "event", + "signature": "0x6960ab234c7ef4b0c9197100f5393cfcde7c453ac910a27bd2000aa1dd4c068d" + }, + { + "constant": true, + "inputs": [], + "name": "baseRatePerBlock", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xbdcdc258" + "signature": "0xf14039de" }, { - "constant": false, - "inputs": [ - { - "name": "cTokens", - "type": "address[]" - } - ], - "name": "enterMarkets", + "constant": true, + "inputs": [], + "name": "blocksPerYear", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "uint256[]" + "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xc2998238" + "signature": "0xa385fb96" }, { "constant": true, "inputs": [ { - "name": "cTokenBorrowed", - "type": "address" + "internalType": "uint256", + "name": "cash", + "type": "uint256" }, { - "name": "cTokenCollateral", - "type": "address" + "internalType": "uint256", + "name": "borrows", + "type": "uint256" }, { - "name": "repayAmount", + "internalType": "uint256", + "name": "reserves", "type": "uint256" } ], - "name": "liquidateCalculateSeizeTokens", + "name": "getBorrowRate", "outputs": [ { - "name": "", - "type": "uint256" - }, - { + "internalType": "uint256", "name": "", "type": "uint256" } @@ -17141,701 +18403,706 @@ "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xc488847b" + "signature": "0x15f24053" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "cTokenCollateral", - "type": "address" - }, - { - "name": "cTokenBorrowed", - "type": "address" + "internalType": "uint256", + "name": "cash", + "type": "uint256" }, { - "name": "liquidator", - "type": "address" + "internalType": "uint256", + "name": "borrows", + "type": "uint256" }, { - "name": "borrower", - "type": "address" + "internalType": "uint256", + "name": "reserves", + "type": "uint256" }, { - "name": "seizeTokens", + "internalType": "uint256", + "name": "reserveFactorMantissa", "type": "uint256" } ], - "name": "seizeAllowed", + "name": "getSupplyRate", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xd02f7351" + "signature": "0xb8168816" }, { - "constant": false, - "inputs": [ - { - "name": "newMaxAssets", - "type": "uint256" - } - ], - "name": "_setMaxAssets", + "constant": true, + "inputs": [], + "name": "isInterestRateModel", "outputs": [ { + "internalType": "bool", "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xd9226ced" + "signature": "0x2191f92a" }, { - "constant": false, - "inputs": [ - { - "name": "cToken", - "type": "address" - }, - { - "name": "borrower", - "type": "address" - }, - { - "name": "borrowAmount", - "type": "uint256" - } - ], - "name": "borrowAllowed", + "constant": true, + "inputs": [], + "name": "jump", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function", - "signature": "0xda3d454c" + "signature": "0x8f6c696b" }, { "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "uint256" - } - ], - "name": "accountAssets", + "inputs": [], + "name": "kink", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xdce15449" + "signature": "0xfd2da339" }, { "constant": true, "inputs": [], - "name": "pendingComptrollerImplementation", + "name": "multiplierPerBlock", "outputs": [ { + "internalType": "uint256", "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function", - "signature": "0xdcfbc0c7" + "signature": "0x8726bb89" }, { - "constant": false, + "constant": true, "inputs": [ { - "name": "cToken", - "type": "address" + "internalType": "uint256", + "name": "cash", + "type": "uint256" }, { - "name": "newCollateralFactorMantissa", + "internalType": "uint256", + "name": "borrows", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "reserves", "type": "uint256" } ], - "name": "_setCollateralFactor", + "name": "utilizationRate", "outputs": [ { + "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "pure", "type": "function", - "signature": "0xe4028eee" - }, + "signature": "0x6e71e2d8" + } + ], + "SAI": [ { "constant": true, "inputs": [], - "name": "closeFactorMantissa", + "name": "name", "outputs": [ { "name": "", - "type": "uint256" + "type": "bytes32" } ], "payable": false, "stateMutability": "view", - "type": "function", - "signature": "0xe8755446" + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "stop", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" }, { "constant": false, "inputs": [ { - "name": "cToken", - "type": "address" - }, - { - "name": "redeemer", + "name": "guy", "type": "address" }, { - "name": "redeemTokens", + "name": "wad", "type": "uint256" } ], - "name": "redeemAllowed", + "name": "approve", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", - "type": "function", - "signature": "0xeabe7d91" + "type": "function" }, { "constant": false, "inputs": [ { - "name": "cTokenAddress", + "name": "owner_", "type": "address" } ], - "name": "exitMarket", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], + "name": "setOwner", + "outputs": [], "payable": false, "stateMutability": "nonpayable", - "type": "function", - "signature": "0xede4edd0" + "type": "function" }, { "constant": true, "inputs": [], - "name": "admin", + "name": "totalSupply", "outputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], "payable": false, "stateMutability": "view", - "type": "function", - "signature": "0xf851a440" + "type": "function" }, { - "inputs": [], + "constant": false, + "inputs": [ + { + "name": "src", + "type": "address" + }, + { + "name": "dst", + "type": "address" + }, + { + "name": "wad", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], "payable": false, "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" + "type": "function" }, { - "anonymous": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "decimals", + "outputs": [ { - "indexed": false, - "name": "cToken", - "type": "address" + "name": "", + "type": "uint256" } ], - "name": "MarketListed", - "type": "event", - "signature": "0xcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f" + "payable": false, + "stateMutability": "view", + "type": "function" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "cToken", + "name": "guy", "type": "address" }, { - "indexed": false, - "name": "account", - "type": "address" + "name": "wad", + "type": "uint256" } ], - "name": "MarketEntered", - "type": "event", - "signature": "0x3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a5" + "name": "mint", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "cToken", - "type": "address" - }, - { - "indexed": false, - "name": "account", - "type": "address" + "name": "wad", + "type": "uint256" } ], - "name": "MarketExited", - "type": "event", - "signature": "0xe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d" + "name": "burn", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldCloseFactorMantissa", - "type": "uint256" - }, - { - "indexed": false, - "name": "newCloseFactorMantissa", - "type": "uint256" + "name": "name_", + "type": "bytes32" } ], - "name": "NewCloseFactor", - "type": "event", - "signature": "0x3b9670cf975d26958e754b57098eaa2ac914d8d2a31b83257997b9f346110fd9" + "name": "setName", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" }, { - "anonymous": false, + "constant": true, "inputs": [ { - "indexed": false, - "name": "cToken", + "name": "src", "type": "address" - }, - { - "indexed": false, - "name": "oldCollateralFactorMantissa", - "type": "uint256" - }, + } + ], + "name": "balanceOf", + "outputs": [ { - "indexed": false, - "name": "newCollateralFactorMantissa", + "name": "", "type": "uint256" } ], - "name": "NewCollateralFactor", - "type": "event", - "signature": "0x70483e6592cd5182d45ac970e05bc62cdcc90e9d8ef2c2dbe686cf383bcd7fc5" + "payable": false, + "stateMutability": "view", + "type": "function" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "oldLiquidationIncentiveMantissa", - "type": "uint256" - }, + "constant": true, + "inputs": [], + "name": "stopped", + "outputs": [ { - "indexed": false, - "name": "newLiquidationIncentiveMantissa", - "type": "uint256" + "name": "", + "type": "bool" } ], - "name": "NewLiquidationIncentive", - "type": "event", - "signature": "0xaeba5a6c40a8ac138134bff1aaa65debf25971188a58804bad717f82f0ec1316" + "payable": false, + "stateMutability": "view", + "type": "function" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldMaxAssets", - "type": "uint256" - }, - { - "indexed": false, - "name": "newMaxAssets", - "type": "uint256" + "name": "authority_", + "type": "address" } ], - "name": "NewMaxAssets", - "type": "event", - "signature": "0x7093cf1eb653f749c3ff531d6df7f92764536a7fa0d13530cd26e070780c32ea" + "name": "setAuthority", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" }, { - "anonymous": false, - "inputs": [ + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ { - "indexed": false, - "name": "oldPriceOracle", + "name": "", "type": "address" - }, + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "symbol", + "outputs": [ { - "indexed": false, - "name": "newPriceOracle", - "type": "address" + "name": "", + "type": "bytes32" } ], - "name": "NewPriceOracle", - "type": "event", - "signature": "0xd52b2b9b7e9ee655fcb95d2e5b9e0c9f69e7ef2b8e9d2d0ea78402d576d22e22" + "payable": false, + "stateMutability": "view", + "type": "function" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "oldPauseGuardian", + "name": "guy", "type": "address" }, { - "indexed": false, - "name": "newPauseGuardian", - "type": "address" + "name": "wad", + "type": "uint256" } ], - "name": "NewPauseGuardian", - "type": "event", - "signature": "0x0613b6ee6a04f0d09f390e4d9318894b9f6ac7fd83897cd8d18896ba579c401e" + "name": "burn", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "action", - "type": "string" - }, - { - "indexed": false, - "name": "pauseState", - "type": "bool" + "name": "wad", + "type": "uint256" } ], - "name": "ActionPaused", - "type": "event", - "signature": "0xef159d9a32b2472e32b098f954f3ce62d232939f1c207070b584df1814de2de0" + "name": "mint", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" }, { - "anonymous": false, + "constant": false, "inputs": [ { - "indexed": false, - "name": "error", - "type": "uint256" + "name": "dst", + "type": "address" }, { - "indexed": false, - "name": "info", + "name": "wad", "type": "uint256" - }, + } + ], + "name": "transfer", + "outputs": [ { - "indexed": false, - "name": "detail", - "type": "uint256" + "name": "", + "type": "bool" } ], - "name": "Failure", - "type": "event", - "signature": "0x45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa0" - } - ], - "Base200bps_Slope222bps_Kink90_Jump40": [ + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, { + "constant": false, "inputs": [ { - "internalType": "uint256", - "name": "baseRatePerYear", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "multiplierPerYear", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "kink_", - "type": "uint256" + "name": "dst", + "type": "address" }, { - "internalType": "uint256", - "name": "jump_", + "name": "wad", "type": "uint256" } ], + "name": "push", + "outputs": [], "payable": false, "stateMutability": "nonpayable", - "type": "constructor", - "signature": "constructor" + "type": "function" }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "baseRatePerBlock", - "type": "uint256" - }, + "constant": false, + "inputs": [ { - "indexed": false, - "internalType": "uint256", - "name": "multiplierPerBlock", - "type": "uint256" + "name": "src", + "type": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "kink", - "type": "uint256" + "name": "dst", + "type": "address" }, { - "indexed": false, - "internalType": "uint256", - "name": "jump", + "name": "wad", "type": "uint256" } ], - "name": "NewInterestParams", - "type": "event", - "signature": "0x6960ab234c7ef4b0c9197100f5393cfcde7c453ac910a27bd2000aa1dd4c068d" + "name": "move", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "start", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" }, { "constant": true, "inputs": [], - "name": "baseRatePerBlock", + "name": "authority", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, "stateMutability": "view", - "type": "function", - "signature": "0xf14039de" + "type": "function" }, { - "constant": true, - "inputs": [], - "name": "blocksPerYear", + "constant": false, + "inputs": [ + { + "name": "guy", + "type": "address" + } + ], + "name": "approve", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xa385fb96" + "stateMutability": "nonpayable", + "type": "function" }, { "constant": true, "inputs": [ { - "internalType": "uint256", - "name": "cash", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "borrows", - "type": "uint256" + "name": "src", + "type": "address" }, { - "internalType": "uint256", - "name": "reserves", - "type": "uint256" + "name": "guy", + "type": "address" } ], - "name": "getBorrowRate", + "name": "allowance", "outputs": [ { - "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", - "type": "function", - "signature": "0x15f24053" + "type": "function" }, { - "constant": true, + "constant": false, "inputs": [ { - "internalType": "uint256", - "name": "cash", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "borrows", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "reserves", - "type": "uint256" + "name": "src", + "type": "address" }, { - "internalType": "uint256", - "name": "reserveFactorMantissa", + "name": "wad", "type": "uint256" } ], - "name": "getSupplyRate", - "outputs": [ + "name": "pull", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "symbol_", + "type": "bytes32" } ], "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xb8168816" + "stateMutability": "nonpayable", + "type": "constructor" }, { - "constant": true, - "inputs": [], - "name": "isInterestRateModel", - "outputs": [ + "anonymous": false, + "inputs": [ { - "internalType": "bool", - "name": "", - "type": "bool" + "indexed": true, + "name": "guy", + "type": "address" + }, + { + "indexed": false, + "name": "wad", + "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x2191f92a" + "name": "Mint", + "type": "event" }, { - "constant": true, - "inputs": [], - "name": "jump", - "outputs": [ + "anonymous": false, + "inputs": [ { - "internalType": "uint256", - "name": "", + "indexed": true, + "name": "guy", + "type": "address" + }, + { + "indexed": false, + "name": "wad", "type": "uint256" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x8f6c696b" + "name": "Burn", + "type": "event" }, { - "constant": true, - "inputs": [], - "name": "kink", - "outputs": [ + "anonymous": false, + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "indexed": true, + "name": "authority", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0xfd2da339" + "name": "LogSetAuthority", + "type": "event" }, { - "constant": true, - "inputs": [], - "name": "multiplierPerBlock", - "outputs": [ + "anonymous": false, + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "indexed": true, + "name": "owner", + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function", - "signature": "0x8726bb89" + "name": "LogSetOwner", + "type": "event" }, { - "constant": true, + "anonymous": true, "inputs": [ { - "internalType": "uint256", - "name": "cash", - "type": "uint256" + "indexed": true, + "name": "sig", + "type": "bytes4" }, { - "internalType": "uint256", - "name": "borrows", + "indexed": true, + "name": "guy", + "type": "address" + }, + { + "indexed": true, + "name": "foo", + "type": "bytes32" + }, + { + "indexed": true, + "name": "bar", + "type": "bytes32" + }, + { + "indexed": false, + "name": "wad", "type": "uint256" }, { - "internalType": "uint256", - "name": "reserves", + "indexed": false, + "name": "fax", + "type": "bytes" + } + ], + "name": "LogNote", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "src", + "type": "address" + }, + { + "indexed": true, + "name": "guy", + "type": "address" + }, + { + "indexed": false, + "name": "wad", "type": "uint256" } ], - "name": "utilizationRate", - "outputs": [ + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ { - "internalType": "uint256", - "name": "", + "indexed": true, + "name": "src", + "type": "address" + }, + { + "indexed": true, + "name": "dst", + "type": "address" + }, + { + "indexed": false, + "name": "wad", "type": "uint256" } ], - "payable": false, - "stateMutability": "pure", - "type": "function", - "signature": "0x6e71e2d8" + "name": "Transfer", + "type": "event" } ], "MoneyMarket": [ diff --git a/networks/mainnet.json b/networks/mainnet.json index ba3209894..9573440b4 100644 --- a/networks/mainnet.json +++ b/networks/mainnet.json @@ -5,6 +5,7 @@ "PriceOracle": "0x02557a5e05defeffd4cae6d83ea3d173b272c904", "PriceOracleProxy": "0x1D8aEdc9E924730DD3f9641CDb4D1B92B848b4bd", "Maximillion": "0xf859A1AD94BcF445A406B892eF0d3082f4174088", + "GovernorAlpha": "0xc0dA01a04C3f3E0be433606045bB7017A7323E38", "cDAI": "0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643", "DAI": "0x6B175474E89094C44Da98b954EedeAC495271d0F", "StdComptroller": "0x62F18C451af964197341d3c86D27e98C41BB8fcC", @@ -12,16 +13,17 @@ "Unitroller": "0x3d9819210A31b4961b30EF54bE2aeD79B9c9Cd3B", "cDaiDelegate": "0xbB8bE4772fAA655C255309afc3c5207aA7b896Fd", "Comptroller": "0x3d9819210A31b4961b30EF54bE2aeD79B9c9Cd3B", + "Comp": "0xc00e94Cb662C3520282E6f5717214004A7f26888", "cBAT": "0x6C8c6b02E7b2BE14d4fA6022Dfd6d75921D90E4E", "DSR_Kink_9000bps_Jump_12000bps_AssumedRF_500bps": "0xec163986cC9a6593D6AdDcBFf5509430D348030F", "Base0bps_Slope2000bps": "0xc64C4cBA055eFA614CE01F4BAD8A9F519C4f8FaB", "BAT": "0x0D8775F648430679A709E98d2b0Cb6250d2887EF", "cErc20Delegate": "0x99ee778B9A6205657DD03B2B91415C8646d521ec", + "Base200bps_Slope1000bps": "0x0c3f8df27e1a00b47653fde878d68d35f00714c0", "cETH": "0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5", "Base500bps_Slope1200bps": "0xa1046abfc2598F48C44Fb320d281d3F3c0733c9a", "cSAI": "0xF5DCe57282A584D2746FaF1593d3121Fcac444dC", "Timelock": "0x6d903f6003cca6255D85CcA4D3B5E5146dC33925", - "Base200bps_Slope1000bps": "0x0c3f8df27e1a00b47653fde878d68d35f00714c0", "Base200bps_Slope3000bps": "0xBAE04CbF96391086dC643e842b517734E214D698", "cREP": "0x158079Ee67Fce2f58472A96584A73C7Ab9AC95c1", "ComptrollerG2": "0xf592eF673057a451c49c9433E278c5d59b56132c", @@ -38,19 +40,21 @@ "PriceOracle": 6747538, "PriceOracleProxy": 8983577, "Maximillion": 7710775, + "GovernorAlpha": 9601447, "cDAI": 8983575, "StdComptroller": 7710672, "Unitroller": 7710671, "cDaiDelegate": 9122579, + "Comp": 9601359, "cBAT": 7710735, "DSR_Kink_9000bps_Jump_12000bps_AssumedRF_500bps": 9122577, "Base0bps_Slope2000bps": 7710727, "cErc20Delegate": 8983559, + "Base200bps_Slope1000bps": 9321474, "cETH": 7710758, "Base500bps_Slope1200bps": 7710726, "cSAI": 7710752, "Timelock": 8722895, - "Base200bps_Slope1000bps": 9321474, "Base200bps_Slope3000bps": 7710728, "cREP": 7710755, "ComptrollerG2": 8722898, @@ -87,6 +91,20 @@ "description": "Standard Comptroller Impl" } }, + "Comp": { + "contract": "Comp", + "symbol": "COMP", + "name": "Compound Governance Token", + "decimals": 18, + "address": "0xc00e94Cb662C3520282E6f5717214004A7f26888" + }, + "Governor": { + "GovernorAlpha": { + "name": "GovernorAlpha", + "contract": "GovernorAlpha", + "address": "0xc0dA01a04C3f3E0be433606045bB7017A7323E38" + } + }, "Timelock": { "address": "0x6d903f6003cca6255D85CcA4D3B5E5146dC33925", "contract": "Timelock", @@ -96,19 +114,21 @@ "cUSDC": "0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b000000000000000000000000c64c4cba055efa614ce01f4bad8a9f519c4f8fab0000000000000000000000000000000000000000000000000000b5e620f4800000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000011436f6d706f756e642055534420436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056355534443000000000000000000000000000000000000000000000000000000", "PriceOracleProxy": "0x0000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b00000000000000000000000002557a5e05defeffd4cae6d83ea3d173b272c9040000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed500000000000000000000000039aa39c021dfbae8fac545936693ac917d5e7563000000000000000000000000f5dce57282a584d2746faf1593d3121fcac444dc0000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643", "Maximillion": "0x0000000000000000000000004ddc2d193948926d02f9b1fe9e1daa0718270ed5", + "GovernorAlpha": "0x0000000000000000000000006d903f6003cca6255d85cca4d3b5e5146dc33925000000000000000000000000c00e94cb662c3520282e6f5717214004a7f268880000000000000000000000008b8592e9570e96166336603a1b4bd1e8db20fa20", "cDAI": "0x0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b0000000000000000000000005562024784cc914069d67d89a28e3201bf7b57e7000000000000000000000000000000000000000000a56fa5b99019a5c80000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000080000000000000000000000006d903f6003cca6255d85cca4d3b5e5146dc3392500000000000000000000000099ee778b9a6205657dd03b2b91415c8646d521ec00000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000c436f6d706f756e642044616900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004634441490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000", "StdComptroller": "0x", "Unitroller": "0x", "cDaiDelegate": "0x", + "Comp": "0x0000000000000000000000001449e0687810bddd356ae6dd87789244a46d9adb", "cBAT": "0x0000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef0000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b000000000000000000000000bae04cbf96391086dc643e842b517734e214d698000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001e436f6d706f756e6420426173696320417474656e74696f6e20546f6b656e000000000000000000000000000000000000000000000000000000000000000000046342415400000000000000000000000000000000000000000000000000000000", "DSR_Kink_9000bps_Jump_12000bps_AssumedRF_500bps": "0x00000000000000000000000000000000000000000000000010a741a4627800000000000000000000000000000000000000000000000000000c7d713b49da0000000000000000000000000000197e90f9fad81970ba7976f33cbd77088e5d7cf700000000000000000000000019c0976f590d67707e62397c87829d896dc0f1f1", "Base0bps_Slope2000bps": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c68af0bb140000", "cErc20Delegate": "0x", + "Base200bps_Slope1000bps": "0x00000000000000000000000000000000000000000000000000470de4df820000000000000000000000000000000000000000000000000000016345785d8a0000", "cETH": "0x0000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b000000000000000000000000c64c4cba055efa614ce01f4bad8a9f519c4f8fab000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e436f6d706f756e6420457468657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046345544800000000000000000000000000000000000000000000000000000000", "Base500bps_Slope1200bps": "0x00000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000001aa535d3d0c0000", "cSAI": "0x00000000000000000000000089d24a6b4ccb1b6faa2625fe562bdd9a232603590000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b000000000000000000000000a1046abfc2598f48c44fb320d281d3f3c0733c9a000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c436f6d706f756e6420446169000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046344414900000000000000000000000000000000000000000000000000000000", "Timelock": "0x0000000000000000000000008b8592e9570e96166336603a1b4bd1e8db20fa20000000000000000000000000000000000000000000000000000000000002a300", - "Base200bps_Slope1000bps": "0x00000000000000000000000000000000000000000000000000470de4df820000000000000000000000000000000000000000000000000000016345785d8a0000", "Base200bps_Slope3000bps": "0x00000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000000000000000000000000000000429d069189e0000", "cREP": "0x0000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e8620000000000000000000000003d9819210a31b4961b30ef54be2aed79b9c9cd3b000000000000000000000000bae04cbf96391086dc643e842b517734e214d698000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e436f6d706f756e6420417567757200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046352455000000000000000000000000000000000000000000000000000000000", "ComptrollerG2": "0x", @@ -150,6 +170,13 @@ "contract": "ExistingToken", "address": "0x6B175474E89094C44Da98b954EedeAC495271d0F" }, + "COMP": { + "contract": "Comp", + "symbol": "COMP", + "name": "Compound Governance Token", + "decimals": 18, + "address": "0xc00e94Cb662C3520282E6f5717214004A7f26888" + }, "cBAT": { "name": "Compound Basic Attention Token", "symbol": "cBAT",