@armada/sdk / index / POOL_V2_EVENT_ABI
Variable: POOL_V2_EVENT_ABI
constPOOL_V2_EVENT_ABI: readonly ["event Shield(uint256 treeNumber, uint256 startPosition, tuple(bytes32 npk, tuple(uint8 tokenType, address tokenAddress, uint256 tokenSubID) token, uint120 value)[] commitments, tuple(bytes32[3] encryptedBundle, bytes32 shieldKey)[] shieldCiphertext, uint256[] fees)","event Transact(uint256 treeNumber, uint256 startPosition, bytes32[] hash, tuple(bytes32[4] ciphertext, bytes32 blindedSenderViewingKey, bytes32 blindedReceiverViewingKey, bytes annotationData, bytes memo)[] ciphertext)","event Nullified(uint16 treeNumber, bytes32[] nullifier)","event Unshield(address to, tuple(uint8 tokenType, address tokenAddress, uint256 tokenSubID) token, uint256 amount, uint256 fee)"]
Defined in: src/sync/event-decoder.ts:13
Human-readable ABI for the Railgun V2 pool events the SDK consumes. Provider-agnostic: a consumer builds an ethers/viem Interface from these, parses raw logs, and passes the decoded args to the formatters below (matching the ethers-free design of fetchLogsRanged).