Search
# Messages
In this section we describe the processing of the exchange messages and the corresponding updates to the state. All created/modified state objects specified by each message are defined within the state section.
# Msg/CreateInsuranceFund
MsgCreateInsuranceFund
defines a message to create an insurance fund for a derivative market.
Fields description
Sender
field describes the creator of an insurance fund .Ticker
,QuoteDenom
,OracleBase
,OracleQuote
,OracleType
,Expiry
fields describe the derivative market info that the insurance fund corresponds to.InitialDeposit
specifies the initial deposit amount used to underwrite the insurance fund.
# Msg/Underwrite
MsgUnderwrite
defines a message to underwrite an insurance fund
Fields description
Sender
field describes the underwriter of an insurance fund .MarketId
field describes the derivative market id to the insurance fund.Deposit
field describes the deposit amount to be added on the insurance fund.
# Msg/RequestRedemption
MsgRequestRedemption
defines a message to request redemption from the insurance fund.
Fields description
Sender
field describes the redemption requester of an insurance fund .MarketId
field describes the derivative market id associated to the insurance fund.Amount
field describes the share token amount to be redeemed.