Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func NewCoinBurnEvent(burner sdk.AccAddress, amount sdk.Coins) sdk.Event
- func NewCoinMintEvent(minter sdk.AccAddress, amount sdk.Coins) sdk.Event
- func NewCoinReceivedEvent(receiver sdk.AccAddress, amount sdk.Coins) sdk.Event
- func NewCoinSpentEvent(spender sdk.AccAddress, amount sdk.Coins) sdk.Event
- func NoOpMintingRestrictionFn(_ context.Context, _ sdk.Coins) error
- func NoOpSendRestrictionFn(_ context.Context, _, toAddr sdk.AccAddress, _ sdk.Coins) (sdk.AccAddress, error)
- func ParamKeyTable() paramtypes.KeyTabledeprecated
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- 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)
- func ValidateInputOutputs(input Input, outputs []Output) error
- type AccountKeeper
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)
- func (b Balance) GetAddress() string
- func (b Balance) GetCoins() sdk.Coins
- func (m *Balance) Marshal() (dAtA []byte, err error)
- func (m *Balance) MarshalTo(dAtA []byte) (int, error)
- func (m *Balance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Balance) ProtoMessage()
- func (m *Balance) Reset()
- func (m *Balance) Size() (n int)
- func (m *Balance) String() string
- func (m *Balance) Unmarshal(dAtA []byte) error
- func (b Balance) Validate() error
- func (m *Balance) XXX_DiscardUnknown()
- func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Balance) XXX_Merge(src proto.Message)
- func (m *Balance) XXX_Size() int
- func (m *Balance) XXX_Unmarshal(b []byte) error
- type DenomOwner
- func (*DenomOwner) Descriptor() ([]byte, []int)
- func (m *DenomOwner) GetAddress() string
- func (m *DenomOwner) GetBalance() types.Coin
- func (m *DenomOwner) Marshal() (dAtA []byte, err error)
- func (m *DenomOwner) MarshalTo(dAtA []byte) (int, error)
- func (m *DenomOwner) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DenomOwner) ProtoMessage()
- func (m *DenomOwner) Reset()
- func (m *DenomOwner) Size() (n int)
- func (m *DenomOwner) String() string
- func (m *DenomOwner) Unmarshal(dAtA []byte) error
- func (m *DenomOwner) XXX_DiscardUnknown()
- func (m *DenomOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DenomOwner) XXX_Merge(src proto.Message)
- func (m *DenomOwner) XXX_Size() int
- func (m *DenomOwner) XXX_Unmarshal(b []byte) error
- type DenomUnit
- func (*DenomUnit) Descriptor() ([]byte, []int)
- func (m *DenomUnit) GetAliases() []string
- func (m *DenomUnit) GetDenom() string
- func (m *DenomUnit) GetExponent() uint32
- func (m *DenomUnit) Marshal() (dAtA []byte, err error)
- func (m *DenomUnit) MarshalTo(dAtA []byte) (int, error)
- func (m *DenomUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DenomUnit) ProtoMessage()
- func (m *DenomUnit) Reset()
- func (m *DenomUnit) Size() (n int)
- func (m *DenomUnit) String() string
- func (m *DenomUnit) Unmarshal(dAtA []byte) error
- func (du DenomUnit) Validate() error
- func (m *DenomUnit) XXX_DiscardUnknown()
- func (m *DenomUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DenomUnit) XXX_Merge(src proto.Message)
- func (m *DenomUnit) XXX_Size() int
- func (m *DenomUnit) XXX_Unmarshal(b []byte) error
- type GenesisBalancesIterator
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (gs GenesisState) GetAllSendEnabled() []SendEnabled
- func (m *GenesisState) GetBalances() []Balance
- func (m *GenesisState) GetDenomMetadata() []Metadata
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetSendEnabled() []SendEnabled
- func (m *GenesisState) GetSupply() github_com_cosmos_cosmos_sdk_types.Coins
- 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 (gs *GenesisState) MigrateSendEnabled()
- 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 Input
- func (*Input) Descriptor() ([]byte, []int)
- func (m *Input) Marshal() (dAtA []byte, err error)
- func (m *Input) MarshalTo(dAtA []byte) (int, error)
- func (m *Input) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Input) ProtoMessage()
- func (m *Input) Reset()
- func (m *Input) Size() (n int)
- func (m *Input) String() string
- func (m *Input) Unmarshal(dAtA []byte) error
- func (in Input) ValidateBasic() error
- func (m *Input) XXX_DiscardUnknown()
- func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Input) XXX_Merge(src proto.Message)
- func (m *Input) XXX_Size() int
- func (m *Input) XXX_Unmarshal(b []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetBase() string
- func (m *Metadata) GetDenomUnits() []*DenomUnit
- func (m *Metadata) GetDescription() string
- func (m *Metadata) GetDisplay() string
- func (m *Metadata) GetName() string
- func (m *Metadata) GetSymbol() string
- func (m *Metadata) GetURI() string
- func (m *Metadata) GetURIHash() string
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m Metadata) Validate() error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type MintingRestrictionFn
- type MsgClient
- type MsgMultiSend
- func (*MsgMultiSend) Descriptor() ([]byte, []int)
- func (m *MsgMultiSend) GetInputs() []Input
- func (m *MsgMultiSend) GetOutputs() []Output
- func (m *MsgMultiSend) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiSend) ProtoMessage()
- func (m *MsgMultiSend) Reset()
- func (m *MsgMultiSend) Size() (n int)
- func (m *MsgMultiSend) String() string
- func (m *MsgMultiSend) Unmarshal(dAtA []byte) error
- func (m *MsgMultiSend) XXX_DiscardUnknown()
- func (m *MsgMultiSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiSend) XXX_Merge(src proto.Message)
- func (m *MsgMultiSend) XXX_Size() int
- func (m *MsgMultiSend) XXX_Unmarshal(b []byte) error
- type MsgMultiSendResponse
- func (*MsgMultiSendResponse) Descriptor() ([]byte, []int)
- func (m *MsgMultiSendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiSendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiSendResponse) ProtoMessage()
- func (m *MsgMultiSendResponse) Reset()
- func (m *MsgMultiSendResponse) Size() (n int)
- func (m *MsgMultiSendResponse) String() string
- func (m *MsgMultiSendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMultiSendResponse) XXX_DiscardUnknown()
- func (m *MsgMultiSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiSendResponse) XXX_Merge(src proto.Message)
- func (m *MsgMultiSendResponse) XXX_Size() int
- func (m *MsgMultiSendResponse) XXX_Unmarshal(b []byte) error
- type MsgSend
- func (*MsgSend) Descriptor() ([]byte, []int)
- func (m *MsgSend) Marshal() (dAtA []byte, err error)
- func (m *MsgSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSend) ProtoMessage()
- func (m *MsgSend) Reset()
- func (m *MsgSend) Size() (n int)
- func (m *MsgSend) String() string
- func (m *MsgSend) Unmarshal(dAtA []byte) error
- func (m *MsgSend) XXX_DiscardUnknown()
- func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSend) XXX_Merge(src proto.Message)
- func (m *MsgSend) XXX_Size() int
- func (m *MsgSend) XXX_Unmarshal(b []byte) error
- type MsgSendResponse
- func (*MsgSendResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendResponse) ProtoMessage()
- func (m *MsgSendResponse) Reset()
- func (m *MsgSendResponse) Size() (n int)
- func (m *MsgSendResponse) String() string
- func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendResponse) XXX_DiscardUnknown()
- func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendResponse) XXX_Size() int
- func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetSendEnabled
- func (*MsgSetSendEnabled) Descriptor() ([]byte, []int)
- func (m *MsgSetSendEnabled) GetAuthority() string
- func (m *MsgSetSendEnabled) GetSendEnabled() []*SendEnabled
- func (m *MsgSetSendEnabled) GetUseDefaultFor() []string
- func (m *MsgSetSendEnabled) Marshal() (dAtA []byte, err error)
- func (m *MsgSetSendEnabled) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetSendEnabled) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetSendEnabled) ProtoMessage()
- func (m *MsgSetSendEnabled) Reset()
- func (m *MsgSetSendEnabled) Size() (n int)
- func (m *MsgSetSendEnabled) String() string
- func (m *MsgSetSendEnabled) Unmarshal(dAtA []byte) error
- func (m *MsgSetSendEnabled) XXX_DiscardUnknown()
- func (m *MsgSetSendEnabled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetSendEnabled) XXX_Merge(src proto.Message)
- func (m *MsgSetSendEnabled) XXX_Size() int
- func (m *MsgSetSendEnabled) XXX_Unmarshal(b []byte) error
- type MsgSetSendEnabledResponse
- func (*MsgSetSendEnabledResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetSendEnabledResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetSendEnabledResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetSendEnabledResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetSendEnabledResponse) ProtoMessage()
- func (m *MsgSetSendEnabledResponse) Reset()
- func (m *MsgSetSendEnabledResponse) Size() (n int)
- func (m *MsgSetSendEnabledResponse) String() string
- func (m *MsgSetSendEnabledResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetSendEnabledResponse) XXX_DiscardUnknown()
- func (m *MsgSetSendEnabledResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetSendEnabledResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetSendEnabledResponse) XXX_Size() int
- func (m *MsgSetSendEnabledResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type Output
- func (*Output) Descriptor() ([]byte, []int)
- func (m *Output) Marshal() (dAtA []byte, err error)
- func (m *Output) MarshalTo(dAtA []byte) (int, error)
- func (m *Output) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Output) ProtoMessage()
- func (m *Output) Reset()
- func (m *Output) Size() (n int)
- func (m *Output) String() string
- func (m *Output) Unmarshal(dAtA []byte) error
- func (out Output) ValidateBasic() error
- func (m *Output) XXX_DiscardUnknown()
- func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Output) XXX_Merge(src proto.Message)
- func (m *Output) XXX_Size() int
- func (m *Output) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDefaultSendEnabled() bool
- func (m *Params) GetSendEnabled() []*SendEnableddeprecated
- 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.ParamSetPairsdeprecated
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() 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 QueryAllBalancesRequest
- func (*QueryAllBalancesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllBalancesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBalancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBalancesRequest) ProtoMessage()
- func (m *QueryAllBalancesRequest) Reset()
- func (m *QueryAllBalancesRequest) Size() (n int)
- func (m *QueryAllBalancesRequest) String() string
- func (m *QueryAllBalancesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllBalancesRequest) XXX_DiscardUnknown()
- func (m *QueryAllBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBalancesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllBalancesRequest) XXX_Size() int
- func (m *QueryAllBalancesRequest) XXX_Unmarshal(b []byte) error
- type QueryAllBalancesResponse
- func (*QueryAllBalancesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllBalancesResponse) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryAllBalancesResponse) GetPagination() *query.PageResponse
- func (m *QueryAllBalancesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBalancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBalancesResponse) ProtoMessage()
- func (m *QueryAllBalancesResponse) Reset()
- func (m *QueryAllBalancesResponse) Size() (n int)
- func (m *QueryAllBalancesResponse) String() string
- func (m *QueryAllBalancesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllBalancesResponse) XXX_DiscardUnknown()
- func (m *QueryAllBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBalancesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllBalancesResponse) XXX_Size() int
- func (m *QueryAllBalancesResponse) XXX_Unmarshal(b []byte) error
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceRequest) ProtoMessage()
- func (m *QueryBalanceRequest) Reset()
- func (m *QueryBalanceRequest) Size() (n int)
- func (m *QueryBalanceRequest) String() string
- func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalanceRequest) XXX_Size() int
- func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryBalanceResponse
- func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalanceResponse) GetBalance() *types.Coin
- func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceResponse) ProtoMessage()
- func (m *QueryBalanceResponse) Reset()
- func (m *QueryBalanceResponse) Size() (n int)
- func (m *QueryBalanceResponse) String() string
- func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalanceResponse) XXX_Size() int
- func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDenomMetadataByQueryStringRequest
- func (*QueryDenomMetadataByQueryStringRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomMetadataByQueryStringRequest) GetDenom() string
- func (m *QueryDenomMetadataByQueryStringRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomMetadataByQueryStringRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomMetadataByQueryStringRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomMetadataByQueryStringRequest) ProtoMessage()
- func (m *QueryDenomMetadataByQueryStringRequest) Reset()
- func (m *QueryDenomMetadataByQueryStringRequest) Size() (n int)
- func (m *QueryDenomMetadataByQueryStringRequest) String() string
- func (m *QueryDenomMetadataByQueryStringRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomMetadataByQueryStringRequest) XXX_DiscardUnknown()
- func (m *QueryDenomMetadataByQueryStringRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomMetadataByQueryStringRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomMetadataByQueryStringRequest) XXX_Size() int
- func (m *QueryDenomMetadataByQueryStringRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomMetadataByQueryStringResponse
- func (*QueryDenomMetadataByQueryStringResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomMetadataByQueryStringResponse) GetMetadata() Metadata
- func (m *QueryDenomMetadataByQueryStringResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomMetadataByQueryStringResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomMetadataByQueryStringResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomMetadataByQueryStringResponse) ProtoMessage()
- func (m *QueryDenomMetadataByQueryStringResponse) Reset()
- func (m *QueryDenomMetadataByQueryStringResponse) Size() (n int)
- func (m *QueryDenomMetadataByQueryStringResponse) String() string
- func (m *QueryDenomMetadataByQueryStringResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomMetadataByQueryStringResponse) XXX_DiscardUnknown()
- func (m *QueryDenomMetadataByQueryStringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomMetadataByQueryStringResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomMetadataByQueryStringResponse) XXX_Size() int
- func (m *QueryDenomMetadataByQueryStringResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomMetadataRequest
- func (*QueryDenomMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomMetadataRequest) GetDenom() string
- func (m *QueryDenomMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomMetadataRequest) ProtoMessage()
- func (m *QueryDenomMetadataRequest) Reset()
- func (m *QueryDenomMetadataRequest) Size() (n int)
- func (m *QueryDenomMetadataRequest) String() string
- func (m *QueryDenomMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryDenomMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomMetadataRequest) XXX_Size() int
- func (m *QueryDenomMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomMetadataResponse
- func (*QueryDenomMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomMetadataResponse) GetMetadata() Metadata
- func (m *QueryDenomMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomMetadataResponse) ProtoMessage()
- func (m *QueryDenomMetadataResponse) Reset()
- func (m *QueryDenomMetadataResponse) Size() (n int)
- func (m *QueryDenomMetadataResponse) String() string
- func (m *QueryDenomMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomMetadataResponse) XXX_Size() int
- func (m *QueryDenomMetadataResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomOwnersByQueryRequest
- func (*QueryDenomOwnersByQueryRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomOwnersByQueryRequest) GetDenom() string
- func (m *QueryDenomOwnersByQueryRequest) GetPagination() *query.PageRequest
- func (m *QueryDenomOwnersByQueryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomOwnersByQueryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomOwnersByQueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomOwnersByQueryRequest) ProtoMessage()
- func (m *QueryDenomOwnersByQueryRequest) Reset()
- func (m *QueryDenomOwnersByQueryRequest) Size() (n int)
- func (m *QueryDenomOwnersByQueryRequest) String() string
- func (m *QueryDenomOwnersByQueryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomOwnersByQueryRequest) XXX_DiscardUnknown()
- func (m *QueryDenomOwnersByQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomOwnersByQueryRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomOwnersByQueryRequest) XXX_Size() int
- func (m *QueryDenomOwnersByQueryRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomOwnersByQueryResponse
- func (*QueryDenomOwnersByQueryResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomOwnersByQueryResponse) GetDenomOwners() []*DenomOwner
- func (m *QueryDenomOwnersByQueryResponse) GetPagination() *query.PageResponse
- func (m *QueryDenomOwnersByQueryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomOwnersByQueryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomOwnersByQueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomOwnersByQueryResponse) ProtoMessage()
- func (m *QueryDenomOwnersByQueryResponse) Reset()
- func (m *QueryDenomOwnersByQueryResponse) Size() (n int)
- func (m *QueryDenomOwnersByQueryResponse) String() string
- func (m *QueryDenomOwnersByQueryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomOwnersByQueryResponse) XXX_DiscardUnknown()
- func (m *QueryDenomOwnersByQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomOwnersByQueryResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomOwnersByQueryResponse) XXX_Size() int
- func (m *QueryDenomOwnersByQueryResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomOwnersRequest
- func (*QueryDenomOwnersRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomOwnersRequest) GetDenom() string
- func (m *QueryDenomOwnersRequest) GetPagination() *query.PageRequest
- func (m *QueryDenomOwnersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomOwnersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomOwnersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomOwnersRequest) ProtoMessage()
- func (m *QueryDenomOwnersRequest) Reset()
- func (m *QueryDenomOwnersRequest) Size() (n int)
- func (m *QueryDenomOwnersRequest) String() string
- func (m *QueryDenomOwnersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomOwnersRequest) XXX_DiscardUnknown()
- func (m *QueryDenomOwnersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomOwnersRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomOwnersRequest) XXX_Size() int
- func (m *QueryDenomOwnersRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomOwnersResponse
- func (*QueryDenomOwnersResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomOwnersResponse) GetDenomOwners() []*DenomOwner
- func (m *QueryDenomOwnersResponse) GetPagination() *query.PageResponse
- func (m *QueryDenomOwnersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomOwnersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomOwnersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomOwnersResponse) ProtoMessage()
- func (m *QueryDenomOwnersResponse) Reset()
- func (m *QueryDenomOwnersResponse) Size() (n int)
- func (m *QueryDenomOwnersResponse) String() string
- func (m *QueryDenomOwnersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomOwnersResponse) XXX_DiscardUnknown()
- func (m *QueryDenomOwnersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomOwnersResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomOwnersResponse) XXX_Size() int
- func (m *QueryDenomOwnersResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomsMetadataRequest
- func (*QueryDenomsMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomsMetadataRequest) GetPagination() *query.PageRequest
- func (m *QueryDenomsMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsMetadataRequest) ProtoMessage()
- func (m *QueryDenomsMetadataRequest) Reset()
- func (m *QueryDenomsMetadataRequest) Size() (n int)
- func (m *QueryDenomsMetadataRequest) String() string
- func (m *QueryDenomsMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryDenomsMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomsMetadataRequest) XXX_Size() int
- func (m *QueryDenomsMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomsMetadataResponse
- func (*QueryDenomsMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomsMetadataResponse) GetMetadatas() []Metadata
- func (m *QueryDenomsMetadataResponse) GetPagination() *query.PageResponse
- func (m *QueryDenomsMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsMetadataResponse) ProtoMessage()
- func (m *QueryDenomsMetadataResponse) Reset()
- func (m *QueryDenomsMetadataResponse) Size() (n int)
- func (m *QueryDenomsMetadataResponse) String() string
- func (m *QueryDenomsMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryDenomsMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomsMetadataResponse) XXX_Size() int
- func (m *QueryDenomsMetadataResponse) 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 QuerySendEnabledRequest
- func (*QuerySendEnabledRequest) Descriptor() ([]byte, []int)
- func (m *QuerySendEnabledRequest) GetDenoms() []string
- func (m *QuerySendEnabledRequest) GetPagination() *query.PageRequest
- func (m *QuerySendEnabledRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySendEnabledRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySendEnabledRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySendEnabledRequest) ProtoMessage()
- func (m *QuerySendEnabledRequest) Reset()
- func (m *QuerySendEnabledRequest) Size() (n int)
- func (m *QuerySendEnabledRequest) String() string
- func (m *QuerySendEnabledRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySendEnabledRequest) XXX_DiscardUnknown()
- func (m *QuerySendEnabledRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySendEnabledRequest) XXX_Merge(src proto.Message)
- func (m *QuerySendEnabledRequest) XXX_Size() int
- func (m *QuerySendEnabledRequest) XXX_Unmarshal(b []byte) error
- type QuerySendEnabledResponse
- func (*QuerySendEnabledResponse) Descriptor() ([]byte, []int)
- func (m *QuerySendEnabledResponse) GetPagination() *query.PageResponse
- func (m *QuerySendEnabledResponse) GetSendEnabled() []*SendEnabled
- func (m *QuerySendEnabledResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySendEnabledResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySendEnabledResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySendEnabledResponse) ProtoMessage()
- func (m *QuerySendEnabledResponse) Reset()
- func (m *QuerySendEnabledResponse) Size() (n int)
- func (m *QuerySendEnabledResponse) String() string
- func (m *QuerySendEnabledResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySendEnabledResponse) XXX_DiscardUnknown()
- func (m *QuerySendEnabledResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySendEnabledResponse) XXX_Merge(src proto.Message)
- func (m *QuerySendEnabledResponse) XXX_Size() int
- func (m *QuerySendEnabledResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySpendableBalanceByDenomRequest
- func (*QuerySpendableBalanceByDenomRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpendableBalanceByDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpendableBalanceByDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpendableBalanceByDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpendableBalanceByDenomRequest) ProtoMessage()
- func (m *QuerySpendableBalanceByDenomRequest) Reset()
- func (m *QuerySpendableBalanceByDenomRequest) Size() (n int)
- func (m *QuerySpendableBalanceByDenomRequest) String() string
- func (m *QuerySpendableBalanceByDenomRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpendableBalanceByDenomRequest) XXX_DiscardUnknown()
- func (m *QuerySpendableBalanceByDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpendableBalanceByDenomRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpendableBalanceByDenomRequest) XXX_Size() int
- func (m *QuerySpendableBalanceByDenomRequest) XXX_Unmarshal(b []byte) error
- type QuerySpendableBalanceByDenomResponse
- func (*QuerySpendableBalanceByDenomResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpendableBalanceByDenomResponse) GetBalance() *types.Coin
- func (m *QuerySpendableBalanceByDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpendableBalanceByDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpendableBalanceByDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpendableBalanceByDenomResponse) ProtoMessage()
- func (m *QuerySpendableBalanceByDenomResponse) Reset()
- func (m *QuerySpendableBalanceByDenomResponse) Size() (n int)
- func (m *QuerySpendableBalanceByDenomResponse) String() string
- func (m *QuerySpendableBalanceByDenomResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpendableBalanceByDenomResponse) XXX_DiscardUnknown()
- func (m *QuerySpendableBalanceByDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpendableBalanceByDenomResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpendableBalanceByDenomResponse) XXX_Size() int
- func (m *QuerySpendableBalanceByDenomResponse) XXX_Unmarshal(b []byte) error
- type QuerySpendableBalancesRequest
- func (*QuerySpendableBalancesRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpendableBalancesRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpendableBalancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpendableBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpendableBalancesRequest) ProtoMessage()
- func (m *QuerySpendableBalancesRequest) Reset()
- func (m *QuerySpendableBalancesRequest) Size() (n int)
- func (m *QuerySpendableBalancesRequest) String() string
- func (m *QuerySpendableBalancesRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpendableBalancesRequest) XXX_DiscardUnknown()
- func (m *QuerySpendableBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpendableBalancesRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpendableBalancesRequest) XXX_Size() int
- func (m *QuerySpendableBalancesRequest) XXX_Unmarshal(b []byte) error
- type QuerySpendableBalancesResponse
- func (*QuerySpendableBalancesResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpendableBalancesResponse) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QuerySpendableBalancesResponse) GetPagination() *query.PageResponse
- func (m *QuerySpendableBalancesResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpendableBalancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpendableBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpendableBalancesResponse) ProtoMessage()
- func (m *QuerySpendableBalancesResponse) Reset()
- func (m *QuerySpendableBalancesResponse) Size() (n int)
- func (m *QuerySpendableBalancesResponse) String() string
- func (m *QuerySpendableBalancesResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpendableBalancesResponse) XXX_DiscardUnknown()
- func (m *QuerySpendableBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpendableBalancesResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpendableBalancesResponse) XXX_Size() int
- func (m *QuerySpendableBalancesResponse) XXX_Unmarshal(b []byte) error
- type QuerySupplyOfParams
- type QuerySupplyOfRequest
- func (*QuerySupplyOfRequest) Descriptor() ([]byte, []int)
- func (m *QuerySupplyOfRequest) GetDenom() string
- func (m *QuerySupplyOfRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyOfRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyOfRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyOfRequest) ProtoMessage()
- func (m *QuerySupplyOfRequest) Reset()
- func (m *QuerySupplyOfRequest) Size() (n int)
- func (m *QuerySupplyOfRequest) String() string
- func (m *QuerySupplyOfRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyOfRequest) XXX_DiscardUnknown()
- func (m *QuerySupplyOfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyOfRequest) XXX_Merge(src proto.Message)
- func (m *QuerySupplyOfRequest) XXX_Size() int
- func (m *QuerySupplyOfRequest) XXX_Unmarshal(b []byte) error
- type QuerySupplyOfResponse
- func (*QuerySupplyOfResponse) Descriptor() ([]byte, []int)
- func (m *QuerySupplyOfResponse) GetAmount() types.Coin
- func (m *QuerySupplyOfResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyOfResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyOfResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyOfResponse) ProtoMessage()
- func (m *QuerySupplyOfResponse) Reset()
- func (m *QuerySupplyOfResponse) Size() (n int)
- func (m *QuerySupplyOfResponse) String() string
- func (m *QuerySupplyOfResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyOfResponse) XXX_DiscardUnknown()
- func (m *QuerySupplyOfResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyOfResponse) XXX_Merge(src proto.Message)
- func (m *QuerySupplyOfResponse) XXX_Size() int
- func (m *QuerySupplyOfResponse) XXX_Unmarshal(b []byte) error
- type QueryTotalSupplyParams
- type QueryTotalSupplyRequest
- func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalSupplyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSupplyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSupplyRequest) ProtoMessage()
- func (m *QueryTotalSupplyRequest) Reset()
- func (m *QueryTotalSupplyRequest) Size() (n int)
- func (m *QueryTotalSupplyRequest) String() string
- func (m *QueryTotalSupplyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSupplyRequest) XXX_DiscardUnknown()
- func (m *QueryTotalSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSupplyRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalSupplyRequest) XXX_Size() int
- func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalSupplyResponse
- func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalSupplyResponse) GetPagination() *query.PageResponse
- func (m *QueryTotalSupplyResponse) GetSupply() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryTotalSupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSupplyResponse) ProtoMessage()
- func (m *QueryTotalSupplyResponse) Reset()
- func (m *QueryTotalSupplyResponse) Size() (n int)
- func (m *QueryTotalSupplyResponse) String() string
- func (m *QueryTotalSupplyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSupplyResponse) XXX_DiscardUnknown()
- func (m *QueryTotalSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSupplyResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalSupplyResponse) XXX_Size() int
- func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error
- type SendAuthorization
- func (a SendAuthorization) Accept(ctx context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*SendAuthorization) Descriptor() ([]byte, []int)
- func (m *SendAuthorization) GetAllowList() []string
- func (m *SendAuthorization) GetSpendLimit() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *SendAuthorization) Marshal() (dAtA []byte, err error)
- func (m *SendAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *SendAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a SendAuthorization) MsgTypeURL() string
- func (*SendAuthorization) ProtoMessage()
- func (m *SendAuthorization) Reset()
- func (m *SendAuthorization) Size() (n int)
- func (m *SendAuthorization) String() string
- func (m *SendAuthorization) Unmarshal(dAtA []byte) error
- func (a SendAuthorization) ValidateBasic() error
- func (m *SendAuthorization) XXX_DiscardUnknown()
- func (m *SendAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendAuthorization) XXX_Merge(src proto.Message)
- func (m *SendAuthorization) XXX_Size() int
- func (m *SendAuthorization) XXX_Unmarshal(b []byte) error
- type SendEnabled
- func (*SendEnabled) Descriptor() ([]byte, []int)
- func (this *SendEnabled) Equal(that interface{}) bool
- func (m *SendEnabled) GetDenom() string
- func (m *SendEnabled) GetEnabled() bool
- func (m *SendEnabled) Marshal() (dAtA []byte, err error)
- func (m *SendEnabled) MarshalTo(dAtA []byte) (int, error)
- func (m *SendEnabled) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SendEnabled) ProtoMessage()
- func (m *SendEnabled) Reset()
- func (m *SendEnabled) Size() (n int)
- func (m *SendEnabled) String() string
- func (m *SendEnabled) Unmarshal(dAtA []byte) error
- func (se SendEnabled) Validate() error
- func (m *SendEnabled) XXX_DiscardUnknown()
- func (m *SendEnabled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendEnabled) XXX_Merge(src proto.Message)
- func (m *SendEnabled) XXX_Size() int
- func (m *SendEnabled) XXX_Unmarshal(b []byte) error
- type SendEnabledParams
- type SendRestrictionFn
- type Supplydeprecated
- func (*Supply) Descriptor() ([]byte, []int)
- func (this *Supply) Equal(that interface{}) bool
- func (m *Supply) Marshal() (dAtA []byte, err error)
- func (m *Supply) MarshalTo(dAtA []byte) (int, error)
- func (m *Supply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Supply) ProtoMessage()
- func (m *Supply) Reset()
- func (m *Supply) Size() (n int)
- func (m *Supply) String() string
- func (m *Supply) Unmarshal(dAtA []byte) error
- func (m *Supply) XXX_DiscardUnknown()
- func (m *Supply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Supply) XXX_Merge(src proto.Message)
- func (m *Supply) XXX_Size() int
- func (m *Supply) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) MultiSend(ctx context.Context, req *MsgMultiSend) (*MsgMultiSendResponse, error)
- func (*UnimplementedMsgServer) Send(ctx context.Context, req *MsgSend) (*MsgSendResponse, error)
- func (*UnimplementedMsgServer) SetSendEnabled(ctx context.Context, req *MsgSetSendEnabled) (*MsgSetSendEnabledResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllBalances(ctx context.Context, req *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
- func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (*UnimplementedQueryServer) DenomMetadata(ctx context.Context, req *QueryDenomMetadataRequest) (*QueryDenomMetadataResponse, error)
- func (*UnimplementedQueryServer) DenomMetadataByQueryString(ctx context.Context, req *QueryDenomMetadataByQueryStringRequest) (*QueryDenomMetadataByQueryStringResponse, error)
- func (*UnimplementedQueryServer) DenomOwners(ctx context.Context, req *QueryDenomOwnersRequest) (*QueryDenomOwnersResponse, error)
- func (*UnimplementedQueryServer) DenomOwnersByQuery(ctx context.Context, req *QueryDenomOwnersByQueryRequest) (*QueryDenomOwnersByQueryResponse, error)
- func (*UnimplementedQueryServer) DenomsMetadata(ctx context.Context, req *QueryDenomsMetadataRequest) (*QueryDenomsMetadataResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) SendEnabled(ctx context.Context, req *QuerySendEnabledRequest) (*QuerySendEnabledResponse, error)
- func (*UnimplementedQueryServer) SpendableBalanceByDenom(ctx context.Context, req *QuerySpendableBalanceByDenomRequest) (*QuerySpendableBalanceByDenomResponse, error)
- func (*UnimplementedQueryServer) SpendableBalances(ctx context.Context, req *QuerySpendableBalancesRequest) (*QuerySpendableBalancesResponse, error)
- func (*UnimplementedQueryServer) SupplyOf(ctx context.Context, req *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error)
- func (*UnimplementedQueryServer) TotalSupply(ctx context.Context, req *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
- type VestingAccount
Constants ¶
const ( EventTypeTransfer = "transfer" AttributeKeyRecipient = "recipient" AttributeKeySender = sdk.AttributeKeySender // supply and balance tracking events name and attributes EventTypeCoinSpent = "coin_spent" EventTypeCoinReceived = "coin_received" EventTypeCoinMint = "coinbase" // NOTE(fdymylja): using mint clashes with mint module event EventTypeCoinBurn = "burn" AttributeKeySpender = "spender" AttributeKeyReceiver = "receiver" AttributeKeyMinter = "minter" AttributeKeyBurner = "burner" )
bank module event types
const ( // ModuleName defines the module name ModuleName = "bank" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName )
const ( QueryBalance = "balance" QueryAllBalances = "all_balances" QueryTotalSupply = "total_supply" QuerySupplyOf = "supply_of" )
Querier path constants
Variables ¶
var ( ErrInvalidLengthAuthz = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuthz = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthBank = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBank = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBank = fmt.Errorf("proto: unexpected end of group") )
var ( ErrNoInputs = errors.Register(ModuleName, 2, "no inputs to send transaction") ErrNoOutputs = errors.Register(ModuleName, 3, "no outputs to send transaction") ErrInputOutputMismatch = errors.Register(ModuleName, 4, "sum inputs != sum outputs") ErrSendDisabled = errors.Register(ModuleName, 5, "send transactions are disabled") ErrDenomMetadataNotFound = errors.Register(ModuleName, 6, "client denom metadata not found") ErrInvalidKey = errors.Register(ModuleName, 7, "invalid key") ErrDuplicateEntry = errors.Register(ModuleName, 8, "duplicate entry") ErrMultipleSenders = errors.Register(ModuleName, 9, "multiple senders not allowed") )
x/bank module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( SupplyKey = collections.NewPrefix(0) DenomMetadataPrefix = collections.NewPrefix(1) // BalancesPrefix is the prefix for the account balances store. We use a byte // (instead of `[]byte("balances")` to save some disk space). BalancesPrefix = collections.NewPrefix(2) DenomAddressPrefix = collections.NewPrefix(3) // SendEnabledPrefix is the prefix for the SendDisabled flags for a Denom. SendEnabledPrefix = collections.NewPrefix(4) // ParamsKey is the prefix for x/bank parameters ParamsKey = collections.NewPrefix(5) )
KVStore keys
var ( // KeySendEnabled is store's key for SendEnabled Params // Deprecated: Use the SendEnabled functionality in the keeper. KeySendEnabled = []byte("SendEnabled") // KeyDefaultSendEnabled is store's key for the DefaultSendEnabled option KeyDefaultSendEnabled = []byte("DefaultSendEnabled") )
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 BalanceValueCodec = collcodec.NewAltValueCodec(sdk.IntValue, func(bytes []byte) (math.Int, error) { c := new(sdk.Coin) err := c.Unmarshal(bytes) if err != nil { return math.Int{}, err } return c.Amount, nil })
BalanceValueCodec is a codec for encoding bank balances in a backwards compatible way. Historically, balances were represented as Coin, now they're represented as a simple math.Int
var DefaultDefaultSendEnabled = true
DefaultDefaultSendEnabled is the value that DefaultSendEnabled will have from DefaultParams().
Functions ¶
func NewCoinBurnEvent ¶ added in v0.43.0
NewCoinBurnEvent constructs a new coin burned sdk.Event
func NewCoinMintEvent ¶ added in v0.43.0
NewCoinMintEvent construct a new coin minted sdk.Event
func NewCoinReceivedEvent ¶ added in v0.43.0
NewCoinReceivedEvent constructs a new coin received sdk.Event
func NewCoinSpentEvent ¶ added in v0.43.0
NewCoinSpentEvent constructs a new coin spent sdk.Event
func NoOpMintingRestrictionFn ¶ added in v0.50.1
NoOpMintingRestrictionFn is a no-op MintingRestrictionFn.
func NoOpSendRestrictionFn ¶ added in v0.50.1
func NoOpSendRestrictionFn(_ context.Context, _, toAddr sdk.AccAddress, _ sdk.Coins) (sdk.AccAddress, error)
NoOpSendRestrictionFn is a no-op SendRestrictionFn.
func ParamKeyTable
deprecated
func ParamKeyTable() paramtypes.KeyTable
Deprecated: ParamKeyTable for bank module.
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶ added in v0.40.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/bank interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶ added in v0.40.0
func RegisterQueryHandler ¶ added in v0.40.0
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶ added in v0.40.0
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 ¶ added in v0.40.0
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 ¶ added in v0.40.0
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 ¶ added in v0.40.0
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateInputOutputs ¶ added in v0.50.1
ValidateInputOutputs validates that each respective input and output is valid and that the sum of inputs is equal to the sum of outputs.
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { AddressCodec() address.Codec NewAccount(context.Context, sdk.AccountI) sdk.AccountI NewAccountWithAddress(ctx context.Context, addr sdk.AccAddress) sdk.AccountI GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI GetAllAccounts(ctx context.Context) []sdk.AccountI HasAccount(ctx context.Context, addr sdk.AccAddress) bool SetAccount(ctx context.Context, acc sdk.AccountI) IterateAccounts(ctx context.Context, process func(sdk.AccountI) bool) ValidatePermissions(macc sdk.ModuleAccountI) error GetModuleAddress(moduleName string) sdk.AccAddress GetModuleAddressAndPermissions(moduleName string) (addr sdk.AccAddress, permissions []string) GetModuleAccountAndPermissions(ctx context.Context, moduleName string) (sdk.ModuleAccountI, []string) GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI SetModuleAccount(ctx context.Context, macc sdk.ModuleAccountI) GetModulePermissions() map[string]types.PermissionsForAddress }
AccountKeeper defines the account contract that must be fulfilled when creating a x/bank keeper.
type Balance ¶
type Balance struct { // address is the address of the balance holder. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // coins defines the different coins this balance holds. 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"` }
Balance defines an account address and balance pair used in the bank module's genesis state.
func SanitizeGenesisBalances ¶
SanitizeGenesisBalances sorts addresses and coin sets.
func (*Balance) Descriptor ¶ added in v0.40.0
func (Balance) GetAddress ¶
GetAddress returns the account address of the Balance object.
func (*Balance) MarshalToSizedBuffer ¶ added in v0.40.0
func (*Balance) ProtoMessage ¶ added in v0.40.0
func (*Balance) ProtoMessage()
func (*Balance) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *Balance) XXX_DiscardUnknown()
func (*Balance) XXX_Marshal ¶ added in v0.40.0
func (*Balance) XXX_Unmarshal ¶ added in v0.40.0
type DenomOwner ¶ added in v0.46.0
type DenomOwner struct { // address defines the address that owns a particular denomination. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // balance is the balance of the denominated coin for an account. Balance types.Coin `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance"` }
DenomOwner defines structure representing an account that owns or holds a particular denominated token. It contains the account address and account balance of the denominated token.
Since: cosmos-sdk 0.46
func (*DenomOwner) Descriptor ¶ added in v0.46.0
func (*DenomOwner) Descriptor() ([]byte, []int)
func (*DenomOwner) GetAddress ¶ added in v0.46.0
func (m *DenomOwner) GetAddress() string
func (*DenomOwner) GetBalance ¶ added in v0.46.0
func (m *DenomOwner) GetBalance() types.Coin
func (*DenomOwner) Marshal ¶ added in v0.46.0
func (m *DenomOwner) Marshal() (dAtA []byte, err error)
func (*DenomOwner) MarshalTo ¶ added in v0.46.0
func (m *DenomOwner) MarshalTo(dAtA []byte) (int, error)
func (*DenomOwner) MarshalToSizedBuffer ¶ added in v0.46.0
func (m *DenomOwner) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DenomOwner) ProtoMessage ¶ added in v0.46.0
func (*DenomOwner) ProtoMessage()
func (*DenomOwner) Reset ¶ added in v0.46.0
func (m *DenomOwner) Reset()
func (*DenomOwner) Size ¶ added in v0.46.0
func (m *DenomOwner) Size() (n int)
func (*DenomOwner) String ¶ added in v0.46.0
func (m *DenomOwner) String() string
func (*DenomOwner) Unmarshal ¶ added in v0.46.0
func (m *DenomOwner) Unmarshal(dAtA []byte) error
func (*DenomOwner) XXX_DiscardUnknown ¶ added in v0.46.0
func (m *DenomOwner) XXX_DiscardUnknown()
func (*DenomOwner) XXX_Marshal ¶ added in v0.46.0
func (m *DenomOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DenomOwner) XXX_Merge ¶ added in v0.46.0
func (m *DenomOwner) XXX_Merge(src proto.Message)
func (*DenomOwner) XXX_Size ¶ added in v0.46.0
func (m *DenomOwner) XXX_Size() int
func (*DenomOwner) XXX_Unmarshal ¶ added in v0.46.0
func (m *DenomOwner) XXX_Unmarshal(b []byte) error
type DenomUnit ¶ added in v0.40.0
type DenomUnit struct { // denom represents the string name of the given denom unit (e.g uatom). Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // exponent represents power of 10 exponent that one must // raise the base_denom to in order to equal the given DenomUnit's denom // 1 denom = 10^exponent base_denom // (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with // exponent = 6, thus: 1 atom = 10^6 uatom). Exponent uint32 `protobuf:"varint,2,opt,name=exponent,proto3" json:"exponent,omitempty"` // aliases is a list of string aliases for the given denom Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` }
DenomUnit represents a struct that describes a given denomination unit of the basic token.
func (*DenomUnit) Descriptor ¶ added in v0.40.0
func (*DenomUnit) GetAliases ¶ added in v0.40.0
func (*DenomUnit) GetExponent ¶ added in v0.40.0
func (*DenomUnit) MarshalToSizedBuffer ¶ added in v0.40.0
func (*DenomUnit) ProtoMessage ¶ added in v0.40.0
func (*DenomUnit) ProtoMessage()
func (DenomUnit) Validate ¶ added in v0.41.0
Validate performs a basic validation of the denomination unit fields
func (*DenomUnit) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *DenomUnit) XXX_DiscardUnknown()
func (*DenomUnit) XXX_Marshal ¶ added in v0.40.0
func (*DenomUnit) XXX_Unmarshal ¶ added in v0.40.0
type GenesisBalancesIterator ¶
type GenesisBalancesIterator struct{}
GenesisBalancesIterator implements genesis account iteration.
func (GenesisBalancesIterator) IterateGenesisBalances ¶
func (GenesisBalancesIterator) IterateGenesisBalances( cdc codec.JSONCodec, appState map[string]json.RawMessage, cb func(exported.GenesisBalance) (stop bool), )
IterateGenesisBalances iterates over all the genesis balances found in appGenesis and invokes a callback on each genesis account. If any call returns true, iteration stops.
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // balances is an array containing the balances of all the accounts. Balances []Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances"` // supply represents the total supply. If it is left empty, then supply will be calculated based on the provided // balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=supply,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"supply"` // denom_metadata defines the metadata of the different coins. DenomMetadata []Metadata `protobuf:"bytes,4,rep,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata"` // send_enabled defines the denoms where send is enabled or disabled. // // Since: cosmos-sdk 0.47 SendEnabled []SendEnabled `protobuf:"bytes,5,rep,name=send_enabled,json=sendEnabled,proto3" json:"send_enabled"` }
GenesisState defines the bank module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a default bank module genesis state.
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState
GetGenesisStateFromAppState returns x/bank GenesisState given raw application genesis state.
func NewGenesisState ¶
func NewGenesisState(params Params, balances []Balance, supply sdk.Coins, denomMetaData []Metadata, sendEnabled []SendEnabled) *GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶ added in v0.40.0
func (*GenesisState) Descriptor() ([]byte, []int)
func (GenesisState) GetAllSendEnabled ¶ added in v0.47.0
func (gs GenesisState) GetAllSendEnabled() []SendEnabled
GetAllSendEnabled returns all the SendEnabled entries from both the SendEnabled field and the Params. If a denom has an entry in both, the entry in the SendEnabled field takes precedence over one in Params.
func (*GenesisState) GetBalances ¶ added in v0.40.0
func (m *GenesisState) GetBalances() []Balance
func (*GenesisState) GetDenomMetadata ¶ added in v0.40.0
func (m *GenesisState) GetDenomMetadata() []Metadata
func (*GenesisState) GetParams ¶ added in v0.40.0
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetSendEnabled ¶ added in v0.47.0
func (m *GenesisState) GetSendEnabled() []SendEnabled
func (*GenesisState) GetSupply ¶ added in v0.40.0
func (m *GenesisState) GetSupply() github_com_cosmos_cosmos_sdk_types.Coins
func (*GenesisState) Marshal ¶ added in v0.40.0
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶ added in v0.40.0
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) MigrateSendEnabled ¶ added in v0.47.0
func (gs *GenesisState) MigrateSendEnabled()
MigrateSendEnabled moves the SendEnabled info from Params into the GenesisState.SendEnabled field and removes them from Params. If the Params.SendEnabled slice is empty, this is a noop.
If the main SendEnabled slice already has entries, the Params.SendEnabled entries are added. In case of the same demon in both, preference is given to the existing (main GenesisState field) entry.
func (*GenesisState) ProtoMessage ¶ added in v0.40.0
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶ added in v0.40.0
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶ added in v0.40.0
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶ added in v0.40.0
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶ added in v0.40.0
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶ added in v0.41.0
func (gs GenesisState) Validate() error
Validate performs basic validation of supply genesis data returning an error for any failed validation criteria.
func (*GenesisState) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶ added in v0.40.0
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶ added in v0.40.0
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶ added in v0.40.0
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶ added in v0.40.0
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type Input ¶
type Input struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 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"` }
Input models transaction input.
func NewInput ¶
func NewInput(addr sdk.AccAddress, coins sdk.Coins) Input
NewInput - create a transaction input, used with MsgMultiSend
func (*Input) Descriptor ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (Input) ValidateBasic ¶
ValidateBasic - validate transaction input
func (*Input) XXX_DiscardUnknown ¶
func (m *Input) XXX_DiscardUnknown()
func (*Input) XXX_Marshal ¶
func (*Input) XXX_Unmarshal ¶
type Metadata ¶ added in v0.40.0
type Metadata struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // denom_units represents the list of DenomUnit's for a given coin DenomUnits []*DenomUnit `protobuf:"bytes,2,rep,name=denom_units,json=denomUnits,proto3" json:"denom_units,omitempty"` // base represents the base denom (should be the DenomUnit with exponent = 0). Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` // display indicates the suggested denom that should be // displayed in clients. Display string `protobuf:"bytes,4,opt,name=display,proto3" json:"display,omitempty"` // name defines the name of the token (eg: Cosmos Atom) // // Since: cosmos-sdk 0.43 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // symbol is the token symbol usually shown on exchanges (eg: ATOM). This can // be the same as the display. // // Since: cosmos-sdk 0.43 Symbol string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"` // URI to a document (on or off-chain) that contains additional information. Optional. // // Since: cosmos-sdk 0.46 URI string `protobuf:"bytes,7,opt,name=uri,proto3" json:"uri,omitempty"` // URIHash is a sha256 hash of a document pointed by URI. It's used to verify that // the document didn't change. Optional. // // Since: cosmos-sdk 0.46 URIHash string `protobuf:"bytes,8,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"` }
Metadata represents a struct that describes a basic token.
func (*Metadata) Descriptor ¶ added in v0.40.0
func (*Metadata) GetDenomUnits ¶ added in v0.40.0
func (*Metadata) GetDescription ¶ added in v0.40.0
func (*Metadata) GetDisplay ¶ added in v0.40.0
func (*Metadata) GetURIHash ¶ added in v0.46.0
func (*Metadata) MarshalToSizedBuffer ¶ added in v0.40.0
func (*Metadata) ProtoMessage ¶ added in v0.40.0
func (*Metadata) ProtoMessage()
func (Metadata) Validate ¶ added in v0.41.0
Validate performs a basic validation of the coin metadata fields. It checks:
- Name and Symbol are not blank
- Base and Display denominations are valid coin denominations
- Base and Display denominations are present in the DenomUnit slice
- Base denomination has exponent 0
- Denomination units are sorted in ascending order
- Denomination units not duplicated
func (*Metadata) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶ added in v0.40.0
func (*Metadata) XXX_Unmarshal ¶ added in v0.40.0
type MintingRestrictionFn ¶ added in v0.50.1
A MintingRestrictionFn can restrict minting of coins.
func ComposeMintingRestrictions ¶ added in v0.50.1
func ComposeMintingRestrictions(restrictions ...MintingRestrictionFn) MintingRestrictionFn
ComposeMintingRestrictions combines multiple MintingRestrictionFn into one. nil entries are ignored. If all entries are nil, nil is returned. If exactly one entry is not nil, it is returned. Otherwise, a new MintingRestrictionFn is returned that runs the non-nil restrictions in the order they are given. The composition runs each minting restriction until an error is encountered and returns that error.
func (MintingRestrictionFn) Then ¶ added in v0.50.1
func (r MintingRestrictionFn) Then(second MintingRestrictionFn) MintingRestrictionFn
Then creates a composite restriction that runs this one then the provided second one.
type MsgClient ¶ added in v0.40.0
type MsgClient interface { // Send defines a method for sending coins from one account to another account. Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, error) // MultiSend defines a method for sending coins from some accounts to other accounts. MultiSend(ctx context.Context, in *MsgMultiSend, opts ...grpc.CallOption) (*MsgMultiSendResponse, error) // UpdateParams defines a governance operation for updating the x/bank module parameters. // The authority is defined in the keeper. // // Since: cosmos-sdk 0.47 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) // SetSendEnabled is a governance operation for setting the SendEnabled flag // on any number of Denoms. Only the entries to add or update should be // included. Entries that already exist in the store, but that aren't // included in this message, will be left unchanged. // // Since: cosmos-sdk 0.47 SetSendEnabled(ctx context.Context, in *MsgSetSendEnabled, opts ...grpc.CallOption) (*MsgSetSendEnabledResponse, 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 ¶ added in v0.40.0
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgMultiSend ¶
type MsgMultiSend struct { // Inputs, despite being `repeated`, only allows one sender input. This is // checked in MsgMultiSend's ValidateBasic. Inputs []Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs"` Outputs []Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs"` }
MsgMultiSend represents an arbitrary multi-in, multi-out send message.
func NewMsgMultiSend ¶
func NewMsgMultiSend(in Input, out []Output) *MsgMultiSend
NewMsgMultiSend - construct arbitrary multi-in, multi-out send msg.
func (*MsgMultiSend) Descriptor ¶
func (*MsgMultiSend) Descriptor() ([]byte, []int)
func (*MsgMultiSend) GetInputs ¶
func (m *MsgMultiSend) GetInputs() []Input
func (*MsgMultiSend) GetOutputs ¶
func (m *MsgMultiSend) GetOutputs() []Output
func (*MsgMultiSend) Marshal ¶
func (m *MsgMultiSend) Marshal() (dAtA []byte, err error)
func (*MsgMultiSend) MarshalToSizedBuffer ¶
func (m *MsgMultiSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiSend) ProtoMessage ¶
func (*MsgMultiSend) ProtoMessage()
func (*MsgMultiSend) Reset ¶
func (m *MsgMultiSend) Reset()
func (*MsgMultiSend) Size ¶
func (m *MsgMultiSend) Size() (n int)
func (*MsgMultiSend) String ¶
func (m *MsgMultiSend) String() string
func (*MsgMultiSend) Unmarshal ¶
func (m *MsgMultiSend) Unmarshal(dAtA []byte) error
func (*MsgMultiSend) XXX_DiscardUnknown ¶
func (m *MsgMultiSend) XXX_DiscardUnknown()
func (*MsgMultiSend) XXX_Marshal ¶
func (m *MsgMultiSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiSend) XXX_Merge ¶
func (m *MsgMultiSend) XXX_Merge(src proto.Message)
func (*MsgMultiSend) XXX_Size ¶
func (m *MsgMultiSend) XXX_Size() int
func (*MsgMultiSend) XXX_Unmarshal ¶
func (m *MsgMultiSend) XXX_Unmarshal(b []byte) error
type MsgMultiSendResponse ¶ added in v0.40.0
type MsgMultiSendResponse struct { }
MsgMultiSendResponse defines the Msg/MultiSend response type.
func (*MsgMultiSendResponse) Descriptor ¶ added in v0.40.0
func (*MsgMultiSendResponse) Descriptor() ([]byte, []int)
func (*MsgMultiSendResponse) Marshal ¶ added in v0.40.0
func (m *MsgMultiSendResponse) Marshal() (dAtA []byte, err error)
func (*MsgMultiSendResponse) MarshalTo ¶ added in v0.40.0
func (m *MsgMultiSendResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMultiSendResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *MsgMultiSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiSendResponse) ProtoMessage ¶ added in v0.40.0
func (*MsgMultiSendResponse) ProtoMessage()
func (*MsgMultiSendResponse) Reset ¶ added in v0.40.0
func (m *MsgMultiSendResponse) Reset()
func (*MsgMultiSendResponse) Size ¶ added in v0.40.0
func (m *MsgMultiSendResponse) Size() (n int)
func (*MsgMultiSendResponse) String ¶ added in v0.40.0
func (m *MsgMultiSendResponse) String() string
func (*MsgMultiSendResponse) Unmarshal ¶ added in v0.40.0
func (m *MsgMultiSendResponse) Unmarshal(dAtA []byte) error
func (*MsgMultiSendResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *MsgMultiSendResponse) XXX_DiscardUnknown()
func (*MsgMultiSendResponse) XXX_Marshal ¶ added in v0.40.0
func (m *MsgMultiSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiSendResponse) XXX_Merge ¶ added in v0.40.0
func (m *MsgMultiSendResponse) XXX_Merge(src proto.Message)
func (*MsgMultiSendResponse) XXX_Size ¶ added in v0.40.0
func (m *MsgMultiSendResponse) XXX_Size() int
func (*MsgMultiSendResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *MsgMultiSendResponse) XXX_Unmarshal(b []byte) error
type MsgSend ¶
type MsgSend struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
MsgSend represents a message to send coins from one account to another.
func NewMsgSend ¶
func NewMsgSend(fromAddr, toAddr sdk.AccAddress, amount sdk.Coins) *MsgSend
NewMsgSend - construct a msg to send coins from one account to another.
func (*MsgSend) Descriptor ¶
func (*MsgSend) MarshalToSizedBuffer ¶
func (*MsgSend) ProtoMessage ¶
func (*MsgSend) ProtoMessage()
func (*MsgSend) XXX_DiscardUnknown ¶
func (m *MsgSend) XXX_DiscardUnknown()
func (*MsgSend) XXX_Marshal ¶
func (*MsgSend) XXX_Unmarshal ¶
type MsgSendResponse ¶ added in v0.40.0
type MsgSendResponse struct { }
MsgSendResponse defines the Msg/Send response type.
func (*MsgSendResponse) Descriptor ¶ added in v0.40.0
func (*MsgSendResponse) Descriptor() ([]byte, []int)
func (*MsgSendResponse) Marshal ¶ added in v0.40.0
func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
func (*MsgSendResponse) MarshalTo ¶ added in v0.40.0
func (m *MsgSendResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSendResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendResponse) ProtoMessage ¶ added in v0.40.0
func (*MsgSendResponse) ProtoMessage()
func (*MsgSendResponse) Reset ¶ added in v0.40.0
func (m *MsgSendResponse) Reset()
func (*MsgSendResponse) Size ¶ added in v0.40.0
func (m *MsgSendResponse) Size() (n int)
func (*MsgSendResponse) String ¶ added in v0.40.0
func (m *MsgSendResponse) String() string
func (*MsgSendResponse) Unmarshal ¶ added in v0.40.0
func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
func (*MsgSendResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *MsgSendResponse) XXX_DiscardUnknown()
func (*MsgSendResponse) XXX_Marshal ¶ added in v0.40.0
func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendResponse) XXX_Merge ¶ added in v0.40.0
func (m *MsgSendResponse) XXX_Merge(src proto.Message)
func (*MsgSendResponse) XXX_Size ¶ added in v0.40.0
func (m *MsgSendResponse) XXX_Size() int
func (*MsgSendResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶ added in v0.40.0
type MsgServer interface { // Send defines a method for sending coins from one account to another account. Send(context.Context, *MsgSend) (*MsgSendResponse, error) // MultiSend defines a method for sending coins from some accounts to other accounts. MultiSend(context.Context, *MsgMultiSend) (*MsgMultiSendResponse, error) // UpdateParams defines a governance operation for updating the x/bank module parameters. // The authority is defined in the keeper. // // Since: cosmos-sdk 0.47 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // SetSendEnabled is a governance operation for setting the SendEnabled flag // on any number of Denoms. Only the entries to add or update should be // included. Entries that already exist in the store, but that aren't // included in this message, will be left unchanged. // // Since: cosmos-sdk 0.47 SetSendEnabled(context.Context, *MsgSetSendEnabled) (*MsgSetSendEnabledResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetSendEnabled ¶ added in v0.47.0
type MsgSetSendEnabled struct { // authority is the address that controls the module. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // send_enabled is the list of entries to add or update. SendEnabled []*SendEnabled `protobuf:"bytes,2,rep,name=send_enabled,json=sendEnabled,proto3" json:"send_enabled,omitempty"` // use_default_for is a list of denoms that should use the params.default_send_enabled value. // Denoms listed here will have their SendEnabled entries deleted. // If a denom is included that doesn't have a SendEnabled entry, // it will be ignored. UseDefaultFor []string `protobuf:"bytes,3,rep,name=use_default_for,json=useDefaultFor,proto3" json:"use_default_for,omitempty"` }
MsgSetSendEnabled is the Msg/SetSendEnabled request type.
Only entries to add/update/delete need to be included. Existing SendEnabled entries that are not included in this message are left unchanged.
Since: cosmos-sdk 0.47
func NewMsgSetSendEnabled ¶ added in v0.47.0
func NewMsgSetSendEnabled(authority string, sendEnabled []*SendEnabled, useDefaultFor []string) *MsgSetSendEnabled
NewMsgSetSendEnabled Construct a message to set one or more SendEnabled entries.
func (*MsgSetSendEnabled) Descriptor ¶ added in v0.47.0
func (*MsgSetSendEnabled) Descriptor() ([]byte, []int)
func (*MsgSetSendEnabled) GetAuthority ¶ added in v0.47.0
func (m *MsgSetSendEnabled) GetAuthority() string
func (*MsgSetSendEnabled) GetSendEnabled ¶ added in v0.47.0
func (m *MsgSetSendEnabled) GetSendEnabled() []*SendEnabled
func (*MsgSetSendEnabled) GetUseDefaultFor ¶ added in v0.47.0
func (m *MsgSetSendEnabled) GetUseDefaultFor() []string
func (*MsgSetSendEnabled) Marshal ¶ added in v0.47.0
func (m *MsgSetSendEnabled) Marshal() (dAtA []byte, err error)
func (*MsgSetSendEnabled) MarshalTo ¶ added in v0.47.0
func (m *MsgSetSendEnabled) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetSendEnabled) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *MsgSetSendEnabled) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetSendEnabled) ProtoMessage ¶ added in v0.47.0
func (*MsgSetSendEnabled) ProtoMessage()
func (*MsgSetSendEnabled) Reset ¶ added in v0.47.0
func (m *MsgSetSendEnabled) Reset()
func (*MsgSetSendEnabled) Size ¶ added in v0.47.0
func (m *MsgSetSendEnabled) Size() (n int)
func (*MsgSetSendEnabled) String ¶ added in v0.47.0
func (m *MsgSetSendEnabled) String() string
func (*MsgSetSendEnabled) Unmarshal ¶ added in v0.47.0
func (m *MsgSetSendEnabled) Unmarshal(dAtA []byte) error
func (*MsgSetSendEnabled) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *MsgSetSendEnabled) XXX_DiscardUnknown()
func (*MsgSetSendEnabled) XXX_Marshal ¶ added in v0.47.0
func (m *MsgSetSendEnabled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetSendEnabled) XXX_Merge ¶ added in v0.47.0
func (m *MsgSetSendEnabled) XXX_Merge(src proto.Message)
func (*MsgSetSendEnabled) XXX_Size ¶ added in v0.47.0
func (m *MsgSetSendEnabled) XXX_Size() int
func (*MsgSetSendEnabled) XXX_Unmarshal ¶ added in v0.47.0
func (m *MsgSetSendEnabled) XXX_Unmarshal(b []byte) error
type MsgSetSendEnabledResponse ¶ added in v0.47.0
type MsgSetSendEnabledResponse struct { }
MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type.
Since: cosmos-sdk 0.47
func (*MsgSetSendEnabledResponse) Descriptor ¶ added in v0.47.0
func (*MsgSetSendEnabledResponse) Descriptor() ([]byte, []int)
func (*MsgSetSendEnabledResponse) Marshal ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetSendEnabledResponse) MarshalTo ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetSendEnabledResponse) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetSendEnabledResponse) ProtoMessage ¶ added in v0.47.0
func (*MsgSetSendEnabledResponse) ProtoMessage()
func (*MsgSetSendEnabledResponse) Reset ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) Reset()
func (*MsgSetSendEnabledResponse) Size ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) Size() (n int)
func (*MsgSetSendEnabledResponse) String ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) String() string
func (*MsgSetSendEnabledResponse) Unmarshal ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) Unmarshal(dAtA []byte) error
func (*MsgSetSendEnabledResponse) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) XXX_DiscardUnknown()
func (*MsgSetSendEnabledResponse) XXX_Marshal ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetSendEnabledResponse) XXX_Merge ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) XXX_Merge(src proto.Message)
func (*MsgSetSendEnabledResponse) XXX_Size ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) XXX_Size() int
func (*MsgSetSendEnabledResponse) XXX_Unmarshal ¶ added in v0.47.0
func (m *MsgSetSendEnabledResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v0.47.0
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/bank parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor ¶ added in v0.47.0
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶ added in v0.47.0
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v0.47.0
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶ added in v0.47.0
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v0.47.0
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v0.47.0
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v0.47.0
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶ added in v0.47.0
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v0.47.0
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶ added in v0.47.0
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v0.47.0
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v0.47.0
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v0.47.0
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v0.47.0
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.47.0
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type Output ¶
type Output struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 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"` }
Output models transaction outputs.
func NewOutput ¶
func NewOutput(addr sdk.AccAddress, coins sdk.Coins) Output
NewOutput - create a transaction output, used with MsgMultiSend
func (*Output) Descriptor ¶
func (*Output) MarshalToSizedBuffer ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (Output) ValidateBasic ¶
ValidateBasic - validate transaction output
func (*Output) XXX_DiscardUnknown ¶
func (m *Output) XXX_DiscardUnknown()
func (*Output) XXX_Marshal ¶
func (*Output) XXX_Unmarshal ¶
type Params ¶ added in v0.40.0
type Params struct { // Deprecated: Use of SendEnabled in params is deprecated. // For genesis, use the newly added send_enabled field in the genesis object. // Storage, lookup, and manipulation of this information is now in the keeper. // // As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files. SendEnabled []*SendEnabled `protobuf:"bytes,1,rep,name=send_enabled,json=sendEnabled,proto3" json:"send_enabled,omitempty"` // Deprecated: Do not use. DefaultSendEnabled bool `protobuf:"varint,2,opt,name=default_send_enabled,json=defaultSendEnabled,proto3" json:"default_send_enabled,omitempty"` }
Params defines the parameters for the bank module.
func DefaultParams ¶ added in v0.40.0
func DefaultParams() Params
DefaultParams is the default parameter configuration for the bank module
func NewParams ¶ added in v0.40.0
NewParams creates a new parameter configuration for the bank module
func (*Params) Descriptor ¶ added in v0.40.0
func (*Params) GetDefaultSendEnabled ¶ added in v0.40.0
func (*Params) GetSendEnabled
deprecated
added in
v0.40.0
func (m *Params) GetSendEnabled() []*SendEnabled
Deprecated: Do not use.
func (*Params) MarshalToSizedBuffer ¶ added in v0.40.0
func (*Params) ParamSetPairs
deprecated
added in
v0.40.0
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
Deprecated: ParamSetPairs implements params.ParamSet
func (*Params) ProtoMessage ¶ added in v0.40.0
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶ added in v0.40.0
func (*Params) XXX_Unmarshal ¶ added in v0.40.0
type QueryAllBalancesRequest ¶ added in v0.40.0
type QueryAllBalancesRequest struct { // address is the address to query balances for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // resolve_denom is the flag to resolve the denom into a human-readable form from the metadata. // // Since: cosmos-sdk 0.50 ResolveDenom bool `protobuf:"varint,3,opt,name=resolve_denom,json=resolveDenom,proto3" json:"resolve_denom,omitempty"` }
QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
func NewQueryAllBalancesRequest ¶ added in v0.40.0
func NewQueryAllBalancesRequest(addr sdk.AccAddress, req *query.PageRequest, resolveDenom bool) *QueryAllBalancesRequest
NewQueryAllBalancesRequest creates a new instance of QueryAllBalancesRequest.
func (*QueryAllBalancesRequest) Descriptor ¶ added in v0.40.0
func (*QueryAllBalancesRequest) Descriptor() ([]byte, []int)
func (*QueryAllBalancesRequest) Marshal ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllBalancesRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBalancesRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBalancesRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryAllBalancesRequest) ProtoMessage()
func (*QueryAllBalancesRequest) Reset ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) Reset()
func (*QueryAllBalancesRequest) Size ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) Size() (n int)
func (*QueryAllBalancesRequest) String ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) String() string
func (*QueryAllBalancesRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) Unmarshal(dAtA []byte) error
func (*QueryAllBalancesRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) XXX_DiscardUnknown()
func (*QueryAllBalancesRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBalancesRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) XXX_Merge(src proto.Message)
func (*QueryAllBalancesRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) XXX_Size() int
func (*QueryAllBalancesRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryAllBalancesRequest) XXX_Unmarshal(b []byte) error
type QueryAllBalancesResponse ¶ added in v0.40.0
type QueryAllBalancesResponse struct { // balances is the balances of all the coins. Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balances"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.
func (*QueryAllBalancesResponse) Descriptor ¶ added in v0.40.0
func (*QueryAllBalancesResponse) Descriptor() ([]byte, []int)
func (*QueryAllBalancesResponse) GetBalances ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryAllBalancesResponse) GetPagination ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) GetPagination() *query.PageResponse
func (*QueryAllBalancesResponse) Marshal ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllBalancesResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBalancesResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBalancesResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryAllBalancesResponse) ProtoMessage()
func (*QueryAllBalancesResponse) Reset ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) Reset()
func (*QueryAllBalancesResponse) Size ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) Size() (n int)
func (*QueryAllBalancesResponse) String ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) String() string
func (*QueryAllBalancesResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) Unmarshal(dAtA []byte) error
func (*QueryAllBalancesResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) XXX_DiscardUnknown()
func (*QueryAllBalancesResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBalancesResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) XXX_Merge(src proto.Message)
func (*QueryAllBalancesResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) XXX_Size() int
func (*QueryAllBalancesResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryAllBalancesResponse) XXX_Unmarshal(b []byte) error
type QueryBalanceRequest ¶ added in v0.40.0
type QueryBalanceRequest struct { // address is the address to query balances for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // denom is the coin denom to query balances for. Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryBalanceRequest is the request type for the Query/Balance RPC method.
func NewQueryBalanceRequest ¶ added in v0.40.0
func NewQueryBalanceRequest(addr sdk.AccAddress, denom string) *QueryBalanceRequest
NewQueryBalanceRequest creates a new instance of QueryBalanceRequest.
func (*QueryBalanceRequest) Descriptor ¶ added in v0.40.0
func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryBalanceRequest) Marshal ¶ added in v0.40.0
func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryBalanceRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryBalanceRequest) ProtoMessage()
func (*QueryBalanceRequest) Reset ¶ added in v0.40.0
func (m *QueryBalanceRequest) Reset()
func (*QueryBalanceRequest) Size ¶ added in v0.40.0
func (m *QueryBalanceRequest) Size() (n int)
func (*QueryBalanceRequest) String ¶ added in v0.40.0
func (m *QueryBalanceRequest) String() string
func (*QueryBalanceRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryBalanceRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryBalanceRequest) XXX_DiscardUnknown()
func (*QueryBalanceRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryBalanceRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryBalanceRequest) XXX_Size() int
func (*QueryBalanceRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryBalanceResponse ¶ added in v0.40.0
type QueryBalanceResponse struct { // balance is the balance of the coin. Balance *types.Coin `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` }
QueryBalanceResponse is the response type for the Query/Balance RPC method.
func (*QueryBalanceResponse) Descriptor ¶ added in v0.40.0
func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryBalanceResponse) GetBalance ¶ added in v0.40.0
func (m *QueryBalanceResponse) GetBalance() *types.Coin
func (*QueryBalanceResponse) Marshal ¶ added in v0.40.0
func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryBalanceResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryBalanceResponse) ProtoMessage()
func (*QueryBalanceResponse) Reset ¶ added in v0.40.0
func (m *QueryBalanceResponse) Reset()
func (*QueryBalanceResponse) Size ¶ added in v0.40.0
func (m *QueryBalanceResponse) Size() (n int)
func (*QueryBalanceResponse) String ¶ added in v0.40.0
func (m *QueryBalanceResponse) String() string
func (*QueryBalanceResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryBalanceResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryBalanceResponse) XXX_DiscardUnknown()
func (*QueryBalanceResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryBalanceResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryBalanceResponse) XXX_Size() int
func (*QueryBalanceResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶ added in v0.40.0
type QueryClient interface { // Balance queries the balance of a single coin for a single account. Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) // AllBalances queries the balance of all coins for a single account. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error) // SpendableBalances queries the spendable balance of all coins for a single // account. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. // // Since: cosmos-sdk 0.46 SpendableBalances(ctx context.Context, in *QuerySpendableBalancesRequest, opts ...grpc.CallOption) (*QuerySpendableBalancesResponse, error) // SpendableBalanceByDenom queries the spendable balance of a single denom for // a single account. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. // // Since: cosmos-sdk 0.47 SpendableBalanceByDenom(ctx context.Context, in *QuerySpendableBalanceByDenomRequest, opts ...grpc.CallOption) (*QuerySpendableBalanceByDenomResponse, error) // TotalSupply queries the total supply of all coins. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) // SupplyOf queries the supply of a single coin. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. SupplyOf(ctx context.Context, in *QuerySupplyOfRequest, opts ...grpc.CallOption) (*QuerySupplyOfResponse, error) // Params queries the parameters of x/bank module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // DenomMetadata queries the client metadata of a given coin denomination. DenomMetadata(ctx context.Context, in *QueryDenomMetadataRequest, opts ...grpc.CallOption) (*QueryDenomMetadataResponse, error) // DenomMetadataByQueryString queries the client metadata of a given coin denomination. DenomMetadataByQueryString(ctx context.Context, in *QueryDenomMetadataByQueryStringRequest, opts ...grpc.CallOption) (*QueryDenomMetadataByQueryStringResponse, error) // DenomsMetadata queries the client metadata for all registered coin // denominations. DenomsMetadata(ctx context.Context, in *QueryDenomsMetadataRequest, opts ...grpc.CallOption) (*QueryDenomsMetadataResponse, error) // DenomOwners queries for all account addresses that own a particular token // denomination. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. // // Since: cosmos-sdk 0.46 DenomOwners(ctx context.Context, in *QueryDenomOwnersRequest, opts ...grpc.CallOption) (*QueryDenomOwnersResponse, error) // DenomOwnersByQuery queries for all account addresses that own a particular token // denomination. // // Since: cosmos-sdk 0.50.3 DenomOwnersByQuery(ctx context.Context, in *QueryDenomOwnersByQueryRequest, opts ...grpc.CallOption) (*QueryDenomOwnersByQueryResponse, error) // SendEnabled queries for SendEnabled entries. // // This query only returns denominations that have specific SendEnabled settings. // Any denomination that does not have a specific setting will use the default // params.default_send_enabled, and will not be returned by this query. // // Since: cosmos-sdk 0.47 SendEnabled(ctx context.Context, in *QuerySendEnabledRequest, opts ...grpc.CallOption) (*QuerySendEnabledResponse, 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 ¶ added in v0.40.0
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryDenomMetadataByQueryStringRequest ¶ added in v0.50.1
type QueryDenomMetadataByQueryStringRequest struct { // denom is the coin denom to query the metadata for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryDenomMetadataByQueryStringRequest is the request type for the Query/DenomMetadata RPC method. Identical with QueryDenomMetadataRequest but receives denom as query string.
func (*QueryDenomMetadataByQueryStringRequest) Descriptor ¶ added in v0.50.1
func (*QueryDenomMetadataByQueryStringRequest) Descriptor() ([]byte, []int)
func (*QueryDenomMetadataByQueryStringRequest) GetDenom ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) GetDenom() string
func (*QueryDenomMetadataByQueryStringRequest) Marshal ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomMetadataByQueryStringRequest) MarshalTo ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomMetadataByQueryStringRequest) MarshalToSizedBuffer ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomMetadataByQueryStringRequest) ProtoMessage ¶ added in v0.50.1
func (*QueryDenomMetadataByQueryStringRequest) ProtoMessage()
func (*QueryDenomMetadataByQueryStringRequest) Reset ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) Reset()
func (*QueryDenomMetadataByQueryStringRequest) Size ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) Size() (n int)
func (*QueryDenomMetadataByQueryStringRequest) String ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) String() string
func (*QueryDenomMetadataByQueryStringRequest) Unmarshal ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomMetadataByQueryStringRequest) XXX_DiscardUnknown ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) XXX_DiscardUnknown()
func (*QueryDenomMetadataByQueryStringRequest) XXX_Marshal ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomMetadataByQueryStringRequest) XXX_Merge ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) XXX_Merge(src proto.Message)
func (*QueryDenomMetadataByQueryStringRequest) XXX_Size ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) XXX_Size() int
func (*QueryDenomMetadataByQueryStringRequest) XXX_Unmarshal ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringRequest) XXX_Unmarshal(b []byte) error
type QueryDenomMetadataByQueryStringResponse ¶ added in v0.50.1
type QueryDenomMetadataByQueryStringResponse struct { // metadata describes and provides all the client information for the requested token. Metadata Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata"` }
QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC method. Identical with QueryDenomMetadataResponse but receives denom as query string in request.
func (*QueryDenomMetadataByQueryStringResponse) Descriptor ¶ added in v0.50.1
func (*QueryDenomMetadataByQueryStringResponse) Descriptor() ([]byte, []int)
func (*QueryDenomMetadataByQueryStringResponse) GetMetadata ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) GetMetadata() Metadata
func (*QueryDenomMetadataByQueryStringResponse) Marshal ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomMetadataByQueryStringResponse) MarshalTo ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomMetadataByQueryStringResponse) MarshalToSizedBuffer ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomMetadataByQueryStringResponse) ProtoMessage ¶ added in v0.50.1
func (*QueryDenomMetadataByQueryStringResponse) ProtoMessage()
func (*QueryDenomMetadataByQueryStringResponse) Reset ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) Reset()
func (*QueryDenomMetadataByQueryStringResponse) Size ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) Size() (n int)
func (*QueryDenomMetadataByQueryStringResponse) String ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) String() string
func (*QueryDenomMetadataByQueryStringResponse) Unmarshal ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomMetadataByQueryStringResponse) XXX_DiscardUnknown ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) XXX_DiscardUnknown()
func (*QueryDenomMetadataByQueryStringResponse) XXX_Marshal ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomMetadataByQueryStringResponse) XXX_Merge ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) XXX_Merge(src proto.Message)
func (*QueryDenomMetadataByQueryStringResponse) XXX_Size ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) XXX_Size() int
func (*QueryDenomMetadataByQueryStringResponse) XXX_Unmarshal ¶ added in v0.50.1
func (m *QueryDenomMetadataByQueryStringResponse) XXX_Unmarshal(b []byte) error
type QueryDenomMetadataRequest ¶ added in v0.40.1
type QueryDenomMetadataRequest struct { // denom is the coin denom to query the metadata for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.
func (*QueryDenomMetadataRequest) Descriptor ¶ added in v0.40.1
func (*QueryDenomMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryDenomMetadataRequest) GetDenom ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) GetDenom() string
func (*QueryDenomMetadataRequest) Marshal ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomMetadataRequest) MarshalTo ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomMetadataRequest) MarshalToSizedBuffer ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomMetadataRequest) ProtoMessage ¶ added in v0.40.1
func (*QueryDenomMetadataRequest) ProtoMessage()
func (*QueryDenomMetadataRequest) Reset ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) Reset()
func (*QueryDenomMetadataRequest) Size ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) Size() (n int)
func (*QueryDenomMetadataRequest) String ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) String() string
func (*QueryDenomMetadataRequest) Unmarshal ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomMetadataRequest) XXX_DiscardUnknown ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) XXX_DiscardUnknown()
func (*QueryDenomMetadataRequest) XXX_Marshal ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomMetadataRequest) XXX_Merge ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryDenomMetadataRequest) XXX_Size ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) XXX_Size() int
func (*QueryDenomMetadataRequest) XXX_Unmarshal ¶ added in v0.40.1
func (m *QueryDenomMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryDenomMetadataResponse ¶ added in v0.40.1
type QueryDenomMetadataResponse struct { // metadata describes and provides all the client information for the requested token. Metadata Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata"` }
QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method.
func (*QueryDenomMetadataResponse) Descriptor ¶ added in v0.40.1
func (*QueryDenomMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryDenomMetadataResponse) GetMetadata ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) GetMetadata() Metadata
func (*QueryDenomMetadataResponse) Marshal ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomMetadataResponse) MarshalTo ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomMetadataResponse) MarshalToSizedBuffer ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomMetadataResponse) ProtoMessage ¶ added in v0.40.1
func (*QueryDenomMetadataResponse) ProtoMessage()
func (*QueryDenomMetadataResponse) Reset ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) Reset()
func (*QueryDenomMetadataResponse) Size ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) Size() (n int)
func (*QueryDenomMetadataResponse) String ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) String() string
func (*QueryDenomMetadataResponse) Unmarshal ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomMetadataResponse) XXX_DiscardUnknown ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) XXX_DiscardUnknown()
func (*QueryDenomMetadataResponse) XXX_Marshal ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomMetadataResponse) XXX_Merge ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryDenomMetadataResponse) XXX_Size ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) XXX_Size() int
func (*QueryDenomMetadataResponse) XXX_Unmarshal ¶ added in v0.40.1
func (m *QueryDenomMetadataResponse) XXX_Unmarshal(b []byte) error
type QueryDenomOwnersByQueryRequest ¶ added in v0.50.3
type QueryDenomOwnersByQueryRequest struct { // denom defines the coin denomination to query all account holders for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomOwnersByQueryRequest defines the request type for the DenomOwnersByQuery RPC query, which queries for a paginated set of all account holders of a particular denomination.
Since: cosmos-sdk 0.50.3
func (*QueryDenomOwnersByQueryRequest) Descriptor ¶ added in v0.50.3
func (*QueryDenomOwnersByQueryRequest) Descriptor() ([]byte, []int)
func (*QueryDenomOwnersByQueryRequest) GetDenom ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) GetDenom() string
func (*QueryDenomOwnersByQueryRequest) GetPagination ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) GetPagination() *query.PageRequest
func (*QueryDenomOwnersByQueryRequest) Marshal ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomOwnersByQueryRequest) MarshalTo ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomOwnersByQueryRequest) MarshalToSizedBuffer ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomOwnersByQueryRequest) ProtoMessage ¶ added in v0.50.3
func (*QueryDenomOwnersByQueryRequest) ProtoMessage()
func (*QueryDenomOwnersByQueryRequest) Reset ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) Reset()
func (*QueryDenomOwnersByQueryRequest) Size ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) Size() (n int)
func (*QueryDenomOwnersByQueryRequest) String ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) String() string
func (*QueryDenomOwnersByQueryRequest) Unmarshal ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomOwnersByQueryRequest) XXX_DiscardUnknown ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) XXX_DiscardUnknown()
func (*QueryDenomOwnersByQueryRequest) XXX_Marshal ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomOwnersByQueryRequest) XXX_Merge ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) XXX_Merge(src proto.Message)
func (*QueryDenomOwnersByQueryRequest) XXX_Size ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) XXX_Size() int
func (*QueryDenomOwnersByQueryRequest) XXX_Unmarshal ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryRequest) XXX_Unmarshal(b []byte) error
type QueryDenomOwnersByQueryResponse ¶ added in v0.50.3
type QueryDenomOwnersByQueryResponse struct { DenomOwners []*DenomOwner `protobuf:"bytes,1,rep,name=denom_owners,json=denomOwners,proto3" json:"denom_owners,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query.
Since: cosmos-sdk 0.50.3
func (*QueryDenomOwnersByQueryResponse) Descriptor ¶ added in v0.50.3
func (*QueryDenomOwnersByQueryResponse) Descriptor() ([]byte, []int)
func (*QueryDenomOwnersByQueryResponse) GetDenomOwners ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) GetDenomOwners() []*DenomOwner
func (*QueryDenomOwnersByQueryResponse) GetPagination ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) GetPagination() *query.PageResponse
func (*QueryDenomOwnersByQueryResponse) Marshal ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomOwnersByQueryResponse) MarshalTo ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomOwnersByQueryResponse) MarshalToSizedBuffer ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomOwnersByQueryResponse) ProtoMessage ¶ added in v0.50.3
func (*QueryDenomOwnersByQueryResponse) ProtoMessage()
func (*QueryDenomOwnersByQueryResponse) Reset ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) Reset()
func (*QueryDenomOwnersByQueryResponse) Size ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) Size() (n int)
func (*QueryDenomOwnersByQueryResponse) String ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) String() string
func (*QueryDenomOwnersByQueryResponse) Unmarshal ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomOwnersByQueryResponse) XXX_DiscardUnknown ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) XXX_DiscardUnknown()
func (*QueryDenomOwnersByQueryResponse) XXX_Marshal ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomOwnersByQueryResponse) XXX_Merge ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) XXX_Merge(src proto.Message)
func (*QueryDenomOwnersByQueryResponse) XXX_Size ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) XXX_Size() int
func (*QueryDenomOwnersByQueryResponse) XXX_Unmarshal ¶ added in v0.50.3
func (m *QueryDenomOwnersByQueryResponse) XXX_Unmarshal(b []byte) error
type QueryDenomOwnersRequest ¶ added in v0.46.0
type QueryDenomOwnersRequest struct { // denom defines the coin denomination to query all account holders for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, which queries for a paginated set of all account holders of a particular denomination.
func (*QueryDenomOwnersRequest) Descriptor ¶ added in v0.46.0
func (*QueryDenomOwnersRequest) Descriptor() ([]byte, []int)
func (*QueryDenomOwnersRequest) GetDenom ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) GetDenom() string
func (*QueryDenomOwnersRequest) GetPagination ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) GetPagination() *query.PageRequest
func (*QueryDenomOwnersRequest) Marshal ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomOwnersRequest) MarshalTo ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomOwnersRequest) MarshalToSizedBuffer ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomOwnersRequest) ProtoMessage ¶ added in v0.46.0
func (*QueryDenomOwnersRequest) ProtoMessage()
func (*QueryDenomOwnersRequest) Reset ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) Reset()
func (*QueryDenomOwnersRequest) Size ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) Size() (n int)
func (*QueryDenomOwnersRequest) String ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) String() string
func (*QueryDenomOwnersRequest) Unmarshal ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomOwnersRequest) XXX_DiscardUnknown ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) XXX_DiscardUnknown()
func (*QueryDenomOwnersRequest) XXX_Marshal ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomOwnersRequest) XXX_Merge ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) XXX_Merge(src proto.Message)
func (*QueryDenomOwnersRequest) XXX_Size ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) XXX_Size() int
func (*QueryDenomOwnersRequest) XXX_Unmarshal ¶ added in v0.46.0
func (m *QueryDenomOwnersRequest) XXX_Unmarshal(b []byte) error
type QueryDenomOwnersResponse ¶ added in v0.46.0
type QueryDenomOwnersResponse struct { DenomOwners []*DenomOwner `protobuf:"bytes,1,rep,name=denom_owners,json=denomOwners,proto3" json:"denom_owners,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.
Since: cosmos-sdk 0.46
func (*QueryDenomOwnersResponse) Descriptor ¶ added in v0.46.0
func (*QueryDenomOwnersResponse) Descriptor() ([]byte, []int)
func (*QueryDenomOwnersResponse) GetDenomOwners ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) GetDenomOwners() []*DenomOwner
func (*QueryDenomOwnersResponse) GetPagination ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) GetPagination() *query.PageResponse
func (*QueryDenomOwnersResponse) Marshal ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomOwnersResponse) MarshalTo ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomOwnersResponse) MarshalToSizedBuffer ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomOwnersResponse) ProtoMessage ¶ added in v0.46.0
func (*QueryDenomOwnersResponse) ProtoMessage()
func (*QueryDenomOwnersResponse) Reset ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) Reset()
func (*QueryDenomOwnersResponse) Size ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) Size() (n int)
func (*QueryDenomOwnersResponse) String ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) String() string
func (*QueryDenomOwnersResponse) Unmarshal ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomOwnersResponse) XXX_DiscardUnknown ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) XXX_DiscardUnknown()
func (*QueryDenomOwnersResponse) XXX_Marshal ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomOwnersResponse) XXX_Merge ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) XXX_Merge(src proto.Message)
func (*QueryDenomOwnersResponse) XXX_Size ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) XXX_Size() int
func (*QueryDenomOwnersResponse) XXX_Unmarshal ¶ added in v0.46.0
func (m *QueryDenomOwnersResponse) XXX_Unmarshal(b []byte) error
type QueryDenomsMetadataRequest ¶ added in v0.40.1
type QueryDenomsMetadataRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.
func (*QueryDenomsMetadataRequest) Descriptor ¶ added in v0.40.1
func (*QueryDenomsMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryDenomsMetadataRequest) GetPagination ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) GetPagination() *query.PageRequest
func (*QueryDenomsMetadataRequest) Marshal ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomsMetadataRequest) MarshalTo ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsMetadataRequest) MarshalToSizedBuffer ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsMetadataRequest) ProtoMessage ¶ added in v0.40.1
func (*QueryDenomsMetadataRequest) ProtoMessage()
func (*QueryDenomsMetadataRequest) Reset ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) Reset()
func (*QueryDenomsMetadataRequest) Size ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) Size() (n int)
func (*QueryDenomsMetadataRequest) String ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) String() string
func (*QueryDenomsMetadataRequest) Unmarshal ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomsMetadataRequest) XXX_DiscardUnknown ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) XXX_DiscardUnknown()
func (*QueryDenomsMetadataRequest) XXX_Marshal ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsMetadataRequest) XXX_Merge ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryDenomsMetadataRequest) XXX_Size ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) XXX_Size() int
func (*QueryDenomsMetadataRequest) XXX_Unmarshal ¶ added in v0.40.1
func (m *QueryDenomsMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryDenomsMetadataResponse ¶ added in v0.40.1
type QueryDenomsMetadataResponse struct { // metadata provides the client information for all the registered tokens. Metadatas []Metadata `protobuf:"bytes,1,rep,name=metadatas,proto3" json:"metadatas"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC method.
func (*QueryDenomsMetadataResponse) Descriptor ¶ added in v0.40.1
func (*QueryDenomsMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryDenomsMetadataResponse) GetMetadatas ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) GetMetadatas() []Metadata
func (*QueryDenomsMetadataResponse) GetPagination ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) GetPagination() *query.PageResponse
func (*QueryDenomsMetadataResponse) Marshal ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomsMetadataResponse) MarshalTo ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsMetadataResponse) MarshalToSizedBuffer ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsMetadataResponse) ProtoMessage ¶ added in v0.40.1
func (*QueryDenomsMetadataResponse) ProtoMessage()
func (*QueryDenomsMetadataResponse) Reset ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) Reset()
func (*QueryDenomsMetadataResponse) Size ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) Size() (n int)
func (*QueryDenomsMetadataResponse) String ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) String() string
func (*QueryDenomsMetadataResponse) Unmarshal ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomsMetadataResponse) XXX_DiscardUnknown ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) XXX_DiscardUnknown()
func (*QueryDenomsMetadataResponse) XXX_Marshal ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsMetadataResponse) XXX_Merge ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryDenomsMetadataResponse) XXX_Size ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) XXX_Size() int
func (*QueryDenomsMetadataResponse) XXX_Unmarshal ¶ added in v0.40.1
func (m *QueryDenomsMetadataResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶ added in v0.40.0
type QueryParamsRequest struct { }
QueryParamsRequest defines the request type for querying x/bank parameters.
func (*QueryParamsRequest) Descriptor ¶ added in v0.40.0
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶ added in v0.40.0
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶ added in v0.40.0
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶ added in v0.40.0
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶ added in v0.40.0
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶ added in v0.40.0
type QueryParamsResponse struct { // params provides the parameters of the bank module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse defines the response type for querying x/bank parameters.
func (*QueryParamsResponse) Descriptor ¶ added in v0.40.0
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶ added in v0.40.0
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶ added in v0.40.0
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶ added in v0.40.0
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶ added in v0.40.0
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶ added in v0.40.0
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QuerySendEnabledRequest ¶ added in v0.47.0
type QuerySendEnabledRequest struct { // denoms is the specific denoms you want look up. Leave empty to get all entries. Denoms []string `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty"` // pagination defines an optional pagination for the request. This field is // only read if the denoms field is empty. Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries.
Since: cosmos-sdk 0.47
func (*QuerySendEnabledRequest) Descriptor ¶ added in v0.47.0
func (*QuerySendEnabledRequest) Descriptor() ([]byte, []int)
func (*QuerySendEnabledRequest) GetDenoms ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) GetDenoms() []string
func (*QuerySendEnabledRequest) GetPagination ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) GetPagination() *query.PageRequest
func (*QuerySendEnabledRequest) Marshal ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) Marshal() (dAtA []byte, err error)
func (*QuerySendEnabledRequest) MarshalTo ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySendEnabledRequest) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySendEnabledRequest) ProtoMessage ¶ added in v0.47.0
func (*QuerySendEnabledRequest) ProtoMessage()
func (*QuerySendEnabledRequest) Reset ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) Reset()
func (*QuerySendEnabledRequest) Size ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) Size() (n int)
func (*QuerySendEnabledRequest) String ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) String() string
func (*QuerySendEnabledRequest) Unmarshal ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) Unmarshal(dAtA []byte) error
func (*QuerySendEnabledRequest) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) XXX_DiscardUnknown()
func (*QuerySendEnabledRequest) XXX_Marshal ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySendEnabledRequest) XXX_Merge ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) XXX_Merge(src proto.Message)
func (*QuerySendEnabledRequest) XXX_Size ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) XXX_Size() int
func (*QuerySendEnabledRequest) XXX_Unmarshal ¶ added in v0.47.0
func (m *QuerySendEnabledRequest) XXX_Unmarshal(b []byte) error
type QuerySendEnabledResponse ¶ added in v0.47.0
type QuerySendEnabledResponse struct { SendEnabled []*SendEnabled `protobuf:"bytes,1,rep,name=send_enabled,json=sendEnabled,proto3" json:"send_enabled,omitempty"` // pagination defines the pagination in the response. This field is only // populated if the denoms field in the request is empty. Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QuerySendEnabledResponse defines the RPC response of a SendEnable query.
Since: cosmos-sdk 0.47
func (*QuerySendEnabledResponse) Descriptor ¶ added in v0.47.0
func (*QuerySendEnabledResponse) Descriptor() ([]byte, []int)
func (*QuerySendEnabledResponse) GetPagination ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) GetPagination() *query.PageResponse
func (*QuerySendEnabledResponse) GetSendEnabled ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) GetSendEnabled() []*SendEnabled
func (*QuerySendEnabledResponse) Marshal ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) Marshal() (dAtA []byte, err error)
func (*QuerySendEnabledResponse) MarshalTo ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySendEnabledResponse) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySendEnabledResponse) ProtoMessage ¶ added in v0.47.0
func (*QuerySendEnabledResponse) ProtoMessage()
func (*QuerySendEnabledResponse) Reset ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) Reset()
func (*QuerySendEnabledResponse) Size ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) Size() (n int)
func (*QuerySendEnabledResponse) String ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) String() string
func (*QuerySendEnabledResponse) Unmarshal ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) Unmarshal(dAtA []byte) error
func (*QuerySendEnabledResponse) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) XXX_DiscardUnknown()
func (*QuerySendEnabledResponse) XXX_Marshal ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySendEnabledResponse) XXX_Merge ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) XXX_Merge(src proto.Message)
func (*QuerySendEnabledResponse) XXX_Size ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) XXX_Size() int
func (*QuerySendEnabledResponse) XXX_Unmarshal ¶ added in v0.47.0
func (m *QuerySendEnabledResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶ added in v0.40.0
type QueryServer interface { // Balance queries the balance of a single coin for a single account. Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) // AllBalances queries the balance of all coins for a single account. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error) // SpendableBalances queries the spendable balance of all coins for a single // account. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. // // Since: cosmos-sdk 0.46 SpendableBalances(context.Context, *QuerySpendableBalancesRequest) (*QuerySpendableBalancesResponse, error) // SpendableBalanceByDenom queries the spendable balance of a single denom for // a single account. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. // // Since: cosmos-sdk 0.47 SpendableBalanceByDenom(context.Context, *QuerySpendableBalanceByDenomRequest) (*QuerySpendableBalanceByDenomResponse, error) // TotalSupply queries the total supply of all coins. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error) // SupplyOf queries the supply of a single coin. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. SupplyOf(context.Context, *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error) // Params queries the parameters of x/bank module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // DenomMetadata queries the client metadata of a given coin denomination. DenomMetadata(context.Context, *QueryDenomMetadataRequest) (*QueryDenomMetadataResponse, error) // DenomMetadataByQueryString queries the client metadata of a given coin denomination. DenomMetadataByQueryString(context.Context, *QueryDenomMetadataByQueryStringRequest) (*QueryDenomMetadataByQueryStringResponse, error) // DenomsMetadata queries the client metadata for all registered coin // denominations. DenomsMetadata(context.Context, *QueryDenomsMetadataRequest) (*QueryDenomsMetadataResponse, error) // DenomOwners queries for all account addresses that own a particular token // denomination. // // When called from another module, this query might consume a high amount of // gas if the pagination field is incorrectly set. // // Since: cosmos-sdk 0.46 DenomOwners(context.Context, *QueryDenomOwnersRequest) (*QueryDenomOwnersResponse, error) // DenomOwnersByQuery queries for all account addresses that own a particular token // denomination. // // Since: cosmos-sdk 0.50.3 DenomOwnersByQuery(context.Context, *QueryDenomOwnersByQueryRequest) (*QueryDenomOwnersByQueryResponse, error) // SendEnabled queries for SendEnabled entries. // // This query only returns denominations that have specific SendEnabled settings. // Any denomination that does not have a specific setting will use the default // params.default_send_enabled, and will not be returned by this query. // // Since: cosmos-sdk 0.47 SendEnabled(context.Context, *QuerySendEnabledRequest) (*QuerySendEnabledResponse, error) }
QueryServer is the server API for Query service.
type QuerySpendableBalanceByDenomRequest ¶ added in v0.47.0
type QuerySpendableBalanceByDenomRequest struct { // address is the address to query balances for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // denom is the coin denom to query balances for. Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` }
QuerySpendableBalanceByDenomRequest defines the gRPC request structure for querying an account's spendable balance for a specific denom.
Since: cosmos-sdk 0.47
func NewQuerySpendableBalanceByDenomRequest ¶ added in v0.47.0
func NewQuerySpendableBalanceByDenomRequest(addr sdk.AccAddress, denom string) *QuerySpendableBalanceByDenomRequest
NewQuerySpendableBalanceByDenomRequest creates a new instance of a QuerySpendableBalanceByDenomRequest.
func (*QuerySpendableBalanceByDenomRequest) Descriptor ¶ added in v0.47.0
func (*QuerySpendableBalanceByDenomRequest) Descriptor() ([]byte, []int)
func (*QuerySpendableBalanceByDenomRequest) Marshal ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) Marshal() (dAtA []byte, err error)
func (*QuerySpendableBalanceByDenomRequest) MarshalTo ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpendableBalanceByDenomRequest) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpendableBalanceByDenomRequest) ProtoMessage ¶ added in v0.47.0
func (*QuerySpendableBalanceByDenomRequest) ProtoMessage()
func (*QuerySpendableBalanceByDenomRequest) Reset ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) Reset()
func (*QuerySpendableBalanceByDenomRequest) Size ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) Size() (n int)
func (*QuerySpendableBalanceByDenomRequest) String ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) String() string
func (*QuerySpendableBalanceByDenomRequest) Unmarshal ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) Unmarshal(dAtA []byte) error
func (*QuerySpendableBalanceByDenomRequest) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) XXX_DiscardUnknown()
func (*QuerySpendableBalanceByDenomRequest) XXX_Marshal ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpendableBalanceByDenomRequest) XXX_Merge ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) XXX_Merge(src proto.Message)
func (*QuerySpendableBalanceByDenomRequest) XXX_Size ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) XXX_Size() int
func (*QuerySpendableBalanceByDenomRequest) XXX_Unmarshal ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomRequest) XXX_Unmarshal(b []byte) error
type QuerySpendableBalanceByDenomResponse ¶ added in v0.47.0
type QuerySpendableBalanceByDenomResponse struct { // balance is the balance of the coin. Balance *types.Coin `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` }
QuerySpendableBalanceByDenomResponse defines the gRPC response structure for querying an account's spendable balance for a specific denom.
Since: cosmos-sdk 0.47
func (*QuerySpendableBalanceByDenomResponse) Descriptor ¶ added in v0.47.0
func (*QuerySpendableBalanceByDenomResponse) Descriptor() ([]byte, []int)
func (*QuerySpendableBalanceByDenomResponse) GetBalance ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) GetBalance() *types.Coin
func (*QuerySpendableBalanceByDenomResponse) Marshal ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) Marshal() (dAtA []byte, err error)
func (*QuerySpendableBalanceByDenomResponse) MarshalTo ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpendableBalanceByDenomResponse) MarshalToSizedBuffer ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpendableBalanceByDenomResponse) ProtoMessage ¶ added in v0.47.0
func (*QuerySpendableBalanceByDenomResponse) ProtoMessage()
func (*QuerySpendableBalanceByDenomResponse) Reset ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) Reset()
func (*QuerySpendableBalanceByDenomResponse) Size ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) Size() (n int)
func (*QuerySpendableBalanceByDenomResponse) String ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) String() string
func (*QuerySpendableBalanceByDenomResponse) Unmarshal ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) Unmarshal(dAtA []byte) error
func (*QuerySpendableBalanceByDenomResponse) XXX_DiscardUnknown ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) XXX_DiscardUnknown()
func (*QuerySpendableBalanceByDenomResponse) XXX_Marshal ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpendableBalanceByDenomResponse) XXX_Merge ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) XXX_Merge(src proto.Message)
func (*QuerySpendableBalanceByDenomResponse) XXX_Size ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) XXX_Size() int
func (*QuerySpendableBalanceByDenomResponse) XXX_Unmarshal ¶ added in v0.47.0
func (m *QuerySpendableBalanceByDenomResponse) XXX_Unmarshal(b []byte) error
type QuerySpendableBalancesRequest ¶ added in v0.45.2
type QuerySpendableBalancesRequest struct { // address is the address to query spendable balances for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QuerySpendableBalancesRequest defines the gRPC request structure for querying an account's spendable balances.
Since: cosmos-sdk 0.46
func NewQuerySpendableBalancesRequest ¶ added in v0.45.2
func NewQuerySpendableBalancesRequest(addr sdk.AccAddress, req *query.PageRequest) *QuerySpendableBalancesRequest
NewQuerySpendableBalancesRequest creates a new instance of a QuerySpendableBalancesRequest.
func (*QuerySpendableBalancesRequest) Descriptor ¶ added in v0.45.2
func (*QuerySpendableBalancesRequest) Descriptor() ([]byte, []int)
func (*QuerySpendableBalancesRequest) Marshal ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) Marshal() (dAtA []byte, err error)
func (*QuerySpendableBalancesRequest) MarshalTo ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpendableBalancesRequest) MarshalToSizedBuffer ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpendableBalancesRequest) ProtoMessage ¶ added in v0.45.2
func (*QuerySpendableBalancesRequest) ProtoMessage()
func (*QuerySpendableBalancesRequest) Reset ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) Reset()
func (*QuerySpendableBalancesRequest) Size ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) Size() (n int)
func (*QuerySpendableBalancesRequest) String ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) String() string
func (*QuerySpendableBalancesRequest) Unmarshal ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) Unmarshal(dAtA []byte) error
func (*QuerySpendableBalancesRequest) XXX_DiscardUnknown ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) XXX_DiscardUnknown()
func (*QuerySpendableBalancesRequest) XXX_Marshal ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpendableBalancesRequest) XXX_Merge ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) XXX_Merge(src proto.Message)
func (*QuerySpendableBalancesRequest) XXX_Size ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) XXX_Size() int
func (*QuerySpendableBalancesRequest) XXX_Unmarshal ¶ added in v0.45.2
func (m *QuerySpendableBalancesRequest) XXX_Unmarshal(b []byte) error
type QuerySpendableBalancesResponse ¶ added in v0.45.2
type QuerySpendableBalancesResponse struct { // balances is the spendable balances of all the coins. Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balances"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QuerySpendableBalancesResponse defines the gRPC response structure for querying an account's spendable balances.
Since: cosmos-sdk 0.46
func (*QuerySpendableBalancesResponse) Descriptor ¶ added in v0.45.2
func (*QuerySpendableBalancesResponse) Descriptor() ([]byte, []int)
func (*QuerySpendableBalancesResponse) GetBalances ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
func (*QuerySpendableBalancesResponse) GetPagination ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) GetPagination() *query.PageResponse
func (*QuerySpendableBalancesResponse) Marshal ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) Marshal() (dAtA []byte, err error)
func (*QuerySpendableBalancesResponse) MarshalTo ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySpendableBalancesResponse) MarshalToSizedBuffer ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySpendableBalancesResponse) ProtoMessage ¶ added in v0.45.2
func (*QuerySpendableBalancesResponse) ProtoMessage()
func (*QuerySpendableBalancesResponse) Reset ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) Reset()
func (*QuerySpendableBalancesResponse) Size ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) Size() (n int)
func (*QuerySpendableBalancesResponse) String ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) String() string
func (*QuerySpendableBalancesResponse) Unmarshal ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) Unmarshal(dAtA []byte) error
func (*QuerySpendableBalancesResponse) XXX_DiscardUnknown ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) XXX_DiscardUnknown()
func (*QuerySpendableBalancesResponse) XXX_Marshal ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySpendableBalancesResponse) XXX_Merge ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) XXX_Merge(src proto.Message)
func (*QuerySpendableBalancesResponse) XXX_Size ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) XXX_Size() int
func (*QuerySpendableBalancesResponse) XXX_Unmarshal ¶ added in v0.45.2
func (m *QuerySpendableBalancesResponse) XXX_Unmarshal(b []byte) error
type QuerySupplyOfParams ¶
type QuerySupplyOfParams struct {
Denom string
}
QuerySupplyOfParams defines the params for the following queries: - 'custom/bank/totalSupplyOf'
func NewQuerySupplyOfParams ¶
func NewQuerySupplyOfParams(denom string) QuerySupplyOfParams
NewQuerySupplyOfParams creates a new instance to query the total supply of a given denomination
type QuerySupplyOfRequest ¶ added in v0.40.0
type QuerySupplyOfRequest struct { // denom is the coin denom to query balances for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
func (*QuerySupplyOfRequest) Descriptor ¶ added in v0.40.0
func (*QuerySupplyOfRequest) Descriptor() ([]byte, []int)
func (*QuerySupplyOfRequest) GetDenom ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) GetDenom() string
func (*QuerySupplyOfRequest) Marshal ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) Marshal() (dAtA []byte, err error)
func (*QuerySupplyOfRequest) MarshalTo ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyOfRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyOfRequest) ProtoMessage ¶ added in v0.40.0
func (*QuerySupplyOfRequest) ProtoMessage()
func (*QuerySupplyOfRequest) Reset ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) Reset()
func (*QuerySupplyOfRequest) Size ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) Size() (n int)
func (*QuerySupplyOfRequest) String ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) String() string
func (*QuerySupplyOfRequest) Unmarshal ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) Unmarshal(dAtA []byte) error
func (*QuerySupplyOfRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) XXX_DiscardUnknown()
func (*QuerySupplyOfRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyOfRequest) XXX_Merge ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) XXX_Merge(src proto.Message)
func (*QuerySupplyOfRequest) XXX_Size ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) XXX_Size() int
func (*QuerySupplyOfRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QuerySupplyOfRequest) XXX_Unmarshal(b []byte) error
type QuerySupplyOfResponse ¶ added in v0.40.0
type QuerySupplyOfResponse struct { // amount is the supply of the coin. Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"` }
QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
func (*QuerySupplyOfResponse) Descriptor ¶ added in v0.40.0
func (*QuerySupplyOfResponse) Descriptor() ([]byte, []int)
func (*QuerySupplyOfResponse) GetAmount ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) GetAmount() types.Coin
func (*QuerySupplyOfResponse) Marshal ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) Marshal() (dAtA []byte, err error)
func (*QuerySupplyOfResponse) MarshalTo ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyOfResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyOfResponse) ProtoMessage ¶ added in v0.40.0
func (*QuerySupplyOfResponse) ProtoMessage()
func (*QuerySupplyOfResponse) Reset ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) Reset()
func (*QuerySupplyOfResponse) Size ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) Size() (n int)
func (*QuerySupplyOfResponse) String ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) String() string
func (*QuerySupplyOfResponse) Unmarshal ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) Unmarshal(dAtA []byte) error
func (*QuerySupplyOfResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) XXX_DiscardUnknown()
func (*QuerySupplyOfResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyOfResponse) XXX_Merge ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) XXX_Merge(src proto.Message)
func (*QuerySupplyOfResponse) XXX_Size ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) XXX_Size() int
func (*QuerySupplyOfResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QuerySupplyOfResponse) XXX_Unmarshal(b []byte) error
type QueryTotalSupplyParams ¶
type QueryTotalSupplyParams struct {
Page, Limit int
}
QueryTotalSupplyParams defines the params for the following queries: - 'custom/bank/totalSupply'
func NewQueryTotalSupplyParams ¶
func NewQueryTotalSupplyParams(page, limit int) QueryTotalSupplyParams
NewQueryTotalSupplyParams creates a new instance to query the total supply
type QueryTotalSupplyRequest ¶ added in v0.40.0
type QueryTotalSupplyRequest struct { // pagination defines an optional pagination for the request. // // Since: cosmos-sdk 0.43 Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.
func (*QueryTotalSupplyRequest) Descriptor ¶ added in v0.40.0
func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int)
func (*QueryTotalSupplyRequest) Marshal ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalSupplyRequest) MarshalTo ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSupplyRequest) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSupplyRequest) ProtoMessage ¶ added in v0.40.0
func (*QueryTotalSupplyRequest) ProtoMessage()
func (*QueryTotalSupplyRequest) Reset ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) Reset()
func (*QueryTotalSupplyRequest) Size ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) Size() (n int)
func (*QueryTotalSupplyRequest) String ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) String() string
func (*QueryTotalSupplyRequest) Unmarshal ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalSupplyRequest) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) XXX_DiscardUnknown()
func (*QueryTotalSupplyRequest) XXX_Marshal ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSupplyRequest) XXX_Merge ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) XXX_Merge(src proto.Message)
func (*QueryTotalSupplyRequest) XXX_Size ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) XXX_Size() int
func (*QueryTotalSupplyRequest) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error
type QueryTotalSupplyResponse ¶ added in v0.40.0
type QueryTotalSupplyResponse struct { // supply is the supply of the coins Supply github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=supply,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"supply"` // pagination defines the pagination in the response. // // Since: cosmos-sdk 0.43 Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method
func (*QueryTotalSupplyResponse) Descriptor ¶ added in v0.40.0
func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int)
func (*QueryTotalSupplyResponse) GetPagination ¶ added in v0.43.0
func (m *QueryTotalSupplyResponse) GetPagination() *query.PageResponse
func (*QueryTotalSupplyResponse) GetSupply ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) GetSupply() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryTotalSupplyResponse) Marshal ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalSupplyResponse) MarshalTo ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSupplyResponse) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSupplyResponse) ProtoMessage ¶ added in v0.40.0
func (*QueryTotalSupplyResponse) ProtoMessage()
func (*QueryTotalSupplyResponse) Reset ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) Reset()
func (*QueryTotalSupplyResponse) Size ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) Size() (n int)
func (*QueryTotalSupplyResponse) String ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) String() string
func (*QueryTotalSupplyResponse) Unmarshal ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalSupplyResponse) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) XXX_DiscardUnknown()
func (*QueryTotalSupplyResponse) XXX_Marshal ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSupplyResponse) XXX_Merge ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) XXX_Merge(src proto.Message)
func (*QueryTotalSupplyResponse) XXX_Size ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) XXX_Size() int
func (*QueryTotalSupplyResponse) XXX_Unmarshal ¶ added in v0.40.0
func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error
type SendAuthorization ¶ added in v0.43.0
type SendAuthorization struct { SpendLimit github_com_cosmos_cosmos_sdk_types.Coins `` /* 135-byte string literal not displayed */ // allow_list specifies an optional list of addresses to whom the grantee can send tokens on behalf of the // granter. If omitted, any recipient is allowed. // // Since: cosmos-sdk 0.47 AllowList []string `protobuf:"bytes,2,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"` }
SendAuthorization allows the grantee to spend up to spend_limit coins from the granter's account.
Since: cosmos-sdk 0.43
func NewSendAuthorization ¶ added in v0.43.0
func NewSendAuthorization(spendLimit sdk.Coins, allowed []sdk.AccAddress) *SendAuthorization
NewSendAuthorization creates a new SendAuthorization object.
func (SendAuthorization) Accept ¶ added in v0.43.0
func (a SendAuthorization) Accept(ctx context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
Accept implements Authorization.Accept.
func (*SendAuthorization) Descriptor ¶ added in v0.43.0
func (*SendAuthorization) Descriptor() ([]byte, []int)
func (*SendAuthorization) GetAllowList ¶ added in v0.47.0
func (m *SendAuthorization) GetAllowList() []string
func (*SendAuthorization) GetSpendLimit ¶ added in v0.43.0
func (m *SendAuthorization) GetSpendLimit() github_com_cosmos_cosmos_sdk_types.Coins
func (*SendAuthorization) Marshal ¶ added in v0.43.0
func (m *SendAuthorization) Marshal() (dAtA []byte, err error)
func (*SendAuthorization) MarshalTo ¶ added in v0.43.0
func (m *SendAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*SendAuthorization) MarshalToSizedBuffer ¶ added in v0.43.0
func (m *SendAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (SendAuthorization) MsgTypeURL ¶ added in v0.43.0
func (a SendAuthorization) MsgTypeURL() string
MsgTypeURL implements Authorization.MsgTypeURL.
func (*SendAuthorization) ProtoMessage ¶ added in v0.43.0
func (*SendAuthorization) ProtoMessage()
func (*SendAuthorization) Reset ¶ added in v0.43.0
func (m *SendAuthorization) Reset()
func (*SendAuthorization) Size ¶ added in v0.43.0
func (m *SendAuthorization) Size() (n int)
func (*SendAuthorization) String ¶ added in v0.43.0
func (m *SendAuthorization) String() string
func (*SendAuthorization) Unmarshal ¶ added in v0.43.0
func (m *SendAuthorization) Unmarshal(dAtA []byte) error
func (SendAuthorization) ValidateBasic ¶ added in v0.43.0
func (a SendAuthorization) ValidateBasic() error
ValidateBasic implements Authorization.ValidateBasic.
func (*SendAuthorization) XXX_DiscardUnknown ¶ added in v0.43.0
func (m *SendAuthorization) XXX_DiscardUnknown()
func (*SendAuthorization) XXX_Marshal ¶ added in v0.43.0
func (m *SendAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendAuthorization) XXX_Merge ¶ added in v0.43.0
func (m *SendAuthorization) XXX_Merge(src proto.Message)
func (*SendAuthorization) XXX_Size ¶ added in v0.43.0
func (m *SendAuthorization) XXX_Size() int
func (*SendAuthorization) XXX_Unmarshal ¶ added in v0.43.0
func (m *SendAuthorization) XXX_Unmarshal(b []byte) error
type SendEnabled ¶ added in v0.40.0
type SendEnabled struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` }
SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).
func GetSendEnabledParams ¶ added in v0.47.6
func GetSendEnabledParams(ctx sdk.Context, legacySubspace exported.Subspace) []*SendEnabled
GetSendEnabledParams retrieves the send enabled parameters from the provided context and legacy subspace.
func NewSendEnabled ¶ added in v0.40.0
func NewSendEnabled(denom string, sendEnabled bool) *SendEnabled
NewSendEnabled creates a new SendEnabled object The denom may be left empty to control the global default setting of send_enabled
func (*SendEnabled) Descriptor ¶ added in v0.40.0
func (*SendEnabled) Descriptor() ([]byte, []int)
func (*SendEnabled) Equal ¶ added in v0.40.0
func (this *SendEnabled) Equal(that interface{}) bool
func (*SendEnabled) GetDenom ¶ added in v0.40.0
func (m *SendEnabled) GetDenom() string
func (*SendEnabled) GetEnabled ¶ added in v0.40.0
func (m *SendEnabled) GetEnabled() bool
func (*SendEnabled) Marshal ¶ added in v0.40.0
func (m *SendEnabled) Marshal() (dAtA []byte, err error)
func (*SendEnabled) MarshalTo ¶ added in v0.40.0
func (m *SendEnabled) MarshalTo(dAtA []byte) (int, error)
func (*SendEnabled) MarshalToSizedBuffer ¶ added in v0.40.0
func (m *SendEnabled) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SendEnabled) ProtoMessage ¶ added in v0.40.0
func (*SendEnabled) ProtoMessage()
func (*SendEnabled) Reset ¶ added in v0.40.0
func (m *SendEnabled) Reset()
func (*SendEnabled) Size ¶ added in v0.40.0
func (m *SendEnabled) Size() (n int)
func (*SendEnabled) String ¶ added in v0.40.0
func (m *SendEnabled) String() string
func (*SendEnabled) Unmarshal ¶ added in v0.40.0
func (m *SendEnabled) Unmarshal(dAtA []byte) error
func (SendEnabled) Validate ¶ added in v0.47.0
func (se SendEnabled) Validate() error
Validate gets any errors with this SendEnabled entry.
func (*SendEnabled) XXX_DiscardUnknown ¶ added in v0.40.0
func (m *SendEnabled) XXX_DiscardUnknown()
func (*SendEnabled) XXX_Marshal ¶ added in v0.40.0
func (m *SendEnabled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendEnabled) XXX_Merge ¶ added in v0.40.0
func (m *SendEnabled) XXX_Merge(src proto.Message)
func (*SendEnabled) XXX_Size ¶ added in v0.40.0
func (m *SendEnabled) XXX_Size() int
func (*SendEnabled) XXX_Unmarshal ¶ added in v0.40.0
func (m *SendEnabled) XXX_Unmarshal(b []byte) error
type SendEnabledParams ¶ added in v0.40.0
type SendEnabledParams []*SendEnabled
SendEnabledParams is a collection of parameters indicating if a coin denom is enabled for sending
type SendRestrictionFn ¶ added in v0.50.1
type SendRestrictionFn func(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) (newToAddr sdk.AccAddress, err error)
A SendRestrictionFn can restrict sends and/or provide a new receiver address.
func ComposeSendRestrictions ¶ added in v0.50.1
func ComposeSendRestrictions(restrictions ...SendRestrictionFn) SendRestrictionFn
ComposeSendRestrictions combines multiple SendRestrictionFn into one. nil entries are ignored. If all entries are nil, nil is returned. If exactly one entry is not nil, it is returned. Otherwise, a new SendRestrictionFn is returned that runs the non-nil restrictions in the order they are given. The composition runs each send restriction until an error is encountered and returns that error, otherwise it returns the toAddr of the last send restriction.
func (SendRestrictionFn) IsOnePerModuleType ¶ added in v0.50.6
func (SendRestrictionFn) IsOnePerModuleType()
IsOnePerModuleType implements the depinject.OnePerModuleType interface.
func (SendRestrictionFn) Then ¶ added in v0.50.1
func (r SendRestrictionFn) Then(second SendRestrictionFn) SendRestrictionFn
Then creates a composite restriction that runs this one then the provided second one.
type Supply
deprecated
type Supply struct {
Total github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=total,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"total"`
}
Supply represents a struct that passively keeps track of the total supply amounts in the network. This message is deprecated now that supply is indexed by denom.
Deprecated: Do not use.
func (*Supply) Descriptor ¶
func (*Supply) MarshalToSizedBuffer ¶
func (*Supply) ProtoMessage ¶
func (*Supply) ProtoMessage()
func (*Supply) XXX_DiscardUnknown ¶
func (m *Supply) XXX_DiscardUnknown()
func (*Supply) XXX_Marshal ¶
func (*Supply) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶ added in v0.40.0
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) MultiSend ¶ added in v0.40.0
func (*UnimplementedMsgServer) MultiSend(ctx context.Context, req *MsgMultiSend) (*MsgMultiSendResponse, error)
func (*UnimplementedMsgServer) Send ¶ added in v0.40.0
func (*UnimplementedMsgServer) Send(ctx context.Context, req *MsgSend) (*MsgSendResponse, error)
func (*UnimplementedMsgServer) SetSendEnabled ¶ added in v0.47.0
func (*UnimplementedMsgServer) SetSendEnabled(ctx context.Context, req *MsgSetSendEnabled) (*MsgSetSendEnabledResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v0.47.0
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶ added in v0.40.0
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllBalances ¶ added in v0.40.0
func (*UnimplementedQueryServer) AllBalances(ctx context.Context, req *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
func (*UnimplementedQueryServer) Balance ¶ added in v0.40.0
func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (*UnimplementedQueryServer) DenomMetadata ¶ added in v0.40.1
func (*UnimplementedQueryServer) DenomMetadata(ctx context.Context, req *QueryDenomMetadataRequest) (*QueryDenomMetadataResponse, error)
func (*UnimplementedQueryServer) DenomMetadataByQueryString ¶ added in v0.50.1
func (*UnimplementedQueryServer) DenomMetadataByQueryString(ctx context.Context, req *QueryDenomMetadataByQueryStringRequest) (*QueryDenomMetadataByQueryStringResponse, error)
func (*UnimplementedQueryServer) DenomOwners ¶ added in v0.46.0
func (*UnimplementedQueryServer) DenomOwners(ctx context.Context, req *QueryDenomOwnersRequest) (*QueryDenomOwnersResponse, error)
func (*UnimplementedQueryServer) DenomOwnersByQuery ¶ added in v0.50.3
func (*UnimplementedQueryServer) DenomOwnersByQuery(ctx context.Context, req *QueryDenomOwnersByQueryRequest) (*QueryDenomOwnersByQueryResponse, error)
func (*UnimplementedQueryServer) DenomsMetadata ¶ added in v0.40.1
func (*UnimplementedQueryServer) DenomsMetadata(ctx context.Context, req *QueryDenomsMetadataRequest) (*QueryDenomsMetadataResponse, error)
func (*UnimplementedQueryServer) Params ¶ added in v0.40.0
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) SendEnabled ¶ added in v0.47.0
func (*UnimplementedQueryServer) SendEnabled(ctx context.Context, req *QuerySendEnabledRequest) (*QuerySendEnabledResponse, error)
func (*UnimplementedQueryServer) SpendableBalanceByDenom ¶ added in v0.47.0
func (*UnimplementedQueryServer) SpendableBalanceByDenom(ctx context.Context, req *QuerySpendableBalanceByDenomRequest) (*QuerySpendableBalanceByDenomResponse, error)
func (*UnimplementedQueryServer) SpendableBalances ¶ added in v0.45.2
func (*UnimplementedQueryServer) SpendableBalances(ctx context.Context, req *QuerySpendableBalancesRequest) (*QuerySpendableBalancesResponse, error)
func (*UnimplementedQueryServer) SupplyOf ¶ added in v0.40.0
func (*UnimplementedQueryServer) SupplyOf(ctx context.Context, req *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error)
func (*UnimplementedQueryServer) TotalSupply ¶ added in v0.40.0
func (*UnimplementedQueryServer) TotalSupply(ctx context.Context, req *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
type VestingAccount ¶ added in v0.46.0
type VestingAccount interface { // LockedCoins returns the set of coins that are not spendable (i.e. locked), // defined as the vesting coins that are not delegated. // // To get spendable coins of a vesting account, first the total balance must // be retrieved and the locked tokens can be subtracted from the total balance. // Note, the spendable balance can be negative. LockedCoins(blockTime time.Time) sdk.Coins // TrackDelegation performs internal vesting accounting necessary when // delegating from a vesting account. It accepts the current block time, the // delegation amount and balance of all coins whose denomination exists in // the account's original vesting balance. TrackDelegation(blockTime time.Time, balance, amount sdk.Coins) // TrackUndelegation performs internal vesting accounting necessary when a // vesting account performs an undelegation. TrackUndelegation(amount sdk.Coins) GetOriginalVesting() sdk.Coins GetDelegatedFree() sdk.Coins GetDelegatedVesting() sdk.Coins }
VestingAccount defines an interface used for account vesting.