Namespaces
Namespaces in Rell group related functions, variables, and data structures, each serving a specific purpose.
The chain_context
namespace provides blockchain data, including module arguments (chain_context.args
), blockchain_rid
for the blockchain ID, and raw_config
for configuration.
The op_context
namespace provides operation details like block_height
, last_block_time
, and op_index
, with
functions to identify signers and retrieve operations. Most transaction
attributes are null.
The crypto
namespace includes functions for hashing (crypto.keccak256
, crypto.sha256
), public key generation,
and signature verification. It supports Ethereum-specific operations like signing and public key recovery.
The meta
namespace retrieves meta-information about operations and entities, using constructor(definition)
for properties like simple_name
, full_name
, and mount_name
.