Implement dual-chain voting ledger, API, and gated dApp #18
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/voting-bundle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
voting-ledgerregisters Terra CW20 and BSC BEP-20 wallets from live balances (no archive node, no pre-registration backfill) and indexes transfers for the registered set only.operator-votingverifies ADR-36 and EIP-191, freezes{ terra_height, bsc_block }, enforces ≥1000 CL8Y / blacklist / one vote, and uses a restricted DB role./votedApp with Legal clickwrap (vote.cl8y.com, TerraClassic + EVM) and ported DEX Terra / Bridge EVM wallet stacks.Closes #1 #2 #3 #4 #5 #6
Test plan
cargo test --workspace --lib(31 unit tests)LEDGER_TEST_DATABASE_URL): register → transfer →balance_at, no backfill, BSC isolation, reorg unwindoperator-votingAPI: propose / vote / replay 409 / blacklist / XSS stripEXECUTEon balance functions,INSERTon ledger tables deniedDATABASE_URL, unsetVITE_PLAYWRIGHT_E2Evote.cl8y.com(confirm hostname), CORS + portal redirect allowlistDocs
Invariants L1–L11 in
docs/LEDGER_INVARIANTS.md. API/signing indocs/OPERATOR_VOTING.md. dApp/Legal/wallets indocs/FRONTEND.md. Skills cross-linked.mentioned in issue #1
mentioned in issue #2
mentioned in issue #3
mentioned in issue #4
mentioned in issue #5
mentioned in issue #6
mentioned in commit
8fe45a1974mentioned in issue #7