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 IBalancerPoolContract 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; /** * Sell `tokenAmountIn` of `tokenIn` and receive `tokenOut`. * @param tokenIn The token being sold * @param tokenAmountIn The amount of `tokenIn` to sell. * @param tokenOut The token being bought. * @param minAmountOut The minimum amount of `tokenOut` to buy. * @param maxPrice The maximum value for `spotPriceAfter`. * @returns tokenAmountOut The amount of `tokenOut` bought.spotPriceAfter The new marginal spot price of the given token pair for this pool. */ swapExactAmountIn(tokenIn: string, tokenAmountIn: BigNumber, tokenOut: string, minAmountOut: BigNumber, maxPrice: BigNumber): ContractTxFunctionObj<[BigNumber, BigNumber]>; constructor(address: string, supportedProvider: SupportedProvider, txDefaults?: Partial, logDecodeDependencies?: { [contractName: string]: ContractAbi; }, deployedBytecode?: string | undefined, encoderOverrides?: Partial); } //# sourceMappingURL=i_balancer_pool.d.ts.map