Expand description
Slot numbers the v3 chain ABI exposes to chain Instances at
genesis. Sourced from [javm_cap::abi] so the transpiler can
reference the same constants when building chain Images.
Constants§
- BARE_
CREATE_ YIELD_ CATCHER_ SLOT Cap::Instance[CreateYieldCatcher]factory.- BARE_
GAS_ SLOT - Root
Cap::Instance[Gas{0}]handle. The chain reads this slot to learn its active gas meter; it’s also the entry in the chain Image’sgas_slots[0]. - BARE_
HOST_ OPEN_ SLOT Cap::Instance[HostOpen]— read-only entry handle forhost_open.- BARE_
HOST_ SAVE_ SLOT Cap::Instance[HostSave]— entry handle forhost_save.- BARE_
MINT_ GAS_ SLOT Cap::Instance[MintGas]factory.- BARE_
MINT_ QUOTA_ SLOT Cap::Instance[MintQuota]factory.- BARE_
QUOTA_ SLOT - Root
Cap::Instance[Quota{0}]handle (symmetric toBARE_GAS_SLOT). - BARE_
SET_ GAS_ METER_ SLOT Cap::Instance[SetGasMeter]factory.- BARE_
SET_ STORAGE_ QUOTA_ SLOT Cap::Instance[SetStorageQuota]factory.- BARE_
YIELD_ CATCHER_ SLOT - Chain’s
Cap::Instance[YieldCatcher](its own catcher; per-block reset). The chain Image’syield_marker_slotpoints here.