Skip to content

Miner-first home: live ORE round board, fee/timing/motherlode fixes - #46

Open
CodesbyFebin wants to merge 8 commits into
feature/strategy-presetsfrom
feature/miner-first
Open

CodesbyFebin wants to merge 8 commits into
feature/strategy-presetsfrom
feature/miner-first

Conversation

@CodesbyFebin

Copy link
Copy Markdown
Owner

Stacked on #43 (base feature/strategy-presets). Do not merge without the owner's OK.

Miner-first home

  • The Mine tab (renamed from Home) now opens on the live ORE v3 round: a 5×5 board with squares 0–24, SOL per square, solo ★ squares, countdown (from Board.start/end_slot), the motherlode pool, and round/intermission length read from the ORE Config account.
  • Then the deploy card (exact-message review → wallet signs → one submit → receipt), strategies and Crew Pool, then Claim & receipts. Edge node and device metrics move below.
  • Unchanged: you sign every round via MWA; no auto-signing, background loop, in-app key or custody. Mainnet cap 0.01 SOL, Rounds 1, risk tick; devnet is the default. The advisor never signs.

Fixes

  1. Fees. One wording (FeeMath.LOSING) and one calculator (FeeMath.losingRefund): losing-square SOL is refunded minus a 10% fee, plus a 1% admin fee (calculate_fees, regolith-labs/ore 48c203bd). Docs that said losing SOL is "not refunded" are corrected (checkpoint.rs does refund ~89.1%).
  2. Round timing. b17202e ("bump slot times") is an ancestor of 48c203bd. At 48c203bd deploy.rs/reset.rs use Config.protocol.round_slots / intermission_slots, so the app now decodes Config (9c9X7aDR…, disc 101, 232 bytes). Live mainnet on 20 Oct 2026: round 300 slots, break 60. The Late Look window = the last 15% of round_slots (fallback 40 slots only if Config can't be read).
  3. Motherlode limit. An unset (null/0) upper limit means unlimited, never "0 ORE".

Claim

There's no claim review in this build: ClaimSOL/ClaimORE aren't in the reviewed signing path or decoder, so the card shows no claimable amount and builds no message. A placeholder decoder never supplies values.

Not affiliated with Regolith Labs or ORE. No yield, APR or income claims.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant