Verified contractPartialGPL-3.0-or-later
IntegralMerkleTimeRelease
Address0x2c66ea3f4d8d056a20ffa14fcfc7956bbefeb5fd
- Balance
0 ETH
- Transactions
33
- Compiler
solc 0.7.5
- Same code
8 more contracts
Details
- Compiler
- solc 0.7.5+commit.eb77ed08
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- GPL-3.0-or-later
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 14,163,904
- Creation transaction
- 0x1e7b4c97f0…27efb311a2
- Main copy (most transactions)
- 0x33b1ee37…4008dbb2
Read31
- checkpoints(address,uint32) → (uint32,uint96)
- checkpointsLength(address) → (uint32)
- getClaimableOption1(address) → (uint256)
- getClaimableOption2(address) → (uint256)
- getCurrentVotes(address) → (uint96)
- getExcessTokens() → (uint256)
- getOption1Allocation(address) → (uint256)
- getOption1Claimed(address) → (uint256)
- getOption2Allocation(address) → (uint256)
- getOption2Claimed(address) → (uint256)
- getPriorVotes(address,uint256) → (uint96)
- getReleasedOption1(address) → (uint96)
- getReleasedOption2(address) → (uint96)
- getTokensLeft() → (uint96)
- merkleRoot() → (bytes32)
- option1(address) → (uint96,uint96,uint32)
- option1EndBlock() → (uint256)
- option1StartBlock() → (uint256)
- option1StopBlock() → (uint256)
- option1StopSetBlock() → (uint256)
- option1TotalAllocations() → (uint96)
- option1TotalClaimed() → (uint96)
- option2(address) → (uint96,uint96,uint32)
- option2EndBlock() → (uint256)
- option2StartBlock() → (uint256)
- option2StopBlock() → (uint256)
- option2StopSetBlock() → (uint256)
- option2TotalAllocations() → (uint96)
- option2TotalClaimed() → (uint96)
- owner() → (address)
- token() → (address)
Write9
- claim(address)
- initializeAllocations(address,uint96,uint96,bytes32[])
- initializeAndClaim(address,uint96,uint96,bytes32[])
- setOption1StopBlock(uint256)
- setOption2StopBlock(uint256)
- setOwner(address)
- skim(address)
- updateOption1Allocations(address[],uint96[])
- updateOption2Allocations(address[],uint96[])
Events6
- Claim(address,address,uint256,uint256)
- DelegateVotesChanged(address,uint96,uint96)
- Option1StopBlockSet(uint256)
- Option2StopBlockSet(uint256)
- OwnerSet(address)
- Skim(address,uint256)
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_token",
"type": "address",
"internalType": "address"
},
{
"name": "_merkleRoot",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_option1StartBlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_option1EndBlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_option2StartBlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_option2EndBlock",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "Claim",
"type": "event",
"inputs": [
{
"name": "claimer",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "receiver",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "option1Amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "option2Amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "DelegateVotesChanged",
"type": "event",
"inputs": [
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "oldVotes",
"type": "uint96",
"indexed": false,
"internalType": "uint96"
},
{
"name": "newVotes",
"type": "uint96",
"indexed": false,
"internalType": "uint96"
}
],
"anonymous": false
},
{
"name": "Option1StopBlockSet",
"type": "event",
"inputs": [
{
"name": "option1StopBlock",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "Option2StopBlockSet",
"type": "event",
"inputs": [
{
"name": "option2StopBlock",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "OwnerSet",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "Skim",
"type": "event",
"inputs": [
{
"name": "to",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "checkpoints",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [
{
"name": "fromBlock",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "votes",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "checkpointsLength",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"name": "claim",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "getClaimableOption1",
"type": "function",
"inputs": [
{
"name": "wallet",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getClaimableOption2",
"type": "function",
"inputs": [
{
"name": "wallet",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getCurrentVotes",
"type": "function",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "getExcessTokens",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getOption1Allocation",
"type": "function",
"inputs": [
{
"name": "wallet",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getOption1Claimed",
"type": "function",
"inputs": [
{
"name": "wallet",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getOption2Allocation",
"type": "function",
"inputs": [
{
"name": "wallet",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getOption2Claimed",
"type": "function",
"inputs": [
{
"name": "wallet",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getPriorVotes",
"type": "function",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
},
{
"name": "blockNumber",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "getReleasedOption1",
"type": "function",
"inputs": [
{
"name": "wallet",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "getReleasedOption2",
"type": "function",
"inputs": [
{
"name": "wallet",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "getTokensLeft",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "initializeAllocations",
"type": "function",
"inputs": [
{
"name": "wallet",
"type": "address",
"internalType": "address"
},
{
"name": "amount1",
"type": "uint96",
"internalType": "uint96"
},
{
"name": "amount2",
"type": "uint96",
"internalType": "uint96"
},
{
"name": "merkleProof",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "initializeAndClaim",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "amount1",
"type": "uint96",
"internalType": "uint96"
},
{
"name": "amount2",
"type": "uint96",
"internalType": "uint96"
},
{
"name": "merkleProof",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "merkleRoot",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "option1",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "allocation",
"type": "uint96",
"internalType": "uint96"
},
{
"name": "claimed",
"type": "uint96",
"internalType": "uint96"
},
{
"name": "initBlock",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"name": "option1EndBlock",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "option1StartBlock",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "option1StopBlock",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "option1StopSetBlock",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "option1TotalAllocations",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "option1TotalClaimed",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "option2",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "allocation",
"type": "uint96",
"internalType": "uint96"
},
{
"name": "claimed",
"type": "uint96",
"internalType": "uint96"
},
{
"name": "initBlock",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"name": "option2EndBlock",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "option2StartBlock",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "option2StopBlock",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "option2StopSetBlock",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "option2TotalAllocations",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "option2TotalClaimed",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint96",
"internalType": "uint96"
}
],
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "setOption1StopBlock",
"type": "function",
"inputs": [
{
"name": "_option1StopBlock",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setOption2StopBlock",
"type": "function",
"inputs": [
{
"name": "_option2StopBlock",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setOwner",
"type": "function",
"inputs": [
{
"name": "_owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "skim",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "token",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "updateOption1Allocations",
"type": "function",
"inputs": [
{
"name": "wallets",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "amounts",
"type": "uint96[]",
"internalType": "uint96[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateOption2Allocations",
"type": "function",
"inputs": [
{
"name": "wallets",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "amounts",
"type": "uint96[]",
"internalType": "uint96[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.