import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from 'ethers'; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from './common'; export type TXConfigStruct = { nullifiersCount: BigNumberish; commitmentsCount: BigNumberish; hasUnshield: boolean; boundParamsHash: BytesLike; }; export type TXConfigStructOutput = [ nullifiersCount: bigint, commitmentsCount: bigint, hasUnshield: boolean, boundParamsHash: string ] & { nullifiersCount: bigint; commitmentsCount: bigint; hasUnshield: boolean; boundParamsHash: string; }; export type TokenDataStruct = { tokenType: BigNumberish; tokenAddress: AddressLike; tokenSubID: BigNumberish; }; export type TokenDataStructOutput = [ tokenType: bigint, tokenAddress: string, tokenSubID: bigint ] & { tokenType: bigint; tokenAddress: string; tokenSubID: bigint; }; export type CommitmentPreimageStruct = { npk: BytesLike; token: TokenDataStruct; value: BigNumberish; }; export type CommitmentPreimageStructOutput = [ npk: string, token: TokenDataStructOutput, value: bigint ] & { npk: string; token: TokenDataStructOutput; value: bigint; }; export type ShieldCiphertextStruct = { encryptedBundle: [BytesLike, BytesLike, BytesLike]; shieldKey: BytesLike; }; export type ShieldCiphertextStructOutput = [ encryptedBundle: [string, string, string], shieldKey: string ] & { encryptedBundle: [string, string, string]; shieldKey: string; }; export type CommitmentCiphertextStruct = { ciphertext: [BytesLike, BytesLike, BytesLike, BytesLike]; blindedSenderViewingKey: BytesLike; blindedReceiverViewingKey: BytesLike; annotationData: BytesLike; memo: BytesLike; }; export type CommitmentCiphertextStructOutput = [ ciphertext: [string, string, string, string], blindedSenderViewingKey: string, blindedReceiverViewingKey: string, annotationData: string, memo: string ] & { ciphertext: [string, string, string, string]; blindedSenderViewingKey: string; blindedReceiverViewingKey: string; annotationData: string; memo: string; }; export type G1PointStruct = { x: BigNumberish; y: BigNumberish; }; export type G1PointStructOutput = [x: bigint, y: bigint] & { x: bigint; y: bigint; }; export type G2PointStruct = { x: [BigNumberish, BigNumberish]; y: [BigNumberish, BigNumberish]; }; export type G2PointStructOutput = [x: [bigint, bigint], y: [bigint, bigint]] & { x: [bigint, bigint]; y: [bigint, bigint]; }; export type VerifyingKeyStruct = { artifactsIPFSHash: string; alpha1: G1PointStruct; beta2: G2PointStruct; gamma2: G2PointStruct; delta2: G2PointStruct; ic: G1PointStruct[]; }; export type VerifyingKeyStructOutput = [ artifactsIPFSHash: string, alpha1: G1PointStructOutput, beta2: G2PointStructOutput, gamma2: G2PointStructOutput, delta2: G2PointStructOutput, ic: G1PointStructOutput[] ] & { artifactsIPFSHash: string; alpha1: G1PointStructOutput; beta2: G2PointStructOutput; gamma2: G2PointStructOutput; delta2: G2PointStructOutput; ic: G1PointStructOutput[]; }; export type BoundParamsStruct = { treeNumber: BigNumberish; minGasPrice: BigNumberish; unshield: BigNumberish; chainID: BigNumberish; adaptContract: AddressLike; adaptParams: BytesLike; commitmentCiphertext: CommitmentCiphertextStruct[]; }; export type BoundParamsStructOutput = [ treeNumber: bigint, minGasPrice: bigint, unshield: bigint, chainID: bigint, adaptContract: string, adaptParams: string, commitmentCiphertext: CommitmentCiphertextStructOutput[] ] & { treeNumber: bigint; minGasPrice: bigint; unshield: bigint; chainID: bigint; adaptContract: string; adaptParams: string; commitmentCiphertext: CommitmentCiphertextStructOutput[]; }; export type ShieldRequestStruct = { preimage: CommitmentPreimageStruct; ciphertext: ShieldCiphertextStruct; }; export type ShieldRequestStructOutput = [ preimage: CommitmentPreimageStructOutput, ciphertext: ShieldCiphertextStructOutput ] & { preimage: CommitmentPreimageStructOutput; ciphertext: ShieldCiphertextStructOutput; }; export type SnarkProofStruct = { a: G1PointStruct; b: G2PointStruct; c: G1PointStruct; }; export type SnarkProofStructOutput = [ a: G1PointStructOutput, b: G2PointStructOutput, c: G1PointStructOutput ] & { a: G1PointStructOutput; b: G2PointStructOutput; c: G1PointStructOutput; }; export type TransactionStruct = { proof: SnarkProofStruct; merkleRoot: BytesLike; nullifiers: BytesLike[]; commitments: BytesLike[]; boundParams: BoundParamsStruct; unshieldPreimage: CommitmentPreimageStruct; }; export type TransactionStructOutput = [ proof: SnarkProofStructOutput, merkleRoot: string, nullifiers: string[], commitments: string[], boundParams: BoundParamsStructOutput, unshieldPreimage: CommitmentPreimageStructOutput ] & { proof: SnarkProofStructOutput; merkleRoot: string; nullifiers: string[]; commitments: string[]; boundParams: BoundParamsStructOutput; unshieldPreimage: CommitmentPreimageStructOutput; }; export type TokenDataLegacyStruct = { tokenType: BigNumberish; tokenAddress: AddressLike; tokenSubID: BigNumberish; }; export type TokenDataLegacyStructOutput = [ tokenType: bigint, tokenAddress: string, tokenSubID: bigint ] & { tokenType: bigint; tokenAddress: string; tokenSubID: bigint; }; export type CommitmentPreimageLegacyStruct = { npk: BigNumberish; token: TokenDataLegacyStruct; value: BigNumberish; }; export type CommitmentPreimageLegacyStructOutput = [ npk: bigint, token: TokenDataLegacyStructOutput, value: bigint ] & { npk: bigint; token: TokenDataLegacyStructOutput; value: bigint; }; export declare namespace RailgunLogic { type CommitmentCiphertextLegacyStruct = { ciphertext: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]; ephemeralKeys: [BigNumberish, BigNumberish]; memo: BigNumberish[]; }; type CommitmentCiphertextLegacyStructOutput = [ ciphertext: [bigint, bigint, bigint, bigint], ephemeralKeys: [bigint, bigint], memo: bigint[] ] & { ciphertext: [bigint, bigint, bigint, bigint]; ephemeralKeys: [bigint, bigint]; memo: bigint[]; }; } export interface RailgunSmartWalletInterface extends Interface { getFunction(nameOrSignature: 'ZERO_VALUE' | 'addToBlocklist' | 'addVector' | 'changeFee' | 'changeTreasury' | 'checkSafetyVectors' | 'getFee' | 'getInsertionTreeNumberAndStartingIndex' | 'getTokenID' | 'getVerificationKey' | 'hashBoundParams' | 'hashCommitment' | 'hashLeftRight' | 'initializeRailgunLogic' | 'lastEventBlock' | 'merkleRoot' | 'nextLeafIndex' | 'nftFee' | 'nullifiers' | 'owner' | 'removeFromBlocklist' | 'removeVector' | 'renounceOwnership' | 'rootHistory' | 'setVerificationKey' | 'shield' | 'shieldFee' | 'snarkSafetyVector' | 'sumCommitments' | 'tokenBlocklist' | 'tokenIDMapping' | 'transact' | 'transferOwnership' | 'treasury' | 'treeNumber' | 'unshieldFee' | 'validateCommitmentPreimage' | 'validateTransaction' | 'verify' | 'verifyProof' | 'zeros'): FunctionFragment; getEvent(nameOrSignatureOrTopic: 'Action' | 'AddToBlocklist' | 'FeeChange' | 'Initialized' | 'Nullified' | 'OwnershipTransferred' | 'RemoveFromBlocklist' | 'Shield' | 'Transact' | 'TreasuryChange' | 'Unshield' | 'VerifyingKeySet' | 'CommitmentBatch' | 'GeneratedCommitmentBatch' | 'Nullifiers'): EventFragment; encodeFunctionData(functionFragment: 'ZERO_VALUE', values?: undefined): string; encodeFunctionData(functionFragment: 'addToBlocklist', values: [AddressLike[]]): string; encodeFunctionData(functionFragment: 'addVector', values: [BigNumberish]): string; encodeFunctionData(functionFragment: 'changeFee', values: [BigNumberish, BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: 'changeTreasury', values: [AddressLike]): string; encodeFunctionData(functionFragment: 'checkSafetyVectors', values?: undefined): string; encodeFunctionData(functionFragment: 'getFee', values: [BigNumberish, boolean, BigNumberish]): string; encodeFunctionData(functionFragment: 'getInsertionTreeNumberAndStartingIndex', values: [BigNumberish]): string; encodeFunctionData(functionFragment: 'getTokenID', values: [TokenDataStruct]): string; encodeFunctionData(functionFragment: 'getVerificationKey', values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: 'hashBoundParams', values: [BoundParamsStruct]): string; encodeFunctionData(functionFragment: 'hashCommitment', values: [CommitmentPreimageStruct]): string; encodeFunctionData(functionFragment: 'hashLeftRight', values: [BytesLike, BytesLike]): string; encodeFunctionData(functionFragment: 'initializeRailgunLogic', values: [AddressLike, BigNumberish, BigNumberish, BigNumberish, AddressLike]): string; encodeFunctionData(functionFragment: 'lastEventBlock', values?: undefined): string; encodeFunctionData(functionFragment: 'merkleRoot', values?: undefined): string; encodeFunctionData(functionFragment: 'nextLeafIndex', values?: undefined): string; encodeFunctionData(functionFragment: 'nftFee', values?: undefined): string; encodeFunctionData(functionFragment: 'nullifiers', values: [BigNumberish, BytesLike]): string; encodeFunctionData(functionFragment: 'owner', values?: undefined): string; encodeFunctionData(functionFragment: 'removeFromBlocklist', values: [AddressLike[]]): string; encodeFunctionData(functionFragment: 'removeVector', values: [BigNumberish]): string; encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string; encodeFunctionData(functionFragment: 'rootHistory', values: [BigNumberish, BytesLike]): string; encodeFunctionData(functionFragment: 'setVerificationKey', values: [BigNumberish, BigNumberish, VerifyingKeyStruct]): string; encodeFunctionData(functionFragment: 'shield', values: [ShieldRequestStruct[]]): string; encodeFunctionData(functionFragment: 'shieldFee', values?: undefined): string; encodeFunctionData(functionFragment: 'snarkSafetyVector', values: [BigNumberish]): string; encodeFunctionData(functionFragment: 'sumCommitments', values: [TransactionStruct[]]): string; encodeFunctionData(functionFragment: 'tokenBlocklist', values: [AddressLike]): string; encodeFunctionData(functionFragment: 'tokenIDMapping', values: [BytesLike]): string; encodeFunctionData(functionFragment: 'transact', values: [TransactionStruct[]]): string; encodeFunctionData(functionFragment: 'transferOwnership', values: [AddressLike]): string; encodeFunctionData(functionFragment: 'treasury', values?: undefined): string; encodeFunctionData(functionFragment: 'treeNumber', values?: undefined): string; encodeFunctionData(functionFragment: 'unshieldFee', values?: undefined): string; encodeFunctionData(functionFragment: 'validateCommitmentPreimage', values: [CommitmentPreimageStruct]): string; encodeFunctionData(functionFragment: 'validateTransaction', values: [TransactionStruct]): string; encodeFunctionData(functionFragment: 'verify', values: [TransactionStruct]): string; encodeFunctionData(functionFragment: 'verifyProof', values: [VerifyingKeyStruct, SnarkProofStruct, BigNumberish[]]): string; encodeFunctionData(functionFragment: 'zeros', values: [BigNumberish]): string; decodeFunctionResult(functionFragment: 'ZERO_VALUE', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'addToBlocklist', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'addVector', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'changeFee', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'changeTreasury', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'checkSafetyVectors', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'getFee', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'getInsertionTreeNumberAndStartingIndex', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'getTokenID', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'getVerificationKey', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'hashBoundParams', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'hashCommitment', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'hashLeftRight', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'initializeRailgunLogic', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'lastEventBlock', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'merkleRoot', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'nextLeafIndex', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'nftFee', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'nullifiers', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'removeFromBlocklist', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'removeVector', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'rootHistory', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setVerificationKey', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'shield', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'shieldFee', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'snarkSafetyVector', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'sumCommitments', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'tokenBlocklist', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'tokenIDMapping', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'transact', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'treasury', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'treeNumber', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'unshieldFee', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'validateCommitmentPreimage', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'validateTransaction', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'verify', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'verifyProof', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'zeros', data: BytesLike): Result; } export declare namespace ActionEvent { type InputTuple = [caller: AddressLike, txconfigs: TXConfigStruct[]]; type OutputTuple = [caller: string, txconfigs: TXConfigStructOutput[]]; interface OutputObject { caller: string; txconfigs: TXConfigStructOutput[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace AddToBlocklistEvent { type InputTuple = [token: AddressLike]; type OutputTuple = [token: string]; interface OutputObject { token: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace FeeChangeEvent { type InputTuple = [ shieldFee: BigNumberish, unshieldFee: BigNumberish, nftFee: BigNumberish ]; type OutputTuple = [shieldFee: bigint, unshieldFee: bigint, nftFee: bigint]; interface OutputObject { shieldFee: bigint; unshieldFee: bigint; nftFee: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace InitializedEvent { type InputTuple = [version: BigNumberish]; type OutputTuple = [version: bigint]; interface OutputObject { version: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace NullifiedEvent { type InputTuple = [treeNumber: BigNumberish, nullifier: BytesLike[]]; type OutputTuple = [treeNumber: bigint, nullifier: string[]]; interface OutputObject { treeNumber: bigint; nullifier: string[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace OwnershipTransferredEvent { type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; type OutputTuple = [previousOwner: string, newOwner: string]; interface OutputObject { previousOwner: string; newOwner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace RemoveFromBlocklistEvent { type InputTuple = [token: AddressLike]; type OutputTuple = [token: string]; interface OutputObject { token: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ShieldEvent { type InputTuple = [ treeNumber: BigNumberish, startPosition: BigNumberish, commitments: CommitmentPreimageStruct[], shieldCiphertext: ShieldCiphertextStruct[], fees: BigNumberish[] ]; type OutputTuple = [ treeNumber: bigint, startPosition: bigint, commitments: CommitmentPreimageStructOutput[], shieldCiphertext: ShieldCiphertextStructOutput[], fees: bigint[] ]; interface OutputObject { treeNumber: bigint; startPosition: bigint; commitments: CommitmentPreimageStructOutput[]; shieldCiphertext: ShieldCiphertextStructOutput[]; fees: bigint[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TransactEvent { type InputTuple = [ treeNumber: BigNumberish, startPosition: BigNumberish, hash: BytesLike[], ciphertext: CommitmentCiphertextStruct[] ]; type OutputTuple = [ treeNumber: bigint, startPosition: bigint, hash: string[], ciphertext: CommitmentCiphertextStructOutput[] ]; interface OutputObject { treeNumber: bigint; startPosition: bigint; hash: string[]; ciphertext: CommitmentCiphertextStructOutput[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TreasuryChangeEvent { type InputTuple = [treasury: AddressLike]; type OutputTuple = [treasury: string]; interface OutputObject { treasury: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UnshieldEvent { type InputTuple = [ to: AddressLike, token: TokenDataStruct, amount: BigNumberish, fee: BigNumberish ]; type OutputTuple = [to: string, token: TokenDataStructOutput, amount: bigint, fee: bigint]; interface OutputObject { to: string; token: TokenDataStructOutput; amount: bigint; fee: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace VerifyingKeySetEvent { type InputTuple = [ nullifiers: BigNumberish, commitments: BigNumberish, verifyingKey: VerifyingKeyStruct ]; type OutputTuple = [ nullifiers: bigint, commitments: bigint, verifyingKey: VerifyingKeyStructOutput ]; interface OutputObject { nullifiers: bigint; commitments: bigint; verifyingKey: VerifyingKeyStructOutput; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace CommitmentBatchEvent { type InputTuple = [ treeNumber: BigNumberish, startPosition: BigNumberish, hash: BigNumberish[], ciphertext: RailgunLogic.CommitmentCiphertextLegacyStruct[] ]; type OutputTuple = [ treeNumber: bigint, startPosition: bigint, hash: bigint[], ciphertext: RailgunLogic.CommitmentCiphertextLegacyStructOutput[] ]; interface OutputObject { treeNumber: bigint; startPosition: bigint; hash: bigint[]; ciphertext: RailgunLogic.CommitmentCiphertextLegacyStructOutput[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace GeneratedCommitmentBatchEvent { type InputTuple = [ treeNumber: BigNumberish, startPosition: BigNumberish, commitments: CommitmentPreimageLegacyStruct[], encryptedRandom: [BigNumberish, BigNumberish][] ]; type OutputTuple = [ treeNumber: bigint, startPosition: bigint, commitments: CommitmentPreimageLegacyStructOutput[], encryptedRandom: [bigint, bigint][] ]; interface OutputObject { treeNumber: bigint; startPosition: bigint; commitments: CommitmentPreimageLegacyStructOutput[]; encryptedRandom: [bigint, bigint][]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace NullifiersEvent { type InputTuple = [treeNumber: BigNumberish, nullifier: BigNumberish[]]; type OutputTuple = [treeNumber: bigint, nullifier: bigint[]]; interface OutputObject { treeNumber: bigint; nullifier: bigint[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface RailgunSmartWallet extends BaseContract { connect(runner?: ContractRunner | null): BaseContract; attach(addressOrName: AddressLike): this; deployed(): Promise; interface: RailgunSmartWalletInterface; queryFilter(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; queryFilter(filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; on(event: TCEvent, listener: TypedListener): Promise; on(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; once(event: TCEvent, listener: TypedListener): Promise; once(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; listeners(event: TCEvent): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners(event?: TCEvent): Promise; ZERO_VALUE: TypedContractMethod<[], [string], 'view'>; addToBlocklist: TypedContractMethod<[_tokens: AddressLike[]], [void], 'nonpayable'>; addVector: TypedContractMethod<[vector: BigNumberish], [void], 'nonpayable'>; changeFee: TypedContractMethod<[ _shieldFee: BigNumberish, _unshieldFee: BigNumberish, _nftFee: BigNumberish ], [ void ], 'nonpayable'>; changeTreasury: TypedContractMethod<[_treasury: AddressLike], [void], 'nonpayable'>; checkSafetyVectors: TypedContractMethod<[], [void], 'nonpayable'>; getFee: TypedContractMethod<[ _amount: BigNumberish, _isInclusive: boolean, _feeBP: BigNumberish ], [ [bigint, bigint] ], 'view'>; getInsertionTreeNumberAndStartingIndex: TypedContractMethod<[ _newCommitments: BigNumberish ], [ [bigint, bigint] ], 'view'>; getTokenID: TypedContractMethod<[_tokenData: TokenDataStruct], [string], 'view'>; getVerificationKey: TypedContractMethod<[ _nullifiers: BigNumberish, _commitments: BigNumberish ], [ VerifyingKeyStructOutput ], 'view'>; hashBoundParams: TypedContractMethod<[_boundParams: BoundParamsStruct], [bigint], 'view'>; hashCommitment: TypedContractMethod<[ _commitmentPreimage: CommitmentPreimageStruct ], [ string ], 'view'>; hashLeftRight: TypedContractMethod<[_left: BytesLike, _right: BytesLike], [string], 'view'>; initializeRailgunLogic: TypedContractMethod<[ _treasury: AddressLike, _shieldFee: BigNumberish, _unshieldFee: BigNumberish, _nftFee: BigNumberish, _owner: AddressLike ], [ void ], 'nonpayable'>; lastEventBlock: TypedContractMethod<[], [bigint], 'view'>; merkleRoot: TypedContractMethod<[], [string], 'view'>; nextLeafIndex: TypedContractMethod<[], [bigint], 'view'>; nftFee: TypedContractMethod<[], [bigint], 'view'>; nullifiers: TypedContractMethod<[arg0: BigNumberish, arg1: BytesLike], [boolean], 'view'>; owner: TypedContractMethod<[], [string], 'view'>; removeFromBlocklist: TypedContractMethod<[_tokens: AddressLike[]], [void], 'nonpayable'>; removeVector: TypedContractMethod<[vector: BigNumberish], [void], 'nonpayable'>; renounceOwnership: TypedContractMethod<[], [void], 'nonpayable'>; rootHistory: TypedContractMethod<[arg0: BigNumberish, arg1: BytesLike], [boolean], 'view'>; setVerificationKey: TypedContractMethod<[ _nullifiers: BigNumberish, _commitments: BigNumberish, _verifyingKey: VerifyingKeyStruct ], [ void ], 'nonpayable'>; shield: TypedContractMethod<[_shieldRequests: ShieldRequestStruct[]], [void], 'payable'>; shieldFee: TypedContractMethod<[], [bigint], 'view'>; snarkSafetyVector: TypedContractMethod<[arg0: BigNumberish], [boolean], 'view'>; sumCommitments: TypedContractMethod<[_transactions: TransactionStruct[]], [bigint], 'view'>; tokenBlocklist: TypedContractMethod<[arg0: AddressLike], [boolean], 'view'>; tokenIDMapping: TypedContractMethod<[ arg0: BytesLike ], [ [ bigint, string, bigint ] & { tokenType: bigint; tokenAddress: string; tokenSubID: bigint; } ], 'view'>; transact: TypedContractMethod<[_transactions: TransactionStruct[]], [void], 'payable'>; transferOwnership: TypedContractMethod<[newOwner: AddressLike], [void], 'nonpayable'>; treasury: TypedContractMethod<[], [string], 'view'>; treeNumber: TypedContractMethod<[], [bigint], 'view'>; unshieldFee: TypedContractMethod<[], [bigint], 'view'>; validateCommitmentPreimage: TypedContractMethod<[ _note: CommitmentPreimageStruct ], [ [boolean, string] ], 'view'>; validateTransaction: TypedContractMethod<[ _transaction: TransactionStruct ], [ [boolean, string] ], 'view'>; verify: TypedContractMethod<[_transaction: TransactionStruct], [boolean], 'view'>; verifyProof: TypedContractMethod<[ _verifyingKey: VerifyingKeyStruct, _proof: SnarkProofStruct, _inputs: BigNumberish[] ], [ boolean ], 'view'>; zeros: TypedContractMethod<[arg0: BigNumberish], [string], 'view'>; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: 'ZERO_VALUE'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'addToBlocklist'): TypedContractMethod<[_tokens: AddressLike[]], [void], 'nonpayable'>; getFunction(nameOrSignature: 'addVector'): TypedContractMethod<[vector: BigNumberish], [void], 'nonpayable'>; getFunction(nameOrSignature: 'changeFee'): TypedContractMethod<[ _shieldFee: BigNumberish, _unshieldFee: BigNumberish, _nftFee: BigNumberish ], [ void ], 'nonpayable'>; getFunction(nameOrSignature: 'changeTreasury'): TypedContractMethod<[_treasury: AddressLike], [void], 'nonpayable'>; getFunction(nameOrSignature: 'checkSafetyVectors'): TypedContractMethod<[], [void], 'nonpayable'>; getFunction(nameOrSignature: 'getFee'): TypedContractMethod<[ _amount: BigNumberish, _isInclusive: boolean, _feeBP: BigNumberish ], [ [bigint, bigint] ], 'view'>; getFunction(nameOrSignature: 'getInsertionTreeNumberAndStartingIndex'): TypedContractMethod<[_newCommitments: BigNumberish], [[bigint, bigint]], 'view'>; getFunction(nameOrSignature: 'getTokenID'): TypedContractMethod<[_tokenData: TokenDataStruct], [string], 'view'>; getFunction(nameOrSignature: 'getVerificationKey'): TypedContractMethod<[ _nullifiers: BigNumberish, _commitments: BigNumberish ], [ VerifyingKeyStructOutput ], 'view'>; getFunction(nameOrSignature: 'hashBoundParams'): TypedContractMethod<[_boundParams: BoundParamsStruct], [bigint], 'view'>; getFunction(nameOrSignature: 'hashCommitment'): TypedContractMethod<[_commitmentPreimage: CommitmentPreimageStruct], [string], 'view'>; getFunction(nameOrSignature: 'hashLeftRight'): TypedContractMethod<[_left: BytesLike, _right: BytesLike], [string], 'view'>; getFunction(nameOrSignature: 'initializeRailgunLogic'): TypedContractMethod<[ _treasury: AddressLike, _shieldFee: BigNumberish, _unshieldFee: BigNumberish, _nftFee: BigNumberish, _owner: AddressLike ], [ void ], 'nonpayable'>; getFunction(nameOrSignature: 'lastEventBlock'): TypedContractMethod<[], [bigint], 'view'>; getFunction(nameOrSignature: 'merkleRoot'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'nextLeafIndex'): TypedContractMethod<[], [bigint], 'view'>; getFunction(nameOrSignature: 'nftFee'): TypedContractMethod<[], [bigint], 'view'>; getFunction(nameOrSignature: 'nullifiers'): TypedContractMethod<[arg0: BigNumberish, arg1: BytesLike], [boolean], 'view'>; getFunction(nameOrSignature: 'owner'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'removeFromBlocklist'): TypedContractMethod<[_tokens: AddressLike[]], [void], 'nonpayable'>; getFunction(nameOrSignature: 'removeVector'): TypedContractMethod<[vector: BigNumberish], [void], 'nonpayable'>; getFunction(nameOrSignature: 'renounceOwnership'): TypedContractMethod<[], [void], 'nonpayable'>; getFunction(nameOrSignature: 'rootHistory'): TypedContractMethod<[arg0: BigNumberish, arg1: BytesLike], [boolean], 'view'>; getFunction(nameOrSignature: 'setVerificationKey'): TypedContractMethod<[ _nullifiers: BigNumberish, _commitments: BigNumberish, _verifyingKey: VerifyingKeyStruct ], [ void ], 'nonpayable'>; getFunction(nameOrSignature: 'shield'): TypedContractMethod<[_shieldRequests: ShieldRequestStruct[]], [void], 'payable'>; getFunction(nameOrSignature: 'shieldFee'): TypedContractMethod<[], [bigint], 'view'>; getFunction(nameOrSignature: 'snarkSafetyVector'): TypedContractMethod<[arg0: BigNumberish], [boolean], 'view'>; getFunction(nameOrSignature: 'sumCommitments'): TypedContractMethod<[_transactions: TransactionStruct[]], [bigint], 'view'>; getFunction(nameOrSignature: 'tokenBlocklist'): TypedContractMethod<[arg0: AddressLike], [boolean], 'view'>; getFunction(nameOrSignature: 'tokenIDMapping'): TypedContractMethod<[ arg0: BytesLike ], [ [ bigint, string, bigint ] & { tokenType: bigint; tokenAddress: string; tokenSubID: bigint; } ], 'view'>; getFunction(nameOrSignature: 'transact'): TypedContractMethod<[_transactions: TransactionStruct[]], [void], 'payable'>; getFunction(nameOrSignature: 'transferOwnership'): TypedContractMethod<[newOwner: AddressLike], [void], 'nonpayable'>; getFunction(nameOrSignature: 'treasury'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'treeNumber'): TypedContractMethod<[], [bigint], 'view'>; getFunction(nameOrSignature: 'unshieldFee'): TypedContractMethod<[], [bigint], 'view'>; getFunction(nameOrSignature: 'validateCommitmentPreimage'): TypedContractMethod<[_note: CommitmentPreimageStruct], [[boolean, string]], 'view'>; getFunction(nameOrSignature: 'validateTransaction'): TypedContractMethod<[_transaction: TransactionStruct], [[boolean, string]], 'view'>; getFunction(nameOrSignature: 'verify'): TypedContractMethod<[_transaction: TransactionStruct], [boolean], 'view'>; getFunction(nameOrSignature: 'verifyProof'): TypedContractMethod<[ _verifyingKey: VerifyingKeyStruct, _proof: SnarkProofStruct, _inputs: BigNumberish[] ], [ boolean ], 'view'>; getFunction(nameOrSignature: 'zeros'): TypedContractMethod<[arg0: BigNumberish], [string], 'view'>; getEvent(key: 'Action'): TypedContractEvent; getEvent(key: 'AddToBlocklist'): TypedContractEvent; getEvent(key: 'FeeChange'): TypedContractEvent; getEvent(key: 'Initialized'): TypedContractEvent; getEvent(key: 'Nullified'): TypedContractEvent; getEvent(key: 'OwnershipTransferred'): TypedContractEvent; getEvent(key: 'RemoveFromBlocklist'): TypedContractEvent; getEvent(key: 'Shield'): TypedContractEvent; getEvent(key: 'Transact'): TypedContractEvent; getEvent(key: 'TreasuryChange'): TypedContractEvent; getEvent(key: 'Unshield'): TypedContractEvent; getEvent(key: 'VerifyingKeySet'): TypedContractEvent; getEvent(key: 'CommitmentBatch'): TypedContractEvent; getEvent(key: 'GeneratedCommitmentBatch'): TypedContractEvent; getEvent(key: 'Nullifiers'): TypedContractEvent; filters: { 'Action(address,tuple[])': TypedContractEvent; Action: TypedContractEvent; 'AddToBlocklist(address)': TypedContractEvent; AddToBlocklist: TypedContractEvent; 'FeeChange(uint256,uint256,uint256)': TypedContractEvent; FeeChange: TypedContractEvent; 'Initialized(uint8)': TypedContractEvent; Initialized: TypedContractEvent; 'Nullified(uint16,bytes32[])': TypedContractEvent; Nullified: TypedContractEvent; 'OwnershipTransferred(address,address)': TypedContractEvent; OwnershipTransferred: TypedContractEvent; 'RemoveFromBlocklist(address)': TypedContractEvent; RemoveFromBlocklist: TypedContractEvent; 'Shield(uint256,uint256,tuple[],tuple[],uint256[])': TypedContractEvent; Shield: TypedContractEvent; 'Transact(uint256,uint256,bytes32[],tuple[])': TypedContractEvent; Transact: TypedContractEvent; 'TreasuryChange(address)': TypedContractEvent; TreasuryChange: TypedContractEvent; 'Unshield(address,tuple,uint256,uint256)': TypedContractEvent; Unshield: TypedContractEvent; 'VerifyingKeySet(uint256,uint256,tuple)': TypedContractEvent; VerifyingKeySet: TypedContractEvent; 'CommitmentBatch(uint256,uint256,uint256[],tuple[])': TypedContractEvent; CommitmentBatch: TypedContractEvent; 'GeneratedCommitmentBatch(uint256,uint256,tuple[],uint256[2][])': TypedContractEvent; GeneratedCommitmentBatch: TypedContractEvent; 'Nullifiers(uint256,uint256[])': TypedContractEvent; Nullifiers: TypedContractEvent; }; }