312 txs
313 calls
constructor
constructor(address _token, bytes32 _merkleTreeRoot)
functions
claimableAmount
viewfunction claimableAmount(tuple position) view returns (uint256)
claimedAmount
viewfunction claimedAmount(address user) view returns (uint256 amount)
merkleTreeRoot
viewfunction merkleTreeRoot() view returns (bytes32)
owner
viewfunction owner() view returns (address)
token
viewfunction token() view returns (address)
claim
nonpayablefunction claim(bytes32[] proof, tuple vestingPosition)
renounceOwnership
nonpayablefunction renounceOwnership()
topUp
nonpayablefunction topUp(uint256 amount)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
withdraw
nonpayablefunction withdraw(uint256 amount)
events
FundsRemoved
event FundsRemoved(uint256 amount)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
VaultToppedUp
event VaultToppedUp(uint256 amount)
VestingClaimed
event VestingClaimed(address indexed user, uint256 amount)
errors
InsufficientVaultBalance
error InsufficientVaultBalance(uint256 required, uint256 available)
InvalidAddress
error InvalidAddress()
InvalidMerkleProof
error InvalidMerkleProof()
InvalidVestingReceiver
error InvalidVestingReceiver()
NoClaimableFunds
error NoClaimableFunds()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
creation bytecode
0x60c03461010f57601f610d7b38819003918201601f19168301916001600160401b0383118484101761011457808492604094855283398101031261010f5780516001600160a01b0381169182820361010f57602001519033156100f95760008054336001600160a01b0319821681178355604051959290916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3156100e85760805260a052610c50908161012b823960805181818160ad015281816104b1015281816107450152610799015260a05181818160ee01526104680152f35b63e6c4247b60e01b60005260046000fd5b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b634e487b7160e01b600052604160045260246000fdfe608080604052600436101561001357600080fd5b60003560e01c90816304e8690314610856575080632e1a7d4d1461077357806350017f3e146106b8578063715018a6146106525780638da5cb5b1461062b578063b9fe63ed1461027a578063c606cced146101c0578063f2fde38b14610111578063f716aee9146100d65763fc0c546a1461008d57600080fd5b346100d15760003660031901126100d15760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b600080fd5b346100d15760003660031901126100d15760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b346100d15760203660031901126100d1576001600160a01b0361013261088c565b61013a610991565b168015610191576001600160a01b036000548273ffffffffffffffffffffffffffffffffffffffff19821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b7f1e4fbdf700000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b346100d15760e03660031901126100d1576040516101dd816108a2565b600435815260243560208201526044356001600160a01b03811681036100d157604082015260643567ffffffffffffffff811681036100d157606082015260843567ffffffffffffffff811681036100d157608082015260a43567ffffffffffffffff811681036100d15760a082015260c43567ffffffffffffffff811681036100d157816102729160c0602094015261095f565b604051908152f35b346100d1576101003660031901126100d15760043567ffffffffffffffff81116100d157366023820112156100d157806004013567ffffffffffffffff81116100d1573660248260051b840101116100d15760e03660231901126100d1576040516102e4816108a2565b6024358152602081016044358152606435906001600160a01b03821682036100d1576040830191825260843567ffffffffffffffff811681036100d1576060840190815260a4359067ffffffffffffffff821682036100d1576080850191825260c4359067ffffffffffffffff821682036100d15760a0860191825260e4359167ffffffffffffffff831683036100d15760c087019283526001600160a01b038651163303610601577fffffffffffffffff00000000000000000000000000000000000000000000000092838092818a519851978a519651905192519451966040519960208b019b8c5260408b01526bffffffffffffffffffffffff199060601b1660608a015260c01b16607488015260c01b16607c86015260c01b16608484015260c01b16608c8201526074815261041e6094826108d4565b519020916000925b8484101561046657604060019160009060248760051b8a0101359081811060001461045a578252602052205b930192610426565b90825260205220610452565b7f0000000000000000000000000000000000000000000000000000000000000000036105d7576104959061095f565b9081156105ad576040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602082602481845afa80156105a1578492600091610565575b5092610559836001600160a01b039361053287836020987f9fe9b7be9d151c7a8b6de49a1312ff27a15096d0d1d12999af85fe4310e0b1259a10156108f6565b8484511660005260018652604060002061054d83825461092f565b905584845116906109d3565b511692604051908152a2005b9192506020823d602011610599575b81610581602093836108d4565b810103126105965750518391906105596104f2565b80fd5b3d9150610574565b6040513d6000823e3d90fd5b7f4fc4c16a0000000000000000000000000000000000000000000000000000000060005260046000fd5b7fb05e92fa0000000000000000000000000000000000000000000000000000000060005260046000fd5b7f0862a4470000000000000000000000000000000000000000000000000000000060005260046000fd5b346100d15760003660031901126100d15760206001600160a01b0360005416604051908152f35b346100d15760003660031901126100d15761066b610991565b60006001600160a01b03815473ffffffffffffffffffffffffffffffffffffffff1981168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100d15760203660031901126100d1577fce4c469058bae8bd06f4c1e2255f30ab6c4ef3a07bc3b49c304dc8ff2d1da3e7602060043561076a6040517f23b872dd00000000000000000000000000000000000000000000000000000000848201523360248201523060448201528260648201526064815261073b6084826108d4565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016610ba9565b604051908152a1005b346100d15760203660031901126100d15760043561078f610991565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166040516370a0823160e01b8152306004820152602081602481855afa9081156105a157600091610822575b7fb118ca2babba7ee83167f658e6d0fdbf20f4e30dbd0119aac17a1ec30ad9700060208561076a818761081b8883808210156108f6565b33906109d3565b906020823d60201161084e575b8161083c602093836108d4565b8101031261059657505161076a6107e4565b3d915061082f565b346100d15760203660031901126100d1576020906001600160a01b0361087a61088c565b16600052600182526040600020548152f35b600435906001600160a01b03821682036100d157565b60e0810190811067ffffffffffffffff8211176108be57604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff8211176108be57604052565b156108ff575050565b7fbce506710000000000000000000000000000000000000000000000000000000060005260045260245260446000fd5b9190820180921161093c57565b634e487b7160e01b600052601160045260246000fd5b9190820391821161093c57565b61098e906001600160a01b03604061097683610a6c565b92015116600052600160205260406000205490610952565b90565b6001600160a01b036000541633036109a557565b7f118cdaa7000000000000000000000000000000000000000000000000000000006000523360045260246000fd5b610a28926001600160a01b03604051937fa9059cbb000000000000000000000000000000000000000000000000000000006020860152166024840152604483015260448252610a236064836108d4565b610ba9565b565b9067ffffffffffffffff8091169116019067ffffffffffffffff821161093c57565b8115610a56570490565b634e487b7160e01b600052601260045260246000fd5b6060810167ffffffffffffffff815116804210610ba15767ffffffffffffffff610a9e60808501928284511690610a2a565b16421115610b9857610ac767ffffffffffffffff83511667ffffffffffffffff83511690610a2a565b9060a084019167ffffffffffffffff8351169060c086019167ffffffffffffffff835116029067ffffffffffffffff821691820361093c5767ffffffffffffffff91610b1291610a2a565b16421015610b905767ffffffffffffffff610b5581610b4e610b5e958280610b4260208d519d019c8d5190610952565b9a511691511690610a2a565b1642610952565b91511690610a4c565b92519183810293818504149015171561093c5761098e9267ffffffffffffffff610b8a92511690610a4c565b9061092f565b505050505190565b50506020015190565b505050600090565b906000602091828151910182855af1156105a1576000513d610c1157506001600160a01b0381163b155b610bda5750565b6001600160a01b03907f5274afe7000000000000000000000000000000000000000000000000000000006000521660045260246000fd5b60011415610bd356fea264697066735822122040ae5e9694ff198ea17024a9c63b48af83eb81380ef329dea744b38e545e2b3264736f6c634300081c0033000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913770d68645e185172eb2398f4751b6cc1f81e03dcd6d77d3e83ca16164213e825