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

program: add support for switchboard #878

Merged
merged 20 commits into from
Feb 28, 2024
Merged

Conversation

crispheaney
Copy link
Member

No description provided.

u64::MAX
} else {
let price_10bps = price.unsigned_abs().safe_div(1000)?;
confidence.unsigned_abs().max(price_10bps)
Copy link
Member

@0xbigz 0xbigz Feb 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doc link
perhaps should look into this instead of std_deviation?

@crispheaney crispheaney merged commit 6fd8756 into master Feb 28, 2024
5 of 8 checks passed
crispheaney added a commit that referenced this pull request Mar 6, 2024
crispheaney added a commit that referenced this pull request Mar 6, 2024
* Revert "sdk: account for switchboard max confidence"

This reverts commit e593a70.

* Revert "program: fix loading switchboard oracle"

This reverts commit cfbe238.

* Revert "program: add support for switchboard (#878)"

This reverts commit 6fd8756.

* CHANGELOG
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.

None yet

3 participants