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
Allocate
Module Allocate
Index
Interfaces
Abi
Allocation
Info
Abi
Allocations
Abi
Size
Info
Calldata
Allocation
Contract
Allocation
Info
Event
Allocation
Event
Parameter
Info
Variables
debug
Functions
abi
Size
And
Allocate
abi
Size
Info
allocate
Calldata
allocate
Event
allocate
Members
allocate
Struct
default
Constructor
Allocation
get
Abi
Allocations
get
Calldata
Allocations
get
Calldata
Allocations
For
Contract
get
Event
Allocations
get
Event
Allocations
For
Contract
Variables
Const
debug
debug
:
IDebugger
= debugModule("codec:abi:allocate")
Functions
abi
Size
And
Allocate
abi
Size
And
Allocate
(
dataType
:
Type
, userDefinedTypes
:
TypesById
, existingAllocations
?:
AbiAllocations
)
:
AbiAllocationInfo
Parameters
dataType:
Type
userDefinedTypes:
TypesById
Optional
existingAllocations:
AbiAllocations
Returns
AbiAllocationInfo
Protected
abi
Size
Info
abi
Size
Info
(
dataType
:
Type
, allocations
?:
AbiAllocations
)
:
AbiSizeInfo
Parameters
dataType:
Type
Optional
allocations:
AbiAllocations
Returns
AbiSizeInfo
allocate
Calldata
allocate
Calldata
(
abiEntry
:
FunctionAbiEntry
|
ConstructorAbiEntry
, contractNode
:
AstNode
|
undefined
, referenceDeclarations
:
AstNodes
, userDefinedTypes
:
TypesById
, abiAllocations
:
AbiAllocations
, compiler
:
CompilerVersion
|
undefined
, constructorContext
?:
DecoderContext
)
:
CalldataAllocation
|
undefined
Parameters
abiEntry:
FunctionAbiEntry
|
ConstructorAbiEntry
contractNode:
AstNode
|
undefined
referenceDeclarations:
AstNodes
userDefinedTypes:
TypesById
abiAllocations:
AbiAllocations
compiler:
CompilerVersion
|
undefined
Optional
constructorContext:
DecoderContext
Returns
CalldataAllocation
|
undefined
allocate
Event
allocate
Event
(
abiEntry
:
EventAbiEntry
, contractNode
:
AstNode
|
undefined
, contextHash
:
string
, referenceDeclarations
:
AstNodes
, userDefinedTypes
:
TypesById
, abiAllocations
:
AbiAllocations
, compiler
:
CompilerVersion
|
undefined
)
:
EventAllocation
Parameters
abiEntry:
EventAbiEntry
contractNode:
AstNode
|
undefined
contextHash:
string
referenceDeclarations:
AstNodes
userDefinedTypes:
TypesById
abiAllocations:
AbiAllocations
compiler:
CompilerVersion
|
undefined
Returns
EventAllocation
allocate
Members
allocate
Members
(
parentId
:
string
, members
:
NameTypePair
[]
, userDefinedTypes
:
TypesById
, existingAllocations
:
AbiAllocations
, start
?:
number
)
:
AbiAllocations
Parameters
parentId:
string
members:
NameTypePair
[]
userDefinedTypes:
TypesById
existingAllocations:
AbiAllocations
Default value
start:
number
= 0
Returns
AbiAllocations
allocate
Struct
allocate
Struct
(
dataType
:
StructType
, userDefinedTypes
:
TypesById
, existingAllocations
:
AbiAllocations
)
:
AbiAllocations
Parameters
dataType:
StructType
userDefinedTypes:
TypesById
existingAllocations:
AbiAllocations
Returns
AbiAllocations
default
Constructor
Allocation
default
Constructor
Allocation
(
constructorContext
:
DecoderContext
)
:
CalldataAllocation
|
undefined
Parameters
constructorContext:
DecoderContext
Returns
CalldataAllocation
|
undefined
get
Abi
Allocations
get
Abi
Allocations
(
userDefinedTypes
:
TypesById
)
:
AbiAllocations
Parameters
userDefinedTypes:
TypesById
Returns
AbiAllocations
get
Calldata
Allocations
get
Calldata
Allocations
(
contracts
:
ContractAllocationInfo
[]
, referenceDeclarations
:
AstNodes
, userDefinedTypes
:
TypesById
, abiAllocations
:
AbiAllocations
)
:
CalldataAllocations
Parameters
contracts:
ContractAllocationInfo
[]
referenceDeclarations:
AstNodes
userDefinedTypes:
TypesById
abiAllocations:
AbiAllocations
Returns
CalldataAllocations
get
Calldata
Allocations
For
Contract
get
Calldata
Allocations
For
Contract
(
abi
:
Abi
, contractNode
:
AstNode
, constructorContext
:
DecoderContext
, referenceDeclarations
:
AstNodes
, userDefinedTypes
:
TypesById
, abiAllocations
:
AbiAllocations
, compiler
:
CompilerVersion
)
:
CalldataAllocationTemporary
Parameters
abi:
Abi
contractNode:
AstNode
constructorContext:
DecoderContext
referenceDeclarations:
AstNodes
userDefinedTypes:
TypesById
abiAllocations:
AbiAllocations
compiler:
CompilerVersion
Returns
CalldataAllocationTemporary
get
Event
Allocations
get
Event
Allocations
(
contracts
:
ContractAllocationInfo
[]
, referenceDeclarations
:
AstNodes
, userDefinedTypes
:
TypesById
, abiAllocations
:
AbiAllocations
)
:
EventAllocations
Parameters
contracts:
ContractAllocationInfo
[]
referenceDeclarations:
AstNodes
userDefinedTypes:
TypesById
abiAllocations:
AbiAllocations
Returns
EventAllocations
get
Event
Allocations
For
Contract
get
Event
Allocations
For
Contract
(
abi
:
Abi
, contractNode
:
AstNode
|
undefined
, contextHash
:
string
, referenceDeclarations
:
AstNodes
, userDefinedTypes
:
TypesById
, abiAllocations
:
AbiAllocations
, compiler
:
CompilerVersion
|
undefined
)
:
EventAllocationTemporary
[]
Parameters
abi:
Abi
contractNode:
AstNode
|
undefined
contextHash:
string
referenceDeclarations:
AstNodes
userDefinedTypes:
TypesById
abiAllocations:
AbiAllocations
compiler:
CompilerVersion
|
undefined
Returns
EventAllocationTemporary
[]
Globals
Abi
Allocation
Info
Abi
Allocations
Abi
Size
Info
Calldata
Allocation
Contract
Allocation
Info
Event
Allocation
Event
Parameter
Info
debug
abi
Size
And
Allocate
abi
Size
Info
allocate
Calldata
allocate
Event
allocate
Members
allocate
Struct
default
Constructor
Allocation
get
Abi
Allocations
get
Calldata
Allocations
get
Calldata
Allocations
For
Contract
get
Event
Allocations
get
Event
Allocations
For
Contract
Generated using
TypeDoc