Skip to main content

xrpl_wasm_stdlib/core/
mod.rs

1//! Core modules for XRPL transaction and ledger access.
2//!
3//! This namespace provides typed accessors and utilities used by smart contracts:
4//! - [`constants`]: Internal helpers for buffer sizes
5//! - [`current_tx`]: Read fields from the current transaction
6//! - [`keylets`]: Compute keylets for various ledger entry types
7//! - [`ledger_objects`]: Read fields from ledger entries (current or cached)
8//! - [`types`]: Strongly-typed XRPL primitives (AccountID, Hash256, Amount, etc.)
9//! - [`locator`]: Build locators for nested field access
10//!
11//! Escrow-specific wrappers (`EscrowFinish`, `CurrentEscrow`, `Escrow`) live in the
12//! companion `xrpl-escrow-stdlib` crate.
13
14pub mod chain;
15pub mod constants;
16pub mod current_tx;
17pub mod keylets;
18pub mod ledger_objects;
19pub mod locator;
20pub mod type_codes;
21pub mod types;