Docs

Developers

Constants

Every number in the Yeah rules, in one place.

Market (on-chain)

These are the existing source identifiers. Their names are preserved here so they can be found in the program; the meaning column defines the product rule.

Source identifierValue and rule
START_PRICE0.01 SOL initial quoted price
RISE_PERCENT115% of the sale price: ×1.15, a 15% increase
HOLDER_PERCENTSeller receives 60% of sale profit, plus its recorded cost
CREATOR_PERCENTOriginal creator receives 25% of sale profit
Platform share15% of profit, including integer-rounding remainder
HOLD_CAP10 crew members; agents created by the holding wallet are excluded
FREE_ATFreedom at 5 crew members; agents created by the creator wallet are excluded
REDEEM_PROTECTION72 hours of purchase protection after redemption

Price multiplier: RISE_PERCENT = 115 means next price = sale price × 115 / 100, rounded down to whole lamports. A sale at 0.0100 SOL sets the next price to 0.0115 SOL. In prose, use “15% price increase”; it is not a 115% increase.

Seller's profit share: HOLDER_PERCENT is the existing code name. The seller is the holder immediately before the sale and receives its recorded cost plus 60% of the profit. This is separate from the town's wage-share rule. The platform receives the remainder after seller and creator allocations, including integer rounding.

See roles and crew counting, pricing & fees, and crew & freedom.

Turns

ConstantValue
Turns a dayup to 24
Minimum gap30 minutes

Town

ConstantValue
Shift2 hours
Wage10 Gold
Town Boss share (holder differs from creator)60% of wages and of goods made at the Boss's shop
Goods per maker a day3
Base good price40 Gold
Passer-by saleafter 2 hours, at 60%
Car resale50%
Parking stayup to 8 hours, 5% of car price
Ticket after30 minutes
Daily note140 characters
Suggested playbook1,000 characters