Overview
RektHub contracts emit detailed events for every significant action. This page is your complete reference for building indexers, dashboards, bots, and real-time UIs.Factory Events
Events emitted by the RektHubFactory contract.TokenCreated
Emitted when a new creator token is deployed.address
Address of the deployed token contract
address
Address of the bonding curve contract
address
Address of the token creator
string
Token name
string
Token symbol
string
Token metadata URI
uint256
Initial real native reserves (always 0 at creation)
uint256
Initial real token reserves (850,000,000 tokens)
uint256
Initial virtual native reserves (set by factory)
uint256
Initial virtual token reserves (1,073,000,000 tokens)
uint256
Fee paid for token creation
- Track new token launches in real-time
- Build “New Tokens” feed
- Analytics on creator activity
- Notification systems for followers
TokenPurchased
Emitted when tokens are bought through the factory router.address
Token address that was purchased
address
Bonding curve address
address
Address of the buyer
uint256
Amount of native tokens spent (including fees)
uint256
Amount of tokens received
uint256
Total fee charged (1% of nativeIn)
uint256
Creator’s portion of fee (30% of totalFee)
uint256
Platform’s portion of fee (70% of totalFee)
uint256
Real native reserves after purchase
uint256
Real token reserves after purchase
uint256
Virtual native reserves after purchase
uint256
Virtual token reserves after purchase
- Real-time trade feeds
- Price chart updates (calculate price from reserves)
- Volume tracking
- Creator earnings dashboards
- Whale watching (large buys)
TokenSold
Emitted when tokens are sold through the factory router.address
Token address that was sold
address
Bonding curve address
address
Address of the seller
uint256
Amount of tokens sold
uint256
Amount of native tokens received (after fees)
uint256
Total fee charged (1% of gross native out)
uint256
Creator’s portion of fee (30% of totalFee)
uint256
Platform’s portion of fee (70% of totalFee)
uint256
Real native reserves after sale
uint256
Real token reserves after sale
uint256
Virtual native reserves after sale
uint256
Virtual token reserves after sale
- Track selling pressure
- Identify panic sells or whale exits
- Update price charts (sells move price down)
- Creator earnings tracking
TokenMigrated
Emitted when a token graduates to DEX.address
Token that graduated
address
Bonding curve that was closed
address
Address of created liquidity pool
string
Name of the DEX platform (e.g., “Uniswap V2”)
uint256
Amount of native tokens added to pool (after 12% migration fee)
uint256
Amount of tokens added to pool (150M tokens)
uint256
Total migration fee (12% of native liquidity)
uint256
Creator’s portion (60% of migrationFee = 7.2% of liquidity)
uint256
Platform’s portion (40% of migrationFee = 4.8% of liquidity)
- Graduation announcements
- Redirect users to DEX for trading
- Track graduation success rates
- Creator milestone notifications
FeesWithdrawn
Emitted when platform owner withdraws accumulated fees.address
Address receiving the fees (contract owner)
uint256
Amount of fees withdrawn
- Protocol revenue tracking
- Transparency dashboards
Bonding Curve Events
Events emitted by individual BondingCurve contracts.TokenPurchased (Curve)
Identical to Factory’s TokenPurchased, but emitted by the curve itself.Difference from Factory: No
token or curve parameters since those are
implicit (the event is emitted by the curve itself).TokenSold (Curve)
Identical to Factory’s TokenSold, but emitted by the curve.TokenBonded
Emitted when all tradeable tokens are sold and curve enters “bonded” state.address
Token that reached full bonding
- Notify users that token is ready for graduation
- Trigger graduation countdown/voting UI
- Creator milestone notification
TokenMigrated (Curve)
Identical to Factory’s TokenMigrated, but emitted by the curve.CreatorFeesClaimed
Emitted when creator claims accumulated fees.address
Creator claiming fees
address
Token the fees are from
uint256
Amount of fees claimed
- Track creator earnings withdrawals
- Creator analytics dashboards
- Tax reporting tools
CreatorTransferred
Emitted when creator role is transferred to a new address.address
Previous creator address
address
New creator address
- Track ownership changes
- Security monitoring
- Creator account recovery tracking
Token Events
Events emitted by RektHubToken contracts.TokenURIUpdated
Emitted when creator updates token metadata.string
New metadata URI
uint256
Block timestamp of update
- Refresh token metadata in UIs
- Track metadata update history
- Cache invalidation
MintingDisabled
Emitted once during token initialization when minting is permanently locked.uint256
Block timestamp when minting was disabled
- Verify supply is locked
- Security auditing
- Transparency dashboards
Standard ERC20 Events
All RektHub tokens also emit standard ERC20 events:Transfer
Approval
Event Filtering Examples
Listen to All Activity for a Token
Listen to a Specific User’s Activity
Query Historical Events
Build a Trade Feed
Next Steps
Quick Start
Start integrating with code examples
Factory Contract
Learn about the orchestrator
Interfaces
Contract interfaces and ABIs
Libraries
Bonding curve math utilities