Skip to content

bigz/init-lp-pool #1565

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

Open
wants to merge 128 commits into
base: master
Choose a base branch
from
Open

bigz/init-lp-pool #1565

wants to merge 128 commits into from

Conversation

0xbigz
Copy link
Member

@0xbigz 0xbigz commented Apr 8, 2025

No description provided.

0xbigz and others added 30 commits April 8, 2025 13:06
* add get_swap_amount, get_swap_fees, get_weight

* update accounts

* add back ts

* rebase

* add constituent swap fees
* add initializeLpPool test

* add check for constituent target weights
NourAlharithi and others added 30 commits July 10, 2025 17:33
* add validates and test for withdraw limit

* settlement  max

* update idl

* merge conflicts
* zero unused amm fields

* cargo fmt

* bare bones ix

* minimal anchor mm oracle impl

* update test file

* only do admin validate when not anchor test

* updates

* generalize native entry

* fix weird function name chop off

* make it compile for --feature cpi (#1748)

Co-authored-by: jordy25519 <[email protected]>

* more efficeint clock and state bit flags check

* vamm uses mm oracle (#1747)

* add offset

* working tests

* refactor to use MM oracle as its own type

* remove weird preface

* sdk updates

* bankrun tests all pass

* fix test

* changes and fixes

* widen confidence if mm oracle too diff

* sdk side for confidence adjust

* changelog

* fix lint

* fix cargo tests

* address comments

* add conf check

* remove anchor ix and cache oracle confidence

* only state admin can reenable mm oracle kill switch

* cargo fmt

---------

Co-authored-by: jordy25519 <[email protected]>
* move around ixs

* remove message
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.

5 participants