Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Feat: event based OO #45

Merged
merged 4 commits into from
Jun 21, 2022
Merged

WIP: Feat: event based OO #45

merged 4 commits into from
Jun 21, 2022

Conversation

JonathanAmenechi
Copy link
Contributor

@JonathanAmenechi JonathanAmenechi commented May 26, 2022

Overview

  • Upgrade to Solidity 0.8.10
  • getExpectedPayouts returns the correct value even if the question is resolved
  • external over public when necessary
  • Use settledPrice from the Optimistic oracle
  • TODO: integrate event based Optimistic oracle

Description

Testing instructions

yarn test

Types of changes

  • Refactor/enhancement
  • Bug fix/behavior correction
  • New feature
  • Breaking change
  • Other, additional

Notes

Status

  • Prefix PR title with WIP if necessary (changes not yet made).
  • Add tests to cover changes as needed.
  • Update documentation/changelog as needed.
  • Verify all tests run correctly in CI and pass.
  • Ready for review/merge.

* upgrade contracts to 0.8.10
* move Auth to separate mixin for readability
* getExpectedPayouts should not revert if market is not resolved
* complete all checks before calling out to OO in reportPayouts
@JonathanAmenechi JonathanAmenechi changed the title WIP: Feat: event based WIP: Feat: event based OO May 26, 2022
@JonathanAmenechi JonathanAmenechi merged commit a4408a4 into main Jun 21, 2022
@JonathanAmenechi JonathanAmenechi deleted the feat/event-based branch June 21, 2022 20:10
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.

1 participant