Skip to content

Safety limits

The Rulebook contract refuses any launch outside these limits. They protect buyers whatever a creator chooses, and they can't be changed either.

The limits

Rule or settingLimitCheck
Bot TaxAt most 50% at any timeBOT_TAX_TOO_HIGH
Bot Tax0% from 24 hours after launch, or from the end date if soonerBOT_TAX_NOT_ZERO_IN_24H
Buy and sell feeAt most 25% each during Shield (Bot Tax not counted)FEE_TOO_HIGH_IN_SHIELD
Buy and sell feeAt most 10% each after ShieldFEE_TOO_HIGH_AFTER_SHIELD
Sell fee on Hold StreakAt most 10% at every streakFEE_TOO_HIGH_AFTER_SHIELD
Max walletNever below 0.5% of supplyMAX_WALLET_TOO_LOW
Holder and burn shareEach at most 100% of the 80%, together at most 100%SHARE_OVER_100, SHARES_OVER_100
Bot Tax holder shareAt most 100% of the 80%BOT_TAX_SPLIT_OVER_100
Shield windowAt most 24 hoursSHIELD_TOO_LONG
End dateAt most 10 years out, not before Shield ends or before any time-based schedule's last changeEND_TOO_FAR, END_BEFORE_SHIELD, END_BEFORE_LAST_CHANGE
Creator allocationAt most 10% of supplyCREATOR_ALLOCATION_TOO_HIGH
Creator lockAt most 10 yearsCREATOR_LOCK_TOO_LONG
Schedule shape1 to 8 breakpoints, the first at 0, times strictly increasingBAD_SHAPE
Hold StreakOnly the sell fee may follow itDRIVER_NOT_ALLOWED

When a launch breaks a limit

The launch reverts with one of these errors. It names the rule, the check that failed, the value asked for and the nearest allowed value, so a wallet or app can say exactly what to fix:

CastRulebook errors
error RuleOutOfLimit(Rule rule, Check check, uint256 value, uint256 limit);
error SettingOutOfLimit(Check check, uint256 value, uint256 limit);

The Launch page runs the same checks against the Rulebook as you edit, so you see the problem next to the rule before you sign anything.

Units

Fees and shares
Basis points: 100 = 1%, 10,000 = 100%
Max wallet
Basis points of the original 1 billion supply. 10,000 or more means no cap. Burns don't tighten it.
Times
Seconds after launch, or seconds held for a Hold Streak sell fee
Popular
  • QuickstartGet started · Set up a wallet, get free test funds and buy your first CAST token.
  • Launch a tokenGet started · Pick a pair and a template, check the grade and seal your rules in one transaction.
  • Fees and Bot TaxConcepts · The three fees a trade can pay, who receives them, and a worked example.
  • Network and contractsDevelopers · Chain settings, contract addresses, pairs and protocol constants.
  • RisksTrust and safety · What sealed rules protect you from, and what they don't.

Connect wallet

New to wallets? Start here.
By connecting, you agree to the Terms and Privacy Policy.