← Scale by Motherlode
Calculations explained · planned

Curve ramp shape

A second way to spread Total across a Motherlode range. Linear stays exactly as it is today. Curve adds a user-set Curve strength (K). This page is for design review — the feature is not live yet.

Planned · not live Tracking issue #1450. No app, crank, or backend behaviour has changed. Existing miners stay on Linear.

The two ramp shapes

Linear (default)

Today's straight ramp. Round size rises evenly from the bottom of the range to the top. Skew still means top round = S × bottom round. Existing miners keep this behaviour.

Curve New

Same endpoints (bottom = 1 part, top = S parts), but the line in between bends with a user-set Curve strength (K) from 0.25 to 4 (default 2, step 0.05). K = 1 matches Linear.

The field is called Ramp shape, and the only options are Linear and Curve. K > 1 saves more of the Total for the top of the range, where the pot is biggest. K < 1 spends more evenly across the range. Skew keeps the same meaning either way: the top round is S times the bottom round.

Formula

Let T be the Total, S the skew, N the number of lattice rounds in one pass, and p the position in the range (0 at the bottom, 1 at the top). For Curve:

weight(p) = 1 + (S − 1) · p^K
round size = (T / N) · weight(p) / mean_weight
mean_weight = average of weight(p_i) over the N lattice points p_i = i / (N − 1)

Normalise by the discrete mean over those N lattice points (not a continuous integral), then floor each round to whole lamports — the same floor Linear uses today — so one full pass of uncapped rounds spends the Total within flooring. The live pot stays continuous: p = (pot − start) / (end − start), not snapped to the lattice, as today.

Equivalent integer form used by scripts/scale-motherlode-curve.mjs: size_i = floor(T · w_i / Σw). K = 1 on the worked example matches today's Linear lamports at the start, mid, and end pots (100 ORE, 110 ORE, 120 ORE; deltas 0, 0, 0).

Unchanged rules

Charts — deploy size across the range

Same worked example as the live Scale by Motherlode page: Total 10 SOL, 100–120 ORE (101 rounds), skew 5. Four curves show K = 0.5, 1 (Linear), 2, and 3. Numbers come from scripts/scale-motherlode-curve.mjs (committed JSON at example-data.json beside this page).

Deploy size from bottom to top of the range for K = 0.5, 1, 2 and 3 at skew 5 on the 10 SOL worked example 0 0.05 0.1 0.15 0.2 0.25 bottom (100 ORE) mid (110 ORE) top (120 ORE) Round size (SOL) K = 0.5 K = 1 K = 2 K = 3 K = 0.5 K = 1 (Linear) K = 2 K = 3

K = 0.5 rises quickly early, then flattens. K = 1 is the straight Linear ramp. K = 2 and K = 3 stay flatter through most of the range and climb harder near the top.

Start / mid / end sizes

Integer lamports at 100 ORE, 110 ORE, and 120 ORE for skew 5 on the 10 SOL example, shown to 4 decimal places (same display cap as the app).

KStart (100 ORE)Mid (110 ORE)End (120 ORE)
0.50.027
27,057,362 lamports
0.1035
103,587,138 lamports
0.1352
135,286,810 lamports
1 (Linear)0.033
33,003,300 lamports
0.099
99,009,900 lamports
0.165
165,016,501 lamports
20.0423
42,311,923 lamports
0.0846
84,623,847 lamports
0.2115
211,559,617 lamports
30.0492
49,258,657 lamports
0.0738
73,887,985 lamports
0.2462
246,293,286 lamports

Exact start / mid / end lamports for K = 1 match the existing skew-5 row on the Scale by Motherlode worked example (33,003,300 / 99,009,900 / 165,016,501).

Top-half share of one pass

When Ramp shape is Curve, the planned-spend summary adds a line that names K and the share of one pass that sits in the top half of the range — the rounds strictly above the middle round (for N = 101, indices 51–100 of 0…100). Linear’s share is shown in parentheses for comparison. The line is omitted when Ramp shape is Linear.

KTop-half share of one pass
0.560%
1 (Linear)66%
271%
372%

