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 prediction markets #1152

Merged
merged 69 commits into from
Aug 12, 2024
Merged

Conversation

crispheaney
Copy link
Member

No description provided.

@@ -196,7 +197,8 @@ export function getVammL2Generator({
const [bidReserves, askReserves] = calculateSpreadReserves(
updatedAmm,
oraclePriceData,
now
now,
marketAccount.contractType == ContractType.PREDICTION
Copy link
Member Author

Choose a reason for hiding this comment

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

think we need to check isVariant() here

@crispheaney crispheaney merged commit 0d5d300 into master Aug 12, 2024
11 checks 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.

4 participants