Skip to content

fix(contract): breaker gating, Pyth expo scaling, oracle quorum, expose public APIs - #1819

Merged
hman38705 merged 2 commits into
solutions-plug:mainfrom
ink-mami:feature/1705-1706-1707-1710-contract-fixes
Oct 20, 2026
Merged

hman38705 merged 2 commits into
solutions-plug:mainfrom
ink-mami:feature/1705-1706-1707-1710-contract-fixes

Conversation

@ink-mami

Copy link
Copy Markdown
Contributor

Closes #1705
Closes #1706
Closes #1707
Closes #1710

Summary:

Validation: regression tests added; not compiled/run — no Rust toolchain in this environment.

…um, expose public APIs

Closes solutions-plug#1705
Closes solutions-plug#1706
Closes solutions-plug#1707
Closes solutions-plug#1710

- solutions-plug#1705: high-risk ops now go through require_closed (Open blocks, HalfOpen probes counted)
- solutions-plug#1706: normalise Pyth price to 1e-8 before comparing with strike_price
- solutions-plug#1707: staleness check requires min_responses reports; resolution uses consensus when >1
- solutions-plug#1710: expose unlock_tokens, get_bet, get_markets(_by_status), get_guardians_paginated, circuit breaker state
- restore oracles.rs tail truncated in 54df6f7 and drop dangling strike_thresholds reference
@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

@ink-mami Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

…conflicts (Simple agent)

- contracts/predict-iq/src/modules/oracles.rs: merged [markers] — model resolved the conflict markers

Co-authored-by: Simple Agent <agent@simple.dev>
@hman38705
hman38705 merged commit 7887478 into solutions-plug:main Oct 20, 2026
4 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment