Saffron Pool v2
Introduction
Saffron Pool V2
Miscellaneous State Variables
Constructor
deposit()
Deposit base assets to the pool
withdraw()
Withdraw capital from the pool by burning SAFF-LP tokens
begin_unfreeze_NFT()
Begin to unfreeze an NFT so it may be withdrawn
update_exchange_rate()
Updates senior exchange rate based on current Auto Compounded earnings, if any. Also update the total supply for each tranche
get_latest_pool_holdings()
Updates senior exchange rate based on current Auto Compounded earnings, if any. Also update the total supply for each tranche
get_update_exchange_rate_vars()
Get internal state variables
get_yield_receiver_supply()
Get the calculated base asset holdings of all yield receivers by multiplying their token supplies by their exchange rates
set_exchange_rate()
Set values for yield receivers for waterfall mode (only valid while pool is in a shut-down state)
set_fee_manager()
Set fee manager (usually insurance fund)
withdraw_fees()
Withdraw protocol fees
shut_down_pool()
Set the shut-down state of the pool
disable_deposits()
Disable deposits (waterfall mode)
propose_governance()
Propose transfer of governance to new address
accept_governance()
Accept the role of governance (must be called by previously proposed candidate)
set_adapter()
Set a new Saffron Adapter to interface with underlying platform
sweep_erc()
Transfer LP assets to Mojito Staking
Last updated