Module on_transfer

Source
Expand description

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

Functions§

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.
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.