Skip to content

⚡ Phase 1: Revenue Primitives — iUSD foundation + fee flows#9

Open
arbuthnot-eth wants to merge 8 commits into
masterfrom
feat/phase-1-revenue-primitives
Open

⚡ Phase 1: Revenue Primitives — iUSD foundation + fee flows#9
arbuthnot-eth wants to merge 8 commits into
masterfrom
feat/phase-1-revenue-primitives

Conversation

@arbuthnot-eth

Copy link
Copy Markdown
Owner

Summary

  • iUSD Move module — yield-bearing stable with real IKA zero-trust collateral, senior/junior tranching, loss waterfall, DWalletCap deposit for cross-chain custody proof
  • Thunder v3 — $0.009 signal fee (0.003 SUI) sent directly to iUSD treasury on every signal
  • Shade v2 — 10% of escrowed deposit sent to iUSD treasury on execute
  • Registration 5% cut — every SuiNS name minted via SKI splits 5% of full price to treasury
  • Reserve spec — 20 assets across 6 chains (Sui, Ethereum, Solana, Bitcoin, Base, Hyperliquid), USD1 as primary stable, BUIDL, VBILL, XAUM, PAXG, XAGM, TSLAx, NVDAx, SPYx, BTC, WTI, LITRO, WLFI RWA, Aerodrome, Moonwell

Releases

Tag What
⚡ Zapdos iUSD module foundation
⚡ Raikou Real IKA zero-trust + tranching + cascade
⚡ Thundurus USD1 + full 20-asset roster
⚡ Voltorb Base chain (Aerodrome + Moonwell)
⚡ Jolteon Thunder v3 signal fees → treasury
⚡ Luxray Shade 10% treasury cut
⚡ Pikachu Client-side fee wiring
⚡ Dragonite 5% SuiNS registration fee

Revenue Flows

All three streams now send fees directly to the iUSD treasury address on every protocol interaction:

Thunder signal() → 0.003 SUI → treasury
Shade execute() → 10% of deposit → treasury
SuiNS register via SKI → 5% of full price → treasury

Test plan

  • Deploy iUSD contract to mainnet, verify TreasuryCap + Treasury shared object created
  • Deploy Thunder v3 to mainnet, verify signal() requires fee coin
  • Deploy Shade v2 to mainnet, verify execute() splits 10% to treasury
  • Send a Thunder signal via SKI — verify fee deducted and arrives at treasury address
  • Register a name via SKI — verify 5% split arrives at treasury address
  • Test all paths with WaaP wallet (unbuilt .tx passthrough)
  • Verify DWalletCap deposit flow on Treasury

…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant