6 releases
0.3.1 | Apr 23, 2022 |
---|---|
0.3.0 | Apr 23, 2022 |
0.2.1 | Mar 23, 2022 |
0.1.4 | Dec 24, 2021 |
0.1.0 | Nov 5, 2021 |
#21 in #saber
42KB
727 lines
🖨 brrr
Handles the printing and burning of $CASH, using Saber LP Arrows as collateral.
Addresses
The program address is the same on devnet, testnet, and mainnet-beta.
Program Address: BRRRot6ig147TBU6EGp7TMesmQrwu729CbG6qu2ZUHWm
Mechanism
There are two instructions that handle each of these actions: print_cash
and burn_cash
.
print_cash
This instruction prints $CASH in exchange for Arrow Saber LP tokens.
The issue authority of print_cash
is BJ9L3jNu6tvrUxPHTMfwyA8Lgw2X6ky5bVNyDqiXSxgA
.
burn_cash
This instruction burns $CASH in exchange for Arrow Saber LP tokens.
The withdraw authority of burn_cash
is 7Twx9JYz3gB4rF3h2cyUMnQWj9QEtmwviTvVD7xjAGEw
.
Dependencies
~27–40MB
~661K SLoC