Module accumulate

Source
Expand description

Host-call APIs available for the Service::accumulate entry-point.

Enums§

ForgetImplication
A summary of the implication of calling forget on a preimage request.
LookupRequestStatus
The status of a lookup request.

Functions§

assign
Assign a series of authorizers to a core.
bless
Reset the privileged services.
checkpoint
Checkpoint the state of the accumulation at present.
create_service
Create a new service.
designate
Designate the new validator keys.
eject
Remove the target zombie service, drop its final preimage item code_hash and transfer remaining balance to this service.
foreign_lookup
Make a lookup into another service’s preimage store.
foreign_lookup_into
Make a lookup into another service’s preimage store without allocating.
forget
No longer request that preimage data be available for lookup, or drop preimage data once time limit has passed.
gas
Inspect the gas meter.
get
Fetch typed data from the service’s key/value store.
get_foreign
Fetch typed data from another service’s key/value store.
get_foreign_storage
Fetch raw data from another service’s key/value store.
get_storage
Fetch raw data from the service’s key/value store.
is_available
Check whether a preimage is available for lookup.
is_foreign_available
Check whether a preimage is available for foreign lookup.
lookup
Make a lookup into the service’s preimage store.
lookup_into
Make a lookup into the service’s preimage store without allocating.
my_info
Get information on the service.
query
Query the status of a preimage.
remove
Remove a typed key from the service’s key/value store.
remove_storage
Remove a pair from the service’s key/value store.
service_info
Get information on another service.
set
Set the value of a typed key to typed data in the service’s key/value store.
set_storage
Set the value of a key to raw data in the service’s key/value store.
solicit
Request that preimage data be available for lookup.
transfer
Transfer data and/or funds to another service asynchronously.
upgrade
Upgrade the code of the service.
yield_hash
Set the default result hash of Accumulation.
zombify
“Upgrade” the service into an unexecutable zombie.