Expand description
Host-call APIs available for the Service::accumulate entry-point.
Enums§
- Forget
Implication - A summary of the implication of calling
forget
on a preimage request. - Lookup
Request Status - 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 itemcode_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.