Skip to content

[dev][tests] open position with swap tests for UI#4

Open
Pterygopalatinus wants to merge 7 commits intodevfrom
openPositionWithSwap-UI-tests
Open

[dev][tests] open position with swap tests for UI#4
Pterygopalatinus wants to merge 7 commits intodevfrom
openPositionWithSwap-UI-tests

Conversation

@Pterygopalatinus
Copy link
Contributor

@Pterygopalatinus Pterygopalatinus commented Apr 5, 2023

Description

Tests for openUserPositionWithSwap, created to test the SDK calculator directly on smart contracts.

Why?

To improve openPositionWithSwap formulas.

ChangeLogs:

  • Unit tests for several corner cases
  • Helper function for preparing data for openUserPositionWithSwap
  • Several whitepaper changes.

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