caelum0x 2d2b15c7fe feat: full guardrail-alpha system + CLI modularization + Vercel deploy config
- 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>
2026-06-15 11:02:22 +03:00

691 lines
12 KiB
JSON

[
{
"inputs": [
{
"internalType": "address",
"name": "commerce_",
"type": "address"
},
{
"internalType": "address",
"name": "router_",
"type": "address"
},
{
"internalType": "address",
"name": "admin_",
"type": "address"
},
{
"internalType": "uint64",
"name": "disputeWindow_",
"type": "uint64"
},
{
"internalType": "uint16",
"name": "initialQuorum_",
"type": "uint16"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AlreadyDisputed",
"type": "error"
},
{
"inputs": [],
"name": "AlreadyInitialised",
"type": "error"
},
{
"inputs": [],
"name": "AlreadyVoted",
"type": "error"
},
{
"inputs": [],
"name": "NotAdmin",
"type": "error"
},
{
"inputs": [],
"name": "NotClient",
"type": "error"
},
{
"inputs": [],
"name": "NotDisputed",
"type": "error"
},
{
"inputs": [],
"name": "NotPendingAdmin",
"type": "error"
},
{
"inputs": [],
"name": "NotRouter",
"type": "error"
},
{
"inputs": [],
"name": "NotSubmitted",
"type": "error"
},
{
"inputs": [],
"name": "NotVoter",
"type": "error"
},
{
"inputs": [],
"name": "OutsideDisputeWindow",
"type": "error"
},
{
"inputs": [],
"name": "QuorumOutOfRange",
"type": "error"
},
{
"inputs": [],
"name": "QuorumZero",
"type": "error"
},
{
"inputs": [],
"name": "SubmissionTooLate",
"type": "error"
},
{
"inputs": [],
"name": "UnknownVoter",
"type": "error"
},
{
"inputs": [],
"name": "VoterAlreadyExists",
"type": "error"
},
{
"inputs": [],
"name": "WouldBreakQuorum",
"type": "error"
},
{
"inputs": [],
"name": "WrongJobStatus",
"type": "error"
},
{
"inputs": [],
"name": "ZeroAddress",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "pendingAdmin",
"type": "address"
}
],
"name": "AdminTransferStarted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "client",
"type": "address"
}
],
"name": "Disputed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "deliverable",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint64",
"name": "submittedAt",
"type": "uint64"
},
{
"indexed": false,
"internalType": "bytes",
"name": "optParams",
"type": "bytes"
}
],
"name": "JobInitialised",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint16",
"name": "rejectVotes",
"type": "uint16"
}
],
"name": "QuorumReached",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint16",
"name": "oldQuorum",
"type": "uint16"
},
{
"indexed": false,
"internalType": "uint16",
"name": "newQuorum",
"type": "uint16"
}
],
"name": "QuorumUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "voter",
"type": "address"
},
{
"indexed": false,
"internalType": "uint16",
"name": "rejectVotes",
"type": "uint16"
}
],
"name": "VoteCast",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "voter",
"type": "address"
},
{
"indexed": false,
"internalType": "uint16",
"name": "activeVoterCount",
"type": "uint16"
}
],
"name": "VoterAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "voter",
"type": "address"
},
{
"indexed": false,
"internalType": "uint16",
"name": "activeVoterCount",
"type": "uint16"
}
],
"name": "VoterRemoved",
"type": "event"
},
{
"inputs": [],
"name": "REASON_APPROVED",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "REASON_REJECTED",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "acceptAdmin",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "activeVoterCount",
"outputs": [
{
"internalType": "uint16",
"name": "",
"type": "uint16"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "voter",
"type": "address"
}
],
"name": "addVoter",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "admin",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"name": "check",
"outputs": [
{
"internalType": "uint8",
"name": "verdict",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "reason",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "commerce",
"outputs": [
{
"internalType": "contract IACP",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "dispute",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "disputeQuorumSnapshot",
"outputs": [
{
"internalType": "uint16",
"name": "",
"type": "uint16"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "disputeWindow",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "disputed",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"internalType": "address",
"name": "voter",
"type": "address"
}
],
"name": "hasVoted",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "voter",
"type": "address"
}
],
"name": "isVoter",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "deliverable",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "optParams",
"type": "bytes"
}
],
"name": "onSubmitted",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "pendingAdmin",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "rejectVotes",
"outputs": [
{
"internalType": "uint16",
"name": "",
"type": "uint16"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "voter",
"type": "address"
}
],
"name": "removeVoter",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "router",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint16",
"name": "newQuorum",
"type": "uint16"
}
],
"name": "setQuorum",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "submittedAt",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "transferAdmin",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "voteQuorum",
"outputs": [
{
"internalType": "uint16",
"name": "",
"type": "uint16"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "voteReject",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]