ContractEncoder class
Encodes and decodes Contract functions
Signature:
export declare class ContractEncoder<TContract extends BaseContract>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(contractWrapper) | Constructs a new instance of the ContractEncoder class |
Methods
Method | Modifiers | Description |
---|---|---|
decode(fn, encodedArgs) | Decode encoded call data for a given function | |
encode(fn, args) | Encodes the given contract function with argument |