[ { "inputs": [ { "internalType": "address", "name": "_gauge", "type": "address" }, { "internalType": "uint256", "name": "_lockDuration", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_who", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Claimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "lockTime", "type": "uint256" } ], "name": "DepositWithLock", "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": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "RewardsDeposit", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "claim", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "depositWithLock", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "gauge", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lockDuration", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lpToken", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "address", "name": "_rewardsToken", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "rewardsDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "rewardsToken", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "seeded", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_lockDuration", "type": "uint256" } ], "name": "setLockDuration", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "totalAirdrop", "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": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60c060405234801561001057600080fd5b50604051610d8a380380610d8a83398101604081905261002f9161012f565b610038336100c3565b600180556001600160a01b0382166080819052600382905560408051633a4b66f160e01b81529051633a4b66f1916004808201926020929091908290030181865afa15801561008b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100af919061015b565b6001600160a01b031660a0525061017d9050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b038116811461012a57600080fd5b919050565b6000806040838503121561014257600080fd5b61014b83610113565b9150602083015190509250929050565b60006020828403121561016d57600080fd5b61017682610113565b9392505050565b60805160a051610bcc6101be6000396000818161017a01528181610503015261056d0152600081816102050152818161058e01526105da0152610bcc6000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80635fcbd285116100975780638da5cb5b116100665780638da5cb5b146101ef578063a6f19c8414610200578063d1af0c7d14610227578063f2fde38b1461023a57600080fd5b80635fcbd2851461017557806370a08231146101b4578063715018a6146101d457806388a6b2d6146101dc57600080fd5b806340e20ada116100d357806340e20ada1461013c5780634e71d92d146101515780634eb665af146101595780635ce97dbb1461016c57600080fd5b806304554443146100fa57806318160ddd14610116578063334041a61461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360065481565b60045461012c9060ff1681565b604051901515815260200161010d565b61014f61014a366004610a65565b61024d565b005b61014f610331565b61014f610167366004610a8f565b610470565b61010360055481565b61019c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161010d565b6101036101c2366004610aa8565b60076020526000908152604090205481565b61014f610499565b61014f6101ea366004610a8f565b6104ab565b6000546001600160a01b031661019c565b61019c7f000000000000000000000000000000000000000000000000000000000000000081565b60025461019c906001600160a01b031681565b61014f610248366004610aa8565b61068e565b610255610704565b60045460ff16156102a55760405162461bcd60e51b8152602060048201526015602482015274131bd8dad11c9bdc081a5cc818dbdb5c1b195d1959605a1b60448201526064015b60405180910390fd5b600280546001600160a01b0319166001600160a01b0384169081179091556102cf9033308461075e565b80600560008282546102e19190610ae0565b90915550506004805460ff191660011790556040517fa1eace067394f58ab6914bd9595648c0ce9b1dc73272389bc2931920a81bdaab906103259083815260200190565b60405180910390a15050565b610339610856565b60045460ff1661038b5760405162461bcd60e51b815260206004820152601960248201527f4c6f636b44726f70206973206e6f7420636f6d706c6574656400000000000000604482015260640161029c565b336000908152600760205260409020546103d55760405162461bcd60e51b815260206004820152600b60248201526a04e6f204c6f636b44726f760ac1b604482015260640161029c565b600654600554336000908152600760205260408120549092916103f791610af8565b6104019190610b17565b3360008181526007602052604081205560025491925061042b916001600160a01b031690836108af565b60408051338152602081018390527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a910160405180910390a15061046e60018055565b565b610478610704565b6003546104889062093a80610ae0565b81101561049457600080fd5b600355565b6104a1610704565b61046e60006109af565b6104b3610856565b60045460ff16156104fe5760405162461bcd60e51b8152602060048201526015602482015274131bd8dad11c9bdc081a5cc818dbdb5c1b195d1959605a1b604482015260640161029c565b61052a7f000000000000000000000000000000000000000000000000000000000000000033308461075e565b3360009081526007602052604081208054839290610549908490610ae0565b9250508190555080600660008282546105629190610ae0565b909155506105b390507f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000836109ff565b600354604051631f933c2d60e01b81523360048201526024810183905260448101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690631f933c2d90606401600060405180830381600087803b15801561062657600080fd5b505af115801561063a573d6000803e3d6000fd5b50506003546040513393507f79b7cae85d525121083f316a0761cca559a9dbbea51fb58bf5e96cd05c37df90925061067a91858252602082015260400190565b60405180910390a261068b60018055565b50565b610696610704565b6001600160a01b0381166106fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161029c565b61068b816109af565b6000546001600160a01b0316331461046e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161029c565b6000846001600160a01b03163b1161077557600080fd5b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b17905291516000928392908816916107d99190610b39565b6000604051808303816000865af19150503d8060008114610816576040519150601f19603f3d011682016040523d82523d6000602084013e61081b565b606091505b50915091508180156108455750805115806108455750808060200190518101906108459190610b74565b61084e57600080fd5b505050505050565b6002600154036108a85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161029c565b6002600155565b6000836001600160a01b03163b116108c657600080fd5b6040516001600160a01b03838116602483015260448201839052600091829186169063a9059cbb60e01b906064015b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516109339190610b39565b6000604051808303816000865af19150503d8060008114610970576040519150601f19603f3d011682016040523d82523d6000602084013e610975565b606091505b509150915081801561099f57508051158061099f57508080602001905181019061099f9190610b74565b6109a857600080fd5b5050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000836001600160a01b03163b11610a1657600080fd5b6040516001600160a01b03838116602483015260448201839052600091829186169063095ea7b360e01b906064016108f5565b80356001600160a01b0381168114610a6057600080fd5b919050565b60008060408385031215610a7857600080fd5b610a8183610a49565b946020939093013593505050565b600060208284031215610aa157600080fd5b5035919050565b600060208284031215610aba57600080fd5b610ac382610a49565b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610af357610af3610aca565b500190565b6000816000190483118215151615610b1257610b12610aca565b500290565b600082610b3457634e487b7160e01b600052601260045260246000fd5b500490565b6000825160005b81811015610b5a5760208186018101518583015201610b40565b81811115610b69576000828501525b509190910192915050565b600060208284031215610b8657600080fd5b81518015158114610ac357600080fdfea2646970667358221220c3878cd291a6cc1a8fa9e67113050113438803bbe2eae3f84749b31defd289f164736f6c634300080d0033000000000000000000000000d06cfbb772980dc462186e1442835d555e52ecc40000000000000000000000000000000000000000000000000000000000375f00