Add Glorb protocol fees adapter (Base)#5845
Add Glorb protocol fees adapter (Base)#5845glorbwtf wants to merge 1 commit intoDefiLlama:masterfrom
Conversation
Tracks fees and revenue from two onchain games on Base: - Snatch V4: 10% fee on buys (5% buyback-burn, 3% dividends, 2% jackpot) - Mines: ETH from registrations/depth unlocks/prestige + GLORB from stat upgrades (10% burned) Protocol revenue = deflationary buyback-and-burn mechanisms. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughA new TypeScript module is introduced that implements a SimpleAdapter for aggregating on-chain fees and revenue data on Base chain. The adapter processes contract events to calculate daily fees, revenue, and protocol revenue across SNATCH, MINES, and GLORB contracts. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The glorb.ts adapter exports: |
| } | ||
|
|
||
| // --- Mines: GLORB fees from stat upgrades --- | ||
| // 10% burned (deflationary revenue), 85% recycled, 5% jackpot |
There was a problem hiding this comment.
@glorbwtf what do you mean by recycled? Where exactly does that fees go?
Also jackpot goes to users?
Summary
Contracts
0x1Ef75dc4904b71021F308a8D276be346889fEe620x8536f84d0300Be2B6733B69Bcd48613a9E04E9180xa26303226Baa2299adA8D573a6FcD792aB1CFB07Test output
Related
Summary by CodeRabbit