1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// Static token registry composition for built-in symbol and address resolution. // Exports: iter(). // Deps: chain-specific registry modules. mod arbitrum; mod base; mod ethereum; use super::TokenInfo; pub(super) fn iter() -> impl Iterator<Item = &'static TokenInfo> { ethereum::TOKENS .iter() .chain(base::TOKENS.iter()) .chain(arbitrum::TOKENS.iter()) }