- Rust engine: real bootstrap/wiring preflight (guardrail-agent), execution layer (retry/router/pre-trade/post-trade/reconciliation), guardrail-doctor diagnostics with allowlist-drift guard. - guardrail-cli: extracted pure helpers into util.rs (split in progress). - 6 Track-2 skills + ensemble; python-lab analytics (regime/drawdown/montecarlo/dossier/ensemble/journal/seed); clients (ts/py/go/mcp/langchain/web-lite/proof-verifier); alert relay; scenarios; helm/k8s/compose; docs. - dashboard/vercel.json + docs/VERCEL_DEPLOY.md for Vercel deployment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"name": "TWAK x402 Signing Policy",
|
|
"chain_id": 56,
|
|
"mode": "strict_default",
|
|
"payment_header": "X-PAYMENT",
|
|
"accepts_header": "X-PAYMENT-ACCEPTS",
|
|
"payer_wallet_env": "CMC_X402_FROM",
|
|
"fallback_payer_wallet": "0xA9e5C0FfEe0000000000000000000000000A1b2C3",
|
|
"payment_token": "0xcE24439F2D9C6a2289F741120FE202248B666666",
|
|
"max_per_call_base_units": "100000",
|
|
"session_budget_base_units": "1000000",
|
|
"validity_window_seconds": 600,
|
|
"max_future_validity_seconds": 900,
|
|
"primary_type_allowlist": [
|
|
"TransferWithAuthorization",
|
|
"ReceiveWithAuthorization"
|
|
],
|
|
"primary_type_denylist": [
|
|
"Permit",
|
|
"PermitSingle",
|
|
"PermitBatch"
|
|
],
|
|
"resources": [
|
|
{
|
|
"label": "CMC premium quotes",
|
|
"resource": "https://pro-api.coinmarketcap.com/v2/cryptocurrency/quotes/latest",
|
|
"scheme": "exact",
|
|
"network": "bsc",
|
|
"amount_base_units": "100000",
|
|
"pay_to": "0x000000000000000000000000000000000000dEaD"
|
|
},
|
|
{
|
|
"label": "TWAK routed execution metadata",
|
|
"resource": "twak://swap/quote",
|
|
"scheme": "exact",
|
|
"network": "bsc",
|
|
"amount_base_units": "50000",
|
|
"pay_to": "0x0000000000000000000000000000000000000808"
|
|
}
|
|
]
|
|
}
|