6 txs
0 calls
constructor
constructor(address _token)
functions
calculateClaimableAmount
viewfunction calculateClaimableAmount(address _investor) view returns (uint256)
calculateVestedAmount
viewfunction calculateVestedAmount(address _investor) view returns (uint256)
getVestingInfo
viewfunction getVestingInfo(address _investor) view returns (uint256 totalAmount, uint256 startTime, uint256 duration, uint256 releasedAmount, uint256 vestedAmount, uint256 claimableAmount)
owner
viewfunction owner() view returns (address)
token
viewfunction token() view returns (address)
vestingInfos
viewfunction vestingInfos(address) view returns (uint256 totalAmount, uint256 startTime, uint256 duration, uint256 releasedAmount)
claim
nonpayablefunction claim()
claimFor
nonpayablefunction claimFor(address _investor)
emergencyWithdraw
nonpayablefunction emergencyWithdraw(uint256 amount, address to)
renounceOwnership
nonpayablefunction renounceOwnership()
setBatchVestingInfo
nonpayablefunction setBatchVestingInfo(tuple[] _investorsData)
setVestingInfo
nonpayablefunction setVestingInfo(address _investor, uint256 _totalAmount, uint256 _startTime, uint256 _duration, uint256 _releasedAmount)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
VestingInfoSet
event VestingInfoSet(address indexed investor, uint256 totalAmount, uint256 startTime, uint256 duration, uint256 releasedAmount)
errors
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
creation bytecode
0x60a03461012c57601f610bdf38819003918201601f19168301916001600160401b038311848410176101305780849260209460405283398101031261012c57516001600160a01b03811680820361012c573315610119575f8054336001600160a01b0319821681178355604051939290916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360018055156100d75750608052604051610a9a9081610145823960805181818160ec015281816102a10152818161054b015261060f0152f35b62461bcd60e51b815260206004820152601c60248201527f546f6b656e20616464726573732063616e6e6f74206265207a65726f000000006044820152606490fd5b631e4fbdf760e01b5f525f60045260245ffd5b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60806040526004361015610011575f80fd5b5f3560e01c80632f940c70146105d95780634e71d92d146104fd5780635025591b146104c4578063715018a61461046d5780637274f7fd1461044a57806381e1147a1461035c5780638da5cb5b1461033557806392c3953d146102cb578063ddeae03314610242578063f2fde38b146101bd578063fb897ce41461011b578063fc0c546a146100d75763ffa06b2a146100a8575f80fd5b346100d35760203660031901126100d35760206100cb6100c6610633565b610727565b604051908152f35b5f80fd5b346100d3575f3660031901126100d3576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346100d35760203660031901126100d35760c0610136610633565b60018060a01b0381165f52600260205260405f209060405190610158826106f7565b825482526001830154926020830193845260036002820154916040850192835201546060840190815261019361018d84610727565b936106b8565b935194519151905191604051958652602086015260408501526060840152608083015260a0820152f35b346100d35760203660031901126100d3576101d6610633565b6101de6107d8565b6001600160a01b0316801561022f575f80546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3005b631e4fbdf760e01b5f525f60045260245ffd5b346100d35760203660031901126100d3576102c561025e610633565b6102666108a9565b61026f816106b8565b9061027b821515610649565b60018060a01b0381165f526002602052600360405f200161029d83825461068a565b90557f00000000000000000000000000000000000000000000000000000000000000006107fe565b60018055005b346100d35760203660031901126100d3576001600160a01b036102ec610633565b165f52600260205260405f2080546103316001830154926003600282015491015490604051948594859094939260609260808301968352602083015260408201520152565b0390f35b346100d3575f3660031901126100d3575f546040516001600160a01b039091168152602090f35b346100d35760203660031901126100d35760043567ffffffffffffffff81116100d357366023820112156100d35780600401359067ffffffffffffffff82116100d35736602460a08402830101116100d3576103b66107d8565b811561040d575f5b8281101561040b5760a0810282019060248201356001600160a01b03811681036100d357826104059160a460019501359160848101359160446064830135920135906108c9565b016103be565b005b60405162461bcd60e51b8152602060048201526015602482015274456d70747920696e766573746f727320617272617960581b6044820152606490fd5b346100d35760203660031901126100d35760206100cb610468610633565b6106b8565b346100d3575f3660031901126100d3576104856107d8565b5f80546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100d35760a03660031901126100d35761040b6104e0610633565b6104e86107d8565b608435906064359060443590602435906108c9565b346100d3575f3660031901126100d3576105156108a9565b61056f610521336106b8565b61052c811515610649565b335f526002602052600360405f200161054682825461068a565b9055337f00000000000000000000000000000000000000000000000000000000000000006107fe565b335f8181526002602081815260409283902080546001820154938201546003909201548551918252928101939093529282019290925260608101919091527f6b1406388533c51124a192b462b4500504d1ac47dbea165f1531cb2461f63b3690608090a260018055005b346100d35760403660031901126100d3576024356001600160a01b03811681036100d35761040b906106096107d8565b600435907f00000000000000000000000000000000000000000000000000000000000000006107fe565b600435906001600160a01b03821682036100d357565b1561065057565b60405162461bcd60e51b81526020600482015260126024820152714e6f20746f6b656e7320746f20636c61696d60701b6044820152606490fd5b9190820180921161069757565b634e487b7160e01b5f52601160045260245ffd5b9190820391821161069757565b6106c181610727565b6001600160a01b039091165f90815260026020526040902060030154808211156106f1576106ee916106ab565b90565b50505f90565b6080810190811067ffffffffffffffff82111761071357604052565b634e487b7160e01b5f52604160045260245ffd5b60018060a01b03165f52600260205260405f2060405190610747826106f7565b8054808352600182015460208401918183526002840154906003604087019583875201546060870152156107cf578142106107cf576107859161068a565b4210156107c9576107979051426106ab565b915182810292818404149015171561069757519081156107b5570490565b634e487b7160e01b5f52601260045260245ffd5b50505190565b50505050505f90565b5f546001600160a01b031633036107eb57565b63118cdaa760e01b5f523360045260245ffd5b60405163a9059cbb60e01b602082019081526001600160a01b0390931660248201526044808201949094529283529190608082019067ffffffffffffffff821183831017610713576020925f92604052519082855af11561089e575f513d61089557506001600160a01b0381163b155b6108755750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b6001141561086e565b6040513d5f823e3d90fd5b6002600154146108ba576002600155565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b031693928415610a1f5781156109cb57801561097b577f6b1406388533c51124a192b462b4500504d1ac47dbea165f1531cb2461f63b369361097691604051610918816106f7565b8481526003602082018781526040830184815260608401918683528b5f52600260205260405f209451855551600185015551600284015551910155604051948594859094939260609260808301968352602083015260408201520152565b0390a2565b60405162461bcd60e51b815260206004820152602260248201527f4475726174696f6e206d7573742062652067726561746572207468616e207a65604482015261726f60f01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602660248201527f546f74616c20616d6f756e74206d7573742062652067726561746572207468616044820152656e207a65726f60d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152601f60248201527f496e766573746f7220616464726573732063616e6e6f74206265207a65726f006044820152606490fdfea2646970667358221220fda8434e750625af3be221527840c38c62e9dab93f0b66211759151f616c9de864736f6c634300081c00330000000000000000000000003394a562a38cebd02afc56380a108bb98c5ac3b7