Expand description
Oasis runtime SDK.
Re-exports§
pub use crate::context::Context;
pub use crate::module::Module;
pub use crate::runtime::Runtime;
pub use crate::state::CurrentState;
pub use oasis_core_runtime as core;
pub use cbor;
Modules§
- callformat
- Handling of different call formats.
- config
- Configuration types.
- context
- Execution context.
- crypto
- Cryptography.
- dispatcher
- Transaction dispatcher.
- enclave_
rpc - Exposed EnclaveRPC methods.
- error
- Error types for runtimes.
- event
- Event types for runtimes.
- history
- Historic state access.
- keymanager
- Keymanager interface.
- module
- Runtime modules.
- modules
- Runtime modules included with the SDK.
- runtime
- Runtime.
- schedule_
control - Types related to schedule control.
- sender
- Transaction sender metadata.
- state
- storage
- Storage.
- subcall
- Subcall dispatch.
- testing
- Module which contains utilities useful for testing and development.
- types
- Types defined by the SDK.
Macros§
- version_
from_ cargo - Constructs an
oasis_sdk::core::common::version::Version
from the Cargo.toml version.
Structs§
- Version
- A protocol or runtime version.
Attribute Macros§
- evm_
contract_ address - A helper attribute for
#[sdk_derive(...)]
. It doesn’t do anything on its own; it only marks the function within a contract implementation that returns its address. - evm_
method - A helper attribute for
#[sdk_derive(...)]
. It doesn’t do anything on its own; it only marks functions that represent contract methods. - handler
- A helper attribute for
#[sdk_derive(...)]
. It doesn’t do anyting on its own; it only marks functions that represent a paratime method handler. The permitted forms are: - migration
- A helper attribute for
#[sdk_derive(...)]
. It doesn’t do anything on its own; it only marks functions that represent a module state migration. - sdk_
derive - Derives traits from a non-trait
impl
block (rather than from astruct
).