Module tempo
Expand description
Tempo precompile and contract initialization for Foundry.
This module provides the core initialization logic for Tempo-specific precompiles, fee tokens (PathUSD, AlphaUSD, BetaUSD, ThetaUSD), and standard contracts.
It includes the shared genesis initialization function used by both anvil and forge.
Constants§
- ADDRESS_
REGISTRY_ ADDRESS - ALPHA_
USD_ ADDRESS - Testnet-only TIP20 tokens (minted by faucet on Moderato). These addresses are in the reserved TIP20 space and may be deployed on mainnet in the future with the same addresses.
- BETA_
USD_ ADDRESS - PATH_
USD_ ADDRESS - SIGNATURE_
VERIFIER_ ADDRESS - TEMPO_
PRECOMPILE_ ADDRESSES - All well-known Tempo precompile addresses.
- TEMPO_
TIP20_ TOKENS - All well-known TIP20 fee token addresses on Tempo networks.
- THETA_
USD_ ADDRESS
Functions§
- initialize_
tempo_ genesis - Initialize Tempo precompiles and contracts using a storage provider.
- initialize_
tempo_ genesis_ inner - Inner genesis initialization logic. Must be called within a [
StorageCtx] scope (either via [StorageCtx::enter] or [StorageCtx::enter_evm]).