Loading
[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_booster", "type": "address" } ], "name": "BoosterUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "EmergencyWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_rewardToken", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_reward", "type": "uint256" } ], "name": "RewardAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_user", "type": "address" }, { "indexed": true, "internalType": "address", "name": "_rewardToken", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_reward", "type": "uint256" } ], "name": "RewardPaid", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_rewardToken", "type": "address" } ], "name": "RewardTokenAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "previousAdminRole", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" } ], "name": "RoleAdminChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleGranted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "Staked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "Withdrawn", "type": "event" }, { "inputs": [], "name": "ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ZAP_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "booster", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_rewardToken", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "donate", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "duration", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "address", "name": "_rewardToken", "type": "address" } ], "name": "earned", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "emergencyWithdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "getReward", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getRewardTokens", "outputs": [ { "internalType": "address[]", "name": "", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRewardTokensLength", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleAdmin", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "getUserAmountTime", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasRole", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_booster", "type": "address" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "isRewardToken", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_rewardToken", "type": "address" } ], "name": "lastTimeRewardApplicable", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pid", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_rewardToken", "type": "address" }, { "internalType": "uint256", "name": "_rewards", "type": "uint256" } ], "name": "queueNewRewards", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "renounceRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "revokeRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_rewardToken", "type": "address" } ], "name": "rewardPerToken", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "rewardTokens", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "rewards", "outputs": [ { "internalType": "uint256", "name": "periodFinish", "type": "uint256" }, { "internalType": "uint256", "name": "rewardRate", "type": "uint256" }, { "internalType": "uint256", "name": "lastUpdateTime", "type": "uint256" }, { "internalType": "uint256", "name": "rewardPerTokenStored", "type": "uint256" }, { "internalType": "uint256", "name": "queuedRewards", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_pid", "type": "uint256" }, { "internalType": "address", "name": "_stakingToken", "type": "address" }, { "internalType": "address", "name": "_rewardToken", "type": "address" } ], "name": "setParams", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "stake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "stakeAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_for", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "stakeFor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "stakingToken", "outputs": [ { "internalType": "contract IERC20", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "userAmountTime", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "userLastTime", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" } ], "name": "userRewards", "outputs": [ { "internalType": "uint256", "name": "userRewardPerTokenPaid", "type": "uint256" }, { "internalType": "uint256", "name": "rewards", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "withdrawAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "withdrawFor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
60806040523480156200001157600080fd5b506200001c62000022565b620000e4565b600054610100900460ff16156200008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e2576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b612ca180620000f46000396000f3fe6080604052600436106102a45760003560e01c806386b8ea201161016e578063c4f59f9b116100cb578063db518db21161007f578063f106845411610064578063f10684541461082e578063f122977714610844578063f376d7981461086457600080fd5b8063db518db2146107fb578063e69d849d1461081b57600080fd5b8063d47c3bf8116100b0578063d47c3bf814610799578063d547741f146107c6578063db2e21bc146107e657600080fd5b8063c4f59f9b14610757578063c6def0761461077957600080fd5b8063a980356a11610122578063b65a7ea511610107578063b65a7ea5146106ea578063c00007b014610717578063c4d66de81461073757600080fd5b8063a980356a14610666578063b5fd73f8146106ba57600080fd5b806391d148541161015357806391d14854146105eb578063a217fddf14610631578063a694fc3a1461064657600080fd5b806386b8ea20146105b65780638dcb4061146105d657600080fd5b80632ee409081161021c57806370a08231116101d057806375b238fc116101b557806375b238fc1461054d5780637bb7bed114610581578063853828b6146105a157600080fd5b806370a08231146104df57806372f702f31461051557600080fd5b806336568abe1161020157806336568abe1461046b5780636343ef051461048b578063638634ee146104bf57600080fd5b80632ee409081461042b5780632f2ff15d1461044b57600080fd5b806318160ddd11610273578063248a9ca311610258578063248a9ca3146103c65780632521cdd8146103f65780632e1a7d4d1461040b57600080fd5b806318160ddd14610391578063211dc32d146103a657600080fd5b806301ffc9a7146102b057806304d0c2c5146102e55780630700037d146102fa5780630fb5a6b41461036c57600080fd5b366102ab57005b600080fd5b3480156102bc57600080fd5b506102d06102cb3660046128e8565b610884565b60405190151581526020015b60405180910390f35b6102f86102f336600461292e565b6108ed565b005b34801561030657600080fd5b50610344610315366004612958565b609d60205260009081526040902080546001820154600283015460038401546004909401549293919290919085565b604080519586526020860194909452928401919091526060830152608082015260a0016102dc565b34801561037857600080fd5b5061038362093a8081565b6040519081526020016102dc565b34801561039d57600080fd5b50609b54610383565b3480156103b257600080fd5b506103836103c1366004612973565b610b27565b3480156103d257600080fd5b506103836103e13660046129a6565b60009081526065602052604090206001015490565b34801561040257600080fd5b50609a54610383565b34801561041757600080fd5b506102f86104263660046129a6565b610bc6565b34801561043757600080fd5b506102f861044636600461292e565b610bd5565b34801561045757600080fd5b506102f86104663660046129bf565b610e1f565b34801561047757600080fd5b506102f86104863660046129bf565b610e44565b34801561049757600080fd5b506103837fda13a707f7a3840d073818a6eaebbe54a724320b9a9d77ff1a6dccba94a770b381565b3480156104cb57600080fd5b506103836104da366004612958565b610ed0565b3480156104eb57600080fd5b506103836104fa366004612958565b6001600160a01b03166000908152609c602052604090205490565b34801561052157600080fd5b50609954610535906001600160a01b031681565b6040516001600160a01b0390911681526020016102dc565b34801561055957600080fd5b506103837fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b34801561058d57600080fd5b5061053561059c3660046129a6565b610ef4565b3480156105ad57600080fd5b506102f8610f1e565b3480156105c257600080fd5b506103836105d1366004612958565b610f3c565b3480156105e257600080fd5b506102f8610fdc565b3480156105f757600080fd5b506102d06106063660046129bf565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561063d57600080fd5b50610383600081565b34801561065257600080fd5b506102f86106613660046129a6565b611069565b34801561067257600080fd5b506106a5610681366004612973565b609f6020908152600092835260408084209091529082529020805460019091015482565b604080519283526020830191909152016102dc565b3480156106c657600080fd5b506102d06106d5366004612958565b609e6020526000908152604090205460ff1681565b3480156106f657600080fd5b50610383610705366004612958565b60a06020526000908152604090205481565b34801561072357600080fd5b506102f8610732366004612958565b611246565b34801561074357600080fd5b506102f8610752366004612958565b61134d565b34801561076357600080fd5b5061076c61155c565b6040516102dc91906129e2565b34801561078557600080fd5b50609754610535906001600160a01b031681565b3480156107a557600080fd5b506103836107b4366004612958565b60a16020526000908152604090205481565b3480156107d257600080fd5b506102f86107e13660046129bf565b6115be565b3480156107f257600080fd5b506102f86115e3565b34801561080757600080fd5b506102f861081636600461292e565b611637565b6102f861082936600461292e565b61166d565b34801561083a57600080fd5b5061038360985481565b34801561085057600080fd5b5061038361085f366004612958565b6117fa565b34801561087057600080fd5b506102f861087f366004612a2f565b6118bc565b60006001600160e01b031982167f7965db0b0000000000000000000000000000000000000000000000000000000014806108e757507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561091781611a8a565b61092083611a94565b73efefefefefefefefefefefefefefefefefefefef6001600160a01b0384160361099d573482146109985760405162461bcd60e51b815260206004820152600e60248201527f696e76616c696420616d6f756e7400000000000000000000000000000000000060448201526064015b60405180910390fd5b610a00565b34156109eb5760405162461bcd60e51b815260206004820152601160248201527f696e76616c6964206d73672e76616c7565000000000000000000000000000000604482015260640161098f565b610a006001600160a01b038416333085611baa565b6001600160a01b0383166000908152609d60205260409020609b54600003610a3d57828160040154610a329190612a81565b600490910155505050565b610a46846117fa565b60038201556004810154610a5a9084612a81565b6000600483015581549093504210610a8357610a7962093a8084612a94565b6001820155610aca565b8054600090610a93904290612ab6565b90506000826001015482610aa79190612ac9565b9050610ab38186612a81565b9450610ac262093a8086612a94565b600184015550505b4260028201819055610ae09062093a8090612a81565b81556040518381526001600160a01b038516907fac24935fd910bc682b5ccb1a07b718cadf8cf2f6d1404c4f3ddc3662dae40e299060200160405180910390a2505b505050565b6001600160a01b038083166000908152609f60209081526040808320938516835292815282822083518085019094528054808552600190910154918401829052919291670de0b6b3a764000090610b7d866117fa565b610b879190612ab6565b6001600160a01b0387166000908152609c6020526040902054610baa9190612ac9565b610bb49190612a94565b610bbe9190612a81565b949350505050565b610bd233826001611c49565b50565b8160005b609a54811015610ca2576000609a8281548110610bf857610bf8612ae0565b60009182526020808320909101546001600160a01b0316808352609d9091526040909120909150610c28826117fa565b6003820155610c3682610ed0565b60028201556001600160a01b038085166000908152609f60209081526040808320938616835292905220610c6a8584610b27565b60018201556001600160a01b039092166000908152609d60205260409020600301549091555080610c9a81612af6565b915050610bd9565b50610cac81610f3c565b6001600160a01b03808316600090815260a1602090815260408083209490945560a09052919091204290558316610d255760405162461bcd60e51b815260206004820152600d60248201527f696e76616c6964205f666f722100000000000000000000000000000000000000604482015260640161098f565b60008211610d755760405162461bcd60e51b815260206004820152601b60248201527f526577617264506f6f6c203a2043616e6e6f74207374616b6520300000000000604482015260640161098f565b81609b54610d839190612a81565b609b556001600160a01b0383166000908152609c6020526040902054610daa908390612a81565b6001600160a01b038085166000908152609c6020526040902091909155609954610dd79116333085611baa565b826001600160a01b03167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d83604051610e1291815260200190565b60405180910390a2505050565b600082815260656020526040902060010154610e3a81611a8a565b610b228383611e47565b6001600160a01b0381163314610ec25760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c660000000000000000000000000000000000606482015260840161098f565b610ecc8282611ee9565b5050565b6001600160a01b0381166000908152609d60205260408120546108e7904290611f6c565b609a8181548110610f0457600080fd5b6000918252602090912001546001600160a01b0316905081565b336000818152609c6020526040902054610f3a91906001611c49565b565b6001600160a01b038116600090815260a06020526040812054808203610f655750600092915050565b6001600160a01b0383166000908152609c602052604081205490819003610fa4575050506001600160a01b0316600090815260a1602052604090205490565b80610faf8342612ab6565b610fb99190612ac9565b6001600160a01b038516600090815260a16020526040902054610bbe9190612a81565b6099546040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190612b0f565b9050610bd2815b3360005b609a54811015611136576000609a828154811061108c5761108c612ae0565b60009182526020808320909101546001600160a01b0316808352609d90915260409091209091506110bc826117fa565b60038201556110ca82610ed0565b60028201556001600160a01b038085166000908152609f602090815260408083209386168352929052206110fe8584610b27565b60018201556001600160a01b039092166000908152609d6020526040902060030154909155508061112e81612af6565b91505061106d565b5061114081610f3c565b6001600160a01b038216600090815260a1602090815260408083209390935560a0905220429055816111b45760405162461bcd60e51b815260206004820152601b60248201527f526577617264506f6f6c203a2043616e6e6f74207374616b6520300000000000604482015260640161098f565b81609b546111c29190612a81565b609b55336000908152609c60205260409020546111e0908390612a81565b336000818152609c602052604090209190915560995461120d916001600160a01b03909116903085611baa565b60405182815233907f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d9060200160405180910390a25050565b8060005b609a54811015611313576000609a828154811061126957611269612ae0565b60009182526020808320909101546001600160a01b0316808352609d9091526040909120909150611299826117fa565b60038201556112a782610ed0565b60028201556001600160a01b038085166000908152609f602090815260408083209386168352929052206112db8584610b27565b60018201556001600160a01b039092166000908152609d6020526040902060030154909155508061130b81612af6565b91505061124a565b5061131d81610f3c565b6001600160a01b038216600090815260a1602090815260408083209390935560a0905220429055610ecc82611f82565b600054610100900460ff161580801561136d5750600054600160ff909116105b806113875750303b158015611387575060005460ff166001145b6113f95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161098f565b6000805460ff19166001179055801561141c576000805461ff0019166101001790555b6001600160a01b0382166114725760405162461bcd60e51b815260206004820152601160248201527f696e76616c6964205f626f6f7374657221000000000000000000000000000000604482015260640161098f565b61147a61210d565b6097805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384161790556114ad600033611e47565b6114d77fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177583611e47565b6040516001600160a01b03831681527f5407aa361e671ca7c620332ea4c073198f8bc6125f2aceb4766a160b5afec1619060200160405180910390a18015610ecc576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b6060609a8054806020026020016040519081016040528092919081815260200182805480156115b457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611596575b5050505050905090565b6000828152606560205260409020600101546115d981611a8a565b610b228383611ee9565b336000818152609c6020526040812054916115ff918390611c49565b60405181815233907f2e39961a70a10f4d46383948095ac2752b3ee642a7c76aa827410aaff08c2e519060200160405180910390a250565b7fda13a707f7a3840d073818a6eaebbe54a724320b9a9d77ff1a6dccba94a770b361166181611a8a565b610b2283836001611c49565b6001600160a01b0382166000908152609e602052604090205460ff166116d55760405162461bcd60e51b815260206004820152600d60248201527f696e76616c696420746f6b656e00000000000000000000000000000000000000604482015260640161098f565b73efefefefefefefefefefefefefefefefefefefef6001600160a01b0383160361174d573481146117485760405162461bcd60e51b815260206004820152600e60248201527f696e76616c696420616d6f756e74000000000000000000000000000000000000604482015260640161098f565b6117b0565b341561179b5760405162461bcd60e51b815260206004820152601160248201527f696e76616c6964206d73672e76616c7565000000000000000000000000000000604482015260640161098f565b6117b06001600160a01b038316333084611baa565b6001600160a01b0382166000908152609d60205260409020600401546117d7908290612a81565b6001600160a01b039092166000908152609d602052604090206004019190915550565b6001600160a01b0381166000908152609d60209081526040808320815160a0810183528154815260018201549381019390935260028101549183019190915260038101546060830152600401546080820152609b54600003611860576060015192915050565b609b548160200151826040015161187686610ed0565b6118809190612ab6565b61188a9190612ac9565b61189c90670de0b6b3a7640000612ac9565b6118a69190612a94565b81606001516118b59190612a81565b9392505050565b3360009081527fffdfc1249c027f9191656349feb0761381bb32c9f557e01f419fd08754bf5a1b602052604090205460ff168061190357506097546001600160a01b031633145b61194f5760405162461bcd60e51b815260206004820152600560248201527f2161757468000000000000000000000000000000000000000000000000000000604482015260640161098f565b6099546001600160a01b0316156119a85760405162461bcd60e51b815260206004820152601c60248201527f706172616d73206861766520616c7265616479206265656e2073657400000000604482015260640161098f565b6001600160a01b0382166119fe5760405162461bcd60e51b815260206004820152601660248201527f696e76616c6964205f7374616b696e67546f6b656e2100000000000000000000604482015260640161098f565b6001600160a01b038116611a545760405162461bcd60e51b815260206004820152601560248201527f696e76616c6964205f726577617264546f6b656e210000000000000000000000604482015260640161098f565b60988390556099805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416179055610b2281611a94565b610bd2813361218a565b6001600160a01b038116611aea5760405162461bcd60e51b815260206004820152601560248201527f696e76616c6964205f726577617264546f6b656e210000000000000000000000604482015260640161098f565b6001600160a01b0381166000908152609e602052604090205460ff1615611b0e5750565b609a805460018082019092557f44da158ba27f9252712a74ff6a55c5d531f69609f1f6e7f17c4443a8e2089be401805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091556000818152609e6020526040808220805460ff1916909417909355915190917ff3e4c2c64e71e6ba2eaab9a599bced62f9eb91d2cda610bf41aa8c80ff2cf82691a250565b6040516001600160a01b0380851660248301528316604482015260648101829052611c439085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b03199093169290921790915261220a565b50505050565b8260005b609a54811015611d16576000609a8281548110611c6c57611c6c612ae0565b60009182526020808320909101546001600160a01b0316808352609d9091526040909120909150611c9c826117fa565b6003820155611caa82610ed0565b60028201556001600160a01b038085166000908152609f60209081526040808320938616835292905220611cde8584610b27565b60018201556001600160a01b039092166000908152609d60205260409020600301549091555080611d0e81612af6565b915050611c4d565b50611d2081610f3c565b6001600160a01b038216600090815260a1602090815260408083209390935560a090522042905582611d945760405162461bcd60e51b815260206004820152601e60248201527f526577617264506f6f6c203a2043616e6e6f7420776974686472617720300000604482015260640161098f565b82609b54611da29190612ab6565b609b556001600160a01b0384166000908152609c6020526040902054611dc9908490612ab6565b6001600160a01b038086166000908152609c6020526040902091909155609954611df5911685856122ef565b836001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d584604051611e3091815260200190565b60405180910390a28115611c4357611c4384611f82565b60008281526065602090815260408083206001600160a01b038516845290915290205460ff16610ecc5760008281526065602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611ea53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526065602090815260408083206001600160a01b038516845290915290205460ff1615610ecc5760008281526065602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000818310611f7b57816118b5565b5090919050565b60005b609a54811015610ecc576000609a8281548110611fa457611fa4612ae0565b60009182526020808320909101546001600160a01b038681168452609f835260408085209190921680855292529091206001015490915080156120f8576001600160a01b038085166000908152609f602090815260408083209386168084529390915281206001015561201890858361231f565b6097546098546040517f2dd0568300000000000000000000000000000000000000000000000000000000815260048101919091526001600160a01b03868116602483015284811660448301526064820184905290911690632dd0568390608401600060405180830381600087803b15801561209257600080fd5b505af11580156120a6573d6000803e3d6000fd5b50505050816001600160a01b0316846001600160a01b03167f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e836040516120ef91815260200190565b60405180910390a35b5050808061210590612af6565b915050611f85565b600054610100900460ff16610f3a5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161098f565b60008281526065602090815260408083206001600160a01b038516845290915290205460ff16610ecc576121c8816001600160a01b03166014612358565b6121d3836020612358565b6040516020016121e4929190612b4c565b60408051601f198184030181529082905262461bcd60e51b825261098f91600401612bcd565b600061225f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125399092919063ffffffff16565b805190915015610b22578080602001905181019061227d9190612c00565b610b225760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161098f565b6040516001600160a01b038316602482015260448101829052610b2290849063a9059cbb60e01b90606401611bf7565b73efefefefefefefefefefefefefefefefefefefef6001600160a01b0384160361234d57610b228282612548565b610b22838383612611565b60606000612367836002612ac9565b612372906002612a81565b67ffffffffffffffff81111561238a5761238a612c22565b6040519080825280601f01601f1916602001820160405280156123b4576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106123eb576123eb612ae0565b60200101906001600160f81b031916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061243657612436612ae0565b60200101906001600160f81b031916908160001a905350600061245a846002612ac9565b612465906001612a81565b90505b60018111156124ea577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106124a6576124a6612ae0565b1a60f81b8282815181106124bc576124bc612ae0565b60200101906001600160f81b031916908160001a90535060049490941c936124e381612c38565b9050612468565b5083156118b55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161098f565b6060610bbe8484600085612767565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612595576040519150601f19603f3d011682016040523d82523d6000602084013e61259a565b606091505b5050905080610b225760405162461bcd60e51b815260206004820152602260248201527f5472616e7366657248656c7065723a2053656e64696e6720455448206661696c60448201527f6564000000000000000000000000000000000000000000000000000000000000606482015260840161098f565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b17905291516000928392908716916126829190612c4f565b6000604051808303816000865af19150503d80600081146126bf576040519150601f19603f3d011682016040523d82523d6000602084013e6126c4565b606091505b50915091508180156126ee5750805115806126ee5750808060200190518101906126ee9190612c00565b6127605760405162461bcd60e51b815260206004820152602d60248201527f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260448201527f616e73666572206661696c656400000000000000000000000000000000000000606482015260840161098f565b5050505050565b6060824710156127df5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161098f565b6001600160a01b0385163b6128365760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161098f565b600080866001600160a01b031685876040516128529190612c4f565b60006040518083038185875af1925050503d806000811461288f576040519150601f19603f3d011682016040523d82523d6000602084013e612894565b606091505b50915091506128a48282866128af565b979650505050505050565b606083156128be5750816118b5565b8251156128ce5782518084602001fd5b8160405162461bcd60e51b815260040161098f9190612bcd565b6000602082840312156128fa57600080fd5b81356001600160e01b0319811681146118b557600080fd5b80356001600160a01b038116811461292957600080fd5b919050565b6000806040838503121561294157600080fd5b61294a83612912565b946020939093013593505050565b60006020828403121561296a57600080fd5b6118b582612912565b6000806040838503121561298657600080fd5b61298f83612912565b915061299d60208401612912565b90509250929050565b6000602082840312156129b857600080fd5b5035919050565b600080604083850312156129d257600080fd5b8235915061299d60208401612912565b6020808252825182820181905260009190848201906040850190845b81811015612a235783516001600160a01b0316835292840192918401916001016129fe565b50909695505050505050565b600080600060608486031215612a4457600080fd5b83359250612a5460208501612912565b9150612a6260408501612912565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b808201808211156108e7576108e7612a6b565b600082612ab157634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156108e7576108e7612a6b565b80820281158282048414176108e7576108e7612a6b565b634e487b7160e01b600052603260045260246000fd5b600060018201612b0857612b08612a6b565b5060010190565b600060208284031215612b2157600080fd5b5051919050565b60005b83811015612b43578181015183820152602001612b2b565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612b84816017850160208801612b28565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351612bc1816028840160208801612b28565b01602801949350505050565b6020815260008251806020840152612bec816040850160208701612b28565b601f01601f19169190910160400192915050565b600060208284031215612c1257600080fd5b815180151581146118b557600080fd5b634e487b7160e01b600052604160045260246000fd5b600081612c4757612c47612a6b565b506000190190565b60008251612c61818460208701612b28565b919091019291505056fea26469706673582212202aad63eed703d0843df55d4b2ce72a9a2c059507b5d2c3e095644b53f9fab95264736f6c63430008110033