6 txs
7 calls
constructor
constructor(address _token, address _owner)
functions
claimableAmount
viewfunction claimableAmount(uint256 positionIndex) view returns (uint256)
owner
viewfunction owner() view returns (address)
token
viewfunction token() view returns (address)
vestingPositions
viewfunction vestingPositions(uint256) view returns (uint256 totalAmount, uint256 claimedAmount, uint256 initialReleaseAmount, address receiver, uint64 start, uint64 cliff, uint64 duration)
vestingPositionsArray
viewfunction vestingPositionsArray() view returns (tuple[])
addVestingPositions
nonpayablefunction addVestingPositions(tuple[] newPositions)
claim
nonpayablefunction claim(uint256 positionIndex, uint256 amount)
renounceOwnership
nonpayablefunction renounceOwnership()
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
VestingClaimed
event VestingClaimed(uint256 indexed positionIndex, uint256 amount)
VestingPositionsAdded
event VestingPositionsAdded(uint256 previousVestingPositionsLength, uint256 newVestingPositionsLength)
errors
IndexOutOfBounds
error IndexOutOfBounds(uint256 requestedIndex, uint256 arrayLength)
InsufficientClaimableAmount
error InsufficientClaimableAmount(uint256 requested, uint256 available)
InvalidAddress
error InvalidAddress()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
ReceiverNotSet
error ReceiverNotSet(uint256 positionIndex)
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
StartSetInThePast
error StartSetInThePast(uint256 positionIndex)
TotalAmountIsZero
error TotalAmountIsZero(uint256 positionIndex)
Unauthorized
error Unauthorized()
creation bytecode
0x60803461010257601f610dc538819003918201601f19168301916001600160401b03831184841017610107578084926040948552833981010312610102576100468161011d565b906001600160a01b039061005c9060200161011d565b169081156100ec57600080546001600160a01b031981168417825560405193916001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a36001600160a01b031680156100db57600180546001600160a01b031916919091179055610c9390816101328239f35b63e6c4247b60e01b60005260046000fd5b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101025756fe6080604052600436101561001257600080fd5b60003560e01c80636cfe0ad11461090f578063715018a6146108a95780637f09d23e146108215780638da5cb5b146107fa57806397cdbc1d14610411578063c34902631461027b578063cbed82cc1461015d578063f2fde38b146100ab5763fc0c546a1461007f57600080fd5b346100a65760003660031901126100a65760206001600160a01b0360015416604051908152f35b600080fd5b346100a65760203660031901126100a6576004356001600160a01b0381168091036100a6576100d8610b9e565b801561012e576001600160a01b036000548273ffffffffffffffffffffffffffffffffffffffff19821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b7f1e4fbdf700000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b346100a65760003660031901126100a65760025461017a816109a2565b906101886040519283610980565b80825260208201908160026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace6000915b83831061025d5784866040519182916020830190602084525180915260408301919060005b8181106101ee575050500390f35b91935091602060e060019267ffffffffffffffff60c08851805184528581015186850152604081015160408501526001600160a01b0360608201511660608501528260808201511660808501528260a08201511660a085015201511660c08201520194019101918493926101e0565b6005602060019261026d856109cf565b8152019201920191906101bb565b346100a65760403660031901126100a657600435602435600254808310156103e057506102a782610945565b506001600160a01b03600382015416908133036103b6576102e76102d36102cd86610945565b506109cf565b60206102de82610a86565b91015190610a34565b83811061038557509161037c60209260017fa4139ff1284ec91386e7e694f0ee2c1ae7b3a82a04df6b3765f319aa718b51939501610326848254610a57565b90556001600160a01b0360015416604051917fa9059cbb0000000000000000000000000000000000000000000000000000000086840152602483015283604483015260448252610377606483610980565b610be0565b604051908152a2005b837fdd786d720000000000000000000000000000000000000000000000000000000060005260045260245260446000fd5b7f82b429000000000000000000000000000000000000000000000000000000000060005260046000fd5b827f63a056dd0000000000000000000000000000000000000000000000000000000060005260045260245260446000fd5b346100a65760203660031901126100a65760043567ffffffffffffffff81116100a657366023820112156100a657806004013561044d816109a2565b9161045b6040519384610980565b818352602460e0602085019302820101903682116100a657602401915b81831061076c5783610488610b9e565b600254815160009283905b82821061052e577f068e9159c4ba432111c0b00ae04f908f0415b3c5fbcaeb679ba61e72373f2af26040856105218661051b8a6001600160a01b03600154168651917f23b872dd000000000000000000000000000000000000000000000000000000006020840152336024840152306044840152606483015260648252610377608483610980565b82610a57565b82519182526020820152a1005b909381518510156107565760208560051b830101518051156107285760608101906001600160a01b03825116156106fa5760808101924267ffffffffffffffff855116106106cc57602082019160008352600254680100000000000000008110156106b6578060016105a39201600255610945565b9590956106a057600195610698956004928451968784555189840155604085015160028401556001600160a01b036003840192511673ffffffffffffffffffffffffffffffffffffffff19835416178255517fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff7bffffffffffffffff000000000000000000000000000000000000000083549260a01b169116179055019067ffffffffffffffff60a0820151167fffffffffffffffffffffffffffffffff000000000000000000000000000000006fffffffffffffffff000000000000000060c0855494015160401b16921617179055610a57565b940190610493565b634e487b7160e01b600052600060045260246000fd5b634e487b7160e01b600052604160045260246000fd5b877fb97b3fd60000000000000000000000000000000000000000000000000000000060005260045260246000fd5b867faf49b9230000000000000000000000000000000000000000000000000000000060005260045260246000fd5b857f4f70e4e70000000000000000000000000000000000000000000000000000000060005260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60e0833603126100a6576040519061078382610964565b8335825260208401356020830152604084013560408301526060840135906001600160a01b03821682036100a65782602092606060e09501526107c8608087016109ba565b60808201526107d960a087016109ba565b60a08201526107ea60c087016109ba565b60c0820152815201920191610478565b346100a65760003660031901126100a65760206001600160a01b0360005416604051908152f35b346100a65760203660031901126100a6576004356002548110156100a65761084a60e091610945565b5067ffffffffffffffff8154918160018201549160028101546004600383015492015493604051968752602087015260408601526001600160a01b038116606086015260a01c16608084015281811660a084015260401c1660c0820152f35b346100a65760003660031901126100a6576108c2610b9e565b60006001600160a01b03815473ffffffffffffffffffffffffffffffffffffffff1981168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100a65760203660031901126100a657602061093d6109336102cd600435610945565b826102de82610a86565b604051908152f35b6002548110156107565760026000526005602060002091020190600090565b60e0810190811067ffffffffffffffff8211176106b657604052565b90601f8019910116810190811067ffffffffffffffff8211176106b657604052565b67ffffffffffffffff81116106b65760051b60200190565b359067ffffffffffffffff821682036100a657565b906040516109dc81610964565b60c067ffffffffffffffff600483958054855260018101546020860152600281015460408601528260038201546001600160a01b038116606088015260a01c166080860152015481811660a085015260401c16910152565b91908203918211610a4157565b634e487b7160e01b600052601160045260246000fd5b91908201809211610a4157565b9067ffffffffffffffff8091169116019067ffffffffffffffff8211610a4157565b608081019067ffffffffffffffff825116804210610b965767ffffffffffffffff610ab960a08401928284511690610a64565b16421115610b8c57610ae267ffffffffffffffff84511667ffffffffffffffff83511690610a64565b9067ffffffffffffffff610afe60c08501938285511690610a64565b16421015610b845767ffffffffffffffff610b36610b3d928280610b2a60408951990198895190610a34565b98511691511690610a64565b1642610a34565b92838102938185041490151715610a41575167ffffffffffffffff168015610b6e57610b6b92049051610a57565b90565b634e487b7160e01b600052601260045260246000fd5b505090505190565b5060409150015190565b505050600090565b6001600160a01b03600054163303610bb257565b7f118cdaa7000000000000000000000000000000000000000000000000000000006000523360045260246000fd5b906000602091828151910182855af115610c51576000513d610c4857506001600160a01b0381163b155b610c115750565b6001600160a01b03907f5274afe7000000000000000000000000000000000000000000000000000000006000521660045260246000fd5b60011415610c0a565b6040513d6000823e3d90fdfea26469706673582212205a78526faa5acd13c6702f1f928a0407d8ff7354c0730684e797249cf4c377fb64736f6c634300081c0033000000000000000000000000bbcdc8eb044bf661eabfa07b93909a76ebdb110000000000000000000000000019fbb676d0848986b88234422ddd661d2c0164dd