923 txs
949 calls
constructor
constructor(address _token, bytes32 _merkleRoot)
functions
hasClaimed
viewfunction hasClaimed(address) view returns (bool)
merkleRoot
viewfunction merkleRoot() view returns (bytes32)
owner
viewfunction owner() view returns (address)
projectToken
viewfunction projectToken() view returns (address)
claim
nonpayablefunction claim(uint256 amount, bytes32[] merkleProof)
renounceOwnership
nonpayablefunction renounceOwnership()
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
withdrawUnclaimed
nonpayablefunction withdrawUnclaimed()
events
Claimed
event Claimed(address indexed account, uint256 amount)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
errors
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
creation bytecode
0x60c060405234801561001057600080fd5b5060405161089238038061089283398101604081905261002f916100c5565b338061005557604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61005e81610075565b506001600160a01b0390911660805260a0526100ff565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100d857600080fd5b82516001600160a01b03811681146100ef57600080fd5b6020939093015192949293505050565b60805160a05161075461013e600039600081816092015261024e01526000818160e9015281816102d80152818161036201526103f601526107546000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063715018a61161005b578063715018a61461012357806373b2e80e1461012b5780638da5cb5b1461015e578063f2fde38b1461016f57600080fd5b80632eb4a7ab1461008d5780632f52ebb7146100c757806333fc56d9146100dc5780634b60ce77146100e4575b600080fd5b6100b47f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b6100da6100d5366004610645565b610182565b005b6100da610342565b61010b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100be565b6100da610420565b61014e6101393660046106c6565b60016020526000908152604090205460ff1681565b60405190151581526020016100be565b6000546001600160a01b031661010b565b6100da61017d3660046106c6565b610434565b3360009081526001602052604090205460ff16156101d95760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4818db185a5b5959608a1b60448201526064015b60405180910390fd5b6040516bffffffffffffffffffffffff193360601b166020820152603481018490526000906054016040516020818303038152906040528051906020012090506102798383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f0000000000000000000000000000000000000000000000000000000000000000925085915061046f9050565b6102b55760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b60448201526064016101d0565b336000818152600160208190526040909120805460ff19169091179055610307907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169086610485565b60405184815233907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a9060200160405180910390a250505050565b61034a6104dc565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156103b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d591906106ef565b905061041d6103ec6000546001600160a01b031690565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083610485565b50565b6104286104dc565b6104326000610509565b565b61043c6104dc565b6001600160a01b03811661046657604051631e4fbdf760e01b8152600060048201526024016101d0565b61041d81610509565b60008261047c8584610559565b14949350505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526104d790849061059c565b505050565b6000546001600160a01b031633146104325760405163118cdaa760e01b81523360048201526024016101d0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081815b84518110156105945761058a8286838151811061057d5761057d610708565b6020026020010151610613565b915060010161055e565b509392505050565b600080602060008451602086016000885af1806105bf576040513d6000823e3d81fd5b50506000513d915081156105d75780600114156105e4565b6001600160a01b0384163b155b1561060d57604051635274afe760e01b81526001600160a01b03851660048201526024016101d0565b50505050565b600081831061062f57600082815260208490526040902061063e565b60008381526020839052604090205b9392505050565b60008060006040848603121561065a57600080fd5b83359250602084013567ffffffffffffffff81111561067857600080fd5b8401601f8101861361068957600080fd5b803567ffffffffffffffff8111156106a057600080fd5b8660208260051b84010111156106b557600080fd5b939660209190910195509293505050565b6000602082840312156106d857600080fd5b81356001600160a01b038116811461063e57600080fd5b60006020828403121561070157600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fdfea26469706673582212204427d0354e379f9132101b10c15a40dceaaf804b5aa497cd10c246277ae4adcc64736f6c634300081a003300000000000000000000000080b8a59856e435305dbdb8033978aa5ddf096c2551fe7a6b85328b8eecdc10ae77346c6b6a784cdeb78f19753ff0993b4416a2f7