@q-dev/q-js-sdk
Version:
Typescript Library to interact with Q System Contracts
13 lines (12 loc) • 861 B
TypeScript
import type { ContractTransaction } from 'ethers';
import { WithdrawAddresses } from '../../ethers-contracts/WithdrawAddresses';
import { SystemContractInstance } from '../SystemContractInstance';
import { QNonPayableTx, WithdrawalAccount, SignerOrProvider } from '../../types';
export declare class WithdrawAddressesInstance extends SystemContractInstance<WithdrawAddresses> {
static readonly registryKey = "tokeneconomics.withdrawAddresses";
constructor(signerOrProvider: SignerOrProvider, address: string);
change(withdrawalAddress: string, txOptions?: QNonPayableTx): Promise<ContractTransaction>;
finalize(mainAddress: string, withdrawalAddress: string, txOptions?: QNonPayableTx): Promise<ContractTransaction>;
resolve(mainAddress: string): Promise<string>;
getWithdrawalAccount(mainAddress: string): Promise<WithdrawalAccount>;
}