feat(ui): platform fee — earn txs & cumulative earnings at 90% after 10% cut - #20
Merged
Merged
Conversation
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
UI prototype half of host rant
2026-08-14T21:57:52(平台收益抽成 10% — 分享者收益扣除 10% 平台分成). Docs half already merged in PR #19 (docs v1.7).Changes (
ui/):ui/js/data.jspts = consumption × 0.9— 420→378, 980→882, 210→189, 390→351, 180→162; detail text "收益 · 我的 key 被消费(已扣 10% 平台分成)"SHARINGScumulativeearnedafter the cut: 1790→1611, 1240→1116, 60→54, 480→432; header comment updatedui/index.htmlui/js/app.js: dashboard 共享收益 stat subtitle "已扣 10% 平台分成 · N 个 key 上架中" (monthEarnauto-sums post-cut earn txs)ui/README.md: points mechanism → v1.7, notes 10% platform cut (earn = consumption × 90%)Related Issue
No issue — host rant
2026-08-14T21:57:52(argszero/aitokenpool).Changes
ui/js/data.jsmock data +ui/README.mdTests
cargo test全部通过 (1 passed)cargo fmt --check通过node --check ui/js/data.js+node --check ui/js/app.js通过;fee math verified (×0.9)Checklist
feat/platform-fee-uifeat(ui): platform fee — earn txs & cumulative earnings at 90% after 10% cut