fb
Skill7 starsChanged 9 months agoMITView on GitHub
FlareBank protocol — all-in-one. Dashboard, mint/burn BANK, claim/compound dividends, price checker. Triggers on "/fb", "/fbdashboard", "/bankrate", "flarebank", "bank token", "mint bank", "burn bank", "bank price", "bank rate".
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
All FlareBank operations in one skill.
- Very specific: line 56
When running /fb dashboard or /fbdashboard:
- Distinctive: line 59
Do NOT summarize, truncate, or add commentary
- Very specific: line 130
Default: ./keystore.json (set via AGENT_KEYSTORE) Agent wallet: (set via AGENT_WALLET env var)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
FlareBank Skill (Unified)
All FlareBank operations in one skill.
Quick Command
node skills/fb/scripts/fb.js <command> [options]Subcommands
| Command | Description |
dashboard | Full protocol analytics (TVL, supply, rewards, validators, activity) |
status | Vault status, balances, pending dividends |
mint <amount> | Mint BANK by depositing FLR |
burn <amount> | Burn BANK to withdraw FLR |
claim | Claim pending dividends to wallet |
compound | Compound dividends into more BANK |
bankrate | BANK price comparison — LP market vs contract mint/burn rates |
Command Aliases
| Trigger | Maps To |
/fbdashboard | /fb dashboard |
/bankrate | /fb bankrate |
/fb stats | /fb dashboard |
/fb sell | /fb burn |
/fb buy | /fb mint |
/fb withdraw | /fb claim |
/fb reinvest | /fb compound |
/fb rate | /fb bankrate |
/fb price | /fb bankrate |
Usage Examples
/fb dashboard # Full protocol overview
/fb status # Vault balances + pending divs
/fb mint 100 # Mint BANK with 100 FLR
/fb burn 10 # Burn 10 BANK for FLR
/fb claim # Claim dividends
/fb compound # Compound dividends
/fb bankrate # LP vs contract price comparison⚠️ Dashboard Output Rules
When running /fb dashboard or /fbdashboard:
- Run:
node skills/fb/scripts/fb.js dashboard - Copy-paste the ENTIRE output — every table, every section
- Do NOT summarize, truncate, or add commentary
Dashboard Sections
- 📈 PROTOCOL TVL — FB Main, DAO Treasury, LP WFLR, IBDP queue
- 🏦 BANK TOKEN — Supply, circulating, price, mint/burn prices, backing
- 🏛️ DAO TREASURY — All token holdings with WFLR valuations
- 💧 LP POSITIONS — Enosys V2, SparkDex V2, V3 details
- 🌾 CDP EARN POOLS — Deposits, pending yield, liquidation collateral
- 🎁 PENDING REWARDS — CDP yield and collateral claimable
- 🥩 APS STAKING — DAO staked APS, held APS
- 🔒 rFLR VESTING — Vested vs unvested
- 🪂 FLAREDROP CLAIMS — DAO, IBDP, FB Main (All Time/30d/7d/24h)
- 📊 FTSO DELEGATION REWARDS — Per source, per period
- 🏛️ FTSO PROVIDER FEES — Provider fee breakdown
- 🔐 VALIDATOR FEES CLAIMED — Self-bond + operation fees
- 🌐 FTSO — Total WFLR delegated
- 🔐 VALIDATORS — Stake, delegation, uptime, expiry
- 💰 PROVIDER EARNINGS — Estimated per epoch/month/year
- 🏭 MINT/🔥 BURN/📤 TRANSFER/🔄 SWAP STATISTICS — Activity + fee distribution
- 📋 SUPPLY SUMMARY — Current, minted, burned
- 💱 PRICES — FXRP, stXRP, sFLR, FLR/USD
Bankrate Output
- LP Price — BANK/WFLR from Enosys V2 pool reserves
- Contract Buy Price — Mint rate
- Contract Sell Price — Burn rate
- Spread — Buy vs sell difference
- LP vs Contract — Premium/discount analysis
Protocol Overview
How BANK Works
- Minting: Send FLR → receive BANK at
buyPrice()rate - Burning: Send BANK → receive FLR at
sellPrice()rate - Spread: Buy price > sell price (value accrual)
- Dividends: 10% fee on all activity → distributed to holders
- Compounding:
reinvest()auto-buys BANK with pending divs
Fee Structure
| Action | Fee | Distribution |
| Mint | 10% of WFLR | 80% holders, 15% team, 5% DAO |
| Burn | 10% of WFLR | 80% holders, 15% team, 5% DAO |
| Transfer | 1% burn + 1% fee | 80% holders, 15% team, 5% DAO |
| LP Swap | 1% burn + 1% fee | 80% holders, 15% team, 5% DAO |
Contract Reference
| Contract | Address |
| BANK Token (FB Main) | 0x194726F6C2aE988f1Ab5e1C943c17e591a6f6059 |
| IBDP | 0x90679234fe693b39bfdf5642060cb10571adc59b |
| DAO Treasury | 0xaa68bc4bab9a63958466f49f5a58c54a412d4906 |
| Enosys V2 BANK/WFLR | 0x5f29c8d049e47dd180c2b83e3560e8e271110335 |
Function Selectors
| Function | Selector |
buy(address) | 0xf088d547 |
sell(uint256) | 0x35a4f939 |
withdraw() | 0x3ccfd60b |
reinvest() | 0xfdb5a03e |
buyPrice() | 0x8620410b |
sellPrice() | 0x4b750334 |
Keystore
Default: ./keystore.json (set via AGENT_KEYSTORE)
Agent wallet: (set via AGENT_WALLET env var)
Routing Guide
Use when...
- Any FlareBank-related query: dashboard, minting, burning, prices, analytics
/fb,/fbdashboard,/bankratecommands- "bank price", "bank rate", "flarebank", "mint bank", "burn bank"
Don't use when...
- Managing LP positions (use
/lpor/fblpmanager) - General token prices unrelated to BANK (use
/price)
Edge Cases
- Dashboard output is intentionally long — send ALL tables
- Script may take 10-20s due to many RPC calls
- Contract includes 10% mint/burn fee — always account for it
- LP price can diverge from contract during low liquidity
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

