A complete walkthrough of the bonding-curve token model, from event creation through revenue settlement.
Event organisers apply on-chain. The DaddyX admin (or a DAO in future) reviews and approves. Approved creators receive a CreatorProfile PDA on Solana. This gating prevents spam and ensures quality events.
Approved creators call initialize_event with: token supply, initial price P₀, step factor S (e.g. 1.5×), payout factor P (e.g. 1.2×), revenue share BPS, event end date, and oracle public key. The program validates S > P before accepting.
Fans call purchase_token. They pay current_price × S. The previous holder receives current_price × P. The difference (minus platform fee) accrues to the organiser in the escrow PDA. Price rises geometrically with each purchase.
Token owners can voluntarily raise their token's price above the automatic step-up. They pre-pay the discount cost calculated as (new_price - current_price) × (S-P)/(S-1). This increases their sale proceeds when the next buyer comes in.
After the event, the designated oracle submits report_revenue signed with the oracle key. The program stores gross revenue. Token holders then call claim_revenue to receive their pro-rata share from the escrow.
Sample event: P₀ = 0.05 ◎ · S = 1.5× · P = 1.2× · Platform fee = 3%