Skip to Content
Constants Reference

Constants Reference (v1.0.0)

Curated snapshot of the most user-visible and integration-relevant constants from src/lib/Constants.sol. This page is a curated mirror for the manuals, not the canonical source of truth. src/lib/Constants.sol is canonical, and some contract-local constants (for example MineCore.GENESIS_ACCRUAL_DURATION) intentionally live outside this appendix.

Takeover (MineCore)

ConstantValue
TAKEOVER_PRICE_FLOOR0.001 ETH
TAKEOVER_DECAY_PERIOD1 hour

Emissions (MineCore + Furnace)

ConstantValue
EMISSION_DECAY_PERIOD2 years
KING_EMISSION_LAUNCH_RATE50 CLAIM/sec
KING_EMISSION_FLOOR~5.56 CLAIM/sec
FURNACE_EMISSION_LAUNCH_RATE5 CLAIM/sec
FURNACE_EMISSION_FLOOR~0.56 CLAIM/sec

Baron royalties (ShareholderRoyalties)

ConstantValue
MIN_VE_FLUSH100 veCLAIM
MAX_REWARD_CHECKPOINTS50,000
MAX_OVERFLOW_CHECKPOINTS50,000
SHAREHOLDER_MODE_ETH0
SHAREHOLDER_MODE_LOCK_FURNACE1

MIN_VE_FLUSH gates manual / residual shareholder flushes. Canonical takeover allocations are auto-attempted immediately and index against the current processed shareholder denominator once checkpointTotalVe() has advanced ve.globalLastTs() to the current block.

Furnace lock parameters

ConstantValue
MIN_LOCK_AMOUNT1,000 CLAIM
MIN_LOCK_DURATION7 days; also enforced as the minimum remaining time for an existing lock to be used as an entry destination
MAX_LOCK_DURATION365 days
MAX_VE_NFTS_PER_USER32

Genesis LP vault

ConstantValue
INITIAL_LOCK_DURATION730 days (24 months)
MAX_EXTENSION3,650 days (10 years)
MAX_ABSOLUTE_LOCK36,500 days (100 years)
MIN_LP_LOCK1e15 wei
MIN_EXTENSION_DURATION1 day

Bonus mechanics

User + LP bonus clamps:

ConstantValue
MAX_USER_BONUS_BPS10,000
MAX_GROSS_BONUS_BPS12,500

Lock-% anchors:

ConstantValue
LOCK_PCT_TARGET_BPS700
LOCK_PCT_MIN_FOR_BOOST_CAP_BPS500
LOCK_PCT_FULL_BOOST_CAP_BPS2,000

Reserve-factor cap + ramp:

ConstantValue
RESERVE_TARGET_FINAL20,000,000 CLAIM
RESERVE_FACTOR_MAX_BPS_LOWLOCK15,000
RESERVE_FACTOR_MAX_BPS20,000
SWING_TIME60 days

Virtual depth / decay windows:

ConstantValue
BONUS_DECAY_WINDOW3 hours
LP_STREAM_WINDOW14 days

LP top-up (when enabled):

ConstantValue
LP_TOPUP_RATE_MIN_BPS750
LP_TOPUP_RATE_MAX_BPS1,500
LP_TOPUP_GAMMA2

Absolute-supply anchor (not the primary v1.0.0 bonus anchor; retained in Constants for reference):

ConstantValue
LOCK_TARGET120,000,000 CLAIM

Furnace sellback (lock → liquid CLAIM)

The sellback quote is a single net payout (claimOut). The implied haircut is lockAmount - claimOut.

ConstantValue
SELL_SPREAD_MIN_BPS500
SELL_SPREAD_MAX_BPS7,000
SELL_SPREAD_FLOOR_7D_BPS120
SELL_SPREAD_GAMMA2
SELL_ROUND_TRIP_LOSS_MAX_BPS2,500
SELL_IMPACT_BPS_PER_STEP100
SELL_IMPACT_MAX_BPS1,500

LP sale (portion of sell haircut routed to LP rewards):

ConstantValue
LP_SALE_MIN_BPS500
LP_SALE_MAX_BPS1,500
LP_SALE_GAMMA2
LP_SALE_REWARD_CAP_INFLOW_SHARE_BPS2,500
LP_SALE_REWARD_CAP_FIXED_CAP_PER_DAY150,000 CLAIM/day

LP overflow drip (Furnace → LP rewards stream)

Separate from the per-entry LP top-up split. Enabled only when lpRewardsVault != address(0).

ConstantValue
LP_OVERFLOW_DRIP_START18 months (18 × 30 days)
LP_OVERFLOW_DRIP_RAMP180 days
LP_OVERFLOW_DRIP_INFLOW_SHARE_CAP_BPS1,000 (10%)
LP_OVERFLOW_DRIP_FIXED_CAP_PER_DAY30,000 CLAIM/day
LP_OVERFLOW_DRIP_GATE_K2,000,000 CLAIM

View helpers on Furnace: getLpOverflowDripPerDay(), getLpStreamRemaining(), getLpStreamState().

MarketRouter (listings + buy intents)

ConstantValue
SETTLEMENT_KEEPER_GRACE_SECONDS1800
EMERGENCY_DELIST_MIN_AGE7 days

Buy intent (bonus target escrow) defaults and bounds:

ConstantValue
DEFAULT_MIN_BONUS_TARGET_ESCROW_BUDGET10,000 CLAIM
DEFAULT_MAX_BONUS_TARGET_ESCROW_DISCOUNT_BPS8,000
DEFAULT_BONUS_TARGET_ESCROW_TTL_SECONDS30 days
MAX_BONUS_TARGET_ESCROW_TTL_SECONDS90 days

Delist reason codebook:

ConstantValue
LOCK_DELIST_REASON_NORMAL0
LOCK_DELIST_REASON_EMERGENCY1
LOCK_DELIST_REASON_SOLD_INTO_OFFER2
LOCK_DELIST_REASON_SOLD_TO_FURNACE3
LOCK_DELIST_REASON_EXPIRED4
LOCK_DELIST_REASON_APPROVAL_REVOKED5

In the strict-mode MarketRouter, delist codes 2 and 5 are reserved analytics values and are not emitted.

Maintenance / keepers

ConstantValue
MAX_MAINTENANCE_OFFERS_PER_CALL50
MAX_LP_COMPOUND_USERS_PER_CALL50
MAX_SHAREHOLDER_COMPOUND_USERS_PER_CALL50
MAX_AUTOMAX_BONUS_BATCH200

ve checkpointing

ConstantValue
MAX_SLOPE_CHANGES_PER_CALL250

Pagination (MineCore)

ConstantValue
MAX_KING_REIGNS_PER_CALL100

Default slippage / safety bounds used by onchain automation:

ConstantValue
DEFAULT_AUTOCOMPOUND_MAX_SLIPPAGE_BPS500
DEFAULT_LP_AUTOCOMPOUND_MAX_SLIPPAGE_BPS300
MAX_AUTOCOMPOUND_SLIPPAGE_BPS2000
HARVEST_MAX_SLIPPAGE_BPS100
FURNACE_LOCK_GAS_BUFFER200,000 gas
SWAP_DEADLINE_SECONDS300

See also