You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- All configs validated against JSON schemas in `src/templates/namespace/`
130
130
131
+
### Pool Storage Format
132
+
Gateway stores pool configurations for each connector in `src/templates/pools/{connector}.json`. The pool storage format includes complete pool information fetched from on-chain data to ensure token ordering and fees match the actual pool state.
133
+
134
+
#### Pool Object Structure
135
+
Each pool entry contains:
136
+
```typescript
137
+
{
138
+
type: 'amm'|'clmm', // Pool type: AMM (V2) or CLMM (V3)
139
+
network: string, // Network name (e.g., 'mainnet-beta', 'mainnet')
140
+
baseSymbol: string, // Base token symbol (e.g., 'SOL')
141
+
quoteSymbol: string, // Quote token symbol (e.g., 'USDC')
142
+
baseTokenAddress: string, // Base token contract address (authoritative)
0 commit comments