import TransactionCommand from "../transaction/transactionCommand"; import MethodAbi from "./methodAbi"; export default class MethodCall implements TransactionCommand { contractAddress: any; ownerAddress: any; functionSelector: any; feeLimit: number; parameters: any[]; tokenId: number; tokenAmount: number; trxAmount: number; abi: MethodAbi; name: string; constructor(options: any); setAbi(methodAbi: MethodAbi): this; setContractAddress(contractAddress: string): this; setOwnerAddress(address: string): this; setFunctionSelector(functionSelector: string): this; setFeeLimit(feeLimit: number): this; setParameters(parameters?: any): this; setArguments(...parameters: any[]): this; setToken(tokenId: number, amount: number): this; setTrxAmount(amount: number): this; getInputTypes(): any; /** * Build the parameters used to call a smart contract */ buildParameterData(): string; /** * Reads the result of a smart contract call */ readResult(constantResult: string): any; }