Core contracts
The core contracts implement the fundamental vault and token system.
Contracts
| Contract | Description |
|---|---|
| CreatorOVault | ERC-4626 tokenized vault |
| CreatorOVaultWrapper | ▢TOKEN ↔ ■TOKEN converter |
| CreatorShareOFT | LayerZero OFT for cross-chain |
Relationships
TOKEN (Creator Coin)
│
▼
┌─────────────────┐
│ CreatorOVault │◄──── Yield Strategies
│ (ERC-4626) │
│ [▢TOKEN] │
└─────────────────┘
│
▼
┌─────────────────┐
│ Wrapper │
└─────────────────┘
│
▼
┌─────────────────┐
│ CreatorShareOFT │◄──── LayerZero
│ [■TOKEN] │◄──── DEX Trading
└─────────────────┘◄──── CCA Auction
Token flow
- User deposits TOKEN → Vault mints ▢TOKEN
- User wraps ▢TOKEN → Wrapper mints ■TOKEN
- ■TOKEN can be traded, bridged, or auctioned
- User unwraps ■TOKEN → Wrapper burns, returns ▢TOKEN
- User withdraws ▢TOKEN → Vault burns, returns TOKEN