Crate calimero_sdk

source ·

Re-exports

Modules

Macros

Attribute Macros

  • Modifies fn signature under impl for any fn denoted with #[calimero_receive_response] so that the last input arg of such function is renamed to response with Option<Vec> as type, the argument initially provided by the developer is used in generated code and into it - the response is deserialized. If the developer used optional type, error can be handled in the contract method, otherwise the method will panic if response is None