import { EncoderOverrides, ContractTxFunctionObj, BaseContract } from '@0x/base-contract'; import { ContractAbi, ContractArtifact, TxData, SupportedProvider } from 'ethereum-types'; import { BigNumber } from '@0x/utils'; import { SimpleContractArtifact } from '@0x/types'; import { Web3Wrapper } from '@0x/web3-wrapper'; export declare class IKyberNetworkProxyContract extends BaseContract { /** * @ignore */ static deployedBytecode: string | undefined; static contractName: string; private readonly _methodABIIndex; static deployFrom0xArtifactAsync(artifact: ContractArtifact | SimpleContractArtifact, supportedProvider: SupportedProvider, txDefaults: Partial, logDecodeDependencies: { [contractName: string]: (ContractArtifact | SimpleContractArtifact); }): Promise; static deployWithLibrariesFrom0xArtifactAsync(artifact: ContractArtifact, libraryArtifacts: { [libraryName: string]: ContractArtifact; }, supportedProvider: SupportedProvider, txDefaults: Partial, logDecodeDependencies: { [contractName: string]: (ContractArtifact | SimpleContractArtifact); }): Promise; static deployAsync(bytecode: string, abi: ContractAbi, supportedProvider: SupportedProvider, txDefaults: Partial, logDecodeDependencies: { [contractName: string]: ContractAbi; }): Promise; /** * @returns The contract ABI */ static ABI(): ContractAbi; protected static _deployLibrariesAsync(artifact: ContractArtifact, libraryArtifacts: { [libraryName: string]: ContractArtifact; }, web3Wrapper: Web3Wrapper, txDefaults: Partial, libraryAddresses?: { [libraryName: string]: string; }): Promise<{ [libraryName: string]: string; }>; getFunctionSignature(methodName: string): string; getABIDecodedTransactionData(methodName: string, callData: string): T; getABIDecodedReturnData(methodName: string, callData: string): T; getSelector(methodName: string): string; /** * Sells `sellTokenAddress` tokens for `buyTokenAddress` tokens. * @param sellTokenAddress Token to sell. * @param sellAmount Amount of tokens to sell. * @param buyTokenAddress Token to buy. * @param recipientAddress Address to send bought tokens to. * @param maxBuyTokenAmount A limit on the amount of tokens to buy. * @param minConversionRate The minimal conversion rate. If actual rate * is lower, trade is canceled. * @param walletId The wallet ID to send part of the fees * @returns boughtAmount Amount of tokens bought. */ trade(sellTokenAddress: string, sellAmount: BigNumber, buyTokenAddress: string, recipientAddress: string, maxBuyTokenAmount: BigNumber, minConversionRate: BigNumber, walletId: string): ContractTxFunctionObj; /** * Sells `sellTokenAddress` tokens for `buyTokenAddress` tokens using a hint for the reserve. * @param sellTokenAddress Token to sell. * @param sellAmount Amount of tokens to sell. * @param buyTokenAddress Token to buy. * @param recipientAddress Address to send bought tokens to. * @param maxBuyTokenAmount A limit on the amount of tokens to buy. * @param minConversionRate The minimal conversion rate. If actual rate * is lower, trade is canceled. * @param walletId The wallet ID to send part of the fees * @param hint The hint for the selective inclusion (or exclusion) of reserves * @returns boughtAmount Amount of tokens bought. */ tradeWithHint(sellTokenAddress: string, sellAmount: BigNumber, buyTokenAddress: string, recipientAddress: string, maxBuyTokenAmount: BigNumber, minConversionRate: BigNumber, walletId: string, hint: string): ContractTxFunctionObj; constructor(address: string, supportedProvider: SupportedProvider, txDefaults?: Partial, logDecodeDependencies?: { [contractName: string]: ContractAbi; }, deployedBytecode?: string | undefined, encoderOverrides?: Partial); } //# sourceMappingURL=i_kyber_network_proxy.d.ts.map