refactor: move all remaining files to orig/ directory

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>
This commit is contained in:
Administrator
2025-11-10 10:53:05 +01:00
parent 803de231ba
commit c54c569f30
718 changed files with 8304 additions and 8281 deletions

View File

@@ -0,0 +1,96 @@
{
"generated_at": "2025-10-21T17:31:38Z",
"directory": "reports/payloads",
"file_count": 14,
"time_range": {
"earliest": "2025-10-13T14:24:32Z",
"latest": "2025-10-13T14:24:55Z"
},
"protocols": [
{
"name": "UniswapV3",
"count": 8,
"percentage": 57.14
},
{
"name": "Multicall",
"count": 4,
"percentage": 28.57
},
{
"name": "UniswapV2",
"count": 2,
"percentage": 14.29
}
],
"contracts": [
{
"name": "UniswapV3Router",
"count": 6,
"percentage": 42.86
},
{
"name": "UniswapV3PositionManager",
"count": 3,
"percentage": 21.43
},
{
"name": "TraderJoeRouter",
"count": 2,
"percentage": 14.29
},
{
"name": "unknown",
"count": 2,
"percentage": 14.29
},
{
"name": "UniswapV2Router02",
"count": 1,
"percentage": 7.14
}
],
"functions": [
{
"name": "exactOutputSingle",
"count": 5,
"percentage": 35.71
},
{
"name": "multicall",
"count": 4,
"percentage": 28.57
},
{
"name": "swapExactTokensForTokens",
"count": 2,
"percentage": 14.29
},
{
"name": "collect",
"count": 1,
"percentage": 7.14
},
{
"name": "decreaseLiquidity",
"count": 1,
"percentage": 7.14
},
{
"name": "exactInputSingle",
"count": 1,
"percentage": 7.14
}
],
"missing_block_number": 14,
"missing_recipient": 0,
"non_zero_value_count": 1,
"average_input_bytes": 362.86,
"sample_transaction_hashes": [
"0x69bad4eca82a4e139aad810777dc72faf5414e338b0a1b648e8472cd4904f93e",
"0x69aaa929dace9feee6e1579f4b0fae055868fd56bb7fbd653a02ebd787e348f3",
"0xf6431652d3e4e9de83d259de062488064ead35e5f112d13ae110b24b8782e242",
"0xaf6228fcef1fa34dafd4e8d6e359b845e052a1a6597c88c1c2c94045c6140f9f",
"0x725db13de678e9da4590bf4fe40051f397ff4c8625ef5f1e343a39905151fa7b"
]
}

View File

@@ -0,0 +1,47 @@
# Payload Capture Analysis
- Generated at: 2025-10-21T17:31:38Z
- Source directory: `reports/payloads`
- Files analysed: **14**
- Capture window: 2025-10-13T14:24:32Z → 2025-10-13T14:24:55Z
- Average calldata size: 362.86 bytes
- Payloads with non-zero value: 1
- Missing block numbers: 14
- Missing recipients: 0
## Protocol Distribution
| Protocol | Count | Share |
| --- | ---:| ---:|
| UniswapV3 | 8 | 57.14% |
| Multicall | 4 | 28.57% |
| UniswapV2 | 2 | 14.29% |
## Contract Names
| Contract | Count | Share |
| --- | ---:| ---:|
| UniswapV3Router | 6 | 42.86% |
| UniswapV3PositionManager | 3 | 21.43% |
| TraderJoeRouter | 2 | 14.29% |
| unknown | 2 | 14.29% |
| UniswapV2Router02 | 1 | 7.14% |
## Function Signatures
| Function | Count | Share |
| --- | ---:| ---:|
| exactOutputSingle | 5 | 35.71% |
| multicall | 4 | 28.57% |
| swapExactTokensForTokens | 2 | 14.29% |
| collect | 1 | 7.14% |
| decreaseLiquidity | 1 | 7.14% |
| exactInputSingle | 1 | 7.14% |
## Sample Transactions
- `0x69bad4eca82a4e139aad810777dc72faf5414e338b0a1b648e8472cd4904f93e`
- `0x69aaa929dace9feee6e1579f4b0fae055868fd56bb7fbd653a02ebd787e348f3`
- `0xf6431652d3e4e9de83d259de062488064ead35e5f112d13ae110b24b8782e242`
- `0xaf6228fcef1fa34dafd4e8d6e359b845e052a1a6597c88c1c2c94045c6140f9f`
- `0x725db13de678e9da4590bf4fe40051f397ff4c8625ef5f1e343a39905151fa7b`

View File

@@ -0,0 +1,58 @@
{
"generated_at": "2025-10-21T17:31:38Z",
"vector_path": "tools/simulation/vectors/default.json",
"network": "arbitrum-one",
"window": "2024-09-15T00:00:00Z/2024-09-15T01:00:00Z",
"sources": [
"uniswap-v3",
"camelot",
"sushiswap"
],
"attempts": 5,
"executed": 4,
"conversion_rate": 0.8,
"successful": 3,
"failed": 1,
"hit_rate": 0.75,
"gross_profit_eth": "0.101000",
"gas_cost_eth": "0.013700",
"net_profit_eth": "0.087300",
"average_profit_per_trade_eth": "0.021825",
"average_gas_cost_eth": "0.003425",
"profit_factor": 6.372262773722627,
"exchange_breakdown": [
{
"exchange": "camelot",
"executed": 2,
"successful": 1,
"hit_rate": 0.5,
"gross_profit_eth": "0.012000",
"net_profit_eth": "0.006100",
"gas_cost_eth": "0.005900"
},
{
"exchange": "sushiswap",
"executed": 1,
"successful": 1,
"hit_rate": 1,
"gross_profit_eth": "0.049200",
"net_profit_eth": "0.044500",
"gas_cost_eth": "0.004700"
},
{
"exchange": "uniswap-v3",
"executed": 1,
"successful": 1,
"hit_rate": 1,
"gross_profit_eth": "0.039800",
"net_profit_eth": "0.036700",
"gas_cost_eth": "0.003100"
}
],
"skip_reasons": [
{
"reason": "below_min_profit",
"count": 1
}
]
}

View File

@@ -0,0 +1,31 @@
# Profitability Simulation Report
- Generated at: 2025-10-21T17:31:38Z
- Vector source: `tools/simulation/vectors/default.json`
- Network: **arbitrum-one**
- Window: 2024-09-15T00:00:00Z/2024-09-15T01:00:00Z
- Exchanges: uniswap-v3, camelot, sushiswap
## Summary
- Opportunities analysed: **5**
- Executed: **4** (conversion 80.0%)
- Successes: **3** / 4 (hit rate 75.0%)
- Gross profit: **0.101000 ETH**
- Gas spent: **0.013700 ETH**
- Net profit after gas: **0.087300 ETH**
- Avg profit per trade: **0.021825 ETH**
- Avg gas cost per trade: **0.003425 ETH**
- Profit factor (net/gas): **6.37**
## Exchange Breakdown
| Exchange | Executed | Success | Hit Rate | Gross Profit (ETH) | Gas (ETH) | Net Profit (ETH) |
| --- | ---:| ---:| ---:| ---:| ---:| ---:|
| camelot | 2 | 1 | 50.0% | 0.012000 | 0.005900 | 0.006100 |
| sushiswap | 1 | 1 | 100.0% | 0.049200 | 0.004700 | 0.044500 |
| uniswap-v3 | 1 | 1 | 100.0% | 0.039800 | 0.003100 | 0.036700 |
## Skip Reasons
- below_min_profit: 1