Documentation
¶
Index ¶
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type EventInsuranceFundUpdate
- func (*EventInsuranceFundUpdate) Descriptor() ([]byte, []int)
- func (m *EventInsuranceFundUpdate) GetFund() *InsuranceFund
- func (m *EventInsuranceFundUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventInsuranceFundUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventInsuranceFundUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventInsuranceFundUpdate) ProtoMessage()
- func (m *EventInsuranceFundUpdate) Reset()
- func (m *EventInsuranceFundUpdate) Size() (n int)
- func (m *EventInsuranceFundUpdate) String() string
- func (m *EventInsuranceFundUpdate) Unmarshal(dAtA []byte) error
- func (m *EventInsuranceFundUpdate) XXX_DiscardUnknown()
- func (m *EventInsuranceFundUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventInsuranceFundUpdate) XXX_Merge(src proto.Message)
- func (m *EventInsuranceFundUpdate) XXX_Size() int
- func (m *EventInsuranceFundUpdate) XXX_Unmarshal(b []byte) error
- type EventInsuranceWithdraw
- func (*EventInsuranceWithdraw) Descriptor() ([]byte, []int)
- func (m *EventInsuranceWithdraw) GetMarketId() string
- func (m *EventInsuranceWithdraw) GetMarketTicker() string
- func (m *EventInsuranceWithdraw) GetWithdrawal() types.Coin
- func (m *EventInsuranceWithdraw) Marshal() (dAtA []byte, err error)
- func (m *EventInsuranceWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *EventInsuranceWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventInsuranceWithdraw) ProtoMessage()
- func (m *EventInsuranceWithdraw) Reset()
- func (m *EventInsuranceWithdraw) Size() (n int)
- func (m *EventInsuranceWithdraw) String() string
- func (m *EventInsuranceWithdraw) Unmarshal(dAtA []byte) error
- func (m *EventInsuranceWithdraw) XXX_DiscardUnknown()
- func (m *EventInsuranceWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventInsuranceWithdraw) XXX_Merge(src proto.Message)
- func (m *EventInsuranceWithdraw) XXX_Size() int
- func (m *EventInsuranceWithdraw) XXX_Unmarshal(b []byte) error
- type EventRequestRedemption
- func (*EventRequestRedemption) Descriptor() ([]byte, []int)
- func (m *EventRequestRedemption) GetSchedule() *RedemptionSchedule
- func (m *EventRequestRedemption) Marshal() (dAtA []byte, err error)
- func (m *EventRequestRedemption) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRequestRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRequestRedemption) ProtoMessage()
- func (m *EventRequestRedemption) Reset()
- func (m *EventRequestRedemption) Size() (n int)
- func (m *EventRequestRedemption) String() string
- func (m *EventRequestRedemption) Unmarshal(dAtA []byte) error
- func (m *EventRequestRedemption) XXX_DiscardUnknown()
- func (m *EventRequestRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRequestRedemption) XXX_Merge(src proto.Message)
- func (m *EventRequestRedemption) XXX_Size() int
- func (m *EventRequestRedemption) XXX_Unmarshal(b []byte) error
- type EventUnderwrite
- func (*EventUnderwrite) Descriptor() ([]byte, []int)
- func (m *EventUnderwrite) GetDeposit() types.Coin
- func (m *EventUnderwrite) GetMarketId() string
- func (m *EventUnderwrite) GetShares() types.Coin
- func (m *EventUnderwrite) GetUnderwriter() string
- func (m *EventUnderwrite) Marshal() (dAtA []byte, err error)
- func (m *EventUnderwrite) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUnderwrite) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUnderwrite) ProtoMessage()
- func (m *EventUnderwrite) Reset()
- func (m *EventUnderwrite) Size() (n int)
- func (m *EventUnderwrite) String() string
- func (m *EventUnderwrite) Unmarshal(dAtA []byte) error
- func (m *EventUnderwrite) XXX_DiscardUnknown()
- func (m *EventUnderwrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUnderwrite) XXX_Merge(src proto.Message)
- func (m *EventUnderwrite) XXX_Size() int
- func (m *EventUnderwrite) XXX_Unmarshal(b []byte) error
- type EventWithdrawRedemption
- func (*EventWithdrawRedemption) Descriptor() ([]byte, []int)
- func (m *EventWithdrawRedemption) GetRedeemCoin() types.Coin
- func (m *EventWithdrawRedemption) GetSchedule() *RedemptionSchedule
- func (m *EventWithdrawRedemption) Marshal() (dAtA []byte, err error)
- func (m *EventWithdrawRedemption) MarshalTo(dAtA []byte) (int, error)
- func (m *EventWithdrawRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventWithdrawRedemption) ProtoMessage()
- func (m *EventWithdrawRedemption) Reset()
- func (m *EventWithdrawRedemption) Size() (n int)
- func (m *EventWithdrawRedemption) String() string
- func (m *EventWithdrawRedemption) Unmarshal(dAtA []byte) error
- func (m *EventWithdrawRedemption) XXX_DiscardUnknown()
- func (m *EventWithdrawRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventWithdrawRedemption) XXX_Merge(src proto.Message)
- func (m *EventWithdrawRedemption) XXX_Size() int
- func (m *EventWithdrawRedemption) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetInsuranceFunds() []InsuranceFund
- func (m *GenesisState) GetNextRedemptionScheduleId() uint64
- func (m *GenesisState) GetNextShareDenomId() uint64
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetRedemptionSchedule() []RedemptionSchedule
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type InsuranceFund
- func (*InsuranceFund) Descriptor() ([]byte, []int)
- func (m *InsuranceFund) GetDepositDenom() string
- func (m *InsuranceFund) GetExpiry() int64
- func (m *InsuranceFund) GetInsurancePoolTokenDenom() string
- func (m *InsuranceFund) GetMarketId() string
- func (m *InsuranceFund) GetMarketTicker() string
- func (m *InsuranceFund) GetOracleBase() string
- func (m *InsuranceFund) GetOracleQuote() string
- func (m *InsuranceFund) GetOracleType() types.OracleType
- func (m *InsuranceFund) GetRedemptionNoticePeriodDuration() time.Duration
- func (m *InsuranceFund) Marshal() (dAtA []byte, err error)
- func (m *InsuranceFund) MarshalTo(dAtA []byte) (int, error)
- func (m *InsuranceFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InsuranceFund) ProtoMessage()
- func (m *InsuranceFund) Reset()
- func (m *InsuranceFund) Size() (n int)
- func (m *InsuranceFund) String() string
- func (m *InsuranceFund) Unmarshal(dAtA []byte) error
- func (m *InsuranceFund) XXX_DiscardUnknown()
- func (m *InsuranceFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InsuranceFund) XXX_Merge(src proto.Message)
- func (m *InsuranceFund) XXX_Size() int
- func (m *InsuranceFund) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateInsuranceFund
- func (*MsgCreateInsuranceFund) Descriptor() ([]byte, []int)
- func (m *MsgCreateInsuranceFund) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateInsuranceFund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateInsuranceFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateInsuranceFund) ProtoMessage()
- func (m *MsgCreateInsuranceFund) Reset()
- func (m *MsgCreateInsuranceFund) Size() (n int)
- func (m *MsgCreateInsuranceFund) String() string
- func (m *MsgCreateInsuranceFund) Unmarshal(dAtA []byte) error
- func (m *MsgCreateInsuranceFund) XXX_DiscardUnknown()
- func (m *MsgCreateInsuranceFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateInsuranceFund) XXX_Merge(src proto.Message)
- func (m *MsgCreateInsuranceFund) XXX_Size() int
- func (m *MsgCreateInsuranceFund) XXX_Unmarshal(b []byte) error
- type MsgCreateInsuranceFundResponse
- func (*MsgCreateInsuranceFundResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateInsuranceFundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateInsuranceFundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateInsuranceFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateInsuranceFundResponse) ProtoMessage()
- func (m *MsgCreateInsuranceFundResponse) Reset()
- func (m *MsgCreateInsuranceFundResponse) Size() (n int)
- func (m *MsgCreateInsuranceFundResponse) String() string
- func (m *MsgCreateInsuranceFundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateInsuranceFundResponse) XXX_DiscardUnknown()
- func (m *MsgCreateInsuranceFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateInsuranceFundResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateInsuranceFundResponse) XXX_Size() int
- func (m *MsgCreateInsuranceFundResponse) XXX_Unmarshal(b []byte) error
- type MsgRequestRedemption
- func (*MsgRequestRedemption) Descriptor() ([]byte, []int)
- func (m *MsgRequestRedemption) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestRedemption) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestRedemption) ProtoMessage()
- func (m *MsgRequestRedemption) Reset()
- func (m *MsgRequestRedemption) Size() (n int)
- func (m *MsgRequestRedemption) String() string
- func (m *MsgRequestRedemption) Unmarshal(dAtA []byte) error
- func (m *MsgRequestRedemption) XXX_DiscardUnknown()
- func (m *MsgRequestRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestRedemption) XXX_Merge(src proto.Message)
- func (m *MsgRequestRedemption) XXX_Size() int
- func (m *MsgRequestRedemption) XXX_Unmarshal(b []byte) error
- type MsgRequestRedemptionResponse
- func (*MsgRequestRedemptionResponse) Descriptor() ([]byte, []int)
- func (m *MsgRequestRedemptionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRequestRedemptionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRequestRedemptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRequestRedemptionResponse) ProtoMessage()
- func (m *MsgRequestRedemptionResponse) Reset()
- func (m *MsgRequestRedemptionResponse) Size() (n int)
- func (m *MsgRequestRedemptionResponse) String() string
- func (m *MsgRequestRedemptionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRequestRedemptionResponse) XXX_DiscardUnknown()
- func (m *MsgRequestRedemptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRequestRedemptionResponse) XXX_Merge(src proto.Message)
- func (m *MsgRequestRedemptionResponse) XXX_Size() int
- func (m *MsgRequestRedemptionResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUnderwrite
- func (*MsgUnderwrite) Descriptor() ([]byte, []int)
- func (m *MsgUnderwrite) Marshal() (dAtA []byte, err error)
- func (m *MsgUnderwrite) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnderwrite) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnderwrite) ProtoMessage()
- func (m *MsgUnderwrite) Reset()
- func (m *MsgUnderwrite) Size() (n int)
- func (m *MsgUnderwrite) String() string
- func (m *MsgUnderwrite) Unmarshal(dAtA []byte) error
- func (m *MsgUnderwrite) XXX_DiscardUnknown()
- func (m *MsgUnderwrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnderwrite) XXX_Merge(src proto.Message)
- func (m *MsgUnderwrite) XXX_Size() int
- func (m *MsgUnderwrite) XXX_Unmarshal(b []byte) error
- type MsgUnderwriteResponse
- func (*MsgUnderwriteResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnderwriteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnderwriteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnderwriteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnderwriteResponse) ProtoMessage()
- func (m *MsgUnderwriteResponse) Reset()
- func (m *MsgUnderwriteResponse) Size() (n int)
- func (m *MsgUnderwriteResponse) String() string
- func (m *MsgUnderwriteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnderwriteResponse) XXX_DiscardUnknown()
- func (m *MsgUnderwriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnderwriteResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnderwriteResponse) XXX_Size() int
- func (m *MsgUnderwriteResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetDefaultRedemptionNoticePeriodDuration() time.Duration
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryEstimatedRedemptionsRequest
- func (*QueryEstimatedRedemptionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryEstimatedRedemptionsRequest) GetAddress() string
- func (m *QueryEstimatedRedemptionsRequest) GetMarketId() string
- func (m *QueryEstimatedRedemptionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEstimatedRedemptionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEstimatedRedemptionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEstimatedRedemptionsRequest) ProtoMessage()
- func (m *QueryEstimatedRedemptionsRequest) Reset()
- func (m *QueryEstimatedRedemptionsRequest) Size() (n int)
- func (m *QueryEstimatedRedemptionsRequest) String() string
- func (m *QueryEstimatedRedemptionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEstimatedRedemptionsRequest) XXX_DiscardUnknown()
- func (m *QueryEstimatedRedemptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEstimatedRedemptionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryEstimatedRedemptionsRequest) XXX_Size() int
- func (m *QueryEstimatedRedemptionsRequest) XXX_Unmarshal(b []byte) error
- type QueryEstimatedRedemptionsResponse
- func (*QueryEstimatedRedemptionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryEstimatedRedemptionsResponse) GetAmount() []types.Coin
- func (m *QueryEstimatedRedemptionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEstimatedRedemptionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEstimatedRedemptionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEstimatedRedemptionsResponse) ProtoMessage()
- func (m *QueryEstimatedRedemptionsResponse) Reset()
- func (m *QueryEstimatedRedemptionsResponse) Size() (n int)
- func (m *QueryEstimatedRedemptionsResponse) String() string
- func (m *QueryEstimatedRedemptionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEstimatedRedemptionsResponse) XXX_DiscardUnknown()
- func (m *QueryEstimatedRedemptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEstimatedRedemptionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryEstimatedRedemptionsResponse) XXX_Size() int
- func (m *QueryEstimatedRedemptionsResponse) XXX_Unmarshal(b []byte) error
- type QueryInsuranceFundRequest
- func (*QueryInsuranceFundRequest) Descriptor() ([]byte, []int)
- func (m *QueryInsuranceFundRequest) GetMarketId() string
- func (m *QueryInsuranceFundRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInsuranceFundRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInsuranceFundRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInsuranceFundRequest) ProtoMessage()
- func (m *QueryInsuranceFundRequest) Reset()
- func (m *QueryInsuranceFundRequest) Size() (n int)
- func (m *QueryInsuranceFundRequest) String() string
- func (m *QueryInsuranceFundRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInsuranceFundRequest) XXX_DiscardUnknown()
- func (m *QueryInsuranceFundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInsuranceFundRequest) XXX_Merge(src proto.Message)
- func (m *QueryInsuranceFundRequest) XXX_Size() int
- func (m *QueryInsuranceFundRequest) XXX_Unmarshal(b []byte) error
- type QueryInsuranceFundResponse
- func (*QueryInsuranceFundResponse) Descriptor() ([]byte, []int)
- func (m *QueryInsuranceFundResponse) GetFund() *InsuranceFund
- func (m *QueryInsuranceFundResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInsuranceFundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInsuranceFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInsuranceFundResponse) ProtoMessage()
- func (m *QueryInsuranceFundResponse) Reset()
- func (m *QueryInsuranceFundResponse) Size() (n int)
- func (m *QueryInsuranceFundResponse) String() string
- func (m *QueryInsuranceFundResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInsuranceFundResponse) XXX_DiscardUnknown()
- func (m *QueryInsuranceFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInsuranceFundResponse) XXX_Merge(src proto.Message)
- func (m *QueryInsuranceFundResponse) XXX_Size() int
- func (m *QueryInsuranceFundResponse) XXX_Unmarshal(b []byte) error
- type QueryInsuranceFundsRequest
- func (*QueryInsuranceFundsRequest) Descriptor() ([]byte, []int)
- func (m *QueryInsuranceFundsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInsuranceFundsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInsuranceFundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInsuranceFundsRequest) ProtoMessage()
- func (m *QueryInsuranceFundsRequest) Reset()
- func (m *QueryInsuranceFundsRequest) Size() (n int)
- func (m *QueryInsuranceFundsRequest) String() string
- func (m *QueryInsuranceFundsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInsuranceFundsRequest) XXX_DiscardUnknown()
- func (m *QueryInsuranceFundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInsuranceFundsRequest) XXX_Merge(src proto.Message)
- func (m *QueryInsuranceFundsRequest) XXX_Size() int
- func (m *QueryInsuranceFundsRequest) XXX_Unmarshal(b []byte) error
- type QueryInsuranceFundsResponse
- func (*QueryInsuranceFundsResponse) Descriptor() ([]byte, []int)
- func (m *QueryInsuranceFundsResponse) GetFunds() []InsuranceFund
- func (m *QueryInsuranceFundsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInsuranceFundsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInsuranceFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInsuranceFundsResponse) ProtoMessage()
- func (m *QueryInsuranceFundsResponse) Reset()
- func (m *QueryInsuranceFundsResponse) Size() (n int)
- func (m *QueryInsuranceFundsResponse) String() string
- func (m *QueryInsuranceFundsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInsuranceFundsResponse) XXX_DiscardUnknown()
- func (m *QueryInsuranceFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInsuranceFundsResponse) XXX_Merge(src proto.Message)
- func (m *QueryInsuranceFundsResponse) XXX_Size() int
- func (m *QueryInsuranceFundsResponse) XXX_Unmarshal(b []byte) error
- type QueryInsuranceParamsRequest
- func (*QueryInsuranceParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryInsuranceParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInsuranceParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInsuranceParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInsuranceParamsRequest) ProtoMessage()
- func (m *QueryInsuranceParamsRequest) Reset()
- func (m *QueryInsuranceParamsRequest) Size() (n int)
- func (m *QueryInsuranceParamsRequest) String() string
- func (m *QueryInsuranceParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInsuranceParamsRequest) XXX_DiscardUnknown()
- func (m *QueryInsuranceParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInsuranceParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryInsuranceParamsRequest) XXX_Size() int
- func (m *QueryInsuranceParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryInsuranceParamsResponse
- func (*QueryInsuranceParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryInsuranceParamsResponse) GetParams() Params
- func (m *QueryInsuranceParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInsuranceParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInsuranceParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInsuranceParamsResponse) ProtoMessage()
- func (m *QueryInsuranceParamsResponse) Reset()
- func (m *QueryInsuranceParamsResponse) Size() (n int)
- func (m *QueryInsuranceParamsResponse) String() string
- func (m *QueryInsuranceParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInsuranceParamsResponse) XXX_DiscardUnknown()
- func (m *QueryInsuranceParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInsuranceParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryInsuranceParamsResponse) XXX_Size() int
- func (m *QueryInsuranceParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryModuleStateRequest
- func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateRequest) ProtoMessage()
- func (m *QueryModuleStateRequest) Reset()
- func (m *QueryModuleStateRequest) Size() (n int)
- func (m *QueryModuleStateRequest) String() string
- func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateRequest) XXX_DiscardUnknown()
- func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateRequest) XXX_Size() int
- func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error
- type QueryModuleStateResponse
- func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateResponse) GetState() *GenesisState
- func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateResponse) ProtoMessage()
- func (m *QueryModuleStateResponse) Reset()
- func (m *QueryModuleStateResponse) Size() (n int)
- func (m *QueryModuleStateResponse) String() string
- func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateResponse) XXX_DiscardUnknown()
- func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateResponse) XXX_Size() int
- func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error
- type QueryPendingRedemptionsRequest
- func (*QueryPendingRedemptionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPendingRedemptionsRequest) GetAddress() string
- func (m *QueryPendingRedemptionsRequest) GetMarketId() string
- func (m *QueryPendingRedemptionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPendingRedemptionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPendingRedemptionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPendingRedemptionsRequest) ProtoMessage()
- func (m *QueryPendingRedemptionsRequest) Reset()
- func (m *QueryPendingRedemptionsRequest) Size() (n int)
- func (m *QueryPendingRedemptionsRequest) String() string
- func (m *QueryPendingRedemptionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPendingRedemptionsRequest) XXX_DiscardUnknown()
- func (m *QueryPendingRedemptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPendingRedemptionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPendingRedemptionsRequest) XXX_Size() int
- func (m *QueryPendingRedemptionsRequest) XXX_Unmarshal(b []byte) error
- type QueryPendingRedemptionsResponse
- func (*QueryPendingRedemptionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryPendingRedemptionsResponse) GetAmount() []types.Coin
- func (m *QueryPendingRedemptionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPendingRedemptionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPendingRedemptionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPendingRedemptionsResponse) ProtoMessage()
- func (m *QueryPendingRedemptionsResponse) Reset()
- func (m *QueryPendingRedemptionsResponse) Size() (n int)
- func (m *QueryPendingRedemptionsResponse) String() string
- func (m *QueryPendingRedemptionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPendingRedemptionsResponse) XXX_DiscardUnknown()
- func (m *QueryPendingRedemptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPendingRedemptionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryPendingRedemptionsResponse) XXX_Size() int
- func (m *QueryPendingRedemptionsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RedemptionSchedule
- func (*RedemptionSchedule) Descriptor() ([]byte, []int)
- func (m *RedemptionSchedule) GetClaimableRedemptionTime() time.Time
- func (m *RedemptionSchedule) GetId() uint64
- func (m *RedemptionSchedule) GetMarketId() string
- func (m *RedemptionSchedule) GetRedeemer() string
- func (m *RedemptionSchedule) GetRedemptionAmount() types1.Coin
- func (m *RedemptionSchedule) Marshal() (dAtA []byte, err error)
- func (m *RedemptionSchedule) MarshalTo(dAtA []byte) (int, error)
- func (m *RedemptionSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RedemptionSchedule) ProtoMessage()
- func (m *RedemptionSchedule) Reset()
- func (m *RedemptionSchedule) Size() (n int)
- func (m *RedemptionSchedule) String() string
- func (m *RedemptionSchedule) Unmarshal(dAtA []byte) error
- func (m *RedemptionSchedule) XXX_DiscardUnknown()
- func (m *RedemptionSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedemptionSchedule) XXX_Merge(src proto.Message)
- func (m *RedemptionSchedule) XXX_Size() int
- func (m *RedemptionSchedule) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateInsuranceFund(ctx context.Context, req *MsgCreateInsuranceFund) (*MsgCreateInsuranceFundResponse, error)
- func (*UnimplementedMsgServer) RequestRedemption(ctx context.Context, req *MsgRequestRedemption) (*MsgRequestRedemptionResponse, error)
- func (*UnimplementedMsgServer) Underwrite(ctx context.Context, req *MsgUnderwrite) (*MsgUnderwriteResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) EstimatedRedemptions(ctx context.Context, req *QueryEstimatedRedemptionsRequest) (*QueryEstimatedRedemptionsResponse, error)
- func (*UnimplementedQueryServer) InsuranceFund(ctx context.Context, req *QueryInsuranceFundRequest) (*QueryInsuranceFundResponse, error)
- func (*UnimplementedQueryServer) InsuranceFunds(ctx context.Context, req *QueryInsuranceFundsRequest) (*QueryInsuranceFundsResponse, error)
- func (*UnimplementedQueryServer) InsuranceModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
- func (*UnimplementedQueryServer) InsuranceParams(ctx context.Context, req *QueryInsuranceParamsRequest) (*QueryInsuranceParamsResponse, error)
- func (*UnimplementedQueryServer) PendingRedemptions(ctx context.Context, req *QueryPendingRedemptionsRequest) (*QueryPendingRedemptionsResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthInsurance = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowInsurance = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupInsurance = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc references the global x/insurance module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/insurance and // defined at the application level. ModuleCdc = codec.NewLegacyAmino() )
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/insurance interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type EventInsuranceFundUpdate ¶
type EventInsuranceFundUpdate struct {
Fund *InsuranceFund `protobuf:"bytes,1,opt,name=fund,proto3" json:"fund,omitempty"`
}
func (*EventInsuranceFundUpdate) Descriptor ¶
func (*EventInsuranceFundUpdate) Descriptor() ([]byte, []int)
func (*EventInsuranceFundUpdate) GetFund ¶
func (m *EventInsuranceFundUpdate) GetFund() *InsuranceFund
func (*EventInsuranceFundUpdate) Marshal ¶
func (m *EventInsuranceFundUpdate) Marshal() (dAtA []byte, err error)
func (*EventInsuranceFundUpdate) MarshalTo ¶
func (m *EventInsuranceFundUpdate) MarshalTo(dAtA []byte) (int, error)
func (*EventInsuranceFundUpdate) MarshalToSizedBuffer ¶
func (m *EventInsuranceFundUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventInsuranceFundUpdate) ProtoMessage ¶
func (*EventInsuranceFundUpdate) ProtoMessage()
func (*EventInsuranceFundUpdate) Reset ¶
func (m *EventInsuranceFundUpdate) Reset()
func (*EventInsuranceFundUpdate) Size ¶
func (m *EventInsuranceFundUpdate) Size() (n int)
func (*EventInsuranceFundUpdate) String ¶
func (m *EventInsuranceFundUpdate) String() string
func (*EventInsuranceFundUpdate) Unmarshal ¶
func (m *EventInsuranceFundUpdate) Unmarshal(dAtA []byte) error
func (*EventInsuranceFundUpdate) XXX_DiscardUnknown ¶
func (m *EventInsuranceFundUpdate) XXX_DiscardUnknown()
func (*EventInsuranceFundUpdate) XXX_Marshal ¶
func (m *EventInsuranceFundUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventInsuranceFundUpdate) XXX_Merge ¶
func (m *EventInsuranceFundUpdate) XXX_Merge(src proto.Message)
func (*EventInsuranceFundUpdate) XXX_Size ¶
func (m *EventInsuranceFundUpdate) XXX_Size() int
func (*EventInsuranceFundUpdate) XXX_Unmarshal ¶
func (m *EventInsuranceFundUpdate) XXX_Unmarshal(b []byte) error
type EventInsuranceWithdraw ¶ added in v1.49.0
type EventInsuranceWithdraw struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` MarketTicker string `protobuf:"bytes,2,opt,name=market_ticker,json=marketTicker,proto3" json:"market_ticker,omitempty"` Withdrawal types.Coin `protobuf:"bytes,3,opt,name=withdrawal,proto3" json:"withdrawal"` }
func (*EventInsuranceWithdraw) Descriptor ¶ added in v1.49.0
func (*EventInsuranceWithdraw) Descriptor() ([]byte, []int)
func (*EventInsuranceWithdraw) GetMarketId ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) GetMarketId() string
func (*EventInsuranceWithdraw) GetMarketTicker ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) GetMarketTicker() string
func (*EventInsuranceWithdraw) GetWithdrawal ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) GetWithdrawal() types.Coin
func (*EventInsuranceWithdraw) Marshal ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) Marshal() (dAtA []byte, err error)
func (*EventInsuranceWithdraw) MarshalTo ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) MarshalTo(dAtA []byte) (int, error)
func (*EventInsuranceWithdraw) MarshalToSizedBuffer ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventInsuranceWithdraw) ProtoMessage ¶ added in v1.49.0
func (*EventInsuranceWithdraw) ProtoMessage()
func (*EventInsuranceWithdraw) Reset ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) Reset()
func (*EventInsuranceWithdraw) Size ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) Size() (n int)
func (*EventInsuranceWithdraw) String ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) String() string
func (*EventInsuranceWithdraw) Unmarshal ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) Unmarshal(dAtA []byte) error
func (*EventInsuranceWithdraw) XXX_DiscardUnknown ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) XXX_DiscardUnknown()
func (*EventInsuranceWithdraw) XXX_Marshal ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventInsuranceWithdraw) XXX_Merge ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) XXX_Merge(src proto.Message)
func (*EventInsuranceWithdraw) XXX_Size ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) XXX_Size() int
func (*EventInsuranceWithdraw) XXX_Unmarshal ¶ added in v1.49.0
func (m *EventInsuranceWithdraw) XXX_Unmarshal(b []byte) error
type EventRequestRedemption ¶
type EventRequestRedemption struct {
Schedule *RedemptionSchedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
}
func (*EventRequestRedemption) Descriptor ¶
func (*EventRequestRedemption) Descriptor() ([]byte, []int)
func (*EventRequestRedemption) GetSchedule ¶
func (m *EventRequestRedemption) GetSchedule() *RedemptionSchedule
func (*EventRequestRedemption) Marshal ¶
func (m *EventRequestRedemption) Marshal() (dAtA []byte, err error)
func (*EventRequestRedemption) MarshalTo ¶
func (m *EventRequestRedemption) MarshalTo(dAtA []byte) (int, error)
func (*EventRequestRedemption) MarshalToSizedBuffer ¶
func (m *EventRequestRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRequestRedemption) ProtoMessage ¶
func (*EventRequestRedemption) ProtoMessage()
func (*EventRequestRedemption) Reset ¶
func (m *EventRequestRedemption) Reset()
func (*EventRequestRedemption) Size ¶
func (m *EventRequestRedemption) Size() (n int)
func (*EventRequestRedemption) String ¶
func (m *EventRequestRedemption) String() string
func (*EventRequestRedemption) Unmarshal ¶
func (m *EventRequestRedemption) Unmarshal(dAtA []byte) error
func (*EventRequestRedemption) XXX_DiscardUnknown ¶
func (m *EventRequestRedemption) XXX_DiscardUnknown()
func (*EventRequestRedemption) XXX_Marshal ¶
func (m *EventRequestRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRequestRedemption) XXX_Merge ¶
func (m *EventRequestRedemption) XXX_Merge(src proto.Message)
func (*EventRequestRedemption) XXX_Size ¶
func (m *EventRequestRedemption) XXX_Size() int
func (*EventRequestRedemption) XXX_Unmarshal ¶
func (m *EventRequestRedemption) XXX_Unmarshal(b []byte) error
type EventUnderwrite ¶ added in v1.32.1
type EventUnderwrite struct { // address of the underwriter Underwriter string `protobuf:"bytes,1,opt,name=underwriter,proto3" json:"underwriter,omitempty"` // marketId of insurance fund for the redemption MarketId string `protobuf:"bytes,2,opt,name=marketId,proto3" json:"marketId,omitempty"` // deposit coin amount Deposit types.Coin `protobuf:"bytes,3,opt,name=deposit,proto3" json:"deposit"` Shares types.Coin `protobuf:"bytes,4,opt,name=shares,proto3" json:"shares"` }
func (*EventUnderwrite) Descriptor ¶ added in v1.32.1
func (*EventUnderwrite) Descriptor() ([]byte, []int)
func (*EventUnderwrite) GetDeposit ¶ added in v1.32.1
func (m *EventUnderwrite) GetDeposit() types.Coin
func (*EventUnderwrite) GetMarketId ¶ added in v1.32.1
func (m *EventUnderwrite) GetMarketId() string
func (*EventUnderwrite) GetShares ¶ added in v1.32.1
func (m *EventUnderwrite) GetShares() types.Coin
func (*EventUnderwrite) GetUnderwriter ¶ added in v1.32.1
func (m *EventUnderwrite) GetUnderwriter() string
func (*EventUnderwrite) Marshal ¶ added in v1.32.1
func (m *EventUnderwrite) Marshal() (dAtA []byte, err error)
func (*EventUnderwrite) MarshalTo ¶ added in v1.32.1
func (m *EventUnderwrite) MarshalTo(dAtA []byte) (int, error)
func (*EventUnderwrite) MarshalToSizedBuffer ¶ added in v1.32.1
func (m *EventUnderwrite) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUnderwrite) ProtoMessage ¶ added in v1.32.1
func (*EventUnderwrite) ProtoMessage()
func (*EventUnderwrite) Reset ¶ added in v1.32.1
func (m *EventUnderwrite) Reset()
func (*EventUnderwrite) Size ¶ added in v1.32.1
func (m *EventUnderwrite) Size() (n int)
func (*EventUnderwrite) String ¶ added in v1.32.1
func (m *EventUnderwrite) String() string
func (*EventUnderwrite) Unmarshal ¶ added in v1.32.1
func (m *EventUnderwrite) Unmarshal(dAtA []byte) error
func (*EventUnderwrite) XXX_DiscardUnknown ¶ added in v1.32.1
func (m *EventUnderwrite) XXX_DiscardUnknown()
func (*EventUnderwrite) XXX_Marshal ¶ added in v1.32.1
func (m *EventUnderwrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUnderwrite) XXX_Merge ¶ added in v1.32.1
func (m *EventUnderwrite) XXX_Merge(src proto.Message)
func (*EventUnderwrite) XXX_Size ¶ added in v1.32.1
func (m *EventUnderwrite) XXX_Size() int
func (*EventUnderwrite) XXX_Unmarshal ¶ added in v1.32.1
func (m *EventUnderwrite) XXX_Unmarshal(b []byte) error
type EventWithdrawRedemption ¶
type EventWithdrawRedemption struct { // redemption schedule triggered withdraw Schedule *RedemptionSchedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` // redeem coin amount in base_currency RedeemCoin types.Coin `protobuf:"bytes,2,opt,name=redeem_coin,json=redeemCoin,proto3" json:"redeem_coin"` }
func (*EventWithdrawRedemption) Descriptor ¶
func (*EventWithdrawRedemption) Descriptor() ([]byte, []int)
func (*EventWithdrawRedemption) GetRedeemCoin ¶
func (m *EventWithdrawRedemption) GetRedeemCoin() types.Coin
func (*EventWithdrawRedemption) GetSchedule ¶
func (m *EventWithdrawRedemption) GetSchedule() *RedemptionSchedule
func (*EventWithdrawRedemption) Marshal ¶
func (m *EventWithdrawRedemption) Marshal() (dAtA []byte, err error)
func (*EventWithdrawRedemption) MarshalTo ¶
func (m *EventWithdrawRedemption) MarshalTo(dAtA []byte) (int, error)
func (*EventWithdrawRedemption) MarshalToSizedBuffer ¶
func (m *EventWithdrawRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventWithdrawRedemption) ProtoMessage ¶
func (*EventWithdrawRedemption) ProtoMessage()
func (*EventWithdrawRedemption) Reset ¶
func (m *EventWithdrawRedemption) Reset()
func (*EventWithdrawRedemption) Size ¶
func (m *EventWithdrawRedemption) Size() (n int)
func (*EventWithdrawRedemption) String ¶
func (m *EventWithdrawRedemption) String() string
func (*EventWithdrawRedemption) Unmarshal ¶
func (m *EventWithdrawRedemption) Unmarshal(dAtA []byte) error
func (*EventWithdrawRedemption) XXX_DiscardUnknown ¶
func (m *EventWithdrawRedemption) XXX_DiscardUnknown()
func (*EventWithdrawRedemption) XXX_Marshal ¶
func (m *EventWithdrawRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventWithdrawRedemption) XXX_Merge ¶
func (m *EventWithdrawRedemption) XXX_Merge(src proto.Message)
func (*EventWithdrawRedemption) XXX_Size ¶
func (m *EventWithdrawRedemption) XXX_Size() int
func (*EventWithdrawRedemption) XXX_Unmarshal ¶
func (m *EventWithdrawRedemption) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of related to insurance. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // insurance_funds describes the insurance funds available for derivative // markets InsuranceFunds []InsuranceFund `protobuf:"bytes,2,rep,name=insurance_funds,json=insuranceFunds,proto3" json:"insurance_funds"` // redemption_schedule describes the redemption requests pending RedemptionSchedule []RedemptionSchedule `protobuf:"bytes,3,rep,name=redemption_schedule,json=redemptionSchedule,proto3" json:"redemption_schedule"` // creating insurance fund incremented by 1 per insurance fund creation NextShareDenomId uint64 `protobuf:"varint,4,opt,name=next_share_denom_id,json=nextShareDenomId,proto3" json:"next_share_denom_id,omitempty"` // next_redemption_schedule_id describes next redemption schedule id to be // used for next schedule incremented by 1 per redemption request NextRedemptionScheduleId uint64 `` /* 138-byte string literal not displayed */ }
GenesisState defines the insurance module's genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetInsuranceFunds ¶
func (m *GenesisState) GetInsuranceFunds() []InsuranceFund
func (*GenesisState) GetNextRedemptionScheduleId ¶
func (m *GenesisState) GetNextRedemptionScheduleId() uint64
func (*GenesisState) GetNextShareDenomId ¶
func (m *GenesisState) GetNextShareDenomId() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetRedemptionSchedule ¶
func (m *GenesisState) GetRedemptionSchedule() []RedemptionSchedule
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type InsuranceFund ¶
type InsuranceFund struct { // deposit denomination for the given insurance fund DepositDenom string `protobuf:"bytes,1,opt,name=deposit_denom,json=depositDenom,proto3" json:"deposit_denom,omitempty"` // insurance fund pool token denomination for the given insurance fund InsurancePoolTokenDenom string `` /* 134-byte string literal not displayed */ // redemption_notice_period_duration defines the minimum notice period // duration that must pass after an underwriter sends a redemption request // before the underwriter can claim his tokens RedemptionNoticePeriodDuration time.Duration `` /* 198-byte string literal not displayed */ // balance of fund Balance cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=balance,proto3,customtype=cosmossdk.io/math.Int" json:"balance"` TotalShare cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=total_share,json=totalShare,proto3,customtype=cosmossdk.io/math.Int" json:"total_share"` // marketID of the derivative market MarketId string `protobuf:"bytes,6,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // ticker of the derivative market MarketTicker string `protobuf:"bytes,7,opt,name=market_ticker,json=marketTicker,proto3" json:"market_ticker,omitempty"` // Oracle base currency of the derivative market OR the oracle symbol for the // binary options market. OracleBase string `protobuf:"bytes,8,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"` // Oracle quote currency of the derivative market OR the oracle provider for // the binary options market. OracleQuote string `protobuf:"bytes,9,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"` // Oracle type of the binary options or derivative market OracleType types.OracleType `` /* 134-byte string literal not displayed */ // Expiration time of the derivative market. Should be -1 for perpetual or -2 // for binary options markets. Expiry int64 `protobuf:"varint,11,opt,name=expiry,proto3" json:"expiry,omitempty"` }
func (*InsuranceFund) Descriptor ¶
func (*InsuranceFund) Descriptor() ([]byte, []int)
func (*InsuranceFund) GetDepositDenom ¶
func (m *InsuranceFund) GetDepositDenom() string
func (*InsuranceFund) GetExpiry ¶
func (m *InsuranceFund) GetExpiry() int64
func (*InsuranceFund) GetInsurancePoolTokenDenom ¶
func (m *InsuranceFund) GetInsurancePoolTokenDenom() string
func (*InsuranceFund) GetMarketId ¶
func (m *InsuranceFund) GetMarketId() string
func (*InsuranceFund) GetMarketTicker ¶
func (m *InsuranceFund) GetMarketTicker() string
func (*InsuranceFund) GetOracleBase ¶
func (m *InsuranceFund) GetOracleBase() string
func (*InsuranceFund) GetOracleQuote ¶
func (m *InsuranceFund) GetOracleQuote() string
func (*InsuranceFund) GetOracleType ¶
func (m *InsuranceFund) GetOracleType() types.OracleType
func (*InsuranceFund) GetRedemptionNoticePeriodDuration ¶
func (m *InsuranceFund) GetRedemptionNoticePeriodDuration() time.Duration
func (*InsuranceFund) Marshal ¶
func (m *InsuranceFund) Marshal() (dAtA []byte, err error)
func (*InsuranceFund) MarshalToSizedBuffer ¶
func (m *InsuranceFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InsuranceFund) ProtoMessage ¶
func (*InsuranceFund) ProtoMessage()
func (*InsuranceFund) Reset ¶
func (m *InsuranceFund) Reset()
func (*InsuranceFund) Size ¶
func (m *InsuranceFund) Size() (n int)
func (*InsuranceFund) String ¶
func (m *InsuranceFund) String() string
func (*InsuranceFund) Unmarshal ¶
func (m *InsuranceFund) Unmarshal(dAtA []byte) error
func (*InsuranceFund) XXX_DiscardUnknown ¶
func (m *InsuranceFund) XXX_DiscardUnknown()
func (*InsuranceFund) XXX_Marshal ¶
func (m *InsuranceFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsuranceFund) XXX_Merge ¶
func (m *InsuranceFund) XXX_Merge(src proto.Message)
func (*InsuranceFund) XXX_Size ¶
func (m *InsuranceFund) XXX_Size() int
func (*InsuranceFund) XXX_Unmarshal ¶
func (m *InsuranceFund) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // CreateInsuranceFund defines a method for creating an insurance fund CreateInsuranceFund(ctx context.Context, in *MsgCreateInsuranceFund, opts ...grpc.CallOption) (*MsgCreateInsuranceFundResponse, error) // Underwrite defines a method for depositing tokens to underwrite an // insurance fund Underwrite(ctx context.Context, in *MsgUnderwrite, opts ...grpc.CallOption) (*MsgUnderwriteResponse, error) // RequestRedemption defines a method for requesting a redemption of the // sender's insurance fund tokens RequestRedemption(ctx context.Context, in *MsgRequestRedemption, opts ...grpc.CallOption) (*MsgRequestRedemptionResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateInsuranceFund ¶
type MsgCreateInsuranceFund struct { // Creator of the insurance fund. Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Ticker for the derivative market. Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"` // Coin denom to use for the market quote denom QuoteDenom string `protobuf:"bytes,3,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"` // Oracle base currency of the derivative market OR the oracle symbol for the // binary options market. OracleBase string `protobuf:"bytes,4,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"` // Oracle quote currency of the derivative market OR the oracle provider for // the binary options market. OracleQuote string `protobuf:"bytes,5,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"` // Oracle type of the binary options or derivative market OracleType types.OracleType `` /* 133-byte string literal not displayed */ // Expiration time of the derivative market. Should be -1 for perpetual or -2 // for binary options markets. Expiry int64 `protobuf:"varint,7,opt,name=expiry,proto3" json:"expiry,omitempty"` // Initial deposit of the insurance fund InitialDeposit types1.Coin `protobuf:"bytes,8,opt,name=initial_deposit,json=initialDeposit,proto3" json:"initial_deposit"` }
MsgCreateInsuranceFund a message to create an insurance fund for a derivative market.
func (*MsgCreateInsuranceFund) Descriptor ¶
func (*MsgCreateInsuranceFund) Descriptor() ([]byte, []int)
func (*MsgCreateInsuranceFund) Marshal ¶
func (m *MsgCreateInsuranceFund) Marshal() (dAtA []byte, err error)
func (*MsgCreateInsuranceFund) MarshalTo ¶
func (m *MsgCreateInsuranceFund) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateInsuranceFund) MarshalToSizedBuffer ¶
func (m *MsgCreateInsuranceFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateInsuranceFund) ProtoMessage ¶
func (*MsgCreateInsuranceFund) ProtoMessage()
func (*MsgCreateInsuranceFund) Reset ¶
func (m *MsgCreateInsuranceFund) Reset()
func (*MsgCreateInsuranceFund) Size ¶
func (m *MsgCreateInsuranceFund) Size() (n int)
func (*MsgCreateInsuranceFund) String ¶
func (m *MsgCreateInsuranceFund) String() string
func (*MsgCreateInsuranceFund) Unmarshal ¶
func (m *MsgCreateInsuranceFund) Unmarshal(dAtA []byte) error
func (*MsgCreateInsuranceFund) XXX_DiscardUnknown ¶
func (m *MsgCreateInsuranceFund) XXX_DiscardUnknown()
func (*MsgCreateInsuranceFund) XXX_Marshal ¶
func (m *MsgCreateInsuranceFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateInsuranceFund) XXX_Merge ¶
func (m *MsgCreateInsuranceFund) XXX_Merge(src proto.Message)
func (*MsgCreateInsuranceFund) XXX_Size ¶
func (m *MsgCreateInsuranceFund) XXX_Size() int
func (*MsgCreateInsuranceFund) XXX_Unmarshal ¶
func (m *MsgCreateInsuranceFund) XXX_Unmarshal(b []byte) error
type MsgCreateInsuranceFundResponse ¶
type MsgCreateInsuranceFundResponse struct { }
func (*MsgCreateInsuranceFundResponse) Descriptor ¶
func (*MsgCreateInsuranceFundResponse) Descriptor() ([]byte, []int)
func (*MsgCreateInsuranceFundResponse) Marshal ¶
func (m *MsgCreateInsuranceFundResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateInsuranceFundResponse) MarshalTo ¶
func (m *MsgCreateInsuranceFundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateInsuranceFundResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateInsuranceFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateInsuranceFundResponse) ProtoMessage ¶
func (*MsgCreateInsuranceFundResponse) ProtoMessage()
func (*MsgCreateInsuranceFundResponse) Reset ¶
func (m *MsgCreateInsuranceFundResponse) Reset()
func (*MsgCreateInsuranceFundResponse) Size ¶
func (m *MsgCreateInsuranceFundResponse) Size() (n int)
func (*MsgCreateInsuranceFundResponse) String ¶
func (m *MsgCreateInsuranceFundResponse) String() string
func (*MsgCreateInsuranceFundResponse) Unmarshal ¶
func (m *MsgCreateInsuranceFundResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateInsuranceFundResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateInsuranceFundResponse) XXX_DiscardUnknown()
func (*MsgCreateInsuranceFundResponse) XXX_Marshal ¶
func (m *MsgCreateInsuranceFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateInsuranceFundResponse) XXX_Merge ¶
func (m *MsgCreateInsuranceFundResponse) XXX_Merge(src proto.Message)
func (*MsgCreateInsuranceFundResponse) XXX_Size ¶
func (m *MsgCreateInsuranceFundResponse) XXX_Size() int
func (*MsgCreateInsuranceFundResponse) XXX_Unmarshal ¶
func (m *MsgCreateInsuranceFundResponse) XXX_Unmarshal(b []byte) error
type MsgRequestRedemption ¶
type MsgRequestRedemption struct { // Address of the underwriter requesting a redemption. Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // MarketID of the insurance fund. MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Insurance fund share token amount to be redeemed. Amount types1.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` }
MsgRequestRedemption defines a message for requesting a redemption of the sender's insurance fund tokens
func (*MsgRequestRedemption) Descriptor ¶
func (*MsgRequestRedemption) Descriptor() ([]byte, []int)
func (*MsgRequestRedemption) Marshal ¶
func (m *MsgRequestRedemption) Marshal() (dAtA []byte, err error)
func (*MsgRequestRedemption) MarshalTo ¶
func (m *MsgRequestRedemption) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestRedemption) MarshalToSizedBuffer ¶
func (m *MsgRequestRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestRedemption) ProtoMessage ¶
func (*MsgRequestRedemption) ProtoMessage()
func (*MsgRequestRedemption) Reset ¶
func (m *MsgRequestRedemption) Reset()
func (*MsgRequestRedemption) Size ¶
func (m *MsgRequestRedemption) Size() (n int)
func (*MsgRequestRedemption) String ¶
func (m *MsgRequestRedemption) String() string
func (*MsgRequestRedemption) Unmarshal ¶
func (m *MsgRequestRedemption) Unmarshal(dAtA []byte) error
func (*MsgRequestRedemption) XXX_DiscardUnknown ¶
func (m *MsgRequestRedemption) XXX_DiscardUnknown()
func (*MsgRequestRedemption) XXX_Marshal ¶
func (m *MsgRequestRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestRedemption) XXX_Merge ¶
func (m *MsgRequestRedemption) XXX_Merge(src proto.Message)
func (*MsgRequestRedemption) XXX_Size ¶
func (m *MsgRequestRedemption) XXX_Size() int
func (*MsgRequestRedemption) XXX_Unmarshal ¶
func (m *MsgRequestRedemption) XXX_Unmarshal(b []byte) error
type MsgRequestRedemptionResponse ¶
type MsgRequestRedemptionResponse struct { }
func (*MsgRequestRedemptionResponse) Descriptor ¶
func (*MsgRequestRedemptionResponse) Descriptor() ([]byte, []int)
func (*MsgRequestRedemptionResponse) Marshal ¶
func (m *MsgRequestRedemptionResponse) Marshal() (dAtA []byte, err error)
func (*MsgRequestRedemptionResponse) MarshalTo ¶
func (m *MsgRequestRedemptionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRequestRedemptionResponse) MarshalToSizedBuffer ¶
func (m *MsgRequestRedemptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRequestRedemptionResponse) ProtoMessage ¶
func (*MsgRequestRedemptionResponse) ProtoMessage()
func (*MsgRequestRedemptionResponse) Reset ¶
func (m *MsgRequestRedemptionResponse) Reset()
func (*MsgRequestRedemptionResponse) Size ¶
func (m *MsgRequestRedemptionResponse) Size() (n int)
func (*MsgRequestRedemptionResponse) String ¶
func (m *MsgRequestRedemptionResponse) String() string
func (*MsgRequestRedemptionResponse) Unmarshal ¶
func (m *MsgRequestRedemptionResponse) Unmarshal(dAtA []byte) error
func (*MsgRequestRedemptionResponse) XXX_DiscardUnknown ¶
func (m *MsgRequestRedemptionResponse) XXX_DiscardUnknown()
func (*MsgRequestRedemptionResponse) XXX_Marshal ¶
func (m *MsgRequestRedemptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRequestRedemptionResponse) XXX_Merge ¶
func (m *MsgRequestRedemptionResponse) XXX_Merge(src proto.Message)
func (*MsgRequestRedemptionResponse) XXX_Size ¶
func (m *MsgRequestRedemptionResponse) XXX_Size() int
func (*MsgRequestRedemptionResponse) XXX_Unmarshal ¶
func (m *MsgRequestRedemptionResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateInsuranceFund defines a method for creating an insurance fund CreateInsuranceFund(context.Context, *MsgCreateInsuranceFund) (*MsgCreateInsuranceFundResponse, error) // Underwrite defines a method for depositing tokens to underwrite an // insurance fund Underwrite(context.Context, *MsgUnderwrite) (*MsgUnderwriteResponse, error) // RequestRedemption defines a method for requesting a redemption of the // sender's insurance fund tokens RequestRedemption(context.Context, *MsgRequestRedemption) (*MsgRequestRedemptionResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUnderwrite ¶
type MsgUnderwrite struct { // Address of the underwriter. Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // MarketID of the insurance fund. MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Amount of quote_denom to underwrite the insurance fund. Deposit types1.Coin `protobuf:"bytes,3,opt,name=deposit,proto3" json:"deposit"` }
MsgUnderwrite defines a message for depositing coins to underwrite an insurance fund
func (*MsgUnderwrite) Descriptor ¶
func (*MsgUnderwrite) Descriptor() ([]byte, []int)
func (*MsgUnderwrite) Marshal ¶
func (m *MsgUnderwrite) Marshal() (dAtA []byte, err error)
func (*MsgUnderwrite) MarshalToSizedBuffer ¶
func (m *MsgUnderwrite) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnderwrite) ProtoMessage ¶
func (*MsgUnderwrite) ProtoMessage()
func (*MsgUnderwrite) Reset ¶
func (m *MsgUnderwrite) Reset()
func (*MsgUnderwrite) Size ¶
func (m *MsgUnderwrite) Size() (n int)
func (*MsgUnderwrite) String ¶
func (m *MsgUnderwrite) String() string
func (*MsgUnderwrite) Unmarshal ¶
func (m *MsgUnderwrite) Unmarshal(dAtA []byte) error
func (*MsgUnderwrite) XXX_DiscardUnknown ¶
func (m *MsgUnderwrite) XXX_DiscardUnknown()
func (*MsgUnderwrite) XXX_Marshal ¶
func (m *MsgUnderwrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnderwrite) XXX_Merge ¶
func (m *MsgUnderwrite) XXX_Merge(src proto.Message)
func (*MsgUnderwrite) XXX_Size ¶
func (m *MsgUnderwrite) XXX_Size() int
func (*MsgUnderwrite) XXX_Unmarshal ¶
func (m *MsgUnderwrite) XXX_Unmarshal(b []byte) error
type MsgUnderwriteResponse ¶
type MsgUnderwriteResponse struct { }
func (*MsgUnderwriteResponse) Descriptor ¶
func (*MsgUnderwriteResponse) Descriptor() ([]byte, []int)
func (*MsgUnderwriteResponse) Marshal ¶
func (m *MsgUnderwriteResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnderwriteResponse) MarshalTo ¶
func (m *MsgUnderwriteResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnderwriteResponse) MarshalToSizedBuffer ¶
func (m *MsgUnderwriteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnderwriteResponse) ProtoMessage ¶
func (*MsgUnderwriteResponse) ProtoMessage()
func (*MsgUnderwriteResponse) Reset ¶
func (m *MsgUnderwriteResponse) Reset()
func (*MsgUnderwriteResponse) Size ¶
func (m *MsgUnderwriteResponse) Size() (n int)
func (*MsgUnderwriteResponse) String ¶
func (m *MsgUnderwriteResponse) String() string
func (*MsgUnderwriteResponse) Unmarshal ¶
func (m *MsgUnderwriteResponse) Unmarshal(dAtA []byte) error
func (*MsgUnderwriteResponse) XXX_DiscardUnknown ¶
func (m *MsgUnderwriteResponse) XXX_DiscardUnknown()
func (*MsgUnderwriteResponse) XXX_Marshal ¶
func (m *MsgUnderwriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnderwriteResponse) XXX_Merge ¶
func (m *MsgUnderwriteResponse) XXX_Merge(src proto.Message)
func (*MsgUnderwriteResponse) XXX_Size ¶
func (m *MsgUnderwriteResponse) XXX_Size() int
func (*MsgUnderwriteResponse) XXX_Unmarshal ¶
func (m *MsgUnderwriteResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v1.47.1
type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the insurance parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
func (*MsgUpdateParams) Descriptor ¶ added in v1.47.1
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶ added in v1.47.1
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v1.47.1
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶ added in v1.47.1
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v1.47.1
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v1.47.1
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v1.47.1
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v1.47.1
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶ added in v1.47.1
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v1.47.1
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v1.47.1
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v1.47.1
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v1.47.1
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // default_redemption_notice_period_duration defines the default minimum // notice period duration that must pass after an underwriter sends a // redemption request before the underwriter can claim his tokens DefaultRedemptionNoticePeriodDuration time.Duration `` /* 229-byte string literal not displayed */ }
func (*Params) Descriptor ¶
func (*Params) GetDefaultRedemptionNoticePeriodDuration ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Retrieves insurance params InsuranceParams(ctx context.Context, in *QueryInsuranceParamsRequest, opts ...grpc.CallOption) (*QueryInsuranceParamsResponse, error) // Retrieves individual insurance fund information from market id InsuranceFund(ctx context.Context, in *QueryInsuranceFundRequest, opts ...grpc.CallOption) (*QueryInsuranceFundResponse, error) // Retrieves all insurance funds InsuranceFunds(ctx context.Context, in *QueryInsuranceFundsRequest, opts ...grpc.CallOption) (*QueryInsuranceFundsResponse, error) // Retrives the value of insurance fund share token at current price (not // pending redemption) EstimatedRedemptions(ctx context.Context, in *QueryEstimatedRedemptionsRequest, opts ...grpc.CallOption) (*QueryEstimatedRedemptionsResponse, error) // Retrieves pending redemptions' share token at current price PendingRedemptions(ctx context.Context, in *QueryPendingRedemptionsRequest, opts ...grpc.CallOption) (*QueryPendingRedemptionsResponse, error) // Retrieves the entire insurance module's state InsuranceModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryEstimatedRedemptionsRequest ¶
type QueryEstimatedRedemptionsRequest struct { MarketId string `protobuf:"bytes,1,opt,name=marketId,proto3" json:"marketId,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
QueryEstimatedRedemptionsRequest is the request type for the Query/EstimatedRedemptions RPC method.
func (*QueryEstimatedRedemptionsRequest) Descriptor ¶
func (*QueryEstimatedRedemptionsRequest) Descriptor() ([]byte, []int)
func (*QueryEstimatedRedemptionsRequest) GetAddress ¶
func (m *QueryEstimatedRedemptionsRequest) GetAddress() string
func (*QueryEstimatedRedemptionsRequest) GetMarketId ¶
func (m *QueryEstimatedRedemptionsRequest) GetMarketId() string
func (*QueryEstimatedRedemptionsRequest) Marshal ¶
func (m *QueryEstimatedRedemptionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryEstimatedRedemptionsRequest) MarshalTo ¶
func (m *QueryEstimatedRedemptionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEstimatedRedemptionsRequest) MarshalToSizedBuffer ¶
func (m *QueryEstimatedRedemptionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEstimatedRedemptionsRequest) ProtoMessage ¶
func (*QueryEstimatedRedemptionsRequest) ProtoMessage()
func (*QueryEstimatedRedemptionsRequest) Reset ¶
func (m *QueryEstimatedRedemptionsRequest) Reset()
func (*QueryEstimatedRedemptionsRequest) Size ¶
func (m *QueryEstimatedRedemptionsRequest) Size() (n int)
func (*QueryEstimatedRedemptionsRequest) String ¶
func (m *QueryEstimatedRedemptionsRequest) String() string
func (*QueryEstimatedRedemptionsRequest) Unmarshal ¶
func (m *QueryEstimatedRedemptionsRequest) Unmarshal(dAtA []byte) error
func (*QueryEstimatedRedemptionsRequest) XXX_DiscardUnknown ¶
func (m *QueryEstimatedRedemptionsRequest) XXX_DiscardUnknown()
func (*QueryEstimatedRedemptionsRequest) XXX_Marshal ¶
func (m *QueryEstimatedRedemptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEstimatedRedemptionsRequest) XXX_Merge ¶
func (m *QueryEstimatedRedemptionsRequest) XXX_Merge(src proto.Message)
func (*QueryEstimatedRedemptionsRequest) XXX_Size ¶
func (m *QueryEstimatedRedemptionsRequest) XXX_Size() int
func (*QueryEstimatedRedemptionsRequest) XXX_Unmarshal ¶
func (m *QueryEstimatedRedemptionsRequest) XXX_Unmarshal(b []byte) error
type QueryEstimatedRedemptionsResponse ¶
type QueryEstimatedRedemptionsResponse struct {
Amount []types.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount"`
}
QueryEstimatedRedemptionsResponse is the response type for the Query/EstimatedRedemptions RPC method.
func (*QueryEstimatedRedemptionsResponse) Descriptor ¶
func (*QueryEstimatedRedemptionsResponse) Descriptor() ([]byte, []int)
func (*QueryEstimatedRedemptionsResponse) GetAmount ¶
func (m *QueryEstimatedRedemptionsResponse) GetAmount() []types.Coin
func (*QueryEstimatedRedemptionsResponse) Marshal ¶
func (m *QueryEstimatedRedemptionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryEstimatedRedemptionsResponse) MarshalTo ¶
func (m *QueryEstimatedRedemptionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEstimatedRedemptionsResponse) MarshalToSizedBuffer ¶
func (m *QueryEstimatedRedemptionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEstimatedRedemptionsResponse) ProtoMessage ¶
func (*QueryEstimatedRedemptionsResponse) ProtoMessage()
func (*QueryEstimatedRedemptionsResponse) Reset ¶
func (m *QueryEstimatedRedemptionsResponse) Reset()
func (*QueryEstimatedRedemptionsResponse) Size ¶
func (m *QueryEstimatedRedemptionsResponse) Size() (n int)
func (*QueryEstimatedRedemptionsResponse) String ¶
func (m *QueryEstimatedRedemptionsResponse) String() string
func (*QueryEstimatedRedemptionsResponse) Unmarshal ¶
func (m *QueryEstimatedRedemptionsResponse) Unmarshal(dAtA []byte) error
func (*QueryEstimatedRedemptionsResponse) XXX_DiscardUnknown ¶
func (m *QueryEstimatedRedemptionsResponse) XXX_DiscardUnknown()
func (*QueryEstimatedRedemptionsResponse) XXX_Marshal ¶
func (m *QueryEstimatedRedemptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEstimatedRedemptionsResponse) XXX_Merge ¶
func (m *QueryEstimatedRedemptionsResponse) XXX_Merge(src proto.Message)
func (*QueryEstimatedRedemptionsResponse) XXX_Size ¶
func (m *QueryEstimatedRedemptionsResponse) XXX_Size() int
func (*QueryEstimatedRedemptionsResponse) XXX_Unmarshal ¶
func (m *QueryEstimatedRedemptionsResponse) XXX_Unmarshal(b []byte) error
type QueryInsuranceFundRequest ¶ added in v1.23.4
type QueryInsuranceFundRequest struct { // Market ID for the market MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` }
QueryInsuranceFundRequest is the request type for the Query/InsuranceFunds RPC method.
func (*QueryInsuranceFundRequest) Descriptor ¶ added in v1.23.4
func (*QueryInsuranceFundRequest) Descriptor() ([]byte, []int)
func (*QueryInsuranceFundRequest) GetMarketId ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) GetMarketId() string
func (*QueryInsuranceFundRequest) Marshal ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) Marshal() (dAtA []byte, err error)
func (*QueryInsuranceFundRequest) MarshalTo ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInsuranceFundRequest) MarshalToSizedBuffer ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInsuranceFundRequest) ProtoMessage ¶ added in v1.23.4
func (*QueryInsuranceFundRequest) ProtoMessage()
func (*QueryInsuranceFundRequest) Reset ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) Reset()
func (*QueryInsuranceFundRequest) Size ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) Size() (n int)
func (*QueryInsuranceFundRequest) String ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) String() string
func (*QueryInsuranceFundRequest) Unmarshal ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) Unmarshal(dAtA []byte) error
func (*QueryInsuranceFundRequest) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) XXX_DiscardUnknown()
func (*QueryInsuranceFundRequest) XXX_Marshal ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInsuranceFundRequest) XXX_Merge ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) XXX_Merge(src proto.Message)
func (*QueryInsuranceFundRequest) XXX_Size ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) XXX_Size() int
func (*QueryInsuranceFundRequest) XXX_Unmarshal ¶ added in v1.23.4
func (m *QueryInsuranceFundRequest) XXX_Unmarshal(b []byte) error
type QueryInsuranceFundResponse ¶ added in v1.23.4
type QueryInsuranceFundResponse struct {
Fund *InsuranceFund `protobuf:"bytes,1,opt,name=fund,proto3" json:"fund,omitempty"`
}
QueryInsuranceFundResponse is the response type for the Query/InsuranceFund RPC method.
func (*QueryInsuranceFundResponse) Descriptor ¶ added in v1.23.4
func (*QueryInsuranceFundResponse) Descriptor() ([]byte, []int)
func (*QueryInsuranceFundResponse) GetFund ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) GetFund() *InsuranceFund
func (*QueryInsuranceFundResponse) Marshal ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) Marshal() (dAtA []byte, err error)
func (*QueryInsuranceFundResponse) MarshalTo ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInsuranceFundResponse) MarshalToSizedBuffer ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInsuranceFundResponse) ProtoMessage ¶ added in v1.23.4
func (*QueryInsuranceFundResponse) ProtoMessage()
func (*QueryInsuranceFundResponse) Reset ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) Reset()
func (*QueryInsuranceFundResponse) Size ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) Size() (n int)
func (*QueryInsuranceFundResponse) String ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) String() string
func (*QueryInsuranceFundResponse) Unmarshal ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) Unmarshal(dAtA []byte) error
func (*QueryInsuranceFundResponse) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) XXX_DiscardUnknown()
func (*QueryInsuranceFundResponse) XXX_Marshal ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInsuranceFundResponse) XXX_Merge ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) XXX_Merge(src proto.Message)
func (*QueryInsuranceFundResponse) XXX_Size ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) XXX_Size() int
func (*QueryInsuranceFundResponse) XXX_Unmarshal ¶ added in v1.23.4
func (m *QueryInsuranceFundResponse) XXX_Unmarshal(b []byte) error
type QueryInsuranceFundsRequest ¶ added in v1.23.4
type QueryInsuranceFundsRequest struct { }
QueryInsuranceFundsRequest is the request type for the Query/InsuranceFunds RPC method.
func (*QueryInsuranceFundsRequest) Descriptor ¶ added in v1.23.4
func (*QueryInsuranceFundsRequest) Descriptor() ([]byte, []int)
func (*QueryInsuranceFundsRequest) Marshal ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) Marshal() (dAtA []byte, err error)
func (*QueryInsuranceFundsRequest) MarshalTo ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInsuranceFundsRequest) MarshalToSizedBuffer ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInsuranceFundsRequest) ProtoMessage ¶ added in v1.23.4
func (*QueryInsuranceFundsRequest) ProtoMessage()
func (*QueryInsuranceFundsRequest) Reset ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) Reset()
func (*QueryInsuranceFundsRequest) Size ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) Size() (n int)
func (*QueryInsuranceFundsRequest) String ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) String() string
func (*QueryInsuranceFundsRequest) Unmarshal ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) Unmarshal(dAtA []byte) error
func (*QueryInsuranceFundsRequest) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) XXX_DiscardUnknown()
func (*QueryInsuranceFundsRequest) XXX_Marshal ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInsuranceFundsRequest) XXX_Merge ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) XXX_Merge(src proto.Message)
func (*QueryInsuranceFundsRequest) XXX_Size ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) XXX_Size() int
func (*QueryInsuranceFundsRequest) XXX_Unmarshal ¶ added in v1.23.4
func (m *QueryInsuranceFundsRequest) XXX_Unmarshal(b []byte) error
type QueryInsuranceFundsResponse ¶ added in v1.23.4
type QueryInsuranceFundsResponse struct {
Funds []InsuranceFund `protobuf:"bytes,1,rep,name=funds,proto3" json:"funds"`
}
QueryInsuranceFundsResponse is the response type for the Query/InsuranceFunds RPC method.
func (*QueryInsuranceFundsResponse) Descriptor ¶ added in v1.23.4
func (*QueryInsuranceFundsResponse) Descriptor() ([]byte, []int)
func (*QueryInsuranceFundsResponse) GetFunds ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) GetFunds() []InsuranceFund
func (*QueryInsuranceFundsResponse) Marshal ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) Marshal() (dAtA []byte, err error)
func (*QueryInsuranceFundsResponse) MarshalTo ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInsuranceFundsResponse) MarshalToSizedBuffer ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInsuranceFundsResponse) ProtoMessage ¶ added in v1.23.4
func (*QueryInsuranceFundsResponse) ProtoMessage()
func (*QueryInsuranceFundsResponse) Reset ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) Reset()
func (*QueryInsuranceFundsResponse) Size ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) Size() (n int)
func (*QueryInsuranceFundsResponse) String ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) String() string
func (*QueryInsuranceFundsResponse) Unmarshal ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) Unmarshal(dAtA []byte) error
func (*QueryInsuranceFundsResponse) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) XXX_DiscardUnknown()
func (*QueryInsuranceFundsResponse) XXX_Marshal ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInsuranceFundsResponse) XXX_Merge ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) XXX_Merge(src proto.Message)
func (*QueryInsuranceFundsResponse) XXX_Size ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) XXX_Size() int
func (*QueryInsuranceFundsResponse) XXX_Unmarshal ¶ added in v1.23.4
func (m *QueryInsuranceFundsResponse) XXX_Unmarshal(b []byte) error
type QueryInsuranceParamsRequest ¶
type QueryInsuranceParamsRequest struct { }
QueryInsuranceParamsRequest is the request type for the Query/InsuranceParams RPC method.
func (*QueryInsuranceParamsRequest) Descriptor ¶
func (*QueryInsuranceParamsRequest) Descriptor() ([]byte, []int)
func (*QueryInsuranceParamsRequest) Marshal ¶
func (m *QueryInsuranceParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryInsuranceParamsRequest) MarshalTo ¶
func (m *QueryInsuranceParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInsuranceParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryInsuranceParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInsuranceParamsRequest) ProtoMessage ¶
func (*QueryInsuranceParamsRequest) ProtoMessage()
func (*QueryInsuranceParamsRequest) Reset ¶
func (m *QueryInsuranceParamsRequest) Reset()
func (*QueryInsuranceParamsRequest) Size ¶
func (m *QueryInsuranceParamsRequest) Size() (n int)
func (*QueryInsuranceParamsRequest) String ¶
func (m *QueryInsuranceParamsRequest) String() string
func (*QueryInsuranceParamsRequest) Unmarshal ¶
func (m *QueryInsuranceParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryInsuranceParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryInsuranceParamsRequest) XXX_DiscardUnknown()
func (*QueryInsuranceParamsRequest) XXX_Marshal ¶
func (m *QueryInsuranceParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInsuranceParamsRequest) XXX_Merge ¶
func (m *QueryInsuranceParamsRequest) XXX_Merge(src proto.Message)
func (*QueryInsuranceParamsRequest) XXX_Size ¶
func (m *QueryInsuranceParamsRequest) XXX_Size() int
func (*QueryInsuranceParamsRequest) XXX_Unmarshal ¶
func (m *QueryInsuranceParamsRequest) XXX_Unmarshal(b []byte) error
type QueryInsuranceParamsResponse ¶
type QueryInsuranceParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryInsuranceParamsRequest is the response type for the Query/InsuranceParams RPC method.
func (*QueryInsuranceParamsResponse) Descriptor ¶
func (*QueryInsuranceParamsResponse) Descriptor() ([]byte, []int)
func (*QueryInsuranceParamsResponse) GetParams ¶
func (m *QueryInsuranceParamsResponse) GetParams() Params
func (*QueryInsuranceParamsResponse) Marshal ¶
func (m *QueryInsuranceParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryInsuranceParamsResponse) MarshalTo ¶
func (m *QueryInsuranceParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInsuranceParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryInsuranceParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInsuranceParamsResponse) ProtoMessage ¶
func (*QueryInsuranceParamsResponse) ProtoMessage()
func (*QueryInsuranceParamsResponse) Reset ¶
func (m *QueryInsuranceParamsResponse) Reset()
func (*QueryInsuranceParamsResponse) Size ¶
func (m *QueryInsuranceParamsResponse) Size() (n int)
func (*QueryInsuranceParamsResponse) String ¶
func (m *QueryInsuranceParamsResponse) String() string
func (*QueryInsuranceParamsResponse) Unmarshal ¶
func (m *QueryInsuranceParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryInsuranceParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryInsuranceParamsResponse) XXX_DiscardUnknown()
func (*QueryInsuranceParamsResponse) XXX_Marshal ¶
func (m *QueryInsuranceParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInsuranceParamsResponse) XXX_Merge ¶
func (m *QueryInsuranceParamsResponse) XXX_Merge(src proto.Message)
func (*QueryInsuranceParamsResponse) XXX_Size ¶
func (m *QueryInsuranceParamsResponse) XXX_Size() int
func (*QueryInsuranceParamsResponse) XXX_Unmarshal ¶
func (m *QueryInsuranceParamsResponse) XXX_Unmarshal(b []byte) error
type QueryModuleStateRequest ¶ added in v1.23.4
type QueryModuleStateRequest struct { }
QueryModuleStateRequest is the request type for the Query/InsuranceModuleState RPC method.
func (*QueryModuleStateRequest) Descriptor ¶ added in v1.23.4
func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)
func (*QueryModuleStateRequest) Marshal ¶ added in v1.23.4
func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryModuleStateRequest) MarshalTo ¶ added in v1.23.4
func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryModuleStateRequest) MarshalToSizedBuffer ¶ added in v1.23.4
func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryModuleStateRequest) ProtoMessage ¶ added in v1.23.4
func (*QueryModuleStateRequest) ProtoMessage()
func (*QueryModuleStateRequest) Reset ¶ added in v1.23.4
func (m *QueryModuleStateRequest) Reset()
func (*QueryModuleStateRequest) Size ¶ added in v1.23.4
func (m *QueryModuleStateRequest) Size() (n int)
func (*QueryModuleStateRequest) String ¶ added in v1.23.4
func (m *QueryModuleStateRequest) String() string
func (*QueryModuleStateRequest) Unmarshal ¶ added in v1.23.4
func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error
func (*QueryModuleStateRequest) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_DiscardUnknown()
func (*QueryModuleStateRequest) XXX_Marshal ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryModuleStateRequest) XXX_Merge ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)
func (*QueryModuleStateRequest) XXX_Size ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_Size() int
func (*QueryModuleStateRequest) XXX_Unmarshal ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error
type QueryModuleStateResponse ¶ added in v1.23.4
type QueryModuleStateResponse struct {
State *GenesisState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}
QueryModuleStateResponse is the response type for the Query/InsuranceModuleState RPC method.
func (*QueryModuleStateResponse) Descriptor ¶ added in v1.23.4
func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)
func (*QueryModuleStateResponse) GetState ¶ added in v1.23.4
func (m *QueryModuleStateResponse) GetState() *GenesisState
func (*QueryModuleStateResponse) Marshal ¶ added in v1.23.4
func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryModuleStateResponse) MarshalTo ¶ added in v1.23.4
func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryModuleStateResponse) MarshalToSizedBuffer ¶ added in v1.23.4
func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryModuleStateResponse) ProtoMessage ¶ added in v1.23.4
func (*QueryModuleStateResponse) ProtoMessage()
func (*QueryModuleStateResponse) Reset ¶ added in v1.23.4
func (m *QueryModuleStateResponse) Reset()
func (*QueryModuleStateResponse) Size ¶ added in v1.23.4
func (m *QueryModuleStateResponse) Size() (n int)
func (*QueryModuleStateResponse) String ¶ added in v1.23.4
func (m *QueryModuleStateResponse) String() string
func (*QueryModuleStateResponse) Unmarshal ¶ added in v1.23.4
func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error
func (*QueryModuleStateResponse) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_DiscardUnknown()
func (*QueryModuleStateResponse) XXX_Marshal ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryModuleStateResponse) XXX_Merge ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)
func (*QueryModuleStateResponse) XXX_Size ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_Size() int
func (*QueryModuleStateResponse) XXX_Unmarshal ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error
type QueryPendingRedemptionsRequest ¶
type QueryPendingRedemptionsRequest struct { MarketId string `protobuf:"bytes,1,opt,name=marketId,proto3" json:"marketId,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
QueryPendingRedemptionsRequest is the request type for the Query/PendingRedemptions RPC method.
func (*QueryPendingRedemptionsRequest) Descriptor ¶
func (*QueryPendingRedemptionsRequest) Descriptor() ([]byte, []int)
func (*QueryPendingRedemptionsRequest) GetAddress ¶
func (m *QueryPendingRedemptionsRequest) GetAddress() string
func (*QueryPendingRedemptionsRequest) GetMarketId ¶
func (m *QueryPendingRedemptionsRequest) GetMarketId() string
func (*QueryPendingRedemptionsRequest) Marshal ¶
func (m *QueryPendingRedemptionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryPendingRedemptionsRequest) MarshalTo ¶
func (m *QueryPendingRedemptionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPendingRedemptionsRequest) MarshalToSizedBuffer ¶
func (m *QueryPendingRedemptionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPendingRedemptionsRequest) ProtoMessage ¶
func (*QueryPendingRedemptionsRequest) ProtoMessage()
func (*QueryPendingRedemptionsRequest) Reset ¶
func (m *QueryPendingRedemptionsRequest) Reset()
func (*QueryPendingRedemptionsRequest) Size ¶
func (m *QueryPendingRedemptionsRequest) Size() (n int)
func (*QueryPendingRedemptionsRequest) String ¶
func (m *QueryPendingRedemptionsRequest) String() string
func (*QueryPendingRedemptionsRequest) Unmarshal ¶
func (m *QueryPendingRedemptionsRequest) Unmarshal(dAtA []byte) error
func (*QueryPendingRedemptionsRequest) XXX_DiscardUnknown ¶
func (m *QueryPendingRedemptionsRequest) XXX_DiscardUnknown()
func (*QueryPendingRedemptionsRequest) XXX_Marshal ¶
func (m *QueryPendingRedemptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPendingRedemptionsRequest) XXX_Merge ¶
func (m *QueryPendingRedemptionsRequest) XXX_Merge(src proto.Message)
func (*QueryPendingRedemptionsRequest) XXX_Size ¶
func (m *QueryPendingRedemptionsRequest) XXX_Size() int
func (*QueryPendingRedemptionsRequest) XXX_Unmarshal ¶
func (m *QueryPendingRedemptionsRequest) XXX_Unmarshal(b []byte) error
type QueryPendingRedemptionsResponse ¶
type QueryPendingRedemptionsResponse struct {
Amount []types.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount"`
}
QueryPendingRedemptionsResponse is the response type for the Query/PendingRedemptions RPC method.
func (*QueryPendingRedemptionsResponse) Descriptor ¶
func (*QueryPendingRedemptionsResponse) Descriptor() ([]byte, []int)
func (*QueryPendingRedemptionsResponse) GetAmount ¶
func (m *QueryPendingRedemptionsResponse) GetAmount() []types.Coin
func (*QueryPendingRedemptionsResponse) Marshal ¶
func (m *QueryPendingRedemptionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryPendingRedemptionsResponse) MarshalTo ¶
func (m *QueryPendingRedemptionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPendingRedemptionsResponse) MarshalToSizedBuffer ¶
func (m *QueryPendingRedemptionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPendingRedemptionsResponse) ProtoMessage ¶
func (*QueryPendingRedemptionsResponse) ProtoMessage()
func (*QueryPendingRedemptionsResponse) Reset ¶
func (m *QueryPendingRedemptionsResponse) Reset()
func (*QueryPendingRedemptionsResponse) Size ¶
func (m *QueryPendingRedemptionsResponse) Size() (n int)
func (*QueryPendingRedemptionsResponse) String ¶
func (m *QueryPendingRedemptionsResponse) String() string
func (*QueryPendingRedemptionsResponse) Unmarshal ¶
func (m *QueryPendingRedemptionsResponse) Unmarshal(dAtA []byte) error
func (*QueryPendingRedemptionsResponse) XXX_DiscardUnknown ¶
func (m *QueryPendingRedemptionsResponse) XXX_DiscardUnknown()
func (*QueryPendingRedemptionsResponse) XXX_Marshal ¶
func (m *QueryPendingRedemptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPendingRedemptionsResponse) XXX_Merge ¶
func (m *QueryPendingRedemptionsResponse) XXX_Merge(src proto.Message)
func (*QueryPendingRedemptionsResponse) XXX_Size ¶
func (m *QueryPendingRedemptionsResponse) XXX_Size() int
func (*QueryPendingRedemptionsResponse) XXX_Unmarshal ¶
func (m *QueryPendingRedemptionsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Retrieves insurance params InsuranceParams(context.Context, *QueryInsuranceParamsRequest) (*QueryInsuranceParamsResponse, error) // Retrieves individual insurance fund information from market id InsuranceFund(context.Context, *QueryInsuranceFundRequest) (*QueryInsuranceFundResponse, error) // Retrieves all insurance funds InsuranceFunds(context.Context, *QueryInsuranceFundsRequest) (*QueryInsuranceFundsResponse, error) // Retrives the value of insurance fund share token at current price (not // pending redemption) EstimatedRedemptions(context.Context, *QueryEstimatedRedemptionsRequest) (*QueryEstimatedRedemptionsResponse, error) // Retrieves pending redemptions' share token at current price PendingRedemptions(context.Context, *QueryPendingRedemptionsRequest) (*QueryPendingRedemptionsResponse, error) // Retrieves the entire insurance module's state InsuranceModuleState(context.Context, *QueryModuleStateRequest) (*QueryModuleStateResponse, error) }
QueryServer is the server API for Query service.
type RedemptionSchedule ¶
type RedemptionSchedule struct { // id of redemption schedule Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // marketId of insurance fund for the redemption MarketId string `protobuf:"bytes,2,opt,name=marketId,proto3" json:"marketId,omitempty"` // address of the redeemer Redeemer string `protobuf:"bytes,3,opt,name=redeemer,proto3" json:"redeemer,omitempty"` // the time after which the redemption can be claimed ClaimableRedemptionTime time.Time `` /* 163-byte string literal not displayed */ // the insurance_pool_token amount to redeem RedemptionAmount types1.Coin `protobuf:"bytes,5,opt,name=redemption_amount,json=redemptionAmount,proto3" json:"redemption_amount"` }
func (*RedemptionSchedule) Descriptor ¶
func (*RedemptionSchedule) Descriptor() ([]byte, []int)
func (*RedemptionSchedule) GetClaimableRedemptionTime ¶
func (m *RedemptionSchedule) GetClaimableRedemptionTime() time.Time
func (*RedemptionSchedule) GetId ¶
func (m *RedemptionSchedule) GetId() uint64
func (*RedemptionSchedule) GetMarketId ¶
func (m *RedemptionSchedule) GetMarketId() string
func (*RedemptionSchedule) GetRedeemer ¶
func (m *RedemptionSchedule) GetRedeemer() string
func (*RedemptionSchedule) GetRedemptionAmount ¶
func (m *RedemptionSchedule) GetRedemptionAmount() types1.Coin
func (*RedemptionSchedule) Marshal ¶
func (m *RedemptionSchedule) Marshal() (dAtA []byte, err error)
func (*RedemptionSchedule) MarshalTo ¶
func (m *RedemptionSchedule) MarshalTo(dAtA []byte) (int, error)
func (*RedemptionSchedule) MarshalToSizedBuffer ¶
func (m *RedemptionSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RedemptionSchedule) ProtoMessage ¶
func (*RedemptionSchedule) ProtoMessage()
func (*RedemptionSchedule) Reset ¶
func (m *RedemptionSchedule) Reset()
func (*RedemptionSchedule) Size ¶
func (m *RedemptionSchedule) Size() (n int)
func (*RedemptionSchedule) String ¶
func (m *RedemptionSchedule) String() string
func (*RedemptionSchedule) Unmarshal ¶
func (m *RedemptionSchedule) Unmarshal(dAtA []byte) error
func (*RedemptionSchedule) XXX_DiscardUnknown ¶
func (m *RedemptionSchedule) XXX_DiscardUnknown()
func (*RedemptionSchedule) XXX_Marshal ¶
func (m *RedemptionSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedemptionSchedule) XXX_Merge ¶
func (m *RedemptionSchedule) XXX_Merge(src proto.Message)
func (*RedemptionSchedule) XXX_Size ¶
func (m *RedemptionSchedule) XXX_Size() int
func (*RedemptionSchedule) XXX_Unmarshal ¶
func (m *RedemptionSchedule) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateInsuranceFund ¶
func (*UnimplementedMsgServer) CreateInsuranceFund(ctx context.Context, req *MsgCreateInsuranceFund) (*MsgCreateInsuranceFundResponse, error)
func (*UnimplementedMsgServer) RequestRedemption ¶
func (*UnimplementedMsgServer) RequestRedemption(ctx context.Context, req *MsgRequestRedemption) (*MsgRequestRedemptionResponse, error)
func (*UnimplementedMsgServer) Underwrite ¶
func (*UnimplementedMsgServer) Underwrite(ctx context.Context, req *MsgUnderwrite) (*MsgUnderwriteResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v1.47.1
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) EstimatedRedemptions ¶
func (*UnimplementedQueryServer) EstimatedRedemptions(ctx context.Context, req *QueryEstimatedRedemptionsRequest) (*QueryEstimatedRedemptionsResponse, error)
func (*UnimplementedQueryServer) InsuranceFund ¶ added in v1.23.4
func (*UnimplementedQueryServer) InsuranceFund(ctx context.Context, req *QueryInsuranceFundRequest) (*QueryInsuranceFundResponse, error)
func (*UnimplementedQueryServer) InsuranceFunds ¶ added in v1.23.4
func (*UnimplementedQueryServer) InsuranceFunds(ctx context.Context, req *QueryInsuranceFundsRequest) (*QueryInsuranceFundsResponse, error)
func (*UnimplementedQueryServer) InsuranceModuleState ¶ added in v1.23.4
func (*UnimplementedQueryServer) InsuranceModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
func (*UnimplementedQueryServer) InsuranceParams ¶
func (*UnimplementedQueryServer) InsuranceParams(ctx context.Context, req *QueryInsuranceParamsRequest) (*QueryInsuranceParamsResponse, error)
func (*UnimplementedQueryServer) PendingRedemptions ¶
func (*UnimplementedQueryServer) PendingRedemptions(ctx context.Context, req *QueryPendingRedemptionsRequest) (*QueryPendingRedemptionsResponse, error)