ContractEncoder
Encodes and decodes Contract functions
class ContractEncoder<TContract extends BaseContract> {}
function constructor<TContract extends BaseContract>( contractWrapper: ContractWrapper<TContract>,
Decode encoded call data for a given function
function decode( fn: keyof TContract["functions"], encodedArgs: string,): Result;
function decodeResult( fn: keyof TContract["functions"], encodedArgs: string,): Result;
Encodes the given contract function with argument
function encode( fn: keyof TContract["functions"], args: Parameters< TContract["functions"][keyof TContract["functions"]] >,): string;