146 txs
141 calls
constructor
constructor(address _token, address _alphaPass)
functions
alphaPass
viewfunction alphaPass() view returns (address)
claimableAmount
viewfunction claimableAmount(address user) view returns (uint256)
owner
viewfunction owner() view returns (address)
token
viewfunction token() view returns (address)
vestingPositions
viewfunction vestingPositions(address user) view returns (uint256 totalAmount, uint256 claimedAmount, uint256 initialReleaseAmount, address receiver, uint64 start, uint64 cliff, uint64 stepsCount, uint64 stepsInterval)
addVestingPositions
nonpayablefunction addVestingPositions(tuple[] newPositions)
claim
nonpayablefunction claim()
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)
VestingPositionsAdded
event VestingPositionsAdded()
errors
InitialReleaseGreaterThanTotalAmount
error InitialReleaseGreaterThanTotalAmount(uint256 positionIndex)
InsufficientVaultBalance
error InsufficientVaultBalance(uint256 required, uint256 available)
InvalidAddress
error InvalidAddress()
InvalidStepsCount
error InvalidStepsCount(uint256 positionIndex)
InvalidStepsInterval
error InvalidStepsInterval(uint256 positionIndex)
NoClaimableFunds
error NoClaimableFunds()
NoVestingSet
error NoVestingSet(address user)
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
ReceiverAlreadyPresent
error ReceiverAlreadyPresent(address receiver, uint256 positionIndex)
ReceiverNotSet
error ReceiverNotSet(uint256 positionIndex)
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
StartSetInThePast
error StartSetInThePast(uint256 positionIndex)
TotalAmountIsZero
error TotalAmountIsZero(uint256 positionIndex)
UserIneligible
error UserIneligible(address user)
creation bytecode
0x60a03461011957601f6110ae38819003918201601f19168301916001600160401b0383118484101761011e57808492604094855283398101031261011957610052602061004b83610134565b9201610134565b33156101035760008054336001600160a01b0319821681178355604051949290916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a36001600160a01b031680156100f257600180546001600160a01b0319169190911790556001600160a01b038116156100f257608052610f659081610149823960805181818161063e015261089c0152f35b63e6c4247b60e01b60005260046000fd5b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101195756fe6080604052600436101561001257600080fd5b60003560e01c80632e1a7d4d14610a795780634e71d92d1461085357806350017f3e146107b557806350deb68a1461071a578063715018a6146106b457806389885049146106895780638da5cb5b146106625780639153951e1461061e578063bf315df614610170578063f2fde38b146100c15763fc0c546a1461009557600080fd5b346100bc5760003660031901126100bc5760206001600160a01b0360015416604051908152f35b600080fd5b346100bc5760203660031901126100bc576001600160a01b036100e2610b3e565b6100ea610cab565b168015610141576001600160a01b036000548273ffffffffffffffffffffffffffffffffffffffff19821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b7f1e4fbdf700000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b346100bc5760203660031901126100bc5760043567ffffffffffffffff81116100bc57366023820112156100bc57806004013567ffffffffffffffff811161060857604051916101c660208360051b0184610b71565b8183526024602084019260081b820101903682116100bc57602401915b81831061056757836101f3610cab565b60008151916000915b83831061022a577f593cb8bff457ab043ac574eef82350f22a05dd1ef5bc50e10441bc7364cff0e2600080a1005b81518310156105515760208360051b830101519060608201916001600160a01b0383511615610523576001600160a01b038351166000526002602052604060002054156001600160a01b0384511690156104f157508051156104c35780516040820190815110156104955760808201934267ffffffffffffffff865116106104675760c083019167ffffffffffffffff835116156104395760e084019167ffffffffffffffff8351161561040b579167ffffffffffffffff60a060046104039896948896602060019c9a019960008b526001600160a01b03825116600052600260205260406000209289519b8c8555518e8501555160028401556001600160a01b036003840192511673ffffffffffffffffffffffffffffffffffffffff19835416178255517fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff7bffffffffffffffff0000000000000000000000000000000000000000835492871b16911617905501940151167fffffffffffffffff00000000000000000000000000000000000000000000000077ffffffffffffffff000000000000000000000000000000006fffffffffffffffff00000000000000008654955160401b16935160801b1693161717179055610be1565b9201916101fc565b887f45f0587e0000000000000000000000000000000000000000000000000000000060005260045260246000fd5b877f4f29d63a0000000000000000000000000000000000000000000000000000000060005260045260246000fd5b867fb97b3fd60000000000000000000000000000000000000000000000000000000060005260045260246000fd5b857fae65ab830000000000000000000000000000000000000000000000000000000060005260045260246000fd5b847f4f70e4e70000000000000000000000000000000000000000000000000000000060005260045260246000fd5b85907f10ce10560000000000000000000000000000000000000000000000000000000060005260045260245260446000fd5b847faf49b9230000000000000000000000000000000000000000000000000000000060005260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b610100833603126100bc576040519061057f82610b54565b8335825260208401356020830152604084013560408301526060840135906001600160a01b03821682036100bc578260209260606101009501526105c560808701610b93565b60808201526105d660a08701610b93565b60a08201526105e760c08701610b93565b60c08201526105f860e08701610b93565b60e08201528152019201916101e3565b634e487b7160e01b600052604160045260246000fd5b346100bc5760003660031901126100bc5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346100bc5760003660031901126100bc5760206001600160a01b0360005416604051908152f35b346100bc5760203660031901126100bc5760206106ac6106a7610b3e565b610c11565b604051908152f35b346100bc5760003660031901126100bc576106cd610cab565b60006001600160a01b03815473ffffffffffffffffffffffffffffffffffffffff1981168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100bc5760203660031901126100bc576001600160a01b0361073b610b3e565b166000526002602052610100604060002067ffffffffffffffff8154918160018201549160028101546004600383015492015493604051968752602087015260408601526001600160a01b038116606086015260a01c16608084015281811660a0840152818160401c1660c084015260801c1660e0820152f35b346100bc5760203660031901126100bc577fce4c469058bae8bd06f4c1e2255f30ab6c4ef3a07bc3b49c304dc8ff2d1da3e7602060043561084a6001600160a01b0360015416604051907f23b872dd000000000000000000000000000000000000000000000000000000008583015233602483015230604483015283606483015260648252610845608483610b71565b610ebe565b604051908152a1005b346100bc5760003660031901126100bc573360005260026020526040600020805415610a4b576040516370a0823160e01b81523360048201526020816024816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa9081156109df57600091610a19575b50156109eb5760246108de33610c11565b9160206001600160a01b0360015416604051938480926370a0823160e01b82523060048301525afa9182156109df576000926109a8575b50821561097e5761092c8284806001951015610ba8565b01610938828254610be1565b905561095081336001600160a01b0360015416610ced565b6040519081527f9fe9b7be9d151c7a8b6de49a1312ff27a15096d0d1d12999af85fe4310e0b12560203392a2005b7f4fc4c16a0000000000000000000000000000000000000000000000000000000060005260046000fd5b90916020823d6020116109d7575b816109c360209383610b71565b810103126109d45750519083610915565b80fd5b3d91506109b6565b6040513d6000823e3d90fd5b7fb987a1f7000000000000000000000000000000000000000000000000000000006000523360045260246000fd5b90506020813d602011610a43575b81610a3460209383610b71565b810103126100bc5751826108cd565b3d9150610a27565b7fc782f7b4000000000000000000000000000000000000000000000000000000006000523360045260246000fd5b346100bc5760203660031901126100bc57600435610a95610cab565b6001600160a01b03600154166040516370a0823160e01b8152306004820152602081602481855afa9081156109df57600091610b0a575b7fb118ca2babba7ee83167f658e6d0fdbf20f4e30dbd0119aac17a1ec30ad9700060208561084a8187610b03888380821015610ba8565b3390610ced565b906020823d602011610b36575b81610b2460209383610b71565b810103126109d457505161084a610acc565b3d9150610b17565b600435906001600160a01b03821682036100bc57565b610100810190811067ffffffffffffffff82111761060857604052565b90601f8019910116810190811067ffffffffffffffff82111761060857604052565b359067ffffffffffffffff821682036100bc57565b15610bb1575050565b7fbce506710000000000000000000000000000000000000000000000000000000060005260045260245260446000fd5b91908201809211610bee57565b634e487b7160e01b600052601160045260246000fd5b91908203918211610bee57565b6001600160a01b03166000526002602052610ca86040600020610ca0604051610c3981610b54565b8254815267ffffffffffffffff600460018501549460208401958652600281015460408501528260038201546001600160a01b038116606087015260a01c166080850152015481811660a0840152818160401c1660c084015260801c1660e0820152610d81565b905190610c04565b90565b6001600160a01b03600054163303610cbf57565b7f118cdaa7000000000000000000000000000000000000000000000000000000006000523360045260246000fd5b610d3d926001600160a01b03604051937fa9059cbb000000000000000000000000000000000000000000000000000000006020860152166024840152604483015260448252610845606483610b71565b565b9067ffffffffffffffff8091169116019067ffffffffffffffff8211610bee57565b8115610d6b570490565b634e487b7160e01b600052601260045260246000fd5b6080810167ffffffffffffffff815116804210610eb65767ffffffffffffffff610db360a08501928284511690610d3f565b16421115610ead57610ddc67ffffffffffffffff83511667ffffffffffffffff83511690610d3f565b9060c084019167ffffffffffffffff8351169060e086019167ffffffffffffffff835116029067ffffffffffffffff8216918203610bee5767ffffffffffffffff91610e2791610d3f565b16421015610ea55767ffffffffffffffff610e6a81610e63610e73958280610e5760408d519d019c8d5190610c04565b9a511691511690610d3f565b1642610c04565b91511690610d61565b925191838102938185041490151715610bee57610ca89267ffffffffffffffff610e9f92511690610d61565b90610be1565b505050505190565b50506040015190565b505050600090565b906000602091828151910182855af1156109df576000513d610f2657506001600160a01b0381163b155b610eef5750565b6001600160a01b03907f5274afe7000000000000000000000000000000000000000000000000000000006000521660045260246000fd5b60011415610ee856fea2646970667358221220dc22728c5a3ac710934f7a5e60b2ac63a827ffabd53f46b30c09d62b62eb8a0d64736f6c634300081c0033000000000000000000000000bbcdc8eb044bf661eabfa07b93909a76ebdb1100000000000000000000000000bcf2fb914965e65ec0c065757f24ae6c89117b46