RAILGUN Reloaded
    Preparing search index...

    V2 bound params, as the contract BoundParams struct. The proof commits to their hash.

    type BoundParamsV2 = {
        treeNumber: number;
        minGasPrice: bigint;
        unshield: UnshieldType;
        chainID: bigint;
        adaptContract: Address;
        adaptParams: Hex;
        commitmentCiphertext: readonly CommitmentCiphertextV2[];
    }
    Index
    treeNumber: number

    Commitment tree number of the spent notes. The contract checks merkleRoot against this tree.

    minGasPrice: bigint

    Minimum gas price of the Ethereum transaction, in wei. The contract checks it only for a type 0 transaction. A self-signed transaction sets 0n.

    unshield: UnshieldType

    Unshield mode of the transaction.

    chainID: bigint

    Chain ID that the transaction is bound to. The contract rejects another chain.

    adaptContract: Address

    Contract that must send the transaction, or the zero address to let any sender submit it.

    adaptParams: Hex

    Value that the adapt contract checks, as 32-byte hex. The zero hash for a direct spend.

    commitmentCiphertext: readonly CommitmentCiphertextV2[]

    Ciphertext of each output note, in commitment order. An unshield output has no element.