Module elrond_wasm::io

source ·

Modules

Structs

Adapter from the API to the TopDecodeInput trait. Allows objects to be deserialized directly from the API as arguments.
Some info to display in endpoint argument deserialization error messages, to help users identify the faulty argument. Generated automatically. Current version uses argument names, but in principle it could be changed to argument index to save some bytes from the wasm output.
Consumes a vector of BoxedBytes and deserializes from the vector one by one.

Traits

Models an argument tree of the form (arg1, (arg2, ... (argn, ()))), used for retrieving endpoint arguments.

Functions

Used for loading all regular endpoint arguments. A call to this gets generated for all endpoints and callbacks.
Currently used for the callback closure. No distinction there for single values.