Expand description
ZK proof generation and transaction encoding for DarkPool operations.
Structs§
- Builder
Config - Deposit
Proof Bundle - GasPayment
Bundle - A complete gas payment bundle ready for relay
- Join
Proof Bundle - Multicall
Bundle - Public
Claim Proof Bundle - Split
Proof Bundle - Transaction
Builder - Transfer
Proof Bundle - Withdraw
Proof Bundle
Enums§
Functions§
- compute_
execution_ hash - Compute execution hash binding an action to a gas payment. Result is reduced mod BN254 Fr so it’s a valid ZK circuit field element.
- convert_
public_ inputs_ to_ bytes32 - Convert hex string public inputs to bytes32 arrays
- encode_
multicall - Encode a multicall bundle for the
RelayerMulticallcontract - format_
proof_ for_ solidity - No-op for
UltraHonkproofs – BB already outputs the correct format. - format_
public_ inputs_ for_ solidity - Alias for
convert_public_inputs_to_bytes32