Smart Contract Architecture
VibesFlow implements a modular smart contract system on the Metis blockchain that enables real-time asset creation, delegation, and monetization through vibestreams.Contract Overview
The VibesFlow protocol consists of four core contracts:VibeFactory
Creates RTA NFTs and manages delegation
PPM Contract
Handles pay-per-minute streaming payments
VibeKiosk
Manages ticket sales for vibestreams
Subscriptions
Handles Vibe Market access subscriptions
Architecture Principles
Modular Design
Each contract handles a specific domain of functionality, allowing for independent upgrades and maintenance.Gas Optimization
All contracts implement gas-efficient patterns with minimal external calls and optimized storage layouts.Security First
- Reentrancy protection on all payable functions
- Access control with role-based permissions
- Emergency pause functionality where appropriate
- Comprehensive input validation
Key Features
Real-Time Assets (RTAs)
NFTs that acquire value in real-time through streaming activities, implemented via the PPM contract’s time-based payment system.Integrated Delegation
Built-in delegation system allows creators to authorize others to manage their vibestreams without transferring ownership.Revenue Distribution
Automatic 80/20 split between creators and treasury across all monetization mechanisms.Cross-Contract Integration
Seamless interaction between contracts through standardized interfaces and event-driven architecture.Network Details
Blockchain: Metis AndromedaNative Token: tMETIS
Block Time: ~2 seconds
Finality: Instant