Search
Preparing search index...
The search index is not available
Truffle Decoding and Encoding
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
@truffle/codec
AbiData
Decode
Module Decode
Index
Type aliases
Abi
Location
Variables
debug
Functions
decode
Abi
decode
Abi
Reference
ByAddress
decode
Abi
Reference
Static
decode
Abi
Struct
ByPosition
decode
Abi
Tuple
ByPosition
Type aliases
Abi
Location
Abi
Location
:
"calldata"
|
"eventdata"
Variables
Const
debug
debug
:
IDebugger
= debugModule("codec:abi-data:decode")
Functions
decode
Abi
decode
Abi
(
dataType
:
Type
, pointer
:
AbiDataPointer
, info
:
EvmInfo
, options
?:
DecoderOptions
)
:
Generator
<
DecoderRequest
,
Result
,
Uint8Array
>
Parameters
dataType:
Type
pointer:
AbiDataPointer
info:
EvmInfo
Default value
options:
DecoderOptions
= {}
Returns
Generator
<
DecoderRequest
,
Result
,
Uint8Array
>
decode
Abi
Reference
ByAddress
decode
Abi
Reference
ByAddress
(
dataType
:
ReferenceType
|
TupleType
, pointer
:
DataPointer
, info
:
EvmInfo
, options
?:
DecoderOptions
)
:
Generator
<
DecoderRequest
,
Result
,
Uint8Array
>
Parameters
dataType:
ReferenceType
|
TupleType
pointer:
DataPointer
info:
EvmInfo
Default value
options:
DecoderOptions
= {}
Returns
Generator
<
DecoderRequest
,
Result
,
Uint8Array
>
decode
Abi
Reference
Static
decode
Abi
Reference
Static
(
dataType
:
ReferenceType
|
TupleType
, pointer
:
AbiDataPointer
, info
:
EvmInfo
, options
?:
DecoderOptions
)
:
Generator
<
DecoderRequest
,
Result
,
Uint8Array
>
Parameters
dataType:
ReferenceType
|
TupleType
pointer:
AbiDataPointer
info:
EvmInfo
Default value
options:
DecoderOptions
= {}
Returns
Generator
<
DecoderRequest
,
Result
,
Uint8Array
>
decode
Abi
Struct
ByPosition
decode
Abi
Struct
ByPosition
(
dataType
:
StructType
, location
:
AbiLocation
, startPosition
:
number
, info
:
EvmInfo
, options
?:
DecoderOptions
)
:
Generator
<
DecoderRequest
,
StructResult
,
Uint8Array
>
Parameters
dataType:
StructType
location:
AbiLocation
startPosition:
number
info:
EvmInfo
Default value
options:
DecoderOptions
= {}
Returns
Generator
<
DecoderRequest
,
StructResult
,
Uint8Array
>
decode
Abi
Tuple
ByPosition
decode
Abi
Tuple
ByPosition
(
dataType
:
TupleType
, location
:
AbiLocation
, startPosition
:
number
, info
:
EvmInfo
, options
?:
DecoderOptions
)
:
Generator
<
DecoderRequest
,
TupleResult
,
Uint8Array
>
Parameters
dataType:
TupleType
location:
AbiLocation
startPosition:
number
info:
EvmInfo
Default value
options:
DecoderOptions
= {}
Returns
Generator
<
DecoderRequest
,
TupleResult
,
Uint8Array
>
Globals
Abi
Location
debug
decode
Abi
decode
Abi
Reference
ByAddress
decode
Abi
Reference
Static
decode
Abi
Struct
ByPosition
decode
Abi
Tuple
ByPosition
Generated using
TypeDoc