Expand description
Core of the Odra Framework
Re-exports§
pub use module::Module;
pub use module::SubModule;
pub use casper_event_standard;
pub use casper_types;
Modules§
- This module provides types and traits for working with entrypoint arguments.
- Safe, overflowing addition and subtraction utilities.
- A module containing callstack-related data structures.
- Encapsulates a set of structures that abstract out a smart contract layout.
- Cryptographic utilities.
- A module that contains structs representing entry points and entry point callers.
- A module that provides the interface for interacting with the host environment.
- Module definition and implementation.
- Common API for
no_std
andstd
to access alloc and core crate types. - Unsigned integer utilities.
- General purpose utilities.
Structs§
- Represents a call definition, which includes the method name, runtime arguments, attached value, and mutability flag.
- Represents the result of a contract call.
- A wrapper struct for a EntryPointsCaller that is a layer of abstraction between the host and the entry points caller.
- Represents the environment accessible in the contract context.
- A struct representing a contract register that maps an address to a contract.
- Represents the environment accessible in the contract execution context.
- Data structure for an indexed, iterable collection.
- An iterator over the elements of a
List
. - Data structure for storing key-value pairs.
- A module that stores a single value in the storage that can be read or incremented.
- Data structure for storing a single value.
Enums§
- An enum representing an
AccountHash
or aContractPackageHash
. - Error that can occur while operating on an Address.
- Error that can occur while operating on a collection.
- Represents a deploy report, which includes the gas used and the deploy details.
- Event-related errors.
- An error that can occur during smart contract execution
- General error type in Odra framework
- An internal virtual machine error
Traits§
- Trait representing the context of a smart contract.
- Trait that needs to be implemented by all contract refs.
- A trait that allows safe unwrapping in the context of a smart contract. On failure the contract does not panic, but reverts calling
ContractEnv::revert
. Works withResult
andOption
.
Type Aliases§
- A Vector of deploy reports makes a full gas report.
- Represents the result of a contract call.