UNPKG

@johnqh/mail_box_contracts

Version:

MailBox multi-chain decentralized messaging system with USDC fees and revenue sharing - Supports both EVM chains and Solana with unified TypeScript client

237 lines (213 loc) 6.55 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod, } from "./common"; export interface MockUSDCInterface extends Interface { getFunction( nameOrSignature: | "allowance" | "approve" | "balanceOf" | "decimals" | "mint" | "name" | "owner" | "symbol" | "totalSupply" | "transfer" | "transferFrom" ): FunctionFragment; encodeFunctionData( functionFragment: "allowance", values: [AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "approve", values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "balanceOf", values: [AddressLike] ): string; encodeFunctionData(functionFragment: "decimals", values?: undefined): string; encodeFunctionData( functionFragment: "mint", values: [AddressLike, BigNumberish] ): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData( functionFragment: "totalSupply", values?: undefined ): string; encodeFunctionData( functionFragment: "transfer", values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish] ): string; decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult( functionFragment: "totalSupply", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; decodeFunctionResult( functionFragment: "transferFrom", data: BytesLike ): Result; } export interface MockUSDC extends BaseContract { connect(runner?: ContractRunner | null): MockUSDC; waitForDeployment(): Promise<this>; interface: MockUSDCInterface; queryFilter<TCEvent extends TypedContractEvent>( event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise<Array<TypedEventLog<TCEvent>>>; queryFilter<TCEvent extends TypedContractEvent>( filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise<Array<TypedEventLog<TCEvent>>>; on<TCEvent extends TypedContractEvent>( event: TCEvent, listener: TypedListener<TCEvent> ): Promise<this>; on<TCEvent extends TypedContractEvent>( filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent> ): Promise<this>; once<TCEvent extends TypedContractEvent>( event: TCEvent, listener: TypedListener<TCEvent> ): Promise<this>; once<TCEvent extends TypedContractEvent>( filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent> ): Promise<this>; listeners<TCEvent extends TypedContractEvent>( event: TCEvent ): Promise<Array<TypedListener<TCEvent>>>; listeners(eventName?: string): Promise<Array<Listener>>; removeAllListeners<TCEvent extends TypedContractEvent>( event?: TCEvent ): Promise<this>; allowance: TypedContractMethod< [arg0: AddressLike, arg1: AddressLike], [bigint], "view" >; approve: TypedContractMethod< [spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable" >; balanceOf: TypedContractMethod<[arg0: AddressLike], [bigint], "view">; decimals: TypedContractMethod<[], [bigint], "view">; mint: TypedContractMethod< [to: AddressLike, amount: BigNumberish], [void], "nonpayable" >; name: TypedContractMethod<[], [string], "view">; owner: TypedContractMethod<[], [string], "view">; symbol: TypedContractMethod<[], [string], "view">; totalSupply: TypedContractMethod<[], [bigint], "view">; transfer: TypedContractMethod< [to: AddressLike, amount: BigNumberish], [boolean], "nonpayable" >; transferFrom: TypedContractMethod< [from: AddressLike, to: AddressLike, amount: BigNumberish], [boolean], "nonpayable" >; getFunction<T extends ContractMethod = ContractMethod>( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "allowance" ): TypedContractMethod< [arg0: AddressLike, arg1: AddressLike], [bigint], "view" >; getFunction( nameOrSignature: "approve" ): TypedContractMethod< [spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable" >; getFunction( nameOrSignature: "balanceOf" ): TypedContractMethod<[arg0: AddressLike], [bigint], "view">; getFunction( nameOrSignature: "decimals" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "mint" ): TypedContractMethod< [to: AddressLike, amount: BigNumberish], [void], "nonpayable" >; getFunction( nameOrSignature: "name" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "owner" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "symbol" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "totalSupply" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "transfer" ): TypedContractMethod< [to: AddressLike, amount: BigNumberish], [boolean], "nonpayable" >; getFunction( nameOrSignature: "transferFrom" ): TypedContractMethod< [from: AddressLike, to: AddressLike, amount: BigNumberish], [boolean], "nonpayable" >; filters: {}; }