import { EncoderOverrides, ContractFunctionObj, 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 StaticCallProxyContract extends BaseContract { /** * @ignore */ static deployedBytecode: string; 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; /** * Gets the proxy id associated with the proxy address. * @returns Proxy id. */ getProxyId(): ContractFunctionObj; /** * Makes a staticcall to a target address and verifies that the data returned matches the expected return data. * @param assetData Byte array encoded with staticCallTarget, staticCallData, * and expectedCallResultHash * @param from This value is ignored. * @param to This value is ignored. * @param amount This value is ignored. */ transferFrom(assetData: string, from: string, to: string, amount: BigNumber): ContractFunctionObj; constructor(address: string, supportedProvider: SupportedProvider, txDefaults?: Partial, logDecodeDependencies?: { [contractName: string]: ContractAbi; }, deployedBytecode?: string | undefined, encoderOverrides?: Partial); } //# sourceMappingURL=static_call_proxy.d.ts.map