/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import BN from "bn.js"; import { EventData, PastEventOptions } from "../Web3Types"; export interface PayableWithEmitContract extends Truffle.Contract { "new"(meta?: Truffle.TransactionDetails): Promise; } export interface GasUsed { name: "GasUsed"; args: { gasUsed: BN; success: boolean; 0: BN; 1: boolean; }; } export interface Received { name: "Received"; args: { sender: string; value: BN; gasleft: BN; 0: string; 1: BN; 2: BN; }; } type AllEvents = GasUsed | Received; export interface PayableWithEmitInstance extends Truffle.ContractInstance { /** * :warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder.Method is not a required method to allow Recipients to trust multiple Forwarders. Not recommended yet. */ getTrustedForwarder(txDetails?: Truffle.TransactionDetails): Promise; /** * :warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder. * @param forwarder The address of the Forwarder contract that is being used. */ isTrustedForwarder( forwarder: string, txDetails?: Truffle.TransactionDetails ): Promise; doSend: { (target: string, txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call(target: string, txDetails?: Truffle.TransactionDetails): Promise; sendTransaction( target: string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( target: string, txDetails?: Truffle.TransactionDetails ): Promise; }; methods: { /** * :warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder.Method is not a required method to allow Recipients to trust multiple Forwarders. Not recommended yet. */ getTrustedForwarder( txDetails?: Truffle.TransactionDetails ): Promise; /** * :warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder. * @param forwarder The address of the Forwarder contract that is being used. */ isTrustedForwarder( forwarder: string, txDetails?: Truffle.TransactionDetails ): Promise; doSend: { (target: string, txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call( target: string, txDetails?: Truffle.TransactionDetails ): Promise; sendTransaction( target: string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( target: string, txDetails?: Truffle.TransactionDetails ): Promise; }; }; getPastEvents(event: string): Promise; getPastEvents( event: string, options: PastEventOptions, callback: (error: Error, event: EventData) => void ): Promise; getPastEvents(event: string, options: PastEventOptions): Promise; getPastEvents( event: string, callback: (error: Error, event: EventData) => void ): Promise; }