Saffron Insurance Fund
Introduction
Saffron Insurance Fund
Miscellaneous State Variables
Constructor
deposit()
Deposit insurance_assets into the insurance fund
withdraw()
Withdraw users principal and earnings by redeeming their Saffron Position NFT
emergency_withdraw()
Emergency withdraw with as few interactions / state changes as possible / BUT still have to wait for expiration
update()
Update state and accumulated assets_per_share
total_principal()
Get total amount of Insurance Assets held by pool
set_pool()
Set a new Saffron Pool address
set_treasury()
Set a new Saffron Treasury address
pending_earnings()
Get pending earnings for a given Saffron Position NFT
Last updated