Skip to main content

Crate iota_sdk_move_types

Crate iota_sdk_move_types 

Source
Expand description

Rust representations of Move types used by the IOTA blockchain.

Each top-level module corresponds to a system package, identified by the address constants on iota_types::Address:

Inside each package, every Move source module is mirrored 1:1 as a Rust pub mod. Generic Move types stay generic in Rust (with a PhantomData<T> placeholder for phantom parameters).

Modules§

iota_framework
Types from the IOTA framework (system package 0x2).
iota_system
Types from the IOTA system package (0x3).
move_stdlib
Types from the Move standard library (system package 0x1).
stardust
Types from the Stardust migration package (0x107a).

Enums§

FromObjectError
Error returned when converting an Object into a typed mirror.

Traits§

MoveType
A Rust type that knows the Move type tag it represents.