Module elrond_wasm::io[][src]

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

Trait that specifies how arguments are serialized in contract calls.

Any type that is used as an endpoint argument must implement this trait.

Abstracts away the loading of multi-arguments. Acts as an abstract source for these arguments.

All types that are returned from endpoints need to implement this trait.

Functions

It’s easier to generate code from macros using this function, instead of the DynArg method.