Skip to main content

Module storage_credits

Module storage_credits 

Source

Enumsยง

CreditMode
CLI-facing spelling of IStorageCredits::Mode.
StorageCreditsSubcommand
T7 storage credits operations (Tempo).

Functionsยง

balance ๐Ÿ”’
budget ๐Ÿ”’
ensure_send_storage_credits_t7 ๐Ÿ”’
Gate a write command on T7 before signing: on pre-T7 the precompile address is an empty account, so a transaction to it would silently succeed as a no-op.
ensure_storage_credits_t7 ๐Ÿ”’
The StorageCredits precompile only exists on T7+; fail early with a clear message instead of surfacing a raw revert. Fall back to a code check when the RPC lacks the hardfork query.
mode ๐Ÿ”’
set_budget ๐Ÿ”’
set_mode ๐Ÿ”’