import _m0 from "protobufjs/minimal"; import { ContractID } from "./basic_types"; export declare const protobufPackage = "proto"; /** * Call a function of the given smart contract instance, giving it functionParameters as its inputs. * The call can use at maximum the given amount of gas – the paying account will not be charged for * any unspent gas. * * If this function results in data being stored, an amount of gas is calculated that reflects this * storage burden. * * The amount of gas used, as well as other attributes of the transaction, e.g. size, number of * signatures to be verified, determine the fee for the transaction – which is charged to the paying * account. */ export interface ContractCallTransactionBody { /** The contract to call */ contractID: ContractID | undefined; /** the maximum amount of gas to use for the call */ gas: number; /** number of tinybars sent (the function must be payable if this is nonzero) */ amount: number; /** which function to call, and the parameters to pass to the function */ functionParameters: Uint8Array; } export declare const ContractCallTransactionBody: { encode(message: ContractCallTransactionBody, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ContractCallTransactionBody; fromJSON(object: any): ContractCallTransactionBody; toJSON(message: ContractCallTransactionBody): unknown; create(base?: DeepPartial): ContractCallTransactionBody; fromPartial(object: DeepPartial): ContractCallTransactionBody; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends { $case: string; } ? { [K in keyof Omit]?: DeepPartial; } & { $case: T["$case"]; } : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {}; //# sourceMappingURL=contract_call.d.ts.map