Skip to main content

Module gas_coin

Module gas_coin 

Source

Structs§

GAS
GasCoin
Rust version of the Move iota::coin::CoinIota::iota::IOTA type
IotaTreasuryCap

Constants§

NANOS_PER_IOTA
The number of Nanos per IOTA token
SIMULATION_GAS_COIN_VALUE
Value of the mock gas coin minted for a gasless transaction in dev-inspect, dry-run, and offline simulation when no gas coin is provided.
STARDUST_TOTAL_SUPPLY_IOTA
Total supply in IOTA at genesis, after the migration from a Stardust ledger, before any inflation mechanism
STARDUST_TOTAL_SUPPLY_NANOS
Total supply at genesis denominated in Nanos, after the migration from a Stardust ledger, before any inflation mechanism

Functions§

mock_simulation_gas_coin
Mint the one-shot mock gas coin that simulation paths use for a transaction carrying no gas payment: a fresh coin at [ObjectId::MAX] owned by owner and funded with SIMULATION_GAS_COIN_VALUE.