Crate odra_types

Source
Expand description

Blockchain-agnostic types used by Odra Framework.

Re-exports§

pub use casper_types;

Modules§

arithmetic
Safe, overflowing addition and subtraction utilities.
contract_def
Encapsulates a set of structures that abstract out a smart contract layout.
event
Events interface and errors.
uints

Macros§

impl_overflowing_add_sub
Implements OverflowingAdd and OverflowingSub for all the given types.

Structs§

ExecutionError
An error that can occur during smart contract execution
U128
Little-endian large integer type
U256
Little-endian large integer type
U512
Little-endian large integer type

Enums§

Address
An enum representing an AccountHash or a ContractPackageHash.
AddressError
Error that can occur while operating on an Address.
CLType
Casper types, i.e. types which can be stored and manipulated by smart contracts.
CollectionError
Error that can occur while operating on a collection.
OdraError
General error type in Odra framework
PublicKey
A public asymmetric key.
VmError
An internal virtual machine error

Traits§

CLTyped
A type which can be described as a CLType.
OdraAddress
OdraItem
UncheckedGetter

Type Aliases§

BlockTime
EventData