Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetCheckKey(hash []byte) []byte
- func GetChecksKey() []byte
- func GetCoinKey(denom string) []byte
- func GetCoinVRKey(denom string) []byte
- func GetCoinsKey() []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- 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 AccountKeeper
- type BankKeeper
- type Check
- func (c *Check) DecodeRLP(st *rlp.Stream) error
- func (*Check) Descriptor() ([]byte, []int)
- func (c *Check) EncodeRLP(w io.Writer) error
- func (this *Check) Equal(that interface{}) bool
- func (c *Check) Hash() Hash
- func (c *Check) HashFull() Hash
- func (c *Check) HashWithoutLock() Hash
- func (c *Check) LockPubKey() ([]byte, error)
- func (m *Check) Marshal() (dAtA []byte, err error)
- func (m *Check) MarshalTo(dAtA []byte) (int, error)
- func (m *Check) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Check) ProtoMessage()
- func (m *Check) Reset()
- func (c *Check) Sender() (sdk.AccAddress, error)
- func (c *Check) SetSignature(sig []byte)
- func (c *Check) Sign(prv *ecdsa.PrivateKey) error
- func (m *Check) Size() (n int)
- func (c *Check) String() string
- func (m *Check) Unmarshal(dAtA []byte) error
- func (m *Check) XXX_DiscardUnknown()
- func (m *Check) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Check) XXX_Merge(src proto.Message)
- func (m *Check) XXX_Size() int
- func (m *Check) XXX_Unmarshal(b []byte) error
- type Checks
- type Coin
- func (*Coin) Descriptor() ([]byte, []int)
- func (this *Coin) Equal(that interface{}) bool
- func (m *Coin) Marshal() (dAtA []byte, err error)
- func (m *Coin) MarshalTo(dAtA []byte) (int, error)
- func (m *Coin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Coin) ProtoMessage()
- func (m *Coin) Reset()
- func (m *Coin) Size() (n int)
- func (m *Coin) String() string
- func (m *Coin) Unmarshal(dAtA []byte) error
- func (m *Coin) XXX_DiscardUnknown()
- func (m *Coin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Coin) XXX_Merge(src proto.Message)
- func (m *Coin) XXX_Size() int
- func (m *Coin) XXX_Unmarshal(b []byte) error
- type CoinKeeper
- type CoinVR
- func (*CoinVR) Descriptor() ([]byte, []int)
- func (this *CoinVR) Equal(that interface{}) bool
- func (m *CoinVR) Marshal() (dAtA []byte, err error)
- func (m *CoinVR) MarshalTo(dAtA []byte) (int, error)
- func (m *CoinVR) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CoinVR) ProtoMessage()
- func (m *CoinVR) Reset()
- func (m *CoinVR) Size() (n int)
- func (m *CoinVR) String() string
- func (m *CoinVR) Unmarshal(dAtA []byte) error
- func (m *CoinVR) XXX_DiscardUnknown()
- func (m *CoinVR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CoinVR) XXX_Merge(src proto.Message)
- func (m *CoinVR) XXX_Size() int
- func (m *CoinVR) XXX_Unmarshal(b []byte) error
- type ContextFeeKey
- type EventBurnCoin
- func (*EventBurnCoin) Descriptor() ([]byte, []int)
- func (m *EventBurnCoin) GetCoin() string
- func (m *EventBurnCoin) GetSender() string
- func (m *EventBurnCoin) Marshal() (dAtA []byte, err error)
- func (m *EventBurnCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBurnCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBurnCoin) ProtoMessage()
- func (m *EventBurnCoin) Reset()
- func (m *EventBurnCoin) Size() (n int)
- func (m *EventBurnCoin) String() string
- func (m *EventBurnCoin) Unmarshal(dAtA []byte) error
- func (m *EventBurnCoin) XXX_DiscardUnknown()
- func (m *EventBurnCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBurnCoin) XXX_Merge(src proto.Message)
- func (m *EventBurnCoin) XXX_Size() int
- func (m *EventBurnCoin) XXX_Unmarshal(b []byte) error
- type EventBuySellCoin
- func (*EventBuySellCoin) Descriptor() ([]byte, []int)
- func (m *EventBuySellCoin) GetAmountInBaseCoin() string
- func (m *EventBuySellCoin) GetCoinToBuy() string
- func (m *EventBuySellCoin) GetCoinToSell() string
- func (m *EventBuySellCoin) GetSender() string
- func (m *EventBuySellCoin) Marshal() (dAtA []byte, err error)
- func (m *EventBuySellCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBuySellCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBuySellCoin) ProtoMessage()
- func (m *EventBuySellCoin) Reset()
- func (m *EventBuySellCoin) Size() (n int)
- func (m *EventBuySellCoin) String() string
- func (m *EventBuySellCoin) Unmarshal(dAtA []byte) error
- func (m *EventBuySellCoin) XXX_DiscardUnknown()
- func (m *EventBuySellCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBuySellCoin) XXX_Merge(src proto.Message)
- func (m *EventBuySellCoin) XXX_Size() int
- func (m *EventBuySellCoin) XXX_Unmarshal(b []byte) error
- type EventCreateCoin
- func (*EventCreateCoin) Descriptor() ([]byte, []int)
- func (m *EventCreateCoin) GetCRR() uint32
- func (m *EventCreateCoin) GetCommissionCreateCoin() string
- func (m *EventCreateCoin) GetDenom() string
- func (m *EventCreateCoin) GetIdentity() string
- func (m *EventCreateCoin) GetInitialReserve() string
- func (m *EventCreateCoin) GetInitialVolume() string
- func (m *EventCreateCoin) GetLimitVolume() string
- func (m *EventCreateCoin) GetSender() string
- func (m *EventCreateCoin) GetTitle() string
- func (m *EventCreateCoin) Marshal() (dAtA []byte, err error)
- func (m *EventCreateCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateCoin) ProtoMessage()
- func (m *EventCreateCoin) Reset()
- func (m *EventCreateCoin) Size() (n int)
- func (m *EventCreateCoin) String() string
- func (m *EventCreateCoin) Unmarshal(dAtA []byte) error
- func (m *EventCreateCoin) XXX_DiscardUnknown()
- func (m *EventCreateCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateCoin) XXX_Merge(src proto.Message)
- func (m *EventCreateCoin) XXX_Size() int
- func (m *EventCreateCoin) XXX_Unmarshal(b []byte) error
- type EventRedeemCheck
- func (*EventRedeemCheck) Descriptor() ([]byte, []int)
- func (m *EventRedeemCheck) GetCoin() string
- func (m *EventRedeemCheck) GetCommissionRedeemCheck() string
- func (m *EventRedeemCheck) GetDueBlock() string
- func (m *EventRedeemCheck) GetIssuer() string
- func (m *EventRedeemCheck) GetNonce() string
- func (m *EventRedeemCheck) GetSender() string
- func (m *EventRedeemCheck) Marshal() (dAtA []byte, err error)
- func (m *EventRedeemCheck) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRedeemCheck) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRedeemCheck) ProtoMessage()
- func (m *EventRedeemCheck) Reset()
- func (m *EventRedeemCheck) Size() (n int)
- func (m *EventRedeemCheck) String() string
- func (m *EventRedeemCheck) Unmarshal(dAtA []byte) error
- func (m *EventRedeemCheck) XXX_DiscardUnknown()
- func (m *EventRedeemCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRedeemCheck) XXX_Merge(src proto.Message)
- func (m *EventRedeemCheck) XXX_Size() int
- func (m *EventRedeemCheck) XXX_Unmarshal(b []byte) error
- type EventSendCoin
- func (*EventSendCoin) Descriptor() ([]byte, []int)
- func (m *EventSendCoin) GetCoin() string
- func (m *EventSendCoin) GetRecipient() string
- func (m *EventSendCoin) GetSender() string
- func (m *EventSendCoin) Marshal() (dAtA []byte, err error)
- func (m *EventSendCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSendCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSendCoin) ProtoMessage()
- func (m *EventSendCoin) Reset()
- func (m *EventSendCoin) Size() (n int)
- func (m *EventSendCoin) String() string
- func (m *EventSendCoin) Unmarshal(dAtA []byte) error
- func (m *EventSendCoin) XXX_DiscardUnknown()
- func (m *EventSendCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSendCoin) XXX_Merge(src proto.Message)
- func (m *EventSendCoin) XXX_Size() int
- func (m *EventSendCoin) XXX_Unmarshal(b []byte) error
- type EventUpdateCoin
- func (*EventUpdateCoin) Descriptor() ([]byte, []int)
- func (m *EventUpdateCoin) GetDenom() string
- func (m *EventUpdateCoin) GetIdentity() string
- func (m *EventUpdateCoin) GetLimitVolume() string
- func (m *EventUpdateCoin) GetSender() string
- func (m *EventUpdateCoin) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateCoin) ProtoMessage()
- func (m *EventUpdateCoin) Reset()
- func (m *EventUpdateCoin) Size() (n int)
- func (m *EventUpdateCoin) String() string
- func (m *EventUpdateCoin) Unmarshal(dAtA []byte) error
- func (m *EventUpdateCoin) XXX_DiscardUnknown()
- func (m *EventUpdateCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateCoin) XXX_Merge(src proto.Message)
- func (m *EventUpdateCoin) XXX_Size() int
- func (m *EventUpdateCoin) XXX_Unmarshal(b []byte) error
- type EventUpdateCoinVR
- func (*EventUpdateCoinVR) Descriptor() ([]byte, []int)
- func (m *EventUpdateCoinVR) GetDenom() string
- func (m *EventUpdateCoinVR) GetReserve() string
- func (m *EventUpdateCoinVR) GetVolume() string
- func (m *EventUpdateCoinVR) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateCoinVR) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateCoinVR) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateCoinVR) ProtoMessage()
- func (m *EventUpdateCoinVR) Reset()
- func (m *EventUpdateCoinVR) Size() (n int)
- func (m *EventUpdateCoinVR) String() string
- func (m *EventUpdateCoinVR) Unmarshal(dAtA []byte) error
- func (m *EventUpdateCoinVR) XXX_DiscardUnknown()
- func (m *EventUpdateCoinVR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateCoinVR) XXX_Merge(src proto.Message)
- func (m *EventUpdateCoinVR) XXX_Size() int
- func (m *EventUpdateCoinVR) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetChecks() []Check
- func (m *GenesisState) GetCoins() []Coin
- 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 Hash
- type MsgBurnCoin
- func (*MsgBurnCoin) Descriptor() ([]byte, []int)
- func (msg *MsgBurnCoin) GetSignBytes() []byte
- func (msg *MsgBurnCoin) GetSigners() []sdk.AccAddress
- func (m *MsgBurnCoin) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnCoin) ProtoMessage()
- func (m *MsgBurnCoin) Reset()
- func (msg *MsgBurnCoin) Route() string
- func (m *MsgBurnCoin) Size() (n int)
- func (m *MsgBurnCoin) String() string
- func (msg *MsgBurnCoin) Type() string
- func (m *MsgBurnCoin) Unmarshal(dAtA []byte) error
- func (msg *MsgBurnCoin) ValidateBasic() error
- func (m *MsgBurnCoin) XXX_DiscardUnknown()
- func (m *MsgBurnCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnCoin) XXX_Merge(src proto.Message)
- func (m *MsgBurnCoin) XXX_Size() int
- func (m *MsgBurnCoin) XXX_Unmarshal(b []byte) error
- type MsgBurnCoinResponse
- func (*MsgBurnCoinResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnCoinResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnCoinResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnCoinResponse) ProtoMessage()
- func (m *MsgBurnCoinResponse) Reset()
- func (m *MsgBurnCoinResponse) Size() (n int)
- func (m *MsgBurnCoinResponse) String() string
- func (m *MsgBurnCoinResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnCoinResponse) XXX_DiscardUnknown()
- func (m *MsgBurnCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnCoinResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnCoinResponse) XXX_Size() int
- func (m *MsgBurnCoinResponse) XXX_Unmarshal(b []byte) error
- type MsgBuyCoin
- func (*MsgBuyCoin) Descriptor() ([]byte, []int)
- func (msg *MsgBuyCoin) GetSignBytes() []byte
- func (msg *MsgBuyCoin) GetSigners() []sdk.AccAddress
- func (m *MsgBuyCoin) Marshal() (dAtA []byte, err error)
- func (m *MsgBuyCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuyCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuyCoin) ProtoMessage()
- func (m *MsgBuyCoin) Reset()
- func (msg *MsgBuyCoin) Route() string
- func (m *MsgBuyCoin) Size() (n int)
- func (m *MsgBuyCoin) String() string
- func (msg *MsgBuyCoin) Type() string
- func (m *MsgBuyCoin) Unmarshal(dAtA []byte) error
- func (msg *MsgBuyCoin) ValidateBasic() error
- func (m *MsgBuyCoin) XXX_DiscardUnknown()
- func (m *MsgBuyCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuyCoin) XXX_Merge(src proto.Message)
- func (m *MsgBuyCoin) XXX_Size() int
- func (m *MsgBuyCoin) XXX_Unmarshal(b []byte) error
- type MsgBuyCoinResponse
- func (*MsgBuyCoinResponse) Descriptor() ([]byte, []int)
- func (m *MsgBuyCoinResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBuyCoinResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBuyCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBuyCoinResponse) ProtoMessage()
- func (m *MsgBuyCoinResponse) Reset()
- func (m *MsgBuyCoinResponse) Size() (n int)
- func (m *MsgBuyCoinResponse) String() string
- func (m *MsgBuyCoinResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBuyCoinResponse) XXX_DiscardUnknown()
- func (m *MsgBuyCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBuyCoinResponse) XXX_Merge(src proto.Message)
- func (m *MsgBuyCoinResponse) XXX_Size() int
- func (m *MsgBuyCoinResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateCoin
- func (*MsgCreateCoin) Descriptor() ([]byte, []int)
- func (m *MsgCreateCoin) GetCRR() uint32
- func (m *MsgCreateCoin) GetDenom() string
- func (m *MsgCreateCoin) GetIdentity() string
- func (m *MsgCreateCoin) GetSender() string
- func (msg *MsgCreateCoin) GetSignBytes() []byte
- func (msg *MsgCreateCoin) GetSigners() []sdk.AccAddress
- func (m *MsgCreateCoin) GetTitle() string
- func (m *MsgCreateCoin) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCoin) ProtoMessage()
- func (m *MsgCreateCoin) Reset()
- func (msg *MsgCreateCoin) Route() string
- func (m *MsgCreateCoin) Size() (n int)
- func (m *MsgCreateCoin) String() string
- func (msg *MsgCreateCoin) Type() string
- func (m *MsgCreateCoin) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateCoin) ValidateBasic() error
- func (m *MsgCreateCoin) XXX_DiscardUnknown()
- func (m *MsgCreateCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCoin) XXX_Merge(src proto.Message)
- func (m *MsgCreateCoin) XXX_Size() int
- func (m *MsgCreateCoin) XXX_Unmarshal(b []byte) error
- type MsgCreateCoinResponse
- func (*MsgCreateCoinResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateCoinResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCoinResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCoinResponse) ProtoMessage()
- func (m *MsgCreateCoinResponse) Reset()
- func (m *MsgCreateCoinResponse) Size() (n int)
- func (m *MsgCreateCoinResponse) String() string
- func (m *MsgCreateCoinResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateCoinResponse) XXX_DiscardUnknown()
- func (m *MsgCreateCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCoinResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateCoinResponse) XXX_Size() int
- func (m *MsgCreateCoinResponse) XXX_Unmarshal(b []byte) error
- type MsgMultiSendCoin
- func (*MsgMultiSendCoin) Descriptor() ([]byte, []int)
- func (msg *MsgMultiSendCoin) GetSignBytes() []byte
- func (msg *MsgMultiSendCoin) GetSigners() []sdk.AccAddress
- func (m *MsgMultiSendCoin) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiSendCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiSendCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiSendCoin) ProtoMessage()
- func (m *MsgMultiSendCoin) Reset()
- func (msg *MsgMultiSendCoin) Route() string
- func (m *MsgMultiSendCoin) Size() (n int)
- func (m *MsgMultiSendCoin) String() string
- func (msg *MsgMultiSendCoin) Type() string
- func (m *MsgMultiSendCoin) Unmarshal(dAtA []byte) error
- func (msg *MsgMultiSendCoin) ValidateBasic() error
- func (m *MsgMultiSendCoin) XXX_DiscardUnknown()
- func (m *MsgMultiSendCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiSendCoin) XXX_Merge(src proto.Message)
- func (m *MsgMultiSendCoin) XXX_Size() int
- func (m *MsgMultiSendCoin) XXX_Unmarshal(b []byte) error
- type MsgMultiSendCoinResponse
- func (*MsgMultiSendCoinResponse) Descriptor() ([]byte, []int)
- func (m *MsgMultiSendCoinResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiSendCoinResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiSendCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiSendCoinResponse) ProtoMessage()
- func (m *MsgMultiSendCoinResponse) Reset()
- func (m *MsgMultiSendCoinResponse) Size() (n int)
- func (m *MsgMultiSendCoinResponse) String() string
- func (m *MsgMultiSendCoinResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMultiSendCoinResponse) XXX_DiscardUnknown()
- func (m *MsgMultiSendCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiSendCoinResponse) XXX_Merge(src proto.Message)
- func (m *MsgMultiSendCoinResponse) XXX_Size() int
- func (m *MsgMultiSendCoinResponse) XXX_Unmarshal(b []byte) error
- type MsgRedeemCheck
- func (*MsgRedeemCheck) Descriptor() ([]byte, []int)
- func (msg *MsgRedeemCheck) GetSignBytes() []byte
- func (msg *MsgRedeemCheck) GetSigners() []sdk.AccAddress
- func (m *MsgRedeemCheck) Marshal() (dAtA []byte, err error)
- func (m *MsgRedeemCheck) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRedeemCheck) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRedeemCheck) ProtoMessage()
- func (m *MsgRedeemCheck) Reset()
- func (msg *MsgRedeemCheck) Route() string
- func (m *MsgRedeemCheck) Size() (n int)
- func (m *MsgRedeemCheck) String() string
- func (msg *MsgRedeemCheck) Type() string
- func (m *MsgRedeemCheck) Unmarshal(dAtA []byte) error
- func (msg *MsgRedeemCheck) ValidateBasic() error
- func (m *MsgRedeemCheck) XXX_DiscardUnknown()
- func (m *MsgRedeemCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRedeemCheck) XXX_Merge(src proto.Message)
- func (m *MsgRedeemCheck) XXX_Size() int
- func (m *MsgRedeemCheck) XXX_Unmarshal(b []byte) error
- type MsgRedeemCheckResponse
- func (*MsgRedeemCheckResponse) Descriptor() ([]byte, []int)
- func (m *MsgRedeemCheckResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRedeemCheckResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRedeemCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRedeemCheckResponse) ProtoMessage()
- func (m *MsgRedeemCheckResponse) Reset()
- func (m *MsgRedeemCheckResponse) Size() (n int)
- func (m *MsgRedeemCheckResponse) String() string
- func (m *MsgRedeemCheckResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRedeemCheckResponse) XXX_DiscardUnknown()
- func (m *MsgRedeemCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRedeemCheckResponse) XXX_Merge(src proto.Message)
- func (m *MsgRedeemCheckResponse) XXX_Size() int
- func (m *MsgRedeemCheckResponse) XXX_Unmarshal(b []byte) error
- type MsgSellAllCoin
- func (*MsgSellAllCoin) Descriptor() ([]byte, []int)
- func (msg *MsgSellAllCoin) GetSignBytes() []byte
- func (msg *MsgSellAllCoin) GetSigners() []sdk.AccAddress
- func (m *MsgSellAllCoin) Marshal() (dAtA []byte, err error)
- func (m *MsgSellAllCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSellAllCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSellAllCoin) ProtoMessage()
- func (m *MsgSellAllCoin) Reset()
- func (msg *MsgSellAllCoin) Route() string
- func (m *MsgSellAllCoin) Size() (n int)
- func (m *MsgSellAllCoin) String() string
- func (msg *MsgSellAllCoin) Type() string
- func (m *MsgSellAllCoin) Unmarshal(dAtA []byte) error
- func (msg *MsgSellAllCoin) ValidateBasic() error
- func (m *MsgSellAllCoin) XXX_DiscardUnknown()
- func (m *MsgSellAllCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSellAllCoin) XXX_Merge(src proto.Message)
- func (m *MsgSellAllCoin) XXX_Size() int
- func (m *MsgSellAllCoin) XXX_Unmarshal(b []byte) error
- type MsgSellAllCoinResponse
- func (*MsgSellAllCoinResponse) Descriptor() ([]byte, []int)
- func (m *MsgSellAllCoinResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSellAllCoinResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSellAllCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSellAllCoinResponse) ProtoMessage()
- func (m *MsgSellAllCoinResponse) Reset()
- func (m *MsgSellAllCoinResponse) Size() (n int)
- func (m *MsgSellAllCoinResponse) String() string
- func (m *MsgSellAllCoinResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSellAllCoinResponse) XXX_DiscardUnknown()
- func (m *MsgSellAllCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSellAllCoinResponse) XXX_Merge(src proto.Message)
- func (m *MsgSellAllCoinResponse) XXX_Size() int
- func (m *MsgSellAllCoinResponse) XXX_Unmarshal(b []byte) error
- type MsgSellCoin
- func (*MsgSellCoin) Descriptor() ([]byte, []int)
- func (msg *MsgSellCoin) GetSignBytes() []byte
- func (msg *MsgSellCoin) GetSigners() []sdk.AccAddress
- func (m *MsgSellCoin) Marshal() (dAtA []byte, err error)
- func (m *MsgSellCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSellCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSellCoin) ProtoMessage()
- func (m *MsgSellCoin) Reset()
- func (msg *MsgSellCoin) Route() string
- func (m *MsgSellCoin) Size() (n int)
- func (m *MsgSellCoin) String() string
- func (msg *MsgSellCoin) Type() string
- func (m *MsgSellCoin) Unmarshal(dAtA []byte) error
- func (msg *MsgSellCoin) ValidateBasic() error
- func (m *MsgSellCoin) XXX_DiscardUnknown()
- func (m *MsgSellCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSellCoin) XXX_Merge(src proto.Message)
- func (m *MsgSellCoin) XXX_Size() int
- func (m *MsgSellCoin) XXX_Unmarshal(b []byte) error
- type MsgSellCoinResponse
- func (*MsgSellCoinResponse) Descriptor() ([]byte, []int)
- func (m *MsgSellCoinResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSellCoinResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSellCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSellCoinResponse) ProtoMessage()
- func (m *MsgSellCoinResponse) Reset()
- func (m *MsgSellCoinResponse) Size() (n int)
- func (m *MsgSellCoinResponse) String() string
- func (m *MsgSellCoinResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSellCoinResponse) XXX_DiscardUnknown()
- func (m *MsgSellCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSellCoinResponse) XXX_Merge(src proto.Message)
- func (m *MsgSellCoinResponse) XXX_Size() int
- func (m *MsgSellCoinResponse) XXX_Unmarshal(b []byte) error
- type MsgSendCoin
- func (*MsgSendCoin) Descriptor() ([]byte, []int)
- func (msg *MsgSendCoin) GetSignBytes() []byte
- func (msg *MsgSendCoin) GetSigners() []sdk.AccAddress
- func (m *MsgSendCoin) Marshal() (dAtA []byte, err error)
- func (m *MsgSendCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendCoin) ProtoMessage()
- func (m *MsgSendCoin) Reset()
- func (msg *MsgSendCoin) Route() string
- func (m *MsgSendCoin) Size() (n int)
- func (m *MsgSendCoin) String() string
- func (msg *MsgSendCoin) Type() string
- func (m *MsgSendCoin) Unmarshal(dAtA []byte) error
- func (msg *MsgSendCoin) ValidateBasic() error
- func (m *MsgSendCoin) XXX_DiscardUnknown()
- func (m *MsgSendCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendCoin) XXX_Merge(src proto.Message)
- func (m *MsgSendCoin) XXX_Size() int
- func (m *MsgSendCoin) XXX_Unmarshal(b []byte) error
- type MsgSendCoinResponse
- func (*MsgSendCoinResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendCoinResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendCoinResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendCoinResponse) ProtoMessage()
- func (m *MsgSendCoinResponse) Reset()
- func (m *MsgSendCoinResponse) Size() (n int)
- func (m *MsgSendCoinResponse) String() string
- func (m *MsgSendCoinResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendCoinResponse) XXX_DiscardUnknown()
- func (m *MsgSendCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendCoinResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendCoinResponse) XXX_Size() int
- func (m *MsgSendCoinResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateCoin
- func (*MsgUpdateCoin) Descriptor() ([]byte, []int)
- func (msg *MsgUpdateCoin) GetSignBytes() []byte
- func (msg *MsgUpdateCoin) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateCoin) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCoin) ProtoMessage()
- func (m *MsgUpdateCoin) Reset()
- func (msg *MsgUpdateCoin) Route() string
- func (m *MsgUpdateCoin) Size() (n int)
- func (m *MsgUpdateCoin) String() string
- func (msg *MsgUpdateCoin) Type() string
- func (m *MsgUpdateCoin) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateCoin) ValidateBasic() error
- func (m *MsgUpdateCoin) XXX_DiscardUnknown()
- func (m *MsgUpdateCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCoin) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCoin) XXX_Size() int
- func (m *MsgUpdateCoin) XXX_Unmarshal(b []byte) error
- type MsgUpdateCoinResponse
- func (*MsgUpdateCoinResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateCoinResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateCoinResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateCoinResponse) ProtoMessage()
- func (m *MsgUpdateCoinResponse) Reset()
- func (m *MsgUpdateCoinResponse) Size() (n int)
- func (m *MsgUpdateCoinResponse) String() string
- func (m *MsgUpdateCoinResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateCoinResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateCoinResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateCoinResponse) XXX_Size() int
- func (m *MsgUpdateCoinResponse) XXX_Unmarshal(b []byte) error
- type MultiSendEntry
- func (*MultiSendEntry) Descriptor() ([]byte, []int)
- func (m *MultiSendEntry) Marshal() (dAtA []byte, err error)
- func (m *MultiSendEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiSendEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiSendEntry) ProtoMessage()
- func (m *MultiSendEntry) Reset()
- func (m *MultiSendEntry) Size() (n int)
- func (m *MultiSendEntry) String() string
- func (m *MultiSendEntry) Unmarshal(dAtA []byte) error
- func (m *MultiSendEntry) XXX_DiscardUnknown()
- func (m *MultiSendEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiSendEntry) XXX_Merge(src proto.Message)
- func (m *MultiSendEntry) XXX_Size() int
- func (m *MultiSendEntry) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- 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 (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p *Params) Validate() (err 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 QueryCheckRequest
- func (*QueryCheckRequest) Descriptor() ([]byte, []int)
- func (m *QueryCheckRequest) GetHash() []byte
- func (m *QueryCheckRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckRequest) ProtoMessage()
- func (m *QueryCheckRequest) Reset()
- func (m *QueryCheckRequest) Size() (n int)
- func (m *QueryCheckRequest) String() string
- func (m *QueryCheckRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCheckRequest) XXX_DiscardUnknown()
- func (m *QueryCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckRequest) XXX_Merge(src proto.Message)
- func (m *QueryCheckRequest) XXX_Size() int
- func (m *QueryCheckRequest) XXX_Unmarshal(b []byte) error
- type QueryCheckResponse
- func (*QueryCheckResponse) Descriptor() ([]byte, []int)
- func (m *QueryCheckResponse) GetCheck() Check
- func (m *QueryCheckResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckResponse) ProtoMessage()
- func (m *QueryCheckResponse) Reset()
- func (m *QueryCheckResponse) Size() (n int)
- func (m *QueryCheckResponse) String() string
- func (m *QueryCheckResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCheckResponse) XXX_DiscardUnknown()
- func (m *QueryCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckResponse) XXX_Merge(src proto.Message)
- func (m *QueryCheckResponse) XXX_Size() int
- func (m *QueryCheckResponse) XXX_Unmarshal(b []byte) error
- type QueryChecksRequest
- func (*QueryChecksRequest) Descriptor() ([]byte, []int)
- func (m *QueryChecksRequest) GetPagination() *query.PageRequest
- func (m *QueryChecksRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryChecksRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryChecksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryChecksRequest) ProtoMessage()
- func (m *QueryChecksRequest) Reset()
- func (m *QueryChecksRequest) Size() (n int)
- func (m *QueryChecksRequest) String() string
- func (m *QueryChecksRequest) Unmarshal(dAtA []byte) error
- func (m *QueryChecksRequest) XXX_DiscardUnknown()
- func (m *QueryChecksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryChecksRequest) XXX_Merge(src proto.Message)
- func (m *QueryChecksRequest) XXX_Size() int
- func (m *QueryChecksRequest) XXX_Unmarshal(b []byte) error
- type QueryChecksResponse
- func (*QueryChecksResponse) Descriptor() ([]byte, []int)
- func (m *QueryChecksResponse) GetChecks() []Check
- func (m *QueryChecksResponse) GetPagination() *query.PageResponse
- func (m *QueryChecksResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryChecksResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryChecksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryChecksResponse) ProtoMessage()
- func (m *QueryChecksResponse) Reset()
- func (m *QueryChecksResponse) Size() (n int)
- func (m *QueryChecksResponse) String() string
- func (m *QueryChecksResponse) Unmarshal(dAtA []byte) error
- func (m *QueryChecksResponse) XXX_DiscardUnknown()
- func (m *QueryChecksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryChecksResponse) XXX_Merge(src proto.Message)
- func (m *QueryChecksResponse) XXX_Size() int
- func (m *QueryChecksResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCoinRequest
- func (*QueryCoinRequest) Descriptor() ([]byte, []int)
- func (m *QueryCoinRequest) GetDenom() string
- func (m *QueryCoinRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCoinRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCoinRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCoinRequest) ProtoMessage()
- func (m *QueryCoinRequest) Reset()
- func (m *QueryCoinRequest) Size() (n int)
- func (m *QueryCoinRequest) String() string
- func (m *QueryCoinRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCoinRequest) XXX_DiscardUnknown()
- func (m *QueryCoinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCoinRequest) XXX_Merge(src proto.Message)
- func (m *QueryCoinRequest) XXX_Size() int
- func (m *QueryCoinRequest) XXX_Unmarshal(b []byte) error
- type QueryCoinResponse
- func (*QueryCoinResponse) Descriptor() ([]byte, []int)
- func (m *QueryCoinResponse) GetCoin() Coin
- func (m *QueryCoinResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCoinResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCoinResponse) ProtoMessage()
- func (m *QueryCoinResponse) Reset()
- func (m *QueryCoinResponse) Size() (n int)
- func (m *QueryCoinResponse) String() string
- func (m *QueryCoinResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCoinResponse) XXX_DiscardUnknown()
- func (m *QueryCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCoinResponse) XXX_Merge(src proto.Message)
- func (m *QueryCoinResponse) XXX_Size() int
- func (m *QueryCoinResponse) XXX_Unmarshal(b []byte) error
- type QueryCoinsRequest
- func (*QueryCoinsRequest) Descriptor() ([]byte, []int)
- func (m *QueryCoinsRequest) GetPagination() *query.PageRequest
- func (m *QueryCoinsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCoinsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCoinsRequest) ProtoMessage()
- func (m *QueryCoinsRequest) Reset()
- func (m *QueryCoinsRequest) Size() (n int)
- func (m *QueryCoinsRequest) String() string
- func (m *QueryCoinsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCoinsRequest) XXX_DiscardUnknown()
- func (m *QueryCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCoinsRequest) XXX_Merge(src proto.Message)
- func (m *QueryCoinsRequest) XXX_Size() int
- func (m *QueryCoinsRequest) XXX_Unmarshal(b []byte) error
- type QueryCoinsResponse
- func (*QueryCoinsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCoinsResponse) GetCoins() []Coin
- func (m *QueryCoinsResponse) GetPagination() *query.PageResponse
- func (m *QueryCoinsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCoinsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCoinsResponse) ProtoMessage()
- func (m *QueryCoinsResponse) Reset()
- func (m *QueryCoinsResponse) Size() (n int)
- func (m *QueryCoinsResponse) String() string
- func (m *QueryCoinsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCoinsResponse) XXX_DiscardUnknown()
- func (m *QueryCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCoinsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCoinsResponse) XXX_Size() int
- func (m *QueryCoinsResponse) 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 UnimplementedMsgServer
- func (*UnimplementedMsgServer) BurnCoin(ctx context.Context, req *MsgBurnCoin) (*MsgBurnCoinResponse, error)
- func (*UnimplementedMsgServer) BuyCoin(ctx context.Context, req *MsgBuyCoin) (*MsgBuyCoinResponse, error)
- func (*UnimplementedMsgServer) CreateCoin(ctx context.Context, req *MsgCreateCoin) (*MsgCreateCoinResponse, error)
- func (*UnimplementedMsgServer) MultiSendCoin(ctx context.Context, req *MsgMultiSendCoin) (*MsgMultiSendCoinResponse, error)
- func (*UnimplementedMsgServer) RedeemCheck(ctx context.Context, req *MsgRedeemCheck) (*MsgRedeemCheckResponse, error)
- func (*UnimplementedMsgServer) SellAllCoin(ctx context.Context, req *MsgSellAllCoin) (*MsgSellAllCoinResponse, error)
- func (*UnimplementedMsgServer) SellCoin(ctx context.Context, req *MsgSellCoin) (*MsgSellCoinResponse, error)
- func (*UnimplementedMsgServer) SendCoin(ctx context.Context, req *MsgSendCoin) (*MsgSendCoinResponse, error)
- func (*UnimplementedMsgServer) UpdateCoin(ctx context.Context, req *MsgUpdateCoin) (*MsgUpdateCoinResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Check(ctx context.Context, req *QueryCheckRequest) (*QueryCheckResponse, error)
- func (*UnimplementedQueryServer) Checks(ctx context.Context, req *QueryChecksRequest) (*QueryChecksResponse, error)
- func (*UnimplementedQueryServer) Coin(ctx context.Context, req *QueryCoinRequest) (*QueryCoinResponse, error)
- func (*UnimplementedQueryServer) Coins(ctx context.Context, req *QueryCoinsRequest) (*QueryCoinsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "coin" // StoreKey defines the primary module store key StoreKey = ModuleName // MemStoreKey defines the in-memory store key_ MemStoreKey = "mem_" + ModuleName // RouterKey defines module's messages routing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName )
const ( TypeMsgCreateCoin = "create_coin" TypeMsgUpdateCoin = "update_coin" TypeMsgSendCoin = "send_coin" TypeMsgMultiSendCoin = "multi_send_coin" TypeMsgBuyCoin = "buy_coin" TypeMsgSellCoin = "sell_coin" TypeMsgSellAllCoin = "sell_all_coin" TypeMsgBurnCoin = "burn_coin" TypeMsgRedeemCheck = "redeem_check" )
const ( QueryCoins = "coins" // 'custom/coin/coins' QueryCoin = "coin" // 'custom/coin/coin/{denom}' QueryChecks = "checks" // 'custom/coin/checks' QueryCheck = "check" // 'custom/coin/check' with req QueryParams = "params" // 'custom/coin/params' )
const HashLength = 32
HashLength represents constant length of a hash which equals to 32 bytes.
Variables ¶
var ( ErrInvalidLengthCoin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCoin = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCoin = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( DefaultBaseDenom string = cmdconfig.BaseDenom DefaultBaseTitle string = "Decimal coin" DefaultBaseVolume sdkmath.Int = helpers.EtherToWei(sdkmath.NewInt(340_000_000)) )
Coin params default values.
var ( KeyBaseDenom = []byte("BaseDenom") KeyBaseTitle = []byte("BaseTitle") KeyBaseVolume = []byte("BaseVolume") )
Parameter store keys.
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
ModuleCdc references the global coin module codec. Note, the codec should ONLY be used in certain instances of tests and for JSON encoding.
The actual codec used for serialization should be provided to modules/coin and defined at the application level.
Functions ¶
func GetCheckKey ¶ added in v0.0.8
GetCheckKey returns the key of the redeemed check.
func GetChecksKey ¶ added in v0.0.8
func GetChecksKey() []byte
GetChecksKey returns the key prefix of the redeemed check.
func GetCoinKey ¶ added in v0.0.8
GetCoinKey returns the key of the coin.
func GetCoinVRKey ¶ added in v0.0.8
GetCoinVRKey returns the key of the record containing coin volume and reserve.
func GetCoinsKey ¶ added in v0.0.8
func GetCoinsKey() []byte
GetCoinsKey returns the key prefix of the coins.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module.
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces registers concrete implementations of specific interfaces.
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 to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { // Return a new account with the next account number and the specified address. Does not save the new account to the store. NewAccountWithAddress(sdk.Context, sdk.AccAddress) types.AccountI // Return a new account with the next account number. Does not save the new account to the store. NewAccount(sdk.Context, types.AccountI) types.AccountI // Check if an account exists in the store. HasAccount(sdk.Context, sdk.AccAddress) bool // Retrieve an account from the store. GetAccount(sdk.Context, sdk.AccAddress) types.AccountI // Set an account in the store. SetAccount(sdk.Context, types.AccountI) // Remove an account from the store. RemoveAccount(sdk.Context, types.AccountI) // Iterate over all accounts, calling the provided function. Stop iteration when it returns true. IterateAccounts(sdk.Context, func(types.AccountI) bool) // Fetch the public key of an account at a specified address GetPubKey(sdk.Context, sdk.AccAddress) (cryptotypes.PubKey, error) // Fetch the sequence of an account at a specified address. GetSequence(sdk.Context, sdk.AccAddress) (uint64, error) // Fetch the next account number, and increment the internal counter. GetNextAccountNumber(sdk.Context) uint64 }
AccountKeeper is the interface contract that x/auth's keeper implements.
type BankKeeper ¶
type BankKeeper interface { GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the expected bank keeper.
type Check ¶
type Check struct { // chain_id defines the chain ID for which the check was issued. ChainID string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // coin defines the coin attached to the check. Coin types.Coin `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin"` // nonce defines nonce used for the check. Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // due_block defines block number after which the check becomes expired. DueBlock uint64 `protobuf:"varint,4,opt,name=due_block,json=dueBlock,proto3" json:"due_block,omitempty"` // lock defines specific data needed to ensure the check correctness. Lock []byte `protobuf:"bytes,5,opt,name=lock,proto3" json:"lock,omitempty"` // v defines `v` value of the check signature. V cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=v,proto3,customtype=cosmossdk.io/math.Int" json:"v"` // r defines `r` value of the check signature. R cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=r,proto3,customtype=cosmossdk.io/math.Int" json:"r"` // s defines `s` value of the check signature. S cosmossdk_io_math.Int `protobuf:"bytes,8,opt,name=s,proto3,customtype=cosmossdk.io/math.Int" json:"s"` }
Check defines the redeemed check.
func ParseCheck ¶
func (*Check) Descriptor ¶
func (*Check) HashWithoutLock ¶
func (*Check) LockPubKey ¶
func (*Check) ProtoMessage ¶
func (*Check) ProtoMessage()
func (*Check) SetSignature ¶
func (*Check) XXX_DiscardUnknown ¶
func (m *Check) XXX_DiscardUnknown()
func (*Check) XXX_Marshal ¶
func (*Check) XXX_Unmarshal ¶
type Coin ¶
type Coin struct { // denom defines the coin denomination. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // title defines the coin title. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // creator defines the address of the account created the coin. Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` // crr defines the coin constant reserve ratio determining coin tokenomics. CRR uint32 `protobuf:"varint,4,opt,name=crr,proto3" json:"crr,omitempty"` // limit_volume defines maximum allowed supply for the coin. LimitVolume cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=limit_volume,json=limitVolume,proto3,customtype=cosmossdk.io/math.Int" json:"limit_volume"` // identity is a string containing any other information related to the coin. Identity string `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"` // volume defines the coin supply. // NOTE: actual values are stored as CoinVR records in KVStore. Volume cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=volume,proto3,customtype=cosmossdk.io/math.Int" json:"volume"` // reserve defines the coin reserve in base coin. // NOTE: actual values are stored as CoinVR records in KVStore. Reserve cosmossdk_io_math.Int `protobuf:"bytes,8,opt,name=reserve,proto3,customtype=cosmossdk.io/math.Int" json:"reserve"` }
Coin defines the coin.
func (*Coin) Descriptor ¶
func (*Coin) ProtoMessage ¶
func (*Coin) ProtoMessage()
func (*Coin) XXX_DiscardUnknown ¶
func (m *Coin) XXX_DiscardUnknown()
func (*Coin) XXX_Unmarshal ¶
type CoinKeeper ¶
type CoinKeeper interface { // Params GetParams(ctx sdk.Context) (params Params) SetParams(ctx sdk.Context, params Params) // Coins GetCoins(ctx sdk.Context) (coins []Coin) GetCoin(ctx sdk.Context, denom string) (coin Coin, err error) SetCoin(ctx sdk.Context, coin Coin) UpdateCoinVR(ctx sdk.Context, denom string, volume sdkmath.Int, reserve sdkmath.Int) error // Checks IsCheckRedeemed(ctx sdk.Context, check *Check) bool GetChecks(ctx sdk.Context) (checks []Check) GetCheck(ctx sdk.Context, checkHash []byte) (check Check, err error) SetCheck(ctx sdk.Context, check *Check) // Module specific IsCoinBase(ctx sdk.Context, denom string) bool GetBaseDenom(ctx sdk.Context) string CheckFutureChanges(ctx sdk.Context, coinInfo Coin, amount sdkmath.Int) error }
CoinKeeper defines the exported coin keeper.
type CoinVR ¶ added in v0.0.8
type CoinVR struct { // volume defines the coin supply. Volume cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=volume,proto3,customtype=cosmossdk.io/math.Int" json:"volume"` // reserve defines the coin reserve in base coin. Reserve cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=reserve,proto3,customtype=cosmossdk.io/math.Int" json:"reserve"` }
CoinVR defines object containing just volume and reserve of the coin.
func (*CoinVR) Descriptor ¶ added in v0.0.8
func (*CoinVR) MarshalToSizedBuffer ¶ added in v0.0.8
func (*CoinVR) ProtoMessage ¶ added in v0.0.8
func (*CoinVR) ProtoMessage()
func (*CoinVR) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *CoinVR) XXX_DiscardUnknown()
func (*CoinVR) XXX_Marshal ¶ added in v0.0.8
func (*CoinVR) XXX_Unmarshal ¶ added in v0.0.8
type ContextFeeKey ¶ added in v0.0.8
type ContextFeeKey struct{}
ContextFeeKey defines special key type used to store fee info to the context.
type EventBurnCoin ¶ added in v0.0.8
type EventBurnCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Coin string `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin,omitempty"` }
EventBurnCoin defines event emitted when a coin is burnt.
func (*EventBurnCoin) Descriptor ¶ added in v0.0.8
func (*EventBurnCoin) Descriptor() ([]byte, []int)
func (*EventBurnCoin) GetCoin ¶ added in v0.0.8
func (m *EventBurnCoin) GetCoin() string
func (*EventBurnCoin) GetSender ¶ added in v0.0.8
func (m *EventBurnCoin) GetSender() string
func (*EventBurnCoin) Marshal ¶ added in v0.0.8
func (m *EventBurnCoin) Marshal() (dAtA []byte, err error)
func (*EventBurnCoin) MarshalTo ¶ added in v0.0.8
func (m *EventBurnCoin) MarshalTo(dAtA []byte) (int, error)
func (*EventBurnCoin) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *EventBurnCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBurnCoin) ProtoMessage ¶ added in v0.0.8
func (*EventBurnCoin) ProtoMessage()
func (*EventBurnCoin) Reset ¶ added in v0.0.8
func (m *EventBurnCoin) Reset()
func (*EventBurnCoin) Size ¶ added in v0.0.8
func (m *EventBurnCoin) Size() (n int)
func (*EventBurnCoin) String ¶ added in v0.0.8
func (m *EventBurnCoin) String() string
func (*EventBurnCoin) Unmarshal ¶ added in v0.0.8
func (m *EventBurnCoin) Unmarshal(dAtA []byte) error
func (*EventBurnCoin) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *EventBurnCoin) XXX_DiscardUnknown()
func (*EventBurnCoin) XXX_Marshal ¶ added in v0.0.8
func (m *EventBurnCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBurnCoin) XXX_Merge ¶ added in v0.0.8
func (m *EventBurnCoin) XXX_Merge(src proto.Message)
func (*EventBurnCoin) XXX_Size ¶ added in v0.0.8
func (m *EventBurnCoin) XXX_Size() int
func (*EventBurnCoin) XXX_Unmarshal ¶ added in v0.0.8
func (m *EventBurnCoin) XXX_Unmarshal(b []byte) error
type EventBuySellCoin ¶ added in v0.0.8
type EventBuySellCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` CoinToBuy string `protobuf:"bytes,2,opt,name=coin_to_buy,json=coinToBuy,proto3" json:"coin_to_buy,omitempty"` CoinToSell string `protobuf:"bytes,3,opt,name=coin_to_sell,json=coinToSell,proto3" json:"coin_to_sell,omitempty"` AmountInBaseCoin string `protobuf:"bytes,4,opt,name=amount_in_base_coin,json=amountInBaseCoin,proto3" json:"amount_in_base_coin,omitempty"` }
EventBuySellCoin defines event emitted when a coin is traded.
func (*EventBuySellCoin) Descriptor ¶ added in v0.0.8
func (*EventBuySellCoin) Descriptor() ([]byte, []int)
func (*EventBuySellCoin) GetAmountInBaseCoin ¶ added in v0.0.8
func (m *EventBuySellCoin) GetAmountInBaseCoin() string
func (*EventBuySellCoin) GetCoinToBuy ¶ added in v0.0.8
func (m *EventBuySellCoin) GetCoinToBuy() string
func (*EventBuySellCoin) GetCoinToSell ¶ added in v0.0.8
func (m *EventBuySellCoin) GetCoinToSell() string
func (*EventBuySellCoin) GetSender ¶ added in v0.0.8
func (m *EventBuySellCoin) GetSender() string
func (*EventBuySellCoin) Marshal ¶ added in v0.0.8
func (m *EventBuySellCoin) Marshal() (dAtA []byte, err error)
func (*EventBuySellCoin) MarshalTo ¶ added in v0.0.8
func (m *EventBuySellCoin) MarshalTo(dAtA []byte) (int, error)
func (*EventBuySellCoin) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *EventBuySellCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBuySellCoin) ProtoMessage ¶ added in v0.0.8
func (*EventBuySellCoin) ProtoMessage()
func (*EventBuySellCoin) Reset ¶ added in v0.0.8
func (m *EventBuySellCoin) Reset()
func (*EventBuySellCoin) Size ¶ added in v0.0.8
func (m *EventBuySellCoin) Size() (n int)
func (*EventBuySellCoin) String ¶ added in v0.0.8
func (m *EventBuySellCoin) String() string
func (*EventBuySellCoin) Unmarshal ¶ added in v0.0.8
func (m *EventBuySellCoin) Unmarshal(dAtA []byte) error
func (*EventBuySellCoin) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *EventBuySellCoin) XXX_DiscardUnknown()
func (*EventBuySellCoin) XXX_Marshal ¶ added in v0.0.8
func (m *EventBuySellCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBuySellCoin) XXX_Merge ¶ added in v0.0.8
func (m *EventBuySellCoin) XXX_Merge(src proto.Message)
func (*EventBuySellCoin) XXX_Size ¶ added in v0.0.8
func (m *EventBuySellCoin) XXX_Size() int
func (*EventBuySellCoin) XXX_Unmarshal ¶ added in v0.0.8
func (m *EventBuySellCoin) XXX_Unmarshal(b []byte) error
type EventCreateCoin ¶ added in v0.0.8
type EventCreateCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` CRR uint32 `protobuf:"varint,4,opt,name=crr,proto3" json:"crr,omitempty"` InitialVolume string `protobuf:"bytes,5,opt,name=initial_volume,json=initialVolume,proto3" json:"initial_volume,omitempty"` InitialReserve string `protobuf:"bytes,6,opt,name=initial_reserve,json=initialReserve,proto3" json:"initial_reserve,omitempty"` LimitVolume string `protobuf:"bytes,7,opt,name=limit_volume,json=limitVolume,proto3" json:"limit_volume,omitempty"` Identity string `protobuf:"bytes,8,opt,name=identity,proto3" json:"identity,omitempty"` CommissionCreateCoin string `protobuf:"bytes,9,opt,name=commission_create_coin,json=commissionCreateCoin,proto3" json:"commission_create_coin,omitempty"` }
EventCreateCoin defines event emitted when new coin is created.
func (*EventCreateCoin) Descriptor ¶ added in v0.0.8
func (*EventCreateCoin) Descriptor() ([]byte, []int)
func (*EventCreateCoin) GetCRR ¶ added in v0.0.8
func (m *EventCreateCoin) GetCRR() uint32
func (*EventCreateCoin) GetCommissionCreateCoin ¶ added in v0.0.8
func (m *EventCreateCoin) GetCommissionCreateCoin() string
func (*EventCreateCoin) GetDenom ¶ added in v0.0.8
func (m *EventCreateCoin) GetDenom() string
func (*EventCreateCoin) GetIdentity ¶ added in v0.0.8
func (m *EventCreateCoin) GetIdentity() string
func (*EventCreateCoin) GetInitialReserve ¶ added in v0.0.8
func (m *EventCreateCoin) GetInitialReserve() string
func (*EventCreateCoin) GetInitialVolume ¶ added in v0.0.8
func (m *EventCreateCoin) GetInitialVolume() string
func (*EventCreateCoin) GetLimitVolume ¶ added in v0.0.8
func (m *EventCreateCoin) GetLimitVolume() string
func (*EventCreateCoin) GetSender ¶ added in v0.0.8
func (m *EventCreateCoin) GetSender() string
func (*EventCreateCoin) GetTitle ¶ added in v0.0.8
func (m *EventCreateCoin) GetTitle() string
func (*EventCreateCoin) Marshal ¶ added in v0.0.8
func (m *EventCreateCoin) Marshal() (dAtA []byte, err error)
func (*EventCreateCoin) MarshalTo ¶ added in v0.0.8
func (m *EventCreateCoin) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateCoin) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *EventCreateCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateCoin) ProtoMessage ¶ added in v0.0.8
func (*EventCreateCoin) ProtoMessage()
func (*EventCreateCoin) Reset ¶ added in v0.0.8
func (m *EventCreateCoin) Reset()
func (*EventCreateCoin) Size ¶ added in v0.0.8
func (m *EventCreateCoin) Size() (n int)
func (*EventCreateCoin) String ¶ added in v0.0.8
func (m *EventCreateCoin) String() string
func (*EventCreateCoin) Unmarshal ¶ added in v0.0.8
func (m *EventCreateCoin) Unmarshal(dAtA []byte) error
func (*EventCreateCoin) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *EventCreateCoin) XXX_DiscardUnknown()
func (*EventCreateCoin) XXX_Marshal ¶ added in v0.0.8
func (m *EventCreateCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateCoin) XXX_Merge ¶ added in v0.0.8
func (m *EventCreateCoin) XXX_Merge(src proto.Message)
func (*EventCreateCoin) XXX_Size ¶ added in v0.0.8
func (m *EventCreateCoin) XXX_Size() int
func (*EventCreateCoin) XXX_Unmarshal ¶ added in v0.0.8
func (m *EventCreateCoin) XXX_Unmarshal(b []byte) error
type EventRedeemCheck ¶ added in v0.0.8
type EventRedeemCheck struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` Coin string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"` Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` DueBlock string `protobuf:"bytes,5,opt,name=due_block,json=dueBlock,proto3" json:"due_block,omitempty"` CommissionRedeemCheck string `` /* 126-byte string literal not displayed */ }
EventRedeemCheck defines event emitted when a check is redeemed.
func (*EventRedeemCheck) Descriptor ¶ added in v0.0.8
func (*EventRedeemCheck) Descriptor() ([]byte, []int)
func (*EventRedeemCheck) GetCoin ¶ added in v0.0.8
func (m *EventRedeemCheck) GetCoin() string
func (*EventRedeemCheck) GetCommissionRedeemCheck ¶ added in v0.0.8
func (m *EventRedeemCheck) GetCommissionRedeemCheck() string
func (*EventRedeemCheck) GetDueBlock ¶ added in v0.0.8
func (m *EventRedeemCheck) GetDueBlock() string
func (*EventRedeemCheck) GetIssuer ¶ added in v0.0.8
func (m *EventRedeemCheck) GetIssuer() string
func (*EventRedeemCheck) GetNonce ¶ added in v0.0.8
func (m *EventRedeemCheck) GetNonce() string
func (*EventRedeemCheck) GetSender ¶ added in v0.0.8
func (m *EventRedeemCheck) GetSender() string
func (*EventRedeemCheck) Marshal ¶ added in v0.0.8
func (m *EventRedeemCheck) Marshal() (dAtA []byte, err error)
func (*EventRedeemCheck) MarshalTo ¶ added in v0.0.8
func (m *EventRedeemCheck) MarshalTo(dAtA []byte) (int, error)
func (*EventRedeemCheck) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *EventRedeemCheck) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRedeemCheck) ProtoMessage ¶ added in v0.0.8
func (*EventRedeemCheck) ProtoMessage()
func (*EventRedeemCheck) Reset ¶ added in v0.0.8
func (m *EventRedeemCheck) Reset()
func (*EventRedeemCheck) Size ¶ added in v0.0.8
func (m *EventRedeemCheck) Size() (n int)
func (*EventRedeemCheck) String ¶ added in v0.0.8
func (m *EventRedeemCheck) String() string
func (*EventRedeemCheck) Unmarshal ¶ added in v0.0.8
func (m *EventRedeemCheck) Unmarshal(dAtA []byte) error
func (*EventRedeemCheck) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *EventRedeemCheck) XXX_DiscardUnknown()
func (*EventRedeemCheck) XXX_Marshal ¶ added in v0.0.8
func (m *EventRedeemCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRedeemCheck) XXX_Merge ¶ added in v0.0.8
func (m *EventRedeemCheck) XXX_Merge(src proto.Message)
func (*EventRedeemCheck) XXX_Size ¶ added in v0.0.8
func (m *EventRedeemCheck) XXX_Size() int
func (*EventRedeemCheck) XXX_Unmarshal ¶ added in v0.0.8
func (m *EventRedeemCheck) XXX_Unmarshal(b []byte) error
type EventSendCoin ¶ added in v0.0.8
type EventSendCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Coin string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"` }
EventSendCoin defines event emitted when a coin is transferred.
func (*EventSendCoin) Descriptor ¶ added in v0.0.8
func (*EventSendCoin) Descriptor() ([]byte, []int)
func (*EventSendCoin) GetCoin ¶ added in v0.0.8
func (m *EventSendCoin) GetCoin() string
func (*EventSendCoin) GetRecipient ¶ added in v0.0.8
func (m *EventSendCoin) GetRecipient() string
func (*EventSendCoin) GetSender ¶ added in v0.0.8
func (m *EventSendCoin) GetSender() string
func (*EventSendCoin) Marshal ¶ added in v0.0.8
func (m *EventSendCoin) Marshal() (dAtA []byte, err error)
func (*EventSendCoin) MarshalTo ¶ added in v0.0.8
func (m *EventSendCoin) MarshalTo(dAtA []byte) (int, error)
func (*EventSendCoin) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *EventSendCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSendCoin) ProtoMessage ¶ added in v0.0.8
func (*EventSendCoin) ProtoMessage()
func (*EventSendCoin) Reset ¶ added in v0.0.8
func (m *EventSendCoin) Reset()
func (*EventSendCoin) Size ¶ added in v0.0.8
func (m *EventSendCoin) Size() (n int)
func (*EventSendCoin) String ¶ added in v0.0.8
func (m *EventSendCoin) String() string
func (*EventSendCoin) Unmarshal ¶ added in v0.0.8
func (m *EventSendCoin) Unmarshal(dAtA []byte) error
func (*EventSendCoin) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *EventSendCoin) XXX_DiscardUnknown()
func (*EventSendCoin) XXX_Marshal ¶ added in v0.0.8
func (m *EventSendCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSendCoin) XXX_Merge ¶ added in v0.0.8
func (m *EventSendCoin) XXX_Merge(src proto.Message)
func (*EventSendCoin) XXX_Size ¶ added in v0.0.8
func (m *EventSendCoin) XXX_Size() int
func (*EventSendCoin) XXX_Unmarshal ¶ added in v0.0.8
func (m *EventSendCoin) XXX_Unmarshal(b []byte) error
type EventUpdateCoin ¶ added in v0.0.8
type EventUpdateCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` LimitVolume string `protobuf:"bytes,3,opt,name=limit_volume,json=limitVolume,proto3" json:"limit_volume,omitempty"` Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` }
EventUpdateCoin defines event emitted when existing coin is updated.
func (*EventUpdateCoin) Descriptor ¶ added in v0.0.8
func (*EventUpdateCoin) Descriptor() ([]byte, []int)
func (*EventUpdateCoin) GetDenom ¶ added in v0.0.8
func (m *EventUpdateCoin) GetDenom() string
func (*EventUpdateCoin) GetIdentity ¶ added in v0.0.8
func (m *EventUpdateCoin) GetIdentity() string
func (*EventUpdateCoin) GetLimitVolume ¶ added in v0.0.8
func (m *EventUpdateCoin) GetLimitVolume() string
func (*EventUpdateCoin) GetSender ¶ added in v0.0.8
func (m *EventUpdateCoin) GetSender() string
func (*EventUpdateCoin) Marshal ¶ added in v0.0.8
func (m *EventUpdateCoin) Marshal() (dAtA []byte, err error)
func (*EventUpdateCoin) MarshalTo ¶ added in v0.0.8
func (m *EventUpdateCoin) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateCoin) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *EventUpdateCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateCoin) ProtoMessage ¶ added in v0.0.8
func (*EventUpdateCoin) ProtoMessage()
func (*EventUpdateCoin) Reset ¶ added in v0.0.8
func (m *EventUpdateCoin) Reset()
func (*EventUpdateCoin) Size ¶ added in v0.0.8
func (m *EventUpdateCoin) Size() (n int)
func (*EventUpdateCoin) String ¶ added in v0.0.8
func (m *EventUpdateCoin) String() string
func (*EventUpdateCoin) Unmarshal ¶ added in v0.0.8
func (m *EventUpdateCoin) Unmarshal(dAtA []byte) error
func (*EventUpdateCoin) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *EventUpdateCoin) XXX_DiscardUnknown()
func (*EventUpdateCoin) XXX_Marshal ¶ added in v0.0.8
func (m *EventUpdateCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateCoin) XXX_Merge ¶ added in v0.0.8
func (m *EventUpdateCoin) XXX_Merge(src proto.Message)
func (*EventUpdateCoin) XXX_Size ¶ added in v0.0.8
func (m *EventUpdateCoin) XXX_Size() int
func (*EventUpdateCoin) XXX_Unmarshal ¶ added in v0.0.8
func (m *EventUpdateCoin) XXX_Unmarshal(b []byte) error
type EventUpdateCoinVR ¶ added in v0.0.8
type EventUpdateCoinVR struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Volume string `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"` Reserve string `protobuf:"bytes,3,opt,name=reserve,proto3" json:"reserve,omitempty"` }
EventUpdateCoinVR defines event emitted when volume or reserve of existing coin is updated.
func (*EventUpdateCoinVR) Descriptor ¶ added in v0.0.8
func (*EventUpdateCoinVR) Descriptor() ([]byte, []int)
func (*EventUpdateCoinVR) GetDenom ¶ added in v0.0.8
func (m *EventUpdateCoinVR) GetDenom() string
func (*EventUpdateCoinVR) GetReserve ¶ added in v0.0.8
func (m *EventUpdateCoinVR) GetReserve() string
func (*EventUpdateCoinVR) GetVolume ¶ added in v0.0.8
func (m *EventUpdateCoinVR) GetVolume() string
func (*EventUpdateCoinVR) Marshal ¶ added in v0.0.8
func (m *EventUpdateCoinVR) Marshal() (dAtA []byte, err error)
func (*EventUpdateCoinVR) MarshalTo ¶ added in v0.0.8
func (m *EventUpdateCoinVR) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateCoinVR) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *EventUpdateCoinVR) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateCoinVR) ProtoMessage ¶ added in v0.0.8
func (*EventUpdateCoinVR) ProtoMessage()
func (*EventUpdateCoinVR) Reset ¶ added in v0.0.8
func (m *EventUpdateCoinVR) Reset()
func (*EventUpdateCoinVR) Size ¶ added in v0.0.8
func (m *EventUpdateCoinVR) Size() (n int)
func (*EventUpdateCoinVR) String ¶ added in v0.0.8
func (m *EventUpdateCoinVR) String() string
func (*EventUpdateCoinVR) Unmarshal ¶ added in v0.0.8
func (m *EventUpdateCoinVR) Unmarshal(dAtA []byte) error
func (*EventUpdateCoinVR) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *EventUpdateCoinVR) XXX_DiscardUnknown()
func (*EventUpdateCoinVR) XXX_Marshal ¶ added in v0.0.8
func (m *EventUpdateCoinVR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateCoinVR) XXX_Merge ¶ added in v0.0.8
func (m *EventUpdateCoinVR) XXX_Merge(src proto.Message)
func (*EventUpdateCoinVR) XXX_Size ¶ added in v0.0.8
func (m *EventUpdateCoinVR) XXX_Size() int
func (*EventUpdateCoinVR) XXX_Unmarshal ¶ added in v0.0.8
func (m *EventUpdateCoinVR) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // coins defines all existing coins. Coins []Coin `protobuf:"bytes,1,rep,name=coins,proto3" json:"coins"` // checks defines all redeemed checks. Checks []Check `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks"` // params defines all the module's parameters. Params Params `protobuf:"bytes,3,opt,name=params,proto3" json:"params"` }
GenesisState defines the module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a default genesis state.
func NewGenesisState ¶
func NewGenesisState(params Params, coins []Coin, checks []Check) *GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetChecks ¶
func (m *GenesisState) GetChecks() []Check
func (*GenesisState) GetCoins ¶
func (m *GenesisState) GetCoins() []Coin
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 Hash ¶
type Hash [HashLength]byte
Hash represents the 32 byte Keccak256 hash of arbitrary data.
type MsgBurnCoin ¶ added in v0.0.8
type MsgBurnCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Coin types.Coin `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin"` }
MsgBurnCoin defines a SDK message for burning a coin.
func NewMsgBurnCoin ¶ added in v0.0.8
func NewMsgBurnCoin( sender sdk.AccAddress, coin sdk.Coin, ) *MsgBurnCoin
NewMsgSendCoin creates a new instance of MsgSendCoin.
func (*MsgBurnCoin) Descriptor ¶ added in v0.0.8
func (*MsgBurnCoin) Descriptor() ([]byte, []int)
func (*MsgBurnCoin) GetSignBytes ¶ added in v0.0.8
func (msg *MsgBurnCoin) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (*MsgBurnCoin) GetSigners ¶ added in v0.0.8
func (msg *MsgBurnCoin) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgBurnCoin) Marshal ¶ added in v0.0.8
func (m *MsgBurnCoin) Marshal() (dAtA []byte, err error)
func (*MsgBurnCoin) MarshalTo ¶ added in v0.0.8
func (m *MsgBurnCoin) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnCoin) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *MsgBurnCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnCoin) ProtoMessage ¶ added in v0.0.8
func (*MsgBurnCoin) ProtoMessage()
func (*MsgBurnCoin) Reset ¶ added in v0.0.8
func (m *MsgBurnCoin) Reset()
func (*MsgBurnCoin) Route ¶ added in v0.0.8
func (msg *MsgBurnCoin) Route() string
Route should return the name of the module.
func (*MsgBurnCoin) Size ¶ added in v0.0.8
func (m *MsgBurnCoin) Size() (n int)
func (*MsgBurnCoin) String ¶ added in v0.0.8
func (m *MsgBurnCoin) String() string
func (*MsgBurnCoin) Type ¶ added in v0.0.8
func (msg *MsgBurnCoin) Type() string
Type should return the action.
func (*MsgBurnCoin) Unmarshal ¶ added in v0.0.8
func (m *MsgBurnCoin) Unmarshal(dAtA []byte) error
func (*MsgBurnCoin) ValidateBasic ¶ added in v0.0.8
func (msg *MsgBurnCoin) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgBurnCoin) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *MsgBurnCoin) XXX_DiscardUnknown()
func (*MsgBurnCoin) XXX_Marshal ¶ added in v0.0.8
func (m *MsgBurnCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnCoin) XXX_Merge ¶ added in v0.0.8
func (m *MsgBurnCoin) XXX_Merge(src proto.Message)
func (*MsgBurnCoin) XXX_Size ¶ added in v0.0.8
func (m *MsgBurnCoin) XXX_Size() int
func (*MsgBurnCoin) XXX_Unmarshal ¶ added in v0.0.8
func (m *MsgBurnCoin) XXX_Unmarshal(b []byte) error
type MsgBurnCoinResponse ¶ added in v0.0.8
type MsgBurnCoinResponse struct { }
MsgBurnCoinResponse defines the Msg/BurnCoin response type.
func (*MsgBurnCoinResponse) Descriptor ¶ added in v0.0.8
func (*MsgBurnCoinResponse) Descriptor() ([]byte, []int)
func (*MsgBurnCoinResponse) Marshal ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnCoinResponse) MarshalTo ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnCoinResponse) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnCoinResponse) ProtoMessage ¶ added in v0.0.8
func (*MsgBurnCoinResponse) ProtoMessage()
func (*MsgBurnCoinResponse) Reset ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) Reset()
func (*MsgBurnCoinResponse) Size ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) Size() (n int)
func (*MsgBurnCoinResponse) String ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) String() string
func (*MsgBurnCoinResponse) Unmarshal ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnCoinResponse) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) XXX_DiscardUnknown()
func (*MsgBurnCoinResponse) XXX_Marshal ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnCoinResponse) XXX_Merge ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) XXX_Merge(src proto.Message)
func (*MsgBurnCoinResponse) XXX_Size ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) XXX_Size() int
func (*MsgBurnCoinResponse) XXX_Unmarshal ¶ added in v0.0.8
func (m *MsgBurnCoinResponse) XXX_Unmarshal(b []byte) error
type MsgBuyCoin ¶
type MsgBuyCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` CoinToBuy types.Coin `protobuf:"bytes,2,opt,name=coin_to_buy,json=coinToBuy,proto3" json:"coin_to_buy"` MaxCoinToSell types.Coin `protobuf:"bytes,3,opt,name=max_coin_to_sell,json=maxCoinToSell,proto3" json:"max_coin_to_sell"` }
MsgBuyCoin defines a SDK message for buying a coin.
func NewMsgBuyCoin ¶
func NewMsgBuyCoin( sender sdk.AccAddress, coinToBuy sdk.Coin, maxCoinToSell sdk.Coin, ) *MsgBuyCoin
NewMsgBuyCoin creates a new instance of MsgBuyCoin.
func (*MsgBuyCoin) Descriptor ¶
func (*MsgBuyCoin) Descriptor() ([]byte, []int)
func (*MsgBuyCoin) GetSignBytes ¶
func (msg *MsgBuyCoin) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (*MsgBuyCoin) GetSigners ¶
func (msg *MsgBuyCoin) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgBuyCoin) Marshal ¶
func (m *MsgBuyCoin) Marshal() (dAtA []byte, err error)
func (*MsgBuyCoin) MarshalToSizedBuffer ¶
func (m *MsgBuyCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBuyCoin) ProtoMessage ¶
func (*MsgBuyCoin) ProtoMessage()
func (*MsgBuyCoin) Reset ¶
func (m *MsgBuyCoin) Reset()
func (*MsgBuyCoin) Route ¶
func (msg *MsgBuyCoin) Route() string
Route should return the name of the module.
func (*MsgBuyCoin) Size ¶
func (m *MsgBuyCoin) Size() (n int)
func (*MsgBuyCoin) String ¶
func (m *MsgBuyCoin) String() string
func (*MsgBuyCoin) Unmarshal ¶
func (m *MsgBuyCoin) Unmarshal(dAtA []byte) error
func (*MsgBuyCoin) ValidateBasic ¶
func (msg *MsgBuyCoin) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgBuyCoin) XXX_DiscardUnknown ¶
func (m *MsgBuyCoin) XXX_DiscardUnknown()
func (*MsgBuyCoin) XXX_Marshal ¶
func (m *MsgBuyCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBuyCoin) XXX_Merge ¶
func (m *MsgBuyCoin) XXX_Merge(src proto.Message)
func (*MsgBuyCoin) XXX_Size ¶
func (m *MsgBuyCoin) XXX_Size() int
func (*MsgBuyCoin) XXX_Unmarshal ¶
func (m *MsgBuyCoin) XXX_Unmarshal(b []byte) error
type MsgBuyCoinResponse ¶
type MsgBuyCoinResponse struct { }
MsgBuyCoinResponse defines the Msg/BuyCoin response type.
func (*MsgBuyCoinResponse) Descriptor ¶
func (*MsgBuyCoinResponse) Descriptor() ([]byte, []int)
func (*MsgBuyCoinResponse) Marshal ¶
func (m *MsgBuyCoinResponse) Marshal() (dAtA []byte, err error)
func (*MsgBuyCoinResponse) MarshalTo ¶
func (m *MsgBuyCoinResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBuyCoinResponse) MarshalToSizedBuffer ¶
func (m *MsgBuyCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBuyCoinResponse) ProtoMessage ¶
func (*MsgBuyCoinResponse) ProtoMessage()
func (*MsgBuyCoinResponse) Reset ¶
func (m *MsgBuyCoinResponse) Reset()
func (*MsgBuyCoinResponse) Size ¶
func (m *MsgBuyCoinResponse) Size() (n int)
func (*MsgBuyCoinResponse) String ¶
func (m *MsgBuyCoinResponse) String() string
func (*MsgBuyCoinResponse) Unmarshal ¶
func (m *MsgBuyCoinResponse) Unmarshal(dAtA []byte) error
func (*MsgBuyCoinResponse) XXX_DiscardUnknown ¶
func (m *MsgBuyCoinResponse) XXX_DiscardUnknown()
func (*MsgBuyCoinResponse) XXX_Marshal ¶
func (m *MsgBuyCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBuyCoinResponse) XXX_Merge ¶
func (m *MsgBuyCoinResponse) XXX_Merge(src proto.Message)
func (*MsgBuyCoinResponse) XXX_Size ¶
func (m *MsgBuyCoinResponse) XXX_Size() int
func (*MsgBuyCoinResponse) XXX_Unmarshal ¶
func (m *MsgBuyCoinResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // CreateCoin defines message for creating a new coin. CreateCoin(ctx context.Context, in *MsgCreateCoin, opts ...grpc.CallOption) (*MsgCreateCoinResponse, error) // UpdateCoin defines message for modifying existing coin. UpdateCoin(ctx context.Context, in *MsgUpdateCoin, opts ...grpc.CallOption) (*MsgUpdateCoinResponse, error) // SendCoin defines message for transferring a coin. SendCoin(ctx context.Context, in *MsgSendCoin, opts ...grpc.CallOption) (*MsgSendCoinResponse, error) // MultiSendCoin defines message for multiple transferring coins as a batch. MultiSendCoin(ctx context.Context, in *MsgMultiSendCoin, opts ...grpc.CallOption) (*MsgMultiSendCoinResponse, error) // BuyCoin defines message for buying a coin. BuyCoin(ctx context.Context, in *MsgBuyCoin, opts ...grpc.CallOption) (*MsgBuyCoinResponse, error) // SellCoin defines message for selling a coin. SellCoin(ctx context.Context, in *MsgSellCoin, opts ...grpc.CallOption) (*MsgSellCoinResponse, error) // SellAllCoin defines message for selling a coin completely (to sell all having amount of a coin). SellAllCoin(ctx context.Context, in *MsgSellAllCoin, opts ...grpc.CallOption) (*MsgSellAllCoinResponse, error) // BurnCoin defines message for burning a coin. BurnCoin(ctx context.Context, in *MsgBurnCoin, opts ...grpc.CallOption) (*MsgBurnCoinResponse, error) // RedeemCheck defines message for redeeming checks. RedeemCheck(ctx context.Context, in *MsgRedeemCheck, opts ...grpc.CallOption) (*MsgRedeemCheckResponse, 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 MsgCreateCoin ¶
type MsgCreateCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` CRR uint32 `protobuf:"varint,4,opt,name=crr,proto3" json:"crr,omitempty"` InitialVolume cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=initial_volume,json=initialVolume,proto3,customtype=cosmossdk.io/math.Int" json:"initial_volume"` InitialReserve cosmossdk_io_math.Int `` /* 126-byte string literal not displayed */ LimitVolume cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=limit_volume,json=limitVolume,proto3,customtype=cosmossdk.io/math.Int" json:"limit_volume"` Identity string `protobuf:"bytes,8,opt,name=identity,proto3" json:"identity,omitempty"` }
MsgCreateCoin defines a SDK message for creating a new coin.
func NewMsgCreateCoin ¶
func NewMsgCreateCoin( sender sdk.AccAddress, denom string, title string, crr uint64, initVolume sdkmath.Int, initReserve sdkmath.Int, limitVolume sdkmath.Int, identity string, ) *MsgCreateCoin
NewMsgCreateCoin creates a new instance of MsgCreateCoin.
func (*MsgCreateCoin) Descriptor ¶
func (*MsgCreateCoin) Descriptor() ([]byte, []int)
func (*MsgCreateCoin) GetCRR ¶ added in v0.0.8
func (m *MsgCreateCoin) GetCRR() uint32
func (*MsgCreateCoin) GetDenom ¶ added in v0.0.8
func (m *MsgCreateCoin) GetDenom() string
func (*MsgCreateCoin) GetIdentity ¶ added in v0.0.8
func (m *MsgCreateCoin) GetIdentity() string
func (*MsgCreateCoin) GetSender ¶ added in v0.0.8
func (m *MsgCreateCoin) GetSender() string
func (*MsgCreateCoin) GetSignBytes ¶
func (msg *MsgCreateCoin) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (*MsgCreateCoin) GetSigners ¶
func (msg *MsgCreateCoin) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgCreateCoin) GetTitle ¶ added in v0.0.8
func (m *MsgCreateCoin) GetTitle() string
func (*MsgCreateCoin) Marshal ¶
func (m *MsgCreateCoin) Marshal() (dAtA []byte, err error)
func (*MsgCreateCoin) MarshalToSizedBuffer ¶
func (m *MsgCreateCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateCoin) ProtoMessage ¶
func (*MsgCreateCoin) ProtoMessage()
func (*MsgCreateCoin) Reset ¶
func (m *MsgCreateCoin) Reset()
func (*MsgCreateCoin) Route ¶
func (msg *MsgCreateCoin) Route() string
Route should return the name of the module.
func (*MsgCreateCoin) Size ¶
func (m *MsgCreateCoin) Size() (n int)
func (*MsgCreateCoin) String ¶
func (m *MsgCreateCoin) String() string
func (*MsgCreateCoin) Unmarshal ¶
func (m *MsgCreateCoin) Unmarshal(dAtA []byte) error
func (*MsgCreateCoin) ValidateBasic ¶
func (msg *MsgCreateCoin) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgCreateCoin) XXX_DiscardUnknown ¶
func (m *MsgCreateCoin) XXX_DiscardUnknown()
func (*MsgCreateCoin) XXX_Marshal ¶
func (m *MsgCreateCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateCoin) XXX_Merge ¶
func (m *MsgCreateCoin) XXX_Merge(src proto.Message)
func (*MsgCreateCoin) XXX_Size ¶
func (m *MsgCreateCoin) XXX_Size() int
func (*MsgCreateCoin) XXX_Unmarshal ¶
func (m *MsgCreateCoin) XXX_Unmarshal(b []byte) error
type MsgCreateCoinResponse ¶
type MsgCreateCoinResponse struct { }
MsgCreateCoinResponse defines the Msg/CreateCoin response type.
func (*MsgCreateCoinResponse) Descriptor ¶
func (*MsgCreateCoinResponse) Descriptor() ([]byte, []int)
func (*MsgCreateCoinResponse) Marshal ¶
func (m *MsgCreateCoinResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateCoinResponse) MarshalTo ¶
func (m *MsgCreateCoinResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateCoinResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateCoinResponse) ProtoMessage ¶
func (*MsgCreateCoinResponse) ProtoMessage()
func (*MsgCreateCoinResponse) Reset ¶
func (m *MsgCreateCoinResponse) Reset()
func (*MsgCreateCoinResponse) Size ¶
func (m *MsgCreateCoinResponse) Size() (n int)
func (*MsgCreateCoinResponse) String ¶
func (m *MsgCreateCoinResponse) String() string
func (*MsgCreateCoinResponse) Unmarshal ¶
func (m *MsgCreateCoinResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateCoinResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateCoinResponse) XXX_DiscardUnknown()
func (*MsgCreateCoinResponse) XXX_Marshal ¶
func (m *MsgCreateCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateCoinResponse) XXX_Merge ¶
func (m *MsgCreateCoinResponse) XXX_Merge(src proto.Message)
func (*MsgCreateCoinResponse) XXX_Size ¶
func (m *MsgCreateCoinResponse) XXX_Size() int
func (*MsgCreateCoinResponse) XXX_Unmarshal ¶
func (m *MsgCreateCoinResponse) XXX_Unmarshal(b []byte) error
type MsgMultiSendCoin ¶
type MsgMultiSendCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Sends []MultiSendEntry `protobuf:"bytes,2,rep,name=sends,proto3" json:"sends"` }
MsgMultiSendCoin defines a SDK message for multiple transferring coins as a batch.
func NewMsgMultiSendCoin ¶
func NewMsgMultiSendCoin( sender sdk.AccAddress, sends []MultiSendEntry, ) *MsgMultiSendCoin
NewMsgMultiSendCoin creates a new instance of MsgMultiSendCoin.
func (*MsgMultiSendCoin) Descriptor ¶
func (*MsgMultiSendCoin) Descriptor() ([]byte, []int)
func (*MsgMultiSendCoin) GetSignBytes ¶
func (msg *MsgMultiSendCoin) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (*MsgMultiSendCoin) GetSigners ¶
func (msg *MsgMultiSendCoin) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgMultiSendCoin) Marshal ¶
func (m *MsgMultiSendCoin) Marshal() (dAtA []byte, err error)
func (*MsgMultiSendCoin) MarshalToSizedBuffer ¶
func (m *MsgMultiSendCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiSendCoin) ProtoMessage ¶
func (*MsgMultiSendCoin) ProtoMessage()
func (*MsgMultiSendCoin) Reset ¶
func (m *MsgMultiSendCoin) Reset()
func (*MsgMultiSendCoin) Route ¶
func (msg *MsgMultiSendCoin) Route() string
Route should return the name of the module.
func (*MsgMultiSendCoin) Size ¶
func (m *MsgMultiSendCoin) Size() (n int)
func (*MsgMultiSendCoin) String ¶
func (m *MsgMultiSendCoin) String() string
func (*MsgMultiSendCoin) Type ¶
func (msg *MsgMultiSendCoin) Type() string
Type should return the action.
func (*MsgMultiSendCoin) Unmarshal ¶
func (m *MsgMultiSendCoin) Unmarshal(dAtA []byte) error
func (*MsgMultiSendCoin) ValidateBasic ¶
func (msg *MsgMultiSendCoin) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgMultiSendCoin) XXX_DiscardUnknown ¶
func (m *MsgMultiSendCoin) XXX_DiscardUnknown()
func (*MsgMultiSendCoin) XXX_Marshal ¶
func (m *MsgMultiSendCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiSendCoin) XXX_Merge ¶
func (m *MsgMultiSendCoin) XXX_Merge(src proto.Message)
func (*MsgMultiSendCoin) XXX_Size ¶
func (m *MsgMultiSendCoin) XXX_Size() int
func (*MsgMultiSendCoin) XXX_Unmarshal ¶
func (m *MsgMultiSendCoin) XXX_Unmarshal(b []byte) error
type MsgMultiSendCoinResponse ¶
type MsgMultiSendCoinResponse struct { }
MsgMultiSendCoinResponse defines the Msg/MultiSendCoin response type.
func (*MsgMultiSendCoinResponse) Descriptor ¶
func (*MsgMultiSendCoinResponse) Descriptor() ([]byte, []int)
func (*MsgMultiSendCoinResponse) Marshal ¶
func (m *MsgMultiSendCoinResponse) Marshal() (dAtA []byte, err error)
func (*MsgMultiSendCoinResponse) MarshalTo ¶
func (m *MsgMultiSendCoinResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMultiSendCoinResponse) MarshalToSizedBuffer ¶
func (m *MsgMultiSendCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiSendCoinResponse) ProtoMessage ¶
func (*MsgMultiSendCoinResponse) ProtoMessage()
func (*MsgMultiSendCoinResponse) Reset ¶
func (m *MsgMultiSendCoinResponse) Reset()
func (*MsgMultiSendCoinResponse) Size ¶
func (m *MsgMultiSendCoinResponse) Size() (n int)
func (*MsgMultiSendCoinResponse) String ¶
func (m *MsgMultiSendCoinResponse) String() string
func (*MsgMultiSendCoinResponse) Unmarshal ¶
func (m *MsgMultiSendCoinResponse) Unmarshal(dAtA []byte) error
func (*MsgMultiSendCoinResponse) XXX_DiscardUnknown ¶
func (m *MsgMultiSendCoinResponse) XXX_DiscardUnknown()
func (*MsgMultiSendCoinResponse) XXX_Marshal ¶
func (m *MsgMultiSendCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiSendCoinResponse) XXX_Merge ¶
func (m *MsgMultiSendCoinResponse) XXX_Merge(src proto.Message)
func (*MsgMultiSendCoinResponse) XXX_Size ¶
func (m *MsgMultiSendCoinResponse) XXX_Size() int
func (*MsgMultiSendCoinResponse) XXX_Unmarshal ¶
func (m *MsgMultiSendCoinResponse) XXX_Unmarshal(b []byte) error
type MsgRedeemCheck ¶
type MsgRedeemCheck struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Check string `protobuf:"bytes,2,opt,name=check,proto3" json:"check,omitempty"` Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` }
MsgRedeemCheck defines a SDK message for redeeming a check.
func NewMsgRedeemCheck ¶
func NewMsgRedeemCheck( sender sdk.AccAddress, check string, proof string, ) *MsgRedeemCheck
NewMsgRedeemCheck creates a new instance of MsgRedeemCheck.
func (*MsgRedeemCheck) Descriptor ¶
func (*MsgRedeemCheck) Descriptor() ([]byte, []int)
func (*MsgRedeemCheck) GetSignBytes ¶
func (msg *MsgRedeemCheck) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (*MsgRedeemCheck) GetSigners ¶
func (msg *MsgRedeemCheck) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgRedeemCheck) Marshal ¶
func (m *MsgRedeemCheck) Marshal() (dAtA []byte, err error)
func (*MsgRedeemCheck) MarshalToSizedBuffer ¶
func (m *MsgRedeemCheck) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRedeemCheck) ProtoMessage ¶
func (*MsgRedeemCheck) ProtoMessage()
func (*MsgRedeemCheck) Reset ¶
func (m *MsgRedeemCheck) Reset()
func (*MsgRedeemCheck) Route ¶
func (msg *MsgRedeemCheck) Route() string
Route should return the name of the module.
func (*MsgRedeemCheck) Size ¶
func (m *MsgRedeemCheck) Size() (n int)
func (*MsgRedeemCheck) String ¶
func (m *MsgRedeemCheck) String() string
func (*MsgRedeemCheck) Type ¶
func (msg *MsgRedeemCheck) Type() string
Type should return the action.
func (*MsgRedeemCheck) Unmarshal ¶
func (m *MsgRedeemCheck) Unmarshal(dAtA []byte) error
func (*MsgRedeemCheck) ValidateBasic ¶
func (msg *MsgRedeemCheck) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgRedeemCheck) XXX_DiscardUnknown ¶
func (m *MsgRedeemCheck) XXX_DiscardUnknown()
func (*MsgRedeemCheck) XXX_Marshal ¶
func (m *MsgRedeemCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRedeemCheck) XXX_Merge ¶
func (m *MsgRedeemCheck) XXX_Merge(src proto.Message)
func (*MsgRedeemCheck) XXX_Size ¶
func (m *MsgRedeemCheck) XXX_Size() int
func (*MsgRedeemCheck) XXX_Unmarshal ¶
func (m *MsgRedeemCheck) XXX_Unmarshal(b []byte) error
type MsgRedeemCheckResponse ¶
type MsgRedeemCheckResponse struct { }
MsgRedeemCheckResponse defines the Msg/RedeemCheck response type.
func (*MsgRedeemCheckResponse) Descriptor ¶
func (*MsgRedeemCheckResponse) Descriptor() ([]byte, []int)
func (*MsgRedeemCheckResponse) Marshal ¶
func (m *MsgRedeemCheckResponse) Marshal() (dAtA []byte, err error)
func (*MsgRedeemCheckResponse) MarshalTo ¶
func (m *MsgRedeemCheckResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRedeemCheckResponse) MarshalToSizedBuffer ¶
func (m *MsgRedeemCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRedeemCheckResponse) ProtoMessage ¶
func (*MsgRedeemCheckResponse) ProtoMessage()
func (*MsgRedeemCheckResponse) Reset ¶
func (m *MsgRedeemCheckResponse) Reset()
func (*MsgRedeemCheckResponse) Size ¶
func (m *MsgRedeemCheckResponse) Size() (n int)
func (*MsgRedeemCheckResponse) String ¶
func (m *MsgRedeemCheckResponse) String() string
func (*MsgRedeemCheckResponse) Unmarshal ¶
func (m *MsgRedeemCheckResponse) Unmarshal(dAtA []byte) error
func (*MsgRedeemCheckResponse) XXX_DiscardUnknown ¶
func (m *MsgRedeemCheckResponse) XXX_DiscardUnknown()
func (*MsgRedeemCheckResponse) XXX_Marshal ¶
func (m *MsgRedeemCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRedeemCheckResponse) XXX_Merge ¶
func (m *MsgRedeemCheckResponse) XXX_Merge(src proto.Message)
func (*MsgRedeemCheckResponse) XXX_Size ¶
func (m *MsgRedeemCheckResponse) XXX_Size() int
func (*MsgRedeemCheckResponse) XXX_Unmarshal ¶
func (m *MsgRedeemCheckResponse) XXX_Unmarshal(b []byte) error
type MsgSellAllCoin ¶
type MsgSellAllCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` CoinDenomToSell string `protobuf:"bytes,2,opt,name=coin_denom_to_sell,json=coinDenomToSell,proto3" json:"coin_denom_to_sell,omitempty"` MinCoinToBuy types.Coin `protobuf:"bytes,3,opt,name=min_coin_to_buy,json=minCoinToBuy,proto3" json:"min_coin_to_buy"` }
MsgSellAllCoin defines a SDK message for selling a coin completely (to sell all having amount of a coin)
func NewMsgSellAllCoin ¶
func NewMsgSellAllCoin( sender sdk.AccAddress, coinDenomToSell string, minCoinToBuy sdk.Coin, ) *MsgSellAllCoin
NewMsgSellAllCoin creates a new instance of MsgSellAllCoin.
func (*MsgSellAllCoin) Descriptor ¶
func (*MsgSellAllCoin) Descriptor() ([]byte, []int)
func (*MsgSellAllCoin) GetSignBytes ¶
func (msg *MsgSellAllCoin) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (*MsgSellAllCoin) GetSigners ¶
func (msg *MsgSellAllCoin) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgSellAllCoin) Marshal ¶
func (m *MsgSellAllCoin) Marshal() (dAtA []byte, err error)
func (*MsgSellAllCoin) MarshalToSizedBuffer ¶
func (m *MsgSellAllCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSellAllCoin) ProtoMessage ¶
func (*MsgSellAllCoin) ProtoMessage()
func (*MsgSellAllCoin) Reset ¶
func (m *MsgSellAllCoin) Reset()
func (*MsgSellAllCoin) Route ¶
func (msg *MsgSellAllCoin) Route() string
Route should return the name of the module.
func (*MsgSellAllCoin) Size ¶
func (m *MsgSellAllCoin) Size() (n int)
func (*MsgSellAllCoin) String ¶
func (m *MsgSellAllCoin) String() string
func (*MsgSellAllCoin) Type ¶
func (msg *MsgSellAllCoin) Type() string
Type should return the action.
func (*MsgSellAllCoin) Unmarshal ¶
func (m *MsgSellAllCoin) Unmarshal(dAtA []byte) error
func (*MsgSellAllCoin) ValidateBasic ¶
func (msg *MsgSellAllCoin) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgSellAllCoin) XXX_DiscardUnknown ¶
func (m *MsgSellAllCoin) XXX_DiscardUnknown()
func (*MsgSellAllCoin) XXX_Marshal ¶
func (m *MsgSellAllCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSellAllCoin) XXX_Merge ¶
func (m *MsgSellAllCoin) XXX_Merge(src proto.Message)
func (*MsgSellAllCoin) XXX_Size ¶
func (m *MsgSellAllCoin) XXX_Size() int
func (*MsgSellAllCoin) XXX_Unmarshal ¶
func (m *MsgSellAllCoin) XXX_Unmarshal(b []byte) error
type MsgSellAllCoinResponse ¶
type MsgSellAllCoinResponse struct { }
MsgSellAllCoinResponse defines the Msg/SellAllCoin response type.
func (*MsgSellAllCoinResponse) Descriptor ¶
func (*MsgSellAllCoinResponse) Descriptor() ([]byte, []int)
func (*MsgSellAllCoinResponse) Marshal ¶
func (m *MsgSellAllCoinResponse) Marshal() (dAtA []byte, err error)
func (*MsgSellAllCoinResponse) MarshalTo ¶
func (m *MsgSellAllCoinResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSellAllCoinResponse) MarshalToSizedBuffer ¶
func (m *MsgSellAllCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSellAllCoinResponse) ProtoMessage ¶
func (*MsgSellAllCoinResponse) ProtoMessage()
func (*MsgSellAllCoinResponse) Reset ¶
func (m *MsgSellAllCoinResponse) Reset()
func (*MsgSellAllCoinResponse) Size ¶
func (m *MsgSellAllCoinResponse) Size() (n int)
func (*MsgSellAllCoinResponse) String ¶
func (m *MsgSellAllCoinResponse) String() string
func (*MsgSellAllCoinResponse) Unmarshal ¶
func (m *MsgSellAllCoinResponse) Unmarshal(dAtA []byte) error
func (*MsgSellAllCoinResponse) XXX_DiscardUnknown ¶
func (m *MsgSellAllCoinResponse) XXX_DiscardUnknown()
func (*MsgSellAllCoinResponse) XXX_Marshal ¶
func (m *MsgSellAllCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSellAllCoinResponse) XXX_Merge ¶
func (m *MsgSellAllCoinResponse) XXX_Merge(src proto.Message)
func (*MsgSellAllCoinResponse) XXX_Size ¶
func (m *MsgSellAllCoinResponse) XXX_Size() int
func (*MsgSellAllCoinResponse) XXX_Unmarshal ¶
func (m *MsgSellAllCoinResponse) XXX_Unmarshal(b []byte) error
type MsgSellCoin ¶
type MsgSellCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` CoinToSell types.Coin `protobuf:"bytes,2,opt,name=coin_to_sell,json=coinToSell,proto3" json:"coin_to_sell"` MinCoinToBuy types.Coin `protobuf:"bytes,3,opt,name=min_coin_to_buy,json=minCoinToBuy,proto3" json:"min_coin_to_buy"` }
MsgSellCoin defines a SDK message for selling a coin.
func NewMsgSellCoin ¶
func NewMsgSellCoin( sender sdk.AccAddress, coinToSell sdk.Coin, minCoinToBuy sdk.Coin, ) *MsgSellCoin
NewMsgSellCoin creates a new instance of MsgSellCoin.
func (*MsgSellCoin) Descriptor ¶
func (*MsgSellCoin) Descriptor() ([]byte, []int)
func (*MsgSellCoin) GetSignBytes ¶
func (msg *MsgSellCoin) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (*MsgSellCoin) GetSigners ¶
func (msg *MsgSellCoin) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgSellCoin) Marshal ¶
func (m *MsgSellCoin) Marshal() (dAtA []byte, err error)
func (*MsgSellCoin) MarshalToSizedBuffer ¶
func (m *MsgSellCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSellCoin) ProtoMessage ¶
func (*MsgSellCoin) ProtoMessage()
func (*MsgSellCoin) Reset ¶
func (m *MsgSellCoin) Reset()
func (*MsgSellCoin) Route ¶
func (msg *MsgSellCoin) Route() string
Route should return the name of the module.
func (*MsgSellCoin) Size ¶
func (m *MsgSellCoin) Size() (n int)
func (*MsgSellCoin) String ¶
func (m *MsgSellCoin) String() string
func (*MsgSellCoin) Unmarshal ¶
func (m *MsgSellCoin) Unmarshal(dAtA []byte) error
func (*MsgSellCoin) ValidateBasic ¶
func (msg *MsgSellCoin) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgSellCoin) XXX_DiscardUnknown ¶
func (m *MsgSellCoin) XXX_DiscardUnknown()
func (*MsgSellCoin) XXX_Marshal ¶
func (m *MsgSellCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSellCoin) XXX_Merge ¶
func (m *MsgSellCoin) XXX_Merge(src proto.Message)
func (*MsgSellCoin) XXX_Size ¶
func (m *MsgSellCoin) XXX_Size() int
func (*MsgSellCoin) XXX_Unmarshal ¶
func (m *MsgSellCoin) XXX_Unmarshal(b []byte) error
type MsgSellCoinResponse ¶
type MsgSellCoinResponse struct { }
MsgSellCoinResponse defines the Msg/SellCoin response type.
func (*MsgSellCoinResponse) Descriptor ¶
func (*MsgSellCoinResponse) Descriptor() ([]byte, []int)
func (*MsgSellCoinResponse) Marshal ¶
func (m *MsgSellCoinResponse) Marshal() (dAtA []byte, err error)
func (*MsgSellCoinResponse) MarshalTo ¶
func (m *MsgSellCoinResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSellCoinResponse) MarshalToSizedBuffer ¶
func (m *MsgSellCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSellCoinResponse) ProtoMessage ¶
func (*MsgSellCoinResponse) ProtoMessage()
func (*MsgSellCoinResponse) Reset ¶
func (m *MsgSellCoinResponse) Reset()
func (*MsgSellCoinResponse) Size ¶
func (m *MsgSellCoinResponse) Size() (n int)
func (*MsgSellCoinResponse) String ¶
func (m *MsgSellCoinResponse) String() string
func (*MsgSellCoinResponse) Unmarshal ¶
func (m *MsgSellCoinResponse) Unmarshal(dAtA []byte) error
func (*MsgSellCoinResponse) XXX_DiscardUnknown ¶
func (m *MsgSellCoinResponse) XXX_DiscardUnknown()
func (*MsgSellCoinResponse) XXX_Marshal ¶
func (m *MsgSellCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSellCoinResponse) XXX_Merge ¶
func (m *MsgSellCoinResponse) XXX_Merge(src proto.Message)
func (*MsgSellCoinResponse) XXX_Size ¶
func (m *MsgSellCoinResponse) XXX_Size() int
func (*MsgSellCoinResponse) XXX_Unmarshal ¶
func (m *MsgSellCoinResponse) XXX_Unmarshal(b []byte) error
type MsgSendCoin ¶
type MsgSendCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Coin types.Coin `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin"` }
MsgSendCoin defines a SDK message for transferring a coin.
func NewMsgSendCoin ¶
func NewMsgSendCoin( sender sdk.AccAddress, recipient sdk.AccAddress, coin sdk.Coin, ) *MsgSendCoin
NewMsgSendCoin creates a new instance of MsgSendCoin.
func (*MsgSendCoin) Descriptor ¶
func (*MsgSendCoin) Descriptor() ([]byte, []int)
func (*MsgSendCoin) GetSignBytes ¶
func (msg *MsgSendCoin) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (*MsgSendCoin) GetSigners ¶
func (msg *MsgSendCoin) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgSendCoin) Marshal ¶
func (m *MsgSendCoin) Marshal() (dAtA []byte, err error)
func (*MsgSendCoin) MarshalToSizedBuffer ¶
func (m *MsgSendCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendCoin) ProtoMessage ¶
func (*MsgSendCoin) ProtoMessage()
func (*MsgSendCoin) Reset ¶
func (m *MsgSendCoin) Reset()
func (*MsgSendCoin) Route ¶
func (msg *MsgSendCoin) Route() string
Route should return the name of the module.
func (*MsgSendCoin) Size ¶
func (m *MsgSendCoin) Size() (n int)
func (*MsgSendCoin) String ¶
func (m *MsgSendCoin) String() string
func (*MsgSendCoin) Unmarshal ¶
func (m *MsgSendCoin) Unmarshal(dAtA []byte) error
func (*MsgSendCoin) ValidateBasic ¶
func (msg *MsgSendCoin) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgSendCoin) XXX_DiscardUnknown ¶
func (m *MsgSendCoin) XXX_DiscardUnknown()
func (*MsgSendCoin) XXX_Marshal ¶
func (m *MsgSendCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendCoin) XXX_Merge ¶
func (m *MsgSendCoin) XXX_Merge(src proto.Message)
func (*MsgSendCoin) XXX_Size ¶
func (m *MsgSendCoin) XXX_Size() int
func (*MsgSendCoin) XXX_Unmarshal ¶
func (m *MsgSendCoin) XXX_Unmarshal(b []byte) error
type MsgSendCoinResponse ¶
type MsgSendCoinResponse struct { }
MsgSendCoinResponse defines the Msg/SendCoin response type.
func (*MsgSendCoinResponse) Descriptor ¶
func (*MsgSendCoinResponse) Descriptor() ([]byte, []int)
func (*MsgSendCoinResponse) Marshal ¶
func (m *MsgSendCoinResponse) Marshal() (dAtA []byte, err error)
func (*MsgSendCoinResponse) MarshalTo ¶
func (m *MsgSendCoinResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSendCoinResponse) MarshalToSizedBuffer ¶
func (m *MsgSendCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendCoinResponse) ProtoMessage ¶
func (*MsgSendCoinResponse) ProtoMessage()
func (*MsgSendCoinResponse) Reset ¶
func (m *MsgSendCoinResponse) Reset()
func (*MsgSendCoinResponse) Size ¶
func (m *MsgSendCoinResponse) Size() (n int)
func (*MsgSendCoinResponse) String ¶
func (m *MsgSendCoinResponse) String() string
func (*MsgSendCoinResponse) Unmarshal ¶
func (m *MsgSendCoinResponse) Unmarshal(dAtA []byte) error
func (*MsgSendCoinResponse) XXX_DiscardUnknown ¶
func (m *MsgSendCoinResponse) XXX_DiscardUnknown()
func (*MsgSendCoinResponse) XXX_Marshal ¶
func (m *MsgSendCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendCoinResponse) XXX_Merge ¶
func (m *MsgSendCoinResponse) XXX_Merge(src proto.Message)
func (*MsgSendCoinResponse) XXX_Size ¶
func (m *MsgSendCoinResponse) XXX_Size() int
func (*MsgSendCoinResponse) XXX_Unmarshal ¶
func (m *MsgSendCoinResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateCoin defines message for creating a new coin. CreateCoin(context.Context, *MsgCreateCoin) (*MsgCreateCoinResponse, error) // UpdateCoin defines message for modifying existing coin. UpdateCoin(context.Context, *MsgUpdateCoin) (*MsgUpdateCoinResponse, error) // SendCoin defines message for transferring a coin. SendCoin(context.Context, *MsgSendCoin) (*MsgSendCoinResponse, error) // MultiSendCoin defines message for multiple transferring coins as a batch. MultiSendCoin(context.Context, *MsgMultiSendCoin) (*MsgMultiSendCoinResponse, error) // BuyCoin defines message for buying a coin. BuyCoin(context.Context, *MsgBuyCoin) (*MsgBuyCoinResponse, error) // SellCoin defines message for selling a coin. SellCoin(context.Context, *MsgSellCoin) (*MsgSellCoinResponse, error) // SellAllCoin defines message for selling a coin completely (to sell all having amount of a coin). SellAllCoin(context.Context, *MsgSellAllCoin) (*MsgSellAllCoinResponse, error) // BurnCoin defines message for burning a coin. BurnCoin(context.Context, *MsgBurnCoin) (*MsgBurnCoinResponse, error) // RedeemCheck defines message for redeeming checks. RedeemCheck(context.Context, *MsgRedeemCheck) (*MsgRedeemCheckResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateCoin ¶
type MsgUpdateCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` LimitVolume cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=limit_volume,json=limitVolume,proto3,customtype=cosmossdk.io/math.Int" json:"limit_volume"` Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` }
MsgUpdateCoin defines a SDK message for modifying existing coin.
func NewMsgUpdateCoin ¶
func NewMsgUpdateCoin( sender sdk.AccAddress, denom string, limitVolume sdkmath.Int, identity string, ) *MsgUpdateCoin
NewMsgUpdateCoin creates a new instance of MsgUpdateCoin.
func (*MsgUpdateCoin) Descriptor ¶
func (*MsgUpdateCoin) Descriptor() ([]byte, []int)
func (*MsgUpdateCoin) GetSignBytes ¶
func (msg *MsgUpdateCoin) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (*MsgUpdateCoin) GetSigners ¶
func (msg *MsgUpdateCoin) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgUpdateCoin) Marshal ¶
func (m *MsgUpdateCoin) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCoin) MarshalToSizedBuffer ¶
func (m *MsgUpdateCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCoin) ProtoMessage ¶
func (*MsgUpdateCoin) ProtoMessage()
func (*MsgUpdateCoin) Reset ¶
func (m *MsgUpdateCoin) Reset()
func (*MsgUpdateCoin) Route ¶
func (msg *MsgUpdateCoin) Route() string
Route should return the name of the module.
func (*MsgUpdateCoin) Size ¶
func (m *MsgUpdateCoin) Size() (n int)
func (*MsgUpdateCoin) String ¶
func (m *MsgUpdateCoin) String() string
func (*MsgUpdateCoin) Unmarshal ¶
func (m *MsgUpdateCoin) Unmarshal(dAtA []byte) error
func (*MsgUpdateCoin) ValidateBasic ¶
func (msg *MsgUpdateCoin) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgUpdateCoin) XXX_DiscardUnknown ¶
func (m *MsgUpdateCoin) XXX_DiscardUnknown()
func (*MsgUpdateCoin) XXX_Marshal ¶
func (m *MsgUpdateCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCoin) XXX_Merge ¶
func (m *MsgUpdateCoin) XXX_Merge(src proto.Message)
func (*MsgUpdateCoin) XXX_Size ¶
func (m *MsgUpdateCoin) XXX_Size() int
func (*MsgUpdateCoin) XXX_Unmarshal ¶
func (m *MsgUpdateCoin) XXX_Unmarshal(b []byte) error
type MsgUpdateCoinResponse ¶
type MsgUpdateCoinResponse struct { }
MsgUpdateCoinResponse defines the Msg/UpdateCoin response type.
func (*MsgUpdateCoinResponse) Descriptor ¶
func (*MsgUpdateCoinResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateCoinResponse) Marshal ¶
func (m *MsgUpdateCoinResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateCoinResponse) MarshalTo ¶
func (m *MsgUpdateCoinResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateCoinResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateCoinResponse) ProtoMessage ¶
func (*MsgUpdateCoinResponse) ProtoMessage()
func (*MsgUpdateCoinResponse) Reset ¶
func (m *MsgUpdateCoinResponse) Reset()
func (*MsgUpdateCoinResponse) Size ¶
func (m *MsgUpdateCoinResponse) Size() (n int)
func (*MsgUpdateCoinResponse) String ¶
func (m *MsgUpdateCoinResponse) String() string
func (*MsgUpdateCoinResponse) Unmarshal ¶
func (m *MsgUpdateCoinResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateCoinResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateCoinResponse) XXX_DiscardUnknown()
func (*MsgUpdateCoinResponse) XXX_Marshal ¶
func (m *MsgUpdateCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateCoinResponse) XXX_Merge ¶
func (m *MsgUpdateCoinResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateCoinResponse) XXX_Size ¶
func (m *MsgUpdateCoinResponse) XXX_Size() int
func (*MsgUpdateCoinResponse) XXX_Unmarshal ¶
func (m *MsgUpdateCoinResponse) XXX_Unmarshal(b []byte) error
type MultiSendEntry ¶ added in v0.0.8
type MultiSendEntry struct { Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` Coin types.Coin `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin"` }
MultiSendEntry defines a single entry of MsgMultiSendCoin message.
func (*MultiSendEntry) Descriptor ¶ added in v0.0.8
func (*MultiSendEntry) Descriptor() ([]byte, []int)
func (*MultiSendEntry) Marshal ¶ added in v0.0.8
func (m *MultiSendEntry) Marshal() (dAtA []byte, err error)
func (*MultiSendEntry) MarshalTo ¶ added in v0.0.8
func (m *MultiSendEntry) MarshalTo(dAtA []byte) (int, error)
func (*MultiSendEntry) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *MultiSendEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiSendEntry) ProtoMessage ¶ added in v0.0.8
func (*MultiSendEntry) ProtoMessage()
func (*MultiSendEntry) Reset ¶ added in v0.0.8
func (m *MultiSendEntry) Reset()
func (*MultiSendEntry) Size ¶ added in v0.0.8
func (m *MultiSendEntry) Size() (n int)
func (*MultiSendEntry) String ¶ added in v0.0.8
func (m *MultiSendEntry) String() string
func (*MultiSendEntry) Unmarshal ¶ added in v0.0.8
func (m *MultiSendEntry) Unmarshal(dAtA []byte) error
func (*MultiSendEntry) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *MultiSendEntry) XXX_DiscardUnknown()
func (*MultiSendEntry) XXX_Marshal ¶ added in v0.0.8
func (m *MultiSendEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiSendEntry) XXX_Merge ¶ added in v0.0.8
func (m *MultiSendEntry) XXX_Merge(src proto.Message)
func (*MultiSendEntry) XXX_Size ¶ added in v0.0.8
func (m *MultiSendEntry) XXX_Size() int
func (*MultiSendEntry) XXX_Unmarshal ¶ added in v0.0.8
func (m *MultiSendEntry) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // base_denom defines denomination of the base coin. BaseDenom string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"` // base_title defines title of the base coin. BaseTitle string `protobuf:"bytes,2,opt,name=base_title,json=baseTitle,proto3" json:"base_title,omitempty"` // base_volume defines initial volume of the base coin. BaseVolume cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=base_volume,json=baseVolume,proto3,customtype=cosmossdk.io/math.Int" json:"base_volume"` }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryCheckRequest ¶
type QueryCheckRequest struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
QueryCheckRequest is request type for the Query/Check RPC method.
func NewQueryCheckRequest ¶
func NewQueryCheckRequest(hash []byte) *QueryCheckRequest
func (*QueryCheckRequest) Descriptor ¶
func (*QueryCheckRequest) Descriptor() ([]byte, []int)
func (*QueryCheckRequest) GetHash ¶
func (m *QueryCheckRequest) GetHash() []byte
func (*QueryCheckRequest) Marshal ¶
func (m *QueryCheckRequest) Marshal() (dAtA []byte, err error)
func (*QueryCheckRequest) MarshalTo ¶
func (m *QueryCheckRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCheckRequest) MarshalToSizedBuffer ¶
func (m *QueryCheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCheckRequest) ProtoMessage ¶
func (*QueryCheckRequest) ProtoMessage()
func (*QueryCheckRequest) Reset ¶
func (m *QueryCheckRequest) Reset()
func (*QueryCheckRequest) Size ¶
func (m *QueryCheckRequest) Size() (n int)
func (*QueryCheckRequest) String ¶
func (m *QueryCheckRequest) String() string
func (*QueryCheckRequest) Unmarshal ¶
func (m *QueryCheckRequest) Unmarshal(dAtA []byte) error
func (*QueryCheckRequest) XXX_DiscardUnknown ¶
func (m *QueryCheckRequest) XXX_DiscardUnknown()
func (*QueryCheckRequest) XXX_Marshal ¶
func (m *QueryCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCheckRequest) XXX_Merge ¶
func (m *QueryCheckRequest) XXX_Merge(src proto.Message)
func (*QueryCheckRequest) XXX_Size ¶
func (m *QueryCheckRequest) XXX_Size() int
func (*QueryCheckRequest) XXX_Unmarshal ¶
func (m *QueryCheckRequest) XXX_Unmarshal(b []byte) error
type QueryCheckResponse ¶
type QueryCheckResponse struct {
Check Check `protobuf:"bytes,1,opt,name=check,proto3" json:"check"`
}
QueryCheckResponse is response type for the Query/Check RPC method.
func (*QueryCheckResponse) Descriptor ¶
func (*QueryCheckResponse) Descriptor() ([]byte, []int)
func (*QueryCheckResponse) GetCheck ¶
func (m *QueryCheckResponse) GetCheck() Check
func (*QueryCheckResponse) Marshal ¶
func (m *QueryCheckResponse) Marshal() (dAtA []byte, err error)
func (*QueryCheckResponse) MarshalTo ¶
func (m *QueryCheckResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCheckResponse) MarshalToSizedBuffer ¶
func (m *QueryCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCheckResponse) ProtoMessage ¶
func (*QueryCheckResponse) ProtoMessage()
func (*QueryCheckResponse) Reset ¶
func (m *QueryCheckResponse) Reset()
func (*QueryCheckResponse) Size ¶
func (m *QueryCheckResponse) Size() (n int)
func (*QueryCheckResponse) String ¶
func (m *QueryCheckResponse) String() string
func (*QueryCheckResponse) Unmarshal ¶
func (m *QueryCheckResponse) Unmarshal(dAtA []byte) error
func (*QueryCheckResponse) XXX_DiscardUnknown ¶
func (m *QueryCheckResponse) XXX_DiscardUnknown()
func (*QueryCheckResponse) XXX_Marshal ¶
func (m *QueryCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCheckResponse) XXX_Merge ¶
func (m *QueryCheckResponse) XXX_Merge(src proto.Message)
func (*QueryCheckResponse) XXX_Size ¶
func (m *QueryCheckResponse) XXX_Size() int
func (*QueryCheckResponse) XXX_Unmarshal ¶
func (m *QueryCheckResponse) XXX_Unmarshal(b []byte) error
type QueryChecksRequest ¶
type QueryChecksRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryChecksRequest is request type for the Query/Checks RPC method.
func NewQueryChecksRequest ¶
func NewQueryChecksRequest(pagination *query.PageRequest) *QueryChecksRequest
func (*QueryChecksRequest) Descriptor ¶
func (*QueryChecksRequest) Descriptor() ([]byte, []int)
func (*QueryChecksRequest) GetPagination ¶
func (m *QueryChecksRequest) GetPagination() *query.PageRequest
func (*QueryChecksRequest) Marshal ¶
func (m *QueryChecksRequest) Marshal() (dAtA []byte, err error)
func (*QueryChecksRequest) MarshalTo ¶
func (m *QueryChecksRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryChecksRequest) MarshalToSizedBuffer ¶
func (m *QueryChecksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryChecksRequest) ProtoMessage ¶
func (*QueryChecksRequest) ProtoMessage()
func (*QueryChecksRequest) Reset ¶
func (m *QueryChecksRequest) Reset()
func (*QueryChecksRequest) Size ¶
func (m *QueryChecksRequest) Size() (n int)
func (*QueryChecksRequest) String ¶
func (m *QueryChecksRequest) String() string
func (*QueryChecksRequest) Unmarshal ¶
func (m *QueryChecksRequest) Unmarshal(dAtA []byte) error
func (*QueryChecksRequest) XXX_DiscardUnknown ¶
func (m *QueryChecksRequest) XXX_DiscardUnknown()
func (*QueryChecksRequest) XXX_Marshal ¶
func (m *QueryChecksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryChecksRequest) XXX_Merge ¶
func (m *QueryChecksRequest) XXX_Merge(src proto.Message)
func (*QueryChecksRequest) XXX_Size ¶
func (m *QueryChecksRequest) XXX_Size() int
func (*QueryChecksRequest) XXX_Unmarshal ¶
func (m *QueryChecksRequest) XXX_Unmarshal(b []byte) error
type QueryChecksResponse ¶
type QueryChecksResponse struct { Checks []Check `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryChecksResponse is response type for the Query/Checks RPC method.
func (*QueryChecksResponse) Descriptor ¶
func (*QueryChecksResponse) Descriptor() ([]byte, []int)
func (*QueryChecksResponse) GetChecks ¶
func (m *QueryChecksResponse) GetChecks() []Check
func (*QueryChecksResponse) GetPagination ¶
func (m *QueryChecksResponse) GetPagination() *query.PageResponse
func (*QueryChecksResponse) Marshal ¶
func (m *QueryChecksResponse) Marshal() (dAtA []byte, err error)
func (*QueryChecksResponse) MarshalTo ¶
func (m *QueryChecksResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryChecksResponse) MarshalToSizedBuffer ¶
func (m *QueryChecksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryChecksResponse) ProtoMessage ¶
func (*QueryChecksResponse) ProtoMessage()
func (*QueryChecksResponse) Reset ¶
func (m *QueryChecksResponse) Reset()
func (*QueryChecksResponse) Size ¶
func (m *QueryChecksResponse) Size() (n int)
func (*QueryChecksResponse) String ¶
func (m *QueryChecksResponse) String() string
func (*QueryChecksResponse) Unmarshal ¶
func (m *QueryChecksResponse) Unmarshal(dAtA []byte) error
func (*QueryChecksResponse) XXX_DiscardUnknown ¶
func (m *QueryChecksResponse) XXX_DiscardUnknown()
func (*QueryChecksResponse) XXX_Marshal ¶
func (m *QueryChecksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryChecksResponse) XXX_Merge ¶
func (m *QueryChecksResponse) XXX_Merge(src proto.Message)
func (*QueryChecksResponse) XXX_Size ¶
func (m *QueryChecksResponse) XXX_Size() int
func (*QueryChecksResponse) XXX_Unmarshal ¶
func (m *QueryChecksResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Coins queries all existing coins. Coins(ctx context.Context, in *QueryCoinsRequest, opts ...grpc.CallOption) (*QueryCoinsResponse, error) // Coin queries existing coin by specified denom. Coin(ctx context.Context, in *QueryCoinRequest, opts ...grpc.CallOption) (*QueryCoinResponse, error) // Checks queries all redeemed checks. Checks(ctx context.Context, in *QueryChecksRequest, opts ...grpc.CallOption) (*QueryChecksResponse, error) // Check queries redeemed check by specified hash. Check(ctx context.Context, in *QueryCheckRequest, opts ...grpc.CallOption) (*QueryCheckResponse, error) // Params queries the module params. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryCoinRequest ¶
type QueryCoinRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
QueryCoinRequest is request type for the Query/Coin RPC method.
func NewQueryCoinRequest ¶
func NewQueryCoinRequest(denom string) *QueryCoinRequest
func (*QueryCoinRequest) Descriptor ¶
func (*QueryCoinRequest) Descriptor() ([]byte, []int)
func (*QueryCoinRequest) GetDenom ¶ added in v0.0.8
func (m *QueryCoinRequest) GetDenom() string
func (*QueryCoinRequest) Marshal ¶
func (m *QueryCoinRequest) Marshal() (dAtA []byte, err error)
func (*QueryCoinRequest) MarshalToSizedBuffer ¶
func (m *QueryCoinRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCoinRequest) ProtoMessage ¶
func (*QueryCoinRequest) ProtoMessage()
func (*QueryCoinRequest) Reset ¶
func (m *QueryCoinRequest) Reset()
func (*QueryCoinRequest) Size ¶
func (m *QueryCoinRequest) Size() (n int)
func (*QueryCoinRequest) String ¶
func (m *QueryCoinRequest) String() string
func (*QueryCoinRequest) Unmarshal ¶
func (m *QueryCoinRequest) Unmarshal(dAtA []byte) error
func (*QueryCoinRequest) XXX_DiscardUnknown ¶
func (m *QueryCoinRequest) XXX_DiscardUnknown()
func (*QueryCoinRequest) XXX_Marshal ¶
func (m *QueryCoinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCoinRequest) XXX_Merge ¶
func (m *QueryCoinRequest) XXX_Merge(src proto.Message)
func (*QueryCoinRequest) XXX_Size ¶
func (m *QueryCoinRequest) XXX_Size() int
func (*QueryCoinRequest) XXX_Unmarshal ¶
func (m *QueryCoinRequest) XXX_Unmarshal(b []byte) error
type QueryCoinResponse ¶
type QueryCoinResponse struct {
Coin Coin `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin"`
}
QueryCoinResponse is response type for the Query/Coin RPC method.
func (*QueryCoinResponse) Descriptor ¶
func (*QueryCoinResponse) Descriptor() ([]byte, []int)
func (*QueryCoinResponse) GetCoin ¶
func (m *QueryCoinResponse) GetCoin() Coin
func (*QueryCoinResponse) Marshal ¶
func (m *QueryCoinResponse) Marshal() (dAtA []byte, err error)
func (*QueryCoinResponse) MarshalTo ¶
func (m *QueryCoinResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCoinResponse) MarshalToSizedBuffer ¶
func (m *QueryCoinResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCoinResponse) ProtoMessage ¶
func (*QueryCoinResponse) ProtoMessage()
func (*QueryCoinResponse) Reset ¶
func (m *QueryCoinResponse) Reset()
func (*QueryCoinResponse) Size ¶
func (m *QueryCoinResponse) Size() (n int)
func (*QueryCoinResponse) String ¶
func (m *QueryCoinResponse) String() string
func (*QueryCoinResponse) Unmarshal ¶
func (m *QueryCoinResponse) Unmarshal(dAtA []byte) error
func (*QueryCoinResponse) XXX_DiscardUnknown ¶
func (m *QueryCoinResponse) XXX_DiscardUnknown()
func (*QueryCoinResponse) XXX_Marshal ¶
func (m *QueryCoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCoinResponse) XXX_Merge ¶
func (m *QueryCoinResponse) XXX_Merge(src proto.Message)
func (*QueryCoinResponse) XXX_Size ¶
func (m *QueryCoinResponse) XXX_Size() int
func (*QueryCoinResponse) XXX_Unmarshal ¶
func (m *QueryCoinResponse) XXX_Unmarshal(b []byte) error
type QueryCoinsRequest ¶
type QueryCoinsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryCoinsRequest is request type for the Query/Coins RPC method.
func NewQueryCoinsRequest ¶
func NewQueryCoinsRequest(pagination *query.PageRequest) *QueryCoinsRequest
func (*QueryCoinsRequest) Descriptor ¶
func (*QueryCoinsRequest) Descriptor() ([]byte, []int)
func (*QueryCoinsRequest) GetPagination ¶
func (m *QueryCoinsRequest) GetPagination() *query.PageRequest
func (*QueryCoinsRequest) Marshal ¶
func (m *QueryCoinsRequest) Marshal() (dAtA []byte, err error)
func (*QueryCoinsRequest) MarshalTo ¶
func (m *QueryCoinsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCoinsRequest) MarshalToSizedBuffer ¶
func (m *QueryCoinsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCoinsRequest) ProtoMessage ¶
func (*QueryCoinsRequest) ProtoMessage()
func (*QueryCoinsRequest) Reset ¶
func (m *QueryCoinsRequest) Reset()
func (*QueryCoinsRequest) Size ¶
func (m *QueryCoinsRequest) Size() (n int)
func (*QueryCoinsRequest) String ¶
func (m *QueryCoinsRequest) String() string
func (*QueryCoinsRequest) Unmarshal ¶
func (m *QueryCoinsRequest) Unmarshal(dAtA []byte) error
func (*QueryCoinsRequest) XXX_DiscardUnknown ¶
func (m *QueryCoinsRequest) XXX_DiscardUnknown()
func (*QueryCoinsRequest) XXX_Marshal ¶
func (m *QueryCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCoinsRequest) XXX_Merge ¶
func (m *QueryCoinsRequest) XXX_Merge(src proto.Message)
func (*QueryCoinsRequest) XXX_Size ¶
func (m *QueryCoinsRequest) XXX_Size() int
func (*QueryCoinsRequest) XXX_Unmarshal ¶
func (m *QueryCoinsRequest) XXX_Unmarshal(b []byte) error
type QueryCoinsResponse ¶
type QueryCoinsResponse struct { Coins []Coin `protobuf:"bytes,1,rep,name=coins,proto3" json:"coins"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryCoinsResponse is response type for the Query/Coins RPC method.
func (*QueryCoinsResponse) Descriptor ¶
func (*QueryCoinsResponse) Descriptor() ([]byte, []int)
func (*QueryCoinsResponse) GetCoins ¶
func (m *QueryCoinsResponse) GetCoins() []Coin
func (*QueryCoinsResponse) GetPagination ¶
func (m *QueryCoinsResponse) GetPagination() *query.PageResponse
func (*QueryCoinsResponse) Marshal ¶
func (m *QueryCoinsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCoinsResponse) MarshalTo ¶
func (m *QueryCoinsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCoinsResponse) MarshalToSizedBuffer ¶
func (m *QueryCoinsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCoinsResponse) ProtoMessage ¶
func (*QueryCoinsResponse) ProtoMessage()
func (*QueryCoinsResponse) Reset ¶
func (m *QueryCoinsResponse) Reset()
func (*QueryCoinsResponse) Size ¶
func (m *QueryCoinsResponse) Size() (n int)
func (*QueryCoinsResponse) String ¶
func (m *QueryCoinsResponse) String() string
func (*QueryCoinsResponse) Unmarshal ¶
func (m *QueryCoinsResponse) Unmarshal(dAtA []byte) error
func (*QueryCoinsResponse) XXX_DiscardUnknown ¶
func (m *QueryCoinsResponse) XXX_DiscardUnknown()
func (*QueryCoinsResponse) XXX_Marshal ¶
func (m *QueryCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCoinsResponse) XXX_Merge ¶
func (m *QueryCoinsResponse) XXX_Merge(src proto.Message)
func (*QueryCoinsResponse) XXX_Size ¶
func (m *QueryCoinsResponse) XXX_Size() int
func (*QueryCoinsResponse) XXX_Unmarshal ¶
func (m *QueryCoinsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func NewQueryParamsRequest ¶
func NewQueryParamsRequest() *QueryParamsRequest
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 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 { // Coins queries all existing coins. Coins(context.Context, *QueryCoinsRequest) (*QueryCoinsResponse, error) // Coin queries existing coin by specified denom. Coin(context.Context, *QueryCoinRequest) (*QueryCoinResponse, error) // Checks queries all redeemed checks. Checks(context.Context, *QueryChecksRequest) (*QueryChecksResponse, error) // Check queries redeemed check by specified hash. Check(context.Context, *QueryCheckRequest) (*QueryCheckResponse, error) // Params queries the module params. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) BurnCoin ¶ added in v0.0.8
func (*UnimplementedMsgServer) BurnCoin(ctx context.Context, req *MsgBurnCoin) (*MsgBurnCoinResponse, error)
func (*UnimplementedMsgServer) BuyCoin ¶
func (*UnimplementedMsgServer) BuyCoin(ctx context.Context, req *MsgBuyCoin) (*MsgBuyCoinResponse, error)
func (*UnimplementedMsgServer) CreateCoin ¶
func (*UnimplementedMsgServer) CreateCoin(ctx context.Context, req *MsgCreateCoin) (*MsgCreateCoinResponse, error)
func (*UnimplementedMsgServer) MultiSendCoin ¶
func (*UnimplementedMsgServer) MultiSendCoin(ctx context.Context, req *MsgMultiSendCoin) (*MsgMultiSendCoinResponse, error)
func (*UnimplementedMsgServer) RedeemCheck ¶
func (*UnimplementedMsgServer) RedeemCheck(ctx context.Context, req *MsgRedeemCheck) (*MsgRedeemCheckResponse, error)
func (*UnimplementedMsgServer) SellAllCoin ¶
func (*UnimplementedMsgServer) SellAllCoin(ctx context.Context, req *MsgSellAllCoin) (*MsgSellAllCoinResponse, error)
func (*UnimplementedMsgServer) SellCoin ¶
func (*UnimplementedMsgServer) SellCoin(ctx context.Context, req *MsgSellCoin) (*MsgSellCoinResponse, error)
func (*UnimplementedMsgServer) SendCoin ¶
func (*UnimplementedMsgServer) SendCoin(ctx context.Context, req *MsgSendCoin) (*MsgSendCoinResponse, error)
func (*UnimplementedMsgServer) UpdateCoin ¶
func (*UnimplementedMsgServer) UpdateCoin(ctx context.Context, req *MsgUpdateCoin) (*MsgUpdateCoinResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Check ¶
func (*UnimplementedQueryServer) Check(ctx context.Context, req *QueryCheckRequest) (*QueryCheckResponse, error)
func (*UnimplementedQueryServer) Checks ¶
func (*UnimplementedQueryServer) Checks(ctx context.Context, req *QueryChecksRequest) (*QueryChecksResponse, error)
func (*UnimplementedQueryServer) Coin ¶
func (*UnimplementedQueryServer) Coin(ctx context.Context, req *QueryCoinRequest) (*QueryCoinResponse, error)
func (*UnimplementedQueryServer) Coins ¶
func (*UnimplementedQueryServer) Coins(ctx context.Context, req *QueryCoinsRequest) (*QueryCoinsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)