[ { "inputs": [ { "internalType": "address", "name": "distributor", "type": "address" }, { "internalType": "address", "name": "underlyingAsset", "type": "address" }, { "internalType": "contract IAaveIncentivesController", "name": "incentivesController", "type": "address" }, { "internalType": "uint8", "name": "aTokenDecimals", "type": "uint8" }, { "internalType": "string", "name": "aTokenName", "type": "string" }, { "internalType": "string", "name": "aTokenSymbol", "type": "string" } ], "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": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "target", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Burn", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Mint", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Staked", "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": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Unstaked", "type": "event" }, { "inputs": [], "name": "DISTRIBUTOR_ADDRESS", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "UNDERLYING_ASSET_ADDRESS", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "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": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "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": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "genesisReceiver", "type": "address" }, { "internalType": "uint256", "name": "genesisAmount", "type": "uint256" } ], "name": "genesisMint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getIncentivesController", "outputs": [ { "internalType": "contract IAaveIncentivesController", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "stake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "receiverOfUnderlying", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "unstake", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60c06040526008805460ff60a01b191690553480156200001e57600080fd5b5060405162001b8d38038062001b8d833981810160405260c08110156200004457600080fd5b81516020830151604080850151606086015160808701805193519597949692959194919392820192846401000000008211156200008057600080fd5b9083019060208201858111156200009657600080fd5b8251640100000000811182820188101715620000b157600080fd5b82525081516020918201929091019080838360005b83811015620000e0578181015183820152602001620000c6565b50505050905090810190601f1680156200010e5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200013257600080fd5b9083019060208201858111156200014857600080fd5b82516401000000008111828201881017156200016357600080fd5b82525081516020918201929091019080838360005b838110156200019257818101518382015260200162000178565b50505050905090810190601f168015620001c05780820380516001836020036101000a031916815260200191505b506040525050508181846000620001dc620002b160201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35082516200023b906004906020860190620002b5565b50815162000251906005906020850190620002b5565b506006805460ff191660ff9290921691909117905550506001600755505050606092831b6001600160601b031990811660a0529190921b16608052600880546001600160a01b0319166001600160a01b0390921691909117905562000351565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002f857805160ff191683800117855562000328565b8280016001018555821562000328579182015b82811115620003285782518255916020019190600101906200030b565b50620003369291506200033a565b5090565b5b808211156200033657600081556001016200033b565b60805160601c60a05160601c61180862000385600039806107b752508061091b5280610a465280610adc52506118086000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80637fed67e5116100ad578063a9059cbb11610071578063a9059cbb14610369578063b16a19de14610395578063c2a672e01461039d578063dd62ed3e146103c9578063f2fde38b146103f75761012c565b80637fed67e5146103085780638da5cb5b1461031057806395d89b4114610318578063a457c2d714610320578063a694fc3a1461034c5761012c565b8063313ce567116100f4578063313ce5671461026c578063395093511461028a57806370a08231146102b6578063715018a6146102dc57806375d26413146102e45761012c565b806306fdde0314610131578063095ea7b3146101ae578063176e25e9146101ee57806318160ddd1461021c57806323b872dd14610236575b600080fd5b61013961041d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017357818101518382015260200161015b565b50505050905090810190601f1680156101a05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101da600480360360408110156101c457600080fd5b506001600160a01b0381351690602001356104b3565b604080519115158252519081900360200190f35b61021a6004803603604081101561020457600080fd5b506001600160a01b0381351690602001356104d0565b005b6102246105ba565b60408051918252519081900360200190f35b6101da6004803603606081101561024c57600080fd5b506001600160a01b038135811691602081013590911690604001356105c0565b610274610680565b6040805160ff9092168252519081900360200190f35b6101da600480360360408110156102a057600080fd5b506001600160a01b038135169060200135610689565b610224600480360360208110156102cc57600080fd5b50356001600160a01b03166106d7565b61021a6106f2565b6102ec6107a6565b604080516001600160a01b039092168252519081900360200190f35b6102ec6107b5565b6102ec6107d9565b6101396107e8565b6101da6004803603604081101561033657600080fd5b506001600160a01b038135169060200135610849565b61021a6004803603602081101561036257600080fd5b50356108b1565b6101da6004803603604081101561037f57600080fd5b506001600160a01b0381351690602001356109e7565b6102ec610a44565b61021a600480360360408110156103b357600080fd5b506001600160a01b038135169060200135610a68565b610224600480360360408110156103df57600080fd5b506001600160a01b0381358116916020013516610ba8565b61021a6004803603602081101561040d57600080fd5b50356001600160a01b0316610bd3565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104a95780601f1061047e576101008083540402835291602001916104a9565b820191906000526020600020905b81548152906001019060200180831161048c57829003601f168201915b5050505050905090565b60006104c76104c0610cdd565b8484610ce1565b50600192915050565b6104d8610cdd565b6000546001600160a01b0390811691161461053a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600854600160a01b900460ff1615610599576040805162461bcd60e51b815260206004820152601760248201527f46756e6374696f6e20616c72656164792063616c6c6564000000000000000000604482015290519081900360640190fd5b6105a38282610dcd565b50506008805460ff60a01b1916600160a01b179055565b60035490565b60006105cd848484610f29565b61063d846105d9610cdd565b610638856040518060600160405280602881526020016116d2602891396001600160a01b038a16600090815260026020526040812090610617610cdd565b6001600160a01b031681526020810191909152604001600020549190611187565b610ce1565b826001600160a01b0316846001600160a01b03166000805160206116fa833981519152846040518082815260200191505060405180910390a35060019392505050565b60065460ff1690565b60006104c7610696610cdd565b8461063885600260006106a7610cdd565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061121e565b6001600160a01b031660009081526001602052604090205490565b6106fa610cdd565b6000546001600160a01b0390811691161461075c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006107b061127f565b905090565b7f000000000000000000000000000000000000000000000000000000000000000090565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104a95780601f1061047e576101008083540402835291602001916104a9565b60006104c7610856610cdd565b84610638856040518060600160405280602581526020016117ae6025913960026000610880610cdd565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611187565b60026007541415610909576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026007556109436001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308461128e565b61094d3382610dcd565b60408051828152905133916000916000805160206116fa8339815191529181900360200190a360408051828152905133917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885919081900360200190a260408051828152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a2506001600755565b60006109fb6109f4610cdd565b8484610f29565b826001600160a01b0316610a0d610cdd565b6001600160a01b03166000805160206116fa833981519152846040518082815260200191505060405180910390a350600192915050565b7f000000000000000000000000000000000000000000000000000000000000000090565b60026007541415610ac0576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600755610acf33826112e8565b610b036001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168383611391565b60408051828152905160009133916000805160206116fa8339815191529181900360200190a36040805182815290516001600160a01b0384169133917fbac40739b0d4ca32fa2d82fc91630465ba3eddd1598da6fca393b26fb63b94539181900360200190a360408051828152905133917f0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75919081900360200190a250506001600755565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610bdb610cdd565b6000546001600160a01b03908116911614610c3d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610c825760405162461bcd60e51b81526004018080602001828103825260268152602001806116646026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b038316610d265760405162461bcd60e51b81526004018080602001828103825260248152602001806117606024913960400191505060405180910390fd5b6001600160a01b038216610d6b5760405162461bcd60e51b815260040180806020018281038252602281526020018061168a6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038216610e28576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610e34600083836113e3565b600354600090610e44908361121e565b60038190556001600160a01b03841660009081526001602052604081205491925090610e70908461121e565b6001600160a01b0385166000908152600160205260408120829055909150610e9661127f565b6001600160a01b031614610f2357610eac61127f565b6001600160a01b03166331873e2e8583856040518463ffffffff1660e01b815260040180846001600160a01b031681526020018381526020018281526020019350505050600060405180830381600087803b158015610f0a57600080fd5b505af1158015610f1e573d6000803e3d6000fd5b505050505b50505050565b6001600160a01b038316610f6e5760405162461bcd60e51b815260040180806020018281038252602581526020018061173b6025913960400191505060405180910390fd5b6001600160a01b038216610fb35760405162461bcd60e51b815260040180806020018281038252602381526020018061161f6023913960400191505060405180910390fd5b610fbe8383836113e3565b6000610ffd826040518060600160405280602681526020016116ac602691396001600160a01b0387166000908152600160205260409020549190611187565b6001600160a01b0380861660009081526001602052604080822084905591861681529081205491925090611031908461121e565b6001600160a01b038516600090815260016020526040812082905590915061105761127f565b6001600160a01b0316146111805760035461107061127f565b6001600160a01b03166331873e2e8785846040518463ffffffff1660e01b815260040180846001600160a01b031681526020018381526020018281526020019350505050600060405180830381600087803b1580156110ce57600080fd5b505af11580156110e2573d6000803e3d6000fd5b50505050846001600160a01b0316866001600160a01b03161461117e5761110761127f565b6001600160a01b03166331873e2e8684846040518463ffffffff1660e01b815260040180846001600160a01b031681526020018381526020018281526020019350505050600060405180830381600087803b15801561116557600080fd5b505af1158015611179573d6000803e3d6000fd5b505050505b505b5050505050565b600081848411156112165760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111db5781810151838201526020016111c3565b50505050905090810190601f1680156112085780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611278576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6008546001600160a01b031690565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610f239085906113e8565b6001600160a01b03821661132d5760405162461bcd60e51b815260040180806020018281038252602181526020018061171a6021913960400191505060405180910390fd5b611339826000836113e3565b60035460009061134990836115a0565b9050806003819055506000610e7083604051806060016040528060228152602001611642602291396001600160a01b0387166000908152600160205260409020549190611187565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113e39084906113e8565b505050565b6113fa826001600160a01b03166115e2565b61144b576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106114895780518252601f19909201916020918201910161146a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146114eb576040519150601f19603f3d011682016040523d82523d6000602084013e6114f0565b606091505b509150915081611547576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610f235780806020019051602081101561156357600080fd5b5051610f235760405162461bcd60e51b815260040180806020018281038252602a815260200180611784602a913960400191505060405180910390fd5b600061127883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611187565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061161657508115155b94935050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220194b0a21ede407305c328dd141287d19db3a01dc0eae1542deb875104bea762d64736f6c634300060c00330000000000000000000000004e8a4628468222c191589962b29304df5df4df9b0000000000000000000000005a7a792d70d1ea39708b9ad9531069e73795c6a4000000000000000000000000a57a8c5dd29bd9cc605027e62935db2cb5485378000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001b4e657265757320696e746572657374204c50204e58555344575854000000000000000000000000000000000000000000000000000000000000000000000000096e4e585553445758540000000000000000000000000000000000000000000000