Remove: Rabbit Treasury, Burrow math, vault sinks, treasury UX #242
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:open_issues
agents
agent:security_audit
agent:verify
area
timecurve
arena
arena-v2
audit
block:feature_review
block:security
bug
contracts
design
devops
docs
documentation
enhancement
epic
feature
frontend
indexer
low priority
megaeth
operations
ops
performance
QA
qa checklist
referrals
removal
security
smart-contracts
tech-debt
testing
time-arena
timecurve
visual-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/yieldomega#242
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Context
Remove Rabbit Treasury / Burrow from Arena v2. Parent epic: #238.
Relevant files
contracts/src/RabbitTreasury.sol,contracts/src/libraries/BurrowMath.solcontracts/src/sinks/RabbitTreasuryVault.soldocs/product/rabbit-treasury.md,docs/onchain/treasury-contracts.mdskills/play-rabbit-treasury/SKILL.mdfrontend/src/pages/RabbitTreasuryPage.tsxidx_rabbit_*tables,GET /v1/rabbit/*Acceptance criteria
Doubloon.mintminter role repointed (TimeArena or governance only)Verification checklist
rg -i "rabbit.?treasury|burrow"clean in contracts, indexer, frontend, docs, skillsmarked as related to #238
mentioned in issue #238
Implementation complete
What we did
RabbitTreasury,BurrowMath,RabbitTreasuryVault, and all related Forge testsdocs/product/rabbit-treasury.md,docs/onchain/treasury-contracts.md,skills/play-rabbit-treasury/SKILL.mdGET /v1/rabbit/*routes; migration20260528120000_arena_v2_drop_legacydropsidx_rabbit_*tablesRabbitTreasuryPage, route, home card, rabbit API helpers inindexerApi.tsDoubloonMINTER_ROLEgranted to deployer/governance only inDeployDev(no Rabbit minter)Acceptance criteria for closing
Doubloon.mintminter repointed (governance/deployer, not Rabbit)Verification checklist
rg -i 'rabbit.?treasury|burrow'clean in active source (Doubloonmay still say "Burrow receipt" as token name)DeployDev.s.soldeploys without RabbitTreasuryGET /v1/rabbit/deposits→ 404)mentioned in issue #266
mentioned in commit
65c71dd988mentioned in commit
7add8360e8Verification complete (issue #242)
Verified on worktree
issue/242-verify-rabbit-removal, merged tomainat7add836.What was done
rabbitTreasury*ABIs, reserved route segment, revert mapping, and OG copy; updatedDoubloonNatSpec (kept “Burrow receipt” token notice per agreed exception).contracts/README.mdcontract map with Arena v2 canonical list; retiredanvil_rich_state.shstub; rewrotedocs/onchain/treasury-contracts.mdfor Arena v2 custody; scrubbed legacy player-reserve references across docs/skills/indexer README.INV-242-RABBIT-REMOVED,INV-242-INDEXER-NO-HTTP,INV-242-SOURCE-GREPindocs/testing/invariants-and-business-logic.md.api_legacy_player_reserve_routes_return_404integration test; fixedRegistryContractstest initializers (time_arena_buy_router).origin/main(time-arena spec #240) and resolved conflicts without reintroducing legacy names.Automated evidence
FOUNDRY_PROFILE=ci forge test --match-contract DevStackIntegration— 6/6 passforge script script/DeployDev.s.sol:DeployDev --rpc-url http://127.0.0.1:8545 --code-size-limit 524288— simulation OK (no player-reserve deploy)cargo test --test integration_stage2 api_legacy— 404 on/v1/rabbit/depositsand/v1/rabbit/health-epochsrg -i 'rabbit.?treasury|burrow' contracts indexer frontend docs skills— clean except allowedDoubloon.solnoticeManual verification checklist
DeployDev/DeployProductionbroadcast logs contain no player-reserve contractDoubloon.MINTER_ROLEgranted only to deployer/governance (not a retired minter)GET /v1/rabbit/*returns 404 on your stack/rabbit-treasuryroute or treasury pagerg -i 'rabbit.?treasury|burrow'clean in active source (Doubloon notice OK)/arenastill mounts and reads/v1/arena/*All acceptance criteria from the issue body and prior implementation comment pass — closing.