Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ErrCalculateCommission(err string) *sdkerrors.Error
- func ErrCannnotGetAddressFromPublicKey(err string) *sdkerrors.Error
- func ErrCheckExpired(block string) *sdkerrors.Error
- func ErrCheckRedeemed() *sdkerrors.Error
- func ErrCoinAlreadyExists(coin string) *sdkerrors.Error
- func ErrCoinDoesNotExist(symbol string) *sdkerrors.Error
- func ErrForbiddenCoinSymbol(symbol string) *sdkerrors.Error
- func ErrInsufficientCoinReserve() *sdkerrors.Error
- func ErrInsufficientFunds(fundsWant string, fundsExist string) *sdkerrors.Error
- func ErrInsufficientFundsToPayCommission(commission string) *sdkerrors.Error
- func ErrInsufficientFundsToSellAll() *sdkerrors.Error
- func ErrInternal(err string) *sdkerrors.Error
- func ErrInvalidAmount() *sdkerrors.Error
- func ErrInvalidCRR(crr string) *sdkerrors.Error
- func ErrInvalidChainID(wanted string, issued string) *sdkerrors.Error
- func ErrInvalidCheck(data string) *sdkerrors.Error
- func ErrInvalidCoinInitialReserve(reserve string) *sdkerrors.Error
- func ErrInvalidCoinInitialVolume(initialVolume string) *sdkerrors.Error
- func ErrInvalidCoinSymbol(symbol string) *sdkerrors.Error
- func ErrInvalidCoinTitle(title string) *sdkerrors.Error
- func ErrInvalidNonce() *sdkerrors.Error
- func ErrInvalidPassphrase(error string) *sdkerrors.Error
- func ErrInvalidPkey() *sdkerrors.Error
- func ErrInvalidProof(error string) *sdkerrors.Error
- func ErrInvalidPublicKeyLength(publicKeyLength int) *sdkerrors.Error
- func ErrInvalidReceiverAddress(address string) *sdkerrors.Error
- func ErrInvalidSenderAddress(address string) *sdkerrors.Error
- func ErrLimitVolumeBroken(volume string, limit string) *sdkerrors.Error
- func ErrMaximumValueToSellReached(amount string, max string) *sdkerrors.Error
- func ErrMinimumValueToBuyReached(amount string, min string) *sdkerrors.Error
- func ErrNoLegacyBalance(receiver, legacyAddress string) *sdkerrors.Error
- func ErrNoMatchReceiverAndPKey(expectAddress, gotAddress string) *sdkerrors.Error
- func ErrRetrievedAnotherCoin(symbolWant string, symbolRetrieved string) *sdkerrors.Error
- func ErrSameCoin() *sdkerrors.Error
- func ErrTxBreaksMinReserveRule(minCoinReserve string, reserve string) *sdkerrors.Error
- func ErrTxBreaksMinVolumeLimit(volume string, limitVolume string) *sdkerrors.Error
- func ErrTxBreaksVolumeLimit(volume string, limitVolume string) *sdkerrors.Error
- func ErrUnableDecodeCheck(check string) *sdkerrors.Error
- func ErrUnableDecodeProof() *sdkerrors.Error
- func ErrUnableRPLEncodeCheck(error string) *sdkerrors.Error
- func ErrUnableRecoverAddress(error string) *sdkerrors.Error
- func ErrUnableRecoverLockPkey(error string) *sdkerrors.Error
- func ErrUnableRetrieveArmoredPkey(name string, error string) *sdkerrors.Error
- func ErrUnableRetrievePkey(name string, error string) *sdkerrors.Error
- func ErrUnableRetrieveSECPPkey(name string, algo string) *sdkerrors.Error
- func ErrUnableSignCheck(error string) *sdkerrors.Error
- func ErrUpdateBalance(account string, err string) *sdkerrors.Error
- func ErrUpdateOnlyForCreator() *sdkerrors.Error
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- 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 Coins
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetChecks() []Check
- func (m *GenesisState) GetCoins() []Coin
- func (m *GenesisState) GetLegacyBalances() []LegacyBalance
- 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 LegacyBalance
- func (*LegacyBalance) Descriptor() ([]byte, []int)
- func (this *LegacyBalance) Equal(that interface{}) bool
- func (m *LegacyBalance) Marshal() (dAtA []byte, err error)
- func (m *LegacyBalance) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyBalance) ProtoMessage()
- func (m *LegacyBalance) Reset()
- func (m *LegacyBalance) Size() (n int)
- func (m *LegacyBalance) String() string
- func (m *LegacyBalance) Unmarshal(dAtA []byte) error
- func (lb *LegacyBalance) Validate() error
- func (m *LegacyBalance) XXX_DiscardUnknown()
- func (m *LegacyBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyBalance) XXX_Merge(src proto.Message)
- func (m *LegacyBalance) XXX_Size() int
- func (m *LegacyBalance) 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 (msg *MsgCreateCoin) GetSignBytes() []byte
- func (msg MsgCreateCoin) GetSigners() []sdk.AccAddress
- 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 MsgReturnLegacyBalance
- func (*MsgReturnLegacyBalance) Descriptor() ([]byte, []int)
- func (msg *MsgReturnLegacyBalance) GetSignBytes() []byte
- func (msg MsgReturnLegacyBalance) GetSigners() []sdk.AccAddress
- func (m *MsgReturnLegacyBalance) Marshal() (dAtA []byte, err error)
- func (m *MsgReturnLegacyBalance) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReturnLegacyBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReturnLegacyBalance) ProtoMessage()
- func (m *MsgReturnLegacyBalance) Reset()
- func (msg MsgReturnLegacyBalance) Route() string
- func (m *MsgReturnLegacyBalance) Size() (n int)
- func (m *MsgReturnLegacyBalance) String() string
- func (msg MsgReturnLegacyBalance) Type() string
- func (m *MsgReturnLegacyBalance) Unmarshal(dAtA []byte) error
- func (msg MsgReturnLegacyBalance) ValidateBasic() error
- func (m *MsgReturnLegacyBalance) XXX_DiscardUnknown()
- func (m *MsgReturnLegacyBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReturnLegacyBalance) XXX_Merge(src proto.Message)
- func (m *MsgReturnLegacyBalance) XXX_Size() int
- func (m *MsgReturnLegacyBalance) XXX_Unmarshal(b []byte) error
- type MsgReturnLegacyBalanceResponse
- func (*MsgReturnLegacyBalanceResponse) Descriptor() ([]byte, []int)
- func (m *MsgReturnLegacyBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgReturnLegacyBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReturnLegacyBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReturnLegacyBalanceResponse) ProtoMessage()
- func (m *MsgReturnLegacyBalanceResponse) Reset()
- func (m *MsgReturnLegacyBalanceResponse) Size() (n int)
- func (m *MsgReturnLegacyBalanceResponse) String() string
- func (m *MsgReturnLegacyBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgReturnLegacyBalanceResponse) XXX_DiscardUnknown()
- func (m *MsgReturnLegacyBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReturnLegacyBalanceResponse) XXX_Merge(src proto.Message)
- func (m *MsgReturnLegacyBalanceResponse) XXX_Size() int
- func (m *MsgReturnLegacyBalanceResponse) 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 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 (p *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p *Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryCheckParams
- 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) GetSymbol() 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 Send
- func (*Send) Descriptor() ([]byte, []int)
- func (m *Send) Marshal() (dAtA []byte, err error)
- func (m *Send) MarshalTo(dAtA []byte) (int, error)
- func (m *Send) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Send) ProtoMessage()
- func (m *Send) Reset()
- func (m *Send) Size() (n int)
- func (m *Send) String() string
- func (m *Send) Unmarshal(dAtA []byte) error
- func (m *Send) XXX_DiscardUnknown()
- func (m *Send) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Send) XXX_Merge(src proto.Message)
- func (m *Send) XXX_Size() int
- func (m *Send) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- 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) ReturnLegacyBalance(ctx context.Context, req *MsgReturnLegacyBalance) (*MsgReturnLegacyBalanceResponse, 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 ( // Default codespace DefaultCodespace string = ModuleName // Create coin CodeInvalidCRR uint32 = 100 CodeCoinDoesNotExist uint32 = 101 CodeInvalidCoinSymbol uint32 = 102 CodeForbiddenCoinSymbol uint32 = 103 CodeRetrievedAnotherCoin uint32 = 104 CodeCoinAlreadyExists uint32 = 105 CodeInvalidCoinTitle uint32 = 106 CodeInvalidCoinInitialVolume uint32 = 107 CodeInvalidCoinInitialReserve uint32 = 108 CodeInternal uint32 = 109 CodeInsufficientCoinReserve uint32 = 110 CodeInsufficientCoinToPayCommission uint32 = 111 CodeInsufficientFunds uint32 = 112 CodeCalculateCommission uint32 = 113 CodeForbiddenUpdate uint32 = 114 // Buy/Sell coin CodeSameCoins uint32 = 200 CodeInsufficientFundsToSellAll uint32 = 201 CodeTxBreaksVolumeLimit uint32 = 202 CodeTxBreaksMinReserveLimit uint32 = 203 CodeMaximumValueToSellReached uint32 = 204 CodeMinimumValueToBuyReached uint32 = 205 CodeUpdateBalance uint32 = 206 CodeLimitVolumeBroken uint32 = 207 CodeTxBreaksMinVolumeLimit uint32 = 208 // Send coin CodeInvalidAmount uint32 = 300 CodeInvalidReceiverAddress uint32 = 301 CodeInvalidSenderAddress uint32 = 302 // Redeem check CodeInvalidCheck uint32 = 400 CodeInvalidProof uint32 = 401 CodeInvalidPassphrase uint32 = 402 CodeInvalidChainID uint32 = 403 CodeInvalidNonce uint32 = 404 CodeCheckExpired uint32 = 405 CodeCheckRedeemed uint32 = 406 CodeUnableDecodeCheck uint32 = 407 CodeUnableRPLEncodeCheck uint32 = 408 CodeUnableSignCheck uint32 = 409 CodeUnableDecodeProof uint32 = 410 CodeUnableRecoverAddress uint32 = 411 CodeUnableRecoverLockPkey uint32 = 412 // AccountKeys CodeInvalidPkey uint32 = 500 CodeUnableRetriveArmoredPkey uint32 = 501 CodeUnableRetrivePkey uint32 = 502 CodeUnableRetriveSECPPkey uint32 = 503 // Legacy return CodeInvalidPublicKeyLength uint32 = 600 CodeCannnotGetAddressFromPublicKey uint32 = 601 CodeNoMatchReceiverAndPKey uint32 = 602 CodeNoLegacyBalance uint32 = 603 )
const ( // Events EventTypeCreateCoin = "create_coin" EventTypeBuyCoin = "buy_coin" EventTypeSellCoin = "sell_coin" EventTypeSellAllCoin = "sell_all_coin" EventTypeSendCoin = "send_coin" EventTypeMultiSendCoin = "multi_send_coin" EventTypeRedeemCheck = "redeem_check" EventTypeUpdateCoin = "update_coin" // Create Coin AttributeTitle = "title" AttributeSymbol = "symbol" AttributeCRR = "crr" AttributeVolume = "volume" AttributeReserve = "reserve" AttributeInitVolume = "initial_volume" AttributeInitReserve = "initial_reserve" AttributeLimitVolume = "limit_volume" AttributeIdentity = "identity" AttributeCommissionCreateCoin = "commission_create_coin" AttributeCommissionRedeemCheck = "commission_redeem_check" // Buy/Sell Coin AttributeCoinToBuy = "coin_to_buy" AttributeCoinToSell = "coin_to_sell" AttributeAmountToBuy = "amount_to_buy" AttributeAmountToSell = "amount_to_sell" AttributeAmountInBaseCoin = "amount_in_base_coin" // Send/MultiSend Coin AttributeCoin = "coin" AttributeAmount = "amount" AttributeReceiver = "receiver" // Redeem Check AttributeIssuer = "issuer" AttributeNonce = "nonce" AttributeDueBlock = "due_block" // Legacy return AttributeLegacyAddress = "legacy_address" AttributeCointToReturn = "coins_to_return" // Event attributes AttributeValueCategory = ModuleName )
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" TypeMsgRedeemCheck = "redeem_check" TypeMsgReturnLegacyBalance = "return_legacy" )
const ( QueryParams = "params" // 'custom/coin/params' QueryCoin = "coin" // 'custom/coin/coin/{denom}' QueryCoins = "coins" // 'custom/coin/coins' QueryCheck = "check" // 'custom/coin/check' with req QueryChecks = "checks" // 'custom/coin/checks' )
const HashLength = 32
Variables ¶
var ( ErrInvalidLengthCheck = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCheck = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCheck = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() 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.
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 ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyPrefixCoin = []byte{prefixCoin} // 0x01 KeyPrefixCheck = []byte{prefixCheck} // 0x02 KeyPrefixLegacy = []byte{prefixLegacy} // 0x03 )
KVStore key prefixes
var ( ErrInvalidLengthLegacy = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLegacy = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLegacy = fmt.Errorf("proto: unexpected end of group") )
var ( ParamStoreKeyBaseTitle = []byte("BaseTitle") ParamStoreKeyBaseSymbol = []byte("BaseSymbol") ParamStoreKeyBaseInitialVolume = []byte("BaseInitialVolume") )
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 (
ErrInvalidSig = errors.New("invalid transaction v, r, s values")
)
var LegacyCoinPool = "legacy_coin_pool"
pool for legacy balances
var MinCoinReserve = helpers.EtherToWei(sdk.NewInt(1000))
var MinCoinSupply = sdk.NewInt(1)
Functions ¶
func ErrCalculateCommission ¶
func ErrCheckExpired ¶
func ErrCheckRedeemed ¶
func ErrCoinAlreadyExists ¶
func ErrCoinDoesNotExist ¶
func ErrForbiddenCoinSymbol ¶
func ErrInsufficientFunds ¶
func ErrInternal ¶
func ErrInvalidAmount ¶
func ErrInvalidCRR ¶
func ErrInvalidCheck ¶
func ErrInvalidCoinSymbol ¶
func ErrInvalidCoinTitle ¶
func ErrInvalidNonce ¶
func ErrInvalidPassphrase ¶
func ErrInvalidPkey ¶
func ErrInvalidProof ¶
func ErrInvalidPublicKeyLength ¶
Legacy return errors
func ErrInvalidSenderAddress ¶
func ErrNoLegacyBalance ¶
func ErrRetrievedAnotherCoin ¶
func ErrSameCoin ¶
func ErrTxBreaksVolumeLimit ¶
func ErrUnableDecodeCheck ¶
func ErrUnableDecodeProof ¶
func ErrUnableRPLEncodeCheck ¶
func ErrUnableRecoverAddress ¶
func ErrUnableSignCheck ¶
func ErrUpdateOnlyForCreator ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module.
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
RegisterCodec registers concrete implementations of specific inferfaces.
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaces registers concrete implementations of specific inferfaces.
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 defines the expected account keeper.
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 { ChainID string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id" yaml:"chain_id"` Coin string `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin" yaml:"coin"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"` Nonce []byte `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce" yaml:"nonce"` DueBlock uint64 `protobuf:"varint,5,opt,name=due_block,json=dueBlock,proto3" json:"due_block" yaml:"due_block"` Lock []byte `protobuf:"bytes,6,opt,name=lock,proto3" json:"lock" yaml:"lock"` V *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=v,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"v" yaml:"v"` R *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,8,opt,name=r,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"r" yaml:"r"` S *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,9,opt,name=s,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"s" yaml:"s"` }
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 { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title" yaml:"title"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol" yaml:"symbol"` CRR uint64 `protobuf:"varint,3,opt,name=crr,proto3" json:"constant_reserve_ratio" yaml:"constant_reserve_ratio"` Reserve github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=reserve,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"reserve" yaml:"reserve"` Volume github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=volume,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"volume" yaml:"volume"` LimitVolume github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator" yaml:"creator"` Identity string `protobuf:"bytes,8,opt,name=identity,proto3" json:"identity" yaml:"identity"` }
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 { GetCoin(ctx sdk.Context, symbol string) (coin Coin, err error) GetCoins(ctx sdk.Context) (coins []Coin) SetCoin(ctx sdk.Context, coin Coin) EditCoin(ctx sdk.Context, coin Coin, reserve sdk.Int, volume sdk.Int) IsCheckRedeemed(ctx sdk.Context, check *Check) bool GetCheck(ctx sdk.Context, checkHash []byte) (check Check, err error) GetChecks(ctx sdk.Context) (checks []Check) SetCheck(ctx sdk.Context, check *Check) GetParams(ctx sdk.Context) (params Params) SetParams(ctx sdk.Context, params Params) // need for fee deduction IsCoinBase(ctx sdk.Context, symbol string) bool GetBaseDenom(ctx sdk.Context) string CheckFutureChanges(ctx sdk.Context, coinInfo Coin, amount sdk.Int) error }
CoinKeeper defines the exported coin keeper.
type GenesisState ¶
type GenesisState struct { // module parameters Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"` // registered coins Coins []Coin `protobuf:"bytes,2,rep,name=coins,proto3" json:"coins" yaml:"coins"` // registered checks Checks []Check `protobuf:"bytes,3,rep,name=checks,proto3" json:"checks" yaml:"checks"` // legacy balances LegacyBalances []LegacyBalance `protobuf:"bytes,4,rep,name=legacyBalances,proto3" json:"legacy_balances" yaml:"legacy_balances"` }
GenesisState defines the module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState sets default evm genesis state with empty accounts and default params and chain config values.
func NewGenesisState ¶
func NewGenesisState(params Params, coins []Coin, checks []Check, legacyBalances []LegacyBalance) 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) GetLegacyBalances ¶
func (m *GenesisState) GetLegacyBalances() []LegacyBalance
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 LegacyBalance ¶
type LegacyBalance struct { LegacyAddress string `protobuf:"bytes,1,opt,name=legacyAddress,proto3" json:"legacy_address" yaml:"legacy_address"` Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins" yaml:"coins"` }
func (*LegacyBalance) Descriptor ¶
func (*LegacyBalance) Descriptor() ([]byte, []int)
func (*LegacyBalance) Equal ¶
func (this *LegacyBalance) Equal(that interface{}) bool
func (*LegacyBalance) Marshal ¶
func (m *LegacyBalance) Marshal() (dAtA []byte, err error)
func (*LegacyBalance) MarshalToSizedBuffer ¶
func (m *LegacyBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyBalance) ProtoMessage ¶
func (*LegacyBalance) ProtoMessage()
func (*LegacyBalance) Reset ¶
func (m *LegacyBalance) Reset()
func (*LegacyBalance) Size ¶
func (m *LegacyBalance) Size() (n int)
func (*LegacyBalance) String ¶
func (m *LegacyBalance) String() string
func (*LegacyBalance) Unmarshal ¶
func (m *LegacyBalance) Unmarshal(dAtA []byte) error
func (*LegacyBalance) Validate ¶
func (lb *LegacyBalance) Validate() error
func (*LegacyBalance) XXX_DiscardUnknown ¶
func (m *LegacyBalance) XXX_DiscardUnknown()
func (*LegacyBalance) XXX_Marshal ¶
func (m *LegacyBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyBalance) XXX_Merge ¶
func (m *LegacyBalance) XXX_Merge(src proto.Message)
func (*LegacyBalance) XXX_Size ¶
func (m *LegacyBalance) XXX_Size() int
func (*LegacyBalance) XXX_Unmarshal ¶
func (m *LegacyBalance) XXX_Unmarshal(b []byte) error
type MsgBuyCoin ¶
type MsgBuyCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` CoinToBuy types.Coin `protobuf:"bytes,2,opt,name=coin_to_buy,json=coinToBuy,proto3" json:"coin_to_buy" yaml:"coin_to_buy"` MaxCoinToSell types.Coin `protobuf:"bytes,3,opt,name=max_coin_to_sell,json=maxCoinToSell,proto3" json:"max_coin_to_sell" yaml:"max_coin_to_sell"` }
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 { }
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 new coin creation. 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 transfering specific coin. SendCoin(ctx context.Context, in *MsgSendCoin, opts ...grpc.CallOption) (*MsgSendCoinResponse, error) // MultiSendCoin defines message for transfering specific coins as a batch. MultiSendCoin(ctx context.Context, in *MsgMultiSendCoin, opts ...grpc.CallOption) (*MsgMultiSendCoinResponse, error) // BuyCoin defines message for buying specific coin. BuyCoin(ctx context.Context, in *MsgBuyCoin, opts ...grpc.CallOption) (*MsgBuyCoinResponse, error) // SellCoin defines message for selling specific coin. SellCoin(ctx context.Context, in *MsgSellCoin, opts ...grpc.CallOption) (*MsgSellCoinResponse, error) // SellAllCoin defines message for selling all specific coin. SellAllCoin(ctx context.Context, in *MsgSellAllCoin, opts ...grpc.CallOption) (*MsgSellAllCoinResponse, error) // RedeemCheck defines message for redeeming checks. RedeemCheck(ctx context.Context, in *MsgRedeemCheck, opts ...grpc.CallOption) (*MsgRedeemCheckResponse, error) // MsgReturnLegacyBalance defines message for legacy balance returns. ReturnLegacyBalance(ctx context.Context, in *MsgReturnLegacyBalance, opts ...grpc.CallOption) (*MsgReturnLegacyBalanceResponse, 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" yaml:"sender"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title" yaml:"title"` Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol" yaml:"symbol"` CRR uint64 `protobuf:"varint,4,opt,name=crr,proto3" json:"constant_reserve_ratio" yaml:"constant_reserve_ratio"` InitialVolume github_com_cosmos_cosmos_sdk_types.Int `` /* 162-byte string literal not displayed */ InitialReserve github_com_cosmos_cosmos_sdk_types.Int `` /* 166-byte string literal not displayed */ LimitVolume github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ Identity string `protobuf:"bytes,8,opt,name=identity,proto3" json:"identity" yaml:"identity"` }
func NewMsgCreateCoin ¶
func NewMsgCreateCoin( sender sdk.AccAddress, title string, symbol string, crr uint64, initVolume sdk.Int, initReserve sdk.Int, limitVolume sdk.Int, identity string, ) *MsgCreateCoin
NewMsgCreateCoin creates a new instance of MsgCreateCoin.
func (*MsgCreateCoin) Descriptor ¶
func (*MsgCreateCoin) Descriptor() ([]byte, []int)
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) 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 { }
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" yaml:"sender"` Sends []Send `protobuf:"bytes,2,rep,name=sends,proto3" json:"sends" yaml:"sends"` }
func NewMsgMultiSendCoin ¶
func NewMsgMultiSendCoin( sender sdk.AccAddress, sends []Send, ) *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 { }
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" yaml:"sender"` Check string `protobuf:"bytes,2,opt,name=check,proto3" json:"check" yaml:"check"` Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof" yaml:"proof"` }
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) 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 { }
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 MsgReturnLegacyBalance ¶
type MsgReturnLegacyBalance struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver" yaml:"receiver"` PublicKeyBytes []byte `protobuf:"bytes,3,opt,name=publicKeyBytes,proto3" json:"public_key_bytes" yaml:"public_key_bytes"` }
func NewMsgReturnLegacyBalance ¶
func NewMsgReturnLegacyBalance( sender sdk.AccAddress, receiver sdk.AccAddress, publicKeyBytes []byte, ) *MsgReturnLegacyBalance
NewMsgReturnLegacyBalance creates a new instance of MsgReturnLegacyBalance.
func (*MsgReturnLegacyBalance) Descriptor ¶
func (*MsgReturnLegacyBalance) Descriptor() ([]byte, []int)
func (*MsgReturnLegacyBalance) GetSignBytes ¶
func (msg *MsgReturnLegacyBalance) GetSignBytes() []byte
GetSignBytes encodes the message for signing.
func (MsgReturnLegacyBalance) GetSigners ¶
func (msg MsgReturnLegacyBalance) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (*MsgReturnLegacyBalance) Marshal ¶
func (m *MsgReturnLegacyBalance) Marshal() (dAtA []byte, err error)
func (*MsgReturnLegacyBalance) MarshalTo ¶
func (m *MsgReturnLegacyBalance) MarshalTo(dAtA []byte) (int, error)
func (*MsgReturnLegacyBalance) MarshalToSizedBuffer ¶
func (m *MsgReturnLegacyBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReturnLegacyBalance) ProtoMessage ¶
func (*MsgReturnLegacyBalance) ProtoMessage()
func (*MsgReturnLegacyBalance) Reset ¶
func (m *MsgReturnLegacyBalance) Reset()
func (MsgReturnLegacyBalance) Route ¶
func (msg MsgReturnLegacyBalance) Route() string
Route should return the name of the module.
func (*MsgReturnLegacyBalance) Size ¶
func (m *MsgReturnLegacyBalance) Size() (n int)
func (*MsgReturnLegacyBalance) String ¶
func (m *MsgReturnLegacyBalance) String() string
func (MsgReturnLegacyBalance) Type ¶
func (msg MsgReturnLegacyBalance) Type() string
Type should return the action.
func (*MsgReturnLegacyBalance) Unmarshal ¶
func (m *MsgReturnLegacyBalance) Unmarshal(dAtA []byte) error
func (MsgReturnLegacyBalance) ValidateBasic ¶
func (msg MsgReturnLegacyBalance) ValidateBasic() error
ValidateBasic runs stateless checks on the message.
func (*MsgReturnLegacyBalance) XXX_DiscardUnknown ¶
func (m *MsgReturnLegacyBalance) XXX_DiscardUnknown()
func (*MsgReturnLegacyBalance) XXX_Marshal ¶
func (m *MsgReturnLegacyBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReturnLegacyBalance) XXX_Merge ¶
func (m *MsgReturnLegacyBalance) XXX_Merge(src proto.Message)
func (*MsgReturnLegacyBalance) XXX_Size ¶
func (m *MsgReturnLegacyBalance) XXX_Size() int
func (*MsgReturnLegacyBalance) XXX_Unmarshal ¶
func (m *MsgReturnLegacyBalance) XXX_Unmarshal(b []byte) error
type MsgReturnLegacyBalanceResponse ¶
type MsgReturnLegacyBalanceResponse struct { }
func (*MsgReturnLegacyBalanceResponse) Descriptor ¶
func (*MsgReturnLegacyBalanceResponse) Descriptor() ([]byte, []int)
func (*MsgReturnLegacyBalanceResponse) Marshal ¶
func (m *MsgReturnLegacyBalanceResponse) Marshal() (dAtA []byte, err error)
func (*MsgReturnLegacyBalanceResponse) MarshalTo ¶
func (m *MsgReturnLegacyBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgReturnLegacyBalanceResponse) MarshalToSizedBuffer ¶
func (m *MsgReturnLegacyBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReturnLegacyBalanceResponse) ProtoMessage ¶
func (*MsgReturnLegacyBalanceResponse) ProtoMessage()
func (*MsgReturnLegacyBalanceResponse) Reset ¶
func (m *MsgReturnLegacyBalanceResponse) Reset()
func (*MsgReturnLegacyBalanceResponse) Size ¶
func (m *MsgReturnLegacyBalanceResponse) Size() (n int)
func (*MsgReturnLegacyBalanceResponse) String ¶
func (m *MsgReturnLegacyBalanceResponse) String() string
func (*MsgReturnLegacyBalanceResponse) Unmarshal ¶
func (m *MsgReturnLegacyBalanceResponse) Unmarshal(dAtA []byte) error
func (*MsgReturnLegacyBalanceResponse) XXX_DiscardUnknown ¶
func (m *MsgReturnLegacyBalanceResponse) XXX_DiscardUnknown()
func (*MsgReturnLegacyBalanceResponse) XXX_Marshal ¶
func (m *MsgReturnLegacyBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReturnLegacyBalanceResponse) XXX_Merge ¶
func (m *MsgReturnLegacyBalanceResponse) XXX_Merge(src proto.Message)
func (*MsgReturnLegacyBalanceResponse) XXX_Size ¶
func (m *MsgReturnLegacyBalanceResponse) XXX_Size() int
func (*MsgReturnLegacyBalanceResponse) XXX_Unmarshal ¶
func (m *MsgReturnLegacyBalanceResponse) XXX_Unmarshal(b []byte) error
type MsgSellAllCoin ¶
type MsgSellAllCoin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender" yaml:"sender"` CoinToSell types.Coin `protobuf:"bytes,2,opt,name=coin_to_sell,json=coinToSell,proto3" json:"coin_to_sell" yaml:"coin_to_sell"` MinCoinToBuy types.Coin `protobuf:"bytes,3,opt,name=min_coin_to_buy,json=minCoinToBuy,proto3" json:"min_coin_to_buy" yaml:"min_coin_to_buy"` }
func NewMsgSellAllCoin ¶
func NewMsgSellAllCoin( sender sdk.AccAddress, coinToSell sdk.Coin, 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) 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 { }
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" yaml:"sender"` CoinToSell types.Coin `protobuf:"bytes,2,opt,name=coin_to_sell,json=coinToSell,proto3" json:"coin_to_sell" yaml:"coin_to_sell"` MinCoinToBuy types.Coin `protobuf:"bytes,3,opt,name=min_coin_to_buy,json=minCoinToBuy,proto3" json:"min_coin_to_buy" yaml:"min_coin_to_buy"` }
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 { }
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" yaml:"sender"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver" yaml:"receiver"` Coin types.Coin `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin" yaml:"coin"` }
func NewMsgSendCoin ¶
func NewMsgSendCoin( sender sdk.AccAddress, coin sdk.Coin, receiver sdk.AccAddress, ) *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 { }
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 new coin creation. CreateCoin(context.Context, *MsgCreateCoin) (*MsgCreateCoinResponse, error) // UpdateCoin defines message for modifying existing coin. UpdateCoin(context.Context, *MsgUpdateCoin) (*MsgUpdateCoinResponse, error) // SendCoin defines message for transfering specific coin. SendCoin(context.Context, *MsgSendCoin) (*MsgSendCoinResponse, error) // MultiSendCoin defines message for transfering specific coins as a batch. MultiSendCoin(context.Context, *MsgMultiSendCoin) (*MsgMultiSendCoinResponse, error) // BuyCoin defines message for buying specific coin. BuyCoin(context.Context, *MsgBuyCoin) (*MsgBuyCoinResponse, error) // SellCoin defines message for selling specific coin. SellCoin(context.Context, *MsgSellCoin) (*MsgSellCoinResponse, error) // SellAllCoin defines message for selling all specific coin. SellAllCoin(context.Context, *MsgSellAllCoin) (*MsgSellAllCoinResponse, error) // RedeemCheck defines message for redeeming checks. RedeemCheck(context.Context, *MsgRedeemCheck) (*MsgRedeemCheckResponse, error) // MsgReturnLegacyBalance defines message for legacy balance returns. ReturnLegacyBalance(context.Context, *MsgReturnLegacyBalance) (*MsgReturnLegacyBalanceResponse, 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" yaml:"sender"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol" yaml:"symbol"` LimitVolume github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity" yaml:"identity"` }
func NewMsgUpdateCoin ¶
func NewMsgUpdateCoin( sender sdk.AccAddress, symbol string, limitVolume sdk.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 { }
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 Params ¶
type Params struct { // title of the base coin BaseTitle string `protobuf:"bytes,1,opt,name=base_title,json=baseTitle,proto3" json:"base_title" yaml:"base_title"` // symbol of the base coin (denom) BaseSymbol string `protobuf:"bytes,2,opt,name=base_symbol,json=baseSymbol,proto3" json:"base_symbol" yaml:"base_symbol"` // initial volume of the base coin BaseInitialVolume github_com_cosmos_cosmos_sdk_types.Int `` /* 181-byte string literal not displayed */ }
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 QueryCheckParams ¶
type QueryCheckParams struct {
Hash []byte `json:"hash"`
}
QueryCheckParams params for query 'custom/coin/check'
func NewQueryCheckParams ¶
func NewQueryCheckParams(hash []byte) QueryCheckParams
NewQueryCheckParams creates a new instance of QueryCheckParams
type QueryCheckRequest ¶
type QueryCheckRequest struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
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"`
}
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"`
}
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"` }
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 { // Retrieves existing coin by specific symbol. Coin(ctx context.Context, in *QueryCoinRequest, opts ...grpc.CallOption) (*QueryCoinResponse, error) // Retrieves all existing coins. Coins(ctx context.Context, in *QueryCoinsRequest, opts ...grpc.CallOption) (*QueryCoinsResponse, error) // Retrieves existing check by specific hash. Check(ctx context.Context, in *QueryCheckRequest, opts ...grpc.CallOption) (*QueryCheckResponse, error) // Retrieves all existing checks. Checks(ctx context.Context, in *QueryChecksRequest, opts ...grpc.CallOption) (*QueryChecksResponse, error) // Retrieves 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 {
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
}
func NewQueryCoinRequest ¶
func NewQueryCoinRequest(symbol string) *QueryCoinRequest
func (*QueryCoinRequest) Descriptor ¶
func (*QueryCoinRequest) Descriptor() ([]byte, []int)
func (*QueryCoinRequest) GetSymbol ¶
func (m *QueryCoinRequest) GetSymbol() 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"`
}
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"`
}
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"` }
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 { }
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"`
}
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 { // Retrieves existing coin by specific symbol. Coin(context.Context, *QueryCoinRequest) (*QueryCoinResponse, error) // Retrieves all existing coins. Coins(context.Context, *QueryCoinsRequest) (*QueryCoinsResponse, error) // Retrieves existing check by specific hash. Check(context.Context, *QueryCheckRequest) (*QueryCheckResponse, error) // Retrieves all existing checks. Checks(context.Context, *QueryChecksRequest) (*QueryChecksResponse, error) // Retrieves the module params. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type Send ¶
type Send struct { Coin types.Coin `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin" yaml:"coin"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver" yaml:"receiver"` }
func (*Send) Descriptor ¶
func (*Send) ProtoMessage ¶
func (*Send) ProtoMessage()
func (*Send) XXX_DiscardUnknown ¶
func (m *Send) XXX_DiscardUnknown()
func (*Send) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
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) ReturnLegacyBalance ¶
func (*UnimplementedMsgServer) ReturnLegacyBalance(ctx context.Context, req *MsgReturnLegacyBalance) (*MsgReturnLegacyBalanceResponse, 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)