Example summary line for K = 2 on this worked example: Curve K 2. About 71% of each pass goes to the top half of the range (Linear 66%).

Limits (planned)

UI wireframe — Scale by Motherlode editor

Every field once Curve exists. Labels and existing tooltip copy match the en catalogue today. Items marked New are planned. This is a static wireframe, not a screenshot.

Budget · Scale by Motherlode

/mine · Custom Strategy editor

Total SOL existing
10
Tooltip · scaleTotalTooltip Total SOL to spend each time the pot passes through your Motherlode range. Rounds near the end get more if skew is above 1.
Skew existing
5.00
Tooltip · scaleSkewTooltip Skew sets how much bigger the round at the top of your Motherlode range is than the one at the bottom. At 1, every round in range gets the same SOL. At 3, the top round gets 3× the bottom round, rising evenly in between. Max 5. Your Total is still spread across one full pass of the range. Learn more — underlined; opens /docs/scale-by-motherlode/ in a new tab (same as today).
Motherlode start existing
100
Motherlode end existing
120
Ramp shape New
Linear Curve
Tooltip · Ramp shape (planned) Ramp shape chooses how Total spreads across your Motherlode range. Linear keeps today’s straight ramp from the bottom of the range to the top. Curve lets you set Curve strength (K) to bend that ramp. Skew still means the top round is S times the bottom round. K above 1 saves more of the Total for the top of the range. K below 1 spends more evenly. At skew 5, K = 0.5 is about 0.27× / 1.04× / 1.36× the average round at the bottom, middle and top, with about 32% of the budget in the top quarter. At skew 5, K = 2 is about 0.43× / 0.86× / 2.14× with about 44% in the top quarter, and K = 3 is about 0.50× / 0.75× / 2.50× with about 47% in the top quarter. K = 1 matches Linear. Learn more — underlined; opens this docs page in a new tab.
Curve strength (K) New shown only when Ramp shape is Curve
2.00
Tooltip · Curve strength (K) (planned) Curve strength (K) bends the line between the bottom and top of your Motherlode range. K above 1 saves more of the Total for the top of the range, where the pot is biggest. K below 1 spends more evenly across the range. At skew 5, K = 0.5 is about 0.27× / 1.04× / 1.36× the average round at the bottom, middle and top, with about 32% of the budget in the top quarter. At skew 5, K = 2 is about 0.43× / 0.86× / 2.14× with about 44% in the top quarter, and K = 3 is about 0.50× / 0.75× / 2.50× with about 47% in the top quarter. K = 1 matches Linear. Range 0.25 to 4. Learn more — underlined; opens this docs page in a new tab.
Planned-spend summary existing lines · Curve adds a K top-half line

Planned spend if every round fires 9.9999 SOL (99.99% of total).

Start size 0.0423 SOL.

End size 0.2115 SOL.

Curve K 2. About 71% of each pass goes to the top half of the range (Linear 66%).

Off-grid note (existing copy, when start is not on the 0.2 ORE lattice): If the pot starts off the 0.2 ORE grid, one pass through this {{rounds}}-round range can land about {{under}}% under this total.

When Ramp shape is Linear, the Curve K top-half line is omitted.

Validation / errors existing + planned K
Enter a total SOL.
Total SOL must be 10,000 or less.
Skew must be between 1.00 and 5.00.
Motherlode start and end are both required, and start must be below end.
The range must span at least 0.2 ORE.
Start size 0.0005 SOL is below the 0.001 SOL minimum
Some rounds will be capped at 5 SOL, so you'll spend less than this total.
Curve strength (K) must be between 0.25 and 4. New
Invalid or non-numeric Curve strength (K) hides the planned-spend summary (same as invalid Skew). New

Source of the numbers

Regenerate the committed example JSON and this page with:

node scripts/scale-motherlode-curve.mjs --write public/docs/scale-by-motherlode/curve-based/example-data.json
node scripts/generate-scale-curve-docs.mjs

The maths helper is intentionally small so the live feature can import or match the same discrete-mean lamport maths later.