Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error
- func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountBacking
- func (*AccountBacking) Descriptor() ([]byte, []int)
- func (m *AccountBacking) Marshal() (dAtA []byte, err error)
- func (m *AccountBacking) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountBacking) ProtoMessage()
- func (m *AccountBacking) Reset()
- func (m *AccountBacking) Size() (n int)
- func (m *AccountBacking) String() string
- func (m *AccountBacking) Unmarshal(dAtA []byte) error
- func (m *AccountBacking) XXX_DiscardUnknown()
- func (m *AccountBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountBacking) XXX_Merge(src proto.Message)
- func (m *AccountBacking) XXX_Size() int
- func (m *AccountBacking) XXX_Unmarshal(b []byte) error
- type AccountCollateral
- func (*AccountCollateral) Descriptor() ([]byte, []int)
- func (m *AccountCollateral) GetAccount() string
- func (m *AccountCollateral) GetBlackDebt() types.Coin
- func (m *AccountCollateral) GetCollateral() types.Coin
- func (m *AccountCollateral) GetFuryCollateralized() types.Coin
- func (m *AccountCollateral) GetLastInterest() types.Coin
- func (m *AccountCollateral) GetLastSettlementBlock() int64
- func (m *AccountCollateral) Marshal() (dAtA []byte, err error)
- func (m *AccountCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountCollateral) ProtoMessage()
- func (m *AccountCollateral) Reset()
- func (m *AccountCollateral) Size() (n int)
- func (m *AccountCollateral) String() string
- func (m *AccountCollateral) Unmarshal(dAtA []byte) error
- func (m *AccountCollateral) XXX_DiscardUnknown()
- func (m *AccountCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountCollateral) XXX_Merge(src proto.Message)
- func (m *AccountCollateral) XXX_Size() int
- func (m *AccountCollateral) XXX_Unmarshal(b []byte) error
- type AccountKeeper
- type BackingRiskParams
- func (*BackingRiskParams) Descriptor() ([]byte, []int)
- func (m *BackingRiskParams) GetBackingDenom() string
- func (m *BackingRiskParams) GetEnabled() bool
- func (m *BackingRiskParams) Marshal() (dAtA []byte, err error)
- func (m *BackingRiskParams) MarshalTo(dAtA []byte) (int, error)
- func (m *BackingRiskParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BackingRiskParams) ProtoMessage()
- func (m *BackingRiskParams) Reset()
- func (m *BackingRiskParams) Size() (n int)
- func (m *BackingRiskParams) String() string
- func (m *BackingRiskParams) Unmarshal(dAtA []byte) error
- func (m *BackingRiskParams) XXX_DiscardUnknown()
- func (m *BackingRiskParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackingRiskParams) XXX_Merge(src proto.Message)
- func (m *BackingRiskParams) XXX_Size() int
- func (m *BackingRiskParams) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type BatchBackingRiskParams
- func (*BatchBackingRiskParams) Descriptor() ([]byte, []int)
- func (m *BatchBackingRiskParams) GetRiskParams() []BackingRiskParams
- func (m *BatchBackingRiskParams) Marshal() (dAtA []byte, err error)
- func (m *BatchBackingRiskParams) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchBackingRiskParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchBackingRiskParams) ProtoMessage()
- func (m *BatchBackingRiskParams) Reset()
- func (m *BatchBackingRiskParams) Size() (n int)
- func (m *BatchBackingRiskParams) String() string
- func (m *BatchBackingRiskParams) Unmarshal(dAtA []byte) error
- func (m *BatchBackingRiskParams) XXX_DiscardUnknown()
- func (m *BatchBackingRiskParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchBackingRiskParams) XXX_Merge(src proto.Message)
- func (m *BatchBackingRiskParams) XXX_Size() int
- func (m *BatchBackingRiskParams) XXX_Unmarshal(b []byte) error
- type BatchCollateralRiskParams
- func (*BatchCollateralRiskParams) Descriptor() ([]byte, []int)
- func (m *BatchCollateralRiskParams) GetRiskParams() []CollateralRiskParams
- func (m *BatchCollateralRiskParams) Marshal() (dAtA []byte, err error)
- func (m *BatchCollateralRiskParams) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchCollateralRiskParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchCollateralRiskParams) ProtoMessage()
- func (m *BatchCollateralRiskParams) Reset()
- func (m *BatchCollateralRiskParams) Size() (n int)
- func (m *BatchCollateralRiskParams) String() string
- func (m *BatchCollateralRiskParams) Unmarshal(dAtA []byte) error
- func (m *BatchCollateralRiskParams) XXX_DiscardUnknown()
- func (m *BatchCollateralRiskParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCollateralRiskParams) XXX_Merge(src proto.Message)
- func (m *BatchCollateralRiskParams) XXX_Size() int
- func (m *BatchCollateralRiskParams) XXX_Unmarshal(b []byte) error
- type BatchSetBackingRiskParamsProposal
- func (*BatchSetBackingRiskParamsProposal) Descriptor() ([]byte, []int)
- func (m *BatchSetBackingRiskParamsProposal) GetDescription() string
- func (m *BatchSetBackingRiskParamsProposal) GetRiskParams() []BackingRiskParams
- func (m *BatchSetBackingRiskParamsProposal) GetTitle() string
- func (m *BatchSetBackingRiskParamsProposal) Marshal() (dAtA []byte, err error)
- func (m *BatchSetBackingRiskParamsProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchSetBackingRiskParamsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BatchSetBackingRiskParamsProposal) ProposalRoute() string
- func (m *BatchSetBackingRiskParamsProposal) ProposalType() string
- func (*BatchSetBackingRiskParamsProposal) ProtoMessage()
- func (m *BatchSetBackingRiskParamsProposal) Reset()
- func (m *BatchSetBackingRiskParamsProposal) Size() (n int)
- func (m *BatchSetBackingRiskParamsProposal) String() string
- func (m *BatchSetBackingRiskParamsProposal) Unmarshal(dAtA []byte) error
- func (m *BatchSetBackingRiskParamsProposal) ValidateBasic() error
- func (m *BatchSetBackingRiskParamsProposal) XXX_DiscardUnknown()
- func (m *BatchSetBackingRiskParamsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSetBackingRiskParamsProposal) XXX_Merge(src proto.Message)
- func (m *BatchSetBackingRiskParamsProposal) XXX_Size() int
- func (m *BatchSetBackingRiskParamsProposal) XXX_Unmarshal(b []byte) error
- type BatchSetCollateralRiskParamsProposal
- func (*BatchSetCollateralRiskParamsProposal) Descriptor() ([]byte, []int)
- func (m *BatchSetCollateralRiskParamsProposal) GetDescription() string
- func (m *BatchSetCollateralRiskParamsProposal) GetRiskParams() []CollateralRiskParams
- func (m *BatchSetCollateralRiskParamsProposal) GetTitle() string
- func (m *BatchSetCollateralRiskParamsProposal) Marshal() (dAtA []byte, err error)
- func (m *BatchSetCollateralRiskParamsProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchSetCollateralRiskParamsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *BatchSetCollateralRiskParamsProposal) ProposalRoute() string
- func (m *BatchSetCollateralRiskParamsProposal) ProposalType() string
- func (*BatchSetCollateralRiskParamsProposal) ProtoMessage()
- func (m *BatchSetCollateralRiskParamsProposal) Reset()
- func (m *BatchSetCollateralRiskParamsProposal) Size() (n int)
- func (m *BatchSetCollateralRiskParamsProposal) String() string
- func (m *BatchSetCollateralRiskParamsProposal) Unmarshal(dAtA []byte) error
- func (m *BatchSetCollateralRiskParamsProposal) ValidateBasic() error
- func (m *BatchSetCollateralRiskParamsProposal) XXX_DiscardUnknown()
- func (m *BatchSetCollateralRiskParamsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSetCollateralRiskParamsProposal) XXX_Merge(src proto.Message)
- func (m *BatchSetCollateralRiskParamsProposal) XXX_Size() int
- func (m *BatchSetCollateralRiskParamsProposal) XXX_Unmarshal(b []byte) error
- type CollateralRiskParams
- func (*CollateralRiskParams) Descriptor() ([]byte, []int)
- func (m *CollateralRiskParams) GetCollateralDenom() string
- func (m *CollateralRiskParams) GetEnabled() bool
- func (m *CollateralRiskParams) Marshal() (dAtA []byte, err error)
- func (m *CollateralRiskParams) MarshalTo(dAtA []byte) (int, error)
- func (m *CollateralRiskParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CollateralRiskParams) ProtoMessage()
- func (m *CollateralRiskParams) Reset()
- func (m *CollateralRiskParams) Size() (n int)
- func (m *CollateralRiskParams) String() string
- func (m *CollateralRiskParams) Unmarshal(dAtA []byte) error
- func (m *CollateralRiskParams) XXX_DiscardUnknown()
- func (m *CollateralRiskParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralRiskParams) XXX_Merge(src proto.Message)
- func (m *CollateralRiskParams) XXX_Size() int
- func (m *CollateralRiskParams) XXX_Unmarshal(b []byte) error
- type EstimateBurnBySwapInRequest
- func (*EstimateBurnBySwapInRequest) Descriptor() ([]byte, []int)
- func (m *EstimateBurnBySwapInRequest) GetBackingOutMax() types.Coin
- func (m *EstimateBurnBySwapInRequest) GetFuryOutMax() types.Coin
- func (m *EstimateBurnBySwapInRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateBurnBySwapInRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateBurnBySwapInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateBurnBySwapInRequest) ProtoMessage()
- func (m *EstimateBurnBySwapInRequest) Reset()
- func (m *EstimateBurnBySwapInRequest) Size() (n int)
- func (m *EstimateBurnBySwapInRequest) String() string
- func (m *EstimateBurnBySwapInRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateBurnBySwapInRequest) XXX_DiscardUnknown()
- func (m *EstimateBurnBySwapInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateBurnBySwapInRequest) XXX_Merge(src proto.Message)
- func (m *EstimateBurnBySwapInRequest) XXX_Size() int
- func (m *EstimateBurnBySwapInRequest) XXX_Unmarshal(b []byte) error
- type EstimateBurnBySwapInResponse
- func (*EstimateBurnBySwapInResponse) Descriptor() ([]byte, []int)
- func (m *EstimateBurnBySwapInResponse) GetBackingOut() types.Coin
- func (m *EstimateBurnBySwapInResponse) GetBurnFee() types.Coin
- func (m *EstimateBurnBySwapInResponse) GetBurnIn() types.Coin
- func (m *EstimateBurnBySwapInResponse) GetFuryOut() types.Coin
- func (m *EstimateBurnBySwapInResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateBurnBySwapInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateBurnBySwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateBurnBySwapInResponse) ProtoMessage()
- func (m *EstimateBurnBySwapInResponse) Reset()
- func (m *EstimateBurnBySwapInResponse) Size() (n int)
- func (m *EstimateBurnBySwapInResponse) String() string
- func (m *EstimateBurnBySwapInResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateBurnBySwapInResponse) XXX_DiscardUnknown()
- func (m *EstimateBurnBySwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateBurnBySwapInResponse) XXX_Merge(src proto.Message)
- func (m *EstimateBurnBySwapInResponse) XXX_Size() int
- func (m *EstimateBurnBySwapInResponse) XXX_Unmarshal(b []byte) error
- type EstimateBurnBySwapOutRequest
- func (*EstimateBurnBySwapOutRequest) Descriptor() ([]byte, []int)
- func (m *EstimateBurnBySwapOutRequest) GetBackingDenom() string
- func (m *EstimateBurnBySwapOutRequest) GetBurnIn() types.Coin
- func (m *EstimateBurnBySwapOutRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateBurnBySwapOutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateBurnBySwapOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateBurnBySwapOutRequest) ProtoMessage()
- func (m *EstimateBurnBySwapOutRequest) Reset()
- func (m *EstimateBurnBySwapOutRequest) Size() (n int)
- func (m *EstimateBurnBySwapOutRequest) String() string
- func (m *EstimateBurnBySwapOutRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateBurnBySwapOutRequest) XXX_DiscardUnknown()
- func (m *EstimateBurnBySwapOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateBurnBySwapOutRequest) XXX_Merge(src proto.Message)
- func (m *EstimateBurnBySwapOutRequest) XXX_Size() int
- func (m *EstimateBurnBySwapOutRequest) XXX_Unmarshal(b []byte) error
- type EstimateBurnBySwapOutResponse
- func (*EstimateBurnBySwapOutResponse) Descriptor() ([]byte, []int)
- func (m *EstimateBurnBySwapOutResponse) GetBackingOut() types.Coin
- func (m *EstimateBurnBySwapOutResponse) GetBurnFee() types.Coin
- func (m *EstimateBurnBySwapOutResponse) GetFuryOut() types.Coin
- func (m *EstimateBurnBySwapOutResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateBurnBySwapOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateBurnBySwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateBurnBySwapOutResponse) ProtoMessage()
- func (m *EstimateBurnBySwapOutResponse) Reset()
- func (m *EstimateBurnBySwapOutResponse) Size() (n int)
- func (m *EstimateBurnBySwapOutResponse) String() string
- func (m *EstimateBurnBySwapOutResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateBurnBySwapOutResponse) XXX_DiscardUnknown()
- func (m *EstimateBurnBySwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateBurnBySwapOutResponse) XXX_Merge(src proto.Message)
- func (m *EstimateBurnBySwapOutResponse) XXX_Size() int
- func (m *EstimateBurnBySwapOutResponse) XXX_Unmarshal(b []byte) error
- type EstimateBuyBackingInRequest
- func (*EstimateBuyBackingInRequest) Descriptor() ([]byte, []int)
- func (m *EstimateBuyBackingInRequest) GetBackingOut() types.Coin
- func (m *EstimateBuyBackingInRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateBuyBackingInRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateBuyBackingInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateBuyBackingInRequest) ProtoMessage()
- func (m *EstimateBuyBackingInRequest) Reset()
- func (m *EstimateBuyBackingInRequest) Size() (n int)
- func (m *EstimateBuyBackingInRequest) String() string
- func (m *EstimateBuyBackingInRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateBuyBackingInRequest) XXX_DiscardUnknown()
- func (m *EstimateBuyBackingInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateBuyBackingInRequest) XXX_Merge(src proto.Message)
- func (m *EstimateBuyBackingInRequest) XXX_Size() int
- func (m *EstimateBuyBackingInRequest) XXX_Unmarshal(b []byte) error
- type EstimateBuyBackingInResponse
- func (*EstimateBuyBackingInResponse) Descriptor() ([]byte, []int)
- func (m *EstimateBuyBackingInResponse) GetBuybackFee() types.Coin
- func (m *EstimateBuyBackingInResponse) GetFuryIn() types.Coin
- func (m *EstimateBuyBackingInResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateBuyBackingInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateBuyBackingInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateBuyBackingInResponse) ProtoMessage()
- func (m *EstimateBuyBackingInResponse) Reset()
- func (m *EstimateBuyBackingInResponse) Size() (n int)
- func (m *EstimateBuyBackingInResponse) String() string
- func (m *EstimateBuyBackingInResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateBuyBackingInResponse) XXX_DiscardUnknown()
- func (m *EstimateBuyBackingInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateBuyBackingInResponse) XXX_Merge(src proto.Message)
- func (m *EstimateBuyBackingInResponse) XXX_Size() int
- func (m *EstimateBuyBackingInResponse) XXX_Unmarshal(b []byte) error
- type EstimateBuyBackingOutRequest
- func (*EstimateBuyBackingOutRequest) Descriptor() ([]byte, []int)
- func (m *EstimateBuyBackingOutRequest) GetBackingDenom() string
- func (m *EstimateBuyBackingOutRequest) GetFuryIn() types.Coin
- func (m *EstimateBuyBackingOutRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateBuyBackingOutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateBuyBackingOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateBuyBackingOutRequest) ProtoMessage()
- func (m *EstimateBuyBackingOutRequest) Reset()
- func (m *EstimateBuyBackingOutRequest) Size() (n int)
- func (m *EstimateBuyBackingOutRequest) String() string
- func (m *EstimateBuyBackingOutRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateBuyBackingOutRequest) XXX_DiscardUnknown()
- func (m *EstimateBuyBackingOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateBuyBackingOutRequest) XXX_Merge(src proto.Message)
- func (m *EstimateBuyBackingOutRequest) XXX_Size() int
- func (m *EstimateBuyBackingOutRequest) XXX_Unmarshal(b []byte) error
- type EstimateBuyBackingOutResponse
- func (*EstimateBuyBackingOutResponse) Descriptor() ([]byte, []int)
- func (m *EstimateBuyBackingOutResponse) GetBackingOut() types.Coin
- func (m *EstimateBuyBackingOutResponse) GetBuybackFee() types.Coin
- func (m *EstimateBuyBackingOutResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateBuyBackingOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateBuyBackingOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateBuyBackingOutResponse) ProtoMessage()
- func (m *EstimateBuyBackingOutResponse) Reset()
- func (m *EstimateBuyBackingOutResponse) Size() (n int)
- func (m *EstimateBuyBackingOutResponse) String() string
- func (m *EstimateBuyBackingOutResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateBuyBackingOutResponse) XXX_DiscardUnknown()
- func (m *EstimateBuyBackingOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateBuyBackingOutResponse) XXX_Merge(src proto.Message)
- func (m *EstimateBuyBackingOutResponse) XXX_Size() int
- func (m *EstimateBuyBackingOutResponse) XXX_Unmarshal(b []byte) error
- type EstimateMintBySwapInRequest
- func (*EstimateMintBySwapInRequest) Descriptor() ([]byte, []int)
- func (m *EstimateMintBySwapInRequest) GetBackingDenom() string
- func (m *EstimateMintBySwapInRequest) GetFullBacking() bool
- func (m *EstimateMintBySwapInRequest) GetMintOut() types.Coin
- func (m *EstimateMintBySwapInRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateMintBySwapInRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateMintBySwapInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateMintBySwapInRequest) ProtoMessage()
- func (m *EstimateMintBySwapInRequest) Reset()
- func (m *EstimateMintBySwapInRequest) Size() (n int)
- func (m *EstimateMintBySwapInRequest) String() string
- func (m *EstimateMintBySwapInRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateMintBySwapInRequest) XXX_DiscardUnknown()
- func (m *EstimateMintBySwapInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateMintBySwapInRequest) XXX_Merge(src proto.Message)
- func (m *EstimateMintBySwapInRequest) XXX_Size() int
- func (m *EstimateMintBySwapInRequest) XXX_Unmarshal(b []byte) error
- type EstimateMintBySwapInResponse
- func (*EstimateMintBySwapInResponse) Descriptor() ([]byte, []int)
- func (m *EstimateMintBySwapInResponse) GetBackingIn() types.Coin
- func (m *EstimateMintBySwapInResponse) GetFuryIn() types.Coin
- func (m *EstimateMintBySwapInResponse) GetMintFee() types.Coin
- func (m *EstimateMintBySwapInResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateMintBySwapInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateMintBySwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateMintBySwapInResponse) ProtoMessage()
- func (m *EstimateMintBySwapInResponse) Reset()
- func (m *EstimateMintBySwapInResponse) Size() (n int)
- func (m *EstimateMintBySwapInResponse) String() string
- func (m *EstimateMintBySwapInResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateMintBySwapInResponse) XXX_DiscardUnknown()
- func (m *EstimateMintBySwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateMintBySwapInResponse) XXX_Merge(src proto.Message)
- func (m *EstimateMintBySwapInResponse) XXX_Size() int
- func (m *EstimateMintBySwapInResponse) XXX_Unmarshal(b []byte) error
- type EstimateMintBySwapOutRequest
- func (*EstimateMintBySwapOutRequest) Descriptor() ([]byte, []int)
- func (m *EstimateMintBySwapOutRequest) GetBackingInMax() types.Coin
- func (m *EstimateMintBySwapOutRequest) GetFullBacking() bool
- func (m *EstimateMintBySwapOutRequest) GetFuryInMax() types.Coin
- func (m *EstimateMintBySwapOutRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateMintBySwapOutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateMintBySwapOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateMintBySwapOutRequest) ProtoMessage()
- func (m *EstimateMintBySwapOutRequest) Reset()
- func (m *EstimateMintBySwapOutRequest) Size() (n int)
- func (m *EstimateMintBySwapOutRequest) String() string
- func (m *EstimateMintBySwapOutRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateMintBySwapOutRequest) XXX_DiscardUnknown()
- func (m *EstimateMintBySwapOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateMintBySwapOutRequest) XXX_Merge(src proto.Message)
- func (m *EstimateMintBySwapOutRequest) XXX_Size() int
- func (m *EstimateMintBySwapOutRequest) XXX_Unmarshal(b []byte) error
- type EstimateMintBySwapOutResponse
- func (*EstimateMintBySwapOutResponse) Descriptor() ([]byte, []int)
- func (m *EstimateMintBySwapOutResponse) GetBackingIn() types.Coin
- func (m *EstimateMintBySwapOutResponse) GetFuryIn() types.Coin
- func (m *EstimateMintBySwapOutResponse) GetMintFee() types.Coin
- func (m *EstimateMintBySwapOutResponse) GetMintOut() types.Coin
- func (m *EstimateMintBySwapOutResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateMintBySwapOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateMintBySwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateMintBySwapOutResponse) ProtoMessage()
- func (m *EstimateMintBySwapOutResponse) Reset()
- func (m *EstimateMintBySwapOutResponse) Size() (n int)
- func (m *EstimateMintBySwapOutResponse) String() string
- func (m *EstimateMintBySwapOutResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateMintBySwapOutResponse) XXX_DiscardUnknown()
- func (m *EstimateMintBySwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateMintBySwapOutResponse) XXX_Merge(src proto.Message)
- func (m *EstimateMintBySwapOutResponse) XXX_Size() int
- func (m *EstimateMintBySwapOutResponse) XXX_Unmarshal(b []byte) error
- type EstimateSellBackingInRequest
- func (*EstimateSellBackingInRequest) Descriptor() ([]byte, []int)
- func (m *EstimateSellBackingInRequest) GetBackingDenom() string
- func (m *EstimateSellBackingInRequest) GetFuryOut() types.Coin
- func (m *EstimateSellBackingInRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateSellBackingInRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSellBackingInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSellBackingInRequest) ProtoMessage()
- func (m *EstimateSellBackingInRequest) Reset()
- func (m *EstimateSellBackingInRequest) Size() (n int)
- func (m *EstimateSellBackingInRequest) String() string
- func (m *EstimateSellBackingInRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateSellBackingInRequest) XXX_DiscardUnknown()
- func (m *EstimateSellBackingInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSellBackingInRequest) XXX_Merge(src proto.Message)
- func (m *EstimateSellBackingInRequest) XXX_Size() int
- func (m *EstimateSellBackingInRequest) XXX_Unmarshal(b []byte) error
- type EstimateSellBackingInResponse
- func (*EstimateSellBackingInResponse) Descriptor() ([]byte, []int)
- func (m *EstimateSellBackingInResponse) GetBackingIn() types.Coin
- func (m *EstimateSellBackingInResponse) GetSellbackFee() types.Coin
- func (m *EstimateSellBackingInResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateSellBackingInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSellBackingInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSellBackingInResponse) ProtoMessage()
- func (m *EstimateSellBackingInResponse) Reset()
- func (m *EstimateSellBackingInResponse) Size() (n int)
- func (m *EstimateSellBackingInResponse) String() string
- func (m *EstimateSellBackingInResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateSellBackingInResponse) XXX_DiscardUnknown()
- func (m *EstimateSellBackingInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSellBackingInResponse) XXX_Merge(src proto.Message)
- func (m *EstimateSellBackingInResponse) XXX_Size() int
- func (m *EstimateSellBackingInResponse) XXX_Unmarshal(b []byte) error
- type EstimateSellBackingOutRequest
- func (*EstimateSellBackingOutRequest) Descriptor() ([]byte, []int)
- func (m *EstimateSellBackingOutRequest) GetBackingIn() types.Coin
- func (m *EstimateSellBackingOutRequest) Marshal() (dAtA []byte, err error)
- func (m *EstimateSellBackingOutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSellBackingOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSellBackingOutRequest) ProtoMessage()
- func (m *EstimateSellBackingOutRequest) Reset()
- func (m *EstimateSellBackingOutRequest) Size() (n int)
- func (m *EstimateSellBackingOutRequest) String() string
- func (m *EstimateSellBackingOutRequest) Unmarshal(dAtA []byte) error
- func (m *EstimateSellBackingOutRequest) XXX_DiscardUnknown()
- func (m *EstimateSellBackingOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSellBackingOutRequest) XXX_Merge(src proto.Message)
- func (m *EstimateSellBackingOutRequest) XXX_Size() int
- func (m *EstimateSellBackingOutRequest) XXX_Unmarshal(b []byte) error
- type EstimateSellBackingOutResponse
- func (*EstimateSellBackingOutResponse) Descriptor() ([]byte, []int)
- func (m *EstimateSellBackingOutResponse) GetFuryOut() types.Coin
- func (m *EstimateSellBackingOutResponse) GetSellbackFee() types.Coin
- func (m *EstimateSellBackingOutResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateSellBackingOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateSellBackingOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateSellBackingOutResponse) ProtoMessage()
- func (m *EstimateSellBackingOutResponse) Reset()
- func (m *EstimateSellBackingOutResponse) Size() (n int)
- func (m *EstimateSellBackingOutResponse) String() string
- func (m *EstimateSellBackingOutResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateSellBackingOutResponse) XXX_DiscardUnknown()
- func (m *EstimateSellBackingOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateSellBackingOutResponse) XXX_Merge(src proto.Message)
- func (m *EstimateSellBackingOutResponse) XXX_Size() int
- func (m *EstimateSellBackingOutResponse) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- 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 (gs GenesisState) Validate() 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 MsgBurnByCollateral
- func (*MsgBurnByCollateral) Descriptor() ([]byte, []int)
- func (m *MsgBurnByCollateral) GetSignBytes() []byte
- func (m *MsgBurnByCollateral) GetSigners() []sdk.AccAddress
- func (m *MsgBurnByCollateral) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnByCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnByCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnByCollateral) ProtoMessage()
- func (m *MsgBurnByCollateral) Reset()
- func (m *MsgBurnByCollateral) Route() string
- func (m *MsgBurnByCollateral) Size() (n int)
- func (m *MsgBurnByCollateral) String() string
- func (m *MsgBurnByCollateral) Type() string
- func (m *MsgBurnByCollateral) Unmarshal(dAtA []byte) error
- func (m *MsgBurnByCollateral) ValidateBasic() error
- func (m *MsgBurnByCollateral) XXX_DiscardUnknown()
- func (m *MsgBurnByCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnByCollateral) XXX_Merge(src proto.Message)
- func (m *MsgBurnByCollateral) XXX_Size() int
- func (m *MsgBurnByCollateral) XXX_Unmarshal(b []byte) error
- type MsgBurnByCollateralResponse
- func (*MsgBurnByCollateralResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnByCollateralResponse) GetRepayIn() types.Coin
- func (m *MsgBurnByCollateralResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnByCollateralResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnByCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnByCollateralResponse) ProtoMessage()
- func (m *MsgBurnByCollateralResponse) Reset()
- func (m *MsgBurnByCollateralResponse) Size() (n int)
- func (m *MsgBurnByCollateralResponse) String() string
- func (m *MsgBurnByCollateralResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnByCollateralResponse) XXX_DiscardUnknown()
- func (m *MsgBurnByCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnByCollateralResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnByCollateralResponse) XXX_Size() int
- func (m *MsgBurnByCollateralResponse) XXX_Unmarshal(b []byte) error
- type MsgBurnBySwap
- func (*MsgBurnBySwap) Descriptor() ([]byte, []int)
- func (m *MsgBurnBySwap) GetSignBytes() []byte
- func (m *MsgBurnBySwap) GetSigners() []sdk.AccAddress
- func (m *MsgBurnBySwap) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnBySwap) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnBySwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnBySwap) ProtoMessage()
- func (m *MsgBurnBySwap) Reset()
- func (m *MsgBurnBySwap) Route() string
- func (m *MsgBurnBySwap) Size() (n int)
- func (m *MsgBurnBySwap) String() string
- func (m *MsgBurnBySwap) Type() string
- func (m *MsgBurnBySwap) Unmarshal(dAtA []byte) error
- func (m *MsgBurnBySwap) ValidateBasic() error
- func (m *MsgBurnBySwap) XXX_DiscardUnknown()
- func (m *MsgBurnBySwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnBySwap) XXX_Merge(src proto.Message)
- func (m *MsgBurnBySwap) XXX_Size() int
- func (m *MsgBurnBySwap) XXX_Unmarshal(b []byte) error
- type MsgBurnBySwapResponse
- func (*MsgBurnBySwapResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnBySwapResponse) GetBackingOut() types.Coin
- func (m *MsgBurnBySwapResponse) GetBurnFee() types.Coin
- func (m *MsgBurnBySwapResponse) GetFuryOut() types.Coin
- func (m *MsgBurnBySwapResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnBySwapResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnBySwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnBySwapResponse) ProtoMessage()
- func (m *MsgBurnBySwapResponse) Reset()
- func (m *MsgBurnBySwapResponse) Size() (n int)
- func (m *MsgBurnBySwapResponse) String() string
- func (m *MsgBurnBySwapResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnBySwapResponse) XXX_DiscardUnknown()
- func (m *MsgBurnBySwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnBySwapResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnBySwapResponse) XXX_Size() int
- func (m *MsgBurnBySwapResponse) XXX_Unmarshal(b []byte) error
- type MsgBuyBacking
- func (*MsgBuyBacking) Descriptor() ([]byte, []int)
- func (m *MsgBuyBacking) GetSignBytes() []byte
- func (m *MsgBuyBacking) GetSigners() []sdk.AccAddress
- func (m *MsgBuyBacking) Marshal() (dAtA []byte, err error)
- func (m *MsgBuyBacking) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuyBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuyBacking) ProtoMessage()
- func (m *MsgBuyBacking) Reset()
- func (m *MsgBuyBacking) Route() string
- func (m *MsgBuyBacking) Size() (n int)
- func (m *MsgBuyBacking) String() string
- func (m *MsgBuyBacking) Type() string
- func (m *MsgBuyBacking) Unmarshal(dAtA []byte) error
- func (m *MsgBuyBacking) ValidateBasic() error
- func (m *MsgBuyBacking) XXX_DiscardUnknown()
- func (m *MsgBuyBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuyBacking) XXX_Merge(src proto.Message)
- func (m *MsgBuyBacking) XXX_Size() int
- func (m *MsgBuyBacking) XXX_Unmarshal(b []byte) error
- type MsgBuyBackingResponse
- func (*MsgBuyBackingResponse) Descriptor() ([]byte, []int)
- func (m *MsgBuyBackingResponse) GetBackingOut() types.Coin
- func (m *MsgBuyBackingResponse) GetBuybackFee() types.Coin
- func (m *MsgBuyBackingResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBuyBackingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuyBackingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuyBackingResponse) ProtoMessage()
- func (m *MsgBuyBackingResponse) Reset()
- func (m *MsgBuyBackingResponse) Size() (n int)
- func (m *MsgBuyBackingResponse) String() string
- func (m *MsgBuyBackingResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBuyBackingResponse) XXX_DiscardUnknown()
- func (m *MsgBuyBackingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuyBackingResponse) XXX_Merge(src proto.Message)
- func (m *MsgBuyBackingResponse) XXX_Size() int
- func (m *MsgBuyBackingResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDepositCollateral
- func (*MsgDepositCollateral) Descriptor() ([]byte, []int)
- func (m *MsgDepositCollateral) GetSignBytes() []byte
- func (m *MsgDepositCollateral) GetSigners() []sdk.AccAddress
- func (m *MsgDepositCollateral) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositCollateral) ProtoMessage()
- func (m *MsgDepositCollateral) Reset()
- func (m *MsgDepositCollateral) Route() string
- func (m *MsgDepositCollateral) Size() (n int)
- func (m *MsgDepositCollateral) String() string
- func (m *MsgDepositCollateral) Type() string
- func (m *MsgDepositCollateral) Unmarshal(dAtA []byte) error
- func (m *MsgDepositCollateral) ValidateBasic() error
- func (m *MsgDepositCollateral) XXX_DiscardUnknown()
- func (m *MsgDepositCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositCollateral) XXX_Merge(src proto.Message)
- func (m *MsgDepositCollateral) XXX_Size() int
- func (m *MsgDepositCollateral) XXX_Unmarshal(b []byte) error
- type MsgDepositCollateralResponse
- func (*MsgDepositCollateralResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositCollateralResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositCollateralResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositCollateralResponse) ProtoMessage()
- func (m *MsgDepositCollateralResponse) Reset()
- func (m *MsgDepositCollateralResponse) Size() (n int)
- func (m *MsgDepositCollateralResponse) String() string
- func (m *MsgDepositCollateralResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositCollateralResponse) XXX_DiscardUnknown()
- func (m *MsgDepositCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositCollateralResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositCollateralResponse) XXX_Size() int
- func (m *MsgDepositCollateralResponse) XXX_Unmarshal(b []byte) error
- type MsgLiquidateCollateral
- func (*MsgLiquidateCollateral) Descriptor() ([]byte, []int)
- func (m *MsgLiquidateCollateral) GetSignBytes() []byte
- func (m *MsgLiquidateCollateral) GetSigners() []sdk.AccAddress
- func (m *MsgLiquidateCollateral) Marshal() (dAtA []byte, err error)
- func (m *MsgLiquidateCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLiquidateCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLiquidateCollateral) ProtoMessage()
- func (m *MsgLiquidateCollateral) Reset()
- func (m *MsgLiquidateCollateral) Route() string
- func (m *MsgLiquidateCollateral) Size() (n int)
- func (m *MsgLiquidateCollateral) String() string
- func (m *MsgLiquidateCollateral) Type() string
- func (m *MsgLiquidateCollateral) Unmarshal(dAtA []byte) error
- func (m *MsgLiquidateCollateral) ValidateBasic() error
- func (m *MsgLiquidateCollateral) XXX_DiscardUnknown()
- func (m *MsgLiquidateCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLiquidateCollateral) XXX_Merge(src proto.Message)
- func (m *MsgLiquidateCollateral) XXX_Size() int
- func (m *MsgLiquidateCollateral) XXX_Unmarshal(b []byte) error
- type MsgLiquidateCollateralResponse
- func (*MsgLiquidateCollateralResponse) Descriptor() ([]byte, []int)
- func (m *MsgLiquidateCollateralResponse) GetCollateralOut() types.Coin
- func (m *MsgLiquidateCollateralResponse) GetRepayIn() types.Coin
- func (m *MsgLiquidateCollateralResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgLiquidateCollateralResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLiquidateCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLiquidateCollateralResponse) ProtoMessage()
- func (m *MsgLiquidateCollateralResponse) Reset()
- func (m *MsgLiquidateCollateralResponse) Size() (n int)
- func (m *MsgLiquidateCollateralResponse) String() string
- func (m *MsgLiquidateCollateralResponse) Unmarshal(dAtA []byte) error
- func (m *MsgLiquidateCollateralResponse) XXX_DiscardUnknown()
- func (m *MsgLiquidateCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLiquidateCollateralResponse) XXX_Merge(src proto.Message)
- func (m *MsgLiquidateCollateralResponse) XXX_Size() int
- func (m *MsgLiquidateCollateralResponse) XXX_Unmarshal(b []byte) error
- type MsgMintByCollateral
- func (*MsgMintByCollateral) Descriptor() ([]byte, []int)
- func (m *MsgMintByCollateral) GetSignBytes() []byte
- func (m *MsgMintByCollateral) GetSigners() []sdk.AccAddress
- func (m *MsgMintByCollateral) Marshal() (dAtA []byte, err error)
- func (m *MsgMintByCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintByCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintByCollateral) ProtoMessage()
- func (m *MsgMintByCollateral) Reset()
- func (m *MsgMintByCollateral) Route() string
- func (m *MsgMintByCollateral) Size() (n int)
- func (m *MsgMintByCollateral) String() string
- func (m *MsgMintByCollateral) Type() string
- func (m *MsgMintByCollateral) Unmarshal(dAtA []byte) error
- func (m *MsgMintByCollateral) ValidateBasic() error
- func (m *MsgMintByCollateral) XXX_DiscardUnknown()
- func (m *MsgMintByCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintByCollateral) XXX_Merge(src proto.Message)
- func (m *MsgMintByCollateral) XXX_Size() int
- func (m *MsgMintByCollateral) XXX_Unmarshal(b []byte) error
- type MsgMintByCollateralResponse
- func (*MsgMintByCollateralResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintByCollateralResponse) GetMintFee() types.Coin
- func (m *MsgMintByCollateralResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintByCollateralResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintByCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintByCollateralResponse) ProtoMessage()
- func (m *MsgMintByCollateralResponse) Reset()
- func (m *MsgMintByCollateralResponse) Size() (n int)
- func (m *MsgMintByCollateralResponse) String() string
- func (m *MsgMintByCollateralResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintByCollateralResponse) XXX_DiscardUnknown()
- func (m *MsgMintByCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintByCollateralResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintByCollateralResponse) XXX_Size() int
- func (m *MsgMintByCollateralResponse) XXX_Unmarshal(b []byte) error
- type MsgMintBySwap
- func (*MsgMintBySwap) Descriptor() ([]byte, []int)
- func (m *MsgMintBySwap) GetSignBytes() []byte
- func (m *MsgMintBySwap) GetSigners() []sdk.AccAddress
- func (m *MsgMintBySwap) Marshal() (dAtA []byte, err error)
- func (m *MsgMintBySwap) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintBySwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintBySwap) ProtoMessage()
- func (m *MsgMintBySwap) Reset()
- func (m *MsgMintBySwap) Route() string
- func (m *MsgMintBySwap) Size() (n int)
- func (m *MsgMintBySwap) String() string
- func (m *MsgMintBySwap) Type() string
- func (m *MsgMintBySwap) Unmarshal(dAtA []byte) error
- func (m *MsgMintBySwap) ValidateBasic() error
- func (m *MsgMintBySwap) XXX_DiscardUnknown()
- func (m *MsgMintBySwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintBySwap) XXX_Merge(src proto.Message)
- func (m *MsgMintBySwap) XXX_Size() int
- func (m *MsgMintBySwap) XXX_Unmarshal(b []byte) error
- type MsgMintBySwapResponse
- func (*MsgMintBySwapResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintBySwapResponse) GetBackingIn() types.Coin
- func (m *MsgMintBySwapResponse) GetFuryIn() types.Coin
- func (m *MsgMintBySwapResponse) GetMintFee() types.Coin
- func (m *MsgMintBySwapResponse) GetMintOut() types.Coin
- func (m *MsgMintBySwapResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintBySwapResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintBySwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintBySwapResponse) ProtoMessage()
- func (m *MsgMintBySwapResponse) Reset()
- func (m *MsgMintBySwapResponse) Size() (n int)
- func (m *MsgMintBySwapResponse) String() string
- func (m *MsgMintBySwapResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintBySwapResponse) XXX_DiscardUnknown()
- func (m *MsgMintBySwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintBySwapResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintBySwapResponse) XXX_Size() int
- func (m *MsgMintBySwapResponse) XXX_Unmarshal(b []byte) error
- type MsgRedeemCollateral
- func (*MsgRedeemCollateral) Descriptor() ([]byte, []int)
- func (m *MsgRedeemCollateral) GetSignBytes() []byte
- func (m *MsgRedeemCollateral) GetSigners() []sdk.AccAddress
- func (m *MsgRedeemCollateral) Marshal() (dAtA []byte, err error)
- func (m *MsgRedeemCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRedeemCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRedeemCollateral) ProtoMessage()
- func (m *MsgRedeemCollateral) Reset()
- func (m *MsgRedeemCollateral) Route() string
- func (m *MsgRedeemCollateral) Size() (n int)
- func (m *MsgRedeemCollateral) String() string
- func (m *MsgRedeemCollateral) Type() string
- func (m *MsgRedeemCollateral) Unmarshal(dAtA []byte) error
- func (m *MsgRedeemCollateral) ValidateBasic() error
- func (m *MsgRedeemCollateral) XXX_DiscardUnknown()
- func (m *MsgRedeemCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRedeemCollateral) XXX_Merge(src proto.Message)
- func (m *MsgRedeemCollateral) XXX_Size() int
- func (m *MsgRedeemCollateral) XXX_Unmarshal(b []byte) error
- type MsgRedeemCollateralResponse
- func (*MsgRedeemCollateralResponse) Descriptor() ([]byte, []int)
- func (m *MsgRedeemCollateralResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRedeemCollateralResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRedeemCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRedeemCollateralResponse) ProtoMessage()
- func (m *MsgRedeemCollateralResponse) Reset()
- func (m *MsgRedeemCollateralResponse) Size() (n int)
- func (m *MsgRedeemCollateralResponse) String() string
- func (m *MsgRedeemCollateralResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRedeemCollateralResponse) XXX_DiscardUnknown()
- func (m *MsgRedeemCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRedeemCollateralResponse) XXX_Merge(src proto.Message)
- func (m *MsgRedeemCollateralResponse) XXX_Size() int
- func (m *MsgRedeemCollateralResponse) XXX_Unmarshal(b []byte) error
- type MsgSellBacking
- func (*MsgSellBacking) Descriptor() ([]byte, []int)
- func (m *MsgSellBacking) GetSignBytes() []byte
- func (m *MsgSellBacking) GetSigners() []sdk.AccAddress
- func (m *MsgSellBacking) Marshal() (dAtA []byte, err error)
- func (m *MsgSellBacking) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSellBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSellBacking) ProtoMessage()
- func (m *MsgSellBacking) Reset()
- func (m *MsgSellBacking) Route() string
- func (m *MsgSellBacking) Size() (n int)
- func (m *MsgSellBacking) String() string
- func (m *MsgSellBacking) Type() string
- func (m *MsgSellBacking) Unmarshal(dAtA []byte) error
- func (m *MsgSellBacking) ValidateBasic() error
- func (m *MsgSellBacking) XXX_DiscardUnknown()
- func (m *MsgSellBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSellBacking) XXX_Merge(src proto.Message)
- func (m *MsgSellBacking) XXX_Size() int
- func (m *MsgSellBacking) XXX_Unmarshal(b []byte) error
- type MsgSellBackingResponse
- func (*MsgSellBackingResponse) Descriptor() ([]byte, []int)
- func (m *MsgSellBackingResponse) GetFuryOut() types.Coin
- func (m *MsgSellBackingResponse) GetRebackFee() types.Coin
- func (m *MsgSellBackingResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSellBackingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSellBackingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSellBackingResponse) ProtoMessage()
- func (m *MsgSellBackingResponse) Reset()
- func (m *MsgSellBackingResponse) Size() (n int)
- func (m *MsgSellBackingResponse) String() string
- func (m *MsgSellBackingResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSellBackingResponse) XXX_DiscardUnknown()
- func (m *MsgSellBackingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSellBackingResponse) XXX_Merge(src proto.Message)
- func (m *MsgSellBackingResponse) XXX_Size() int
- func (m *MsgSellBackingResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type OracleKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetBackingRatioCooldownPeriod() int64
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() 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 PoolBacking
- func (*PoolBacking) Descriptor() ([]byte, []int)
- func (m *PoolBacking) GetBacking() types.Coin
- func (m *PoolBacking) GetBlackMinted() types.Coin
- func (m *PoolBacking) GetFuryBurned() types.Coin
- func (m *PoolBacking) Marshal() (dAtA []byte, err error)
- func (m *PoolBacking) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolBacking) ProtoMessage()
- func (m *PoolBacking) Reset()
- func (m *PoolBacking) Size() (n int)
- func (m *PoolBacking) String() string
- func (m *PoolBacking) Unmarshal(dAtA []byte) error
- func (m *PoolBacking) XXX_DiscardUnknown()
- func (m *PoolBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolBacking) XXX_Merge(src proto.Message)
- func (m *PoolBacking) XXX_Size() int
- func (m *PoolBacking) XXX_Unmarshal(b []byte) error
- type PoolCollateral
- func (*PoolCollateral) Descriptor() ([]byte, []int)
- func (m *PoolCollateral) GetBlackDebt() types.Coin
- func (m *PoolCollateral) GetCollateral() types.Coin
- func (m *PoolCollateral) GetFuryCollateralized() types.Coin
- func (m *PoolCollateral) Marshal() (dAtA []byte, err error)
- func (m *PoolCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *PoolCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PoolCollateral) ProtoMessage()
- func (m *PoolCollateral) Reset()
- func (m *PoolCollateral) Size() (n int)
- func (m *PoolCollateral) String() string
- func (m *PoolCollateral) Unmarshal(dAtA []byte) error
- func (m *PoolCollateral) XXX_DiscardUnknown()
- func (m *PoolCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolCollateral) XXX_Merge(src proto.Message)
- func (m *PoolCollateral) XXX_Size() int
- func (m *PoolCollateral) XXX_Unmarshal(b []byte) error
- type QueryAllBackingPoolsRequest
- func (*QueryAllBackingPoolsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllBackingPoolsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBackingPoolsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBackingPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBackingPoolsRequest) ProtoMessage()
- func (m *QueryAllBackingPoolsRequest) Reset()
- func (m *QueryAllBackingPoolsRequest) Size() (n int)
- func (m *QueryAllBackingPoolsRequest) String() string
- func (m *QueryAllBackingPoolsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllBackingPoolsRequest) XXX_DiscardUnknown()
- func (m *QueryAllBackingPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBackingPoolsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllBackingPoolsRequest) XXX_Size() int
- func (m *QueryAllBackingPoolsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllBackingPoolsResponse
- func (*QueryAllBackingPoolsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllBackingPoolsResponse) GetBackingPools() []PoolBacking
- func (m *QueryAllBackingPoolsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBackingPoolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBackingPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBackingPoolsResponse) ProtoMessage()
- func (m *QueryAllBackingPoolsResponse) Reset()
- func (m *QueryAllBackingPoolsResponse) Size() (n int)
- func (m *QueryAllBackingPoolsResponse) String() string
- func (m *QueryAllBackingPoolsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllBackingPoolsResponse) XXX_DiscardUnknown()
- func (m *QueryAllBackingPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBackingPoolsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllBackingPoolsResponse) XXX_Size() int
- func (m *QueryAllBackingPoolsResponse) XXX_Unmarshal(b []byte) error
- type QueryAllBackingRiskParamsRequest
- func (*QueryAllBackingRiskParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllBackingRiskParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBackingRiskParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBackingRiskParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBackingRiskParamsRequest) ProtoMessage()
- func (m *QueryAllBackingRiskParamsRequest) Reset()
- func (m *QueryAllBackingRiskParamsRequest) Size() (n int)
- func (m *QueryAllBackingRiskParamsRequest) String() string
- func (m *QueryAllBackingRiskParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllBackingRiskParamsRequest) XXX_DiscardUnknown()
- func (m *QueryAllBackingRiskParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBackingRiskParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllBackingRiskParamsRequest) XXX_Size() int
- func (m *QueryAllBackingRiskParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllBackingRiskParamsResponse
- func (*QueryAllBackingRiskParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllBackingRiskParamsResponse) GetRiskParams() []BackingRiskParams
- func (m *QueryAllBackingRiskParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBackingRiskParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBackingRiskParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBackingRiskParamsResponse) ProtoMessage()
- func (m *QueryAllBackingRiskParamsResponse) Reset()
- func (m *QueryAllBackingRiskParamsResponse) Size() (n int)
- func (m *QueryAllBackingRiskParamsResponse) String() string
- func (m *QueryAllBackingRiskParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllBackingRiskParamsResponse) XXX_DiscardUnknown()
- func (m *QueryAllBackingRiskParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBackingRiskParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllBackingRiskParamsResponse) XXX_Size() int
- func (m *QueryAllBackingRiskParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryAllCollateralPoolsRequest
- func (*QueryAllCollateralPoolsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllCollateralPoolsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCollateralPoolsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCollateralPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCollateralPoolsRequest) ProtoMessage()
- func (m *QueryAllCollateralPoolsRequest) Reset()
- func (m *QueryAllCollateralPoolsRequest) Size() (n int)
- func (m *QueryAllCollateralPoolsRequest) String() string
- func (m *QueryAllCollateralPoolsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllCollateralPoolsRequest) XXX_DiscardUnknown()
- func (m *QueryAllCollateralPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCollateralPoolsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllCollateralPoolsRequest) XXX_Size() int
- func (m *QueryAllCollateralPoolsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllCollateralPoolsResponse
- func (*QueryAllCollateralPoolsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllCollateralPoolsResponse) GetCollateralPools() []PoolCollateral
- func (m *QueryAllCollateralPoolsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCollateralPoolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCollateralPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCollateralPoolsResponse) ProtoMessage()
- func (m *QueryAllCollateralPoolsResponse) Reset()
- func (m *QueryAllCollateralPoolsResponse) Size() (n int)
- func (m *QueryAllCollateralPoolsResponse) String() string
- func (m *QueryAllCollateralPoolsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllCollateralPoolsResponse) XXX_DiscardUnknown()
- func (m *QueryAllCollateralPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCollateralPoolsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllCollateralPoolsResponse) XXX_Size() int
- func (m *QueryAllCollateralPoolsResponse) XXX_Unmarshal(b []byte) error
- type QueryAllCollateralRiskParamsRequest
- func (*QueryAllCollateralRiskParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllCollateralRiskParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCollateralRiskParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCollateralRiskParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCollateralRiskParamsRequest) ProtoMessage()
- func (m *QueryAllCollateralRiskParamsRequest) Reset()
- func (m *QueryAllCollateralRiskParamsRequest) Size() (n int)
- func (m *QueryAllCollateralRiskParamsRequest) String() string
- func (m *QueryAllCollateralRiskParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllCollateralRiskParamsRequest) XXX_DiscardUnknown()
- func (m *QueryAllCollateralRiskParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCollateralRiskParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllCollateralRiskParamsRequest) XXX_Size() int
- func (m *QueryAllCollateralRiskParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllCollateralRiskParamsResponse
- func (*QueryAllCollateralRiskParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllCollateralRiskParamsResponse) GetRiskParams() []CollateralRiskParams
- func (m *QueryAllCollateralRiskParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCollateralRiskParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCollateralRiskParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCollateralRiskParamsResponse) ProtoMessage()
- func (m *QueryAllCollateralRiskParamsResponse) Reset()
- func (m *QueryAllCollateralRiskParamsResponse) Size() (n int)
- func (m *QueryAllCollateralRiskParamsResponse) String() string
- func (m *QueryAllCollateralRiskParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllCollateralRiskParamsResponse) XXX_DiscardUnknown()
- func (m *QueryAllCollateralRiskParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCollateralRiskParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllCollateralRiskParamsResponse) XXX_Size() int
- func (m *QueryAllCollateralRiskParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryBackingPoolRequest
- func (*QueryBackingPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryBackingPoolRequest) GetBackingDenom() string
- func (m *QueryBackingPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBackingPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBackingPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBackingPoolRequest) ProtoMessage()
- func (m *QueryBackingPoolRequest) Reset()
- func (m *QueryBackingPoolRequest) Size() (n int)
- func (m *QueryBackingPoolRequest) String() string
- func (m *QueryBackingPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBackingPoolRequest) XXX_DiscardUnknown()
- func (m *QueryBackingPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBackingPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryBackingPoolRequest) XXX_Size() int
- func (m *QueryBackingPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryBackingPoolResponse
- func (*QueryBackingPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryBackingPoolResponse) GetBackingPool() PoolBacking
- func (m *QueryBackingPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBackingPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBackingPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBackingPoolResponse) ProtoMessage()
- func (m *QueryBackingPoolResponse) Reset()
- func (m *QueryBackingPoolResponse) Size() (n int)
- func (m *QueryBackingPoolResponse) String() string
- func (m *QueryBackingPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBackingPoolResponse) XXX_DiscardUnknown()
- func (m *QueryBackingPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBackingPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryBackingPoolResponse) XXX_Size() int
- func (m *QueryBackingPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryBackingRatioRequest
- func (*QueryBackingRatioRequest) Descriptor() ([]byte, []int)
- func (m *QueryBackingRatioRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBackingRatioRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBackingRatioRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBackingRatioRequest) ProtoMessage()
- func (m *QueryBackingRatioRequest) Reset()
- func (m *QueryBackingRatioRequest) Size() (n int)
- func (m *QueryBackingRatioRequest) String() string
- func (m *QueryBackingRatioRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBackingRatioRequest) XXX_DiscardUnknown()
- func (m *QueryBackingRatioRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBackingRatioRequest) XXX_Merge(src proto.Message)
- func (m *QueryBackingRatioRequest) XXX_Size() int
- func (m *QueryBackingRatioRequest) XXX_Unmarshal(b []byte) error
- type QueryBackingRatioResponse
- func (*QueryBackingRatioResponse) Descriptor() ([]byte, []int)
- func (m *QueryBackingRatioResponse) GetLastUpdateBlock() int64
- func (m *QueryBackingRatioResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBackingRatioResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBackingRatioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBackingRatioResponse) ProtoMessage()
- func (m *QueryBackingRatioResponse) Reset()
- func (m *QueryBackingRatioResponse) Size() (n int)
- func (m *QueryBackingRatioResponse) String() string
- func (m *QueryBackingRatioResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBackingRatioResponse) XXX_DiscardUnknown()
- func (m *QueryBackingRatioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBackingRatioResponse) XXX_Merge(src proto.Message)
- func (m *QueryBackingRatioResponse) XXX_Size() int
- func (m *QueryBackingRatioResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCollateralOfAccountRequest
- func (*QueryCollateralOfAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryCollateralOfAccountRequest) GetAccount() string
- func (m *QueryCollateralOfAccountRequest) GetCollateralDenom() string
- func (m *QueryCollateralOfAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCollateralOfAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollateralOfAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollateralOfAccountRequest) ProtoMessage()
- func (m *QueryCollateralOfAccountRequest) Reset()
- func (m *QueryCollateralOfAccountRequest) Size() (n int)
- func (m *QueryCollateralOfAccountRequest) String() string
- func (m *QueryCollateralOfAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCollateralOfAccountRequest) XXX_DiscardUnknown()
- func (m *QueryCollateralOfAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollateralOfAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryCollateralOfAccountRequest) XXX_Size() int
- func (m *QueryCollateralOfAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryCollateralOfAccountResponse
- func (*QueryCollateralOfAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryCollateralOfAccountResponse) GetAccountCollateral() AccountCollateral
- func (m *QueryCollateralOfAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCollateralOfAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollateralOfAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollateralOfAccountResponse) ProtoMessage()
- func (m *QueryCollateralOfAccountResponse) Reset()
- func (m *QueryCollateralOfAccountResponse) Size() (n int)
- func (m *QueryCollateralOfAccountResponse) String() string
- func (m *QueryCollateralOfAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCollateralOfAccountResponse) XXX_DiscardUnknown()
- func (m *QueryCollateralOfAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollateralOfAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryCollateralOfAccountResponse) XXX_Size() int
- func (m *QueryCollateralOfAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryCollateralPoolRequest
- func (*QueryCollateralPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryCollateralPoolRequest) GetCollateralDenom() string
- func (m *QueryCollateralPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCollateralPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollateralPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollateralPoolRequest) ProtoMessage()
- func (m *QueryCollateralPoolRequest) Reset()
- func (m *QueryCollateralPoolRequest) Size() (n int)
- func (m *QueryCollateralPoolRequest) String() string
- func (m *QueryCollateralPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCollateralPoolRequest) XXX_DiscardUnknown()
- func (m *QueryCollateralPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollateralPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryCollateralPoolRequest) XXX_Size() int
- func (m *QueryCollateralPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryCollateralPoolResponse
- func (*QueryCollateralPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryCollateralPoolResponse) GetCollateralPool() PoolCollateral
- func (m *QueryCollateralPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCollateralPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCollateralPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCollateralPoolResponse) ProtoMessage()
- func (m *QueryCollateralPoolResponse) Reset()
- func (m *QueryCollateralPoolResponse) Size() (n int)
- func (m *QueryCollateralPoolResponse) String() string
- func (m *QueryCollateralPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCollateralPoolResponse) XXX_DiscardUnknown()
- func (m *QueryCollateralPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCollateralPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryCollateralPoolResponse) XXX_Size() int
- func (m *QueryCollateralPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTotalBackingRequest
- func (*QueryTotalBackingRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalBackingRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalBackingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalBackingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalBackingRequest) ProtoMessage()
- func (m *QueryTotalBackingRequest) Reset()
- func (m *QueryTotalBackingRequest) Size() (n int)
- func (m *QueryTotalBackingRequest) String() string
- func (m *QueryTotalBackingRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalBackingRequest) XXX_DiscardUnknown()
- func (m *QueryTotalBackingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalBackingRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalBackingRequest) XXX_Size() int
- func (m *QueryTotalBackingRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalBackingResponse
- func (*QueryTotalBackingResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalBackingResponse) GetTotalBacking() TotalBacking
- func (m *QueryTotalBackingResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalBackingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalBackingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalBackingResponse) ProtoMessage()
- func (m *QueryTotalBackingResponse) Reset()
- func (m *QueryTotalBackingResponse) Size() (n int)
- func (m *QueryTotalBackingResponse) String() string
- func (m *QueryTotalBackingResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalBackingResponse) XXX_DiscardUnknown()
- func (m *QueryTotalBackingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalBackingResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalBackingResponse) XXX_Size() int
- func (m *QueryTotalBackingResponse) XXX_Unmarshal(b []byte) error
- type QueryTotalCollateralRequest
- func (*QueryTotalCollateralRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalCollateralRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalCollateralRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalCollateralRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalCollateralRequest) ProtoMessage()
- func (m *QueryTotalCollateralRequest) Reset()
- func (m *QueryTotalCollateralRequest) Size() (n int)
- func (m *QueryTotalCollateralRequest) String() string
- func (m *QueryTotalCollateralRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalCollateralRequest) XXX_DiscardUnknown()
- func (m *QueryTotalCollateralRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalCollateralRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalCollateralRequest) XXX_Size() int
- func (m *QueryTotalCollateralRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalCollateralResponse
- func (*QueryTotalCollateralResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalCollateralResponse) GetTotalCollateral() TotalCollateral
- func (m *QueryTotalCollateralResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalCollateralResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalCollateralResponse) ProtoMessage()
- func (m *QueryTotalCollateralResponse) Reset()
- func (m *QueryTotalCollateralResponse) Size() (n int)
- func (m *QueryTotalCollateralResponse) String() string
- func (m *QueryTotalCollateralResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalCollateralResponse) XXX_DiscardUnknown()
- func (m *QueryTotalCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalCollateralResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalCollateralResponse) XXX_Size() int
- func (m *QueryTotalCollateralResponse) XXX_Unmarshal(b []byte) error
- type RegisterBackingProposal
- func (*RegisterBackingProposal) Descriptor() ([]byte, []int)
- func (m *RegisterBackingProposal) GetDescription() string
- func (m *RegisterBackingProposal) GetRiskParams() BackingRiskParams
- func (m *RegisterBackingProposal) GetTitle() string
- func (m *RegisterBackingProposal) Marshal() (dAtA []byte, err error)
- func (m *RegisterBackingProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterBackingProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *RegisterBackingProposal) ProposalRoute() string
- func (m *RegisterBackingProposal) ProposalType() string
- func (*RegisterBackingProposal) ProtoMessage()
- func (m *RegisterBackingProposal) Reset()
- func (m *RegisterBackingProposal) Size() (n int)
- func (m *RegisterBackingProposal) String() string
- func (m *RegisterBackingProposal) Unmarshal(dAtA []byte) error
- func (m *RegisterBackingProposal) ValidateBasic() error
- func (m *RegisterBackingProposal) XXX_DiscardUnknown()
- func (m *RegisterBackingProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterBackingProposal) XXX_Merge(src proto.Message)
- func (m *RegisterBackingProposal) XXX_Size() int
- func (m *RegisterBackingProposal) XXX_Unmarshal(b []byte) error
- type RegisterCollateralProposal
- func (*RegisterCollateralProposal) Descriptor() ([]byte, []int)
- func (m *RegisterCollateralProposal) GetDescription() string
- func (m *RegisterCollateralProposal) GetRiskParams() CollateralRiskParams
- func (m *RegisterCollateralProposal) GetTitle() string
- func (m *RegisterCollateralProposal) Marshal() (dAtA []byte, err error)
- func (m *RegisterCollateralProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterCollateralProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *RegisterCollateralProposal) ProposalRoute() string
- func (m *RegisterCollateralProposal) ProposalType() string
- func (*RegisterCollateralProposal) ProtoMessage()
- func (m *RegisterCollateralProposal) Reset()
- func (m *RegisterCollateralProposal) Size() (n int)
- func (m *RegisterCollateralProposal) String() string
- func (m *RegisterCollateralProposal) Unmarshal(dAtA []byte) error
- func (m *RegisterCollateralProposal) ValidateBasic() error
- func (m *RegisterCollateralProposal) XXX_DiscardUnknown()
- func (m *RegisterCollateralProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterCollateralProposal) XXX_Merge(src proto.Message)
- func (m *RegisterCollateralProposal) XXX_Size() int
- func (m *RegisterCollateralProposal) XXX_Unmarshal(b []byte) error
- type SetBackingRiskParamsProposal
- func (*SetBackingRiskParamsProposal) Descriptor() ([]byte, []int)
- func (m *SetBackingRiskParamsProposal) GetDescription() string
- func (m *SetBackingRiskParamsProposal) GetRiskParams() BackingRiskParams
- func (m *SetBackingRiskParamsProposal) GetTitle() string
- func (m *SetBackingRiskParamsProposal) Marshal() (dAtA []byte, err error)
- func (m *SetBackingRiskParamsProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SetBackingRiskParamsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SetBackingRiskParamsProposal) ProposalRoute() string
- func (m *SetBackingRiskParamsProposal) ProposalType() string
- func (*SetBackingRiskParamsProposal) ProtoMessage()
- func (m *SetBackingRiskParamsProposal) Reset()
- func (m *SetBackingRiskParamsProposal) Size() (n int)
- func (m *SetBackingRiskParamsProposal) String() string
- func (m *SetBackingRiskParamsProposal) Unmarshal(dAtA []byte) error
- func (m *SetBackingRiskParamsProposal) ValidateBasic() error
- func (m *SetBackingRiskParamsProposal) XXX_DiscardUnknown()
- func (m *SetBackingRiskParamsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetBackingRiskParamsProposal) XXX_Merge(src proto.Message)
- func (m *SetBackingRiskParamsProposal) XXX_Size() int
- func (m *SetBackingRiskParamsProposal) XXX_Unmarshal(b []byte) error
- type SetCollateralRiskParamsProposal
- func (*SetCollateralRiskParamsProposal) Descriptor() ([]byte, []int)
- func (m *SetCollateralRiskParamsProposal) GetDescription() string
- func (m *SetCollateralRiskParamsProposal) GetRiskParams() CollateralRiskParams
- func (m *SetCollateralRiskParamsProposal) GetTitle() string
- func (m *SetCollateralRiskParamsProposal) Marshal() (dAtA []byte, err error)
- func (m *SetCollateralRiskParamsProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SetCollateralRiskParamsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SetCollateralRiskParamsProposal) ProposalRoute() string
- func (m *SetCollateralRiskParamsProposal) ProposalType() string
- func (*SetCollateralRiskParamsProposal) ProtoMessage()
- func (m *SetCollateralRiskParamsProposal) Reset()
- func (m *SetCollateralRiskParamsProposal) Size() (n int)
- func (m *SetCollateralRiskParamsProposal) String() string
- func (m *SetCollateralRiskParamsProposal) Unmarshal(dAtA []byte) error
- func (m *SetCollateralRiskParamsProposal) ValidateBasic() error
- func (m *SetCollateralRiskParamsProposal) XXX_DiscardUnknown()
- func (m *SetCollateralRiskParamsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetCollateralRiskParamsProposal) XXX_Merge(src proto.Message)
- func (m *SetCollateralRiskParamsProposal) XXX_Size() int
- func (m *SetCollateralRiskParamsProposal) XXX_Unmarshal(b []byte) error
- type TotalBacking
- func (*TotalBacking) Descriptor() ([]byte, []int)
- func (m *TotalBacking) GetBlackMinted() types.Coin
- func (m *TotalBacking) GetFuryBurned() types.Coin
- func (m *TotalBacking) Marshal() (dAtA []byte, err error)
- func (m *TotalBacking) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalBacking) ProtoMessage()
- func (m *TotalBacking) Reset()
- func (m *TotalBacking) Size() (n int)
- func (m *TotalBacking) String() string
- func (m *TotalBacking) Unmarshal(dAtA []byte) error
- func (m *TotalBacking) XXX_DiscardUnknown()
- func (m *TotalBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalBacking) XXX_Merge(src proto.Message)
- func (m *TotalBacking) XXX_Size() int
- func (m *TotalBacking) XXX_Unmarshal(b []byte) error
- type TotalCollateral
- func (*TotalCollateral) Descriptor() ([]byte, []int)
- func (m *TotalCollateral) GetBlackDebt() types.Coin
- func (m *TotalCollateral) GetFuryCollateralized() types.Coin
- func (m *TotalCollateral) Marshal() (dAtA []byte, err error)
- func (m *TotalCollateral) MarshalTo(dAtA []byte) (int, error)
- func (m *TotalCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TotalCollateral) ProtoMessage()
- func (m *TotalCollateral) Reset()
- func (m *TotalCollateral) Size() (n int)
- func (m *TotalCollateral) String() string
- func (m *TotalCollateral) Unmarshal(dAtA []byte) error
- func (m *TotalCollateral) XXX_DiscardUnknown()
- func (m *TotalCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TotalCollateral) XXX_Merge(src proto.Message)
- func (m *TotalCollateral) XXX_Size() int
- func (m *TotalCollateral) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BurnByCollateral(ctx context.Context, req *MsgBurnByCollateral) (*MsgBurnByCollateralResponse, error)
- func (*UnimplementedMsgServer) BurnBySwap(ctx context.Context, req *MsgBurnBySwap) (*MsgBurnBySwapResponse, error)
- func (*UnimplementedMsgServer) BuyBacking(ctx context.Context, req *MsgBuyBacking) (*MsgBuyBackingResponse, error)
- func (*UnimplementedMsgServer) DepositCollateral(ctx context.Context, req *MsgDepositCollateral) (*MsgDepositCollateralResponse, error)
- func (*UnimplementedMsgServer) LiquidateCollateral(ctx context.Context, req *MsgLiquidateCollateral) (*MsgLiquidateCollateralResponse, error)
- func (*UnimplementedMsgServer) MintByCollateral(ctx context.Context, req *MsgMintByCollateral) (*MsgMintByCollateralResponse, error)
- func (*UnimplementedMsgServer) MintBySwap(ctx context.Context, req *MsgMintBySwap) (*MsgMintBySwapResponse, error)
- func (*UnimplementedMsgServer) RedeemCollateral(ctx context.Context, req *MsgRedeemCollateral) (*MsgRedeemCollateralResponse, error)
- func (*UnimplementedMsgServer) SellBacking(ctx context.Context, req *MsgSellBacking) (*MsgSellBackingResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllBackingPools(ctx context.Context, req *QueryAllBackingPoolsRequest) (*QueryAllBackingPoolsResponse, error)
- func (*UnimplementedQueryServer) AllBackingRiskParams(ctx context.Context, req *QueryAllBackingRiskParamsRequest) (*QueryAllBackingRiskParamsResponse, error)
- func (*UnimplementedQueryServer) AllCollateralPools(ctx context.Context, req *QueryAllCollateralPoolsRequest) (*QueryAllCollateralPoolsResponse, error)
- func (*UnimplementedQueryServer) AllCollateralRiskParams(ctx context.Context, req *QueryAllCollateralRiskParamsRequest) (*QueryAllCollateralRiskParamsResponse, error)
- func (*UnimplementedQueryServer) BackingPool(ctx context.Context, req *QueryBackingPoolRequest) (*QueryBackingPoolResponse, error)
- func (*UnimplementedQueryServer) BackingRatio(ctx context.Context, req *QueryBackingRatioRequest) (*QueryBackingRatioResponse, error)
- func (*UnimplementedQueryServer) CollateralOfAccount(ctx context.Context, req *QueryCollateralOfAccountRequest) (*QueryCollateralOfAccountResponse, error)
- func (*UnimplementedQueryServer) CollateralPool(ctx context.Context, req *QueryCollateralPoolRequest) (*QueryCollateralPoolResponse, error)
- func (*UnimplementedQueryServer) EstimateBurnBySwapIn(ctx context.Context, req *EstimateBurnBySwapInRequest) (*EstimateBurnBySwapInResponse, error)
- func (*UnimplementedQueryServer) EstimateBurnBySwapOut(ctx context.Context, req *EstimateBurnBySwapOutRequest) (*EstimateBurnBySwapOutResponse, error)
- func (*UnimplementedQueryServer) EstimateBuyBackingIn(ctx context.Context, req *EstimateBuyBackingInRequest) (*EstimateBuyBackingInResponse, error)
- func (*UnimplementedQueryServer) EstimateBuyBackingOut(ctx context.Context, req *EstimateBuyBackingOutRequest) (*EstimateBuyBackingOutResponse, error)
- func (*UnimplementedQueryServer) EstimateMintBySwapIn(ctx context.Context, req *EstimateMintBySwapInRequest) (*EstimateMintBySwapInResponse, error)
- func (*UnimplementedQueryServer) EstimateMintBySwapOut(ctx context.Context, req *EstimateMintBySwapOutRequest) (*EstimateMintBySwapOutResponse, error)
- func (*UnimplementedQueryServer) EstimateSellBackingIn(ctx context.Context, req *EstimateSellBackingInRequest) (*EstimateSellBackingInResponse, error)
- func (*UnimplementedQueryServer) EstimateSellBackingOut(ctx context.Context, req *EstimateSellBackingOutRequest) (*EstimateSellBackingOutResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) TotalBacking(ctx context.Context, req *QueryTotalBackingRequest) (*QueryTotalBackingResponse, error)
- func (*UnimplementedQueryServer) TotalCollateral(ctx context.Context, req *QueryTotalCollateralRequest) (*QueryTotalCollateralResponse, error)
Constants ¶
const ( EventTypeMintBySwap = "mint_by_swap" EventTypeBurnBySwap = "burn_by_swap" EventTypeBuyBacking = "buy_backing" EventTypeSellBacking = "sell_backing" EventTypeMintByCollateral = "mint_by_collateral" EventTypeBurnByCollateral = "burn_by_collateral" EventTypeDepositCollateral = "deposit_collateral" EventTypeRedeemCollateral = "redeem_collateral" EventTypeLiquidateCollateral = "liquidate_collateral" AttributeKeySender = "sender" AttributeKeyReceiver = "receiver" AttributeKeyCoinIn = "coin_in" AttributeKeyCoinOut = "coin_out" AttributeKeyFee = "fee" EventTypeRegisterBacking = "register_backing" EventTypeRegisterCollateral = "register_collateral" EventTypeSetBackingRiskParams = "set_backing_risk_params" EventTypeSetCollateralRiskParams = "set_collateral_risk_params" AttributeKeyRiskParams = "risk_params" AttributeValueCategory = ModuleName )
maker module event types
const ( // ModuleName defines the module name ModuleName = "maker" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_maker" )
const ( TypeMsgMintBySwap = "mint_by_swap" TypeMsgBurnBySwap = "burn_by_swap" TypeMsgMintByCollateral = "mint_by_collateral" TypeMsgBurnByCollateral = "burn_by_collateral" TypeMsgDepositCollateral = "deposit_collateral" TypeMsgRedeemCollateral = "redeem_collateral" TypeMsgBuyBacking = "buy_backing" TypeMsgSellBacking = "sell_backing" TypeMsgLiquidateCollateral = "liquidate_collateral" )
const ( ProposalTypeRegisterBacking = "RegisterBacking" ProposalTypeRegisterCollateral = "RegisterCollateral" ProposalTypeSetBackingRiskParams = "SetBackingRiskParams" ProposalTypeSetCollateralRiskParams = "SetCollateralRiskParams" ProposalTypeBatchSetBackingRiskParams = "BatchSetBackingRiskParams" ProposalTypeBatchSetCollateralRiskParams = "BatchSetCollateralRiskParams" )
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrBlackPriceTooLow = sdkerrors.Register(ModuleName, 2, "black stablecoin price too low") ErrBlackPriceTooHigh = sdkerrors.Register(ModuleName, 3, "black stablecoin price too high") ErrBackingParamsInvalid = sdkerrors.Register(ModuleName, 4, "backing params invalid") ErrCollateralParamsInvalid = sdkerrors.Register(ModuleName, 5, "collateral params invalid") ErrBackingCoinDisabled = sdkerrors.Register(ModuleName, 6, "backing coin disabled") ErrCollateralCoinDisabled = sdkerrors.Register(ModuleName, 7, "collateral coin disabled") ErrBackingCoinAlreadyExists = sdkerrors.Register(ModuleName, 8, "backing coin already exists") ErrCollateralCoinAlreadyExists = sdkerrors.Register(ModuleName, 9, "collateral coin already exists") ErrBackingCoinNotFound = sdkerrors.Register(ModuleName, 10, "backing coin not found") ErrCollateralCoinNotFound = sdkerrors.Register(ModuleName, 11, "collateral coin not found") ErrBlackSlippage = sdkerrors.Register(ModuleName, 12, "black over slippage") ErrBackingCoinSlippage = sdkerrors.Register(ModuleName, 13, "backing coin over slippage") ErrFuryCoinSlippage = sdkerrors.Register(ModuleName, 14, "fury coin over slippage") ErrBackingCeiling = sdkerrors.Register(ModuleName, 15, "total backing coin over ceiling") ErrCollateralCeiling = sdkerrors.Register(ModuleName, 16, "total collateral coin over ceiling") ErrBlackCeiling = sdkerrors.Register(ModuleName, 17, "total black coin over ceiling") ErrBackingCoinInsufficient = sdkerrors.Register(ModuleName, 18, "backing coin balance insufficient") ErrCollateralCoinInsufficient = sdkerrors.Register(ModuleName, 19, "collateral coin balance insufficient") ErrFuryCoinInsufficient = sdkerrors.Register(ModuleName, 20, "insufficient available fury coin") ErrAccountNoCollateral = sdkerrors.Register(ModuleName, 21, "account has no collateral") ErrAccountInsufficientCollateral = sdkerrors.Register(ModuleName, 22, "account collateral insufficient") ErrAccountNoDebt = sdkerrors.Register(ModuleName, 23, "account has no debt") ErrNotUndercollateralized = sdkerrors.Register(ModuleName, 24, "position is not undercollateralized") ErrLTVOutOfRange = sdkerrors.Register(ModuleName, 25, "LTV is out of range") ErrOverSlippage = sdkerrors.Register(ModuleName, 26, "over slippage") )
x/maker module sentinel errors
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 ( KeyPrefixBackingRatio = []byte{prefixBackingRatio} KeyPrefixBackingRatioLastBlock = []byte{prefixBackingRatioLastBlock} KeyPrefixBackingParams = []byte{prefixBackingParams} KeyPrefixCollateralParams = []byte{prefixCollateralParams} KeyPrefixBackingTotal = []byte{prefixBackingTotal} KeyPrefixCollateralTotal = []byte{prefixCollateralTotal} KeyPrefixBackingPool = []byte{prefixBackingPool} KeyPrefixCollateralPool = []byte{prefixCollateralPool} KeyPrefixBackingAccount = []byte{prefixBackingAccount} KeyPrefixCollateralAccount = []byte{prefixCollateralAccount} )
var ( ErrInvalidLengthMaker = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMaker = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMaker = fmt.Errorf("proto: unexpected end of group") )
var ( KeyBackingRatioStep = []byte("BackingRatioStep") KeyBackingRatioPriceBand = []byte("BackingRatioPriceBand") KeyBackingRatioCooldownPeriod = []byte("BackingRatioCooldownPeriod") KeyMintPriceBias = []byte("MintPriceBias") KeyBurnPriceBias = []byte("BurnPriceBias") KeyRebackBonus = []byte("RebackBonus") KeyLiquidationCommissionFee = []byte("LiquidationCommissionFee") )
Parameter keys
var ( DefaultBackingRatioStep = sdk.NewDecWithPrec(25, 4) // 0.25% DefaultBackingRatioPriceBand = sdk.NewDecWithPrec(5, 3) // 0.5% DefaultBackingRatioCooldownPeriod = int64(blackfury.BlocksPerHour) // 600 DefaultMintPriceBias = sdk.NewDecWithPrec(1, 2) // 1% DefaultBurnPriceBias = sdk.NewDecWithPrec(1, 2) // 1% DefaultRebackBonus = sdk.NewDecWithPrec(75, 4) // 0.75% DefaultLiquidationCommissionFee = sdk.NewDecWithPrec(10, 2) // 10% )
Default parameter values
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgHandler ¶
RegisterMsgHandler registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMsgHandlerClient ¶
RegisterMsgHandlerClient registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MsgClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MsgClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MsgClient" to call the correct interceptors.
func RegisterMsgHandlerFromEndpoint ¶
func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMsgHandlerServer ¶
RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterMsgHandlerFromEndpoint instead.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountBacking ¶
type AccountBacking struct { }
func (*AccountBacking) Descriptor ¶
func (*AccountBacking) Descriptor() ([]byte, []int)
func (*AccountBacking) Marshal ¶
func (m *AccountBacking) Marshal() (dAtA []byte, err error)
func (*AccountBacking) MarshalToSizedBuffer ¶
func (m *AccountBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountBacking) ProtoMessage ¶
func (*AccountBacking) ProtoMessage()
func (*AccountBacking) Reset ¶
func (m *AccountBacking) Reset()
func (*AccountBacking) Size ¶
func (m *AccountBacking) Size() (n int)
func (*AccountBacking) String ¶
func (m *AccountBacking) String() string
func (*AccountBacking) Unmarshal ¶
func (m *AccountBacking) Unmarshal(dAtA []byte) error
func (*AccountBacking) XXX_DiscardUnknown ¶
func (m *AccountBacking) XXX_DiscardUnknown()
func (*AccountBacking) XXX_Marshal ¶
func (m *AccountBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountBacking) XXX_Merge ¶
func (m *AccountBacking) XXX_Merge(src proto.Message)
func (*AccountBacking) XXX_Size ¶
func (m *AccountBacking) XXX_Size() int
func (*AccountBacking) XXX_Unmarshal ¶
func (m *AccountBacking) XXX_Unmarshal(b []byte) error
type AccountCollateral ¶
type AccountCollateral struct { // account who owns collateral Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // existing collateral Collateral types.Coin `protobuf:"bytes,2,opt,name=collateral,proto3" json:"collateral"` // remaining black debt, including minted by collateral, mint fee, last // interest BlackDebt types.Coin `protobuf:"bytes,3,opt,name=black_debt,json=blackDebt,proto3" json:"black_debt"` // total collateralized fury FuryCollateralized types.Coin `protobuf:"bytes,4,opt,name=fury_collateralized,json=furyCollateralized,proto3" json:"fury_collateralized"` // remaining interest debt at last settlement LastInterest types.Coin `protobuf:"bytes,5,opt,name=last_interest,json=lastInterest,proto3" json:"last_interest"` // the block of last settlement LastSettlementBlock int64 `protobuf:"varint,6,opt,name=last_settlement_block,json=lastSettlementBlock,proto3" json:"last_settlement_block,omitempty"` }
func (*AccountCollateral) Descriptor ¶
func (*AccountCollateral) Descriptor() ([]byte, []int)
func (*AccountCollateral) GetAccount ¶
func (m *AccountCollateral) GetAccount() string
func (*AccountCollateral) GetBlackDebt ¶
func (m *AccountCollateral) GetBlackDebt() types.Coin
func (*AccountCollateral) GetCollateral ¶
func (m *AccountCollateral) GetCollateral() types.Coin
func (*AccountCollateral) GetFuryCollateralized ¶
func (m *AccountCollateral) GetFuryCollateralized() types.Coin
func (*AccountCollateral) GetLastInterest ¶
func (m *AccountCollateral) GetLastInterest() types.Coin
func (*AccountCollateral) GetLastSettlementBlock ¶
func (m *AccountCollateral) GetLastSettlementBlock() int64
func (*AccountCollateral) Marshal ¶
func (m *AccountCollateral) Marshal() (dAtA []byte, err error)
func (*AccountCollateral) MarshalTo ¶
func (m *AccountCollateral) MarshalTo(dAtA []byte) (int, error)
func (*AccountCollateral) MarshalToSizedBuffer ¶
func (m *AccountCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountCollateral) ProtoMessage ¶
func (*AccountCollateral) ProtoMessage()
func (*AccountCollateral) Reset ¶
func (m *AccountCollateral) Reset()
func (*AccountCollateral) Size ¶
func (m *AccountCollateral) Size() (n int)
func (*AccountCollateral) String ¶
func (m *AccountCollateral) String() string
func (*AccountCollateral) Unmarshal ¶
func (m *AccountCollateral) Unmarshal(dAtA []byte) error
func (*AccountCollateral) XXX_DiscardUnknown ¶
func (m *AccountCollateral) XXX_DiscardUnknown()
func (*AccountCollateral) XXX_Marshal ¶
func (m *AccountCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountCollateral) XXX_Merge ¶
func (m *AccountCollateral) XXX_Merge(src proto.Message)
func (*AccountCollateral) XXX_Size ¶
func (m *AccountCollateral) XXX_Size() int
func (*AccountCollateral) XXX_Unmarshal ¶
func (m *AccountCollateral) XXX_Unmarshal(b []byte) error
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI GetModuleAccount(ctx sdk.Context, name string) types.ModuleAccountI GetModuleAddress(name string) sdk.AccAddress }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BackingRiskParams ¶
type BackingRiskParams struct { // backing coin denom BackingDenom string `protobuf:"bytes,1,opt,name=backing_denom,json=backingDenom,proto3" json:"backing_denom,omitempty"` // whether enabled Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // maximum total backing amount MaxBacking *github_com_cosmos_cosmos_sdk_types.Int `` /* 141-byte string literal not displayed */ // maximum mintable Black amount MaxBlackMint *github_com_cosmos_cosmos_sdk_types.Int `` /* 149-byte string literal not displayed */ // mint fee rate MintFee *github_com_cosmos_cosmos_sdk_types.Dec `` /* 132-byte string literal not displayed */ // burn fee rate BurnFee *github_com_cosmos_cosmos_sdk_types.Dec `` /* 132-byte string literal not displayed */ // buyback fee rate BuybackFee *github_com_cosmos_cosmos_sdk_types.Dec `` /* 141-byte string literal not displayed */ // reback fee rate RebackFee *github_com_cosmos_cosmos_sdk_types.Dec `` /* 138-byte string literal not displayed */ }
BackingRiskParams represents an object of backing coin risk parameters.
func (*BackingRiskParams) Descriptor ¶
func (*BackingRiskParams) Descriptor() ([]byte, []int)
func (*BackingRiskParams) GetBackingDenom ¶
func (m *BackingRiskParams) GetBackingDenom() string
func (*BackingRiskParams) GetEnabled ¶
func (m *BackingRiskParams) GetEnabled() bool
func (*BackingRiskParams) Marshal ¶
func (m *BackingRiskParams) Marshal() (dAtA []byte, err error)
func (*BackingRiskParams) MarshalTo ¶
func (m *BackingRiskParams) MarshalTo(dAtA []byte) (int, error)
func (*BackingRiskParams) MarshalToSizedBuffer ¶
func (m *BackingRiskParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BackingRiskParams) ProtoMessage ¶
func (*BackingRiskParams) ProtoMessage()
func (*BackingRiskParams) Reset ¶
func (m *BackingRiskParams) Reset()
func (*BackingRiskParams) Size ¶
func (m *BackingRiskParams) Size() (n int)
func (*BackingRiskParams) String ¶
func (m *BackingRiskParams) String() string
func (*BackingRiskParams) Unmarshal ¶
func (m *BackingRiskParams) Unmarshal(dAtA []byte) error
func (*BackingRiskParams) XXX_DiscardUnknown ¶
func (m *BackingRiskParams) XXX_DiscardUnknown()
func (*BackingRiskParams) XXX_Marshal ¶
func (m *BackingRiskParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackingRiskParams) XXX_Merge ¶
func (m *BackingRiskParams) XXX_Merge(src proto.Message)
func (*BackingRiskParams) XXX_Size ¶
func (m *BackingRiskParams) XXX_Size() int
func (*BackingRiskParams) XXX_Unmarshal ¶
func (m *BackingRiskParams) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { HasSupply(ctx sdk.Context, denom string) bool GetSupply(ctx sdk.Context, denom string) sdk.Coin SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SendCoinsFromModuleToModule(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, name string, amt sdk.Coins) error MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type BatchBackingRiskParams ¶
type BatchBackingRiskParams struct { // batch of collateral risk params RiskParams []BackingRiskParams `protobuf:"bytes,1,rep,name=risk_params,json=riskParams,proto3" json:"risk_params"` }
func (*BatchBackingRiskParams) Descriptor ¶
func (*BatchBackingRiskParams) Descriptor() ([]byte, []int)
func (*BatchBackingRiskParams) GetRiskParams ¶
func (m *BatchBackingRiskParams) GetRiskParams() []BackingRiskParams
func (*BatchBackingRiskParams) Marshal ¶
func (m *BatchBackingRiskParams) Marshal() (dAtA []byte, err error)
func (*BatchBackingRiskParams) MarshalTo ¶
func (m *BatchBackingRiskParams) MarshalTo(dAtA []byte) (int, error)
func (*BatchBackingRiskParams) MarshalToSizedBuffer ¶
func (m *BatchBackingRiskParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchBackingRiskParams) ProtoMessage ¶
func (*BatchBackingRiskParams) ProtoMessage()
func (*BatchBackingRiskParams) Reset ¶
func (m *BatchBackingRiskParams) Reset()
func (*BatchBackingRiskParams) Size ¶
func (m *BatchBackingRiskParams) Size() (n int)
func (*BatchBackingRiskParams) String ¶
func (m *BatchBackingRiskParams) String() string
func (*BatchBackingRiskParams) Unmarshal ¶
func (m *BatchBackingRiskParams) Unmarshal(dAtA []byte) error
func (*BatchBackingRiskParams) XXX_DiscardUnknown ¶
func (m *BatchBackingRiskParams) XXX_DiscardUnknown()
func (*BatchBackingRiskParams) XXX_Marshal ¶
func (m *BatchBackingRiskParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchBackingRiskParams) XXX_Merge ¶
func (m *BatchBackingRiskParams) XXX_Merge(src proto.Message)
func (*BatchBackingRiskParams) XXX_Size ¶
func (m *BatchBackingRiskParams) XXX_Size() int
func (*BatchBackingRiskParams) XXX_Unmarshal ¶
func (m *BatchBackingRiskParams) XXX_Unmarshal(b []byte) error
type BatchCollateralRiskParams ¶
type BatchCollateralRiskParams struct { // batch of collateral risk params RiskParams []CollateralRiskParams `protobuf:"bytes,1,rep,name=risk_params,json=riskParams,proto3" json:"risk_params"` }
func (*BatchCollateralRiskParams) Descriptor ¶
func (*BatchCollateralRiskParams) Descriptor() ([]byte, []int)
func (*BatchCollateralRiskParams) GetRiskParams ¶
func (m *BatchCollateralRiskParams) GetRiskParams() []CollateralRiskParams
func (*BatchCollateralRiskParams) Marshal ¶
func (m *BatchCollateralRiskParams) Marshal() (dAtA []byte, err error)
func (*BatchCollateralRiskParams) MarshalTo ¶
func (m *BatchCollateralRiskParams) MarshalTo(dAtA []byte) (int, error)
func (*BatchCollateralRiskParams) MarshalToSizedBuffer ¶
func (m *BatchCollateralRiskParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchCollateralRiskParams) ProtoMessage ¶
func (*BatchCollateralRiskParams) ProtoMessage()
func (*BatchCollateralRiskParams) Reset ¶
func (m *BatchCollateralRiskParams) Reset()
func (*BatchCollateralRiskParams) Size ¶
func (m *BatchCollateralRiskParams) Size() (n int)
func (*BatchCollateralRiskParams) String ¶
func (m *BatchCollateralRiskParams) String() string
func (*BatchCollateralRiskParams) Unmarshal ¶
func (m *BatchCollateralRiskParams) Unmarshal(dAtA []byte) error
func (*BatchCollateralRiskParams) XXX_DiscardUnknown ¶
func (m *BatchCollateralRiskParams) XXX_DiscardUnknown()
func (*BatchCollateralRiskParams) XXX_Marshal ¶
func (m *BatchCollateralRiskParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchCollateralRiskParams) XXX_Merge ¶
func (m *BatchCollateralRiskParams) XXX_Merge(src proto.Message)
func (*BatchCollateralRiskParams) XXX_Size ¶
func (m *BatchCollateralRiskParams) XXX_Size() int
func (*BatchCollateralRiskParams) XXX_Unmarshal ¶
func (m *BatchCollateralRiskParams) XXX_Unmarshal(b []byte) error
type BatchSetBackingRiskParamsProposal ¶
type BatchSetBackingRiskParamsProposal struct { // title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // proposal description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // batch of collateral risk params RiskParams []BackingRiskParams `protobuf:"bytes,3,rep,name=risk_params,json=riskParams,proto3" json:"risk_params"` }
BatchSetBackingRiskParamsProposal is a gov Content type to batch set backing coin risk parameters.
func (*BatchSetBackingRiskParamsProposal) Descriptor ¶
func (*BatchSetBackingRiskParamsProposal) Descriptor() ([]byte, []int)
func (*BatchSetBackingRiskParamsProposal) GetDescription ¶
func (m *BatchSetBackingRiskParamsProposal) GetDescription() string
func (*BatchSetBackingRiskParamsProposal) GetRiskParams ¶
func (m *BatchSetBackingRiskParamsProposal) GetRiskParams() []BackingRiskParams
func (*BatchSetBackingRiskParamsProposal) GetTitle ¶
func (m *BatchSetBackingRiskParamsProposal) GetTitle() string
func (*BatchSetBackingRiskParamsProposal) Marshal ¶
func (m *BatchSetBackingRiskParamsProposal) Marshal() (dAtA []byte, err error)
func (*BatchSetBackingRiskParamsProposal) MarshalTo ¶
func (m *BatchSetBackingRiskParamsProposal) MarshalTo(dAtA []byte) (int, error)
func (*BatchSetBackingRiskParamsProposal) MarshalToSizedBuffer ¶
func (m *BatchSetBackingRiskParamsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchSetBackingRiskParamsProposal) ProposalRoute ¶
func (m *BatchSetBackingRiskParamsProposal) ProposalRoute() string
func (*BatchSetBackingRiskParamsProposal) ProposalType ¶
func (m *BatchSetBackingRiskParamsProposal) ProposalType() string
func (*BatchSetBackingRiskParamsProposal) ProtoMessage ¶
func (*BatchSetBackingRiskParamsProposal) ProtoMessage()
func (*BatchSetBackingRiskParamsProposal) Reset ¶
func (m *BatchSetBackingRiskParamsProposal) Reset()
func (*BatchSetBackingRiskParamsProposal) Size ¶
func (m *BatchSetBackingRiskParamsProposal) Size() (n int)
func (*BatchSetBackingRiskParamsProposal) String ¶
func (m *BatchSetBackingRiskParamsProposal) String() string
func (*BatchSetBackingRiskParamsProposal) Unmarshal ¶
func (m *BatchSetBackingRiskParamsProposal) Unmarshal(dAtA []byte) error
func (*BatchSetBackingRiskParamsProposal) ValidateBasic ¶
func (m *BatchSetBackingRiskParamsProposal) ValidateBasic() error
func (*BatchSetBackingRiskParamsProposal) XXX_DiscardUnknown ¶
func (m *BatchSetBackingRiskParamsProposal) XXX_DiscardUnknown()
func (*BatchSetBackingRiskParamsProposal) XXX_Marshal ¶
func (m *BatchSetBackingRiskParamsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSetBackingRiskParamsProposal) XXX_Merge ¶
func (m *BatchSetBackingRiskParamsProposal) XXX_Merge(src proto.Message)
func (*BatchSetBackingRiskParamsProposal) XXX_Size ¶
func (m *BatchSetBackingRiskParamsProposal) XXX_Size() int
func (*BatchSetBackingRiskParamsProposal) XXX_Unmarshal ¶
func (m *BatchSetBackingRiskParamsProposal) XXX_Unmarshal(b []byte) error
type BatchSetCollateralRiskParamsProposal ¶
type BatchSetCollateralRiskParamsProposal struct { // title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // proposal description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // batch of collateral risk params RiskParams []CollateralRiskParams `protobuf:"bytes,3,rep,name=risk_params,json=riskParams,proto3" json:"risk_params"` }
BatchSetCollateralRiskParamsProposal is a gov Content type to batch set collateral risk parameters.
func (*BatchSetCollateralRiskParamsProposal) Descriptor ¶
func (*BatchSetCollateralRiskParamsProposal) Descriptor() ([]byte, []int)
func (*BatchSetCollateralRiskParamsProposal) GetDescription ¶
func (m *BatchSetCollateralRiskParamsProposal) GetDescription() string
func (*BatchSetCollateralRiskParamsProposal) GetRiskParams ¶
func (m *BatchSetCollateralRiskParamsProposal) GetRiskParams() []CollateralRiskParams
func (*BatchSetCollateralRiskParamsProposal) GetTitle ¶
func (m *BatchSetCollateralRiskParamsProposal) GetTitle() string
func (*BatchSetCollateralRiskParamsProposal) Marshal ¶
func (m *BatchSetCollateralRiskParamsProposal) Marshal() (dAtA []byte, err error)
func (*BatchSetCollateralRiskParamsProposal) MarshalTo ¶
func (m *BatchSetCollateralRiskParamsProposal) MarshalTo(dAtA []byte) (int, error)
func (*BatchSetCollateralRiskParamsProposal) MarshalToSizedBuffer ¶
func (m *BatchSetCollateralRiskParamsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchSetCollateralRiskParamsProposal) ProposalRoute ¶
func (m *BatchSetCollateralRiskParamsProposal) ProposalRoute() string
func (*BatchSetCollateralRiskParamsProposal) ProposalType ¶
func (m *BatchSetCollateralRiskParamsProposal) ProposalType() string
func (*BatchSetCollateralRiskParamsProposal) ProtoMessage ¶
func (*BatchSetCollateralRiskParamsProposal) ProtoMessage()
func (*BatchSetCollateralRiskParamsProposal) Reset ¶
func (m *BatchSetCollateralRiskParamsProposal) Reset()
func (*BatchSetCollateralRiskParamsProposal) Size ¶
func (m *BatchSetCollateralRiskParamsProposal) Size() (n int)
func (*BatchSetCollateralRiskParamsProposal) String ¶
func (m *BatchSetCollateralRiskParamsProposal) String() string
func (*BatchSetCollateralRiskParamsProposal) Unmarshal ¶
func (m *BatchSetCollateralRiskParamsProposal) Unmarshal(dAtA []byte) error
func (*BatchSetCollateralRiskParamsProposal) ValidateBasic ¶
func (m *BatchSetCollateralRiskParamsProposal) ValidateBasic() error
func (*BatchSetCollateralRiskParamsProposal) XXX_DiscardUnknown ¶
func (m *BatchSetCollateralRiskParamsProposal) XXX_DiscardUnknown()
func (*BatchSetCollateralRiskParamsProposal) XXX_Marshal ¶
func (m *BatchSetCollateralRiskParamsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSetCollateralRiskParamsProposal) XXX_Merge ¶
func (m *BatchSetCollateralRiskParamsProposal) XXX_Merge(src proto.Message)
func (*BatchSetCollateralRiskParamsProposal) XXX_Size ¶
func (m *BatchSetCollateralRiskParamsProposal) XXX_Size() int
func (*BatchSetCollateralRiskParamsProposal) XXX_Unmarshal ¶
func (m *BatchSetCollateralRiskParamsProposal) XXX_Unmarshal(b []byte) error
type CollateralRiskParams ¶
type CollateralRiskParams struct { // collateral coin denom CollateralDenom string `protobuf:"bytes,1,opt,name=collateral_denom,json=collateralDenom,proto3" json:"collateral_denom,omitempty"` // whether enabled Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // maximum total collateral amount; empty means no limit MaxCollateral *github_com_cosmos_cosmos_sdk_types.Int `` /* 150-byte string literal not displayed */ // maximum total mintable Black amount; empty means no limit MaxBlackMint *github_com_cosmos_cosmos_sdk_types.Int `` /* 149-byte string literal not displayed */ // ratio at which a position is defined as undercollateralized LiquidationThreshold *github_com_cosmos_cosmos_sdk_types.Dec `` /* 171-byte string literal not displayed */ // maximum ratio of maximum amount of currency that can be borrowed with a // specific collateral LoanToValue *github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ // basic ratio of maximum amount of currency that can be borrowed with a // specific collateral BasicLoanToValue *github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */ // catalytic ratio of collateralized Fury to asset, to maximize the LTV // in [basic-LTV, LTV] CatalyticFuryRatio *github_com_cosmos_cosmos_sdk_types.Dec `` /* 167-byte string literal not displayed */ // liquidation fee rate, i.e., the discount a liquidator gets when buying // collateral flagged for a liquidation LiquidationFee *github_com_cosmos_cosmos_sdk_types.Dec `` /* 153-byte string literal not displayed */ // mint fee rate, i.e., extra fee debt MintFee *github_com_cosmos_cosmos_sdk_types.Dec `` /* 133-byte string literal not displayed */ // annual interest fee rate (APR) InterestFee *github_com_cosmos_cosmos_sdk_types.Dec `` /* 145-byte string literal not displayed */ }
CollateralRiskParams represents an object of collateral risk parameters.
func (*CollateralRiskParams) Descriptor ¶
func (*CollateralRiskParams) Descriptor() ([]byte, []int)
func (*CollateralRiskParams) GetCollateralDenom ¶
func (m *CollateralRiskParams) GetCollateralDenom() string
func (*CollateralRiskParams) GetEnabled ¶
func (m *CollateralRiskParams) GetEnabled() bool
func (*CollateralRiskParams) Marshal ¶
func (m *CollateralRiskParams) Marshal() (dAtA []byte, err error)
func (*CollateralRiskParams) MarshalTo ¶
func (m *CollateralRiskParams) MarshalTo(dAtA []byte) (int, error)
func (*CollateralRiskParams) MarshalToSizedBuffer ¶
func (m *CollateralRiskParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CollateralRiskParams) ProtoMessage ¶
func (*CollateralRiskParams) ProtoMessage()
func (*CollateralRiskParams) Reset ¶
func (m *CollateralRiskParams) Reset()
func (*CollateralRiskParams) Size ¶
func (m *CollateralRiskParams) Size() (n int)
func (*CollateralRiskParams) String ¶
func (m *CollateralRiskParams) String() string
func (*CollateralRiskParams) Unmarshal ¶
func (m *CollateralRiskParams) Unmarshal(dAtA []byte) error
func (*CollateralRiskParams) XXX_DiscardUnknown ¶
func (m *CollateralRiskParams) XXX_DiscardUnknown()
func (*CollateralRiskParams) XXX_Marshal ¶
func (m *CollateralRiskParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralRiskParams) XXX_Merge ¶
func (m *CollateralRiskParams) XXX_Merge(src proto.Message)
func (*CollateralRiskParams) XXX_Size ¶
func (m *CollateralRiskParams) XXX_Size() int
func (*CollateralRiskParams) XXX_Unmarshal ¶
func (m *CollateralRiskParams) XXX_Unmarshal(b []byte) error
type EstimateBurnBySwapInRequest ¶
type EstimateBurnBySwapInRequest struct { BackingOutMax types.Coin `protobuf:"bytes,1,opt,name=backing_out_max,json=backingOutMax,proto3" json:"backing_out_max"` FuryOutMax types.Coin `protobuf:"bytes,2,opt,name=fury_out_max,json=furyOutMax,proto3" json:"fury_out_max"` }
func (*EstimateBurnBySwapInRequest) Descriptor ¶
func (*EstimateBurnBySwapInRequest) Descriptor() ([]byte, []int)
func (*EstimateBurnBySwapInRequest) GetBackingOutMax ¶
func (m *EstimateBurnBySwapInRequest) GetBackingOutMax() types.Coin
func (*EstimateBurnBySwapInRequest) GetFuryOutMax ¶
func (m *EstimateBurnBySwapInRequest) GetFuryOutMax() types.Coin
func (*EstimateBurnBySwapInRequest) Marshal ¶
func (m *EstimateBurnBySwapInRequest) Marshal() (dAtA []byte, err error)
func (*EstimateBurnBySwapInRequest) MarshalTo ¶
func (m *EstimateBurnBySwapInRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateBurnBySwapInRequest) MarshalToSizedBuffer ¶
func (m *EstimateBurnBySwapInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateBurnBySwapInRequest) ProtoMessage ¶
func (*EstimateBurnBySwapInRequest) ProtoMessage()
func (*EstimateBurnBySwapInRequest) Reset ¶
func (m *EstimateBurnBySwapInRequest) Reset()
func (*EstimateBurnBySwapInRequest) Size ¶
func (m *EstimateBurnBySwapInRequest) Size() (n int)
func (*EstimateBurnBySwapInRequest) String ¶
func (m *EstimateBurnBySwapInRequest) String() string
func (*EstimateBurnBySwapInRequest) Unmarshal ¶
func (m *EstimateBurnBySwapInRequest) Unmarshal(dAtA []byte) error
func (*EstimateBurnBySwapInRequest) XXX_DiscardUnknown ¶
func (m *EstimateBurnBySwapInRequest) XXX_DiscardUnknown()
func (*EstimateBurnBySwapInRequest) XXX_Marshal ¶
func (m *EstimateBurnBySwapInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateBurnBySwapInRequest) XXX_Merge ¶
func (m *EstimateBurnBySwapInRequest) XXX_Merge(src proto.Message)
func (*EstimateBurnBySwapInRequest) XXX_Size ¶
func (m *EstimateBurnBySwapInRequest) XXX_Size() int
func (*EstimateBurnBySwapInRequest) XXX_Unmarshal ¶
func (m *EstimateBurnBySwapInRequest) XXX_Unmarshal(b []byte) error
type EstimateBurnBySwapInResponse ¶
type EstimateBurnBySwapInResponse struct { BurnIn types.Coin `protobuf:"bytes,1,opt,name=burn_in,json=burnIn,proto3" json:"burn_in"` BackingOut types.Coin `protobuf:"bytes,2,opt,name=backing_out,json=backingOut,proto3" json:"backing_out"` FuryOut types.Coin `protobuf:"bytes,3,opt,name=fury_out,json=furyOut,proto3" json:"fury_out"` BurnFee types.Coin `protobuf:"bytes,4,opt,name=burn_fee,json=burnFee,proto3" json:"burn_fee"` }
func (*EstimateBurnBySwapInResponse) Descriptor ¶
func (*EstimateBurnBySwapInResponse) Descriptor() ([]byte, []int)
func (*EstimateBurnBySwapInResponse) GetBackingOut ¶
func (m *EstimateBurnBySwapInResponse) GetBackingOut() types.Coin
func (*EstimateBurnBySwapInResponse) GetBurnFee ¶
func (m *EstimateBurnBySwapInResponse) GetBurnFee() types.Coin
func (*EstimateBurnBySwapInResponse) GetBurnIn ¶
func (m *EstimateBurnBySwapInResponse) GetBurnIn() types.Coin
func (*EstimateBurnBySwapInResponse) GetFuryOut ¶
func (m *EstimateBurnBySwapInResponse) GetFuryOut() types.Coin
func (*EstimateBurnBySwapInResponse) Marshal ¶
func (m *EstimateBurnBySwapInResponse) Marshal() (dAtA []byte, err error)
func (*EstimateBurnBySwapInResponse) MarshalTo ¶
func (m *EstimateBurnBySwapInResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateBurnBySwapInResponse) MarshalToSizedBuffer ¶
func (m *EstimateBurnBySwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateBurnBySwapInResponse) ProtoMessage ¶
func (*EstimateBurnBySwapInResponse) ProtoMessage()
func (*EstimateBurnBySwapInResponse) Reset ¶
func (m *EstimateBurnBySwapInResponse) Reset()
func (*EstimateBurnBySwapInResponse) Size ¶
func (m *EstimateBurnBySwapInResponse) Size() (n int)
func (*EstimateBurnBySwapInResponse) String ¶
func (m *EstimateBurnBySwapInResponse) String() string
func (*EstimateBurnBySwapInResponse) Unmarshal ¶
func (m *EstimateBurnBySwapInResponse) Unmarshal(dAtA []byte) error
func (*EstimateBurnBySwapInResponse) XXX_DiscardUnknown ¶
func (m *EstimateBurnBySwapInResponse) XXX_DiscardUnknown()
func (*EstimateBurnBySwapInResponse) XXX_Marshal ¶
func (m *EstimateBurnBySwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateBurnBySwapInResponse) XXX_Merge ¶
func (m *EstimateBurnBySwapInResponse) XXX_Merge(src proto.Message)
func (*EstimateBurnBySwapInResponse) XXX_Size ¶
func (m *EstimateBurnBySwapInResponse) XXX_Size() int
func (*EstimateBurnBySwapInResponse) XXX_Unmarshal ¶
func (m *EstimateBurnBySwapInResponse) XXX_Unmarshal(b []byte) error
type EstimateBurnBySwapOutRequest ¶
type EstimateBurnBySwapOutRequest struct { BurnIn types.Coin `protobuf:"bytes,1,opt,name=burn_in,json=burnIn,proto3" json:"burn_in"` BackingDenom string `protobuf:"bytes,2,opt,name=backing_denom,json=backingDenom,proto3" json:"backing_denom,omitempty"` }
func (*EstimateBurnBySwapOutRequest) Descriptor ¶
func (*EstimateBurnBySwapOutRequest) Descriptor() ([]byte, []int)
func (*EstimateBurnBySwapOutRequest) GetBackingDenom ¶
func (m *EstimateBurnBySwapOutRequest) GetBackingDenom() string
func (*EstimateBurnBySwapOutRequest) GetBurnIn ¶
func (m *EstimateBurnBySwapOutRequest) GetBurnIn() types.Coin
func (*EstimateBurnBySwapOutRequest) Marshal ¶
func (m *EstimateBurnBySwapOutRequest) Marshal() (dAtA []byte, err error)
func (*EstimateBurnBySwapOutRequest) MarshalTo ¶
func (m *EstimateBurnBySwapOutRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateBurnBySwapOutRequest) MarshalToSizedBuffer ¶
func (m *EstimateBurnBySwapOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateBurnBySwapOutRequest) ProtoMessage ¶
func (*EstimateBurnBySwapOutRequest) ProtoMessage()
func (*EstimateBurnBySwapOutRequest) Reset ¶
func (m *EstimateBurnBySwapOutRequest) Reset()
func (*EstimateBurnBySwapOutRequest) Size ¶
func (m *EstimateBurnBySwapOutRequest) Size() (n int)
func (*EstimateBurnBySwapOutRequest) String ¶
func (m *EstimateBurnBySwapOutRequest) String() string
func (*EstimateBurnBySwapOutRequest) Unmarshal ¶
func (m *EstimateBurnBySwapOutRequest) Unmarshal(dAtA []byte) error
func (*EstimateBurnBySwapOutRequest) XXX_DiscardUnknown ¶
func (m *EstimateBurnBySwapOutRequest) XXX_DiscardUnknown()
func (*EstimateBurnBySwapOutRequest) XXX_Marshal ¶
func (m *EstimateBurnBySwapOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateBurnBySwapOutRequest) XXX_Merge ¶
func (m *EstimateBurnBySwapOutRequest) XXX_Merge(src proto.Message)
func (*EstimateBurnBySwapOutRequest) XXX_Size ¶
func (m *EstimateBurnBySwapOutRequest) XXX_Size() int
func (*EstimateBurnBySwapOutRequest) XXX_Unmarshal ¶
func (m *EstimateBurnBySwapOutRequest) XXX_Unmarshal(b []byte) error
type EstimateBurnBySwapOutResponse ¶
type EstimateBurnBySwapOutResponse struct { BackingOut types.Coin `protobuf:"bytes,1,opt,name=backing_out,json=backingOut,proto3" json:"backing_out"` FuryOut types.Coin `protobuf:"bytes,2,opt,name=fury_out,json=furyOut,proto3" json:"fury_out"` BurnFee types.Coin `protobuf:"bytes,3,opt,name=burn_fee,json=burnFee,proto3" json:"burn_fee"` }
func (*EstimateBurnBySwapOutResponse) Descriptor ¶
func (*EstimateBurnBySwapOutResponse) Descriptor() ([]byte, []int)
func (*EstimateBurnBySwapOutResponse) GetBackingOut ¶
func (m *EstimateBurnBySwapOutResponse) GetBackingOut() types.Coin
func (*EstimateBurnBySwapOutResponse) GetBurnFee ¶
func (m *EstimateBurnBySwapOutResponse) GetBurnFee() types.Coin
func (*EstimateBurnBySwapOutResponse) GetFuryOut ¶
func (m *EstimateBurnBySwapOutResponse) GetFuryOut() types.Coin
func (*EstimateBurnBySwapOutResponse) Marshal ¶
func (m *EstimateBurnBySwapOutResponse) Marshal() (dAtA []byte, err error)
func (*EstimateBurnBySwapOutResponse) MarshalTo ¶
func (m *EstimateBurnBySwapOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateBurnBySwapOutResponse) MarshalToSizedBuffer ¶
func (m *EstimateBurnBySwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateBurnBySwapOutResponse) ProtoMessage ¶
func (*EstimateBurnBySwapOutResponse) ProtoMessage()
func (*EstimateBurnBySwapOutResponse) Reset ¶
func (m *EstimateBurnBySwapOutResponse) Reset()
func (*EstimateBurnBySwapOutResponse) Size ¶
func (m *EstimateBurnBySwapOutResponse) Size() (n int)
func (*EstimateBurnBySwapOutResponse) String ¶
func (m *EstimateBurnBySwapOutResponse) String() string
func (*EstimateBurnBySwapOutResponse) Unmarshal ¶
func (m *EstimateBurnBySwapOutResponse) Unmarshal(dAtA []byte) error
func (*EstimateBurnBySwapOutResponse) XXX_DiscardUnknown ¶
func (m *EstimateBurnBySwapOutResponse) XXX_DiscardUnknown()
func (*EstimateBurnBySwapOutResponse) XXX_Marshal ¶
func (m *EstimateBurnBySwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateBurnBySwapOutResponse) XXX_Merge ¶
func (m *EstimateBurnBySwapOutResponse) XXX_Merge(src proto.Message)
func (*EstimateBurnBySwapOutResponse) XXX_Size ¶
func (m *EstimateBurnBySwapOutResponse) XXX_Size() int
func (*EstimateBurnBySwapOutResponse) XXX_Unmarshal ¶
func (m *EstimateBurnBySwapOutResponse) XXX_Unmarshal(b []byte) error
type EstimateBuyBackingInRequest ¶
type EstimateBuyBackingInRequest struct {
BackingOut types.Coin `protobuf:"bytes,1,opt,name=backing_out,json=backingOut,proto3" json:"backing_out"`
}
func (*EstimateBuyBackingInRequest) Descriptor ¶
func (*EstimateBuyBackingInRequest) Descriptor() ([]byte, []int)
func (*EstimateBuyBackingInRequest) GetBackingOut ¶
func (m *EstimateBuyBackingInRequest) GetBackingOut() types.Coin
func (*EstimateBuyBackingInRequest) Marshal ¶
func (m *EstimateBuyBackingInRequest) Marshal() (dAtA []byte, err error)
func (*EstimateBuyBackingInRequest) MarshalTo ¶
func (m *EstimateBuyBackingInRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateBuyBackingInRequest) MarshalToSizedBuffer ¶
func (m *EstimateBuyBackingInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateBuyBackingInRequest) ProtoMessage ¶
func (*EstimateBuyBackingInRequest) ProtoMessage()
func (*EstimateBuyBackingInRequest) Reset ¶
func (m *EstimateBuyBackingInRequest) Reset()
func (*EstimateBuyBackingInRequest) Size ¶
func (m *EstimateBuyBackingInRequest) Size() (n int)
func (*EstimateBuyBackingInRequest) String ¶
func (m *EstimateBuyBackingInRequest) String() string
func (*EstimateBuyBackingInRequest) Unmarshal ¶
func (m *EstimateBuyBackingInRequest) Unmarshal(dAtA []byte) error
func (*EstimateBuyBackingInRequest) XXX_DiscardUnknown ¶
func (m *EstimateBuyBackingInRequest) XXX_DiscardUnknown()
func (*EstimateBuyBackingInRequest) XXX_Marshal ¶
func (m *EstimateBuyBackingInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateBuyBackingInRequest) XXX_Merge ¶
func (m *EstimateBuyBackingInRequest) XXX_Merge(src proto.Message)
func (*EstimateBuyBackingInRequest) XXX_Size ¶
func (m *EstimateBuyBackingInRequest) XXX_Size() int
func (*EstimateBuyBackingInRequest) XXX_Unmarshal ¶
func (m *EstimateBuyBackingInRequest) XXX_Unmarshal(b []byte) error
type EstimateBuyBackingInResponse ¶
type EstimateBuyBackingInResponse struct { FuryIn types.Coin `protobuf:"bytes,1,opt,name=fury_in,json=furyIn,proto3" json:"fury_in"` BuybackFee types.Coin `protobuf:"bytes,2,opt,name=buyback_fee,json=buybackFee,proto3" json:"buyback_fee"` }
func (*EstimateBuyBackingInResponse) Descriptor ¶
func (*EstimateBuyBackingInResponse) Descriptor() ([]byte, []int)
func (*EstimateBuyBackingInResponse) GetBuybackFee ¶
func (m *EstimateBuyBackingInResponse) GetBuybackFee() types.Coin
func (*EstimateBuyBackingInResponse) GetFuryIn ¶
func (m *EstimateBuyBackingInResponse) GetFuryIn() types.Coin
func (*EstimateBuyBackingInResponse) Marshal ¶
func (m *EstimateBuyBackingInResponse) Marshal() (dAtA []byte, err error)
func (*EstimateBuyBackingInResponse) MarshalTo ¶
func (m *EstimateBuyBackingInResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateBuyBackingInResponse) MarshalToSizedBuffer ¶
func (m *EstimateBuyBackingInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateBuyBackingInResponse) ProtoMessage ¶
func (*EstimateBuyBackingInResponse) ProtoMessage()
func (*EstimateBuyBackingInResponse) Reset ¶
func (m *EstimateBuyBackingInResponse) Reset()
func (*EstimateBuyBackingInResponse) Size ¶
func (m *EstimateBuyBackingInResponse) Size() (n int)
func (*EstimateBuyBackingInResponse) String ¶
func (m *EstimateBuyBackingInResponse) String() string
func (*EstimateBuyBackingInResponse) Unmarshal ¶
func (m *EstimateBuyBackingInResponse) Unmarshal(dAtA []byte) error
func (*EstimateBuyBackingInResponse) XXX_DiscardUnknown ¶
func (m *EstimateBuyBackingInResponse) XXX_DiscardUnknown()
func (*EstimateBuyBackingInResponse) XXX_Marshal ¶
func (m *EstimateBuyBackingInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateBuyBackingInResponse) XXX_Merge ¶
func (m *EstimateBuyBackingInResponse) XXX_Merge(src proto.Message)
func (*EstimateBuyBackingInResponse) XXX_Size ¶
func (m *EstimateBuyBackingInResponse) XXX_Size() int
func (*EstimateBuyBackingInResponse) XXX_Unmarshal ¶
func (m *EstimateBuyBackingInResponse) XXX_Unmarshal(b []byte) error
type EstimateBuyBackingOutRequest ¶
type EstimateBuyBackingOutRequest struct { FuryIn types.Coin `protobuf:"bytes,1,opt,name=fury_in,json=furyIn,proto3" json:"fury_in"` BackingDenom string `protobuf:"bytes,2,opt,name=backing_denom,json=backingDenom,proto3" json:"backing_denom,omitempty"` }
func (*EstimateBuyBackingOutRequest) Descriptor ¶
func (*EstimateBuyBackingOutRequest) Descriptor() ([]byte, []int)
func (*EstimateBuyBackingOutRequest) GetBackingDenom ¶
func (m *EstimateBuyBackingOutRequest) GetBackingDenom() string
func (*EstimateBuyBackingOutRequest) GetFuryIn ¶
func (m *EstimateBuyBackingOutRequest) GetFuryIn() types.Coin
func (*EstimateBuyBackingOutRequest) Marshal ¶
func (m *EstimateBuyBackingOutRequest) Marshal() (dAtA []byte, err error)
func (*EstimateBuyBackingOutRequest) MarshalTo ¶
func (m *EstimateBuyBackingOutRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateBuyBackingOutRequest) MarshalToSizedBuffer ¶
func (m *EstimateBuyBackingOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateBuyBackingOutRequest) ProtoMessage ¶
func (*EstimateBuyBackingOutRequest) ProtoMessage()
func (*EstimateBuyBackingOutRequest) Reset ¶
func (m *EstimateBuyBackingOutRequest) Reset()
func (*EstimateBuyBackingOutRequest) Size ¶
func (m *EstimateBuyBackingOutRequest) Size() (n int)
func (*EstimateBuyBackingOutRequest) String ¶
func (m *EstimateBuyBackingOutRequest) String() string
func (*EstimateBuyBackingOutRequest) Unmarshal ¶
func (m *EstimateBuyBackingOutRequest) Unmarshal(dAtA []byte) error
func (*EstimateBuyBackingOutRequest) XXX_DiscardUnknown ¶
func (m *EstimateBuyBackingOutRequest) XXX_DiscardUnknown()
func (*EstimateBuyBackingOutRequest) XXX_Marshal ¶
func (m *EstimateBuyBackingOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateBuyBackingOutRequest) XXX_Merge ¶
func (m *EstimateBuyBackingOutRequest) XXX_Merge(src proto.Message)
func (*EstimateBuyBackingOutRequest) XXX_Size ¶
func (m *EstimateBuyBackingOutRequest) XXX_Size() int
func (*EstimateBuyBackingOutRequest) XXX_Unmarshal ¶
func (m *EstimateBuyBackingOutRequest) XXX_Unmarshal(b []byte) error
type EstimateBuyBackingOutResponse ¶
type EstimateBuyBackingOutResponse struct { BackingOut types.Coin `protobuf:"bytes,1,opt,name=backing_out,json=backingOut,proto3" json:"backing_out"` BuybackFee types.Coin `protobuf:"bytes,2,opt,name=buyback_fee,json=buybackFee,proto3" json:"buyback_fee"` }
func (*EstimateBuyBackingOutResponse) Descriptor ¶
func (*EstimateBuyBackingOutResponse) Descriptor() ([]byte, []int)
func (*EstimateBuyBackingOutResponse) GetBackingOut ¶
func (m *EstimateBuyBackingOutResponse) GetBackingOut() types.Coin
func (*EstimateBuyBackingOutResponse) GetBuybackFee ¶
func (m *EstimateBuyBackingOutResponse) GetBuybackFee() types.Coin
func (*EstimateBuyBackingOutResponse) Marshal ¶
func (m *EstimateBuyBackingOutResponse) Marshal() (dAtA []byte, err error)
func (*EstimateBuyBackingOutResponse) MarshalTo ¶
func (m *EstimateBuyBackingOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateBuyBackingOutResponse) MarshalToSizedBuffer ¶
func (m *EstimateBuyBackingOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateBuyBackingOutResponse) ProtoMessage ¶
func (*EstimateBuyBackingOutResponse) ProtoMessage()
func (*EstimateBuyBackingOutResponse) Reset ¶
func (m *EstimateBuyBackingOutResponse) Reset()
func (*EstimateBuyBackingOutResponse) Size ¶
func (m *EstimateBuyBackingOutResponse) Size() (n int)
func (*EstimateBuyBackingOutResponse) String ¶
func (m *EstimateBuyBackingOutResponse) String() string
func (*EstimateBuyBackingOutResponse) Unmarshal ¶
func (m *EstimateBuyBackingOutResponse) Unmarshal(dAtA []byte) error
func (*EstimateBuyBackingOutResponse) XXX_DiscardUnknown ¶
func (m *EstimateBuyBackingOutResponse) XXX_DiscardUnknown()
func (*EstimateBuyBackingOutResponse) XXX_Marshal ¶
func (m *EstimateBuyBackingOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateBuyBackingOutResponse) XXX_Merge ¶
func (m *EstimateBuyBackingOutResponse) XXX_Merge(src proto.Message)
func (*EstimateBuyBackingOutResponse) XXX_Size ¶
func (m *EstimateBuyBackingOutResponse) XXX_Size() int
func (*EstimateBuyBackingOutResponse) XXX_Unmarshal ¶
func (m *EstimateBuyBackingOutResponse) XXX_Unmarshal(b []byte) error
type EstimateMintBySwapInRequest ¶
type EstimateMintBySwapInRequest struct { MintOut types.Coin `protobuf:"bytes,1,opt,name=mint_out,json=mintOut,proto3" json:"mint_out"` BackingDenom string `protobuf:"bytes,2,opt,name=backing_denom,json=backingDenom,proto3" json:"backing_denom,omitempty"` FullBacking bool `protobuf:"varint,3,opt,name=full_backing,json=fullBacking,proto3" json:"full_backing,omitempty"` }
func (*EstimateMintBySwapInRequest) Descriptor ¶
func (*EstimateMintBySwapInRequest) Descriptor() ([]byte, []int)
func (*EstimateMintBySwapInRequest) GetBackingDenom ¶
func (m *EstimateMintBySwapInRequest) GetBackingDenom() string
func (*EstimateMintBySwapInRequest) GetFullBacking ¶
func (m *EstimateMintBySwapInRequest) GetFullBacking() bool
func (*EstimateMintBySwapInRequest) GetMintOut ¶
func (m *EstimateMintBySwapInRequest) GetMintOut() types.Coin
func (*EstimateMintBySwapInRequest) Marshal ¶
func (m *EstimateMintBySwapInRequest) Marshal() (dAtA []byte, err error)
func (*EstimateMintBySwapInRequest) MarshalTo ¶
func (m *EstimateMintBySwapInRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateMintBySwapInRequest) MarshalToSizedBuffer ¶
func (m *EstimateMintBySwapInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateMintBySwapInRequest) ProtoMessage ¶
func (*EstimateMintBySwapInRequest) ProtoMessage()
func (*EstimateMintBySwapInRequest) Reset ¶
func (m *EstimateMintBySwapInRequest) Reset()
func (*EstimateMintBySwapInRequest) Size ¶
func (m *EstimateMintBySwapInRequest) Size() (n int)
func (*EstimateMintBySwapInRequest) String ¶
func (m *EstimateMintBySwapInRequest) String() string
func (*EstimateMintBySwapInRequest) Unmarshal ¶
func (m *EstimateMintBySwapInRequest) Unmarshal(dAtA []byte) error
func (*EstimateMintBySwapInRequest) XXX_DiscardUnknown ¶
func (m *EstimateMintBySwapInRequest) XXX_DiscardUnknown()
func (*EstimateMintBySwapInRequest) XXX_Marshal ¶
func (m *EstimateMintBySwapInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateMintBySwapInRequest) XXX_Merge ¶
func (m *EstimateMintBySwapInRequest) XXX_Merge(src proto.Message)
func (*EstimateMintBySwapInRequest) XXX_Size ¶
func (m *EstimateMintBySwapInRequest) XXX_Size() int
func (*EstimateMintBySwapInRequest) XXX_Unmarshal ¶
func (m *EstimateMintBySwapInRequest) XXX_Unmarshal(b []byte) error
type EstimateMintBySwapInResponse ¶
type EstimateMintBySwapInResponse struct { BackingIn types.Coin `protobuf:"bytes,1,opt,name=backing_in,json=backingIn,proto3" json:"backing_in"` FuryIn types.Coin `protobuf:"bytes,2,opt,name=fury_in,json=furyIn,proto3" json:"fury_in"` MintFee types.Coin `protobuf:"bytes,3,opt,name=mint_fee,json=mintFee,proto3" json:"mint_fee"` }
func (*EstimateMintBySwapInResponse) Descriptor ¶
func (*EstimateMintBySwapInResponse) Descriptor() ([]byte, []int)
func (*EstimateMintBySwapInResponse) GetBackingIn ¶
func (m *EstimateMintBySwapInResponse) GetBackingIn() types.Coin
func (*EstimateMintBySwapInResponse) GetFuryIn ¶
func (m *EstimateMintBySwapInResponse) GetFuryIn() types.Coin
func (*EstimateMintBySwapInResponse) GetMintFee ¶
func (m *EstimateMintBySwapInResponse) GetMintFee() types.Coin
func (*EstimateMintBySwapInResponse) Marshal ¶
func (m *EstimateMintBySwapInResponse) Marshal() (dAtA []byte, err error)
func (*EstimateMintBySwapInResponse) MarshalTo ¶
func (m *EstimateMintBySwapInResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateMintBySwapInResponse) MarshalToSizedBuffer ¶
func (m *EstimateMintBySwapInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateMintBySwapInResponse) ProtoMessage ¶
func (*EstimateMintBySwapInResponse) ProtoMessage()
func (*EstimateMintBySwapInResponse) Reset ¶
func (m *EstimateMintBySwapInResponse) Reset()
func (*EstimateMintBySwapInResponse) Size ¶
func (m *EstimateMintBySwapInResponse) Size() (n int)
func (*EstimateMintBySwapInResponse) String ¶
func (m *EstimateMintBySwapInResponse) String() string
func (*EstimateMintBySwapInResponse) Unmarshal ¶
func (m *EstimateMintBySwapInResponse) Unmarshal(dAtA []byte) error
func (*EstimateMintBySwapInResponse) XXX_DiscardUnknown ¶
func (m *EstimateMintBySwapInResponse) XXX_DiscardUnknown()
func (*EstimateMintBySwapInResponse) XXX_Marshal ¶
func (m *EstimateMintBySwapInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateMintBySwapInResponse) XXX_Merge ¶
func (m *EstimateMintBySwapInResponse) XXX_Merge(src proto.Message)
func (*EstimateMintBySwapInResponse) XXX_Size ¶
func (m *EstimateMintBySwapInResponse) XXX_Size() int
func (*EstimateMintBySwapInResponse) XXX_Unmarshal ¶
func (m *EstimateMintBySwapInResponse) XXX_Unmarshal(b []byte) error
type EstimateMintBySwapOutRequest ¶
type EstimateMintBySwapOutRequest struct { BackingInMax types.Coin `protobuf:"bytes,1,opt,name=backing_in_max,json=backingInMax,proto3" json:"backing_in_max"` FuryInMax types.Coin `protobuf:"bytes,2,opt,name=fury_in_max,json=furyInMax,proto3" json:"fury_in_max"` FullBacking bool `protobuf:"varint,3,opt,name=full_backing,json=fullBacking,proto3" json:"full_backing,omitempty"` }
func (*EstimateMintBySwapOutRequest) Descriptor ¶
func (*EstimateMintBySwapOutRequest) Descriptor() ([]byte, []int)
func (*EstimateMintBySwapOutRequest) GetBackingInMax ¶
func (m *EstimateMintBySwapOutRequest) GetBackingInMax() types.Coin
func (*EstimateMintBySwapOutRequest) GetFullBacking ¶
func (m *EstimateMintBySwapOutRequest) GetFullBacking() bool
func (*EstimateMintBySwapOutRequest) GetFuryInMax ¶
func (m *EstimateMintBySwapOutRequest) GetFuryInMax() types.Coin
func (*EstimateMintBySwapOutRequest) Marshal ¶
func (m *EstimateMintBySwapOutRequest) Marshal() (dAtA []byte, err error)
func (*EstimateMintBySwapOutRequest) MarshalTo ¶
func (m *EstimateMintBySwapOutRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateMintBySwapOutRequest) MarshalToSizedBuffer ¶
func (m *EstimateMintBySwapOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateMintBySwapOutRequest) ProtoMessage ¶
func (*EstimateMintBySwapOutRequest) ProtoMessage()
func (*EstimateMintBySwapOutRequest) Reset ¶
func (m *EstimateMintBySwapOutRequest) Reset()
func (*EstimateMintBySwapOutRequest) Size ¶
func (m *EstimateMintBySwapOutRequest) Size() (n int)
func (*EstimateMintBySwapOutRequest) String ¶
func (m *EstimateMintBySwapOutRequest) String() string
func (*EstimateMintBySwapOutRequest) Unmarshal ¶
func (m *EstimateMintBySwapOutRequest) Unmarshal(dAtA []byte) error
func (*EstimateMintBySwapOutRequest) XXX_DiscardUnknown ¶
func (m *EstimateMintBySwapOutRequest) XXX_DiscardUnknown()
func (*EstimateMintBySwapOutRequest) XXX_Marshal ¶
func (m *EstimateMintBySwapOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateMintBySwapOutRequest) XXX_Merge ¶
func (m *EstimateMintBySwapOutRequest) XXX_Merge(src proto.Message)
func (*EstimateMintBySwapOutRequest) XXX_Size ¶
func (m *EstimateMintBySwapOutRequest) XXX_Size() int
func (*EstimateMintBySwapOutRequest) XXX_Unmarshal ¶
func (m *EstimateMintBySwapOutRequest) XXX_Unmarshal(b []byte) error
type EstimateMintBySwapOutResponse ¶
type EstimateMintBySwapOutResponse struct { BackingIn types.Coin `protobuf:"bytes,1,opt,name=backing_in,json=backingIn,proto3" json:"backing_in"` FuryIn types.Coin `protobuf:"bytes,2,opt,name=fury_in,json=furyIn,proto3" json:"fury_in"` MintOut types.Coin `protobuf:"bytes,3,opt,name=mint_out,json=mintOut,proto3" json:"mint_out"` MintFee types.Coin `protobuf:"bytes,4,opt,name=mint_fee,json=mintFee,proto3" json:"mint_fee"` }
func (*EstimateMintBySwapOutResponse) Descriptor ¶
func (*EstimateMintBySwapOutResponse) Descriptor() ([]byte, []int)
func (*EstimateMintBySwapOutResponse) GetBackingIn ¶
func (m *EstimateMintBySwapOutResponse) GetBackingIn() types.Coin
func (*EstimateMintBySwapOutResponse) GetFuryIn ¶
func (m *EstimateMintBySwapOutResponse) GetFuryIn() types.Coin
func (*EstimateMintBySwapOutResponse) GetMintFee ¶
func (m *EstimateMintBySwapOutResponse) GetMintFee() types.Coin
func (*EstimateMintBySwapOutResponse) GetMintOut ¶
func (m *EstimateMintBySwapOutResponse) GetMintOut() types.Coin
func (*EstimateMintBySwapOutResponse) Marshal ¶
func (m *EstimateMintBySwapOutResponse) Marshal() (dAtA []byte, err error)
func (*EstimateMintBySwapOutResponse) MarshalTo ¶
func (m *EstimateMintBySwapOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateMintBySwapOutResponse) MarshalToSizedBuffer ¶
func (m *EstimateMintBySwapOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateMintBySwapOutResponse) ProtoMessage ¶
func (*EstimateMintBySwapOutResponse) ProtoMessage()
func (*EstimateMintBySwapOutResponse) Reset ¶
func (m *EstimateMintBySwapOutResponse) Reset()
func (*EstimateMintBySwapOutResponse) Size ¶
func (m *EstimateMintBySwapOutResponse) Size() (n int)
func (*EstimateMintBySwapOutResponse) String ¶
func (m *EstimateMintBySwapOutResponse) String() string
func (*EstimateMintBySwapOutResponse) Unmarshal ¶
func (m *EstimateMintBySwapOutResponse) Unmarshal(dAtA []byte) error
func (*EstimateMintBySwapOutResponse) XXX_DiscardUnknown ¶
func (m *EstimateMintBySwapOutResponse) XXX_DiscardUnknown()
func (*EstimateMintBySwapOutResponse) XXX_Marshal ¶
func (m *EstimateMintBySwapOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateMintBySwapOutResponse) XXX_Merge ¶
func (m *EstimateMintBySwapOutResponse) XXX_Merge(src proto.Message)
func (*EstimateMintBySwapOutResponse) XXX_Size ¶
func (m *EstimateMintBySwapOutResponse) XXX_Size() int
func (*EstimateMintBySwapOutResponse) XXX_Unmarshal ¶
func (m *EstimateMintBySwapOutResponse) XXX_Unmarshal(b []byte) error
type EstimateSellBackingInRequest ¶
type EstimateSellBackingInRequest struct { FuryOut types.Coin `protobuf:"bytes,1,opt,name=fury_out,json=furyOut,proto3" json:"fury_out"` BackingDenom string `protobuf:"bytes,2,opt,name=backing_denom,json=backingDenom,proto3" json:"backing_denom,omitempty"` }
func (*EstimateSellBackingInRequest) Descriptor ¶
func (*EstimateSellBackingInRequest) Descriptor() ([]byte, []int)
func (*EstimateSellBackingInRequest) GetBackingDenom ¶
func (m *EstimateSellBackingInRequest) GetBackingDenom() string
func (*EstimateSellBackingInRequest) GetFuryOut ¶
func (m *EstimateSellBackingInRequest) GetFuryOut() types.Coin
func (*EstimateSellBackingInRequest) Marshal ¶
func (m *EstimateSellBackingInRequest) Marshal() (dAtA []byte, err error)
func (*EstimateSellBackingInRequest) MarshalTo ¶
func (m *EstimateSellBackingInRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSellBackingInRequest) MarshalToSizedBuffer ¶
func (m *EstimateSellBackingInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSellBackingInRequest) ProtoMessage ¶
func (*EstimateSellBackingInRequest) ProtoMessage()
func (*EstimateSellBackingInRequest) Reset ¶
func (m *EstimateSellBackingInRequest) Reset()
func (*EstimateSellBackingInRequest) Size ¶
func (m *EstimateSellBackingInRequest) Size() (n int)
func (*EstimateSellBackingInRequest) String ¶
func (m *EstimateSellBackingInRequest) String() string
func (*EstimateSellBackingInRequest) Unmarshal ¶
func (m *EstimateSellBackingInRequest) Unmarshal(dAtA []byte) error
func (*EstimateSellBackingInRequest) XXX_DiscardUnknown ¶
func (m *EstimateSellBackingInRequest) XXX_DiscardUnknown()
func (*EstimateSellBackingInRequest) XXX_Marshal ¶
func (m *EstimateSellBackingInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSellBackingInRequest) XXX_Merge ¶
func (m *EstimateSellBackingInRequest) XXX_Merge(src proto.Message)
func (*EstimateSellBackingInRequest) XXX_Size ¶
func (m *EstimateSellBackingInRequest) XXX_Size() int
func (*EstimateSellBackingInRequest) XXX_Unmarshal ¶
func (m *EstimateSellBackingInRequest) XXX_Unmarshal(b []byte) error
type EstimateSellBackingInResponse ¶
type EstimateSellBackingInResponse struct { BackingIn types.Coin `protobuf:"bytes,1,opt,name=backing_in,json=backingIn,proto3" json:"backing_in"` SellbackFee types.Coin `protobuf:"bytes,2,opt,name=sellback_fee,json=sellbackFee,proto3" json:"sellback_fee"` }
func (*EstimateSellBackingInResponse) Descriptor ¶
func (*EstimateSellBackingInResponse) Descriptor() ([]byte, []int)
func (*EstimateSellBackingInResponse) GetBackingIn ¶
func (m *EstimateSellBackingInResponse) GetBackingIn() types.Coin
func (*EstimateSellBackingInResponse) GetSellbackFee ¶
func (m *EstimateSellBackingInResponse) GetSellbackFee() types.Coin
func (*EstimateSellBackingInResponse) Marshal ¶
func (m *EstimateSellBackingInResponse) Marshal() (dAtA []byte, err error)
func (*EstimateSellBackingInResponse) MarshalTo ¶
func (m *EstimateSellBackingInResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSellBackingInResponse) MarshalToSizedBuffer ¶
func (m *EstimateSellBackingInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSellBackingInResponse) ProtoMessage ¶
func (*EstimateSellBackingInResponse) ProtoMessage()
func (*EstimateSellBackingInResponse) Reset ¶
func (m *EstimateSellBackingInResponse) Reset()
func (*EstimateSellBackingInResponse) Size ¶
func (m *EstimateSellBackingInResponse) Size() (n int)
func (*EstimateSellBackingInResponse) String ¶
func (m *EstimateSellBackingInResponse) String() string
func (*EstimateSellBackingInResponse) Unmarshal ¶
func (m *EstimateSellBackingInResponse) Unmarshal(dAtA []byte) error
func (*EstimateSellBackingInResponse) XXX_DiscardUnknown ¶
func (m *EstimateSellBackingInResponse) XXX_DiscardUnknown()
func (*EstimateSellBackingInResponse) XXX_Marshal ¶
func (m *EstimateSellBackingInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSellBackingInResponse) XXX_Merge ¶
func (m *EstimateSellBackingInResponse) XXX_Merge(src proto.Message)
func (*EstimateSellBackingInResponse) XXX_Size ¶
func (m *EstimateSellBackingInResponse) XXX_Size() int
func (*EstimateSellBackingInResponse) XXX_Unmarshal ¶
func (m *EstimateSellBackingInResponse) XXX_Unmarshal(b []byte) error
type EstimateSellBackingOutRequest ¶
type EstimateSellBackingOutRequest struct {
BackingIn types.Coin `protobuf:"bytes,1,opt,name=backing_in,json=backingIn,proto3" json:"backing_in"`
}
func (*EstimateSellBackingOutRequest) Descriptor ¶
func (*EstimateSellBackingOutRequest) Descriptor() ([]byte, []int)
func (*EstimateSellBackingOutRequest) GetBackingIn ¶
func (m *EstimateSellBackingOutRequest) GetBackingIn() types.Coin
func (*EstimateSellBackingOutRequest) Marshal ¶
func (m *EstimateSellBackingOutRequest) Marshal() (dAtA []byte, err error)
func (*EstimateSellBackingOutRequest) MarshalTo ¶
func (m *EstimateSellBackingOutRequest) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSellBackingOutRequest) MarshalToSizedBuffer ¶
func (m *EstimateSellBackingOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSellBackingOutRequest) ProtoMessage ¶
func (*EstimateSellBackingOutRequest) ProtoMessage()
func (*EstimateSellBackingOutRequest) Reset ¶
func (m *EstimateSellBackingOutRequest) Reset()
func (*EstimateSellBackingOutRequest) Size ¶
func (m *EstimateSellBackingOutRequest) Size() (n int)
func (*EstimateSellBackingOutRequest) String ¶
func (m *EstimateSellBackingOutRequest) String() string
func (*EstimateSellBackingOutRequest) Unmarshal ¶
func (m *EstimateSellBackingOutRequest) Unmarshal(dAtA []byte) error
func (*EstimateSellBackingOutRequest) XXX_DiscardUnknown ¶
func (m *EstimateSellBackingOutRequest) XXX_DiscardUnknown()
func (*EstimateSellBackingOutRequest) XXX_Marshal ¶
func (m *EstimateSellBackingOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSellBackingOutRequest) XXX_Merge ¶
func (m *EstimateSellBackingOutRequest) XXX_Merge(src proto.Message)
func (*EstimateSellBackingOutRequest) XXX_Size ¶
func (m *EstimateSellBackingOutRequest) XXX_Size() int
func (*EstimateSellBackingOutRequest) XXX_Unmarshal ¶
func (m *EstimateSellBackingOutRequest) XXX_Unmarshal(b []byte) error
type EstimateSellBackingOutResponse ¶
type EstimateSellBackingOutResponse struct { FuryOut types.Coin `protobuf:"bytes,1,opt,name=fury_out,json=furyOut,proto3" json:"fury_out"` SellbackFee types.Coin `protobuf:"bytes,2,opt,name=sellback_fee,json=sellbackFee,proto3" json:"sellback_fee"` }
func (*EstimateSellBackingOutResponse) Descriptor ¶
func (*EstimateSellBackingOutResponse) Descriptor() ([]byte, []int)
func (*EstimateSellBackingOutResponse) GetFuryOut ¶
func (m *EstimateSellBackingOutResponse) GetFuryOut() types.Coin
func (*EstimateSellBackingOutResponse) GetSellbackFee ¶
func (m *EstimateSellBackingOutResponse) GetSellbackFee() types.Coin
func (*EstimateSellBackingOutResponse) Marshal ¶
func (m *EstimateSellBackingOutResponse) Marshal() (dAtA []byte, err error)
func (*EstimateSellBackingOutResponse) MarshalTo ¶
func (m *EstimateSellBackingOutResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateSellBackingOutResponse) MarshalToSizedBuffer ¶
func (m *EstimateSellBackingOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateSellBackingOutResponse) ProtoMessage ¶
func (*EstimateSellBackingOutResponse) ProtoMessage()
func (*EstimateSellBackingOutResponse) Reset ¶
func (m *EstimateSellBackingOutResponse) Reset()
func (*EstimateSellBackingOutResponse) Size ¶
func (m *EstimateSellBackingOutResponse) Size() (n int)
func (*EstimateSellBackingOutResponse) String ¶
func (m *EstimateSellBackingOutResponse) String() string
func (*EstimateSellBackingOutResponse) Unmarshal ¶
func (m *EstimateSellBackingOutResponse) Unmarshal(dAtA []byte) error
func (*EstimateSellBackingOutResponse) XXX_DiscardUnknown ¶
func (m *EstimateSellBackingOutResponse) XXX_DiscardUnknown()
func (*EstimateSellBackingOutResponse) XXX_Marshal ¶
func (m *EstimateSellBackingOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateSellBackingOutResponse) XXX_Merge ¶
func (m *EstimateSellBackingOutResponse) XXX_Merge(src proto.Message)
func (*EstimateSellBackingOutResponse) XXX_Size ¶
func (m *EstimateSellBackingOutResponse) XXX_Size() int
func (*EstimateSellBackingOutResponse) XXX_Unmarshal ¶
func (m *EstimateSellBackingOutResponse) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` BackingRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */ }
GenesisState defines the maker module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
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) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
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 MsgBurnByCollateral ¶
type MsgBurnByCollateral struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` CollateralDenom string `protobuf:"bytes,2,opt,name=collateral_denom,json=collateralDenom,proto3" json:"collateral_denom" yaml:"collateral_denom"` RepayInMax types.Coin `protobuf:"bytes,3,opt,name=repay_in_max,json=repayInMax,proto3" json:"repay_in_max" yaml:"repay_in_max"` }
MsgBurnByCollateral represents a message to burn Black stablecoins by unlocking collateral.
func (*MsgBurnByCollateral) Descriptor ¶
func (*MsgBurnByCollateral) Descriptor() ([]byte, []int)
func (*MsgBurnByCollateral) GetSignBytes ¶
func (m *MsgBurnByCollateral) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgBurnByCollateral) GetSigners ¶
func (m *MsgBurnByCollateral) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgBurnByCollateral) Marshal ¶
func (m *MsgBurnByCollateral) Marshal() (dAtA []byte, err error)
func (*MsgBurnByCollateral) MarshalTo ¶
func (m *MsgBurnByCollateral) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnByCollateral) MarshalToSizedBuffer ¶
func (m *MsgBurnByCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnByCollateral) ProtoMessage ¶
func (*MsgBurnByCollateral) ProtoMessage()
func (*MsgBurnByCollateral) Reset ¶
func (m *MsgBurnByCollateral) Reset()
func (*MsgBurnByCollateral) Route ¶
func (m *MsgBurnByCollateral) Route() string
Route implements sdk.Msg
func (*MsgBurnByCollateral) Size ¶
func (m *MsgBurnByCollateral) Size() (n int)
func (*MsgBurnByCollateral) String ¶
func (m *MsgBurnByCollateral) String() string
func (*MsgBurnByCollateral) Type ¶
func (m *MsgBurnByCollateral) Type() string
Type implements sdk.Msg
func (*MsgBurnByCollateral) Unmarshal ¶
func (m *MsgBurnByCollateral) Unmarshal(dAtA []byte) error
func (*MsgBurnByCollateral) ValidateBasic ¶
func (m *MsgBurnByCollateral) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgBurnByCollateral) XXX_DiscardUnknown ¶
func (m *MsgBurnByCollateral) XXX_DiscardUnknown()
func (*MsgBurnByCollateral) XXX_Marshal ¶
func (m *MsgBurnByCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnByCollateral) XXX_Merge ¶
func (m *MsgBurnByCollateral) XXX_Merge(src proto.Message)
func (*MsgBurnByCollateral) XXX_Size ¶
func (m *MsgBurnByCollateral) XXX_Size() int
func (*MsgBurnByCollateral) XXX_Unmarshal ¶
func (m *MsgBurnByCollateral) XXX_Unmarshal(b []byte) error
type MsgBurnByCollateralResponse ¶
type MsgBurnByCollateralResponse struct {
RepayIn types.Coin `protobuf:"bytes,1,opt,name=repay_in,json=repayIn,proto3" json:"repay_in" yaml:"repay_in"`
}
MsgBurnByCollateralResponse defines the Msg/BurnByCollateral response type.
func (*MsgBurnByCollateralResponse) Descriptor ¶
func (*MsgBurnByCollateralResponse) Descriptor() ([]byte, []int)
func (*MsgBurnByCollateralResponse) GetRepayIn ¶
func (m *MsgBurnByCollateralResponse) GetRepayIn() types.Coin
func (*MsgBurnByCollateralResponse) Marshal ¶
func (m *MsgBurnByCollateralResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnByCollateralResponse) MarshalTo ¶
func (m *MsgBurnByCollateralResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnByCollateralResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnByCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnByCollateralResponse) ProtoMessage ¶
func (*MsgBurnByCollateralResponse) ProtoMessage()
func (*MsgBurnByCollateralResponse) Reset ¶
func (m *MsgBurnByCollateralResponse) Reset()
func (*MsgBurnByCollateralResponse) Size ¶
func (m *MsgBurnByCollateralResponse) Size() (n int)
func (*MsgBurnByCollateralResponse) String ¶
func (m *MsgBurnByCollateralResponse) String() string
func (*MsgBurnByCollateralResponse) Unmarshal ¶
func (m *MsgBurnByCollateralResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnByCollateralResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnByCollateralResponse) XXX_DiscardUnknown()
func (*MsgBurnByCollateralResponse) XXX_Marshal ¶
func (m *MsgBurnByCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnByCollateralResponse) XXX_Merge ¶
func (m *MsgBurnByCollateralResponse) XXX_Merge(src proto.Message)
func (*MsgBurnByCollateralResponse) XXX_Size ¶
func (m *MsgBurnByCollateralResponse) XXX_Size() int
func (*MsgBurnByCollateralResponse) XXX_Unmarshal ¶
func (m *MsgBurnByCollateralResponse) XXX_Unmarshal(b []byte) error
type MsgBurnBySwap ¶
type MsgBurnBySwap struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"` BurnIn types.Coin `protobuf:"bytes,3,opt,name=burn_in,json=burnIn,proto3" json:"burn_in" yaml:"burn_in"` BackingOutMin types.Coin `protobuf:"bytes,4,opt,name=backing_out_min,json=backingOutMin,proto3" json:"backing_out_min" yaml:"backing_out_min"` FuryOutMin types.Coin `protobuf:"bytes,5,opt,name=fury_out_min,json=furyOutMin,proto3" json:"fury_out_min" yaml:"fury_out_min"` }
MsgBurnBySwap represents a message to burn Black stablecoins by swapping.
func (*MsgBurnBySwap) Descriptor ¶
func (*MsgBurnBySwap) Descriptor() ([]byte, []int)
func (*MsgBurnBySwap) GetSignBytes ¶
func (m *MsgBurnBySwap) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgBurnBySwap) GetSigners ¶
func (m *MsgBurnBySwap) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgBurnBySwap) Marshal ¶
func (m *MsgBurnBySwap) Marshal() (dAtA []byte, err error)
func (*MsgBurnBySwap) MarshalToSizedBuffer ¶
func (m *MsgBurnBySwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnBySwap) ProtoMessage ¶
func (*MsgBurnBySwap) ProtoMessage()
func (*MsgBurnBySwap) Reset ¶
func (m *MsgBurnBySwap) Reset()
func (*MsgBurnBySwap) Size ¶
func (m *MsgBurnBySwap) Size() (n int)
func (*MsgBurnBySwap) String ¶
func (m *MsgBurnBySwap) String() string
func (*MsgBurnBySwap) Unmarshal ¶
func (m *MsgBurnBySwap) Unmarshal(dAtA []byte) error
func (*MsgBurnBySwap) ValidateBasic ¶
func (m *MsgBurnBySwap) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgBurnBySwap) XXX_DiscardUnknown ¶
func (m *MsgBurnBySwap) XXX_DiscardUnknown()
func (*MsgBurnBySwap) XXX_Marshal ¶
func (m *MsgBurnBySwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnBySwap) XXX_Merge ¶
func (m *MsgBurnBySwap) XXX_Merge(src proto.Message)
func (*MsgBurnBySwap) XXX_Size ¶
func (m *MsgBurnBySwap) XXX_Size() int
func (*MsgBurnBySwap) XXX_Unmarshal ¶
func (m *MsgBurnBySwap) XXX_Unmarshal(b []byte) error
type MsgBurnBySwapResponse ¶
type MsgBurnBySwapResponse struct { BackingOut types.Coin `protobuf:"bytes,1,opt,name=backing_out,json=backingOut,proto3" json:"backing_out" yaml:"backing_out"` FuryOut types.Coin `protobuf:"bytes,2,opt,name=fury_out,json=furyOut,proto3" json:"fury_out" yaml:"fury_out"` BurnFee types.Coin `protobuf:"bytes,3,opt,name=burn_fee,json=burnFee,proto3" json:"burn_fee" yaml:"burn_fee"` }
MsgBurnBySwapResponse defines the Msg/BurnBySwap response type.
func (*MsgBurnBySwapResponse) Descriptor ¶
func (*MsgBurnBySwapResponse) Descriptor() ([]byte, []int)
func (*MsgBurnBySwapResponse) GetBackingOut ¶
func (m *MsgBurnBySwapResponse) GetBackingOut() types.Coin
func (*MsgBurnBySwapResponse) GetBurnFee ¶
func (m *MsgBurnBySwapResponse) GetBurnFee() types.Coin
func (*MsgBurnBySwapResponse) GetFuryOut ¶
func (m *MsgBurnBySwapResponse) GetFuryOut() types.Coin
func (*MsgBurnBySwapResponse) Marshal ¶
func (m *MsgBurnBySwapResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnBySwapResponse) MarshalTo ¶
func (m *MsgBurnBySwapResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnBySwapResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnBySwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnBySwapResponse) ProtoMessage ¶
func (*MsgBurnBySwapResponse) ProtoMessage()
func (*MsgBurnBySwapResponse) Reset ¶
func (m *MsgBurnBySwapResponse) Reset()
func (*MsgBurnBySwapResponse) Size ¶
func (m *MsgBurnBySwapResponse) Size() (n int)
func (*MsgBurnBySwapResponse) String ¶
func (m *MsgBurnBySwapResponse) String() string
func (*MsgBurnBySwapResponse) Unmarshal ¶
func (m *MsgBurnBySwapResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnBySwapResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnBySwapResponse) XXX_DiscardUnknown()
func (*MsgBurnBySwapResponse) XXX_Marshal ¶
func (m *MsgBurnBySwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnBySwapResponse) XXX_Merge ¶
func (m *MsgBurnBySwapResponse) XXX_Merge(src proto.Message)
func (*MsgBurnBySwapResponse) XXX_Size ¶
func (m *MsgBurnBySwapResponse) XXX_Size() int
func (*MsgBurnBySwapResponse) XXX_Unmarshal ¶
func (m *MsgBurnBySwapResponse) XXX_Unmarshal(b []byte) error
type MsgBuyBacking ¶
type MsgBuyBacking struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"` FuryIn types.Coin `protobuf:"bytes,3,opt,name=fury_in,json=furyIn,proto3" json:"fury_in" yaml:"fury_in"` BackingOutMin types.Coin `protobuf:"bytes,4,opt,name=backing_out_min,json=backingOutMin,proto3" json:"backing_out_min" yaml:"backing_out_min"` }
MsgBuyBacking represents a message to buy strong-backing assets.
func (*MsgBuyBacking) Descriptor ¶
func (*MsgBuyBacking) Descriptor() ([]byte, []int)
func (*MsgBuyBacking) GetSignBytes ¶
func (m *MsgBuyBacking) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgBuyBacking) GetSigners ¶
func (m *MsgBuyBacking) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgBuyBacking) Marshal ¶
func (m *MsgBuyBacking) Marshal() (dAtA []byte, err error)
func (*MsgBuyBacking) MarshalToSizedBuffer ¶
func (m *MsgBuyBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBuyBacking) ProtoMessage ¶
func (*MsgBuyBacking) ProtoMessage()
func (*MsgBuyBacking) Reset ¶
func (m *MsgBuyBacking) Reset()
func (*MsgBuyBacking) Size ¶
func (m *MsgBuyBacking) Size() (n int)
func (*MsgBuyBacking) String ¶
func (m *MsgBuyBacking) String() string
func (*MsgBuyBacking) Unmarshal ¶
func (m *MsgBuyBacking) Unmarshal(dAtA []byte) error
func (*MsgBuyBacking) ValidateBasic ¶
func (m *MsgBuyBacking) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgBuyBacking) XXX_DiscardUnknown ¶
func (m *MsgBuyBacking) XXX_DiscardUnknown()
func (*MsgBuyBacking) XXX_Marshal ¶
func (m *MsgBuyBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBuyBacking) XXX_Merge ¶
func (m *MsgBuyBacking) XXX_Merge(src proto.Message)
func (*MsgBuyBacking) XXX_Size ¶
func (m *MsgBuyBacking) XXX_Size() int
func (*MsgBuyBacking) XXX_Unmarshal ¶
func (m *MsgBuyBacking) XXX_Unmarshal(b []byte) error
type MsgBuyBackingResponse ¶
type MsgBuyBackingResponse struct { BackingOut types.Coin `protobuf:"bytes,1,opt,name=backing_out,json=backingOut,proto3" json:"backing_out" yaml:"backing_out"` BuybackFee types.Coin `protobuf:"bytes,2,opt,name=buyback_fee,json=buybackFee,proto3" json:"buyback_fee" yaml:"buyback_fee"` }
MsgBuyBackingResponse defines the Msg/BuyBacking response type.
func (*MsgBuyBackingResponse) Descriptor ¶
func (*MsgBuyBackingResponse) Descriptor() ([]byte, []int)
func (*MsgBuyBackingResponse) GetBackingOut ¶
func (m *MsgBuyBackingResponse) GetBackingOut() types.Coin
func (*MsgBuyBackingResponse) GetBuybackFee ¶
func (m *MsgBuyBackingResponse) GetBuybackFee() types.Coin
func (*MsgBuyBackingResponse) Marshal ¶
func (m *MsgBuyBackingResponse) Marshal() (dAtA []byte, err error)
func (*MsgBuyBackingResponse) MarshalTo ¶
func (m *MsgBuyBackingResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBuyBackingResponse) MarshalToSizedBuffer ¶
func (m *MsgBuyBackingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBuyBackingResponse) ProtoMessage ¶
func (*MsgBuyBackingResponse) ProtoMessage()
func (*MsgBuyBackingResponse) Reset ¶
func (m *MsgBuyBackingResponse) Reset()
func (*MsgBuyBackingResponse) Size ¶
func (m *MsgBuyBackingResponse) Size() (n int)
func (*MsgBuyBackingResponse) String ¶
func (m *MsgBuyBackingResponse) String() string
func (*MsgBuyBackingResponse) Unmarshal ¶
func (m *MsgBuyBackingResponse) Unmarshal(dAtA []byte) error
func (*MsgBuyBackingResponse) XXX_DiscardUnknown ¶
func (m *MsgBuyBackingResponse) XXX_DiscardUnknown()
func (*MsgBuyBackingResponse) XXX_Marshal ¶
func (m *MsgBuyBackingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBuyBackingResponse) XXX_Merge ¶
func (m *MsgBuyBackingResponse) XXX_Merge(src proto.Message)
func (*MsgBuyBackingResponse) XXX_Size ¶
func (m *MsgBuyBackingResponse) XXX_Size() int
func (*MsgBuyBackingResponse) XXX_Unmarshal ¶
func (m *MsgBuyBackingResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // MintBySwap mints Black stablecoins by swapping in strong-backing assets and // Fury coins. MintBySwap(ctx context.Context, in *MsgMintBySwap, opts ...grpc.CallOption) (*MsgMintBySwapResponse, error) // BurnBySwap burns Black stablecoins by swapping out strong-backing assets // and Fury coins. BurnBySwap(ctx context.Context, in *MsgBurnBySwap, opts ...grpc.CallOption) (*MsgBurnBySwapResponse, error) // BuyBacking buys strong-backing assets by spending Fury coins. BuyBacking(ctx context.Context, in *MsgBuyBacking, opts ...grpc.CallOption) (*MsgBuyBackingResponse, error) // SellBacking sells strong-backing assets by earning Fury // coins. SellBacking(ctx context.Context, in *MsgSellBacking, opts ...grpc.CallOption) (*MsgSellBackingResponse, error) // MintByCollateral mints Black stablecoins by locking collateral assets and // spending Fury coins. MintByCollateral(ctx context.Context, in *MsgMintByCollateral, opts ...grpc.CallOption) (*MsgMintByCollateralResponse, error) // BurnByCollateral burns Black stablecoins by unlocking collateral assets and // earning Fury coins. BurnByCollateral(ctx context.Context, in *MsgBurnByCollateral, opts ...grpc.CallOption) (*MsgBurnByCollateralResponse, error) // DepositCollateral deposits collateral assets. DepositCollateral(ctx context.Context, in *MsgDepositCollateral, opts ...grpc.CallOption) (*MsgDepositCollateralResponse, error) // RedeemCollateral redeems collateral assets and collateralized Fury coins. RedeemCollateral(ctx context.Context, in *MsgRedeemCollateral, opts ...grpc.CallOption) (*MsgRedeemCollateralResponse, error) // LiquidateCollateral liquidates collateral assets which is // undercollateralized. LiquidateCollateral(ctx context.Context, in *MsgLiquidateCollateral, opts ...grpc.CallOption) (*MsgLiquidateCollateralResponse, 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 MsgDepositCollateral ¶
type MsgDepositCollateral struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"` CollateralIn types.Coin `protobuf:"bytes,3,opt,name=collateral_in,json=collateralIn,proto3" json:"collateral_in" yaml:"collateral_in"` FuryIn types.Coin `protobuf:"bytes,4,opt,name=fury_in,json=furyIn,proto3" json:"fury_in" yaml:"fury_in"` }
MsgDepositCollateral represents a message to deposit collateral assets.
func (*MsgDepositCollateral) Descriptor ¶
func (*MsgDepositCollateral) Descriptor() ([]byte, []int)
func (*MsgDepositCollateral) GetSignBytes ¶
func (m *MsgDepositCollateral) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgDepositCollateral) GetSigners ¶
func (m *MsgDepositCollateral) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgDepositCollateral) Marshal ¶
func (m *MsgDepositCollateral) Marshal() (dAtA []byte, err error)
func (*MsgDepositCollateral) MarshalTo ¶
func (m *MsgDepositCollateral) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositCollateral) MarshalToSizedBuffer ¶
func (m *MsgDepositCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositCollateral) ProtoMessage ¶
func (*MsgDepositCollateral) ProtoMessage()
func (*MsgDepositCollateral) Reset ¶
func (m *MsgDepositCollateral) Reset()
func (*MsgDepositCollateral) Route ¶
func (m *MsgDepositCollateral) Route() string
Route implements sdk.Msg
func (*MsgDepositCollateral) Size ¶
func (m *MsgDepositCollateral) Size() (n int)
func (*MsgDepositCollateral) String ¶
func (m *MsgDepositCollateral) String() string
func (*MsgDepositCollateral) Type ¶
func (m *MsgDepositCollateral) Type() string
Type implements sdk.Msg
func (*MsgDepositCollateral) Unmarshal ¶
func (m *MsgDepositCollateral) Unmarshal(dAtA []byte) error
func (*MsgDepositCollateral) ValidateBasic ¶
func (m *MsgDepositCollateral) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgDepositCollateral) XXX_DiscardUnknown ¶
func (m *MsgDepositCollateral) XXX_DiscardUnknown()
func (*MsgDepositCollateral) XXX_Marshal ¶
func (m *MsgDepositCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositCollateral) XXX_Merge ¶
func (m *MsgDepositCollateral) XXX_Merge(src proto.Message)
func (*MsgDepositCollateral) XXX_Size ¶
func (m *MsgDepositCollateral) XXX_Size() int
func (*MsgDepositCollateral) XXX_Unmarshal ¶
func (m *MsgDepositCollateral) XXX_Unmarshal(b []byte) error
type MsgDepositCollateralResponse ¶
type MsgDepositCollateralResponse struct { }
MsgDepositCollateralResponse defines the Msg/DepositCollateral response type.
func (*MsgDepositCollateralResponse) Descriptor ¶
func (*MsgDepositCollateralResponse) Descriptor() ([]byte, []int)
func (*MsgDepositCollateralResponse) Marshal ¶
func (m *MsgDepositCollateralResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositCollateralResponse) MarshalTo ¶
func (m *MsgDepositCollateralResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositCollateralResponse) MarshalToSizedBuffer ¶
func (m *MsgDepositCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositCollateralResponse) ProtoMessage ¶
func (*MsgDepositCollateralResponse) ProtoMessage()
func (*MsgDepositCollateralResponse) Reset ¶
func (m *MsgDepositCollateralResponse) Reset()
func (*MsgDepositCollateralResponse) Size ¶
func (m *MsgDepositCollateralResponse) Size() (n int)
func (*MsgDepositCollateralResponse) String ¶
func (m *MsgDepositCollateralResponse) String() string
func (*MsgDepositCollateralResponse) Unmarshal ¶
func (m *MsgDepositCollateralResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositCollateralResponse) XXX_DiscardUnknown ¶
func (m *MsgDepositCollateralResponse) XXX_DiscardUnknown()
func (*MsgDepositCollateralResponse) XXX_Marshal ¶
func (m *MsgDepositCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositCollateralResponse) XXX_Merge ¶
func (m *MsgDepositCollateralResponse) XXX_Merge(src proto.Message)
func (*MsgDepositCollateralResponse) XXX_Size ¶
func (m *MsgDepositCollateralResponse) XXX_Size() int
func (*MsgDepositCollateralResponse) XXX_Unmarshal ¶
func (m *MsgDepositCollateralResponse) XXX_Unmarshal(b []byte) error
type MsgLiquidateCollateral ¶
type MsgLiquidateCollateral struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"` Debtor string `protobuf:"bytes,3,opt,name=debtor,proto3" json:"debtor,omitempty" yaml:"to"` Collateral types.Coin `protobuf:"bytes,4,opt,name=collateral,proto3" json:"collateral" yaml:"collateral"` RepayInMax types.Coin `protobuf:"bytes,5,opt,name=repay_in_max,json=repayInMax,proto3" json:"repay_in_max" yaml:"repay_in_max"` }
MsgLiquidateCollateral represents a message to liquidates collateral assets.
func (*MsgLiquidateCollateral) Descriptor ¶
func (*MsgLiquidateCollateral) Descriptor() ([]byte, []int)
func (*MsgLiquidateCollateral) GetSignBytes ¶
func (m *MsgLiquidateCollateral) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgLiquidateCollateral) GetSigners ¶
func (m *MsgLiquidateCollateral) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgLiquidateCollateral) Marshal ¶
func (m *MsgLiquidateCollateral) Marshal() (dAtA []byte, err error)
func (*MsgLiquidateCollateral) MarshalTo ¶
func (m *MsgLiquidateCollateral) MarshalTo(dAtA []byte) (int, error)
func (*MsgLiquidateCollateral) MarshalToSizedBuffer ¶
func (m *MsgLiquidateCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLiquidateCollateral) ProtoMessage ¶
func (*MsgLiquidateCollateral) ProtoMessage()
func (*MsgLiquidateCollateral) Reset ¶
func (m *MsgLiquidateCollateral) Reset()
func (*MsgLiquidateCollateral) Route ¶
func (m *MsgLiquidateCollateral) Route() string
Route implements sdk.Msg
func (*MsgLiquidateCollateral) Size ¶
func (m *MsgLiquidateCollateral) Size() (n int)
func (*MsgLiquidateCollateral) String ¶
func (m *MsgLiquidateCollateral) String() string
func (*MsgLiquidateCollateral) Type ¶
func (m *MsgLiquidateCollateral) Type() string
Type implements sdk.Msg
func (*MsgLiquidateCollateral) Unmarshal ¶
func (m *MsgLiquidateCollateral) Unmarshal(dAtA []byte) error
func (*MsgLiquidateCollateral) ValidateBasic ¶
func (m *MsgLiquidateCollateral) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgLiquidateCollateral) XXX_DiscardUnknown ¶
func (m *MsgLiquidateCollateral) XXX_DiscardUnknown()
func (*MsgLiquidateCollateral) XXX_Marshal ¶
func (m *MsgLiquidateCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLiquidateCollateral) XXX_Merge ¶
func (m *MsgLiquidateCollateral) XXX_Merge(src proto.Message)
func (*MsgLiquidateCollateral) XXX_Size ¶
func (m *MsgLiquidateCollateral) XXX_Size() int
func (*MsgLiquidateCollateral) XXX_Unmarshal ¶
func (m *MsgLiquidateCollateral) XXX_Unmarshal(b []byte) error
type MsgLiquidateCollateralResponse ¶
type MsgLiquidateCollateralResponse struct { RepayIn types.Coin `protobuf:"bytes,1,opt,name=repay_in,json=repayIn,proto3" json:"repay_in" yaml:"repay_in"` CollateralOut types.Coin `protobuf:"bytes,2,opt,name=collateral_out,json=collateralOut,proto3" json:"collateral_out" yaml:"collateral_out"` }
MsgLiquidateCollateralResponse defines the Msg/LiquidateCollateral response type.
func (*MsgLiquidateCollateralResponse) Descriptor ¶
func (*MsgLiquidateCollateralResponse) Descriptor() ([]byte, []int)
func (*MsgLiquidateCollateralResponse) GetCollateralOut ¶
func (m *MsgLiquidateCollateralResponse) GetCollateralOut() types.Coin
func (*MsgLiquidateCollateralResponse) GetRepayIn ¶
func (m *MsgLiquidateCollateralResponse) GetRepayIn() types.Coin
func (*MsgLiquidateCollateralResponse) Marshal ¶
func (m *MsgLiquidateCollateralResponse) Marshal() (dAtA []byte, err error)
func (*MsgLiquidateCollateralResponse) MarshalTo ¶
func (m *MsgLiquidateCollateralResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgLiquidateCollateralResponse) MarshalToSizedBuffer ¶
func (m *MsgLiquidateCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLiquidateCollateralResponse) ProtoMessage ¶
func (*MsgLiquidateCollateralResponse) ProtoMessage()
func (*MsgLiquidateCollateralResponse) Reset ¶
func (m *MsgLiquidateCollateralResponse) Reset()
func (*MsgLiquidateCollateralResponse) Size ¶
func (m *MsgLiquidateCollateralResponse) Size() (n int)
func (*MsgLiquidateCollateralResponse) String ¶
func (m *MsgLiquidateCollateralResponse) String() string
func (*MsgLiquidateCollateralResponse) Unmarshal ¶
func (m *MsgLiquidateCollateralResponse) Unmarshal(dAtA []byte) error
func (*MsgLiquidateCollateralResponse) XXX_DiscardUnknown ¶
func (m *MsgLiquidateCollateralResponse) XXX_DiscardUnknown()
func (*MsgLiquidateCollateralResponse) XXX_Marshal ¶
func (m *MsgLiquidateCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLiquidateCollateralResponse) XXX_Merge ¶
func (m *MsgLiquidateCollateralResponse) XXX_Merge(src proto.Message)
func (*MsgLiquidateCollateralResponse) XXX_Size ¶
func (m *MsgLiquidateCollateralResponse) XXX_Size() int
func (*MsgLiquidateCollateralResponse) XXX_Unmarshal ¶
func (m *MsgLiquidateCollateralResponse) XXX_Unmarshal(b []byte) error
type MsgMintByCollateral ¶
type MsgMintByCollateral struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"` CollateralDenom string `protobuf:"bytes,3,opt,name=collateral_denom,json=collateralDenom,proto3" json:"collateral_denom" yaml:"collateral_denom"` MintOut types.Coin `protobuf:"bytes,4,opt,name=mint_out,json=mintOut,proto3" json:"mint_out" yaml:"mint_out"` }
MsgMintByCollateral represents a message to mint Black stablecoins by locking collateral.
func (*MsgMintByCollateral) Descriptor ¶
func (*MsgMintByCollateral) Descriptor() ([]byte, []int)
func (*MsgMintByCollateral) GetSignBytes ¶
func (m *MsgMintByCollateral) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgMintByCollateral) GetSigners ¶
func (m *MsgMintByCollateral) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgMintByCollateral) Marshal ¶
func (m *MsgMintByCollateral) Marshal() (dAtA []byte, err error)
func (*MsgMintByCollateral) MarshalTo ¶
func (m *MsgMintByCollateral) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintByCollateral) MarshalToSizedBuffer ¶
func (m *MsgMintByCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintByCollateral) ProtoMessage ¶
func (*MsgMintByCollateral) ProtoMessage()
func (*MsgMintByCollateral) Reset ¶
func (m *MsgMintByCollateral) Reset()
func (*MsgMintByCollateral) Route ¶
func (m *MsgMintByCollateral) Route() string
Route implements sdk.Msg
func (*MsgMintByCollateral) Size ¶
func (m *MsgMintByCollateral) Size() (n int)
func (*MsgMintByCollateral) String ¶
func (m *MsgMintByCollateral) String() string
func (*MsgMintByCollateral) Type ¶
func (m *MsgMintByCollateral) Type() string
Type implements sdk.Msg
func (*MsgMintByCollateral) Unmarshal ¶
func (m *MsgMintByCollateral) Unmarshal(dAtA []byte) error
func (*MsgMintByCollateral) ValidateBasic ¶
func (m *MsgMintByCollateral) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgMintByCollateral) XXX_DiscardUnknown ¶
func (m *MsgMintByCollateral) XXX_DiscardUnknown()
func (*MsgMintByCollateral) XXX_Marshal ¶
func (m *MsgMintByCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintByCollateral) XXX_Merge ¶
func (m *MsgMintByCollateral) XXX_Merge(src proto.Message)
func (*MsgMintByCollateral) XXX_Size ¶
func (m *MsgMintByCollateral) XXX_Size() int
func (*MsgMintByCollateral) XXX_Unmarshal ¶
func (m *MsgMintByCollateral) XXX_Unmarshal(b []byte) error
type MsgMintByCollateralResponse ¶
type MsgMintByCollateralResponse struct {
MintFee types.Coin `protobuf:"bytes,1,opt,name=mint_fee,json=mintFee,proto3" json:"mint_fee" yaml:"mint_fee"`
}
MsgMintByCollateralResponse defines the Msg/MintByCollateral response type.
func (*MsgMintByCollateralResponse) Descriptor ¶
func (*MsgMintByCollateralResponse) Descriptor() ([]byte, []int)
func (*MsgMintByCollateralResponse) GetMintFee ¶
func (m *MsgMintByCollateralResponse) GetMintFee() types.Coin
func (*MsgMintByCollateralResponse) Marshal ¶
func (m *MsgMintByCollateralResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintByCollateralResponse) MarshalTo ¶
func (m *MsgMintByCollateralResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintByCollateralResponse) MarshalToSizedBuffer ¶
func (m *MsgMintByCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintByCollateralResponse) ProtoMessage ¶
func (*MsgMintByCollateralResponse) ProtoMessage()
func (*MsgMintByCollateralResponse) Reset ¶
func (m *MsgMintByCollateralResponse) Reset()
func (*MsgMintByCollateralResponse) Size ¶
func (m *MsgMintByCollateralResponse) Size() (n int)
func (*MsgMintByCollateralResponse) String ¶
func (m *MsgMintByCollateralResponse) String() string
func (*MsgMintByCollateralResponse) Unmarshal ¶
func (m *MsgMintByCollateralResponse) Unmarshal(dAtA []byte) error
func (*MsgMintByCollateralResponse) XXX_DiscardUnknown ¶
func (m *MsgMintByCollateralResponse) XXX_DiscardUnknown()
func (*MsgMintByCollateralResponse) XXX_Marshal ¶
func (m *MsgMintByCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintByCollateralResponse) XXX_Merge ¶
func (m *MsgMintByCollateralResponse) XXX_Merge(src proto.Message)
func (*MsgMintByCollateralResponse) XXX_Size ¶
func (m *MsgMintByCollateralResponse) XXX_Size() int
func (*MsgMintByCollateralResponse) XXX_Unmarshal ¶
func (m *MsgMintByCollateralResponse) XXX_Unmarshal(b []byte) error
type MsgMintBySwap ¶
type MsgMintBySwap struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"` BackingInMax types.Coin `protobuf:"bytes,3,opt,name=backing_in_max,json=backingInMax,proto3" json:"backing_in_max" yaml:"backing_in_max"` FuryInMax types.Coin `protobuf:"bytes,4,opt,name=fury_in_max,json=furyInMax,proto3" json:"fury_in_max" yaml:"fury_in_max"` MintOutMin types.Coin `protobuf:"bytes,5,opt,name=mint_out_min,json=mintOutMin,proto3" json:"mint_out_min" yaml:"mint_out_min"` FullBacking bool `protobuf:"varint,6,opt,name=full_backing,json=fullBacking,proto3" json:"full_backing" yaml:"full_backing"` }
MsgMintBySwap represents a message to mint Black stablecoins by swapping.
func (*MsgMintBySwap) Descriptor ¶
func (*MsgMintBySwap) Descriptor() ([]byte, []int)
func (*MsgMintBySwap) GetSignBytes ¶
func (m *MsgMintBySwap) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgMintBySwap) GetSigners ¶
func (m *MsgMintBySwap) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgMintBySwap) Marshal ¶
func (m *MsgMintBySwap) Marshal() (dAtA []byte, err error)
func (*MsgMintBySwap) MarshalToSizedBuffer ¶
func (m *MsgMintBySwap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintBySwap) ProtoMessage ¶
func (*MsgMintBySwap) ProtoMessage()
func (*MsgMintBySwap) Reset ¶
func (m *MsgMintBySwap) Reset()
func (*MsgMintBySwap) Size ¶
func (m *MsgMintBySwap) Size() (n int)
func (*MsgMintBySwap) String ¶
func (m *MsgMintBySwap) String() string
func (*MsgMintBySwap) Unmarshal ¶
func (m *MsgMintBySwap) Unmarshal(dAtA []byte) error
func (*MsgMintBySwap) ValidateBasic ¶
func (m *MsgMintBySwap) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgMintBySwap) XXX_DiscardUnknown ¶
func (m *MsgMintBySwap) XXX_DiscardUnknown()
func (*MsgMintBySwap) XXX_Marshal ¶
func (m *MsgMintBySwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintBySwap) XXX_Merge ¶
func (m *MsgMintBySwap) XXX_Merge(src proto.Message)
func (*MsgMintBySwap) XXX_Size ¶
func (m *MsgMintBySwap) XXX_Size() int
func (*MsgMintBySwap) XXX_Unmarshal ¶
func (m *MsgMintBySwap) XXX_Unmarshal(b []byte) error
type MsgMintBySwapResponse ¶
type MsgMintBySwapResponse struct { BackingIn types.Coin `protobuf:"bytes,1,opt,name=backing_in,json=backingIn,proto3" json:"backing_in" yaml:"backing_in"` FuryIn types.Coin `protobuf:"bytes,2,opt,name=fury_in,json=furyIn,proto3" json:"fury_in" yaml:"fury_in"` MintOut types.Coin `protobuf:"bytes,3,opt,name=mint_out,json=mintOut,proto3" json:"mint_out" yaml:"mint_out"` MintFee types.Coin `protobuf:"bytes,4,opt,name=mint_fee,json=mintFee,proto3" json:"mint_fee" yaml:"mint_fee"` }
MsgMintBySwapResponse defines the Msg/MintBySwap response type.
func (*MsgMintBySwapResponse) Descriptor ¶
func (*MsgMintBySwapResponse) Descriptor() ([]byte, []int)
func (*MsgMintBySwapResponse) GetBackingIn ¶
func (m *MsgMintBySwapResponse) GetBackingIn() types.Coin
func (*MsgMintBySwapResponse) GetFuryIn ¶
func (m *MsgMintBySwapResponse) GetFuryIn() types.Coin
func (*MsgMintBySwapResponse) GetMintFee ¶
func (m *MsgMintBySwapResponse) GetMintFee() types.Coin
func (*MsgMintBySwapResponse) GetMintOut ¶
func (m *MsgMintBySwapResponse) GetMintOut() types.Coin
func (*MsgMintBySwapResponse) Marshal ¶
func (m *MsgMintBySwapResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintBySwapResponse) MarshalTo ¶
func (m *MsgMintBySwapResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintBySwapResponse) MarshalToSizedBuffer ¶
func (m *MsgMintBySwapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintBySwapResponse) ProtoMessage ¶
func (*MsgMintBySwapResponse) ProtoMessage()
func (*MsgMintBySwapResponse) Reset ¶
func (m *MsgMintBySwapResponse) Reset()
func (*MsgMintBySwapResponse) Size ¶
func (m *MsgMintBySwapResponse) Size() (n int)
func (*MsgMintBySwapResponse) String ¶
func (m *MsgMintBySwapResponse) String() string
func (*MsgMintBySwapResponse) Unmarshal ¶
func (m *MsgMintBySwapResponse) Unmarshal(dAtA []byte) error
func (*MsgMintBySwapResponse) XXX_DiscardUnknown ¶
func (m *MsgMintBySwapResponse) XXX_DiscardUnknown()
func (*MsgMintBySwapResponse) XXX_Marshal ¶
func (m *MsgMintBySwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintBySwapResponse) XXX_Merge ¶
func (m *MsgMintBySwapResponse) XXX_Merge(src proto.Message)
func (*MsgMintBySwapResponse) XXX_Size ¶
func (m *MsgMintBySwapResponse) XXX_Size() int
func (*MsgMintBySwapResponse) XXX_Unmarshal ¶
func (m *MsgMintBySwapResponse) XXX_Unmarshal(b []byte) error
type MsgRedeemCollateral ¶
type MsgRedeemCollateral struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"` CollateralOut types.Coin `protobuf:"bytes,3,opt,name=collateral_out,json=collateralOut,proto3" json:"collateral_out" yaml:"collateral_out"` FuryOut types.Coin `protobuf:"bytes,4,opt,name=fury_out,json=furyOut,proto3" json:"fury_out" yaml:"fury_out"` }
MsgRedeemCollateral represents a message to redeem collateral assets and collateralized Fury coins.
func (*MsgRedeemCollateral) Descriptor ¶
func (*MsgRedeemCollateral) Descriptor() ([]byte, []int)
func (*MsgRedeemCollateral) GetSignBytes ¶
func (m *MsgRedeemCollateral) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgRedeemCollateral) GetSigners ¶
func (m *MsgRedeemCollateral) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgRedeemCollateral) Marshal ¶
func (m *MsgRedeemCollateral) Marshal() (dAtA []byte, err error)
func (*MsgRedeemCollateral) MarshalTo ¶
func (m *MsgRedeemCollateral) MarshalTo(dAtA []byte) (int, error)
func (*MsgRedeemCollateral) MarshalToSizedBuffer ¶
func (m *MsgRedeemCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRedeemCollateral) ProtoMessage ¶
func (*MsgRedeemCollateral) ProtoMessage()
func (*MsgRedeemCollateral) Reset ¶
func (m *MsgRedeemCollateral) Reset()
func (*MsgRedeemCollateral) Route ¶
func (m *MsgRedeemCollateral) Route() string
Route implements sdk.Msg
func (*MsgRedeemCollateral) Size ¶
func (m *MsgRedeemCollateral) Size() (n int)
func (*MsgRedeemCollateral) String ¶
func (m *MsgRedeemCollateral) String() string
func (*MsgRedeemCollateral) Type ¶
func (m *MsgRedeemCollateral) Type() string
Type implements sdk.Msg
func (*MsgRedeemCollateral) Unmarshal ¶
func (m *MsgRedeemCollateral) Unmarshal(dAtA []byte) error
func (*MsgRedeemCollateral) ValidateBasic ¶
func (m *MsgRedeemCollateral) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgRedeemCollateral) XXX_DiscardUnknown ¶
func (m *MsgRedeemCollateral) XXX_DiscardUnknown()
func (*MsgRedeemCollateral) XXX_Marshal ¶
func (m *MsgRedeemCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRedeemCollateral) XXX_Merge ¶
func (m *MsgRedeemCollateral) XXX_Merge(src proto.Message)
func (*MsgRedeemCollateral) XXX_Size ¶
func (m *MsgRedeemCollateral) XXX_Size() int
func (*MsgRedeemCollateral) XXX_Unmarshal ¶
func (m *MsgRedeemCollateral) XXX_Unmarshal(b []byte) error
type MsgRedeemCollateralResponse ¶
type MsgRedeemCollateralResponse struct { }
MsgRedeemCollateralResponse defines the Msg/RedeemCollateral response type.
func (*MsgRedeemCollateralResponse) Descriptor ¶
func (*MsgRedeemCollateralResponse) Descriptor() ([]byte, []int)
func (*MsgRedeemCollateralResponse) Marshal ¶
func (m *MsgRedeemCollateralResponse) Marshal() (dAtA []byte, err error)
func (*MsgRedeemCollateralResponse) MarshalTo ¶
func (m *MsgRedeemCollateralResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRedeemCollateralResponse) MarshalToSizedBuffer ¶
func (m *MsgRedeemCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRedeemCollateralResponse) ProtoMessage ¶
func (*MsgRedeemCollateralResponse) ProtoMessage()
func (*MsgRedeemCollateralResponse) Reset ¶
func (m *MsgRedeemCollateralResponse) Reset()
func (*MsgRedeemCollateralResponse) Size ¶
func (m *MsgRedeemCollateralResponse) Size() (n int)
func (*MsgRedeemCollateralResponse) String ¶
func (m *MsgRedeemCollateralResponse) String() string
func (*MsgRedeemCollateralResponse) Unmarshal ¶
func (m *MsgRedeemCollateralResponse) Unmarshal(dAtA []byte) error
func (*MsgRedeemCollateralResponse) XXX_DiscardUnknown ¶
func (m *MsgRedeemCollateralResponse) XXX_DiscardUnknown()
func (*MsgRedeemCollateralResponse) XXX_Marshal ¶
func (m *MsgRedeemCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRedeemCollateralResponse) XXX_Merge ¶
func (m *MsgRedeemCollateralResponse) XXX_Merge(src proto.Message)
func (*MsgRedeemCollateralResponse) XXX_Size ¶
func (m *MsgRedeemCollateralResponse) XXX_Size() int
func (*MsgRedeemCollateralResponse) XXX_Unmarshal ¶
func (m *MsgRedeemCollateralResponse) XXX_Unmarshal(b []byte) error
type MsgSellBacking ¶
type MsgSellBacking struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to" yaml:"to"` BackingIn types.Coin `protobuf:"bytes,3,opt,name=backing_in,json=backingIn,proto3" json:"backing_in" yaml:"backing_in"` FuryOutMin types.Coin `protobuf:"bytes,4,opt,name=fury_out_min,json=furyOutMin,proto3" json:"fury_out_min" yaml:"fury_out_min"` }
MsgSellBacking represents a message to sell strong-backing assets.
func (*MsgSellBacking) Descriptor ¶
func (*MsgSellBacking) Descriptor() ([]byte, []int)
func (*MsgSellBacking) GetSignBytes ¶
func (m *MsgSellBacking) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgSellBacking) GetSigners ¶
func (m *MsgSellBacking) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgSellBacking) Marshal ¶
func (m *MsgSellBacking) Marshal() (dAtA []byte, err error)
func (*MsgSellBacking) MarshalToSizedBuffer ¶
func (m *MsgSellBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSellBacking) ProtoMessage ¶
func (*MsgSellBacking) ProtoMessage()
func (*MsgSellBacking) Reset ¶
func (m *MsgSellBacking) Reset()
func (*MsgSellBacking) Size ¶
func (m *MsgSellBacking) Size() (n int)
func (*MsgSellBacking) String ¶
func (m *MsgSellBacking) String() string
func (*MsgSellBacking) Unmarshal ¶
func (m *MsgSellBacking) Unmarshal(dAtA []byte) error
func (*MsgSellBacking) ValidateBasic ¶
func (m *MsgSellBacking) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgSellBacking) XXX_DiscardUnknown ¶
func (m *MsgSellBacking) XXX_DiscardUnknown()
func (*MsgSellBacking) XXX_Marshal ¶
func (m *MsgSellBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSellBacking) XXX_Merge ¶
func (m *MsgSellBacking) XXX_Merge(src proto.Message)
func (*MsgSellBacking) XXX_Size ¶
func (m *MsgSellBacking) XXX_Size() int
func (*MsgSellBacking) XXX_Unmarshal ¶
func (m *MsgSellBacking) XXX_Unmarshal(b []byte) error
type MsgSellBackingResponse ¶
type MsgSellBackingResponse struct { FuryOut types.Coin `protobuf:"bytes,1,opt,name=fury_out,json=furyOut,proto3" json:"fury_out" yaml:"fury_out"` RebackFee types.Coin `protobuf:"bytes,2,opt,name=reback_fee,json=rebackFee,proto3" json:"reback_fee" yaml:"reback_fee"` }
MsgSellBackingResponse defines the Msg/SellBacking response type.
func (*MsgSellBackingResponse) Descriptor ¶
func (*MsgSellBackingResponse) Descriptor() ([]byte, []int)
func (*MsgSellBackingResponse) GetFuryOut ¶
func (m *MsgSellBackingResponse) GetFuryOut() types.Coin
func (*MsgSellBackingResponse) GetRebackFee ¶
func (m *MsgSellBackingResponse) GetRebackFee() types.Coin
func (*MsgSellBackingResponse) Marshal ¶
func (m *MsgSellBackingResponse) Marshal() (dAtA []byte, err error)
func (*MsgSellBackingResponse) MarshalTo ¶
func (m *MsgSellBackingResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSellBackingResponse) MarshalToSizedBuffer ¶
func (m *MsgSellBackingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSellBackingResponse) ProtoMessage ¶
func (*MsgSellBackingResponse) ProtoMessage()
func (*MsgSellBackingResponse) Reset ¶
func (m *MsgSellBackingResponse) Reset()
func (*MsgSellBackingResponse) Size ¶
func (m *MsgSellBackingResponse) Size() (n int)
func (*MsgSellBackingResponse) String ¶
func (m *MsgSellBackingResponse) String() string
func (*MsgSellBackingResponse) Unmarshal ¶
func (m *MsgSellBackingResponse) Unmarshal(dAtA []byte) error
func (*MsgSellBackingResponse) XXX_DiscardUnknown ¶
func (m *MsgSellBackingResponse) XXX_DiscardUnknown()
func (*MsgSellBackingResponse) XXX_Marshal ¶
func (m *MsgSellBackingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSellBackingResponse) XXX_Merge ¶
func (m *MsgSellBackingResponse) XXX_Merge(src proto.Message)
func (*MsgSellBackingResponse) XXX_Size ¶
func (m *MsgSellBackingResponse) XXX_Size() int
func (*MsgSellBackingResponse) XXX_Unmarshal ¶
func (m *MsgSellBackingResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // MintBySwap mints Black stablecoins by swapping in strong-backing assets and // Fury coins. MintBySwap(context.Context, *MsgMintBySwap) (*MsgMintBySwapResponse, error) // BurnBySwap burns Black stablecoins by swapping out strong-backing assets // and Fury coins. BurnBySwap(context.Context, *MsgBurnBySwap) (*MsgBurnBySwapResponse, error) // BuyBacking buys strong-backing assets by spending Fury coins. BuyBacking(context.Context, *MsgBuyBacking) (*MsgBuyBackingResponse, error) // SellBacking sells strong-backing assets by earning Fury // coins. SellBacking(context.Context, *MsgSellBacking) (*MsgSellBackingResponse, error) // MintByCollateral mints Black stablecoins by locking collateral assets and // spending Fury coins. MintByCollateral(context.Context, *MsgMintByCollateral) (*MsgMintByCollateralResponse, error) // BurnByCollateral burns Black stablecoins by unlocking collateral assets and // earning Fury coins. BurnByCollateral(context.Context, *MsgBurnByCollateral) (*MsgBurnByCollateralResponse, error) // DepositCollateral deposits collateral assets. DepositCollateral(context.Context, *MsgDepositCollateral) (*MsgDepositCollateralResponse, error) // RedeemCollateral redeems collateral assets and collateralized Fury coins. RedeemCollateral(context.Context, *MsgRedeemCollateral) (*MsgRedeemCollateralResponse, error) // LiquidateCollateral liquidates collateral assets which is // undercollateralized. LiquidateCollateral(context.Context, *MsgLiquidateCollateral) (*MsgLiquidateCollateralResponse, error) }
MsgServer is the server API for Msg service.
type OracleKeeper ¶
type OracleKeeper interface { GetExchangeRate(ctx sdk.Context, denom string) (price sdk.Dec, err error) IsTarget(ctx sdk.Context, denom string) bool }
OracleKeeper defines the expected oracle keeper
type Params ¶
type Params struct { // step of adjusting backing ratio BackingRatioStep github_com_cosmos_cosmos_sdk_types.Dec `` /* 177-byte string literal not displayed */ // price band for adjusting backing ratio BackingRatioPriceBand github_com_cosmos_cosmos_sdk_types.Dec `` /* 200-byte string literal not displayed */ // cooldown period for adjusting backing ratio BackingRatioCooldownPeriod int64 `` /* 181-byte string literal not displayed */ // mint Black price bias ratio MintPriceBias github_com_cosmos_cosmos_sdk_types.Dec `` /* 165-byte string literal not displayed */ // burn Black price bias ratio BurnPriceBias github_com_cosmos_cosmos_sdk_types.Dec `` /* 165-byte string literal not displayed */ // reback bonus ratio RebackBonus github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */ // liquidation commission fee ratio LiquidationCommissionFee github_com_cosmos_cosmos_sdk_types.Dec `` /* 209-byte string literal not displayed */ }
Params defines the parameters for the maker module.
func (*Params) Descriptor ¶
func (*Params) GetBackingRatioCooldownPeriod ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PoolBacking ¶
type PoolBacking struct { // total minted black; negative value means burned black BlackMinted types.Coin `protobuf:"bytes,1,opt,name=black_minted,json=blackMinted,proto3" json:"black_minted"` // total backing Backing types.Coin `protobuf:"bytes,2,opt,name=backing,proto3" json:"backing"` // total burned fury; negative value means minted fury FuryBurned types.Coin `protobuf:"bytes,3,opt,name=fury_burned,json=furyBurned,proto3" json:"fury_burned"` }
func (*PoolBacking) Descriptor ¶
func (*PoolBacking) Descriptor() ([]byte, []int)
func (*PoolBacking) GetBacking ¶
func (m *PoolBacking) GetBacking() types.Coin
func (*PoolBacking) GetBlackMinted ¶
func (m *PoolBacking) GetBlackMinted() types.Coin
func (*PoolBacking) GetFuryBurned ¶
func (m *PoolBacking) GetFuryBurned() types.Coin
func (*PoolBacking) Marshal ¶
func (m *PoolBacking) Marshal() (dAtA []byte, err error)
func (*PoolBacking) MarshalToSizedBuffer ¶
func (m *PoolBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolBacking) ProtoMessage ¶
func (*PoolBacking) ProtoMessage()
func (*PoolBacking) Reset ¶
func (m *PoolBacking) Reset()
func (*PoolBacking) Size ¶
func (m *PoolBacking) Size() (n int)
func (*PoolBacking) String ¶
func (m *PoolBacking) String() string
func (*PoolBacking) Unmarshal ¶
func (m *PoolBacking) Unmarshal(dAtA []byte) error
func (*PoolBacking) XXX_DiscardUnknown ¶
func (m *PoolBacking) XXX_DiscardUnknown()
func (*PoolBacking) XXX_Marshal ¶
func (m *PoolBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolBacking) XXX_Merge ¶
func (m *PoolBacking) XXX_Merge(src proto.Message)
func (*PoolBacking) XXX_Size ¶
func (m *PoolBacking) XXX_Size() int
func (*PoolBacking) XXX_Unmarshal ¶
func (m *PoolBacking) XXX_Unmarshal(b []byte) error
type PoolCollateral ¶
type PoolCollateral struct { // total collateral Collateral types.Coin `protobuf:"bytes,1,opt,name=collateral,proto3" json:"collateral"` // total existing black debt, including minted by collateral, mint fee, last // interest BlackDebt types.Coin `protobuf:"bytes,2,opt,name=black_debt,json=blackDebt,proto3" json:"black_debt"` // total collateralized fury FuryCollateralized types.Coin `protobuf:"bytes,3,opt,name=fury_collateralized,json=furyCollateralized,proto3" json:"fury_collateralized"` }
func (*PoolCollateral) Descriptor ¶
func (*PoolCollateral) Descriptor() ([]byte, []int)
func (*PoolCollateral) GetBlackDebt ¶
func (m *PoolCollateral) GetBlackDebt() types.Coin
func (*PoolCollateral) GetCollateral ¶
func (m *PoolCollateral) GetCollateral() types.Coin
func (*PoolCollateral) GetFuryCollateralized ¶
func (m *PoolCollateral) GetFuryCollateralized() types.Coin
func (*PoolCollateral) Marshal ¶
func (m *PoolCollateral) Marshal() (dAtA []byte, err error)
func (*PoolCollateral) MarshalToSizedBuffer ¶
func (m *PoolCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PoolCollateral) ProtoMessage ¶
func (*PoolCollateral) ProtoMessage()
func (*PoolCollateral) Reset ¶
func (m *PoolCollateral) Reset()
func (*PoolCollateral) Size ¶
func (m *PoolCollateral) Size() (n int)
func (*PoolCollateral) String ¶
func (m *PoolCollateral) String() string
func (*PoolCollateral) Unmarshal ¶
func (m *PoolCollateral) Unmarshal(dAtA []byte) error
func (*PoolCollateral) XXX_DiscardUnknown ¶
func (m *PoolCollateral) XXX_DiscardUnknown()
func (*PoolCollateral) XXX_Marshal ¶
func (m *PoolCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolCollateral) XXX_Merge ¶
func (m *PoolCollateral) XXX_Merge(src proto.Message)
func (*PoolCollateral) XXX_Size ¶
func (m *PoolCollateral) XXX_Size() int
func (*PoolCollateral) XXX_Unmarshal ¶
func (m *PoolCollateral) XXX_Unmarshal(b []byte) error
type QueryAllBackingPoolsRequest ¶
type QueryAllBackingPoolsRequest struct { }
func (*QueryAllBackingPoolsRequest) Descriptor ¶
func (*QueryAllBackingPoolsRequest) Descriptor() ([]byte, []int)
func (*QueryAllBackingPoolsRequest) Marshal ¶
func (m *QueryAllBackingPoolsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllBackingPoolsRequest) MarshalTo ¶
func (m *QueryAllBackingPoolsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBackingPoolsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllBackingPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBackingPoolsRequest) ProtoMessage ¶
func (*QueryAllBackingPoolsRequest) ProtoMessage()
func (*QueryAllBackingPoolsRequest) Reset ¶
func (m *QueryAllBackingPoolsRequest) Reset()
func (*QueryAllBackingPoolsRequest) Size ¶
func (m *QueryAllBackingPoolsRequest) Size() (n int)
func (*QueryAllBackingPoolsRequest) String ¶
func (m *QueryAllBackingPoolsRequest) String() string
func (*QueryAllBackingPoolsRequest) Unmarshal ¶
func (m *QueryAllBackingPoolsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllBackingPoolsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllBackingPoolsRequest) XXX_DiscardUnknown()
func (*QueryAllBackingPoolsRequest) XXX_Marshal ¶
func (m *QueryAllBackingPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBackingPoolsRequest) XXX_Merge ¶
func (m *QueryAllBackingPoolsRequest) XXX_Merge(src proto.Message)
func (*QueryAllBackingPoolsRequest) XXX_Size ¶
func (m *QueryAllBackingPoolsRequest) XXX_Size() int
func (*QueryAllBackingPoolsRequest) XXX_Unmarshal ¶
func (m *QueryAllBackingPoolsRequest) XXX_Unmarshal(b []byte) error
type QueryAllBackingPoolsResponse ¶
type QueryAllBackingPoolsResponse struct {
BackingPools []PoolBacking `protobuf:"bytes,1,rep,name=backing_pools,json=backingPools,proto3" json:"backing_pools"`
}
func (*QueryAllBackingPoolsResponse) Descriptor ¶
func (*QueryAllBackingPoolsResponse) Descriptor() ([]byte, []int)
func (*QueryAllBackingPoolsResponse) GetBackingPools ¶
func (m *QueryAllBackingPoolsResponse) GetBackingPools() []PoolBacking
func (*QueryAllBackingPoolsResponse) Marshal ¶
func (m *QueryAllBackingPoolsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllBackingPoolsResponse) MarshalTo ¶
func (m *QueryAllBackingPoolsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBackingPoolsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllBackingPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBackingPoolsResponse) ProtoMessage ¶
func (*QueryAllBackingPoolsResponse) ProtoMessage()
func (*QueryAllBackingPoolsResponse) Reset ¶
func (m *QueryAllBackingPoolsResponse) Reset()
func (*QueryAllBackingPoolsResponse) Size ¶
func (m *QueryAllBackingPoolsResponse) Size() (n int)
func (*QueryAllBackingPoolsResponse) String ¶
func (m *QueryAllBackingPoolsResponse) String() string
func (*QueryAllBackingPoolsResponse) Unmarshal ¶
func (m *QueryAllBackingPoolsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllBackingPoolsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllBackingPoolsResponse) XXX_DiscardUnknown()
func (*QueryAllBackingPoolsResponse) XXX_Marshal ¶
func (m *QueryAllBackingPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBackingPoolsResponse) XXX_Merge ¶
func (m *QueryAllBackingPoolsResponse) XXX_Merge(src proto.Message)
func (*QueryAllBackingPoolsResponse) XXX_Size ¶
func (m *QueryAllBackingPoolsResponse) XXX_Size() int
func (*QueryAllBackingPoolsResponse) XXX_Unmarshal ¶
func (m *QueryAllBackingPoolsResponse) XXX_Unmarshal(b []byte) error
type QueryAllBackingRiskParamsRequest ¶
type QueryAllBackingRiskParamsRequest struct { }
func (*QueryAllBackingRiskParamsRequest) Descriptor ¶
func (*QueryAllBackingRiskParamsRequest) Descriptor() ([]byte, []int)
func (*QueryAllBackingRiskParamsRequest) Marshal ¶
func (m *QueryAllBackingRiskParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllBackingRiskParamsRequest) MarshalTo ¶
func (m *QueryAllBackingRiskParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBackingRiskParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllBackingRiskParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBackingRiskParamsRequest) ProtoMessage ¶
func (*QueryAllBackingRiskParamsRequest) ProtoMessage()
func (*QueryAllBackingRiskParamsRequest) Reset ¶
func (m *QueryAllBackingRiskParamsRequest) Reset()
func (*QueryAllBackingRiskParamsRequest) Size ¶
func (m *QueryAllBackingRiskParamsRequest) Size() (n int)
func (*QueryAllBackingRiskParamsRequest) String ¶
func (m *QueryAllBackingRiskParamsRequest) String() string
func (*QueryAllBackingRiskParamsRequest) Unmarshal ¶
func (m *QueryAllBackingRiskParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllBackingRiskParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllBackingRiskParamsRequest) XXX_DiscardUnknown()
func (*QueryAllBackingRiskParamsRequest) XXX_Marshal ¶
func (m *QueryAllBackingRiskParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBackingRiskParamsRequest) XXX_Merge ¶
func (m *QueryAllBackingRiskParamsRequest) XXX_Merge(src proto.Message)
func (*QueryAllBackingRiskParamsRequest) XXX_Size ¶
func (m *QueryAllBackingRiskParamsRequest) XXX_Size() int
func (*QueryAllBackingRiskParamsRequest) XXX_Unmarshal ¶
func (m *QueryAllBackingRiskParamsRequest) XXX_Unmarshal(b []byte) error
type QueryAllBackingRiskParamsResponse ¶
type QueryAllBackingRiskParamsResponse struct {
RiskParams []BackingRiskParams `protobuf:"bytes,1,rep,name=risk_params,json=riskParams,proto3" json:"risk_params"`
}
func (*QueryAllBackingRiskParamsResponse) Descriptor ¶
func (*QueryAllBackingRiskParamsResponse) Descriptor() ([]byte, []int)
func (*QueryAllBackingRiskParamsResponse) GetRiskParams ¶
func (m *QueryAllBackingRiskParamsResponse) GetRiskParams() []BackingRiskParams
func (*QueryAllBackingRiskParamsResponse) Marshal ¶
func (m *QueryAllBackingRiskParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllBackingRiskParamsResponse) MarshalTo ¶
func (m *QueryAllBackingRiskParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBackingRiskParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllBackingRiskParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBackingRiskParamsResponse) ProtoMessage ¶
func (*QueryAllBackingRiskParamsResponse) ProtoMessage()
func (*QueryAllBackingRiskParamsResponse) Reset ¶
func (m *QueryAllBackingRiskParamsResponse) Reset()
func (*QueryAllBackingRiskParamsResponse) Size ¶
func (m *QueryAllBackingRiskParamsResponse) Size() (n int)
func (*QueryAllBackingRiskParamsResponse) String ¶
func (m *QueryAllBackingRiskParamsResponse) String() string
func (*QueryAllBackingRiskParamsResponse) Unmarshal ¶
func (m *QueryAllBackingRiskParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllBackingRiskParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllBackingRiskParamsResponse) XXX_DiscardUnknown()
func (*QueryAllBackingRiskParamsResponse) XXX_Marshal ¶
func (m *QueryAllBackingRiskParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBackingRiskParamsResponse) XXX_Merge ¶
func (m *QueryAllBackingRiskParamsResponse) XXX_Merge(src proto.Message)
func (*QueryAllBackingRiskParamsResponse) XXX_Size ¶
func (m *QueryAllBackingRiskParamsResponse) XXX_Size() int
func (*QueryAllBackingRiskParamsResponse) XXX_Unmarshal ¶
func (m *QueryAllBackingRiskParamsResponse) XXX_Unmarshal(b []byte) error
type QueryAllCollateralPoolsRequest ¶
type QueryAllCollateralPoolsRequest struct { }
func (*QueryAllCollateralPoolsRequest) Descriptor ¶
func (*QueryAllCollateralPoolsRequest) Descriptor() ([]byte, []int)
func (*QueryAllCollateralPoolsRequest) Marshal ¶
func (m *QueryAllCollateralPoolsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllCollateralPoolsRequest) MarshalTo ¶
func (m *QueryAllCollateralPoolsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllCollateralPoolsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllCollateralPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllCollateralPoolsRequest) ProtoMessage ¶
func (*QueryAllCollateralPoolsRequest) ProtoMessage()
func (*QueryAllCollateralPoolsRequest) Reset ¶
func (m *QueryAllCollateralPoolsRequest) Reset()
func (*QueryAllCollateralPoolsRequest) Size ¶
func (m *QueryAllCollateralPoolsRequest) Size() (n int)
func (*QueryAllCollateralPoolsRequest) String ¶
func (m *QueryAllCollateralPoolsRequest) String() string
func (*QueryAllCollateralPoolsRequest) Unmarshal ¶
func (m *QueryAllCollateralPoolsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllCollateralPoolsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllCollateralPoolsRequest) XXX_DiscardUnknown()
func (*QueryAllCollateralPoolsRequest) XXX_Marshal ¶
func (m *QueryAllCollateralPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllCollateralPoolsRequest) XXX_Merge ¶
func (m *QueryAllCollateralPoolsRequest) XXX_Merge(src proto.Message)
func (*QueryAllCollateralPoolsRequest) XXX_Size ¶
func (m *QueryAllCollateralPoolsRequest) XXX_Size() int
func (*QueryAllCollateralPoolsRequest) XXX_Unmarshal ¶
func (m *QueryAllCollateralPoolsRequest) XXX_Unmarshal(b []byte) error
type QueryAllCollateralPoolsResponse ¶
type QueryAllCollateralPoolsResponse struct {
CollateralPools []PoolCollateral `protobuf:"bytes,1,rep,name=collateral_pools,json=collateralPools,proto3" json:"collateral_pools"`
}
func (*QueryAllCollateralPoolsResponse) Descriptor ¶
func (*QueryAllCollateralPoolsResponse) Descriptor() ([]byte, []int)
func (*QueryAllCollateralPoolsResponse) GetCollateralPools ¶
func (m *QueryAllCollateralPoolsResponse) GetCollateralPools() []PoolCollateral
func (*QueryAllCollateralPoolsResponse) Marshal ¶
func (m *QueryAllCollateralPoolsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllCollateralPoolsResponse) MarshalTo ¶
func (m *QueryAllCollateralPoolsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllCollateralPoolsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllCollateralPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllCollateralPoolsResponse) ProtoMessage ¶
func (*QueryAllCollateralPoolsResponse) ProtoMessage()
func (*QueryAllCollateralPoolsResponse) Reset ¶
func (m *QueryAllCollateralPoolsResponse) Reset()
func (*QueryAllCollateralPoolsResponse) Size ¶
func (m *QueryAllCollateralPoolsResponse) Size() (n int)
func (*QueryAllCollateralPoolsResponse) String ¶
func (m *QueryAllCollateralPoolsResponse) String() string
func (*QueryAllCollateralPoolsResponse) Unmarshal ¶
func (m *QueryAllCollateralPoolsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllCollateralPoolsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllCollateralPoolsResponse) XXX_DiscardUnknown()
func (*QueryAllCollateralPoolsResponse) XXX_Marshal ¶
func (m *QueryAllCollateralPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllCollateralPoolsResponse) XXX_Merge ¶
func (m *QueryAllCollateralPoolsResponse) XXX_Merge(src proto.Message)
func (*QueryAllCollateralPoolsResponse) XXX_Size ¶
func (m *QueryAllCollateralPoolsResponse) XXX_Size() int
func (*QueryAllCollateralPoolsResponse) XXX_Unmarshal ¶
func (m *QueryAllCollateralPoolsResponse) XXX_Unmarshal(b []byte) error
type QueryAllCollateralRiskParamsRequest ¶
type QueryAllCollateralRiskParamsRequest struct { }
func (*QueryAllCollateralRiskParamsRequest) Descriptor ¶
func (*QueryAllCollateralRiskParamsRequest) Descriptor() ([]byte, []int)
func (*QueryAllCollateralRiskParamsRequest) Marshal ¶
func (m *QueryAllCollateralRiskParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllCollateralRiskParamsRequest) MarshalTo ¶
func (m *QueryAllCollateralRiskParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllCollateralRiskParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllCollateralRiskParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllCollateralRiskParamsRequest) ProtoMessage ¶
func (*QueryAllCollateralRiskParamsRequest) ProtoMessage()
func (*QueryAllCollateralRiskParamsRequest) Reset ¶
func (m *QueryAllCollateralRiskParamsRequest) Reset()
func (*QueryAllCollateralRiskParamsRequest) Size ¶
func (m *QueryAllCollateralRiskParamsRequest) Size() (n int)
func (*QueryAllCollateralRiskParamsRequest) String ¶
func (m *QueryAllCollateralRiskParamsRequest) String() string
func (*QueryAllCollateralRiskParamsRequest) Unmarshal ¶
func (m *QueryAllCollateralRiskParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllCollateralRiskParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllCollateralRiskParamsRequest) XXX_DiscardUnknown()
func (*QueryAllCollateralRiskParamsRequest) XXX_Marshal ¶
func (m *QueryAllCollateralRiskParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllCollateralRiskParamsRequest) XXX_Merge ¶
func (m *QueryAllCollateralRiskParamsRequest) XXX_Merge(src proto.Message)
func (*QueryAllCollateralRiskParamsRequest) XXX_Size ¶
func (m *QueryAllCollateralRiskParamsRequest) XXX_Size() int
func (*QueryAllCollateralRiskParamsRequest) XXX_Unmarshal ¶
func (m *QueryAllCollateralRiskParamsRequest) XXX_Unmarshal(b []byte) error
type QueryAllCollateralRiskParamsResponse ¶
type QueryAllCollateralRiskParamsResponse struct {
RiskParams []CollateralRiskParams `protobuf:"bytes,1,rep,name=risk_params,json=riskParams,proto3" json:"risk_params"`
}
func (*QueryAllCollateralRiskParamsResponse) Descriptor ¶
func (*QueryAllCollateralRiskParamsResponse) Descriptor() ([]byte, []int)
func (*QueryAllCollateralRiskParamsResponse) GetRiskParams ¶
func (m *QueryAllCollateralRiskParamsResponse) GetRiskParams() []CollateralRiskParams
func (*QueryAllCollateralRiskParamsResponse) Marshal ¶
func (m *QueryAllCollateralRiskParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllCollateralRiskParamsResponse) MarshalTo ¶
func (m *QueryAllCollateralRiskParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllCollateralRiskParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllCollateralRiskParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllCollateralRiskParamsResponse) ProtoMessage ¶
func (*QueryAllCollateralRiskParamsResponse) ProtoMessage()
func (*QueryAllCollateralRiskParamsResponse) Reset ¶
func (m *QueryAllCollateralRiskParamsResponse) Reset()
func (*QueryAllCollateralRiskParamsResponse) Size ¶
func (m *QueryAllCollateralRiskParamsResponse) Size() (n int)
func (*QueryAllCollateralRiskParamsResponse) String ¶
func (m *QueryAllCollateralRiskParamsResponse) String() string
func (*QueryAllCollateralRiskParamsResponse) Unmarshal ¶
func (m *QueryAllCollateralRiskParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllCollateralRiskParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllCollateralRiskParamsResponse) XXX_DiscardUnknown()
func (*QueryAllCollateralRiskParamsResponse) XXX_Marshal ¶
func (m *QueryAllCollateralRiskParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllCollateralRiskParamsResponse) XXX_Merge ¶
func (m *QueryAllCollateralRiskParamsResponse) XXX_Merge(src proto.Message)
func (*QueryAllCollateralRiskParamsResponse) XXX_Size ¶
func (m *QueryAllCollateralRiskParamsResponse) XXX_Size() int
func (*QueryAllCollateralRiskParamsResponse) XXX_Unmarshal ¶
func (m *QueryAllCollateralRiskParamsResponse) XXX_Unmarshal(b []byte) error
type QueryBackingPoolRequest ¶
type QueryBackingPoolRequest struct {
BackingDenom string `protobuf:"bytes,1,opt,name=backing_denom,json=backingDenom,proto3" json:"backing_denom,omitempty"`
}
func (*QueryBackingPoolRequest) Descriptor ¶
func (*QueryBackingPoolRequest) Descriptor() ([]byte, []int)
func (*QueryBackingPoolRequest) GetBackingDenom ¶
func (m *QueryBackingPoolRequest) GetBackingDenom() string
func (*QueryBackingPoolRequest) Marshal ¶
func (m *QueryBackingPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryBackingPoolRequest) MarshalTo ¶
func (m *QueryBackingPoolRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBackingPoolRequest) MarshalToSizedBuffer ¶
func (m *QueryBackingPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBackingPoolRequest) ProtoMessage ¶
func (*QueryBackingPoolRequest) ProtoMessage()
func (*QueryBackingPoolRequest) Reset ¶
func (m *QueryBackingPoolRequest) Reset()
func (*QueryBackingPoolRequest) Size ¶
func (m *QueryBackingPoolRequest) Size() (n int)
func (*QueryBackingPoolRequest) String ¶
func (m *QueryBackingPoolRequest) String() string
func (*QueryBackingPoolRequest) Unmarshal ¶
func (m *QueryBackingPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryBackingPoolRequest) XXX_DiscardUnknown ¶
func (m *QueryBackingPoolRequest) XXX_DiscardUnknown()
func (*QueryBackingPoolRequest) XXX_Marshal ¶
func (m *QueryBackingPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBackingPoolRequest) XXX_Merge ¶
func (m *QueryBackingPoolRequest) XXX_Merge(src proto.Message)
func (*QueryBackingPoolRequest) XXX_Size ¶
func (m *QueryBackingPoolRequest) XXX_Size() int
func (*QueryBackingPoolRequest) XXX_Unmarshal ¶
func (m *QueryBackingPoolRequest) XXX_Unmarshal(b []byte) error
type QueryBackingPoolResponse ¶
type QueryBackingPoolResponse struct {
BackingPool PoolBacking `protobuf:"bytes,1,opt,name=backing_pool,json=backingPool,proto3" json:"backing_pool"`
}
func (*QueryBackingPoolResponse) Descriptor ¶
func (*QueryBackingPoolResponse) Descriptor() ([]byte, []int)
func (*QueryBackingPoolResponse) GetBackingPool ¶
func (m *QueryBackingPoolResponse) GetBackingPool() PoolBacking
func (*QueryBackingPoolResponse) Marshal ¶
func (m *QueryBackingPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryBackingPoolResponse) MarshalTo ¶
func (m *QueryBackingPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBackingPoolResponse) MarshalToSizedBuffer ¶
func (m *QueryBackingPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBackingPoolResponse) ProtoMessage ¶
func (*QueryBackingPoolResponse) ProtoMessage()
func (*QueryBackingPoolResponse) Reset ¶
func (m *QueryBackingPoolResponse) Reset()
func (*QueryBackingPoolResponse) Size ¶
func (m *QueryBackingPoolResponse) Size() (n int)
func (*QueryBackingPoolResponse) String ¶
func (m *QueryBackingPoolResponse) String() string
func (*QueryBackingPoolResponse) Unmarshal ¶
func (m *QueryBackingPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryBackingPoolResponse) XXX_DiscardUnknown ¶
func (m *QueryBackingPoolResponse) XXX_DiscardUnknown()
func (*QueryBackingPoolResponse) XXX_Marshal ¶
func (m *QueryBackingPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBackingPoolResponse) XXX_Merge ¶
func (m *QueryBackingPoolResponse) XXX_Merge(src proto.Message)
func (*QueryBackingPoolResponse) XXX_Size ¶
func (m *QueryBackingPoolResponse) XXX_Size() int
func (*QueryBackingPoolResponse) XXX_Unmarshal ¶
func (m *QueryBackingPoolResponse) XXX_Unmarshal(b []byte) error
type QueryBackingRatioRequest ¶
type QueryBackingRatioRequest struct { }
func (*QueryBackingRatioRequest) Descriptor ¶
func (*QueryBackingRatioRequest) Descriptor() ([]byte, []int)
func (*QueryBackingRatioRequest) Marshal ¶
func (m *QueryBackingRatioRequest) Marshal() (dAtA []byte, err error)
func (*QueryBackingRatioRequest) MarshalTo ¶
func (m *QueryBackingRatioRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBackingRatioRequest) MarshalToSizedBuffer ¶
func (m *QueryBackingRatioRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBackingRatioRequest) ProtoMessage ¶
func (*QueryBackingRatioRequest) ProtoMessage()
func (*QueryBackingRatioRequest) Reset ¶
func (m *QueryBackingRatioRequest) Reset()
func (*QueryBackingRatioRequest) Size ¶
func (m *QueryBackingRatioRequest) Size() (n int)
func (*QueryBackingRatioRequest) String ¶
func (m *QueryBackingRatioRequest) String() string
func (*QueryBackingRatioRequest) Unmarshal ¶
func (m *QueryBackingRatioRequest) Unmarshal(dAtA []byte) error
func (*QueryBackingRatioRequest) XXX_DiscardUnknown ¶
func (m *QueryBackingRatioRequest) XXX_DiscardUnknown()
func (*QueryBackingRatioRequest) XXX_Marshal ¶
func (m *QueryBackingRatioRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBackingRatioRequest) XXX_Merge ¶
func (m *QueryBackingRatioRequest) XXX_Merge(src proto.Message)
func (*QueryBackingRatioRequest) XXX_Size ¶
func (m *QueryBackingRatioRequest) XXX_Size() int
func (*QueryBackingRatioRequest) XXX_Unmarshal ¶
func (m *QueryBackingRatioRequest) XXX_Unmarshal(b []byte) error
type QueryBackingRatioResponse ¶
type QueryBackingRatioResponse struct { BackingRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */ LastUpdateBlock int64 `protobuf:"varint,2,opt,name=last_update_block,json=lastUpdateBlock,proto3" json:"last_update_block,omitempty"` }
func (*QueryBackingRatioResponse) Descriptor ¶
func (*QueryBackingRatioResponse) Descriptor() ([]byte, []int)
func (*QueryBackingRatioResponse) GetLastUpdateBlock ¶
func (m *QueryBackingRatioResponse) GetLastUpdateBlock() int64
func (*QueryBackingRatioResponse) Marshal ¶
func (m *QueryBackingRatioResponse) Marshal() (dAtA []byte, err error)
func (*QueryBackingRatioResponse) MarshalTo ¶
func (m *QueryBackingRatioResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBackingRatioResponse) MarshalToSizedBuffer ¶
func (m *QueryBackingRatioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBackingRatioResponse) ProtoMessage ¶
func (*QueryBackingRatioResponse) ProtoMessage()
func (*QueryBackingRatioResponse) Reset ¶
func (m *QueryBackingRatioResponse) Reset()
func (*QueryBackingRatioResponse) Size ¶
func (m *QueryBackingRatioResponse) Size() (n int)
func (*QueryBackingRatioResponse) String ¶
func (m *QueryBackingRatioResponse) String() string
func (*QueryBackingRatioResponse) Unmarshal ¶
func (m *QueryBackingRatioResponse) Unmarshal(dAtA []byte) error
func (*QueryBackingRatioResponse) XXX_DiscardUnknown ¶
func (m *QueryBackingRatioResponse) XXX_DiscardUnknown()
func (*QueryBackingRatioResponse) XXX_Marshal ¶
func (m *QueryBackingRatioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBackingRatioResponse) XXX_Merge ¶
func (m *QueryBackingRatioResponse) XXX_Merge(src proto.Message)
func (*QueryBackingRatioResponse) XXX_Size ¶
func (m *QueryBackingRatioResponse) XXX_Size() int
func (*QueryBackingRatioResponse) XXX_Unmarshal ¶
func (m *QueryBackingRatioResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // AllBackingRiskParams queries risk params of all the backing pools. AllBackingRiskParams(ctx context.Context, in *QueryAllBackingRiskParamsRequest, opts ...grpc.CallOption) (*QueryAllBackingRiskParamsResponse, error) // AllCollateralRiskParams queries risk params of all the collateral pools. AllCollateralRiskParams(ctx context.Context, in *QueryAllCollateralRiskParamsRequest, opts ...grpc.CallOption) (*QueryAllCollateralRiskParamsResponse, error) // AllBackingPools queries all the backing pools. AllBackingPools(ctx context.Context, in *QueryAllBackingPoolsRequest, opts ...grpc.CallOption) (*QueryAllBackingPoolsResponse, error) // AllCollateralPools queries all the collateral pools. AllCollateralPools(ctx context.Context, in *QueryAllCollateralPoolsRequest, opts ...grpc.CallOption) (*QueryAllCollateralPoolsResponse, error) // BackingPool queries a backing pool. BackingPool(ctx context.Context, in *QueryBackingPoolRequest, opts ...grpc.CallOption) (*QueryBackingPoolResponse, error) // CollateralPool queries a collateral pool. CollateralPool(ctx context.Context, in *QueryCollateralPoolRequest, opts ...grpc.CallOption) (*QueryCollateralPoolResponse, error) // CollateralOfAccount queries the collateral of an account. CollateralOfAccount(ctx context.Context, in *QueryCollateralOfAccountRequest, opts ...grpc.CallOption) (*QueryCollateralOfAccountResponse, error) // TotalBacking queries the total backing. TotalBacking(ctx context.Context, in *QueryTotalBackingRequest, opts ...grpc.CallOption) (*QueryTotalBackingResponse, error) // TotalCollateral queries the total collateral. TotalCollateral(ctx context.Context, in *QueryTotalCollateralRequest, opts ...grpc.CallOption) (*QueryTotalCollateralResponse, error) // BackingRatio queries the backing ratio. BackingRatio(ctx context.Context, in *QueryBackingRatioRequest, opts ...grpc.CallOption) (*QueryBackingRatioResponse, error) // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // EstimateMintBySwapIn estimates input of minting by swap. EstimateMintBySwapIn(ctx context.Context, in *EstimateMintBySwapInRequest, opts ...grpc.CallOption) (*EstimateMintBySwapInResponse, error) // EstimateMintBySwapOut estimates output of minting by swap. EstimateMintBySwapOut(ctx context.Context, in *EstimateMintBySwapOutRequest, opts ...grpc.CallOption) (*EstimateMintBySwapOutResponse, error) // EstimateBurnBySwapIn estimates input of burning by swap. EstimateBurnBySwapIn(ctx context.Context, in *EstimateBurnBySwapInRequest, opts ...grpc.CallOption) (*EstimateBurnBySwapInResponse, error) // EstimateBurnBySwapOut estimates output of burning by swap. EstimateBurnBySwapOut(ctx context.Context, in *EstimateBurnBySwapOutRequest, opts ...grpc.CallOption) (*EstimateBurnBySwapOutResponse, error) // EstimateBuyBackingIn estimates inpput of buying backing assets. EstimateBuyBackingIn(ctx context.Context, in *EstimateBuyBackingInRequest, opts ...grpc.CallOption) (*EstimateBuyBackingInResponse, error) // EstimateBuyBackingOut estimates output of buying backing assets. EstimateBuyBackingOut(ctx context.Context, in *EstimateBuyBackingOutRequest, opts ...grpc.CallOption) (*EstimateBuyBackingOutResponse, error) // EstimateSellBackingIn estimates input of selling backing assets. EstimateSellBackingIn(ctx context.Context, in *EstimateSellBackingInRequest, opts ...grpc.CallOption) (*EstimateSellBackingInResponse, error) // EstimateSellBackingOut estimates output of selling backing assets. EstimateSellBackingOut(ctx context.Context, in *EstimateSellBackingOutRequest, opts ...grpc.CallOption) (*EstimateSellBackingOutResponse, 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 QueryCollateralOfAccountRequest ¶
type QueryCollateralOfAccountRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` CollateralDenom string `protobuf:"bytes,2,opt,name=collateral_denom,json=collateralDenom,proto3" json:"collateral_denom,omitempty"` }
func (*QueryCollateralOfAccountRequest) Descriptor ¶
func (*QueryCollateralOfAccountRequest) Descriptor() ([]byte, []int)
func (*QueryCollateralOfAccountRequest) GetAccount ¶
func (m *QueryCollateralOfAccountRequest) GetAccount() string
func (*QueryCollateralOfAccountRequest) GetCollateralDenom ¶
func (m *QueryCollateralOfAccountRequest) GetCollateralDenom() string
func (*QueryCollateralOfAccountRequest) Marshal ¶
func (m *QueryCollateralOfAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryCollateralOfAccountRequest) MarshalTo ¶
func (m *QueryCollateralOfAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollateralOfAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryCollateralOfAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollateralOfAccountRequest) ProtoMessage ¶
func (*QueryCollateralOfAccountRequest) ProtoMessage()
func (*QueryCollateralOfAccountRequest) Reset ¶
func (m *QueryCollateralOfAccountRequest) Reset()
func (*QueryCollateralOfAccountRequest) Size ¶
func (m *QueryCollateralOfAccountRequest) Size() (n int)
func (*QueryCollateralOfAccountRequest) String ¶
func (m *QueryCollateralOfAccountRequest) String() string
func (*QueryCollateralOfAccountRequest) Unmarshal ¶
func (m *QueryCollateralOfAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryCollateralOfAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryCollateralOfAccountRequest) XXX_DiscardUnknown()
func (*QueryCollateralOfAccountRequest) XXX_Marshal ¶
func (m *QueryCollateralOfAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollateralOfAccountRequest) XXX_Merge ¶
func (m *QueryCollateralOfAccountRequest) XXX_Merge(src proto.Message)
func (*QueryCollateralOfAccountRequest) XXX_Size ¶
func (m *QueryCollateralOfAccountRequest) XXX_Size() int
func (*QueryCollateralOfAccountRequest) XXX_Unmarshal ¶
func (m *QueryCollateralOfAccountRequest) XXX_Unmarshal(b []byte) error
type QueryCollateralOfAccountResponse ¶
type QueryCollateralOfAccountResponse struct {
AccountCollateral AccountCollateral `protobuf:"bytes,1,opt,name=account_collateral,json=accountCollateral,proto3" json:"account_collateral"`
}
func (*QueryCollateralOfAccountResponse) Descriptor ¶
func (*QueryCollateralOfAccountResponse) Descriptor() ([]byte, []int)
func (*QueryCollateralOfAccountResponse) GetAccountCollateral ¶
func (m *QueryCollateralOfAccountResponse) GetAccountCollateral() AccountCollateral
func (*QueryCollateralOfAccountResponse) Marshal ¶
func (m *QueryCollateralOfAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryCollateralOfAccountResponse) MarshalTo ¶
func (m *QueryCollateralOfAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollateralOfAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryCollateralOfAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollateralOfAccountResponse) ProtoMessage ¶
func (*QueryCollateralOfAccountResponse) ProtoMessage()
func (*QueryCollateralOfAccountResponse) Reset ¶
func (m *QueryCollateralOfAccountResponse) Reset()
func (*QueryCollateralOfAccountResponse) Size ¶
func (m *QueryCollateralOfAccountResponse) Size() (n int)
func (*QueryCollateralOfAccountResponse) String ¶
func (m *QueryCollateralOfAccountResponse) String() string
func (*QueryCollateralOfAccountResponse) Unmarshal ¶
func (m *QueryCollateralOfAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryCollateralOfAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryCollateralOfAccountResponse) XXX_DiscardUnknown()
func (*QueryCollateralOfAccountResponse) XXX_Marshal ¶
func (m *QueryCollateralOfAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollateralOfAccountResponse) XXX_Merge ¶
func (m *QueryCollateralOfAccountResponse) XXX_Merge(src proto.Message)
func (*QueryCollateralOfAccountResponse) XXX_Size ¶
func (m *QueryCollateralOfAccountResponse) XXX_Size() int
func (*QueryCollateralOfAccountResponse) XXX_Unmarshal ¶
func (m *QueryCollateralOfAccountResponse) XXX_Unmarshal(b []byte) error
type QueryCollateralPoolRequest ¶
type QueryCollateralPoolRequest struct {
CollateralDenom string `protobuf:"bytes,1,opt,name=collateral_denom,json=collateralDenom,proto3" json:"collateral_denom,omitempty"`
}
func (*QueryCollateralPoolRequest) Descriptor ¶
func (*QueryCollateralPoolRequest) Descriptor() ([]byte, []int)
func (*QueryCollateralPoolRequest) GetCollateralDenom ¶
func (m *QueryCollateralPoolRequest) GetCollateralDenom() string
func (*QueryCollateralPoolRequest) Marshal ¶
func (m *QueryCollateralPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryCollateralPoolRequest) MarshalTo ¶
func (m *QueryCollateralPoolRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollateralPoolRequest) MarshalToSizedBuffer ¶
func (m *QueryCollateralPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollateralPoolRequest) ProtoMessage ¶
func (*QueryCollateralPoolRequest) ProtoMessage()
func (*QueryCollateralPoolRequest) Reset ¶
func (m *QueryCollateralPoolRequest) Reset()
func (*QueryCollateralPoolRequest) Size ¶
func (m *QueryCollateralPoolRequest) Size() (n int)
func (*QueryCollateralPoolRequest) String ¶
func (m *QueryCollateralPoolRequest) String() string
func (*QueryCollateralPoolRequest) Unmarshal ¶
func (m *QueryCollateralPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryCollateralPoolRequest) XXX_DiscardUnknown ¶
func (m *QueryCollateralPoolRequest) XXX_DiscardUnknown()
func (*QueryCollateralPoolRequest) XXX_Marshal ¶
func (m *QueryCollateralPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollateralPoolRequest) XXX_Merge ¶
func (m *QueryCollateralPoolRequest) XXX_Merge(src proto.Message)
func (*QueryCollateralPoolRequest) XXX_Size ¶
func (m *QueryCollateralPoolRequest) XXX_Size() int
func (*QueryCollateralPoolRequest) XXX_Unmarshal ¶
func (m *QueryCollateralPoolRequest) XXX_Unmarshal(b []byte) error
type QueryCollateralPoolResponse ¶
type QueryCollateralPoolResponse struct {
CollateralPool PoolCollateral `protobuf:"bytes,1,opt,name=collateral_pool,json=collateralPool,proto3" json:"collateral_pool"`
}
func (*QueryCollateralPoolResponse) Descriptor ¶
func (*QueryCollateralPoolResponse) Descriptor() ([]byte, []int)
func (*QueryCollateralPoolResponse) GetCollateralPool ¶
func (m *QueryCollateralPoolResponse) GetCollateralPool() PoolCollateral
func (*QueryCollateralPoolResponse) Marshal ¶
func (m *QueryCollateralPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryCollateralPoolResponse) MarshalTo ¶
func (m *QueryCollateralPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCollateralPoolResponse) MarshalToSizedBuffer ¶
func (m *QueryCollateralPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCollateralPoolResponse) ProtoMessage ¶
func (*QueryCollateralPoolResponse) ProtoMessage()
func (*QueryCollateralPoolResponse) Reset ¶
func (m *QueryCollateralPoolResponse) Reset()
func (*QueryCollateralPoolResponse) Size ¶
func (m *QueryCollateralPoolResponse) Size() (n int)
func (*QueryCollateralPoolResponse) String ¶
func (m *QueryCollateralPoolResponse) String() string
func (*QueryCollateralPoolResponse) Unmarshal ¶
func (m *QueryCollateralPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryCollateralPoolResponse) XXX_DiscardUnknown ¶
func (m *QueryCollateralPoolResponse) XXX_DiscardUnknown()
func (*QueryCollateralPoolResponse) XXX_Marshal ¶
func (m *QueryCollateralPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCollateralPoolResponse) XXX_Merge ¶
func (m *QueryCollateralPoolResponse) XXX_Merge(src proto.Message)
func (*QueryCollateralPoolResponse) XXX_Size ¶
func (m *QueryCollateralPoolResponse) XXX_Size() int
func (*QueryCollateralPoolResponse) XXX_Unmarshal ¶
func (m *QueryCollateralPoolResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // AllBackingRiskParams queries risk params of all the backing pools. AllBackingRiskParams(context.Context, *QueryAllBackingRiskParamsRequest) (*QueryAllBackingRiskParamsResponse, error) // AllCollateralRiskParams queries risk params of all the collateral pools. AllCollateralRiskParams(context.Context, *QueryAllCollateralRiskParamsRequest) (*QueryAllCollateralRiskParamsResponse, error) // AllBackingPools queries all the backing pools. AllBackingPools(context.Context, *QueryAllBackingPoolsRequest) (*QueryAllBackingPoolsResponse, error) // AllCollateralPools queries all the collateral pools. AllCollateralPools(context.Context, *QueryAllCollateralPoolsRequest) (*QueryAllCollateralPoolsResponse, error) // BackingPool queries a backing pool. BackingPool(context.Context, *QueryBackingPoolRequest) (*QueryBackingPoolResponse, error) // CollateralPool queries a collateral pool. CollateralPool(context.Context, *QueryCollateralPoolRequest) (*QueryCollateralPoolResponse, error) // CollateralOfAccount queries the collateral of an account. CollateralOfAccount(context.Context, *QueryCollateralOfAccountRequest) (*QueryCollateralOfAccountResponse, error) // TotalBacking queries the total backing. TotalBacking(context.Context, *QueryTotalBackingRequest) (*QueryTotalBackingResponse, error) // TotalCollateral queries the total collateral. TotalCollateral(context.Context, *QueryTotalCollateralRequest) (*QueryTotalCollateralResponse, error) // BackingRatio queries the backing ratio. BackingRatio(context.Context, *QueryBackingRatioRequest) (*QueryBackingRatioResponse, error) // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // EstimateMintBySwapIn estimates input of minting by swap. EstimateMintBySwapIn(context.Context, *EstimateMintBySwapInRequest) (*EstimateMintBySwapInResponse, error) // EstimateMintBySwapOut estimates output of minting by swap. EstimateMintBySwapOut(context.Context, *EstimateMintBySwapOutRequest) (*EstimateMintBySwapOutResponse, error) // EstimateBurnBySwapIn estimates input of burning by swap. EstimateBurnBySwapIn(context.Context, *EstimateBurnBySwapInRequest) (*EstimateBurnBySwapInResponse, error) // EstimateBurnBySwapOut estimates output of burning by swap. EstimateBurnBySwapOut(context.Context, *EstimateBurnBySwapOutRequest) (*EstimateBurnBySwapOutResponse, error) // EstimateBuyBackingIn estimates inpput of buying backing assets. EstimateBuyBackingIn(context.Context, *EstimateBuyBackingInRequest) (*EstimateBuyBackingInResponse, error) // EstimateBuyBackingOut estimates output of buying backing assets. EstimateBuyBackingOut(context.Context, *EstimateBuyBackingOutRequest) (*EstimateBuyBackingOutResponse, error) // EstimateSellBackingIn estimates input of selling backing assets. EstimateSellBackingIn(context.Context, *EstimateSellBackingInRequest) (*EstimateSellBackingInResponse, error) // EstimateSellBackingOut estimates output of selling backing assets. EstimateSellBackingOut(context.Context, *EstimateSellBackingOutRequest) (*EstimateSellBackingOutResponse, error) }
QueryServer is the server API for Query service.
type QueryTotalBackingRequest ¶
type QueryTotalBackingRequest struct { }
func (*QueryTotalBackingRequest) Descriptor ¶
func (*QueryTotalBackingRequest) Descriptor() ([]byte, []int)
func (*QueryTotalBackingRequest) Marshal ¶
func (m *QueryTotalBackingRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalBackingRequest) MarshalTo ¶
func (m *QueryTotalBackingRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalBackingRequest) MarshalToSizedBuffer ¶
func (m *QueryTotalBackingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalBackingRequest) ProtoMessage ¶
func (*QueryTotalBackingRequest) ProtoMessage()
func (*QueryTotalBackingRequest) Reset ¶
func (m *QueryTotalBackingRequest) Reset()
func (*QueryTotalBackingRequest) Size ¶
func (m *QueryTotalBackingRequest) Size() (n int)
func (*QueryTotalBackingRequest) String ¶
func (m *QueryTotalBackingRequest) String() string
func (*QueryTotalBackingRequest) Unmarshal ¶
func (m *QueryTotalBackingRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalBackingRequest) XXX_DiscardUnknown ¶
func (m *QueryTotalBackingRequest) XXX_DiscardUnknown()
func (*QueryTotalBackingRequest) XXX_Marshal ¶
func (m *QueryTotalBackingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalBackingRequest) XXX_Merge ¶
func (m *QueryTotalBackingRequest) XXX_Merge(src proto.Message)
func (*QueryTotalBackingRequest) XXX_Size ¶
func (m *QueryTotalBackingRequest) XXX_Size() int
func (*QueryTotalBackingRequest) XXX_Unmarshal ¶
func (m *QueryTotalBackingRequest) XXX_Unmarshal(b []byte) error
type QueryTotalBackingResponse ¶
type QueryTotalBackingResponse struct {
TotalBacking TotalBacking `protobuf:"bytes,1,opt,name=total_backing,json=totalBacking,proto3" json:"total_backing"`
}
func (*QueryTotalBackingResponse) Descriptor ¶
func (*QueryTotalBackingResponse) Descriptor() ([]byte, []int)
func (*QueryTotalBackingResponse) GetTotalBacking ¶
func (m *QueryTotalBackingResponse) GetTotalBacking() TotalBacking
func (*QueryTotalBackingResponse) Marshal ¶
func (m *QueryTotalBackingResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalBackingResponse) MarshalTo ¶
func (m *QueryTotalBackingResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalBackingResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalBackingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalBackingResponse) ProtoMessage ¶
func (*QueryTotalBackingResponse) ProtoMessage()
func (*QueryTotalBackingResponse) Reset ¶
func (m *QueryTotalBackingResponse) Reset()
func (*QueryTotalBackingResponse) Size ¶
func (m *QueryTotalBackingResponse) Size() (n int)
func (*QueryTotalBackingResponse) String ¶
func (m *QueryTotalBackingResponse) String() string
func (*QueryTotalBackingResponse) Unmarshal ¶
func (m *QueryTotalBackingResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalBackingResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalBackingResponse) XXX_DiscardUnknown()
func (*QueryTotalBackingResponse) XXX_Marshal ¶
func (m *QueryTotalBackingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalBackingResponse) XXX_Merge ¶
func (m *QueryTotalBackingResponse) XXX_Merge(src proto.Message)
func (*QueryTotalBackingResponse) XXX_Size ¶
func (m *QueryTotalBackingResponse) XXX_Size() int
func (*QueryTotalBackingResponse) XXX_Unmarshal ¶
func (m *QueryTotalBackingResponse) XXX_Unmarshal(b []byte) error
type QueryTotalCollateralRequest ¶
type QueryTotalCollateralRequest struct { }
func (*QueryTotalCollateralRequest) Descriptor ¶
func (*QueryTotalCollateralRequest) Descriptor() ([]byte, []int)
func (*QueryTotalCollateralRequest) Marshal ¶
func (m *QueryTotalCollateralRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalCollateralRequest) MarshalTo ¶
func (m *QueryTotalCollateralRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalCollateralRequest) MarshalToSizedBuffer ¶
func (m *QueryTotalCollateralRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalCollateralRequest) ProtoMessage ¶
func (*QueryTotalCollateralRequest) ProtoMessage()
func (*QueryTotalCollateralRequest) Reset ¶
func (m *QueryTotalCollateralRequest) Reset()
func (*QueryTotalCollateralRequest) Size ¶
func (m *QueryTotalCollateralRequest) Size() (n int)
func (*QueryTotalCollateralRequest) String ¶
func (m *QueryTotalCollateralRequest) String() string
func (*QueryTotalCollateralRequest) Unmarshal ¶
func (m *QueryTotalCollateralRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalCollateralRequest) XXX_DiscardUnknown ¶
func (m *QueryTotalCollateralRequest) XXX_DiscardUnknown()
func (*QueryTotalCollateralRequest) XXX_Marshal ¶
func (m *QueryTotalCollateralRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalCollateralRequest) XXX_Merge ¶
func (m *QueryTotalCollateralRequest) XXX_Merge(src proto.Message)
func (*QueryTotalCollateralRequest) XXX_Size ¶
func (m *QueryTotalCollateralRequest) XXX_Size() int
func (*QueryTotalCollateralRequest) XXX_Unmarshal ¶
func (m *QueryTotalCollateralRequest) XXX_Unmarshal(b []byte) error
type QueryTotalCollateralResponse ¶
type QueryTotalCollateralResponse struct {
TotalCollateral TotalCollateral `protobuf:"bytes,1,opt,name=total_collateral,json=totalCollateral,proto3" json:"total_collateral"`
}
func (*QueryTotalCollateralResponse) Descriptor ¶
func (*QueryTotalCollateralResponse) Descriptor() ([]byte, []int)
func (*QueryTotalCollateralResponse) GetTotalCollateral ¶
func (m *QueryTotalCollateralResponse) GetTotalCollateral() TotalCollateral
func (*QueryTotalCollateralResponse) Marshal ¶
func (m *QueryTotalCollateralResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalCollateralResponse) MarshalTo ¶
func (m *QueryTotalCollateralResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalCollateralResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalCollateralResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalCollateralResponse) ProtoMessage ¶
func (*QueryTotalCollateralResponse) ProtoMessage()
func (*QueryTotalCollateralResponse) Reset ¶
func (m *QueryTotalCollateralResponse) Reset()
func (*QueryTotalCollateralResponse) Size ¶
func (m *QueryTotalCollateralResponse) Size() (n int)
func (*QueryTotalCollateralResponse) String ¶
func (m *QueryTotalCollateralResponse) String() string
func (*QueryTotalCollateralResponse) Unmarshal ¶
func (m *QueryTotalCollateralResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalCollateralResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalCollateralResponse) XXX_DiscardUnknown()
func (*QueryTotalCollateralResponse) XXX_Marshal ¶
func (m *QueryTotalCollateralResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalCollateralResponse) XXX_Merge ¶
func (m *QueryTotalCollateralResponse) XXX_Merge(src proto.Message)
func (*QueryTotalCollateralResponse) XXX_Size ¶
func (m *QueryTotalCollateralResponse) XXX_Size() int
func (*QueryTotalCollateralResponse) XXX_Unmarshal ¶
func (m *QueryTotalCollateralResponse) XXX_Unmarshal(b []byte) error
type RegisterBackingProposal ¶
type RegisterBackingProposal struct { // title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // proposal description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // backing risk params RiskParams BackingRiskParams `protobuf:"bytes,3,opt,name=risk_params,json=riskParams,proto3" json:"risk_params"` }
RegisterBackingProposal is a gov Content type to register eligible strong-backing asset with backing risk parameters.
func (*RegisterBackingProposal) Descriptor ¶
func (*RegisterBackingProposal) Descriptor() ([]byte, []int)
func (*RegisterBackingProposal) GetDescription ¶
func (m *RegisterBackingProposal) GetDescription() string
func (*RegisterBackingProposal) GetRiskParams ¶
func (m *RegisterBackingProposal) GetRiskParams() BackingRiskParams
func (*RegisterBackingProposal) GetTitle ¶
func (m *RegisterBackingProposal) GetTitle() string
func (*RegisterBackingProposal) Marshal ¶
func (m *RegisterBackingProposal) Marshal() (dAtA []byte, err error)
func (*RegisterBackingProposal) MarshalTo ¶
func (m *RegisterBackingProposal) MarshalTo(dAtA []byte) (int, error)
func (*RegisterBackingProposal) MarshalToSizedBuffer ¶
func (m *RegisterBackingProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterBackingProposal) ProposalRoute ¶
func (m *RegisterBackingProposal) ProposalRoute() string
func (*RegisterBackingProposal) ProposalType ¶
func (m *RegisterBackingProposal) ProposalType() string
func (*RegisterBackingProposal) ProtoMessage ¶
func (*RegisterBackingProposal) ProtoMessage()
func (*RegisterBackingProposal) Reset ¶
func (m *RegisterBackingProposal) Reset()
func (*RegisterBackingProposal) Size ¶
func (m *RegisterBackingProposal) Size() (n int)
func (*RegisterBackingProposal) String ¶
func (m *RegisterBackingProposal) String() string
func (*RegisterBackingProposal) Unmarshal ¶
func (m *RegisterBackingProposal) Unmarshal(dAtA []byte) error
func (*RegisterBackingProposal) ValidateBasic ¶
func (m *RegisterBackingProposal) ValidateBasic() error
func (*RegisterBackingProposal) XXX_DiscardUnknown ¶
func (m *RegisterBackingProposal) XXX_DiscardUnknown()
func (*RegisterBackingProposal) XXX_Marshal ¶
func (m *RegisterBackingProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterBackingProposal) XXX_Merge ¶
func (m *RegisterBackingProposal) XXX_Merge(src proto.Message)
func (*RegisterBackingProposal) XXX_Size ¶
func (m *RegisterBackingProposal) XXX_Size() int
func (*RegisterBackingProposal) XXX_Unmarshal ¶
func (m *RegisterBackingProposal) XXX_Unmarshal(b []byte) error
type RegisterCollateralProposal ¶
type RegisterCollateralProposal struct { // title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // proposal description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // collateral risk params RiskParams CollateralRiskParams `protobuf:"bytes,3,opt,name=risk_params,json=riskParams,proto3" json:"risk_params"` }
RegisterCollateralProposal is a gov Content type to register eligible collateral with collateral risk parameters.
func (*RegisterCollateralProposal) Descriptor ¶
func (*RegisterCollateralProposal) Descriptor() ([]byte, []int)
func (*RegisterCollateralProposal) GetDescription ¶
func (m *RegisterCollateralProposal) GetDescription() string
func (*RegisterCollateralProposal) GetRiskParams ¶
func (m *RegisterCollateralProposal) GetRiskParams() CollateralRiskParams
func (*RegisterCollateralProposal) GetTitle ¶
func (m *RegisterCollateralProposal) GetTitle() string
func (*RegisterCollateralProposal) Marshal ¶
func (m *RegisterCollateralProposal) Marshal() (dAtA []byte, err error)
func (*RegisterCollateralProposal) MarshalTo ¶
func (m *RegisterCollateralProposal) MarshalTo(dAtA []byte) (int, error)
func (*RegisterCollateralProposal) MarshalToSizedBuffer ¶
func (m *RegisterCollateralProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterCollateralProposal) ProposalRoute ¶
func (m *RegisterCollateralProposal) ProposalRoute() string
func (*RegisterCollateralProposal) ProposalType ¶
func (m *RegisterCollateralProposal) ProposalType() string
func (*RegisterCollateralProposal) ProtoMessage ¶
func (*RegisterCollateralProposal) ProtoMessage()
func (*RegisterCollateralProposal) Reset ¶
func (m *RegisterCollateralProposal) Reset()
func (*RegisterCollateralProposal) Size ¶
func (m *RegisterCollateralProposal) Size() (n int)
func (*RegisterCollateralProposal) String ¶
func (m *RegisterCollateralProposal) String() string
func (*RegisterCollateralProposal) Unmarshal ¶
func (m *RegisterCollateralProposal) Unmarshal(dAtA []byte) error
func (*RegisterCollateralProposal) ValidateBasic ¶
func (m *RegisterCollateralProposal) ValidateBasic() error
func (*RegisterCollateralProposal) XXX_DiscardUnknown ¶
func (m *RegisterCollateralProposal) XXX_DiscardUnknown()
func (*RegisterCollateralProposal) XXX_Marshal ¶
func (m *RegisterCollateralProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterCollateralProposal) XXX_Merge ¶
func (m *RegisterCollateralProposal) XXX_Merge(src proto.Message)
func (*RegisterCollateralProposal) XXX_Size ¶
func (m *RegisterCollateralProposal) XXX_Size() int
func (*RegisterCollateralProposal) XXX_Unmarshal ¶
func (m *RegisterCollateralProposal) XXX_Unmarshal(b []byte) error
type SetBackingRiskParamsProposal ¶
type SetBackingRiskParamsProposal struct { // title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // proposal description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // backing risk params RiskParams BackingRiskParams `protobuf:"bytes,3,opt,name=risk_params,json=riskParams,proto3" json:"risk_params"` }
SetBackingRiskParamsProposal is a gov Content type to set backing coin risk parameters.
func (*SetBackingRiskParamsProposal) Descriptor ¶
func (*SetBackingRiskParamsProposal) Descriptor() ([]byte, []int)
func (*SetBackingRiskParamsProposal) GetDescription ¶
func (m *SetBackingRiskParamsProposal) GetDescription() string
func (*SetBackingRiskParamsProposal) GetRiskParams ¶
func (m *SetBackingRiskParamsProposal) GetRiskParams() BackingRiskParams
func (*SetBackingRiskParamsProposal) GetTitle ¶
func (m *SetBackingRiskParamsProposal) GetTitle() string
func (*SetBackingRiskParamsProposal) Marshal ¶
func (m *SetBackingRiskParamsProposal) Marshal() (dAtA []byte, err error)
func (*SetBackingRiskParamsProposal) MarshalTo ¶
func (m *SetBackingRiskParamsProposal) MarshalTo(dAtA []byte) (int, error)
func (*SetBackingRiskParamsProposal) MarshalToSizedBuffer ¶
func (m *SetBackingRiskParamsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetBackingRiskParamsProposal) ProposalRoute ¶
func (m *SetBackingRiskParamsProposal) ProposalRoute() string
func (*SetBackingRiskParamsProposal) ProposalType ¶
func (m *SetBackingRiskParamsProposal) ProposalType() string
func (*SetBackingRiskParamsProposal) ProtoMessage ¶
func (*SetBackingRiskParamsProposal) ProtoMessage()
func (*SetBackingRiskParamsProposal) Reset ¶
func (m *SetBackingRiskParamsProposal) Reset()
func (*SetBackingRiskParamsProposal) Size ¶
func (m *SetBackingRiskParamsProposal) Size() (n int)
func (*SetBackingRiskParamsProposal) String ¶
func (m *SetBackingRiskParamsProposal) String() string
func (*SetBackingRiskParamsProposal) Unmarshal ¶
func (m *SetBackingRiskParamsProposal) Unmarshal(dAtA []byte) error
func (*SetBackingRiskParamsProposal) ValidateBasic ¶
func (m *SetBackingRiskParamsProposal) ValidateBasic() error
func (*SetBackingRiskParamsProposal) XXX_DiscardUnknown ¶
func (m *SetBackingRiskParamsProposal) XXX_DiscardUnknown()
func (*SetBackingRiskParamsProposal) XXX_Marshal ¶
func (m *SetBackingRiskParamsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetBackingRiskParamsProposal) XXX_Merge ¶
func (m *SetBackingRiskParamsProposal) XXX_Merge(src proto.Message)
func (*SetBackingRiskParamsProposal) XXX_Size ¶
func (m *SetBackingRiskParamsProposal) XXX_Size() int
func (*SetBackingRiskParamsProposal) XXX_Unmarshal ¶
func (m *SetBackingRiskParamsProposal) XXX_Unmarshal(b []byte) error
type SetCollateralRiskParamsProposal ¶
type SetCollateralRiskParamsProposal struct { // title of the proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // proposal description Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // collateral risk params RiskParams CollateralRiskParams `protobuf:"bytes,3,opt,name=risk_params,json=riskParams,proto3" json:"risk_params"` }
SetCollateralRiskParamsProposal is a gov Content type to set collateral risk parameters.
func (*SetCollateralRiskParamsProposal) Descriptor ¶
func (*SetCollateralRiskParamsProposal) Descriptor() ([]byte, []int)
func (*SetCollateralRiskParamsProposal) GetDescription ¶
func (m *SetCollateralRiskParamsProposal) GetDescription() string
func (*SetCollateralRiskParamsProposal) GetRiskParams ¶
func (m *SetCollateralRiskParamsProposal) GetRiskParams() CollateralRiskParams
func (*SetCollateralRiskParamsProposal) GetTitle ¶
func (m *SetCollateralRiskParamsProposal) GetTitle() string
func (*SetCollateralRiskParamsProposal) Marshal ¶
func (m *SetCollateralRiskParamsProposal) Marshal() (dAtA []byte, err error)
func (*SetCollateralRiskParamsProposal) MarshalTo ¶
func (m *SetCollateralRiskParamsProposal) MarshalTo(dAtA []byte) (int, error)
func (*SetCollateralRiskParamsProposal) MarshalToSizedBuffer ¶
func (m *SetCollateralRiskParamsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetCollateralRiskParamsProposal) ProposalRoute ¶
func (m *SetCollateralRiskParamsProposal) ProposalRoute() string
func (*SetCollateralRiskParamsProposal) ProposalType ¶
func (m *SetCollateralRiskParamsProposal) ProposalType() string
func (*SetCollateralRiskParamsProposal) ProtoMessage ¶
func (*SetCollateralRiskParamsProposal) ProtoMessage()
func (*SetCollateralRiskParamsProposal) Reset ¶
func (m *SetCollateralRiskParamsProposal) Reset()
func (*SetCollateralRiskParamsProposal) Size ¶
func (m *SetCollateralRiskParamsProposal) Size() (n int)
func (*SetCollateralRiskParamsProposal) String ¶
func (m *SetCollateralRiskParamsProposal) String() string
func (*SetCollateralRiskParamsProposal) Unmarshal ¶
func (m *SetCollateralRiskParamsProposal) Unmarshal(dAtA []byte) error
func (*SetCollateralRiskParamsProposal) ValidateBasic ¶
func (m *SetCollateralRiskParamsProposal) ValidateBasic() error
func (*SetCollateralRiskParamsProposal) XXX_DiscardUnknown ¶
func (m *SetCollateralRiskParamsProposal) XXX_DiscardUnknown()
func (*SetCollateralRiskParamsProposal) XXX_Marshal ¶
func (m *SetCollateralRiskParamsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetCollateralRiskParamsProposal) XXX_Merge ¶
func (m *SetCollateralRiskParamsProposal) XXX_Merge(src proto.Message)
func (*SetCollateralRiskParamsProposal) XXX_Size ¶
func (m *SetCollateralRiskParamsProposal) XXX_Size() int
func (*SetCollateralRiskParamsProposal) XXX_Unmarshal ¶
func (m *SetCollateralRiskParamsProposal) XXX_Unmarshal(b []byte) error
type TotalBacking ¶
type TotalBacking struct { // total backing value in uUSD BackingValue github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ // total minted black; negative value means burned black BlackMinted types.Coin `protobuf:"bytes,2,opt,name=black_minted,json=blackMinted,proto3" json:"black_minted"` // total burned fury; negative value means minted fury FuryBurned types.Coin `protobuf:"bytes,3,opt,name=fury_burned,json=furyBurned,proto3" json:"fury_burned"` }
func (*TotalBacking) Descriptor ¶
func (*TotalBacking) Descriptor() ([]byte, []int)
func (*TotalBacking) GetBlackMinted ¶
func (m *TotalBacking) GetBlackMinted() types.Coin
func (*TotalBacking) GetFuryBurned ¶
func (m *TotalBacking) GetFuryBurned() types.Coin
func (*TotalBacking) Marshal ¶
func (m *TotalBacking) Marshal() (dAtA []byte, err error)
func (*TotalBacking) MarshalToSizedBuffer ¶
func (m *TotalBacking) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalBacking) ProtoMessage ¶
func (*TotalBacking) ProtoMessage()
func (*TotalBacking) Reset ¶
func (m *TotalBacking) Reset()
func (*TotalBacking) Size ¶
func (m *TotalBacking) Size() (n int)
func (*TotalBacking) String ¶
func (m *TotalBacking) String() string
func (*TotalBacking) Unmarshal ¶
func (m *TotalBacking) Unmarshal(dAtA []byte) error
func (*TotalBacking) XXX_DiscardUnknown ¶
func (m *TotalBacking) XXX_DiscardUnknown()
func (*TotalBacking) XXX_Marshal ¶
func (m *TotalBacking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalBacking) XXX_Merge ¶
func (m *TotalBacking) XXX_Merge(src proto.Message)
func (*TotalBacking) XXX_Size ¶
func (m *TotalBacking) XXX_Size() int
func (*TotalBacking) XXX_Unmarshal ¶
func (m *TotalBacking) XXX_Unmarshal(b []byte) error
type TotalCollateral ¶
type TotalCollateral struct { // total existing black debt, including minted by collateral, mint fee, last // interest BlackDebt types.Coin `protobuf:"bytes,1,opt,name=black_debt,json=blackDebt,proto3" json:"black_debt"` // total collateralized fury FuryCollateralized types.Coin `protobuf:"bytes,2,opt,name=fury_collateralized,json=furyCollateralized,proto3" json:"fury_collateralized"` }
func (*TotalCollateral) Descriptor ¶
func (*TotalCollateral) Descriptor() ([]byte, []int)
func (*TotalCollateral) GetBlackDebt ¶
func (m *TotalCollateral) GetBlackDebt() types.Coin
func (*TotalCollateral) GetFuryCollateralized ¶
func (m *TotalCollateral) GetFuryCollateralized() types.Coin
func (*TotalCollateral) Marshal ¶
func (m *TotalCollateral) Marshal() (dAtA []byte, err error)
func (*TotalCollateral) MarshalToSizedBuffer ¶
func (m *TotalCollateral) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TotalCollateral) ProtoMessage ¶
func (*TotalCollateral) ProtoMessage()
func (*TotalCollateral) Reset ¶
func (m *TotalCollateral) Reset()
func (*TotalCollateral) Size ¶
func (m *TotalCollateral) Size() (n int)
func (*TotalCollateral) String ¶
func (m *TotalCollateral) String() string
func (*TotalCollateral) Unmarshal ¶
func (m *TotalCollateral) Unmarshal(dAtA []byte) error
func (*TotalCollateral) XXX_DiscardUnknown ¶
func (m *TotalCollateral) XXX_DiscardUnknown()
func (*TotalCollateral) XXX_Marshal ¶
func (m *TotalCollateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TotalCollateral) XXX_Merge ¶
func (m *TotalCollateral) XXX_Merge(src proto.Message)
func (*TotalCollateral) XXX_Size ¶
func (m *TotalCollateral) XXX_Size() int
func (*TotalCollateral) XXX_Unmarshal ¶
func (m *TotalCollateral) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) BurnByCollateral ¶
func (*UnimplementedMsgServer) BurnByCollateral(ctx context.Context, req *MsgBurnByCollateral) (*MsgBurnByCollateralResponse, error)
func (*UnimplementedMsgServer) BurnBySwap ¶
func (*UnimplementedMsgServer) BurnBySwap(ctx context.Context, req *MsgBurnBySwap) (*MsgBurnBySwapResponse, error)
func (*UnimplementedMsgServer) BuyBacking ¶
func (*UnimplementedMsgServer) BuyBacking(ctx context.Context, req *MsgBuyBacking) (*MsgBuyBackingResponse, error)
func (*UnimplementedMsgServer) DepositCollateral ¶
func (*UnimplementedMsgServer) DepositCollateral(ctx context.Context, req *MsgDepositCollateral) (*MsgDepositCollateralResponse, error)
func (*UnimplementedMsgServer) LiquidateCollateral ¶
func (*UnimplementedMsgServer) LiquidateCollateral(ctx context.Context, req *MsgLiquidateCollateral) (*MsgLiquidateCollateralResponse, error)
func (*UnimplementedMsgServer) MintByCollateral ¶
func (*UnimplementedMsgServer) MintByCollateral(ctx context.Context, req *MsgMintByCollateral) (*MsgMintByCollateralResponse, error)
func (*UnimplementedMsgServer) MintBySwap ¶
func (*UnimplementedMsgServer) MintBySwap(ctx context.Context, req *MsgMintBySwap) (*MsgMintBySwapResponse, error)
func (*UnimplementedMsgServer) RedeemCollateral ¶
func (*UnimplementedMsgServer) RedeemCollateral(ctx context.Context, req *MsgRedeemCollateral) (*MsgRedeemCollateralResponse, error)
func (*UnimplementedMsgServer) SellBacking ¶
func (*UnimplementedMsgServer) SellBacking(ctx context.Context, req *MsgSellBacking) (*MsgSellBackingResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllBackingPools ¶
func (*UnimplementedQueryServer) AllBackingPools(ctx context.Context, req *QueryAllBackingPoolsRequest) (*QueryAllBackingPoolsResponse, error)
func (*UnimplementedQueryServer) AllBackingRiskParams ¶
func (*UnimplementedQueryServer) AllBackingRiskParams(ctx context.Context, req *QueryAllBackingRiskParamsRequest) (*QueryAllBackingRiskParamsResponse, error)
func (*UnimplementedQueryServer) AllCollateralPools ¶
func (*UnimplementedQueryServer) AllCollateralPools(ctx context.Context, req *QueryAllCollateralPoolsRequest) (*QueryAllCollateralPoolsResponse, error)
func (*UnimplementedQueryServer) AllCollateralRiskParams ¶
func (*UnimplementedQueryServer) AllCollateralRiskParams(ctx context.Context, req *QueryAllCollateralRiskParamsRequest) (*QueryAllCollateralRiskParamsResponse, error)
func (*UnimplementedQueryServer) BackingPool ¶
func (*UnimplementedQueryServer) BackingPool(ctx context.Context, req *QueryBackingPoolRequest) (*QueryBackingPoolResponse, error)
func (*UnimplementedQueryServer) BackingRatio ¶
func (*UnimplementedQueryServer) BackingRatio(ctx context.Context, req *QueryBackingRatioRequest) (*QueryBackingRatioResponse, error)
func (*UnimplementedQueryServer) CollateralOfAccount ¶
func (*UnimplementedQueryServer) CollateralOfAccount(ctx context.Context, req *QueryCollateralOfAccountRequest) (*QueryCollateralOfAccountResponse, error)
func (*UnimplementedQueryServer) CollateralPool ¶
func (*UnimplementedQueryServer) CollateralPool(ctx context.Context, req *QueryCollateralPoolRequest) (*QueryCollateralPoolResponse, error)
func (*UnimplementedQueryServer) EstimateBurnBySwapIn ¶
func (*UnimplementedQueryServer) EstimateBurnBySwapIn(ctx context.Context, req *EstimateBurnBySwapInRequest) (*EstimateBurnBySwapInResponse, error)
func (*UnimplementedQueryServer) EstimateBurnBySwapOut ¶
func (*UnimplementedQueryServer) EstimateBurnBySwapOut(ctx context.Context, req *EstimateBurnBySwapOutRequest) (*EstimateBurnBySwapOutResponse, error)
func (*UnimplementedQueryServer) EstimateBuyBackingIn ¶
func (*UnimplementedQueryServer) EstimateBuyBackingIn(ctx context.Context, req *EstimateBuyBackingInRequest) (*EstimateBuyBackingInResponse, error)
func (*UnimplementedQueryServer) EstimateBuyBackingOut ¶
func (*UnimplementedQueryServer) EstimateBuyBackingOut(ctx context.Context, req *EstimateBuyBackingOutRequest) (*EstimateBuyBackingOutResponse, error)
func (*UnimplementedQueryServer) EstimateMintBySwapIn ¶
func (*UnimplementedQueryServer) EstimateMintBySwapIn(ctx context.Context, req *EstimateMintBySwapInRequest) (*EstimateMintBySwapInResponse, error)
func (*UnimplementedQueryServer) EstimateMintBySwapOut ¶
func (*UnimplementedQueryServer) EstimateMintBySwapOut(ctx context.Context, req *EstimateMintBySwapOutRequest) (*EstimateMintBySwapOutResponse, error)
func (*UnimplementedQueryServer) EstimateSellBackingIn ¶
func (*UnimplementedQueryServer) EstimateSellBackingIn(ctx context.Context, req *EstimateSellBackingInRequest) (*EstimateSellBackingInResponse, error)
func (*UnimplementedQueryServer) EstimateSellBackingOut ¶
func (*UnimplementedQueryServer) EstimateSellBackingOut(ctx context.Context, req *EstimateSellBackingOutRequest) (*EstimateSellBackingOutResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) TotalBacking ¶
func (*UnimplementedQueryServer) TotalBacking(ctx context.Context, req *QueryTotalBackingRequest) (*QueryTotalBackingResponse, error)
func (*UnimplementedQueryServer) TotalCollateral ¶
func (*UnimplementedQueryServer) TotalCollateral(ctx context.Context, req *QueryTotalCollateralRequest) (*QueryTotalCollateralResponse, error)