MeteoraAg / dlmm-sdk

An SDK for building applications on top of Dynamic CLMM
63 stars 55 forks source link

Support creating empty positions #108

Closed shadeglare closed 2 months ago

shadeglare commented 2 months ago

This pull request introduces a new method createEmptyPosition that allows to create an empty (no initial liquidity) position with the corresponding bin arrays if needed. It's useful for automation scenarios for creating new empty positions in advance and supplying liquidity lately when the prices moves closer to them.

shadeglare commented 2 months ago

@McSam94 Gm. Please take a look. It's a new method for some advanced automation scenarios.

shadeglare commented 2 months ago

@McSam94 Hello again. Seems I've missed the merge moment and the main branch moved further. I bumped the version and changelog again.

shadeglare commented 2 months ago

@McSam94 Hello again. Seems I've missed the merge moment and the main branch moved further. I bumped the version and changelog again.

@McSam94 You can ping me in Discord by @shadeglare for merging anyway.

00xSam commented 2 months ago

Publish version @meteora-ag/dlmm@1.2.1