7 Commits

Author SHA1 Message Date
a9cc50524c feat(contracts): one-command Arc mainnet deploy and verify for OperatorVault and escrow
Adds DeployArcMainnet.s.sol and deploy-arc-mainnet.sh. The script checks the
chain id (5042) and USDC, simulates, prints the cost in USDC, asks for
confirmation, then verifies on Sourcify and Blockscout. Also adds the
bounty runbook. SettleKitCctpHook is excluded: it is not called by CCTP V2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 17:33:07 +03:00
4c1742c20b feat: add OperatorVault contract with caps, escalation and yield hooks
Owner/operator roles, USDC buckets, allowlist + per-tx + UTC daily caps,
TAX lock, owner approve/reject/expire escalations, USYC adapter hooks,
pause kill switch and DecisionAnchored on every mutation. 21 forge tests
including a reentrant-token CEI check, plus DeployOperator script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 15:02:00 +03:00
a2249b5a06 Merge feat/statement-frontend-redesign: attribution package (RFB 6.01) + creator-dashboard
# Conflicts:
#	services/sidecars/rsshub-citation-toll/src/config.ts
2026-06-20 11:57:27 +03:00
pextacy
71e89bdfd8 feat(lepton): attribution package (RFB 6.01) + creator-dashboard
Adds @settlekit/attribution — reuse-detection, weighted provenance lineage,
and HMAC-signed proofs-of-citation — wired live into the rsshub-citation-toll
sidecar (POST /attribution/{detect,proof,verify}) and persisted via
PgLineageStore/PgProofStore over new lepton_lineage_edges + lepton_citation_proofs
tables.

Adds apps/creator-dashboard — a Next.js earnings view in the Statement
greenbar-ledger design system, driven by real domain logic (createSource +
computeRoyaltyDistribution + detectReuse, not mocks). Statement / Sources /
Payouts / Reuse & proofs (interactive) / Wallet. next build green.

Also bundles in-progress settlement hardening: settlement-core idempotency
concurrency, api env validation, bundles + contracts/worker tweaks.

Verified: 943 vitest tests, 27 Foundry tests, next build all green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 01:19:22 +03:00
80adccccff feat(contracts): one-command Arc deploy for the three Lepton contracts
Add DeployLepton.s.sol — deploys RecursiveSplitDistributor, LeptonStreamSettlement,
and AgentReputationBond to Arc in one forge script, mirroring the existing
Deploy.s.sol style (minimal Vm surface, no forge-std). USDC (the native gas token
at 0x3600…0000) is the default settlement asset, overridable via ARC_USDC_ADDRESS.

Verified by dry-run: simulates all three deploys (gas ~1.46M) and returns their
addresses; broadcast needs a faucet-funded deployer key.

Document the full live-testnet runbook in the plan: CLI auth, contract deploy
(dry-run + broadcast), and flipping the sidecars to SETTLEMENT_PROVIDER=circle.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 17:41:31 +03:00
cb38b17f5a feat(lepton): live-wiring seams + Phase 4 on-chain contracts
Live-wiring (flip to production by config, no code change):
- settlementProviderFromEnv (local/Circle) wired into every sidecar startSidecar
- createFeedPoller fetches a live RSSHub JSON feed and ingests on an interval

On-chain contracts (Foundry, Solc 0.8.30, forge test green):
- RecursiveSplitDistributor.sol: settle a citation/remix lineage in one tx (RFB 6)
- LeptonStreamSettlement.sol: per-second stream w/ reserve, proof-of-flow
  pause/resume, settle, close+refund (RFB 4)
- AgentReputationBond.sol: ERC-8004-style USDC bond, release/slash (RFB 3)

All green: full typecheck, 885 JS tests, 25 Foundry tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 15:00:17 +03:00
3853551433 asad 2026-06-17 02:09:36 +03:00