ShieldedPool
A shielded pool's storage.
APPEND-ONLY: new fields may only be added at the end.
struct ShieldedPool {
IncrementalMerkleTreeLib.Tree commitments; // Poseidon LeanIMT of deposit commitments (+ root history)
NullifierRegistryLib.Registry nullifiers; // spent withdrawal nullifier hashes
address token; // the escrowed ERC-20
uint256 denomination; // fixed deposit / withdraw amount
address verifier; // the withdraw-circuit verifier
bool exists;
}Properties
| Name | Type | Description |
|---|---|---|
| commitments | IncrementalMerkleTreeLib.Tree | |
| nullifiers | NullifierRegistryLib.Registry | |
| token | address | |
| denomination | uint256 | |
| verifier | address | |
| exists | bool |