Typeberry by Fluffy Labs - v0.4.0
Preparing search index...
lib
pvm_host_calls
HostCalls
Class HostCalls
Container for all available host calls.
Index
Constructors
constructor
Methods
get
trace
Host
Call
Constructors
constructor
new
HostCalls
(
__namedParameters
:
{
handlers
?:
HostCallHandler
[]
;
missing
:
HostCallHandler
;
}
,
)
:
HostCalls
Parameters
__namedParameters
:
{
handlers
?:
HostCallHandler
[]
;
missing
:
HostCallHandler
}
Returns
HostCalls
Methods
get
get
(
hostCallIndex
:
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"HostCallIndex[U32]"
,
>
,
)
:
HostCallHandler
Get a host call by index.
Parameters
hostCallIndex
:
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"HostCallIndex[U32]"
>
Returns
HostCallHandler
trace
Host
Call
traceHostCall
(
context
:
string
,
hostCallIndex
:
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"HostCallIndex[U32]"
,
>
,
hostCallHandler
:
HostCallHandler
,
registers
:
pvm
.
HostCallRegisters
,
gas
:
Gas
,
)
:
void
Parameters
context
:
string
hostCallIndex
:
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"HostCallIndex[U32]"
>
hostCallHandler
:
HostCallHandler
registers
:
pvm
.
HostCallRegisters
gas
:
Gas
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
trace
Host
Call
Typeberry by Fluffy Labs - v0.4.0
Loading...
Container for all available host calls.