Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
chore: add LP mint calculation for stableswap pools #383
chore: add LP mint calculation for stableswap pools #383
Changes from all commits
595ed83
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Check warning on line 203 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L202-L203
Check warning on line 206 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L206
Check warning on line 208 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L208
Check warning on line 214 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L211-L214
Check warning on line 220 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L219-L220
Check warning on line 225 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L225
Check warning on line 232 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L229-L232
Check warning on line 242 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L242
Check warning on line 247 in contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/commands.rs#L247
Check warning on line 117 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L116-L117
Check warning on line 120 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L120
Check warning on line 123 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L122-L123
Check warning on line 126 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L125-L126
Check warning on line 134 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L130-L134
Check warning on line 136 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L136
Check warning on line 139 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L138-L139
Check warning on line 141 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L141
Check warning on line 144 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L143-L144
Check warning on line 147 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L146-L147
Check warning on line 150 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L150
Check warning on line 155 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L155
Check warning on line 160 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L160
Check warning on line 168 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L167-L168
Check warning on line 170 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L170
Check warning on line 173 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L172-L173
Check warning on line 175 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L175
Check warning on line 180 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L179-L180
Check warning on line 184 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L183-L184
Check warning on line 188 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L188
Check warning on line 245 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L245
Check warning on line 257 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L254-L257
Check warning on line 262 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L260-L262
Check warning on line 265 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L264-L265
Check warning on line 269 in contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs
Codecov / codecov/patch
contracts/liquidity_hub/pool-network/terraswap_pair/src/helpers.rs#L269