-
Notifications
You must be signed in to change notification settings - Fork 98
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
Position v3 (Dynamic position) #140
base: main
Are you sure you want to change the base?
Conversation
a0c7262
to
90f1968
Compare
1b89b2d
to
a7dde02
Compare
94e8345
to
83c2a05
Compare
51aff30
to
facad74
Compare
- `getPairPubkeyIfExists` added new `baseFeePowerFactor` parameter | ||
- `getAllPresetParameters` now return `presetParameter` and `presetParameter2` accounts instead of only `presetParameter` | ||
- Rename `LBCLMM_PROGRAM_IDS` to `DLMM_PROGRAM_IDS` | ||
- `createPermissionLbPair` added new `protocolFeeBps` parameter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this function in sdk? caused it is only used by admin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
|
||
### Added | ||
|
||
- Admin function `initialize_token_badge` to initialize token badge for token 2022 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was thinking to stop support rust cli in the program repo. This will be the main version moving forward.
} | ||
|
||
#[derive(Parser, Debug)] | ||
pub struct DownloadUserPoolFilesParams { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed. But putting it just for this PR to allow reviewer able to dump and run the test personally for v2 to v3 (dynamic position) test. Will remove it in next PR.
The test is here
// 1. Dump the account: target/debug/cli download-user-pool-files --wallet-key <wallet key> --override-wallet-key bossj3JvwiNK7pvjr149DqdtJxf2gdygbcmEPTkb2F1 --pool-key 6StaAqeVjKUPTgMLmcLmdpmUjoYHRcZ6uViLdWNdUghM --output-path $(readlink -f ./artifacts/jlp-hubsol-6StaAqeVjKUPTgMLmcLmdpmUjoYHRcZ6uViLdWNdUghM) |
f474a7e
to
a845e4d
Compare
02320c9
to
0cb73dd
Compare
No description provided.