/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import BN from "bn.js"; import { EventData, PastEventOptions } from "../Web3Types"; export interface TestForwarderTargetContract extends Truffle.Contract { "new"( forwarder: string, meta?: Truffle.TransactionDetails ): Promise; } export interface Reverting { name: "Reverting"; args: { message: string; 0: string; }; } export interface TestForwarderMessage { name: "TestForwarderMessage"; args: { message: string; realMsgData: string; realSender: string; msgSender: string; origin: string; 0: string; 1: string; 2: string; 3: string; 4: string; }; } type AllEvents = Reverting | TestForwarderMessage; export interface TestForwarderTargetInstance 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; emitMessage: { (message: string, txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call( message: string, txDetails?: Truffle.TransactionDetails ): Promise; sendTransaction( message: string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( message: string, txDetails?: Truffle.TransactionDetails ): Promise; }; publicMsgSender(txDetails?: Truffle.TransactionDetails): Promise; publicMsgData(txDetails?: Truffle.TransactionDetails): Promise; mustReceiveEth: { ( value: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise>; call( value: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; sendTransaction( value: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( value: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; }; testRevert: { (txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call(txDetails?: Truffle.TransactionDetails): Promise; sendTransaction(txDetails?: Truffle.TransactionDetails): Promise; estimateGas(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; emitMessage: { (message: string, txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call( message: string, txDetails?: Truffle.TransactionDetails ): Promise; sendTransaction( message: string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( message: string, txDetails?: Truffle.TransactionDetails ): Promise; }; publicMsgSender(txDetails?: Truffle.TransactionDetails): Promise; publicMsgData(txDetails?: Truffle.TransactionDetails): Promise; mustReceiveEth: { ( value: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise>; call( value: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; sendTransaction( value: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( value: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; }; testRevert: { (txDetails?: Truffle.TransactionDetails): Promise< Truffle.TransactionResponse >; call(txDetails?: Truffle.TransactionDetails): Promise; sendTransaction(txDetails?: Truffle.TransactionDetails): Promise; estimateGas(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; }