Add SCHEMA.md documenting the JSONL attack file format with all operation definitions, field types, and the burn_lp tokenId convention divergence between AttackRunner (.positionIndex) and FitnessEvaluator (.tokenId). Add schema-version header comments to all existing attack files and teach both consumers to skip comment lines starting with //. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
534 B
JSON
15 lines
534 B
JSON
// schema-version: 1
|
|
{"op":"buy","amount":"50000000000000000000","token":"WETH"}
|
|
{"op":"recenter"}
|
|
{"op":"stake","amount":"1000000000000000000000","taxRateIndex":0}
|
|
{"op":"recenter"}
|
|
{"op":"buy","amount":"50000000000000000000","token":"WETH"}
|
|
{"op":"recenter"}
|
|
{"op":"stake","amount":"1000000000000000000000","taxRateIndex":5}
|
|
{"op":"recenter"}
|
|
{"op":"buy","amount":"50000000000000000000","token":"WETH"}
|
|
{"op":"recenter"}
|
|
{"op":"unstake","positionId":1}
|
|
{"op":"recenter"}
|
|
{"op":"sell","amount":"all","token":"KRK"}
|
|
{"op":"recenter"}
|