Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2021 v0.1.1 Nov 25, 2021 Changes in this version + const AttributeKeyRecipient + const AttributeKeySender + const AttributeValueCategory + const DefaultParamspace + const DefaultSendEnabled + const EventTypeTransfer + const ModuleName + const QuerierRoute + const QueryAllBalances + const QueryBalance + const QuerySupplyOf + const QueryTotalSupply + const RouterKey + const StoreKey + const TypeMsgMultiSend + const TypeMsgSend + var BalancesPrefix = []byte("balances") + var ErrInputOutputMismatch = sdkerrors.Register(ModuleName, 4, "sum inputs != sum outputs") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrNoInputs = sdkerrors.Register(ModuleName, 2, "no inputs to send transaction") + var ErrNoOutputs = sdkerrors.Register(ModuleName, 3, "no outputs to send transaction") + var ErrSendDisabled = sdkerrors.Register(ModuleName, 5, "send transactions are disabled") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewHybridCodec(amino, types.NewInterfaceRegistry()) + var ParamStoreKeySendEnabled = []byte("sendenabled") + var SupplyKey = []byte + func AddressFromBalancesStore(key []byte) sdk.AccAddress + func ParamKeyTable() paramtypes.KeyTable + func RegisterCodec(cdc *codec.Codec) + func RegisterInterfaces(registry types.InterfaceRegistry) + func ValidateInputsOutputs(inputs []Input, outputs []Output) error + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) types.AccountI + GetAllAccounts func(ctx sdk.Context) []types.AccountI + GetModuleAccount func(ctx sdk.Context, moduleName string) types.ModuleAccountI + GetModuleAccountAndPermissions func(ctx sdk.Context, moduleName string) (types.ModuleAccountI, []string) + GetModuleAddress func(moduleName string) sdk.AccAddress + GetModuleAddressAndPermissions func(moduleName string) (addr sdk.AccAddress, permissions []string) + IterateAccounts func(ctx sdk.Context, process func(types.AccountI) bool) + NewAccount func(sdk.Context, types.AccountI) types.AccountI + NewAccountWithAddress func(ctx sdk.Context, addr sdk.AccAddress) types.AccountI + SetAccount func(ctx sdk.Context, acc types.AccountI) + SetModuleAccount func(ctx sdk.Context, macc types.ModuleAccountI) + ValidatePermissions func(macc types.ModuleAccountI) error + type Balance struct + Address sdk.AccAddress + Coins sdk.Coins + func SanitizeGenesisBalances(balances []Balance) []Balance + func (b Balance) GetAddress() sdk.AccAddress + func (b Balance) GetCoins() sdk.Coins + type GenesisBalancesIterator struct + func (GenesisBalancesIterator) IterateGenesisBalances(cdc *codec.Codec, appState map[string]json.RawMessage, ...) + type GenesisState struct + Balances []Balance + SendEnabled bool + Supply sdk.Coins + func DefaultGenesisState() GenesisState + func GetGenesisStateFromAppState(cdc *codec.Codec, appState map[string]json.RawMessage) GenesisState + func NewGenesisState(sendEnabled bool, balances []Balance, supply sdk.Coins) GenesisState + type Input struct + Address github_com_cosmos_cosmos_sdk_types.AccAddress + Coins github_com_cosmos_cosmos_sdk_types.Coins + func NewInput(addr sdk.AccAddress, coins sdk.Coins) Input + func (*Input) Descriptor() ([]byte, []int) + func (*Input) ProtoMessage() + func (in Input) ValidateBasic() error + func (m *Input) GetAddress() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *Input) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins + 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 (m *Input) Reset() + func (m *Input) Size() (n int) + func (m *Input) String() string + func (m *Input) Unmarshal(dAtA []byte) 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 + func (this *Input) Equal(that interface{}) bool + type MsgMultiSend struct + Inputs []Input + Outputs []Output + func NewMsgMultiSend(in []Input, out []Output) MsgMultiSend + func (*MsgMultiSend) Descriptor() ([]byte, []int) + func (*MsgMultiSend) ProtoMessage() + 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 (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 + func (msg MsgMultiSend) GetSignBytes() []byte + func (msg MsgMultiSend) GetSigners() []sdk.AccAddress + func (msg MsgMultiSend) Route() string + func (msg MsgMultiSend) Type() string + func (msg MsgMultiSend) ValidateBasic() error + func (this *MsgMultiSend) Equal(that interface{}) bool + type MsgSend struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + FromAddress github_com_cosmos_cosmos_sdk_types.AccAddress + ToAddress github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgSend(fromAddr, toAddr sdk.AccAddress, amount sdk.Coins) MsgSend + func (*MsgSend) Descriptor() ([]byte, []int) + func (*MsgSend) ProtoMessage() + func (m *MsgSend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins + func (m *MsgSend) GetFromAddress() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgSend) GetToAddress() github_com_cosmos_cosmos_sdk_types.AccAddress + 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 (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 + func (msg MsgSend) GetSignBytes() []byte + func (msg MsgSend) GetSigners() []sdk.AccAddress + func (msg MsgSend) Route() string + func (msg MsgSend) Type() string + func (msg MsgSend) ValidateBasic() error + func (this *MsgSend) Equal(that interface{}) bool + type Output struct + Address github_com_cosmos_cosmos_sdk_types.AccAddress + Coins github_com_cosmos_cosmos_sdk_types.Coins + func NewOutput(addr sdk.AccAddress, coins sdk.Coins) Output + func (*Output) Descriptor() ([]byte, []int) + func (*Output) ProtoMessage() + func (m *Output) GetAddress() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *Output) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins + 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 (m *Output) Reset() + func (m *Output) Size() (n int) + func (m *Output) String() string + func (m *Output) Unmarshal(dAtA []byte) 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 + func (out Output) ValidateBasic() error + func (this *Output) Equal(that interface{}) bool + type QueryAllBalancesParams struct + Address sdk.AccAddress + func NewQueryAllBalancesParams(addr sdk.AccAddress) QueryAllBalancesParams + type QueryBalanceParams struct + Address sdk.AccAddress + Denom string + func NewQueryBalanceParams(addr sdk.AccAddress, denom string) QueryBalanceParams + type QuerySupplyOfParams struct + Denom string + func NewQuerySupplyOfParams(denom string) QuerySupplyOfParams + type QueryTotalSupplyParams struct + Limit int + Page int + func NewQueryTotalSupplyParams(page, limit int) QueryTotalSupplyParams + type Supply struct + Total github_com_cosmos_cosmos_sdk_types.Coins + func DefaultSupply() *Supply + func NewSupply(total sdk.Coins) *Supply + func (*Supply) Descriptor() ([]byte, []int) + func (*Supply) ProtoMessage() + 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 (m *Supply) Reset() + func (m *Supply) Size() (n int) + 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 + func (supply *Supply) Deflate(amount sdk.Coins) + func (supply *Supply) Inflate(amount sdk.Coins) + func (supply *Supply) SetTotal(total sdk.Coins) + func (supply Supply) GetTotal() sdk.Coins + func (supply Supply) String() string + func (supply Supply) ValidateBasic() error + func (this *Supply) Equal(that interface{}) bool