multiversx-chain-core

Crates.iomultiversx-chain-core
lib.rsmultiversx-chain-core
version0.11.0
sourcesrc
created_at2024-11-06 17:36:48.293723
updated_at2024-11-06 17:36:48.293723
descriptionMultiversX chain interfaces, constants, and base types
homepagehttps://multiversx.com/
repositoryhttps://github.com/multiversx/mx-sdk-rs
max_upload_size
id1438610
size58,478
Andrei Marinica (andrei-marinica)

documentation

https://docs.multiversx.com/

README

MultiversX blockchain base types, interfaces and builtin function names

It provides various types and contants referring to the MultiversX blockchain base implementation.

This functionality is designed to be minimal and to be used from both smart contract code and VM implementations.

It can be viewed as a collection of system specs, which hold for any MultiversX-related implementation. For example:

  • Address - MultiversX adresses are 32 bytes long. This is the old SC address type, it holds the bytes on the heap. It is also used in the MultiversX Rust VM.
  • H256 - same as address, currently used for transaction hashes.
  • Flags:
    • Code metadata - a bitflag encoding the SC code metadta, as it is stored on the blockchain, and encoded in smart contracts;
    • ESDT local roles
      • as enum
      • as bitflags
    • ESDT token types
Commit count: 9036

cargo fmt