Verified contractExactBUSL-1.1
TokenVestingManager
Address0xffa8d2a476d8e06175f1d228c62a262fc2b7ec4e
- Balance
0.000388 ETH
- Transactions
2
- Compiler
solc 0.8.28
- Same code
25 more contracts
Details
- Compiler
- solc 0.8.28+commit.7893614a
- Language
- solidity
- Optimization
- Yes, 2,000 runs
- EVM version
- cancun
- Via IR
- yes
- License
- BUSL-1.1
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 24,877,452
- Creation transaction
- 0x9666e737be…43e97e7f26
- Main copy (most transactions)
- 0xd2f6832d…9425f19d
Read30
- BASIS_POINTS() → (uint256)
- DEPLOYMENT_BLOCK_NUMBER() → (uint256)
- FEE() → (uint256)
- FEE_TYPE() → (uint8)
- FUNDING_TYPE() → (uint8)
- TOKEN_ADDRESS() → (address)
- adminCount() → (uint256)
- amountAvailableToWithdrawByAdmin() → (uint256)
- feeCollector() → (address)
- getAllRecipientVestings(address) → (bytes32[])
- getAllRecipientVestingsLength(address) → (uint256)
- getAllRecipientVestingsSliced(uint256,uint256,address) → (bytes32[])
- getAllRecipients() → (address[])
- getAllRecipientsLength() → (uint256)
- getAllRecipientsSliced(uint256,uint256) → (address[])
- getClaimableAmount(bytes32) → (uint256)
- getPendingVestingTransfer(bytes32) → (address)
- getVestedAmount(bytes32,uint32) → (uint256)
- getVestingFundingInfo(bytes32) → (uint8,uint256,uint256)
- getVestingInfo(bytes32) → (tuple)
- isAdmin(address) → (bool)
- isRecipient(address) → (bool)
- isVestingFullyFunded(bytes32) → (bool)
- numTokensReservedForFee() → (uint256)
- numTokensReservedForVesting() → (uint256)
- pendingVestingTransfers(bytes32) → (address)
- recipientVestings(address,uint256) → (bytes32)
- recipients(uint256) → (address)
- vestingById(bytes32) → (address,uint32,uint32,uint32,uint32,uint32,uint32,uint256,uint256,uint256,uint256,bool)
- vestingFunding(bytes32) → (uint256)
Write19
- acceptVestingTransfer(bytes32)
- adminClaim(bytes32)
- batchAdminClaim(bytes32[])
- batchRevokeVestings(bytes32[])
- cancelVestingTransfer(bytes32)
- claim(bytes32)
- createVesting(address,uint32,uint32,uint32,uint256,uint32,uint256,uint32,uint256,bool)
- createVestingBatch(tuple)
- directVestingTransfer(bytes32,address)
- fundVesting(bytes32,uint256)
- fundVestingBatch(bytes32[],uint256[])
- initiateVestingTransfer(bytes32,address)
- revokeVesting(bytes32)
- setAdmin(address,bool)
- transferFeeCollectorRole(address)
- withdrawAdmin(uint256)
- withdrawGasFee(address,uint256)
- withdrawOtherToken(address)
- withdrawTokenFee(address,uint256)
Events12
- AdminAccessSet(address,bool)
- AdminWithdrawn(address,uint256)
- Claimed(bytes32,address,uint256)
- FeeCollectorUpdated(address,address)
- GasFeeWithdrawn(address,uint256)
- TokenFeeWithdrawn(address,address,uint256)
- VestingCreated(bytes32,address,tuple)
- VestingFunded(bytes32,address,uint256,uint256,uint256)
- VestingRevoked(bytes32,uint256,tuple)
- VestingTransferCancelled(address,bytes32)
- VestingTransferInitiated(address,address,bytes32)
- VestingTransferred(address,address,bytes32)
Errors34
- AdminAccessRequired()
- AdminStatusAlreadyActive()
- ArrayLengthMismatch()
- CannotRemoveLastAdmin()
- EmptyArray()
- EmptyVesting()
- FeeTooHigh()
- FeeTooLow()
- FullyVested()
- FundingLimitExceeded()
- InsufficientBalance()
- InsufficientFee()
- InsufficientFunding()
- InvalidAddress()
- InvalidCliffAmount()
- InvalidCliffRelease()
- InvalidEndTimestamp()
- InvalidFundingAmount()
- InvalidIntervalLength()
- InvalidRange()
- InvalidReleaseInterval()
- InvalidStartTimestamp()
- InvalidToken()
- InvalidVestedAmount()
- NoPendingTransfer()
- NotAuthorizedForTransfer()
- NotFeeCollector()
- NotVestingOwner()
- PendingTransferExists()
- TimelockEnabled()
- TransferFailed()
- VestingFullyFunded()
- VestingNotActive()
- VestingNotRevocable()
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "tokenAddress_",
"type": "address",
"internalType": "address"
},
{
"name": "feeType_",
"type": "uint8",
"internalType": "enum ITypes.FeeType"
},
{
"name": "fee_",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeCollector_",
"type": "address",
"internalType": "address"
},
{
"name": "fundingType_",
"type": "uint8",
"internalType": "enum ITypes.FundingType"
}
],
"stateMutability": "nonpayable"
},
{
"name": "AdminAccessRequired",
"type": "error",
"inputs": []
},
{
"name": "AdminStatusAlreadyActive",
"type": "error",
"inputs": []
},
{
"name": "ArrayLengthMismatch",
"type": "error",
"inputs": []
},
{
"name": "CannotRemoveLastAdmin",
"type": "error",
"inputs": []
},
{
"name": "EmptyArray",
"type": "error",
"inputs": []
},
{
"name": "EmptyVesting",
"type": "error",
"inputs": []
},
{
"name": "FeeTooHigh",
"type": "error",
"inputs": []
},
{
"name": "FeeTooLow",
"type": "error",
"inputs": []
},
{
"name": "FullyVested",
"type": "error",
"inputs": []
},
{
"name": "FundingLimitExceeded",
"type": "error",
"inputs": []
},
{
"name": "InsufficientBalance",
"type": "error",
"inputs": []
},
{
"name": "InsufficientFee",
"type": "error",
"inputs": []
},
{
"name": "InsufficientFunding",
"type": "error",
"inputs": []
},
{
"name": "InvalidAddress",
"type": "error",
"inputs": []
},
{
"name": "InvalidCliffAmount",
"type": "error",
"inputs": []
},
{
"name": "InvalidCliffRelease",
"type": "error",
"inputs": []
},
{
"name": "InvalidEndTimestamp",
"type": "error",
"inputs": []
},
{
"name": "InvalidFundingAmount",
"type": "error",
"inputs": []
},
{
"name": "InvalidIntervalLength",
"type": "error",
"inputs": []
},
{
"name": "InvalidRange",
"type": "error",
"inputs": []
},
{
"name": "InvalidReleaseInterval",
"type": "error",
"inputs": []
},
{
"name": "InvalidStartTimestamp",
"type": "error",
"inputs": []
},
{
"name": "InvalidToken",
"type": "error",
"inputs": []
},
{
"name": "InvalidVestedAmount",
"type": "error",
"inputs": []
},
{
"name": "NoPendingTransfer",
"type": "error",
"inputs": []
},
{
"name": "NotAuthorizedForTransfer",
"type": "error",
"inputs": []
},
{
"name": "NotFeeCollector",
"type": "error",
"inputs": []
},
{
"name": "NotVestingOwner",
"type": "error",
"inputs": []
},
{
"name": "PendingTransferExists",
"type": "error",
"inputs": []
},
{
"name": "TimelockEnabled",
"type": "error",
"inputs": []
},
{
"name": "TransferFailed",
"type": "error",
"inputs": []
},
{
"name": "VestingFullyFunded",
"type": "error",
"inputs": []
},
{
"name": "VestingNotActive",
"type": "error",
"inputs": []
},
{
"name": "VestingNotRevocable",
"type": "error",
"inputs": []
},
{
"name": "AdminAccessSet",
"type": "event",
"inputs": [
{
"name": "_admin",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_enabled",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "AdminWithdrawn",
"type": "event",
"inputs": [
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amountRequested",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "Claimed",
"type": "event",
"inputs": [
{
"name": "vestingId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "withdrawalAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "FeeCollectorUpdated",
"type": "event",
"inputs": [
{
"name": "oldFeeCollector",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newFeeCollector",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "GasFeeWithdrawn",
"type": "event",
"inputs": [
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "TokenFeeWithdrawn",
"type": "event",
"inputs": [
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "token",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "VestingCreated",
"type": "event",
"inputs": [
{
"name": "vestingId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "vesting",
"type": "tuple",
"indexed": false,
"components": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "startTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "endTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "deactivationTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "timelock",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "releaseIntervalSecs",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "cliffReleaseTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "initialUnlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "cliffAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "linearVestAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "claimedAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "isRevocable",
"type": "bool",
"internalType": "bool"
}
],
"internalType": "struct TokenVestingLib.Vesting"
}
],
"anonymous": false
},
{
"name": "VestingFunded",
"type": "event",
"inputs": [
{
"name": "vestingId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "funder",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "totalFunded",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "totalRequired",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "VestingRevoked",
"type": "event",
"inputs": [
{
"name": "vestingId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "numTokensWithheld",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "vesting",
"type": "tuple",
"indexed": false,
"components": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "startTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "endTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "deactivationTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "timelock",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "releaseIntervalSecs",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "cliffReleaseTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "initialUnlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "cliffAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "linearVestAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "claimedAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "isRevocable",
"type": "bool",
"internalType": "bool"
}
],
"internalType": "struct TokenVestingLib.Vesting"
}
],
"anonymous": false
},
{
"name": "VestingTransferCancelled",
"type": "event",
"inputs": [
{
"name": "currentOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "vestingId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "VestingTransferInitiated",
"type": "event",
"inputs": [
{
"name": "currentOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "vestingId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "VestingTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "vestingId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "BASIS_POINTS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "DEPLOYMENT_BLOCK_NUMBER",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "FEE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "FEE_TYPE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "enum ITypes.FeeType"
}
],
"stateMutability": "view"
},
{
"name": "FUNDING_TYPE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "enum ITypes.FundingType"
}
],
"stateMutability": "view"
},
{
"name": "TOKEN_ADDRESS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "acceptVestingTransfer",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "adminClaim",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "adminCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "amountAvailableToWithdrawByAdmin",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "batchAdminClaim",
"type": "function",
"inputs": [
{
"name": "_vestingIds",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "batchRevokeVestings",
"type": "function",
"inputs": [
{
"name": "_vestingIds",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "cancelVestingTransfer",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "claim",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "createVesting",
"type": "function",
"inputs": [
{
"name": "_recipient",
"type": "address",
"internalType": "address"
},
{
"name": "_startTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_endTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_timelock",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_initialUnlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_cliffReleaseTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_cliffAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_releaseIntervalSecs",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_linearVestAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_isRevocable",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "createVestingBatch",
"type": "function",
"inputs": [
{
"name": "params",
"type": "tuple",
"components": [
{
"name": "_recipients",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "_startTimestamps",
"type": "uint32[]",
"internalType": "uint32[]"
},
{
"name": "_endTimestamps",
"type": "uint32[]",
"internalType": "uint32[]"
},
{
"name": "_timelocks",
"type": "uint32[]",
"internalType": "uint32[]"
},
{
"name": "_initialUnlocks",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "_cliffReleaseTimestamps",
"type": "uint32[]",
"internalType": "uint32[]"
},
{
"name": "_cliffAmounts",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "_releaseIntervalSecs",
"type": "uint32[]",
"internalType": "uint32[]"
},
{
"name": "_linearVestAmounts",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "_isRevocables",
"type": "bool[]",
"internalType": "bool[]"
}
],
"internalType": "struct ITokenVestingManager.CreateVestingBatchParams"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "directVestingTransfer",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "feeCollector",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "fundVesting",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_fundingAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "fundVestingBatch",
"type": "function",
"inputs": [
{
"name": "_vestingIds",
"type": "bytes32[]",
"internalType": "bytes32[]"
},
{
"name": "_fundingAmounts",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "getAllRecipientVestings",
"type": "function",
"inputs": [
{
"name": "_recipient",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"stateMutability": "view"
},
{
"name": "getAllRecipientVestingsLength",
"type": "function",
"inputs": [
{
"name": "_recipient",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getAllRecipientVestingsSliced",
"type": "function",
"inputs": [
{
"name": "_from",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_to",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_recipient",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"stateMutability": "view"
},
{
"name": "getAllRecipients",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address[]",
"internalType": "address[]"
}
],
"stateMutability": "view"
},
{
"name": "getAllRecipientsLength",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getAllRecipientsSliced",
"type": "function",
"inputs": [
{
"name": "_from",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_to",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address[]",
"internalType": "address[]"
}
],
"stateMutability": "view"
},
{
"name": "getClaimableAmount",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "claimable",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getPendingVestingTransfer",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "getVestedAmount",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_referenceTimestamp",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getVestingFundingInfo",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "fundingType",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "totalFunded",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "totalRequired",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getVestingInfo",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "tuple",
"components": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "startTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "endTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "deactivationTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "timelock",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "releaseIntervalSecs",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "cliffReleaseTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "initialUnlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "cliffAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "linearVestAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "claimedAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "isRevocable",
"type": "bool",
"internalType": "bool"
}
],
"internalType": "struct TokenVestingLib.Vesting"
}
],
"stateMutability": "view"
},
{
"name": "initiateVestingTransfer",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "isAdmin",
"type": "function",
"inputs": [
{
"name": "_addressToCheck",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "isRecipient",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "isVestingFullyFunded",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "numTokensReservedForFee",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "numTokensReservedForVesting",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "pendingVestingTransfers",
"type": "function",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "recipientVestings",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "recipients",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "revokeVesting",
"type": "function",
"inputs": [
{
"name": "_vestingId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setAdmin",
"type": "function",
"inputs": [
{
"name": "admin",
"type": "address",
"internalType": "address"
},
{
"name": "isEnabled",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "transferFeeCollectorRole",
"type": "function",
"inputs": [
{
"name": "newFeeCollector",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "vestingById",
"type": "function",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "startTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "endTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "deactivationTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "timelock",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "releaseIntervalSecs",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "cliffReleaseTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "initialUnlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "cliffAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "linearVestAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "claimedAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "isRevocable",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "vestingFunding",
"type": "function",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "withdrawAdmin",
"type": "function",
"inputs": [
{
"name": "_amountRequested",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "withdrawGasFee",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "withdrawOtherToken",
"type": "function",
"inputs": [
{
"name": "_otherTokenAddress",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "withdrawTokenFee",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.