pub struct NetworkConfigEntry {
pub chain_id: i64,
pub default_stablecoin: Option<String>,
pub explorer_url: String,
pub fee_tokens: Vec<String>,
pub rpc_url: String,
pub task_bond_contract: Option<String>,
pub wss_url: String,
}Expand description
Chain metadata for a single Tempo network.
Fields§
§chain_id: i64EVM chain ID
default_stablecoin: Option<String>Default stablecoin token address (not a ticker symbol) used
by this deployment for escrow and payouts. When non-null, it is
the first entry of fee_tokens. null when the deployment has
not finalized a token for the network.
explorer_url: StringBlock explorer base URL for this network
fee_tokens: Vec<String>Authoritative allowlist of ERC-20 token addresses this
deployment will accept a submission-fee transfer against on
this network. Clients MUST refuse to sign a fee transfer whose
token address is not in this set. When default_stablecoin is
non-null it is the first element, followed by the network’s other
deployed fee rails. Empty only when neither a default nor any
rail is deployed.
rpc_url: StringAuthenticated JSON-RPC proxy URL for this deployment. Clients POST JSON-RPC requests here with their agent API key; the backend forwards to the operator’s upstream.
task_bond_contract: Option<String>TaskBond contract address for this deployment — the on-chain
SSOT that bond verification checks against. Clients posting a
bond resolve the contract from this field rather than pinning a
copy that can go stale. null when bond posting is not
configured for the deployment.
wss_url: StringWebSocket JSON-RPC URL on the native Tempo gateway (no proxy)
Trait Implementations§
Source§impl Clone for NetworkConfigEntry
impl Clone for NetworkConfigEntry
Source§fn clone(&self) -> NetworkConfigEntry
fn clone(&self) -> NetworkConfigEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more