AdminRouter
Router admin (operator only)
Network: baseSepolia. Wires Suede registry workIds to vault projectIds so license fees actually land in vaults. Requires router.owner().
Configuration
Loading…
Concept
- A workId is the bytes32 identifier of a Suede IP registry asset. Pass either a 0x-prefixed 32-byte hex string or a slug (slugs are hashed to bytes32 via keccak256).
- A projectId is the bytes32 identifier the artist chose at vault creation time. The dropdown below is sourced from the live factory.
- Once linked, anyone can call
router.routeUsdcFee(workId, amount)and the gross USDC splits into platform skim + vault revenue. The license-attach flow on the main app calls this automatically when wired up. - Platform skim is configurable per-router via
setPlatformBps. Default 500 bps (5%). The skim flows toplatformWallet; the rest flows to the linked vault viavault.receiveRevenue.