Skip to main content

Architecture

KasFun consists of three core contracts:

MemeFactory

The central contract. All token creation and bonding curve trading goes through MemeFactory. Each token created by MemeFactory is ERC-20 compatible.

BondingCurve

A stateless math contract. All functions are pure or view — they don’t modify state. Used by MemeFactory internally and available for external price calculations.
The BondingCurve contract address is not fixed — read it from MemeFactory.bondingCurve().

Council V1

Per-token governance contract, activated after a token graduates. Each graduated token can have its own Council with elected members, proposals, and voting.
Council addresses are per-token. You can find a token’s Council address on its community page at kas.fun.

Token Standards

  • All tokens are ERC-20 compatible (transfer, approve, balanceOf, etc.)
  • Total supply: 1,000,000,000 (1 billion) tokens per token, all 18 decimals
  • Tokens are minted entirely at creation. 80% goes into the bonding curve pool, 20% is reserved.