import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "./common"; export declare namespace TokenNetwork { type WithdrawInputStruct = { participant: PromiseOrValue; total_withdraw: PromiseOrValue; withdrawable_until: PromiseOrValue; participant_signature: PromiseOrValue; partner_signature: PromiseOrValue; }; type WithdrawInputStructOutput = [ string, BigNumber, BigNumber, string, string ] & { participant: string; total_withdraw: BigNumber; withdrawable_until: BigNumber; participant_signature: string; partner_signature: string; }; type SettleInputStruct = { participant: PromiseOrValue; transferred_amount: PromiseOrValue; locked_amount: PromiseOrValue; locksroot: PromiseOrValue; }; type SettleInputStructOutput = [ string, BigNumber, BigNumber, string ] & { participant: string; transferred_amount: BigNumber; locked_amount: BigNumber; locksroot: string; }; } export interface TokenNetworkInterface extends utils.Interface { functions: { "chain_id()": FunctionFragment; "changeController(address)": FunctionFragment; "channel_counter()": FunctionFragment; "channel_participant_deposit_limit()": FunctionFragment; "channels(uint256)": FunctionFragment; "closeChannel(uint256,address,address,bytes32,uint256,bytes32,bytes,bytes)": FunctionFragment; "contractExists(address)": FunctionFragment; "controller()": FunctionFragment; "cooperativeSettle(uint256,(address,uint256,uint256,bytes,bytes),(address,uint256,uint256,bytes,bytes))": FunctionFragment; "deprecate()": FunctionFragment; "failsafe_addition(uint256,uint256)": FunctionFragment; "failsafe_subtract(uint256,uint256)": FunctionFragment; "getChannelIdentifier(address,address)": FunctionFragment; "getChannelParticipantInfo(uint256,address,address)": FunctionFragment; "getChannelState(uint256,address,address)": FunctionFragment; "getMaxPossibleReceivableAmount(uint256,uint256,uint256,uint256,uint256,uint256)": FunctionFragment; "getParticipantsHash(address,address)": FunctionFragment; "getUnlockIdentifier(uint256,address,address)": FunctionFragment; "max(uint256,uint256)": FunctionFragment; "min(uint256,uint256)": FunctionFragment; "openChannel(address,address)": FunctionFragment; "openChannelWithDeposit(address,address,uint256)": FunctionFragment; "participants_hash_to_channel_identifier(bytes32)": FunctionFragment; "removeLimits()": FunctionFragment; "safety_deprecation_switch()": FunctionFragment; "secret_registry()": FunctionFragment; "setTotalDeposit(uint256,address,uint256,address)": FunctionFragment; "setTotalWithdraw(uint256,address,uint256,uint256,bytes,bytes)": FunctionFragment; "setTotalWithdraw2(uint256,(address,uint256,uint256,bytes,bytes))": FunctionFragment; "settleChannel(uint256,address,uint256,uint256,bytes32,address,uint256,uint256,bytes32)": FunctionFragment; "settleChannel2(uint256,(address,uint256,uint256,bytes32),(address,uint256,uint256,bytes32))": FunctionFragment; "settle_timeout()": FunctionFragment; "settleable_after(uint256)": FunctionFragment; "signature_prefix()": FunctionFragment; "token()": FunctionFragment; "token_network_deposit_limit()": FunctionFragment; "unlock(uint256,address,address,bytes)": FunctionFragment; "updateNonClosingBalanceProof(uint256,address,address,bytes32,uint256,bytes32,bytes,bytes)": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "chain_id" | "changeController" | "channel_counter" | "channel_participant_deposit_limit" | "channels" | "closeChannel" | "contractExists" | "controller" | "cooperativeSettle" | "deprecate" | "failsafe_addition" | "failsafe_subtract" | "getChannelIdentifier" | "getChannelParticipantInfo" | "getChannelState" | "getMaxPossibleReceivableAmount" | "getParticipantsHash" | "getUnlockIdentifier" | "max" | "min" | "openChannel" | "openChannelWithDeposit" | "participants_hash_to_channel_identifier" | "removeLimits" | "safety_deprecation_switch" | "secret_registry" | "setTotalDeposit" | "setTotalWithdraw" | "setTotalWithdraw2" | "settleChannel" | "settleChannel2" | "settle_timeout" | "settleable_after" | "signature_prefix" | "token" | "token_network_deposit_limit" | "unlock" | "updateNonClosingBalanceProof"): FunctionFragment; encodeFunctionData(functionFragment: "chain_id", values?: undefined): string; encodeFunctionData(functionFragment: "changeController", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "channel_counter", values?: undefined): string; encodeFunctionData(functionFragment: "channel_participant_deposit_limit", values?: undefined): string; encodeFunctionData(functionFragment: "channels", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "closeChannel", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "contractExists", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "controller", values?: undefined): string; encodeFunctionData(functionFragment: "cooperativeSettle", values: [ PromiseOrValue, TokenNetwork.WithdrawInputStruct, TokenNetwork.WithdrawInputStruct ]): string; encodeFunctionData(functionFragment: "deprecate", values?: undefined): string; encodeFunctionData(functionFragment: "failsafe_addition", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "failsafe_subtract", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "getChannelIdentifier", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "getChannelParticipantInfo", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "getChannelState", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "getMaxPossibleReceivableAmount", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "getParticipantsHash", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "getUnlockIdentifier", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "max", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "min", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "openChannel", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "openChannelWithDeposit", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "participants_hash_to_channel_identifier", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "removeLimits", values?: undefined): string; encodeFunctionData(functionFragment: "safety_deprecation_switch", values?: undefined): string; encodeFunctionData(functionFragment: "secret_registry", values?: undefined): string; encodeFunctionData(functionFragment: "setTotalDeposit", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "setTotalWithdraw", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "setTotalWithdraw2", values: [PromiseOrValue, TokenNetwork.WithdrawInputStruct]): string; encodeFunctionData(functionFragment: "settleChannel", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "settleChannel2", values: [ PromiseOrValue, TokenNetwork.SettleInputStruct, TokenNetwork.SettleInputStruct ]): string; encodeFunctionData(functionFragment: "settle_timeout", values?: undefined): string; encodeFunctionData(functionFragment: "settleable_after", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "signature_prefix", values?: undefined): string; encodeFunctionData(functionFragment: "token", values?: undefined): string; encodeFunctionData(functionFragment: "token_network_deposit_limit", values?: undefined): string; encodeFunctionData(functionFragment: "unlock", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "updateNonClosingBalanceProof", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; decodeFunctionResult(functionFragment: "chain_id", data: BytesLike): Result; decodeFunctionResult(functionFragment: "changeController", data: BytesLike): Result; decodeFunctionResult(functionFragment: "channel_counter", data: BytesLike): Result; decodeFunctionResult(functionFragment: "channel_participant_deposit_limit", data: BytesLike): Result; decodeFunctionResult(functionFragment: "channels", data: BytesLike): Result; decodeFunctionResult(functionFragment: "closeChannel", data: BytesLike): Result; decodeFunctionResult(functionFragment: "contractExists", data: BytesLike): Result; decodeFunctionResult(functionFragment: "controller", data: BytesLike): Result; decodeFunctionResult(functionFragment: "cooperativeSettle", data: BytesLike): Result; decodeFunctionResult(functionFragment: "deprecate", data: BytesLike): Result; decodeFunctionResult(functionFragment: "failsafe_addition", data: BytesLike): Result; decodeFunctionResult(functionFragment: "failsafe_subtract", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getChannelIdentifier", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getChannelParticipantInfo", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getChannelState", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getMaxPossibleReceivableAmount", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getParticipantsHash", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getUnlockIdentifier", data: BytesLike): Result; decodeFunctionResult(functionFragment: "max", data: BytesLike): Result; decodeFunctionResult(functionFragment: "min", data: BytesLike): Result; decodeFunctionResult(functionFragment: "openChannel", data: BytesLike): Result; decodeFunctionResult(functionFragment: "openChannelWithDeposit", data: BytesLike): Result; decodeFunctionResult(functionFragment: "participants_hash_to_channel_identifier", data: BytesLike): Result; decodeFunctionResult(functionFragment: "removeLimits", data: BytesLike): Result; decodeFunctionResult(functionFragment: "safety_deprecation_switch", data: BytesLike): Result; decodeFunctionResult(functionFragment: "secret_registry", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setTotalDeposit", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setTotalWithdraw", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setTotalWithdraw2", data: BytesLike): Result; decodeFunctionResult(functionFragment: "settleChannel", data: BytesLike): Result; decodeFunctionResult(functionFragment: "settleChannel2", data: BytesLike): Result; decodeFunctionResult(functionFragment: "settle_timeout", data: BytesLike): Result; decodeFunctionResult(functionFragment: "settleable_after", data: BytesLike): Result; decodeFunctionResult(functionFragment: "signature_prefix", data: BytesLike): Result; decodeFunctionResult(functionFragment: "token", data: BytesLike): Result; decodeFunctionResult(functionFragment: "token_network_deposit_limit", data: BytesLike): Result; decodeFunctionResult(functionFragment: "unlock", data: BytesLike): Result; decodeFunctionResult(functionFragment: "updateNonClosingBalanceProof", data: BytesLike): Result; events: { "ChannelClosed(uint256,address,uint256,bytes32)": EventFragment; "ChannelNewDeposit(uint256,address,uint256)": EventFragment; "ChannelOpened(uint256,address,address)": EventFragment; "ChannelSettled(uint256,address,uint256,bytes32,address,uint256,bytes32)": EventFragment; "ChannelUnlocked(uint256,address,address,bytes32,uint256,uint256)": EventFragment; "ChannelWithdraw(uint256,address,uint256)": EventFragment; "DeprecationSwitch(bool)": EventFragment; "NonClosingBalanceProofUpdated(uint256,address,uint256,bytes32)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "ChannelClosed"): EventFragment; getEvent(nameOrSignatureOrTopic: "ChannelNewDeposit"): EventFragment; getEvent(nameOrSignatureOrTopic: "ChannelOpened"): EventFragment; getEvent(nameOrSignatureOrTopic: "ChannelSettled"): EventFragment; getEvent(nameOrSignatureOrTopic: "ChannelUnlocked"): EventFragment; getEvent(nameOrSignatureOrTopic: "ChannelWithdraw"): EventFragment; getEvent(nameOrSignatureOrTopic: "DeprecationSwitch"): EventFragment; getEvent(nameOrSignatureOrTopic: "NonClosingBalanceProofUpdated"): EventFragment; } export interface ChannelClosedEventObject { channel_identifier: BigNumber; closing_participant: string; nonce: BigNumber; balance_hash: string; } export declare type ChannelClosedEvent = TypedEvent<[ BigNumber, string, BigNumber, string ], ChannelClosedEventObject>; export declare type ChannelClosedEventFilter = TypedEventFilter; export interface ChannelNewDepositEventObject { channel_identifier: BigNumber; participant: string; total_deposit: BigNumber; } export declare type ChannelNewDepositEvent = TypedEvent<[ BigNumber, string, BigNumber ], ChannelNewDepositEventObject>; export declare type ChannelNewDepositEventFilter = TypedEventFilter; export interface ChannelOpenedEventObject { channel_identifier: BigNumber; participant1: string; participant2: string; } export declare type ChannelOpenedEvent = TypedEvent<[ BigNumber, string, string ], ChannelOpenedEventObject>; export declare type ChannelOpenedEventFilter = TypedEventFilter; export interface ChannelSettledEventObject { channel_identifier: BigNumber; participant1: string; participant1_amount: BigNumber; participant1_locksroot: string; participant2: string; participant2_amount: BigNumber; participant2_locksroot: string; } export declare type ChannelSettledEvent = TypedEvent<[ BigNumber, string, BigNumber, string, string, BigNumber, string ], ChannelSettledEventObject>; export declare type ChannelSettledEventFilter = TypedEventFilter; export interface ChannelUnlockedEventObject { channel_identifier: BigNumber; receiver: string; sender: string; locksroot: string; unlocked_amount: BigNumber; returned_tokens: BigNumber; } export declare type ChannelUnlockedEvent = TypedEvent<[ BigNumber, string, string, string, BigNumber, BigNumber ], ChannelUnlockedEventObject>; export declare type ChannelUnlockedEventFilter = TypedEventFilter; export interface ChannelWithdrawEventObject { channel_identifier: BigNumber; participant: string; total_withdraw: BigNumber; } export declare type ChannelWithdrawEvent = TypedEvent<[ BigNumber, string, BigNumber ], ChannelWithdrawEventObject>; export declare type ChannelWithdrawEventFilter = TypedEventFilter; export interface DeprecationSwitchEventObject { new_value: boolean; } export declare type DeprecationSwitchEvent = TypedEvent<[ boolean ], DeprecationSwitchEventObject>; export declare type DeprecationSwitchEventFilter = TypedEventFilter; export interface NonClosingBalanceProofUpdatedEventObject { channel_identifier: BigNumber; closing_participant: string; nonce: BigNumber; balance_hash: string; } export declare type NonClosingBalanceProofUpdatedEvent = TypedEvent<[ BigNumber, string, BigNumber, string ], NonClosingBalanceProofUpdatedEventObject>; export declare type NonClosingBalanceProofUpdatedEventFilter = TypedEventFilter; export interface TokenNetwork extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: TokenNetworkInterface; queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; listeners(eventFilter?: TypedEventFilter): Array>; listeners(eventName?: string): Array; removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { chain_id(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; changeController(new_controller: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; channel_counter(overrides?: CallOverrides): Promise<[BigNumber]>; channel_participant_deposit_limit(overrides?: CallOverrides): Promise<[BigNumber]>; channels(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[number] & { state: number; }>; closeChannel(channel_identifier: PromiseOrValue, non_closing_participant: PromiseOrValue, closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, non_closing_signature: PromiseOrValue, closing_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; contractExists(contract_address: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; controller(overrides?: CallOverrides): Promise<[string]>; cooperativeSettle(channel_identifier: PromiseOrValue, data1: TokenNetwork.WithdrawInputStruct, data2: TokenNetwork.WithdrawInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; deprecate(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; failsafe_addition(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; failsafe_subtract(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>; getChannelIdentifier(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; getChannelParticipantInfo(channel_identifier: PromiseOrValue, participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise<[ BigNumber, BigNumber, boolean, string, BigNumber, string, BigNumber ]>; getChannelState(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: CallOverrides): Promise<[number]>; getMaxPossibleReceivableAmount(participant1_deposit: PromiseOrValue, participant1_withdrawn: PromiseOrValue, participant1_transferred: PromiseOrValue, participant1_locked: PromiseOrValue, participant2_transferred: PromiseOrValue, participant2_locked: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; getParticipantsHash(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; getUnlockIdentifier(channel_identifier: PromiseOrValue, sender: PromiseOrValue, receiver: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; max(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; min(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; openChannel(participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; openChannelWithDeposit(participant1: PromiseOrValue, participant2: PromiseOrValue, participant1_total_deposit: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; participants_hash_to_channel_identifier(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; removeLimits(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; safety_deprecation_switch(overrides?: CallOverrides): Promise<[boolean]>; secret_registry(overrides?: CallOverrides): Promise<[string]>; setTotalDeposit(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_deposit: PromiseOrValue, partner: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTotalWithdraw(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_withdraw: PromiseOrValue, withdrawable_until: PromiseOrValue, participant_signature: PromiseOrValue, partner_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTotalWithdraw2(channel_identifier: PromiseOrValue, withdraw_data: TokenNetwork.WithdrawInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settleChannel(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant1_transferred_amount: PromiseOrValue, participant1_locked_amount: PromiseOrValue, participant1_locksroot: PromiseOrValue, participant2: PromiseOrValue, participant2_transferred_amount: PromiseOrValue, participant2_locked_amount: PromiseOrValue, participant2_locksroot: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settleChannel2(channel_identifier: PromiseOrValue, participant1_settlement: TokenNetwork.SettleInputStruct, participant2_settlement: TokenNetwork.SettleInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settle_timeout(overrides?: CallOverrides): Promise<[BigNumber]>; settleable_after(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; signature_prefix(overrides?: CallOverrides): Promise<[string]>; token(overrides?: CallOverrides): Promise<[string]>; token_network_deposit_limit(overrides?: CallOverrides): Promise<[BigNumber]>; unlock(channel_identifier: PromiseOrValue, receiver: PromiseOrValue, sender: PromiseOrValue, locks: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; updateNonClosingBalanceProof(channel_identifier: PromiseOrValue, closing_participant: PromiseOrValue, non_closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, closing_signature: PromiseOrValue, non_closing_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; chain_id(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; changeController(new_controller: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; channel_counter(overrides?: CallOverrides): Promise; channel_participant_deposit_limit(overrides?: CallOverrides): Promise; channels(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; closeChannel(channel_identifier: PromiseOrValue, non_closing_participant: PromiseOrValue, closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, non_closing_signature: PromiseOrValue, closing_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; contractExists(contract_address: PromiseOrValue, overrides?: CallOverrides): Promise; controller(overrides?: CallOverrides): Promise; cooperativeSettle(channel_identifier: PromiseOrValue, data1: TokenNetwork.WithdrawInputStruct, data2: TokenNetwork.WithdrawInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; deprecate(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; failsafe_addition(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; failsafe_subtract(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>; getChannelIdentifier(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getChannelParticipantInfo(channel_identifier: PromiseOrValue, participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise<[ BigNumber, BigNumber, boolean, string, BigNumber, string, BigNumber ]>; getChannelState(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: CallOverrides): Promise; getMaxPossibleReceivableAmount(participant1_deposit: PromiseOrValue, participant1_withdrawn: PromiseOrValue, participant1_transferred: PromiseOrValue, participant1_locked: PromiseOrValue, participant2_transferred: PromiseOrValue, participant2_locked: PromiseOrValue, overrides?: CallOverrides): Promise; getParticipantsHash(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getUnlockIdentifier(channel_identifier: PromiseOrValue, sender: PromiseOrValue, receiver: PromiseOrValue, overrides?: CallOverrides): Promise; max(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; min(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; openChannel(participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; openChannelWithDeposit(participant1: PromiseOrValue, participant2: PromiseOrValue, participant1_total_deposit: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; participants_hash_to_channel_identifier(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; removeLimits(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; safety_deprecation_switch(overrides?: CallOverrides): Promise; secret_registry(overrides?: CallOverrides): Promise; setTotalDeposit(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_deposit: PromiseOrValue, partner: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTotalWithdraw(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_withdraw: PromiseOrValue, withdrawable_until: PromiseOrValue, participant_signature: PromiseOrValue, partner_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTotalWithdraw2(channel_identifier: PromiseOrValue, withdraw_data: TokenNetwork.WithdrawInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settleChannel(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant1_transferred_amount: PromiseOrValue, participant1_locked_amount: PromiseOrValue, participant1_locksroot: PromiseOrValue, participant2: PromiseOrValue, participant2_transferred_amount: PromiseOrValue, participant2_locked_amount: PromiseOrValue, participant2_locksroot: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settleChannel2(channel_identifier: PromiseOrValue, participant1_settlement: TokenNetwork.SettleInputStruct, participant2_settlement: TokenNetwork.SettleInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settle_timeout(overrides?: CallOverrides): Promise; settleable_after(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; signature_prefix(overrides?: CallOverrides): Promise; token(overrides?: CallOverrides): Promise; token_network_deposit_limit(overrides?: CallOverrides): Promise; unlock(channel_identifier: PromiseOrValue, receiver: PromiseOrValue, sender: PromiseOrValue, locks: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; updateNonClosingBalanceProof(channel_identifier: PromiseOrValue, closing_participant: PromiseOrValue, non_closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, closing_signature: PromiseOrValue, non_closing_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; callStatic: { chain_id(overrides?: CallOverrides): Promise; changeController(new_controller: PromiseOrValue, overrides?: CallOverrides): Promise; channel_counter(overrides?: CallOverrides): Promise; channel_participant_deposit_limit(overrides?: CallOverrides): Promise; channels(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; closeChannel(channel_identifier: PromiseOrValue, non_closing_participant: PromiseOrValue, closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, non_closing_signature: PromiseOrValue, closing_signature: PromiseOrValue, overrides?: CallOverrides): Promise; contractExists(contract_address: PromiseOrValue, overrides?: CallOverrides): Promise; controller(overrides?: CallOverrides): Promise; cooperativeSettle(channel_identifier: PromiseOrValue, data1: TokenNetwork.WithdrawInputStruct, data2: TokenNetwork.WithdrawInputStruct, overrides?: CallOverrides): Promise; deprecate(overrides?: CallOverrides): Promise; failsafe_addition(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; failsafe_subtract(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>; getChannelIdentifier(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getChannelParticipantInfo(channel_identifier: PromiseOrValue, participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise<[ BigNumber, BigNumber, boolean, string, BigNumber, string, BigNumber ]>; getChannelState(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: CallOverrides): Promise; getMaxPossibleReceivableAmount(participant1_deposit: PromiseOrValue, participant1_withdrawn: PromiseOrValue, participant1_transferred: PromiseOrValue, participant1_locked: PromiseOrValue, participant2_transferred: PromiseOrValue, participant2_locked: PromiseOrValue, overrides?: CallOverrides): Promise; getParticipantsHash(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getUnlockIdentifier(channel_identifier: PromiseOrValue, sender: PromiseOrValue, receiver: PromiseOrValue, overrides?: CallOverrides): Promise; max(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; min(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; openChannel(participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: CallOverrides): Promise; openChannelWithDeposit(participant1: PromiseOrValue, participant2: PromiseOrValue, participant1_total_deposit: PromiseOrValue, overrides?: CallOverrides): Promise; participants_hash_to_channel_identifier(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; removeLimits(overrides?: CallOverrides): Promise; safety_deprecation_switch(overrides?: CallOverrides): Promise; secret_registry(overrides?: CallOverrides): Promise; setTotalDeposit(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_deposit: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; setTotalWithdraw(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_withdraw: PromiseOrValue, withdrawable_until: PromiseOrValue, participant_signature: PromiseOrValue, partner_signature: PromiseOrValue, overrides?: CallOverrides): Promise; setTotalWithdraw2(channel_identifier: PromiseOrValue, withdraw_data: TokenNetwork.WithdrawInputStruct, overrides?: CallOverrides): Promise; settleChannel(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant1_transferred_amount: PromiseOrValue, participant1_locked_amount: PromiseOrValue, participant1_locksroot: PromiseOrValue, participant2: PromiseOrValue, participant2_transferred_amount: PromiseOrValue, participant2_locked_amount: PromiseOrValue, participant2_locksroot: PromiseOrValue, overrides?: CallOverrides): Promise; settleChannel2(channel_identifier: PromiseOrValue, participant1_settlement: TokenNetwork.SettleInputStruct, participant2_settlement: TokenNetwork.SettleInputStruct, overrides?: CallOverrides): Promise; settle_timeout(overrides?: CallOverrides): Promise; settleable_after(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; signature_prefix(overrides?: CallOverrides): Promise; token(overrides?: CallOverrides): Promise; token_network_deposit_limit(overrides?: CallOverrides): Promise; unlock(channel_identifier: PromiseOrValue, receiver: PromiseOrValue, sender: PromiseOrValue, locks: PromiseOrValue, overrides?: CallOverrides): Promise; updateNonClosingBalanceProof(channel_identifier: PromiseOrValue, closing_participant: PromiseOrValue, non_closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, closing_signature: PromiseOrValue, non_closing_signature: PromiseOrValue, overrides?: CallOverrides): Promise; }; filters: { "ChannelClosed(uint256,address,uint256,bytes32)"(channel_identifier?: PromiseOrValue | null, closing_participant?: PromiseOrValue | null, nonce?: PromiseOrValue | null, balance_hash?: null): ChannelClosedEventFilter; ChannelClosed(channel_identifier?: PromiseOrValue | null, closing_participant?: PromiseOrValue | null, nonce?: PromiseOrValue | null, balance_hash?: null): ChannelClosedEventFilter; "ChannelNewDeposit(uint256,address,uint256)"(channel_identifier?: PromiseOrValue | null, participant?: PromiseOrValue | null, total_deposit?: null): ChannelNewDepositEventFilter; ChannelNewDeposit(channel_identifier?: PromiseOrValue | null, participant?: PromiseOrValue | null, total_deposit?: null): ChannelNewDepositEventFilter; "ChannelOpened(uint256,address,address)"(channel_identifier?: PromiseOrValue | null, participant1?: PromiseOrValue | null, participant2?: PromiseOrValue | null): ChannelOpenedEventFilter; ChannelOpened(channel_identifier?: PromiseOrValue | null, participant1?: PromiseOrValue | null, participant2?: PromiseOrValue | null): ChannelOpenedEventFilter; "ChannelSettled(uint256,address,uint256,bytes32,address,uint256,bytes32)"(channel_identifier?: PromiseOrValue | null, participant1?: null, participant1_amount?: null, participant1_locksroot?: null, participant2?: null, participant2_amount?: null, participant2_locksroot?: null): ChannelSettledEventFilter; ChannelSettled(channel_identifier?: PromiseOrValue | null, participant1?: null, participant1_amount?: null, participant1_locksroot?: null, participant2?: null, participant2_amount?: null, participant2_locksroot?: null): ChannelSettledEventFilter; "ChannelUnlocked(uint256,address,address,bytes32,uint256,uint256)"(channel_identifier?: PromiseOrValue | null, receiver?: PromiseOrValue | null, sender?: PromiseOrValue | null, locksroot?: null, unlocked_amount?: null, returned_tokens?: null): ChannelUnlockedEventFilter; ChannelUnlocked(channel_identifier?: PromiseOrValue | null, receiver?: PromiseOrValue | null, sender?: PromiseOrValue | null, locksroot?: null, unlocked_amount?: null, returned_tokens?: null): ChannelUnlockedEventFilter; "ChannelWithdraw(uint256,address,uint256)"(channel_identifier?: PromiseOrValue | null, participant?: PromiseOrValue | null, total_withdraw?: null): ChannelWithdrawEventFilter; ChannelWithdraw(channel_identifier?: PromiseOrValue | null, participant?: PromiseOrValue | null, total_withdraw?: null): ChannelWithdrawEventFilter; "DeprecationSwitch(bool)"(new_value?: null): DeprecationSwitchEventFilter; DeprecationSwitch(new_value?: null): DeprecationSwitchEventFilter; "NonClosingBalanceProofUpdated(uint256,address,uint256,bytes32)"(channel_identifier?: PromiseOrValue | null, closing_participant?: PromiseOrValue | null, nonce?: PromiseOrValue | null, balance_hash?: null): NonClosingBalanceProofUpdatedEventFilter; NonClosingBalanceProofUpdated(channel_identifier?: PromiseOrValue | null, closing_participant?: PromiseOrValue | null, nonce?: PromiseOrValue | null, balance_hash?: null): NonClosingBalanceProofUpdatedEventFilter; }; estimateGas: { chain_id(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; changeController(new_controller: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; channel_counter(overrides?: CallOverrides): Promise; channel_participant_deposit_limit(overrides?: CallOverrides): Promise; channels(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; closeChannel(channel_identifier: PromiseOrValue, non_closing_participant: PromiseOrValue, closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, non_closing_signature: PromiseOrValue, closing_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; contractExists(contract_address: PromiseOrValue, overrides?: CallOverrides): Promise; controller(overrides?: CallOverrides): Promise; cooperativeSettle(channel_identifier: PromiseOrValue, data1: TokenNetwork.WithdrawInputStruct, data2: TokenNetwork.WithdrawInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; deprecate(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; failsafe_addition(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; failsafe_subtract(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; getChannelIdentifier(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getChannelParticipantInfo(channel_identifier: PromiseOrValue, participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getChannelState(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: CallOverrides): Promise; getMaxPossibleReceivableAmount(participant1_deposit: PromiseOrValue, participant1_withdrawn: PromiseOrValue, participant1_transferred: PromiseOrValue, participant1_locked: PromiseOrValue, participant2_transferred: PromiseOrValue, participant2_locked: PromiseOrValue, overrides?: CallOverrides): Promise; getParticipantsHash(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getUnlockIdentifier(channel_identifier: PromiseOrValue, sender: PromiseOrValue, receiver: PromiseOrValue, overrides?: CallOverrides): Promise; max(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; min(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; openChannel(participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; openChannelWithDeposit(participant1: PromiseOrValue, participant2: PromiseOrValue, participant1_total_deposit: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; participants_hash_to_channel_identifier(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; removeLimits(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; safety_deprecation_switch(overrides?: CallOverrides): Promise; secret_registry(overrides?: CallOverrides): Promise; setTotalDeposit(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_deposit: PromiseOrValue, partner: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTotalWithdraw(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_withdraw: PromiseOrValue, withdrawable_until: PromiseOrValue, participant_signature: PromiseOrValue, partner_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTotalWithdraw2(channel_identifier: PromiseOrValue, withdraw_data: TokenNetwork.WithdrawInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settleChannel(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant1_transferred_amount: PromiseOrValue, participant1_locked_amount: PromiseOrValue, participant1_locksroot: PromiseOrValue, participant2: PromiseOrValue, participant2_transferred_amount: PromiseOrValue, participant2_locked_amount: PromiseOrValue, participant2_locksroot: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settleChannel2(channel_identifier: PromiseOrValue, participant1_settlement: TokenNetwork.SettleInputStruct, participant2_settlement: TokenNetwork.SettleInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settle_timeout(overrides?: CallOverrides): Promise; settleable_after(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; signature_prefix(overrides?: CallOverrides): Promise; token(overrides?: CallOverrides): Promise; token_network_deposit_limit(overrides?: CallOverrides): Promise; unlock(channel_identifier: PromiseOrValue, receiver: PromiseOrValue, sender: PromiseOrValue, locks: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; updateNonClosingBalanceProof(channel_identifier: PromiseOrValue, closing_participant: PromiseOrValue, non_closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, closing_signature: PromiseOrValue, non_closing_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; populateTransaction: { chain_id(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; changeController(new_controller: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; channel_counter(overrides?: CallOverrides): Promise; channel_participant_deposit_limit(overrides?: CallOverrides): Promise; channels(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; closeChannel(channel_identifier: PromiseOrValue, non_closing_participant: PromiseOrValue, closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, non_closing_signature: PromiseOrValue, closing_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; contractExists(contract_address: PromiseOrValue, overrides?: CallOverrides): Promise; controller(overrides?: CallOverrides): Promise; cooperativeSettle(channel_identifier: PromiseOrValue, data1: TokenNetwork.WithdrawInputStruct, data2: TokenNetwork.WithdrawInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; deprecate(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; failsafe_addition(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; failsafe_subtract(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; getChannelIdentifier(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getChannelParticipantInfo(channel_identifier: PromiseOrValue, participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getChannelState(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: CallOverrides): Promise; getMaxPossibleReceivableAmount(participant1_deposit: PromiseOrValue, participant1_withdrawn: PromiseOrValue, participant1_transferred: PromiseOrValue, participant1_locked: PromiseOrValue, participant2_transferred: PromiseOrValue, participant2_locked: PromiseOrValue, overrides?: CallOverrides): Promise; getParticipantsHash(participant: PromiseOrValue, partner: PromiseOrValue, overrides?: CallOverrides): Promise; getUnlockIdentifier(channel_identifier: PromiseOrValue, sender: PromiseOrValue, receiver: PromiseOrValue, overrides?: CallOverrides): Promise; max(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; min(a: PromiseOrValue, b: PromiseOrValue, overrides?: CallOverrides): Promise; openChannel(participant1: PromiseOrValue, participant2: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; openChannelWithDeposit(participant1: PromiseOrValue, participant2: PromiseOrValue, participant1_total_deposit: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; participants_hash_to_channel_identifier(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; removeLimits(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; safety_deprecation_switch(overrides?: CallOverrides): Promise; secret_registry(overrides?: CallOverrides): Promise; setTotalDeposit(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_deposit: PromiseOrValue, partner: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTotalWithdraw(channel_identifier: PromiseOrValue, participant: PromiseOrValue, total_withdraw: PromiseOrValue, withdrawable_until: PromiseOrValue, participant_signature: PromiseOrValue, partner_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTotalWithdraw2(channel_identifier: PromiseOrValue, withdraw_data: TokenNetwork.WithdrawInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settleChannel(channel_identifier: PromiseOrValue, participant1: PromiseOrValue, participant1_transferred_amount: PromiseOrValue, participant1_locked_amount: PromiseOrValue, participant1_locksroot: PromiseOrValue, participant2: PromiseOrValue, participant2_transferred_amount: PromiseOrValue, participant2_locked_amount: PromiseOrValue, participant2_locksroot: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settleChannel2(channel_identifier: PromiseOrValue, participant1_settlement: TokenNetwork.SettleInputStruct, participant2_settlement: TokenNetwork.SettleInputStruct, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; settle_timeout(overrides?: CallOverrides): Promise; settleable_after(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; signature_prefix(overrides?: CallOverrides): Promise; token(overrides?: CallOverrides): Promise; token_network_deposit_limit(overrides?: CallOverrides): Promise; unlock(channel_identifier: PromiseOrValue, receiver: PromiseOrValue, sender: PromiseOrValue, locks: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; updateNonClosingBalanceProof(channel_identifier: PromiseOrValue, closing_participant: PromiseOrValue, non_closing_participant: PromiseOrValue, balance_hash: PromiseOrValue, nonce: PromiseOrValue, additional_hash: PromiseOrValue, closing_signature: PromiseOrValue, non_closing_signature: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; }