import { BaseContract, PromiseWithTransactionHash } from '@0x/base-contract'; import { BlockParam, CallData, ContractAbi, ContractArtifact, TransactionReceiptWithDecodedLogs, TxData, SupportedProvider } from 'ethereum-types'; import { BigNumber } from '@0x/utils'; import { SimpleContractArtifact } from '@0x/types'; export declare class TreasuryContract extends BaseContract { txReceipt: TransactionReceiptWithDecodedLogs; contractBond: { sendTransactionAsync(account: string, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, txData?: Partial): Promise; callAsync(account: string, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string): string; }; withdraw: { sendTransactionAsync(amount: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(amount: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(amount: BigNumber, txData?: Partial): Promise; callAsync(amount: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(amount: BigNumber): string; }; confiscate: { sendTransactionAsync(account: string, amount: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, amount: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, amount: BigNumber, txData?: Partial): Promise; callAsync(account: string, amount: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string, amount: BigNumber): string; }; systemBalance: { callAsync(account: string, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string): string; }; validatorLock: { sendTransactionAsync(account: string, amount: BigNumber, endBlock: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, amount: BigNumber, endBlock: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, amount: BigNumber, endBlock: BigNumber, txData?: Partial): Promise; callAsync(account: string, amount: BigNumber, endBlock: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string, amount: BigNumber, endBlock: BigNumber): string; }; award: { sendTransactionAsync(account: string, amount: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, amount: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, amount: BigNumber, txData?: Partial): Promise; callAsync(account: string, amount: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string, amount: BigNumber): string; }; burnFrom: { sendTransactionAsync(account: string, amount: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, amount: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, amount: BigNumber, txData?: Partial): Promise; callAsync(account: string, amount: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string, amount: BigNumber): string; }; contractWithdraw: { sendTransactionAsync(account: string, amount: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, amount: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, amount: BigNumber, txData?: Partial): Promise; callAsync(account: string, amount: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string, amount: BigNumber): string; }; contractDeposit: { sendTransactionAsync(account: string, amount: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, amount: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, amount: BigNumber, txData?: Partial): Promise; callAsync(account: string, amount: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string, amount: BigNumber): string; }; currentBalance: { callAsync(account: string, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string): string; }; deposit: { sendTransactionAsync(amount: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(amount: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(amount: BigNumber, txData?: Partial): Promise; callAsync(amount: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(amount: BigNumber): string; }; setVoting: { sendTransactionAsync(votingAddress: string, txData?: Partial): Promise; awaitTransactionSuccessAsync(votingAddress: string, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(votingAddress: string, txData?: Partial): Promise; callAsync(votingAddress: string, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(votingAddress: string): string; }; registerVote: { sendTransactionAsync(account: string, pollId: BigNumber, amount: BigNumber, endBlock: BigNumber, losingEndBlock: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, pollId: BigNumber, amount: BigNumber, endBlock: BigNumber, losingEndBlock: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, pollId: BigNumber, amount: BigNumber, endBlock: BigNumber, losingEndBlock: BigNumber, txData?: Partial): Promise; callAsync(account: string, pollId: BigNumber, amount: BigNumber, endBlock: BigNumber, losingEndBlock: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string, pollId: BigNumber, amount: BigNumber, endBlock: BigNumber, losingEndBlock: BigNumber): string; }; kosuToken: { callAsync(callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(): string; }; tokenLocksExpire: { sendTransactionAsync(account: string, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, txData?: Partial): Promise; callAsync(account: string, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string): string; }; releaseTokens: { sendTransactionAsync(account: string, amount: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, amount: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, amount: BigNumber, txData?: Partial): Promise; callAsync(account: string, amount: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string, amount: BigNumber): string; }; claimTokens: { sendTransactionAsync(account: string, amount: BigNumber, txData?: Partial): Promise; awaitTransactionSuccessAsync(account: string, amount: BigNumber, txData?: Partial, pollingIntervalMs?: number, timeoutMs?: number): PromiseWithTransactionHash; estimateGasAsync(account: string, amount: BigNumber, txData?: Partial): Promise; callAsync(account: string, amount: BigNumber, callData?: Partial, defaultBlock?: BlockParam): Promise; getABIEncodedTransactionData(account: string, amount: BigNumber): string; }; static deployFrom0xArtifactAsync(artifact: ContractArtifact | SimpleContractArtifact, supportedProvider: SupportedProvider, txDefaults: Partial, kosuTokenAddress: string, auth: string): Promise; static deployAsync(bytecode: string, abi: ContractAbi, supportedProvider: SupportedProvider, txDefaults: Partial, kosuTokenAddress: string, auth: string): Promise; /** * @returns The contract ABI */ static ABI(): ContractAbi; constructor(address: string, supportedProvider: SupportedProvider, txDefaults?: Partial); }