Macro linera_sdk::contract

source ยท
macro_rules! contract {
    ($contract:ident) => { ... };
}
Expand description

Declares an implementation of the Contract trait, exporting it from the Wasm module.

Generates the necessary boilerplate for implementing the contract WIT interface, exporting the necessary resource types and functions so that the host can call the application contract.