[ { "inputs": [ { "internalType": "address", "name": "underlying_", "type": "address" }, { "internalType": "contract ComptrollerInterface", "name": "comptroller_", "type": "address" }, { "internalType": "contract InterestRateModel", "name": "interestRateModel_", "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_", "type": "address" }, { "internalType": "address", "name": "implementation_", "type": "address" }, { "internalType": "bytes", "name": "becomeImplementationData", "type": "bytes" } ], "payable": false, "stateMutability": "nonpayable", "type": "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", "type": "uint256" } ], "name": "AccrueInterest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "borrowAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "accountBorrows", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "totalBorrows", "type": "uint256" } ], "name": "Borrow", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "error", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "info", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "detail", "type": "uint256" } ], "name": "Failure", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "liquidator", "type": "address" }, { "indexed": false, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "repayAmount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "oTokenCollateral", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "seizeTokens", "type": "uint256" } ], "name": "LiquidateBorrow", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "minter", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "mintAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "mintTokens", "type": "uint256" } ], "name": "Mint", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" } ], "name": "NewAdmin", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "contract ComptrollerInterface", "name": "oldComptroller", "type": "address" }, { "indexed": false, "internalType": "contract ComptrollerInterface", "name": "newComptroller", "type": "address" } ], "name": "NewComptroller", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldImplementation", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newImplementation", "type": "address" } ], "name": "NewImplementation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "contract InterestRateModel", "name": "oldInterestRateModel", "type": "address" }, { "indexed": false, "internalType": "contract InterestRateModel", "name": "newInterestRateModel", "type": "address" } ], "name": "NewMarketInterestRateModel", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldPendingAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newPendingAdmin", "type": "address" } ], "name": "NewPendingAdmin", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "oldReserveFactorMantissa", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newReserveFactorMantissa", "type": "uint256" } ], "name": "NewReserveFactor", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "redeemer", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "redeemAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "redeemTokens", "type": "uint256" } ], "name": "Redeem", "type": "event" }, { "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" }, { "indexed": false, "internalType": "uint256", "name": "accountBorrows", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "totalBorrows", "type": "uint256" } ], "name": "RepayBorrow", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "benefactor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "addAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newTotalReserves", "type": "uint256" } ], "name": "ReservesAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "admin", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "reduceAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newTotalReserves", "type": "uint256" } ], "name": "ReservesReduced", "type": "event" }, { "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" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "constant": false, "inputs": [], "name": "_acceptAdmin", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "reduceAmount", "type": "uint256" } ], "name": "_reduceReserves", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "contract ComptrollerInterface", "name": "newComptroller", "type": "address" } ], "name": "_setComptroller", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "implementation_", "type": "address" }, { "internalType": "bool", "name": "allowResign", "type": "bool" }, { "internalType": "bytes", "name": "becomeImplementationData", "type": "bytes" } ], "name": "_setImplementation", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "contract InterestRateModel", "name": "newInterestRateModel", "type": "address" } ], "name": "_setInterestRateModel", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address payable", "name": "newPendingAdmin", "type": "address" } ], "name": "_setPendingAdmin", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "newReserveFactorMantissa", "type": "uint256" } ], "name": "_setReserveFactor", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accrualBlockNumber", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "accrueInterest", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "admin", "outputs": [ { "internalType": "address payable", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOfUnderlying", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "borrowAmount", "type": "uint256" } ], "name": "borrow", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "borrowBalanceCurrent", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "borrowBalanceStored", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "borrowIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "borrowRatePerBlock", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "comptroller", "outputs": [ { "internalType": "contract ComptrollerInterface", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "delegateToImplementation", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "delegateToViewImplementation", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "exchangeRateCurrent", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "exchangeRateStored", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "getAccountSnapshot", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getCash", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "implementation", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "interestRateModel", "outputs": [ { "internalType": "contract InterestRateModel", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isOToken", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "repayAmount", "type": "uint256" }, { "internalType": "contract OTokenInterface", "name": "oTokenCollateral", "type": "address" } ], "name": "liquidateBorrow", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "mintAmount", "type": "uint256" } ], "name": "mint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" } ], "name": "mints", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingAdmin", "outputs": [ { "internalType": "address payable", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "protocolSeizeShareMantissa", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "redeemTokens", "type": "uint256" } ], "name": "redeem", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "redeemAmount", "type": "uint256" } ], "name": "redeemUnderlying", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256[]", "name": "redeemTokenIds", "type": "uint256[]" } ], "name": "redeems", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "repayAmount", "type": "uint256" } ], "name": "repayBorrow", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "repayAmount", "type": "uint256" } ], "name": "repayBorrowBehalf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "reserveFactorMantissa", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "liquidator", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "seizeTokens", "type": "uint256" } ], "name": "seize", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "supplyRatePerBlock", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "contract EIP20NonStandardInterface", "name": "token", "type": "address" } ], "name": "sweepToken", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalBorrows", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "totalBorrowsCurrent", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "totalReserves", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "underlying", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "userTokens", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" } ]
60806040523480156200001157600080fd5b5060405162002a3638038062002a3683398181016040526101408110156200003857600080fd5b81516020830151604080850151606086015160808701805193519597949692959194919392820192846401000000008211156200007457600080fd5b9083019060208201858111156200008a57600080fd5b8251640100000000811182820188101715620000a557600080fd5b82525081516020918201929091019080838360005b83811015620000d4578181015183820152602001620000ba565b50505050905090810190601f168015620001025780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200012657600080fd5b9083019060208201858111156200013c57600080fd5b82516401000000008111828201881017156200015757600080fd5b82525081516020918201929091019080838360005b83811015620001865781810151838201526020016200016c565b50505050905090810190601f168015620001b45780820380516001836020036101000a031916815260200191505b50604081815260208301519083015160608401516080909401805192969195919284640100000000821115620001e957600080fd5b908301906020820185811115620001ff57600080fd5b82516401000000008111828201881017156200021a57600080fd5b82525081516020918201929091019080838360005b83811015620002495781810151838201526020016200022f565b50505050905090810190601f168015620002775780820380516001836020036101000a031916815260200191505b506040525050506001600160a01b038316620002da576040805162461bcd60e51b815260206004820152601560248201527f696e76616c69642061646d696e20616464726573730000000000000000000000604482015290519081900360640190fd5b6001600160a01b03821662000336576040805162461bcd60e51b815260206004820152601e60248201527f696e76616c696420696d706c656d656e746174696f6e20616464726573730000604482015290519081900360640190fd5b60038054610100600160a81b03191633610100021790556040516001600160a01b038b8116602483019081528b82166044840152908a1660648301526084820189905260ff861660e483015260e060a4830190815288516101048401528851620004ae9386938f938f938f938f938f938f938f9360c481019161012490910190602088019080838360005b83811015620003db578181015183820152602001620003c1565b50505050905090810190601f168015620004095780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156200043e57818101518382015260200162000424565b50505050905090810190601f1680156200046c5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116631a31d46560e01b17909152909a50620004fc1698505050505050505050565b50620004c6826000836001600160e01b03620005c316565b5050600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055506200080095505050505050565b606060006060846001600160a01b0316846040518082805190602001908083835b602083106200053e5780518252601f1990920191602091820191016200051d565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114620005a0576040519150601f19603f3d011682016040523d82523d6000602084013e620005a5565b606091505b50915091506000821415620005bb573d60208201fd5b949350505050565b6001600160a01b0383166200061f576040805162461bcd60e51b815260206004820152601e60248201527f696e76616c696420696d706c656d656e746174696f6e20616464726573730000604482015290519081900360640190fd5b60035461010090046001600160a01b031633146200066f5760405162461bcd60e51b815260040180806020018281038252603a815260200180620029fc603a913960400191505060405180910390fd5b8115620006b1576040805160048152602481019091526020810180516001600160e01b0390811663153ab50560e01b17909152620006af9190620007d616565b505b601380546001600160a01b038581166001600160a01b0319831617909255604051602060248201818152855160448401528551949093169362000787938693909283926064909201919085019080838360005b838110156200071e57818101518382015260200162000704565b50505050905090810190601f1680156200074c5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116630adccee560e31b17909152909350620007d616915050565b50601354604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b601354606090620007fa906001600160a01b0316836001600160e01b03620004fc16565b92915050565b6121ec80620008106000396000f3fe6080604052600436106103355760003560e01c806370a08231116101ab578063b71d1a0c116100f7578063f2b3abbd11610095578063f851a4401161006f578063f851a44014610eb3578063f8f9da2814610ec8578063f9f411d814610edd578063fca7820b14610f1657610335565b8063f2b3abbd14610e28578063f3fdb15a14610e5b578063f5e3c46214610e7057610335565b8063c5ebeaec116100d1578063c5ebeaec14610d84578063db006a7514610dae578063dd62ed3e14610dd8578063e9c714f214610e1357610335565b8063b71d1a0c14610ce3578063bd6d894d14610d16578063c37f68e214610d2b57610335565b806397de9d1111610164578063a9059cbb1161013e578063a9059cbb14610c3d578063aa5af0fd14610c76578063ae9d70b014610c8b578063b2a02ff114610ca057610335565b806397de9d1114610be9578063a0712d6814610bfe578063a6afed9514610c2857610335565b806370a0823114610b1a57806373acee9814610b4d578063852a12e314610b625780638f840ddd14610b8c57806395d89b4114610ba157806395dd919314610bb657610335565b8063313ce56711610285578063555bcc4011610223578063601a0bf1116101fd578063601a0bf114610ab15780636752e70214610adb5780636c540baf14610af05780636f307dc314610b0557610335565b8063555bcc40146109bf5780635c60da1b14610a875780635fe3b56714610a9c57610335565b80633d298dda1161025f5780633d298dda1461084b5780634487152f146108c65780634576b5db1461097757806347bd3718146109aa57610335565b8063313ce567146107d85780633af9e669146108035780633b1d21a21461083657610335565b806317bfdfbc116102f25780631be19560116102cc5780631be19560146106f657806323b872dd1461072b5780632608f8181461076e57806326782247146107a757610335565b806317bfdfbc1461069957806318160ddd146106cc578063182df0f5146106e157610335565b8063059d51d8146103f557806306fdde03146104c05780630933c1ed1461054a578063095ea7b3146105fb5780630e75270214610648578063173b990414610684575b34156103725760405162461bcd60e51b81526004018080602001828103825260388152602001806121806038913960400191505060405180910390fd5b6013546040516000916001600160a01b031690829036908083838082843760405192019450600093509091505080830381855af49150503d80600081146103d5576040519150601f19603f3d011682016040523d82523d6000602084013e6103da565b606091505b505090506040513d6000823e8180156103f1573d82f35b3d82fd5b34801561040157600080fd5b506104706004803603602081101561041857600080fd5b810190602081018135600160201b81111561043257600080fd5b82018360208201111561044457600080fd5b803590602001918460208302840111600160201b8311171561046557600080fd5b509092509050610f40565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156104ac578181015183820152602001610494565b505050509050019250505060405180910390f35b3480156104cc57600080fd5b506104d561105b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561050f5781810151838201526020016104f7565b50505050905090810190601f16801561053c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561055657600080fd5b506104d56004803603602081101561056d57600080fd5b810190602081018135600160201b81111561058757600080fd5b82018360208201111561059957600080fd5b803590602001918460018302840111600160201b831117156105ba57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506110e8945050505050565b34801561060757600080fd5b506106346004803603604081101561061e57600080fd5b506001600160a01b038135169060200135611107565b604080519115158252519081900360200190f35b34801561065457600080fd5b506106726004803603602081101561066b57600080fd5b503561117e565b60408051918252519081900360200190f35b34801561069057600080fd5b506106726111e5565b3480156106a557600080fd5b50610672600480360360208110156106bc57600080fd5b50356001600160a01b03166111eb565b3480156106d857600080fd5b5061067261123d565b3480156106ed57600080fd5b50610672611243565b34801561070257600080fd5b506107296004803603602081101561071957600080fd5b50356001600160a01b031661129a565b005b34801561073757600080fd5b506106346004803603606081101561074e57600080fd5b506001600160a01b038135811691602081013590911690604001356112e9565b34801561077a57600080fd5b506106726004803603604081101561079157600080fd5b506001600160a01b038135169060200135611369565b3480156107b357600080fd5b506107bc6113bf565b604080516001600160a01b039092168252519081900360200190f35b3480156107e457600080fd5b506107ed6113ce565b6040805160ff9092168252519081900360200190f35b34801561080f57600080fd5b506106726004803603602081101561082657600080fd5b50356001600160a01b03166113d7565b34801561084257600080fd5b50610672611429565b34801561085757600080fd5b506104706004803603602081101561086e57600080fd5b810190602081018135600160201b81111561088857600080fd5b82018360208201111561089a57600080fd5b803590602001918460208302840111600160201b831117156108bb57600080fd5b509092509050611461565b3480156108d257600080fd5b506104d5600480360360208110156108e957600080fd5b810190602081018135600160201b81111561090357600080fd5b82018360208201111561091557600080fd5b803590602001918460018302840111600160201b8311171561093657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506114d3945050505050565b34801561098357600080fd5b506106726004803603602081101561099a57600080fd5b50356001600160a01b03166116f2565b3480156109b657600080fd5b50610672611744565b3480156109cb57600080fd5b50610729600480360360608110156109e257600080fd5b6001600160a01b03823516916020810135151591810190606081016040820135600160201b811115610a1357600080fd5b820183602082011115610a2557600080fd5b803590602001918460018302840111600160201b83111715610a4657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061174a945050505050565b348015610a9357600080fd5b506107bc611948565b348015610aa857600080fd5b506107bc611957565b348015610abd57600080fd5b5061067260048036036020811015610ad457600080fd5b5035611966565b348015610ae757600080fd5b506106726119ad565b348015610afc57600080fd5b506106726119b8565b348015610b1157600080fd5b506107bc6119be565b348015610b2657600080fd5b5061067260048036036020811015610b3d57600080fd5b50356001600160a01b03166119cd565b348015610b5957600080fd5b50610672611a1f565b348015610b6e57600080fd5b5061067260048036036020811015610b8557600080fd5b5035611a57565b348015610b9857600080fd5b50610672611a9e565b348015610bad57600080fd5b506104d5611aa4565b348015610bc257600080fd5b5061067260048036036020811015610bd957600080fd5b50356001600160a01b0316611afc565b348015610bf557600080fd5b50610634611b4e565b348015610c0a57600080fd5b5061067260048036036020811015610c2157600080fd5b5035611b53565b348015610c3457600080fd5b50610672611b9a565b348015610c4957600080fd5b5061063460048036036040811015610c6057600080fd5b506001600160a01b038135169060200135611bd2565b348015610c8257600080fd5b50610672611c28565b348015610c9757600080fd5b50610672611c2e565b348015610cac57600080fd5b5061067260048036036060811015610cc357600080fd5b506001600160a01b03813581169160208101359091169060400135611c66565b348015610cef57600080fd5b5061067260048036036020811015610d0657600080fd5b50356001600160a01b0316611cc4565b348015610d2257600080fd5b50610672611d16565b348015610d3757600080fd5b50610d5e60048036036020811015610d4e57600080fd5b50356001600160a01b0316611d4e565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610d9057600080fd5b5061067260048036036020811015610da757600080fd5b5035611de0565b348015610dba57600080fd5b5061067260048036036020811015610dd157600080fd5b5035611e27565b348015610de457600080fd5b5061067260048036036040811015610dfb57600080fd5b506001600160a01b0381358116916020013516611e6e565b348015610e1f57600080fd5b50610672611ec8565b348015610e3457600080fd5b5061067260048036036020811015610e4b57600080fd5b50356001600160a01b0316611f00565b348015610e6757600080fd5b506107bc611f52565b348015610e7c57600080fd5b5061067260048036036060811015610e9357600080fd5b506001600160a01b03813581169160208101359160409091013516611f61565b348015610ebf57600080fd5b506107bc611fc2565b348015610ed457600080fd5b50610672611fd6565b348015610ee957600080fd5b5061067260048036036040811015610f0057600080fd5b506001600160a01b03813516906020013561200e565b348015610f2257600080fd5b5061067260048036036020811015610f3957600080fd5b503561203c565b606080610fb184846040516024018080602001828103825284848281815260200192506020028082843760008184015260408051601f19601f90930183169094018481039092018452525060208101805162b3aa3b60e31b6001600160e01b0390911617905293506110e892505050565b9050808060200190516020811015610fc857600080fd5b8101908080516040519392919084600160201b821115610fe757600080fd5b908301906020820185811115610ffc57600080fd5b82518660208202830111600160201b8211171561101857600080fd5b82525081516020918201928201910280838360005b8381101561104557818101518382015260200161102d565b5050505090500160405250505091505092915050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156110e05780601f106110b5576101008083540402835291602001916110e0565b820191906000526020600020905b8154815290600101906020018083116110c357829003601f168201915b505050505081565b601354606090611101906001600160a01b031683612083565b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905260009060609061115d906110e8565b905080806020019051602081101561117457600080fd5b5051949350505050565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663073a938160e11b1790526000906060906111c5906110e8565b90508080602001905160208110156111dc57600080fd5b50519392505050565b60085481565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166305eff7ef60e21b1790526000906060906111c5906110e8565b600d5481565b6040805160048152602481019091526020810180516001600160e01b031663182df0f560e01b17905260009060609061127b906114d3565b905080806020019051602081101561129257600080fd5b505191505090565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b031662df0cab60e51b1790526112e5906110e8565b5050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052600090606090611347906110e8565b905080806020019051602081101561135e57600080fd5b505195945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b03166304c11f0360e31b17905260009060609061115d906110e8565b6004546001600160a01b031681565b60035460ff1681565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b0316633af9e66960e01b1790526000906060906111c5906110e8565b6040805160048152602481019091526020810180516001600160e01b0316631d8e90d160e11b17905260009060609061127b906114d3565b606080610fb184846040516024018080602001828103825284848281815260200192506020028082843760008184015260408051601f19601f909301831690940184810390920184525250602081018051631e94c6ed60e11b6001600160e01b0390911617905293506110e892505050565b606060006060306001600160a01b0316846040516024018080602001828103825283818151815260200191508051906020019080838360005b8381101561152457818101518382015260200161150c565b50505050905090810190601f1680156115515780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b178152905182519295509350839250908083835b602083106115ac5780518252601f19909201916020918201910161158d565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d806000811461160c576040519150601f19603f3d011682016040523d82523d6000602084013e611611565b606091505b50915091506000821415611626573d60208201fd5b80806020019051602081101561163b57600080fd5b8101908080516040519392919084600160201b82111561165a57600080fd5b90830190602082018581111561166f57600080fd5b8251600160201b81118282018810171561168857600080fd5b82525081516020918201929091019080838360005b838110156116b557818101518382015260200161169d565b50505050905090810190601f1680156116e25780820380516001836020036101000a031916815260200191505b5060405250505092505050919050565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b0316634576b5db60e01b1790526000906060906111c5906110e8565b600b5481565b6001600160a01b0383166117a5576040805162461bcd60e51b815260206004820152601e60248201527f696e76616c696420696d706c656d656e746174696f6e20616464726573730000604482015290519081900360640190fd5b60035461010090046001600160a01b031633146117f35760405162461bcd60e51b815260040180806020018281038252603a815260200180612146603a913960400191505060405180910390fd5b811561182d576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b17905261182b906110e8565b505b601380546001600160a01b038581166001600160a01b031983161790925560405160206024820181815285516044840152855194909316936118f9938693909283926064909201919085019080838360005b8381101561189757818101518382015260200161187f565b50505050905090810190601f1680156118c45780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b17905292506110e8915050565b50601354604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b6013546001600160a01b031681565b6005546001600160a01b031681565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663601a0bf160e01b1790526000906060906111c5906110e8565b666379da05b6000081565b60095481565b6011546001600160a01b031681565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166370a0823160e01b1790526000906060906111c5906114d3565b6040805160048152602481019091526020810180516001600160e01b0316630e759dd360e31b17905260009060609061127b906110e8565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663852a12e360e01b1790526000906060906111c5906110e8565b600c5481565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156110e05780601f106110b5576101008083540402835291602001916110e0565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166395dd919360e01b1790526000906060906111c5906114d3565b600181565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663140e25ad60e31b1790526000906060906111c5906110e8565b6040805160048152602481019091526020810180516001600160e01b031663a6afed9560e01b17905260009060609061127b906110e8565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905260009060609061115d906110e8565b600a5481565b6040805160048152602481019091526020810180516001600160e01b0316630ae9d70b60e41b17905260009060609061127b906114d3565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b031663b2a02ff160e01b179052600090606090611347906110e8565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b0316632dc7468360e21b1790526000906060906111c5906110e8565b6040805160048152602481019091526020810180516001600160e01b031663bd6d894d60e01b17905260009060609061127b906110e8565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166361bfb47160e11b179052600090819081908190606090611da6906114d3565b9050808060200190516080811015611dbd57600080fd5b508051602082015160408301516060909301519199909850919650945092505050565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663317afabb60e21b1790526000906060906111c5906110e8565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663db006a7560e01b1790526000906060906111c5906110e8565b604080516001600160a01b03808516602483015283166044808301919091528251808303909101815260649091019091526020810180516001600160e01b0316636eb1769f60e11b17905260009060609061115d906114d3565b6040805160048152602481019091526020810180516001600160e01b03166374e38a7960e11b17905260009060609061127b906110e8565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b031663f2b3abbd60e01b1790526000906060906111c5906110e8565b6006546001600160a01b031681565b604080516001600160a01b0380861660248301526044820185905283166064808301919091528251808303909101815260849091019091526020810180516001600160e01b0316637af1e23160e11b179052600090606090611347906110e8565b60035461010090046001600160a01b031681565b6040805160048152602481019091526020810180516001600160e01b0316631f1f3b4560e31b17905260009060609061127b906114d3565b6012602052816000526040600020818154811061202757fe5b90600052602060002001600091509150505481565b6040805160248082018490528251808303909101815260449091019091526020810180516001600160e01b031663fca7820b60e01b1790526000906060906111c5906110e8565b606060006060846001600160a01b0316846040518082805190602001908083835b602083106120c35780518252601f1990920191602091820191016120a4565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114612123576040519150601f19603f3d011682016040523d82523d6000602084013e612128565b606091505b5091509150600082141561213d573d60208201fd5b94935050505056fe4f45726337323144656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696e4f45726337323144656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636ba265627a7a7231582030caa25271080bb2a8d3860d61890f0c4f50c6613064def7fcc76a18ffa4f9a064736f6c634300051000324f45726337323144656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d7573742062652061646d696e000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d000000000000000000000000cc53f8ff403824a350885a345ed4da649e0603690000000000000000000000005777ecea139e7e3d76c9ea2da694ddf9623db25a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ec7d0db303b09fe634efc27c8d2603b4ebf5e3b0000000000000000000000003e42529a25f6f3c414de9e0dd16924a69e4677ae00000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000094f6e79782042415943000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056f4241594300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000