import BigNumber from "bignumber.js"; import PrivateKey from "../crypto/private-key"; import Echo from "../echo"; import { Abi } from "../interfaces/Abi"; import ContractResult from "./ContractResult"; import { Method } from "./Method"; export default class Contract> { __TDeployArgs__: TDeployArgs; static deploy( code: Buffer | string, privateKey: PrivateKey, options?: { echo?: Echo, ethAccuracy?: boolean, supportedAssetId?: string, value?: { amount?: number | string | BigNumber, asset_id?: string }, }, ): Promise; static deploy>( code: Buffer | string, privateKey: PrivateKey, options: { echo?: Echo, abi: Abi, ethAccuracy?: boolean, supportedAssetId?: string, value?: { amount?: number | string | BigNumber, asset_id?: string }, args?: T, }, ): Promise>; readonly namesDublications: Set; readonly methods: { [nameOrHashOrSignature: string]: (...args: Array) => Method }; constructor(abi: Abi, options?: { echo?: Echo, contractId?: string }); abi: Abi; echo: Echo; address?: string; deploy(code: Buffer | string, privateKey: PrivateKey, options?: { ethAccuracy?: boolean, supportedAssetId?: string, value?: { amount?: number | string | BigNumber, asset_id?: string }, args?: TDeployArgs, echo?: Echo, }): Promise>; parseLogs(logs: Array<{ address?: string, log: [string], data: string }>): { [event: string]: { [field: string]: any }, }; fallback( privateKey: PrivateKey, value: number | string | BigNumber, assetId?: string, ): Promise>; }