Skip to content

Latest commit

 

History

History
156 lines (128 loc) · 15.7 KB

File metadata and controls

156 lines (128 loc) · 15.7 KB

cf-invariants — Starknet sepolia deployments

Linked from README.md Status section — the live-network proof artifact for cf-invariants. Kept at repo root (instead of docs/deploy-log/) for grant-reviewer transparency: each contract here is independently verifiable on Voyager and reproducible from the commands documented below.

Network: Starknet sepolia Deployer account: 0x06a45089230bb9dc2d47f46ea95334358addb12bc9bb773a1f39ca38464cb45d Deployed (UTC): 2026-05-31T21:55:53Z (first 3 contracts), 2026-06-01T22:32:00Z (Week 3 batch 1 — erc4626_ref, multisig_ref, erc721_ref), 2026-06-02T17:30:00Z (Week 4 batch 1 — lending_ref, staking_ref, vesting_ref), 2026-06-03T16:45:00Z (Week 4 batch 2 — timelock_ref, payment_splitter_ref, oracle_ref) Tooling: scarb 2.18.0, sncast 0.60.0

These 12 contracts are the reference suite used by cf-invariants (stateful invariant testing for Cairo 2.x). Each one has a deliberate planted bug on a different surface (token supply accounting, governance executed-state, AMM constant-product, vault share/asset conservation, multisig threshold monotonicity, NFT uniqueness, per-user lending solvency, stake-slash conservation, time-bounded release supply cap, delay-respected execution, proportional-share release, push-update timestamp monotonicity) and serves as both a regression fixture and on-chain proof of cf-invariants' Cairo 2.x target coverage.

Each entry below is verified on-chain (the deployed address resolves to the declared class hash via sncast get class-hash-at --network sepolia, run after the deploy tx was accepted on L2) and source-verified on Voyager (Cairo source compiled by Voyager from the committed references/<name>/ tree reproduces the on-chain class hash; see "Voyager source verification" line under each contract).

ERC20Ref — erc20_planted_bug

Governance — governance

SingleSideAmm — single_side_amm

ERC4626Ref — erc4626_ref

MultisigRef — multisig_ref

ERC721Ref — erc721_ref

LendingRef — lending_ref

StakingRef — staking_ref

VestingRef — vesting_ref

TimelockRef — timelock_ref

PaymentSplitterRef — payment_splitter_ref

OracleRef — oracle_ref