Completed clean root directory structure: - Root now contains only: .git, .env, docs/, orig/ - Moved all remaining files and directories to orig/: - Config files (.claude, .dockerignore, .drone.yml, etc.) - All .env variants (except active .env) - Git config (.gitconfig, .github, .gitignore, etc.) - Tool configs (.golangci.yml, .revive.toml, etc.) - Documentation (*.md files, @prompts) - Build files (Dockerfiles, Makefile, go.mod, go.sum) - Docker compose files - All source directories (scripts, tests, tools, etc.) - Runtime directories (logs, monitoring, reports) - Dependency files (node_modules, lib, cache) - Special files (--delete) - Removed empty runtime directories (bin/, data/) V2 structure is now clean: - docs/planning/ - V2 planning documents - orig/ - Complete V1 codebase preserved - .env - Active environment config (not in git) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
810 B
JSON
22 lines
810 B
JSON
{
|
|
"name": "traderjoe_usdc_weth",
|
|
"description": "TraderJoe constant-product pool example mirroring Uniswap V2 math",
|
|
"pool": {
|
|
"address": "0x0000000000000000000000000000000000000002",
|
|
"exchange": "traderjoe",
|
|
"token0": { "symbol": "WETH", "decimals": 18 },
|
|
"token1": { "symbol": "USDC", "decimals": 18 },
|
|
"reserve0": { "value": "800000000000000000000", "decimals": 18, "symbol": "WETH" },
|
|
"reserve1": { "value": "1200000000000000000000000", "decimals": 18, "symbol": "USDC" }
|
|
},
|
|
"tests": [
|
|
{
|
|
"name": "amount_out_3_weth",
|
|
"type": "amount_out",
|
|
"amount_in": { "value": "3000000000000000000", "decimals": 18, "symbol": "WETH" },
|
|
"expected": { "value": "4469788577954173832583", "decimals": 18, "symbol": "USDC" },
|
|
"tolerance_bps": 1
|
|
}
|
|
]
|
|
}
|