Search
# State
# Params
Params
is a module-wide configuration structure that stores system parameters and defines overall functioning of the insurance module.
- Params:
Paramsspace("insurance") -> legacy_amino(params)
# Insurance Types
InsuranceFund
defines all the information of the Insurance Funds
by market.
RedemptionSchedule
defines redemption schedules from users - redemption is not executed instantly but there's redemption_notice_period_duration
specified per market.
Additionally, we introduce next_share_denom_id
and next_redemption_schedule_id
to manage insurance fund share token
denom and redemption schedules from various users.
# Pending Redemptions
Pending Redemptions Objects are kept to store all the information about redemption requests and to auto-withdraw when the duration pass.