import { BigNumber } from "@joincivil/typescript-types"; import { EthAddress, TwoStepEthTransaction } from "../../types"; import { EthApi } from "@joincivil/ethapi"; import { MultiSigWalletContract } from "../generated/wrappers/multi_sig_wallet"; export declare class MultisigTransaction { static fromId(ethApi: EthApi, instance: MultiSigWalletContract, id: number): Promise; readonly id: number; readonly information: Readonly; private readonly ethApi; private readonly instance; private constructor(); /** * Returns whether this transaction can be executed: * - Wasn't executed beforehand * - Has enough confirmations */ canBeExecuted(): Promise; /** * Returns how many confirmations this Transaction needs to be executed * This is a sugar function, which is the same as the one in the main Multisig wrapper */ requiredConfirmations(): Promise; /** * How many owners (and who) have confirmed this transaction */ confirmations(): Promise; /** * Execute a transaction. * Most of the time, the transaction is executed during confirmation or submition. * This call is mostly useful when you change owners or requirements * and then need to execute transactions * @returns This transaction with the updated state */ execute(): Promise>; /** * Confirms that you as an owner want to send this transaction * If after this confirmation, the requirements are met, the transaction is additionally executed * @returns This transaction with the updated state */ confirmTransaction(): Promise>; /** * Revokes your confirmation before the transaction is executed. * @returns This transaciton with the updated state */ revokeConfirmation(): Promise>; } export interface MultisigTransactionStruct { destination: EthAddress; value: BigNumber; data: string; executed: boolean; }