-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Credix] Minting/Redeeming/CollectProfit IXs #213
Conversation
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.
Looks nice! Only few opinionated comments!
programs/uxd/src/instructions/credix_lp/register_credix_lp_depository.rs
Show resolved
Hide resolved
programs/uxd/src/instructions/credix_lp/register_credix_lp_depository.rs
Show resolved
Hide resolved
programs/uxd/src/instructions/credix_lp/collect_profit_of_credix_lp_depository.rs
Outdated
Show resolved
Hide resolved
programs/uxd/src/instructions/credix_lp/mint_with_credix_lp_depository.rs
Show resolved
Hide resolved
Audit saved for context on latest changes: |
…DProtocol/uxd-program into vbrunet/2022_11_28-integration-credix
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.
Good to merge after release 👍
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.
LGTM
Abstract
This PR adds integration with the onchain credix smart contract by minting UXD when depositing collateral in credix and burning UXD when withdrawing collateral from credix
New instructions set:
register_credix_lp_depository
mint_with_credix_lp_depository
redeem_from_credix_lp_depository
collect_profit_of_credix_lp_depository
edit_credix_lp_depository
PR Combo: