[ { "inputs": [ { "internalType": "contract ERC20", "name": "asset_", "type": "address" }, { "internalType": "contract ERC20", "name": "aToken_", "type": "address" }, { "internalType": "contract IAaveMining", "name": "rewards_", "type": "address" }, { "internalType": "contract ILendingPool", "name": "lendingPool_", "type": "address" }, { "internalType": "address", "name": "rewardToken_", "type": "address" }, { "internalType": "address", "name": "manager_", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "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": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "assets", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "shares", "type": "uint256" } ], "name": "Deposit", "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" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "assets", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "shares", "type": "uint256" } ], "name": "Withdraw", "type": "event" }, { "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "SwapInfo", "outputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "pair1", "type": "address" }, { "internalType": "address", "name": "pair2", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "aToken", "outputs": [ { "internalType": "contract ERC20", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "asset", "outputs": [ { "internalType": "contract ERC20", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "shares", "type": "uint256" } ], "name": "convertToAssets", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "assets", "type": "uint256" } ], "name": "convertToShares", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "assets", "type": "uint256" }, { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "deposit", "outputs": [ { "internalType": "uint256", "name": "shares", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getRewardsAccrued", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "harvest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "lendingPool", "outputs": [ { "internalType": "contract ILendingPool", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "manager", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "maxDeposit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "maxMint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "maxRedeem", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "maxWithdraw", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "mint", "outputs": [ { "internalType": "uint256", "name": "assets", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "assets", "type": "uint256" } ], "name": "previewDeposit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "shares", "type": "uint256" } ], "name": "previewMint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "shares", "type": "uint256" } ], "name": "previewRedeem", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "assets", "type": "uint256" } ], "name": "previewWithdraw", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "address", "name": "owner", "type": "address" } ], "name": "redeem", "outputs": [ { "internalType": "uint256", "name": "assets", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "rewardToken", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "rewards", "outputs": [ { "internalType": "contract IAaveMining", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "rewardsSet", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "pair1", "type": "address" }, { "internalType": "address", "name": "pair2", "type": "address" } ], "name": "setRoute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalAssets", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "assets", "type": "uint256" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "address", "name": "owner", "type": "address" } ], "name": "withdraw", "outputs": [ { "internalType": "uint256", "name": "shares", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" } ]
6101806040523480156200001257600080fd5b50604051620030fe380380620030fe8339810160408190526200003591620003ad565b85620000418162000142565b6200004c88620001d5565b8181846001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200008d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b3919062000441565b8251620000c8906000906020860190620002ee565b508151620000de906001906020850190620002ee565b5060ff81166080524660a052620000f462000252565b60c052505050506001600160a01b0391821660e05250948516610120529284166101405290831661016052600680549284166101005292166001600160a81b031990911617905550620006c2565b6060816001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000183573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001ad9190810190620004b6565b604051602001620001bf91906200056e565b6040516020818303038152906040529050919050565b6060816001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000216573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620002409190810190620004b6565b604051602001620001bf9190620005b5565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516200028691906200061f565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b828054620002fc90620005e3565b90600052602060002090601f0160209004810192826200032057600085556200036b565b82601f106200033b57805160ff19168380011785556200036b565b828001600101855582156200036b579182015b828111156200036b5782518255916020019190600101906200034e565b50620003799291506200037d565b5090565b5b808211156200037957600081556001016200037e565b6001600160a01b0381168114620003aa57600080fd5b50565b60008060008060008060c08789031215620003c757600080fd5b8651620003d48162000394565b6020880151909650620003e78162000394565b6040880151909550620003fa8162000394565b60608801519094506200040d8162000394565b6080880151909350620004208162000394565b60a0880151909250620004338162000394565b809150509295509295509295565b6000602082840312156200045457600080fd5b815160ff811681146200046657600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004a057818101518382015260200162000486565b83811115620004b0576000848401525b50505050565b600060208284031215620004c957600080fd5b81516001600160401b0380821115620004e157600080fd5b818401915084601f830112620004f657600080fd5b8151818111156200050b576200050b6200046d565b604051601f8201601f19908116603f011681019083821181831017156200053657620005366200046d565b816040528281528760208487010111156200055057600080fd5b6200056383602083016020880162000483565b979650505050505050565b7f455243343632362d577261707065642041617665207632200000000000000000815260008251620005a881601885016020870162000483565b9190910160180192915050565b637761322d60e01b815260008251620005d681600485016020870162000483565b9190910160040192915050565b600181811c90821680620005f857607f821691505b6020821081036200061957634e487b7160e01b600052602260045260246000fd5b50919050565b600080835481600182811c9150808316806200063c57607f831692505b602080841082036200065c57634e487b7160e01b86526022600452602486fd5b8180156200067357600181146200068557620006b4565b60ff19861689528489019650620006b4565b60008a81526020902060005b86811015620006ac5781548b82015290850190830162000691565b505084890196505b509498975050505050505050565b60805160a05160c05160e051610100516101205161014051610160516128f662000808600039600081816104b6015281816108fb015281816109ca015281816111e6015281816113b80152818161140b015281816114da015281816118970152818161196601528181611e440152611ebc01526000818161046801528181610aee0152610e8401526000818161048f0152818161060001528181610a94015281816115770152611a0301526000818161036e0152611ae80152600081816103120152818161099f01528181610b8301528181610c3d01528181610da001528181610de201528181610f1801528181610fb4015281816111af01528181611381015281816114af015281816115a20152818161193b01528181611a2e01528181611e220152611e80015260006108d5015260006108a5015260006102d101526128f66000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c806394bf804d11610130578063c63d75b6116100b8578063d905777e1161007c578063d905777e14610571578063dd62ed3e14610584578063ec42be77146105af578063ef8b30f7146105c2578063f7c618c1146105d557600080fd5b8063c63d75b61461034c578063c6e6f59214610524578063ce96cb7714610537578063cfa8586d1461054a578063d505accf1461055e57600080fd5b8063a59a9973116100ff578063a59a9973146104b1578063a9059cbb146104d8578063b3d7f6b9146104eb578063b460af94146104fe578063ba0876521461051157600080fd5b806394bf804d1461044857806395d89b411461045b5780639ec5a89414610463578063a0c1f15e1461048a57600080fd5b806338d52e0f116101be57806353104b8e1161018257806353104b8e146103a3578063609355b2146103ed5780636e553f65146103f557806370a08231146104085780637ecebe001461042857600080fd5b806338d52e0f1461030d578063402d267d1461034c5780634641257d1461035f578063481c6a75146103695780634cdad5061461039057600080fd5b80630a28a477116102055780630a28a4771461029d57806318160ddd146102b057806323b872dd146102b9578063313ce567146102cc5780633644e5151461030557600080fd5b806301e1d1141461023757806306fdde031461025257806307a2d13a14610267578063095ea7b31461027a575b600080fd5b61023f6105e8565b6040519081526020015b60405180910390f35b61025a610679565b6040516102499190612224565b61023f610275366004612237565b610707565b61028d610288366004612268565b610734565b6040519015158152602001610249565b61023f6102ab366004612237565b6107a1565b61023f60025481565b61028d6102c7366004612294565b6107c1565b6102f37f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610249565b61023f6108a1565b6103347f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610249565b61023f61035a3660046122d5565b6108f7565b610367610a70565b005b6103347f000000000000000000000000000000000000000000000000000000000000000081565b61023f61039e366004612237565b610e61565b6007546008546009546103c3926001600160a01b03908116928116911683565b604080516001600160a01b0394851681529284166020840152921691810191909152606001610249565b61023f610e6c565b61023f6104033660046122f2565b610ebb565b61023f6104163660046122d5565b60036020526000908152604090205481565b61023f6104363660046122d5565b60056020526000908152604090205481565b61023f6104563660046122f2565b610f9a565b61025a611036565b6103347f000000000000000000000000000000000000000000000000000000000000000081565b6103347f000000000000000000000000000000000000000000000000000000000000000081565b6103347f000000000000000000000000000000000000000000000000000000000000000081565b61028d6104e6366004612268565b611043565b61023f6104f9366004612237565b6110a9565b61023f61050c366004612322565b6110c8565b61023f61051f366004612322565b61125c565b61023f610532366004612237565b6113e7565b61023f6105453660046122d5565b611407565b60065461028d90600160a01b900460ff1681565b61036761056c366004612373565b61164f565b61023f61057f3660046122d5565b611893565b61023f6105923660046123e4565b600460209081526000928352604080842090915290825290205481565b6103676105bd366004612412565b611add565b61023f6105d0366004612237565b611bad565b600654610334906001600160a01b031681565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a08231906024015b602060405180830381865afa158015610650573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106749190612442565b905090565b600080546106869061245b565b80601f01602080910402602001604051908101604052809291908181526020018280546106b29061245b565b80156106ff5780601f106106d4576101008083540402835291602001916106ff565b820191906000526020600020905b8154815290600101906020018083116106e257829003601f168201915b505050505081565b600254600090801561072b5761072661071e6105e8565b849083611bb8565b61072d565b825b9392505050565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061078f9086815260200190565b60405180910390a35060015b92915050565b600254600090801561072b57610726816107b96105e8565b859190611bd7565b6001600160a01b0383166000908152600460209081526040808320338452909152812054600019811461081d576107f883826124ab565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906108459084906124ab565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716906000805160206128a18339815191529061088e9087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146108d257610674611c05565b507f000000000000000000000000000000000000000000000000000000000000000090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097b91906124c2565b1561098857506000919050565b6040516335ea6a7560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906335ea6a759060240161018060405180830381865afa158015610a14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3891906125bc565b51519050600160381b811615158015610a5957506702000000000000008116155b610a665750600092915050565b5060001992915050565b604080516001808252818301909252600091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610ac657610ac66126a9565b6001600160a01b039283166020918202929092010152604051633111e7b360e01b81526000917f00000000000000000000000000000000000000000000000000000000000000001690633111e7b390610b299085906000199030906004016126bf565b6020604051808303816000875af1158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190612442565b6006546007549192506001600160a01b03908116917f00000000000000000000000000000000000000000000000000000000000000008216911603610c695760085460405163095ea7b360e01b81526001600160a01b039182166004820152602481018490529082169063095ea7b3906044016020604051808303816000875af1158015610bfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2291906124c2565b50600654600854610c639184916001600160a01b03918216917f00000000000000000000000000000000000000000000000000000000000000009116611c9f565b50610dc9565b60085460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529082169063095ea7b3906044016020604051808303816000875af1158015610cbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce191906124c2565b50600654600754600854600092610d0a9286926001600160a01b03928316929182169116611c9f565b60075460095460405163095ea7b360e01b81526001600160a01b03918216600482015260248101849052929350169063095ea7b3906044016020604051808303816000875af1158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8591906124c2565b50600754600954610dc69183916001600160a01b03918216917f00000000000000000000000000000000000000000000000000000000000000009116611c9f565b50505b6040516370a0823160e01b8152306004820152610e5c907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190612442565b6000611e15565b505050565b600061079b82610707565b604051630cc7d40f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063198fa81e90602401610633565b6000610ec683611bad565b905080600003610f0b5760405162461bcd60e51b815260206004820152600b60248201526a5a45524f5f53484152455360a81b60448201526064015b60405180910390fd5b610f406001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333086611f1c565b610f4a8282611fa6565b60408051848152602081018390526001600160a01b0384169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a361079b8382611e15565b6000610fa5836110a9565b9050610fdc6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333084611f1c565b610fe68284611fa6565b60408051828152602081018590526001600160a01b0384169133917fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7910160405180910390a361079b8184611e15565b600180546106869061245b565b336000908152600360205260408120805483919083906110649084906124ab565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133906000805160206128a18339815191529061078f9086815260200190565b600254600090801561072b576107266110c06105e8565b849083611bd7565b60006110d3846107a1565b9050336001600160a01b03831614611143576001600160a01b038216600090815260046020908152604080832033845290915290205460001981146111415761111c82826124ab565b6001600160a01b03841660009081526004602090815260408083203384529091529020555b505b61114d8282612000565b60408051858152602081018390526001600160a01b03808516929086169133917ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db910160405180910390a4604051631a4ca37b60e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820186905284811660448301527f000000000000000000000000000000000000000000000000000000000000000016906369328dec906064015b6020604051808303816000875af1158015611230573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112549190612442565b509392505050565b6000336001600160a01b038316146112cc576001600160a01b038216600090815260046020908152604080832033845290915290205460001981146112ca576112a585826124ab565b6001600160a01b03841660009081526004602090815260408083203384529091529020555b505b6112d584610e61565b9050806000036113155760405162461bcd60e51b815260206004820152600b60248201526a5a45524f5f41535345545360a81b6044820152606401610f02565b61131f8285612000565b60408051828152602081018690526001600160a01b03808516929086169133917ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db910160405180910390a4604051631a4ca37b60e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820183905284811660448301527f000000000000000000000000000000000000000000000000000000000000000016906369328dec90606401611211565b600254600090801561072b57610726816113ff6105e8565b859190611bb8565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611467573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148b91906124c2565b1561149857506000919050565b6040516335ea6a7560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906335ea6a759060240161018060405180830381865afa158015611524573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154891906125bc565b51519050600160381b81166115605750600092915050565b6040516370a0823160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa1580156115eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160f9190612442565b6001600160a01b0385166000908152600360205260408120549192509061163590610707565b90508082106116445780611646565b815b95945050505050565b4284101561169f5760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610f02565b600060016116ab6108a1565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156117b7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906117ed5750876001600160a01b0316816001600160a01b0316145b61182a5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610f02565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191791906124c2565b1561192457506000919050565b6040516335ea6a7560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906335ea6a759060240161018060405180830381865afa1580156119b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d491906125bc565b51519050600160381b81166119ec5750600092915050565b6040516370a0823160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401602060405180830381865afa158015611a77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9b9190612442565b90506000611aa8826113e7565b6001600160a01b038616600090815260036020526040902054909150808210611ad15780611ad3565b815b9695505050505050565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611b415760405162461bcd60e51b815260206004820152600960248201526837b7363ca7bbb732b960b91b6044820152606401610f02565b604080516060810182526001600160a01b0394851680825293851660208201819052929094169301839052600780546001600160a01b0319908116909317905560088054831690911790556009805490911690911790556006805460ff60a01b1916600160a01b179055565b600061079b826113e7565b828202811515841585830485141716611bd057600080fd5b0492915050565b828202811515841585830485141716611bef57600080fd5b6001826001830304018115150290509392505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051611c379190612723565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b60008181611cad8686612062565b509050600080836001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015611cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1591906127d5565b5091509150876001600160a01b0316836001600160a01b031614611d3557905b600080611d558b856001600160701b0316856001600160701b0316612093565b9050896001600160a01b0316856001600160a01b031614611d7257905b611d866001600160a01b038b16878d6120e2565b6040805160008152602081019182905263022c0d9f60e01b9091526001600160a01b0387169063022c0d9f90611dc5908590859030906024810161281a565b600060405180830381600087803b158015611ddf57600080fd5b505af1158015611df3573d6000803e3d6000fd5b50505050818111611e045781611e06565b805b9b9a5050505050505050505050565b611e696001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000084612160565b60405163e8eda9df60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260248201849052306044830152600060648301527f0000000000000000000000000000000000000000000000000000000000000000169063e8eda9df90608401600060405180830381600087803b158015611f0057600080fd5b505af1158015611f14573d6000803e3d6000fd5b505050505050565b60006040516323b872dd60e01b81528460048201528360248201528260448201526020600060648360008a5af13d15601f3d1160016000511416171691505080611f9f5760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d19493d357d1905253115160621b6044820152606401610f02565b5050505050565b8060026000828254611fb89190612847565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481526000805160206128a183398151915291015b60405180910390a35050565b6001600160a01b038216600090815260036020526040812080548392906120289084906124ab565b90915550506002805482900390556040518181526000906001600160a01b038416906000805160206128a183398151915290602001611ff4565b600080826001600160a01b0316846001600160a01b031610612085578284612088565b83835b915091509250929050565b6000806120a2856103e561285f565b905060006120b0848361285f565b90506000826120c1876103e861285f565b6120cb9190612847565b90506120d7818361287e565b979650505050505050565b600060405163a9059cbb60e01b8152836004820152826024820152602060006044836000895af13d15601f3d116001600051141617169150508061215a5760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610f02565b50505050565b600060405163095ea7b360e01b8152836004820152826024820152602060006044836000895af13d15601f3d116001600051141617169150508061215a5760405162461bcd60e51b815260206004820152600e60248201526d1054141493d59157d1905253115160921b6044820152606401610f02565b6000815180845260005b818110156121fd576020818501810151868301820152016121e1565b8181111561220f576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061072d60208301846121d7565b60006020828403121561224957600080fd5b5035919050565b6001600160a01b038116811461226557600080fd5b50565b6000806040838503121561227b57600080fd5b823561228681612250565b946020939093013593505050565b6000806000606084860312156122a957600080fd5b83356122b481612250565b925060208401356122c481612250565b929592945050506040919091013590565b6000602082840312156122e757600080fd5b813561072d81612250565b6000806040838503121561230557600080fd5b82359150602083013561231781612250565b809150509250929050565b60008060006060848603121561233757600080fd5b83359250602084013561234981612250565b9150604084013561235981612250565b809150509250925092565b60ff8116811461226557600080fd5b600080600080600080600060e0888a03121561238e57600080fd5b873561239981612250565b965060208801356123a981612250565b9550604088013594506060880135935060808801356123c781612364565b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156123f757600080fd5b823561240281612250565b9150602083013561231781612250565b60008060006060848603121561242757600080fd5b833561243281612250565b9250602084013561234981612250565b60006020828403121561245457600080fd5b5051919050565b600181811c9082168061246f57607f821691505b60208210810361248f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156124bd576124bd612495565b500390565b6000602082840312156124d457600080fd5b8151801515811461072d57600080fd5b604051610180810167ffffffffffffffff8111828210171561251657634e487b7160e01b600052604160045260246000fd5b60405290565b60006020828403121561252e57600080fd5b6040516020810181811067ffffffffffffffff8211171561255f57634e487b7160e01b600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff8116811461258c57600080fd5b919050565b805164ffffffffff8116811461258c57600080fd5b805161258c81612250565b805161258c81612364565b600061018082840312156125cf57600080fd5b6125d76124e4565b6125e1848461251c565b81526125ef6020840161256c565b60208201526126006040840161256c565b60408201526126116060840161256c565b60608201526126226080840161256c565b608082015261263360a0840161256c565b60a082015261264460c08401612591565b60c082015261265560e084016125a6565b60e08201526101006126688185016125a6565b9082015261012061267a8482016125a6565b9082015261014061268c8482016125a6565b9082015261016061269e8482016125b1565b908201529392505050565b634e487b7160e01b600052603260045260246000fd5b606080825284519082018190526000906020906080840190828801845b828110156127015781516001600160a01b0316845292840192908401906001016126dc565b50505090830194909452506001600160a01b0391909116604090910152919050565b600080835481600182811c91508083168061273f57607f831692505b6020808410820361275e57634e487b7160e01b86526022600452602486fd5b8180156127725760018114612783576127b0565b60ff198616895284890196506127b0565b60008a81526020902060005b868110156127a85781548b82015290850190830161278f565b505084890196505b509498975050505050505050565b80516001600160701b038116811461258c57600080fd5b6000806000606084860312156127ea57600080fd5b6127f3846127be565b9250612801602085016127be565b9150604084015163ffffffff8116811461235957600080fd5b84815283602082015260018060a01b0383166040820152608060608201526000611ad360808301846121d7565b6000821982111561285a5761285a612495565b500190565b600081600019048311821515161561287957612879612495565b500290565b60008261289b57634e487b7160e01b600052601260045260246000fd5b50049056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209b8dc9c50c9318c21fbcf8e0daedfafed59c3117cfe68ed5687d4286c60add8a64736f6c634300080e0033000000000000000000000000d586e7f844cea2f87f50152665bcbc2c279d8d7000000000000000000000000047afa96cdc9fab46904a55a6ad4bf6660b53c38a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004f01aed16d97e3ab5ab2b501154dc9bb0f1a5a2c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cf0f6f0e6b7118850961415a080a844264be286a
0xa26469706673582212209b8dc9c50c9318c21fbcf8e0daedfafed59c3117cfe68ed5687d4286c60add8a64736f6c634300080e0033000000000000000000000000d586e7f844cea2f87f50152665bcbc2c279d8d7000000000000000000000000047afa96cdc9fab46904a55a6ad4bf6660b53c38a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004f01aed16d97e3ab5ab2b501154dc9bb0f1a5a2c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cf0f6f0e6b7118850961415a080a844264be286a
----Decoded View------------Arg [0] : asset_ (address): 0xc9C50C9318C21fbcF8E0dAedfafEd59c3117cfE6Arg [1] : aToken_ (address): 0x6F6C634300080E00330000000000000000000000Arg [2] : rewards_ (address): 0x2665Bcbc2C279d8D700000000000000000000000Arg [3] : lendingPool_ (address): 0xA6Ad4bf6660B53c38A0000000000000000000000Arg [4] : rewardToken_ (address): 0x0000000000000000000000000000000000000000Arg [5] : manager_ (address): 0x01154dc9Bb0f1a5A2c0000000000000000000000
----Encoded View------------Arg [0] : 0x000000000000000000000000c9c50c9318c21fbcf8e0daedfafed59c3117cfe6Arg [1] : 0x0000000000000000000000006f6c634300080e00330000000000000000000000Arg [2] : 0x0000000000000000000000002665bcbc2c279d8d700000000000000000000000Arg [3] : 0x000000000000000000000000a6ad4bf6660b53c38a0000000000000000000000Arg [4] : 0x0000000000000000000000000000000000000000000000000000000000000000Arg [5] : 0x00000000000000000000000001154dc9bb0f1a5a2c0000000000000000000000