Module prelude

Module prelude 

Source
Expand description

Locutus stdlib prelude.

Re-exports§

pub use bincode;
pub use blake2;
pub use tracing;
pub use tracing_subscriber;
pub use crate::contract_interface::*;

Structs§

ApplicationMessage
ClientResponse
Component
Executable component
ComponentContext
ComponentInterfaceResult
ComponentKey
ContractHash
GetSecretRequest
GetSecretResponse
NotificationMessage
SecretsId
SetSecretRequest
UserInputRequest
UserInputResponse
Version
SemVer version as defined by https://semver.org.

Enums§

ComponentError
Type of errors during interaction with a component.
ContractContainer
Wrapper that allows contract versioning. This enum maintains the types of contracts that are allowed and their corresponding version.
InboundComponentMsg
OutboundComponentMsg
WasmAPIVersion
Contains the different versions available for wasm contracts.

Traits§

ComponentInterface

Attribute Macros§

component
Generate the necessary code for the WASM runtime to interact with your contract ergonomically and safely.
contract
Generate the necessary code for the WASM runtime to interact with your contract ergonomically and safely.