0. Status, scope and honesty
This document describes Planet v2.0, a working proof-of-concept deployed on
Arbitrum Sepolia. It is written to be falsifiable: every mechanism is marked
implemented · design ·
future.
Red lines. PLT is a synthetic index token. Mints are collateralised by
test USDC held by the contract and redeemed from that reserve, but there is no
physical commodity reserve, it is not a stablecoin, and it is not “fully
collateralised” against the basket. Market price may diverge materially from the theoretical
index. Nothing here is investment advice.
1. Problem & design goals
- Single commodities (gold, oil) are volatile and concentrated; multi-commodity
exposure is hard to hold on-chain.
- Inflation hedging exists, but there is no public, verifiable object equal to
“one token = a basket of global commodity purchasing power”.
- Design goals: (i) a transparent index whose formula runs on-chain;
(ii) a token redeemable through the commodity layer; (iii) failure isolation,
so one bad feed cannot poison the whole index; (iv) no custodian in Phase 1;
(v) every privileged change observable and delayed; (vi) no self-built exchange.
1.1 Why the unit is a basket and not a currency
The protocol began from an argument usually attributed to Vitalik Buterin, paraphrased here
rather than quoted: a stablecoin denominated in one nation's currency is centralised by
construction — whoever controls that currency controls the unit, the monetary policy and
the off-switch. A unit that cannot be switched off has to be denominated in something nobody
issues: the world's productive assets. Coal, copper, wheat, water.
That sentence decides the architecture, and it is worth spelling out what follows from it:
- The index is not a price to be pegged — it is a quantity. One PLT is one basket
unit, and the basket is defined by weights that never change silently.
- PLT's price in dollars is supposed to move. What stays stable is purchasing power
over goods, not the number of dollars on the screen. A token that never moves against
the dollar is a dollar, and a dollar is the thing we are trying to leave.
- “Stability” therefore means stable against goods. The fee band in §5 rises when the index
moves; that is a volatility tax, not a peg defence, and §5 now says so. Calling it a
peg defence would be borrowing credibility from a mechanism this design does not have.
1.2 What a basket claim demands of the reserve — and where this build stands
A claim on a basket is only honest if what backs it moves with the basket. This build
holds a dollar asset (test USDC). That is not the same thing, and the difference is not
cosmetic: if the index rises 20%, the reserve does not, so the last redeemers cannot be paid
what the index promised. No fee schedule repairs that; only the right reserve does.
| Stage | Reserve | What PLT is | Status |
| 1 | a dollar asset (test USDC) | a synthetic tracker of the index, settled in dollars; redemption is capped by the reserve at pro-rata (§4.3) | this deployment |
| 2 | the basket itself: warehouse receipts, tokenised ETFs, or a hedged futures position | a claim on the basket | design |
| 3 | Stage 2 + custodian, attestation, legal wrapper | redeemable in kind | future |
Why we say Stage 1 out loud. Describing a dollar reserve as “backed by earth's assets”
would be the single most expensive sentence in this document — it is the sentence that turns a
design gap into a misrepresentation. The thesis is the destination; the reserve is the
distance still to travel, and §4.3 encodes what the protocol does when it cannot deliver.
2. Architecture & contracts
2. Architecture & contracts
2.1 Layer map
L4 Fund tokenised ETF shares; subscribe/redeem at NAV [design]
L3 Stability tiered fees · elastic curve · arbitrage · risk fund ·
circuit-breakers [fees live; bonds design]
L2 CAM per-commodity adapter: price/vol/liquidity/risk state [design]
L1 Core basket · on-chain PPI · mint/redeem · fees · collateral [implemented]
L0 Reserve/RWA physical & ETF custody · proof-of-reserve [future]
(no self-built DEX/AMM; trades happen on external venues)
2.2 Contracts
| Contract | Role | Status |
| PlanetCore | basket, on-chain PPI, mint/redeem against USDC, fees, oracle state | implemented |
| PlanetToken (ERC-20) | PLT — mint/burn restricted to the Core | implemented |
| PlanetTimelock | owner of Core; propose → delay → execute | implemented |
| SignedPriceOracle | ECDSA M-of-N verifier for updatePriceSigned | implemented (2-of-3, Arbitrum One) |
| PlanetBond | stabilisation bonds (request / operator-settled redeem) | ported, not deployed |
| PlanetGov / PlanetFund | PLTG staking/voting; tokenised ETF shares | design — not in this deployment |
2.3 Data, fixed point and the EVM
The EVM has no floating point. All arithmetic is integer fixed-point: the index uses
a 1e6 scale (1e6 ≡ 1.0), the weight sum is 1e6, and
reward accounting uses 1e12. State lives in ordinary contract storage: a fixed
Asset[] array plus scalar accounting fields. Solidity 0.8 checked arithmetic
reverts on overflow, and mixed uint64/uint256 expressions are
explicitly cast. PLT is an ERC-20; Core.totalSupply is the accounting source,
and the token supply matches because mint/burn are Core-only.
2.4 Message flow
mint user ──approve(USDC)──▶ USDC ──transferFrom──▶ PlanetCore ──mint──▶ PlanetToken
redeem user ──redeem(PLT)──▶ PlanetCore ──burn──▶ PlanetToken ; PlanetCore ──transfer(USDC)──▶ user
prices relayer ──updatePrice(index, price, …, ts)──▶ PlanetCore (onlyRelayer)
anyone ──updatePriceSigned(payload, sigs)──▶ PlanetCore (ECDSA M-of-N via SignedPriceOracle)
admin owner ──propose(dest, body)──▶ PlanetTimelock ──(wait delay)──▶ execute ──▶ dest
2.5 Asset isolation — how one bad input is stopped from becoming a protocol failure
Isolation is not a single switch. It is enforced at four layers, each with a test that fails if the
layer is removed:
| Layer | Mechanism | What it prevents |
| Price input | every asset carries its own lastUpdate; a second channel confirms only within 0.5% (§7.1) | one fresh input standing in for thirteen stale ones |
| Index | riskState = FROZEN assets are skipped and the remaining weights renormalised (eq. 15) | a broken commodity silently distorting the index |
| Minting | the staleness gate reads the oldest active asset, and the owner can freeze a dead feed to reopen it | minting against week-old data; or a dead feed blocking minting forever |
| Accounting | collateral, fee buckets and risk fund are labels on one balance | nothing — see the limit below |
The honest limit. This is data and index isolation, not custody segregation. The collateral, the
fee buckets and the risk fund sit in the same contract balance — the buckets are accounting labels. PLT is
only as good as the operator honouring redemptions, and separating customer collateral from protocol funds
needs a custodian and a legal wrapper that this build does not have. Anyone reading §2.5 as “your money is
ring-fenced” has read one word too many.
3. The index: basket & PPI
3.1 The live basket (14 commodities)
The full design targets 20+ commodities, each class ≤15%, with global geographic spread.
The live basket holds 14; the futures column is the price reference and the ETF
column the investable proxy for the future reserve phase.
| # | Class | Commodity | Futures / index | ETF proxy | Weight | Price source |
| 0 | Energy | WTI Crude | CL=F (NYMEX) | USO | 14.0% | Yahoo + Sina / Tencent / Eastmoney |
| 1 | Energy | Brent Crude | BZ=F (ICE) | BNO | 11.0% | Yahoo + Sina / Tencent |
| 2 | Energy | Natural Gas | NG=F (NYMEX) | UNG | 8.0% | Yahoo only — alternatives quote later expiries |
| 3 | Metals | Gold | GC=F (COMEX) | GLD | 12.0% | Yahoo + Sina / Tencent / Eastmoney |
| 4 | Metals | Silver | SI=F (COMEX) | SLV | 7.0% | Yahoo + Sina / Tencent / Eastmoney |
| 5 | Metals | Copper | HG=F (COMEX) | CPER | 6.0% | Yahoo + Sina / Tencent / Eastmoney |
| 6 | Agriculture | Wheat | ZW=F (CBOT) | WEAT | 9.0% | Yahoo + Tencent |
| 7 | Agriculture | Corn | ZC=F (CBOT) | CORN | 7.0% | Yahoo + Tencent |
| 8 | Agriculture | Soybean | ZS=F (CBOT) | SOYB | 6.0% | Yahoo + Tencent (rejected at ≈1%) |
| 9 | Softs | Coffee | KC=F (ICE) | JO | 4.0% | Yahoo + Sina |
| 10 | Industrial | Lumber / timber | — | WOOD | 4.0% | Yahoo + Tencent |
| 11 | Industrial | Lithium | — | LIT | 3.0% | Yahoo + Tencent |
| 12 | Water | Water rights / utilities | NQH2O (CME, design) | PHO | 5.0% | Yahoo + Tencent |
| 13 | Carbon | Carbon credits | GEO (CME, design) | KRBN | 4.0% | Yahoo + Tencent |
Weights sum to exactly 100% and no single weight may exceed 15%; both are enforced
on-chain on every price update. The v1 whitepaper listed an additional rubber (TSR20)
line, which is not in the live basket.
3.2 Definition
Let assets be i = 1…n with weight wi, locked base price
Pibase and current price Pi. Let A
be the set of active (non-frozen) assets.
(1)PPI =
Σi∈A wi · PiPibaseΣi∈A wi
(2)PPI = 0 if Σi∈A wi = 0 (no active asset ⇒ the index is undefined)
- Constraint: Σi wi = 106 and 0 ≤ wi ≤ 150000.
- Re-normalisation — dividing by the active weight sum — is what makes a frozen
asset disappear cleanly instead of silently biasing the index.
- Equation (2) is a safety property: an early implementation returned 1.0 when
everything was frozen, which allowed minting against a fabricated index. It now
returns 0 and minting is refused (§4.1).
- Target price: PricePLT = PPI × USDbase, with
USDbase = $1.00 at genesis — PLT tracks the ratio of the basket’s
price to the locked base, not a fixed dollar.
3.3 Worked example
Take three assets A, B, C with weights 0.5 / 0.3 / 0.2 (encoded 500000 / 300000 / 200000),
base prices 100 / 50 / 80, current prices 110 / 47.5 / 84:
(1a)A ×1.10 B ×0.95 C ×1.05
(1b)PPI = 0.5(1.10) + 0.3(0.95) + 0.2(1.05) = 0.550 + 0.285 + 0.210 = 1.045
(1c)if B freezes: PPI = (0.5·1.10 + 0.2·1.05) / (0.5 + 0.2) = 0.76 / 0.70 = 1.0857…
(1d)if A, B and C all freeze: PPI = 0 ⇒ minting refused (eq. 2)
(1c) is the consequence readers should internalise: excluding a falling asset raises
the index. That is arithmetically correct — the remaining basket really is worth more per
active unit — and is exactly why the freeze state is a governed, observable action rather
than an automatic one.
4. Mint, redeem & fees
Let D be the value deposited, B the PLT burned, and f the fee rate for the current band.
(3)M = D · (1 − f) / PPI PLT minted
(4)R = B · PPI · (1 − fburn) value returned
(5)F = D · f fee collected
4.1 Mint gating
(6)tnow − oldestActiveUpdate ≤ MAX_ORACLE_AGE = 6 h freshness of the stalest active asset
(7)PPI > 0 the index is defined (eq. 2)
(6) uses the stalest active asset, not the most recent push: one fresh input must not
make thirteen stale ones look current. (7) closes the frozen-basket hole. These are the only
two “market” reasons a mint can be refused.
4.2 Fee routing
(8)F = Fburn + Freserve + Fstake + Frisk
the risk fund takes 10% of the fee; the remaining 90% accrues to the reserve
Why the reserve bucket is the largest: in the fully-backed future phase the reserve
must grow at least as fast as the index, otherwise the collateral ratio decays. The v1
whitepaper used 45 / 30 / 25 (burn / reserve / staking); this is a deliberate re-weighting,
not an oversight (§10.2).
4.3 The redemption path
Redemption is a single synchronous call: redeem(burnAmount) burns PLT, prices the
payout at the index less the burn fee, decrements totalReserve and transfers the
collateral back. Token and core accounting move in the same transaction, so they cannot drift.
When the reserve cannot honour the index, everyone shares the shortfall. This build holds a
dollar asset (§1.2), so a rising index can outrun the reserve. The obvious implementation — pay the
index and revert if the reserve is short — pays whoever redeemed first in full and leaves the rest
with a dead transaction: a bank run written into the fee schedule. Instead:
(21)payout = indexPayout if the reserve can cover it
(22)payout = burnAmount · reserve / supply otherwise — pro-rata, fee waived, RedeemedProRata emitted
This applies only while redemption is possible at all. Beyond 15% deviation the fee function
reverts BandReject and nothing can be redeemed — a known and stated limitation (security
review, F-7). Within the band, PLT tracks the index while the reserve can cover it, and becomes a
pro-rata claim when it cannot. Stage 2 collapses this to one branch, because the reserve then moves
with the basket.
5. Stability mechanisms
This section mixes live code with design, and the difference matters. The fee band, the
circuit-breaker and the risk fund are deployed. The arbitrage rebate (§5.2), the bonds (§5.4) and the
dual-track anchoring (§5.5) are design only, and each says so where it is described.
One framing correction matters more than any table here. These mechanisms respond to the index's
distance from its base, not to a market price. An index of commodity prices is supposed to
move (§1.1), so a schedule that charges more as it moves is a volatility tax on trading.
It is not a peg defence, and calling it one would borrow credibility from a mechanism this design
does not contain.
5.1 Tiered fee and circuit-breakers
| |PPI − 1| | Fee | Behaviour |
| ≈ 0 (index at base) | 0.5% | normal |
| 3% – 5% | 1% | dampened |
| > 5% | 2% + slope | elastic; the slope steepens with deviation |
| > 15% | — | mint and redeem refused |
(9)f(x) = fbase + SLOPE · max(0, |x| − 0.05), x = PPI − 1
(10)fburn ≤ MAX_BURN_FEE so the payout R ≥ 0 always
5.2 Asymmetry and arbitrage
(11)fmint′ = fmint − arbRebateBps when PPI > 1.03
Redemption is deliberately not symmetric with minting: exiting below peg carries an extra
penalty (bounded by (10)), while minting below peg is what re-floats the index. When the
index is rich the protocol pays a rebate so an external arbitrageur is rewarded for
pushing price back toward PPI.
Equation (11) is not implemented. The deployed feeBpsForPpi returns the band fee and
nothing else — there is no rebate branch. It also presupposes a market price to arbitrage against,
which this deployment does not have. Redemption is symmetric with minting, apart from the 5% cap.
5.3 Risk fund
(12)Frisk += F · RISK_SHARE funded on every fee
(13)reserve += a if riskFund ≥ a owner CoverDeficit
5.4 Stabilisation bonds — design, not deployed
(14)face = principal · (1 + premiumBps/104)
Below peg, holders can subscribe at a discount to be repaid a premium. Bonds are
requested by the holder and settled by the operator — asking to redeem can
never destroy a claim before it has been paid. Owner-opened, owner-priced, bounded.
Status: the EVM port exists (monad/src/PlanetBond.sol, 10 tests) but is
not deployed in this Arbitrum deployment; the live stability tools are fees and the
risk fund.
5.5 Dual-track anchoring — design, needs a market price the protocol does not observe
Both rows key off a market price for PLT against the index. This deployment has no market and no
price oracle for PLT itself, so neither scenario can be evaluated today.
| Scenario | market < PPI | market > PPI |
| System response | discount minting opens | premium redemption opens |
| User incentive | PLT is cheap relative to the index, so minting pays | burning back toward PPI pays |
| Instrument | fee slope + bonds + risk fund | arbitrage rebate (11) + elastic fee (9) |
5.6 Hard limits
A global pause (setPaused) and the >15% mint refusal are hard
circuit-breakers that do not depend on incentives. (A per-transaction cap is part of the
design; the EVM core does not implement one yet.)
6. CAM adapter layer — failure isolation
The CAM layer is a design in this deployment. The EVM core carries the standardised
fields (price, volatility, liquidity, riskState) with riskState ∈
{normal, caution, frozen}, and the relayer writes them with each price;
there is no separate CAM adapter contract yet.
(15)frozen ⇒ i ∉ A ⇒ excluded from (1) and exempt from rebalancing
This is the core safety property: a single bad source, price or liquidity event is
contained. The protocol propagates the state — raising fees, lowering
limits, freezing one asset — rather than the error, so one commodity cannot poison
the index. Adding or retiring a commodity does not require touching the core.
7. Oracle & price integrity
7.1 Sources
The relayer reads up to four independent channels per asset. Yahoo Finance is the
primary because it covers all 14 instruments under the same instrument definition; Sina,
Tencent and Eastmoney are confirmations only when they land within 0.5%. The
rule is primary + confirmation count, not a median: a 1% gap between venues is
usually two different contract expiries, and averaging those blends two different assets.
Natural gas is deliberately single-source because the other venues quote a later expiry.
The full matrix is published at /api/v1/sources.
7.2 Verification
(16)accept ⇔ onlyRelayer(updatePrice) ∨ |{ s ∈ S : verify(H, σs, pubs) }| ≥ threshold
H = ECDSA digest bound to the oracle address + chain id; distinct signers enforced by a used-signer bitmap; EIP-2 malleability rejected
The live write path is the authorised relayer. The SignedPriceOracle is deployed
and wired for updatePriceSigned, and its signer set is 2-of-3 on Arbitrum One;
raising it to 2-of-3 is a setSigners([a,b,c], 2) call, not a redeploy.
7.3 Guards
(17)tpayload > tlastUpdate strictly increasing ⇒ replay is dead
(18)|Pnew − Pold| / Pold ≤ 50% single-update jump limit; owner forcePrice is the timelocked escape hatch
(19)no confirmation within 0.5% ⇒ riskState = caution divergence guard
7.4 Freshness model
| Clock | Value | Meaning |
| On-chain mint guard | 6 h | minting is refused when oldestActiveUpdate is older than 6 h — a safety property (eq. 6) |
| API health | 6 h | /api/v1/oracle reports fresh=false past the same limit and lists any stale inputs |
The hourly push leaves roughly five hours of slack. Redemption deliberately has no freshness
guard: an exit should not be blocked by a stale feed, and the payout is bounded by the
reserve and the fee cap.
7.5 Key management
The live writer is Core.relayer, a dedicated hot EOA; the owner / timelock key
is separate. The SignedPriceOracle keeps its own signer set and threshold.
Rotating any of them is an owner action through the timelock, never a direct EOA
call. A leak of the relayer key can submit guarded prices, but cannot move funds or change
ownership.
8. Rebalancing (RTRA)
(20)ΔAi = ( wi − Vi / Σj Vj ) · T
- ΔAi — value to trade in asset i; wi — target
weight; Vi — current holding; T — total reserve.
- Trigger: drift-based and risk-adaptive — a frozen asset is not traded, and high
volatility / low liquidity raises the trigger threshold.
- Execution is deliberately out of scope: Planet does not build a
DEX/AMM/order-book. On Arbitrum, trades would be routed to external venues (e.g.
Uniswap, Camelot); the protocol only computes the target.
- Status: RTRA is a design in this deployment; the EVM core does not
implement rebalancing yet.
9. Governance & the DAO plan
9.1 What the original whitepaper (v1.0) planned
The first whitepaper specified a governance token PLTG, fixed at
1,000,000,000 units, with a published allocation and vesting schedule:
| Bucket | Share | Vesting |
| Community incentives | 40% | 5-year linear (liquidity mining) |
| Protocol treasury | 25% | DAO-controlled, ecosystem |
| Core team | 15% | 2-year lock + 3-year linear |
| Investors | 12% | 1-year lock + 2-year linear |
| Public sale | 8% | fully released at TGE |
The DAO was to control, by PLTG vote:
- commodity weights wi — “adjusted quarterly by DAO vote”;
- fee rates (stated range 0.3%–0.8%);
- the PPI deviation thresholds (±3% default);
- the choice of reserve custodian.
PLTG captured value two ways: staking dividends — a share of fees paid periodically
in stable value — and voting power. Liquidity providers of the PLT/stable pool were
to receive PLTG rewards. The roadmap scheduled DAO governance launch in Q2 2026.
Anti-fragility commitments included spreading reserve assets across 10+ venues and a
minimum collateral ratio of 105%.
The v1 fee split was 45 / 30 / 25 (buyback-burn / reserve / staking); the
implemented split is 30 / 50 (+10 risk) / 20 — the reserve bucket was deliberately
re-weighted upward.
9.2 What is live today
| v1 DAO element | Today |
| PLTG token, fixed supply 1e9 | design — not deployed on Arbitrum |
| PLTG staking | design — prototype only; not in this deployment |
| Staking dividends (fee revenue share) | design — reward-per-share prototype; not deployed |
| Stake-weighted parameter voting | design — advisory in the prototype; not deployed |
| DAO actually controlling weights / fees / thresholds | live — parameter control is the owner (timelock) |
| DAO choosing the reserve custodian | future — no custodian exists yet |
| 1e9 allocation & vesting (40/25/15/12/8) | future — not executed |
Honest summary. The Arbitrum deployment has a timelock owner and no PLTG
token. The DAO layer below is design: there is no on-chain vote that controls
parameters today, and the allocation/vesting schedule has not been executed. Closing that
gap is a deliberate design step, not a claim we make today.
9.3 Privileged actions and the timelock
(21)Execute ⇔ now ≥ eta = proposeTime + delay ∧ ∃ pending (dest, body)
Owner-gated operations: basket assets and weights (setAsset), the token /
deposit-token / oracle / relayer setters, pause, forcePrice,
setRiskState, and ownership itself. Once the owner is the timelock, a direct
EOA call to these functions is rejected; changes must go through
propose → delay → execute. The delay is the holders’ reaction window, and the
timelock’s owner should be a multisig.
9.4 Staking dividend mathematics
(22)accRPS ← accRPS + ⌊ R · 1012 / S ⌋ R = reward, S = total staked
(23)claimable = ⌊ si · accRPS / 1012 ⌋ − debti
(24)debti ← ⌊ si · accRPS / 1012 ⌋ on every stake/unstake/claim
A classic reward-per-share accumulator, part of the PLTG design (not deployed in
this Arbitrum deployment). Note (22) floors: dust stays in the pool rather than being
minted. Reconciling that dust is one of the things an auditor should check.
10. Tokenomics
10.1 Token system
| Token | Symbol | Function | Supply |
| Index token | PLT | payment / store / unit of account for the index | elastic (mint/burn) |
| Governance token | PLTG | parameter voting + fee dividends (design — not deployed) | fixed 1,000,000,000 |
(25)supplyPLT = Σ minted − Σ burned Core.totalSupply is the accounting source; token supply matches (Core-only mint/burn)
(26)Mnew = D(1 − f) / PPI mint equation (as (3))
(27)R = B · PPI · (1 − f) redeem equation (as (4))
10.2 Fee flow, v1 vs now
v145% buyback-and-burn · 30% reserve · 25% PLTG staking rewards
now10% to the risk fund, 90% to the reserve — no burn, no staking
10.3 PLTG utility (design — not deployed)
- Staking dividends — a pro-rata share of fee revenue, paid in stable value.
- Governance — voting on commodity weights, fee rates, deviation thresholds and
(in future) the reserve custodian.
- Liquidity incentives — the v1 design reserved emissions for pool LPs
future.
10.4 Allocation & vesting
The v1 schedule (§9.1) stands as the intended distribution; it has not been
executed, and the current supply sits with the deployer. It must be distributed before any
binding governance, or the vote is meaningless.
11. Fund (tokenised ETF shares) — design
The Fund is the L4 wrapper: it issues shares against a basket of ETF positions at NAV, so
holders get fund-style exposure rather than a purely synthetic index. Actions that move
NAV (mint, custody changes) are custodian-signed under an M-of-N policy; redemption
is trustless — the fund receives its own ERC-20 shares on a normal transfer and
burns them, releasing the claim, without an operator having to co-operate.
Status: design; there is no Fund contract in the Arbitrum deployment.
12. Trust & threat model
| Actor | Can | Cannot |
| User | mint / redeem / transfer — always signing in their own wallet | — |
| Relayer hot key | submit price updates, bounded by eq. 16–19 | touch ownership, parameters or funds |
| Owner | change parameters after the timelock delay | act instantly; bypass propose → delay → execute |
| Custodian (future) | attest NAV under an M-of-N policy | move user assets unilaterally |
- Owner-key compromise is the dominant risk; the delay is the only mitigation —
hence multisig + a longer delay before mainnet.
- Hot-key compromise is bounded: prices only, inside the jump band and divergence
freeze; funds are unreachable.
- Payload replay is defeated by the strictly increasing timestamp (eq. 17) and the
oracle's domain separation (oracle address + chain id).
- By design, not fixed: redemption has no freshness guard (asymmetric with
minting; an exit is not blocked by a stale feed), the fee buckets are accounting labels
rather than separate balances, and PLTG / executed proposals are design. These are
documented, not hidden.
13. Evidence
- 70 Foundry tests across five suites (Core 31, Token 11, Oracle 10, Bond 10,
Timelock 8), all passing in CI (
monad-build.yml).
- A deploy dry-run workflow compiles and exercises the scripts before any gas is
spent; the deploy script passes constructor arguments from Solidity rather than the CLI.
- On-chain verification of the live Arbitrum Sepolia deployment: 14 assets,
weightSum = 1,000,000, base prices locked, PPI ≈ 1.00383, owner = the
timelock, and every asset price read back.
- Independently reproducible from
monad/ plus the workflows in
.github/workflows/; addresses and state in docs/HANDOFF.md §0.
14. Roadmap
| Phase | Content | Status |
| P0 | EVM core — basket, on-chain PPI, mint/redeem against USDC collateral | done |
| P1 | Stability — fee tiers, elastic slope, arbitrage rebate, risk fund | done |
| P2 | Front end — site, dashboard, /app mint/redeem | done |
| P3 | Real feeds — four channels, confirmations, freeze guard, signed oracle path | done |
| P3b | Collateral — Circle test USDC pulled on mint, paid on redeem | done |
| P4 | PLTG — allocation & vesting; binding, executed governance | design |
| P5 | RWA — real reserve, custody, proof-of-reserve, compliance (the “1:1” variant) | future |
| P6 | Cross-chain distribution | future |
| — | Third-party audit, multisig owner, bug bounty | pending |
15. Risks & compliance
- Index divergence — the reserve is test USDC, not the commodity basket; market price may diverge materially from PPI.
- Oracle — source coverage and availability; the guards bound but do not eliminate this.
- Liquidity — thin at cold start, so the market price is manipulable.
- Compliance — enabling real mint/redeem constitutes a financial product and needs
licensing/custody; Phase 1 deliberately avoids it.
- Mechanism limits — the stability toolkit is soft (fees, bonds,
incentives); it is not a substitute for real reserves.
Appendix A — worked economic simulation
Reproducing the v1 simulation with the current mechanics. Scenario: the energy complex
rallies and the composite index rises 4.5% — from 1.000 to 1.045 (per eq. 1b).
(A1)PPI: 1.000 → 1.045 ⇒ 4.5% off peg, so the fee band is 1% (table, §5.1)
(A2)a participant deposits D = 1,000,000
(A3)fee F = 1,000,000 × 1% = 10,000
(A4)minted M = 1,000,000 × 0.99 / 1.045 = 947,368.4 PLT
(A5)fee split: burn 3,000 · reserve 4,000 · staking 2,000 · risk fund 1,000
(A6)supply expands by 947,368.4 units at index 1.045 ⇒ buying pressure pushes market price back toward PPI
The v1 whitepaper’s own numbers (a 10% oil move, a 0.5% fee, 970,873 PLT for 1,000,000 in)
have the same shape; what changed is the fee band and the routing. Note the fee is charged
on the deposit, so the minted amount is monotonically decreasing in both the fee and the
index — there is no path where a minter receives more than D/PPI.
Appendix B — API reference
| Endpoint | Method | Returns |
/api/v1/status | GET | index PPI, supply, reserve, fee buckets, the full 14-asset basket with weights and prices, signer threshold |
/api/v1/oracle | GET | oracle health: freshness, age, maximum age, signer count/threshold, weights validity, frozen list, healthy |
/api/v1/oracle?full=1 | GET | the above plus a full basket scan |
/api/v1/sources | GET | the four-channel matrix: primary, confirmations, spread, rejected channels and state |
/openapi.json | GET | OpenAPI 3.1 description of the above |
/api/status | GET | 308 permanent redirect to /api/v1/status (with Deprecation/Sunset headers) |
On-chain interactions (mint, redeem, transfers) are not REST calls: they are EVM transactions
signed in the user’s own wallet and constructed by . The API is read-only.
Appendix C — code excerpts (Solidity)
Abbreviated excerpts from the contracts that actually run on Arbitrum Sepolia. The full
source is in monad/src/.
C.1 The index (§3)
function computePpi() public view returns (uint64) {
uint256 num; uint256 den;
for (uint256 i; i < assets.length; ++i) {
Asset storage a = assets[i];
if (a.riskState == RISK_FROZEN) continue; // eq. (15)
num += uint256(a.weight) * uint256(a.currentPrice) * SCALE / uint256(a.basePrice);
den += uint256(a.weight);
}
if (den == 0) return 0; // eq. (2): undefined, not 1.0
return uint64(num / den);
}
C.2 Fee band (§5.1)
function feeBpsForPpi(uint64 ppi) public pure returns (uint64) {
uint256 d = ppi > SCALE ? ppi - SCALE : SCALE - ppi;
if (d * BPS_DENOM > SCALE * BAND_REJECT_BPS) revert BandReject(); // >15%
if (d * BPS_DENOM <= SCALE * 300) return FEE_BASE_BPS; // 0.5%
if (d * BPS_DENOM <= SCALE * 500) return FEE_MID_BPS; // 1%
uint256 extraBps = (d * BPS_DENOM / SCALE) - 500;
return uint64(FEE_HIGH_BPS + extraBps * SLOPE_BPS / 100); // eq. (9)
}
C.3 Mint: freshness, collateral, supply (§4.1)
function mint(uint64 deposit) external returns (uint64 minted) {
if (paused) revert IsPaused();
if (deposit == 0) revert ZeroAmount();
uint64 ppi = currentPpi;
if (ppi == 0) revert NoActiveAsset(); // eq. (2)/(7)
uint64 oldest = oldestActiveUpdate();
if (oldest == 0 || block.timestamp > oldest + MAX_ORACLE_AGE) revert StaleOracle(); // eq. (6)
// ... fee + minted ...
if (address(token) == address(0)) revert NoToken();
if (address(depositToken) == address(0)) revert NoDepositToken();
if (!depositToken.transferFrom(msg.sender, address(this), deposit)) revert TransferFailed();
totalSupply += minted;
token.mint(msg.sender, minted);
totalReserve += deposit;
_routeFees(fee);
}
C.4 Redeem: burn, payout, reserve (§4.3)
function redeem(uint64 burnAmount) external returns (uint64 payout) {
if (paused) revert IsPaused();
if (burnAmount == 0) revert ZeroAmount();
if (currentPpi == 0) revert NoActiveAsset();
if (address(token) == address(0)) revert NoToken();
// ... gross, capped burn fee, payout ...
if (totalSupply < burnAmount) revert Underflow();
totalSupply -= burnAmount;
token.burn(msg.sender, burnAmount);
if (totalReserve < payout) revert Underflow();
totalReserve -= payout;
if (!depositToken.transfer(msg.sender, payout)) revert TransferFailed();
_routeFees(fee);
}
C.5 Oracle verification (§7.2)
function verify(PricePayload calldata p, bytes calldata sigs) external view returns (bool) {
bytes32 d = digest(p); // domain + address(this) + chainid + payload
uint256 usedMask; uint256 matched;
for (uint256 k; k < sigs.length / 65; ++k) {
(address who, bool ok) = _recover(d, sigs, k * 65); // EIP-2 s-range check
if (!ok) continue;
uint256 slot = _signerSlot(who);
if (slot == type(uint256).max) continue; // not a signer
if ((usedMask >> slot) & 1 == 1) continue; // one key, one vote
usedMask |= (uint256(1) << slot);
if (++matched >= threshold) return true; // eq. (16)
}
return false;
}
Appendix D — security & audit appendix
D.1 EVM-specific properties
- No floating point ⇒ all invariant checks are exact integer comparisons; the
classic float-rounding attack surface does not exist.
- Reentrancy discipline: the only external calls are to the owner-wired PLT and
deposit tokens.
mint validates first and pulls collateral before any state
change; redeem updates supply and reserve before transferring out. A
non-standard deposit token remains a trust assumption.
- Checked arithmetic: Solidity 0.8 reverts on overflow/underflow, and subtractions
(supply, reserve, bond face) are explicitly guarded. Mixed
uint64 /
uint256 expressions are cast at every boundary.
- Transfer results:
transferFrom / transfer return
values are checked; a false return reverts the transaction.
- Timelock: ownership changes and privileged calls go through
propose → delay → execute; failed inner calls are recorded (TL-2) and the
delay can never be reset to zero (TL-3).
D.2 The review register
A first-party review of the earlier implementation found and fixed 10 issues, each ported
with a regression test: an undefined index returned 1.0 and permitted minting; timelock
ownership could bypass the delay; a failed executed action could fail silently; a voter
could unstake immediately; proposal spam; bond redemption could destroy a claim without
payment; the bond premium was unbounded; and a supply underflow. The EVM port added its own
fixes: the fee buckets total correctly; mint and redeem refuse to run without a wired
token; setAsset bounds-checks before indexing; and the weight sum is enforced
on price updates rather than on every basket edit. The remaining design items are
documented (redemption has no freshness guard; fee buckets are labels; PLTG and executed
proposals are design).
D.3 What an auditor should attack
- Manipulating the freeze state to profit from re-normalisation (eq. 1c).
- Fee accounting: do the four buckets reconcile with the fee charged, and does
totalReserve reconcile with the USDC balance?
- Payload encoding / domain separation: any ambiguity or cross-chain replay?
- Timelock: can dest/body be swapped between propose and execute?
- Reward-per-share rounding (PLTG design): extractable dust, or a griefing path?
- Supply identity (eq. 25): do
Core.totalSupply and
token.totalSupply() agree under every mint/redeem path?
- Collateral: can a non-standard deposit token re-enter or return false without
reverting the accounting?
Appendix E — off-chain services
- Relayer — reads up to four channels per asset, picks the primary and records
confirmations, then pushes with the relayer key. Gated by a movement threshold (0.1%)
with a 6-hour heartbeat ceiling so a quiet feed cannot go stale. A calm hour costs
roughly 0.00003 ETH on Arbitrum Sepolia; the hourly workflow asserts that
lastOracleUpdate actually moved.
- Proof-of-reserve future — the v1 design was a
daily Merkle root of custodian holdings published so anyone can verify inclusion.
Requires the RWA custodian.
- Cross-chain future — the v1 design used a bridge
to widen distribution; not implemented.
- Public read API — see Appendix B; versioned, cache-friendly, with a health
endpoint for the oracle.
Appendix F — deployment & monitoring
| Concern | Mechanism |
| Build & test | CI on every push (monad-build.yml): forge build --sizes + forge test -vv (70 tests) |
| Deploy safety | Deploy.s.sol passes constructor arguments from Solidity, wires token/Core, and a dry-run workflow exercises it before any gas is spent; addresses and state live in docs/HANDOFF.md §0 |
| Price feed | hourly evm-push.yml; delta gate + 6 h heartbeat; the run fails if lastOracleUpdate did not move |
| Health | an oracle monitor alerts on state transitions (stale feed, invalid weights, signer mismatch) |
| Reporting | a monthly basket report generated from chain state and published |
| Key handling | the price key is a dedicated hot key funded minimally; the owner key is separate and the owner is a timelock (multisig is the production target) |
Disclaimer. This document is a technical proposal and a proof-of-concept, not
investment advice. It is unaudited. PLT is a synthetic index token with no physical
backing; its market price may diverge materially from the theoretical PPI. Do not use it
with value you cannot afford to lose.