| Crates.io | af-move-type |
| lib.rs | af-move-type |
| version | 0.13.0 |
| created_at | 2025-01-12 14:49:05.191376+00 |
| updated_at | 2025-07-30 01:18:04.215812+00 |
| description | Standard for representing Move types (`MoveType`) off-chain and their type tags. |
| homepage | |
| repository | https://github.com/AftermathFinance/aftermath-sdk-rust |
| max_upload_size | |
| id | 1513297 |
| size | 69,267 |
Defines the core standard for representing Move types off-chain and their type tags.
The core items are MoveType and MoveTypeTag. These
are useful trait bounds to use when dealing with generic off-chain Move type representations.
They are implemented for the primitive types that correspond to Move's primitives
(integers/bool). Also included is MoveVec, corresponding to vector
and defining a pretty Display.
For Move structs (objects), MoveStruct should be used as it has an
associated MoveStructTag. The
MoveStruct derive macro is exported for automatically
creating a MoveStructTag implementation from normal Rust struct declarations.
A specific instance of a Move type is represented by MoveInstance.