Search
Preparing search index...
The search index is not available
@nomad-xyz/sdk-govern
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@nomad-xyz/sdk-govern
CallBatch
Class CallBatch
Hierarchy
CallBatch
Index
Constructors
constructor
Properties
built
context
governor
Core
local
remote
Accessors
domains
Methods
batch
Hash
build
execute
execute
Domain
push
Local
push
Remote
sign
wait
All
wait
Domain
from
Context
fromJSON
Constructors
constructor
new
Call
Batch
(
context
:
NomadContext
, governorDomain
:
number
, callerKnowsWhatTheyAreDoing
:
boolean
)
:
CallBatch
Parameters
context:
NomadContext
governorDomain:
number
callerKnowsWhatTheyAreDoing:
boolean
Returns
CallBatch
Properties
Private
Optional
built
built
?:
PopulatedTransaction
Private
context
context
:
NomadContext
Private
governor
Core
governor
Core
:
CoreContracts
Readonly
local
local
:
Readonly
<
Call
>
[]
Readonly
remote
remote
:
Map
<
number
,
Readonly
<
Call
>
[]
>
Accessors
domains
get
domains
(
)
:
number
[]
Returns
number
[]
Methods
batch
Hash
batch
Hash
(
domain
:
number
)
:
string
Parameters
domain:
number
Returns
string
build
build
(
)
:
Promise
<
PopulatedTransaction
>
Returns
Promise
<
PopulatedTransaction
>
execute
execute
(
)
:
Promise
<
TransactionResponse
>
Returns
Promise
<
TransactionResponse
>
execute
Domain
execute
Domain
(
domain
:
number
)
:
Promise
<
TransactionResponse
>
Parameters
domain:
number
Returns
Promise
<
TransactionResponse
>
push
Local
push
Local
(
call
:
Partial
<
Call
>
)
:
void
Parameters
call:
Partial
<
Call
>
Returns
void
push
Remote
push
Remote
(
domain
:
number
, call
:
Partial
<
Call
>
)
:
void
Parameters
domain:
number
call:
Partial
<
Call
>
Returns
void
sign
sign
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
wait
All
wait
All
(
)
:
Promise
<
TransactionReceipt
[]
>
Returns
Promise
<
TransactionReceipt
[]
>
wait
Domain
wait
Domain
(
domain
:
number
)
:
Promise
<
TransactionReceipt
>
Parameters
domain:
number
Returns
Promise
<
TransactionReceipt
>
Static
from
Context
from
Context
(
context
:
NomadContext
)
:
Promise
<
CallBatch
>
Parameters
context:
NomadContext
Returns
Promise
<
CallBatch
>
Static
fromJSON
fromJSON
(
context
:
NomadContext
, batchContents
:
CallBatchContents
)
:
Promise
<
CallBatch
>
Parameters
context:
NomadContext
batchContents:
CallBatchContents
Returns
Promise
<
CallBatch
>
Exports
Call
Batch
constructor
built
context
governor
Core
local
remote
domains
batch
Hash
build
execute
execute
Domain
push
Local
push
Remote
sign
wait
All
wait
Domain
from
Context
fromJSON
Generated using
TypeDoc