agentswap 0.13.0

AgentSwap CLI for requesting quotes, inspecting tokens and pools, managing intents, and registering an API key against the AgentSwap service.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Static token registry composition for built-in symbol and address resolution.
// Exports: iter().
// Deps: chain-specific registry modules.

mod arbitrum;
mod arc;
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())
        .chain(arc::TOKENS.iter())
}