Skip to content

feat: add refund mechanism for oracle resolution failures#288

Merged
greatest0fallt1me merged 1 commit into
Predictify-org:masterfrom
Baskarayelu:refund
Jan 31, 2026
Merged

feat: add refund mechanism for oracle resolution failures#288
greatest0fallt1me merged 1 commit into
Predictify-org:masterfrom
Baskarayelu:refund

Conversation

@Baskarayelu

Copy link
Copy Markdown
Contributor
  • Introduced a new constant for default resolution timeout.
  • Implemented refund_on_oracle_failure function to handle automatic refunds when oracle resolution fails or times out.
  • Added RefundOnOracleFailureEvent to emit refund details.
  • Created comprehensive tests to validate refund functionality for various scenarios, including admin-triggered refunds and timeout conditions.

Closes #253 #254 #257 #258

- Introduced a new constant for default resolution timeout.
- Implemented refund_on_oracle_failure function to handle automatic refunds when oracle resolution fails or times out.
- Added RefundOnOracleFailureEvent to emit refund details.
- Created comprehensive tests to validate refund functionality for various scenarios, including admin-triggered refunds and timeout conditions.
@Baskarayelu

Copy link
Copy Markdown
Contributor Author

@greatest0fallt1me, please review it before the wave ends. Thanks!

@greatest0fallt1me

Copy link
Copy Markdown
Contributor

LGTM!

@greatest0fallt1me
greatest0fallt1me self-requested a review January 31, 2026 06:37
@greatest0fallt1me
greatest0fallt1me merged commit 806526b into Predictify-org:master Jan 31, 2026
1 check passed
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.

feat: implement stake-based community voting weights for hybrid resolution

2 participants