Claude/loving albattani eolo8l - #152
Conversation
- FRONTEND_MIGRATION: chain ID bluechip-3 (matches the block explorer's deployed config), fix committing_info query spelling in the subscription-info sample, add minimum-commit troubleshooting row - New section 12: granting special privileges to committed users (client-side gating, ADR-36 server verification, real-time commit event watching); later sections renumbered - frontend WalletConnect: mainnet chain ID bluechip-3 https://claude.ai/code/session_01PBHdD9Wpt5rB8eUCWQHzVw
One call returns everything an earnings panel needs: the configured creator wallet, the claimable clip-slice fee pot (emptied by claim_creator_fees), the locked excess-liquidity claim with a claimable_now flag computed against block time (mirroring the PositionLocked gate on claim_creator_excess_liquidity), and threshold-crossing context (is_threshold_hit, threshold_crossed_at). All reads are may_load with defaults so the query works at any pool lifecycle stage. Creator-pool only; standard pools have no creator wallet. Documented in the README query reference. https://claude.ai/code/session_01PBHdD9Wpt5rB8eUCWQHzVw
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2d3d6747c1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| | `phase` | `"funding"` \| `"post-threshold"` \| `"threshold-crossing"` \| `"threshold-hit-exact"` | | ||
| | `committer` | wallet address that committed | | ||
| | `commit_amount_bluechip` / `commit_amount_usd` | amounts in micro-units | |
There was a problem hiding this comment.
Align commit event docs with emitted attributes
For users following Pattern C, these documented event fields do not match all commit handlers: the post-threshold handler emits phase active rather than post-threshold, and the threshold-crossing-with-excess handler emits threshold_amount_usd/swap_amount_usd instead of commit_amount_usd (checked creator-pool/src/commit/post_threshold.rs and creator-pool/src/commit/threshold_crossing.rs). A websocket integration that filters on the documented phase or reads only wasm.commit_amount_usd will miss active commits or report $0 for threshold-crossing commits when granting perks.
Useful? React with 👍 / 👎.
No description provided.