- 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>
34 lines
892 B
Python
34 lines
892 B
Python
"""ERC-8183 protocol module — ERC-8183 Protocol."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
from ..core.module import BNBAgentModule, ModuleInfo
|
|
|
|
|
|
class ERC8183Module(BNBAgentModule):
|
|
def info(self) -> ModuleInfo:
|
|
return ModuleInfo(
|
|
name="erc8183",
|
|
version="0.1.0",
|
|
description=(
|
|
"ERC-8183 Protocol — job lifecycle, escrow, negotiation, evaluation & settlement"
|
|
),
|
|
dependencies=("erc8004",),
|
|
)
|
|
|
|
def default_config(self) -> dict[str, Any]:
|
|
from ..config import resolve_network
|
|
|
|
nc = resolve_network()
|
|
return {
|
|
"commerce_contract": nc.commerce_contract,
|
|
"router_contract": nc.router_contract,
|
|
"policy_contract": nc.policy_contract,
|
|
}
|
|
|
|
|
|
def create_module() -> ERC8183Module:
|
|
return ERC8183Module()
|