⚡ Phase 1: Revenue Primitives — iUSD foundation + fee flows#9
Open
arbuthnot-eth wants to merge 8 commits into
Open
⚡ Phase 1: Revenue Primitives — iUSD foundation + fee flows#9arbuthnot-eth wants to merge 8 commits into
arbuthnot-eth wants to merge 8 commits into
Conversation
…alRecord The foundation. iUSD is a yield-bearing stable backed by gold, silver, equities, energy, and dollar instruments across BTC/ETH/SOL/SUI via IKA dWallet threshold signatures. - IUSD one-time witness, 6 decimals (matches USDC) - Treasury shared object: revenue balance, minter/oracle authority - CollateralRecord as dynamic fields: per-asset, per-chain, per-tranche - mint() gated by authorized minter (future: multisig/keeper) - burn() permissionless (anyone burns their own) - deposit_revenue() permissionless (Thunder/Shade/swap fees flow in) - update_collateral() oracle-gated (NAV tracking) - Events: Minted, Burned, RevenueReceived (full audit trail) Release: ⚡ Zapdos
…cascade Not a shell. Every function does what it claims. DWalletCap deposit: treasury holds the capability object — cross-chain collateral (BTC/ETH/SOL) cannot be moved without 2PC-MPC consensus. No single party has the full key. Tranching: senior (USDC, T-bills, staked SUI/SOL) absorbs losses LAST. Junior (gold, silver, equities, BTC, oil) absorbs losses FIRST. Senior must cover 100% of supply before any iUSD can be minted. Overall collateral ratio enforced at 150% minimum. Oracle-attested cross-chain values: TreasuryAgents read balances via RPC, attest values on-chain. DWalletCap deposit proves the treasury COULD control those assets; oracle confirms the amounts. Burn creates a RedeemRequest object — TreasuryAgents fulfill by releasing proportional collateral cross-chain via IKA signing. Revenue: permissionless deposit_revenue() for Thunder/Shade/swap fees. Release: ⚡ Raikou
USD1 (World Liberty Financial) at 20% senior tranche — T-bill backed, $4.7B supply, Chainlink PoR, GENIUS Act aligned. Held on Solana + Ethereum via IKA dWallets. World Liberty Markets lending for extra yield. WLFI RWA tokens (oil, gas, timber) added to junior tranche at 6% combined — when launched, held via IKA on ETH/SOL. All previous assets retained: BUIDL, VBILL, XAUM, PAXG, XAGM, TSLAx, NVDAx, SPYx, BTC, WTI perps, LITRO. Nothing removed, USD1 added as the anchor stable across chains. Release: ⚡ Thundurus
Same IKA secp256k1 dWallet that controls Ethereum controls Base (EVM). No additional key needed. Aerodrome AERO/USDC LP: 15-40% from AMM fees (Base's dominant DEX). Moonwell USDC lending: 4-8% + WELL token rewards (35-42% Base lending market share, $2.8B cumulative volume). Junior tranche now spans 6 chains: Sui, Ethereum, Solana, Bitcoin, Hyperliquid, Base. 20 assets total. Zero bridges. Release: ⚡ Voltorb
Every signal() now requires a Coin<SUI> fee (default 0.003 SUI ≈ $0.009). Fee transfers directly to the iUSD treasury address on every signal — no accumulation, no withdrawal step. Instant revenue flow. Storm holds fee config: signal_fee_mist (adjustable), fee_treasury (iusd.sui address), admin (progressive decentralization → IKA dWallet). Admin can update fee amount (price oracle adjustments), treasury address (rotation), and transfer admin to a dWallet for zero-trust governance. FeePaid event on every signal for on-chain accounting. Release: ⚡ Jolteon
execute() now takes a treasury address parameter. Splits 10% of the escrowed deposit directly to the iUSD treasury on execution. The remaining 90% returns as Coin<SUI> for SuiNS registration. Fee flows instantly — no accumulation, no withdrawal step. Same pattern as Thunder v3. ShadeExecutorAgent passes the treasury address. 10% of every Shade order → iUSD backing. Progressive decentralization: treasury address will point to IKA dWallet-controlled multisig. Release: ⚡ Luxray
buildThunderSendTx now splits 0.003 SUI (≈$0.009 iUSD) from the gas coin and passes it as the fee argument to signal(). Fee goes directly to the iUSD treasury address on every signal. No extra user interaction — fee is invisible, split from gas in the same PTB. The signal fee is the first real revenue stream flowing to iUSD backing on every Thunder conversation. Release: ⚡ Pikachu
Every name registered through SKI splits 5% of the full USD price from the gas coin and sends it directly to the iUSD treasury address. Applied to all three payment paths: NS direct, USDC swap, SUI direct. addRegistrationFee() converts USD → SUI at current price, splits from gas, transfers to IUSD_TREASURY. Zero friction — invisible to user, same PTB, no extra signing. Combined with Thunder signal fees (⚡ Pikachu) and Shade 10% cut (⚡ Luxray), all three revenue streams now flow to iUSD on every protocol interaction. Release: ⚡ Dragonite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Releases
Revenue Flows
All three streams now send fees directly to the iUSD treasury address on every protocol interaction:
Test plan