Skip to main content

Module tempo

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]).