Skip to content

feat: use USD/Bcycle for market reward inputs - #21

Merged
mintybasil merged 1 commit into
mainfrom
zeroklaw/issue-15-bcycle-units
Mar 30, 2026
Merged

feat: use USD/Bcycle for market reward inputs#21
mintybasil merged 1 commit into
mainfrom
zeroklaw/issue-15-bcycle-units

Conversation

@zeroklaw

Copy link
Copy Markdown
Member

Summary

Switches the market reward parameter from USD/MHz to USD/Bcycle, which matches the source data from the Boundless Explorer and avoids unnecessary decimal places.

Changes:

  • MARKET_REWARD_USD_PER_MHZ renamed to MARKET_REWARD_USD_PER_BCYCLE
  • Default values updated from [0.00003, 0.00005, 0.00007, 0.0001][0.03, 0.05, 0.07, 0.1] (×1000, same underlying values)
  • Internal conversion to USD/MHz applied before calculations (÷ 1000)
  • Dashboard slider updated to USD/Bcycle range with cleaner decimal format

Closes #15

@github-actions

Copy link
Copy Markdown

🚀 Preview deployment ready!

URL: https://zeroklaw-issue-15-bcycle-uni.zerokrab-boundless-jupyter.pages.dev
Branch: zeroklaw/issue-15-bcycle-units
Commit: d57939f44e06a608f0ed4e59430e3ebda61638e5

@mintybasil
mintybasil merged commit 5411f8a into main Mar 30, 2026
1 check passed
@mintybasil
mintybasil deleted the zeroklaw/issue-15-bcycle-units branch March 30, 2026 15:24
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.

Use bcycle/USD for market price inputs

2 participants