UNPKG

@fruitsjs/contracts

Version:
18 lines (16 loc) 568 B
/** * @see [[GenerateMethodCallArgs]] and [[generateMethodCall]] * @module contracts */ export type MethodArgument = string | number | boolean; /** * The argument object for [[generateMethodCall]] * * @param {string} methodHash The signed long hash for the method generated by BlockTalk compiler * @param {MethodArgument[]} methodArgs Optional argument list for the method. Currently up to three args are supported * @module contracts */ export interface GenerateMethodCallArgs { methodHash: string; methodArgs?: MethodArgument[]; }