UNPKG

@gooddollar/goodprotocol

Version:
116 lines (100 loc) 2.79 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils, } from "ethers"; import type { FunctionFragment, Result } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, } from "../../../common"; export interface ERC677ReceiverInterface extends utils.Interface { functions: { "onTokenTransfer(address,uint256,bytes)": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "onTokenTransfer"): FunctionFragment; encodeFunctionData( functionFragment: "onTokenTransfer", values: [string, BigNumberish, BytesLike] ): string; decodeFunctionResult( functionFragment: "onTokenTransfer", data: BytesLike ): Result; events: {}; } export interface ERC677Receiver extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise<this>; interface: ERC677ReceiverInterface; queryFilter<TEvent extends TypedEvent>( event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise<Array<TEvent>>; listeners<TEvent extends TypedEvent>( eventFilter?: TypedEventFilter<TEvent> ): Array<TypedListener<TEvent>>; listeners(eventName?: string): Array<Listener>; removeAllListeners<TEvent extends TypedEvent>( eventFilter: TypedEventFilter<TEvent> ): this; removeAllListeners(eventName?: string): this; off: OnEvent<this>; on: OnEvent<this>; once: OnEvent<this>; removeListener: OnEvent<this>; functions: { onTokenTransfer( _from: string, _value: BigNumberish, _data: BytesLike, overrides?: Overrides & { from?: string } ): Promise<ContractTransaction>; }; onTokenTransfer( _from: string, _value: BigNumberish, _data: BytesLike, overrides?: Overrides & { from?: string } ): Promise<ContractTransaction>; callStatic: { onTokenTransfer( _from: string, _value: BigNumberish, _data: BytesLike, overrides?: CallOverrides ): Promise<boolean>; }; filters: {}; estimateGas: { onTokenTransfer( _from: string, _value: BigNumberish, _data: BytesLike, overrides?: Overrides & { from?: string } ): Promise<BigNumber>; }; populateTransaction: { onTokenTransfer( _from: string, _value: BigNumberish, _data: BytesLike, overrides?: Overrides & { from?: string } ): Promise<PopulatedTransaction>; }; }