Constructors
constructor
- new AbiCoder(coerceFunc?: CoerceFunc): AbiCoder
-
Properties
Readonly
coerceFunc
Methods
_getCoder
- _getCoder(param: ParamType): Coder
-
Returns Coder
_getReader
- _getReader(data: Uint8Array, allowLoose?: boolean): Reader
-
Parameters
-
data: Uint8Array
-
Optional
allowLoose: boolean
Returns Reader
_getWordSize
- _getWordSize(): number
-
Returns number
_getWriter
- _getWriter(): Writer
-
Returns Writer
decode
- decode(types: readonly (string | ParamType)[], data: BytesLike, loose?: boolean): Result
-
Parameters
-
types: readonly (string | ParamType)[]
-
-
Optional
loose: boolean
encode
- encode(types: readonly (string | ParamType)[], values: readonly any[]): string
-
Parameters
-
types: readonly (string | ParamType)[]
-
values: readonly any[]
Returns string
getDefaultValue
- getDefaultValue(types: readonly (string | ParamType)[]): Result
-