Demonstration build · all figures are sample data · no contract is deployed
← Back to Lab
Its rules

Hard limits

The rules the AI cannot change, written into code that cannot be edited.

10 immutable limitsSample dataConstants shown are the design values for the sample deployment.
Table

Immutable limits

IDConstantValueMeaningEnforced by
H-01MAX_FEE_BPS500Hook fee can never exceed 5.00%.Hook.sol: require(fee <= MAX_FEE_BPS)
H-02EXTERNAL_FEE_BPS30External fee is fixed at 0.30%.immutable
H-03TOTAL_SUPPLY1_000_000_000e18Supply is fixed. No mint function exists.Token.sol: no mint, constructor mints once
H-04CUSTODYnoneNo function can move, freeze or blacklist holder balances.Token.sol: plain ERC-20, no hooks on transfer
H-05TIMELOCK172800 sChanges outside bounded AI parameters wait 48 hours.Timelock.sol: MIN_DELAY
H-06LIQ_LOCK365 daysInitial liquidity is locked for one year.Locker.sol: unlockAt
H-07LAUNCH_TAX2000 → decaysLaunch tax starts at 20% and decays inside the first hour.Hook.sol: launchTax()
H-08MAX_EXPOSURE2500 bpsNo live test may touch more than 25% of swaps.Mutation.sol: MAX_EXPOSURE
H-09MAX_WEEKLY_SPEND0.25 etherSequencer spending cap per week.Budget.sol: weeklyCap
H-10UPGRADESnoneToken and limits contracts have no proxy and no owner.No delegatecall, no selfdestruct
Code

The fee check

function setFee(uint24 buyBps, uint24 sellBps) external onlyController {
    require(buyBps  <= MAX_FEE_BPS, "H-01");
    require(sellBps <= MAX_FEE_BPS, "H-01");
    require(_asymmetry(buyBps, sellBps) <= MAX_ASYMMETRY, "bounds");
    fee = FeePair(buyBps, sellBps);
    emit FeeSet(buyBps, sellBps);
}

Illustrative snippet for the demo. Not deployed code.

Powers

Governance limits

The AI may
Set fees inside bounds, propose mutations, run the Sequencer inside its budget
The AI may not
Mint, move holder funds, change H-01 to H-10, skip the public hour
The Safe may
Cancel queued operations
The Safe may not
Spend, upgrade, edit parameters or pause trading
Stakers may
Vote among AI-proposed options