Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
cDAI | ERC-20 | 1M | $0.023854 |
$23,853.79 |
ABI
ABI objects
Getter at block 21245870
FIELD_SIZE() view returns (uint256)
21888242871839275222246405745257275088548364400416034343698204186575808495617
ROOT_HISTORY_SIZE() view returns (uint32)
30
ZERO_VALUE() view returns (uint256)
21663839004416932945382355908790599225266501822907911457504978515578255421292
comp() view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
currentRootIndex() view returns (uint32)
27
denomination() view returns (uint256)
50000000000000
getLastRoot() view returns (bytes32)
0x239887259201b795fba75bfbf3575c5a84d35b426c1bd890881406d6aa65021d
governance() view returns (address)
0x5efda50f22d34f262c29268506c5fa42cb56a1ce
hasher() view returns (address)
0x83584f83f26af4edda9cbe8c730bc87c364b28fe
levels() view returns (uint32)
20
nextIndex() view returns (uint32)
87
token() view returns (address)
0x5d3a536e4d6dbd6114cc1ead35777bab948e3643
verifier() view returns (address)
0xce172ce1f20ec0b3728c9965470eaf994a03557a
Read-only
commitments(bytes32) view returns (bool)
filledSubtrees(uint256) view returns (bytes32)
hashLeftRight(address _hasher, bytes32 _left, bytes32 _right) pure returns (bytes32)
isKnownRoot(bytes32 _root) view returns (bool)
isSpent(bytes32 _nullifierHash) view returns (bool)
isSpentArray(bytes32[] _nullifierHashes) view returns (bool[] spent)
nullifierHashes(bytes32) view returns (bool)
roots(uint256) view returns (bytes32)
zeros(uint256 i) pure returns (bytes32)
State-modifying
Events claimComp()
deposit(bytes32 _commitment) payable
withdraw(bytes _proof, bytes32 _root, bytes32 _nullifierHash, address _recipient, address _relayer, uint256 _fee, uint256 _refund) payable
Deposit(bytes32 indexed commitment, uint32 leafIndex, uint256 timestamp)
Withdrawal(address to, bytes32 nullifierHash, address indexed relayer, uint256 fee)
constructor(address _comp, address _verifier, address _hasher, uint256 _denomination, uint32 _merkleTreeHeight, address _token)
This contract contains no fallback and receive objects.
This contract contains no error objects.