package
0.0.0-20220620005849-a315113d9162
Repository: https://github.com/mycodeku/transtionhelper.git
Documentation: pkg.go.dev
# Functions
AddressAndDenomFromBalancesStore returns an account address and denom from a balances prefix store.
CreateAccountBalancesPrefix creates the prefix for an account's balances.
CreateDenomAddressPrefix creates a prefix for a reverse index of denomination to account balance for that denomination.
DefaultGenesisState returns a default bank module genesis state.
DefaultParams is the default parameter configuration for the bank module.
GetGenesisStateFromAppState returns x/bank GenesisState given raw application genesis state.
NewCoinBurnEvent constructs a new coin burned sdk.Event nolint: interfacer.
NewCoinMintEvent construct a new coin minted sdk.Event nolint: interfacer.
NewCoinReceivedEvent constructs a new coin received sdk.Event nolint: interfacer.
NewCoinSpentEvent constructs a new coin spent sdk.Event nolint: interfacer.
NewGenesisState creates a new genesis state.
NewInput - create a transaction input, used with MsgMultiSendnolint:interfacer.
No description provided by the author
NewMsgMultiSend - construct arbitrary multi-in, multi-out send msg.
NewMsgSend - construct a msg to send coins from one account to another.nolint:interfacer.
NewOutput - create a transaction output, used with MsgMultiSendnolint:interfacer.
NewParams creates a new parameter configuration for the bank module.
NewQueryAllBalancesRequest creates a new instance of QueryAllBalancesRequest.nolint:interfacer.
NewQueryBalanceRequest creates a new instance of QueryBalanceRequest.nolint:interfacer.
No description provided by the author
NewQuerySpendableBalancesRequest creates a new instance of a QuerySpendableBalancesRequest.
NewQuerySupplyOfParams creates a new instance to query the total supply of a given denomination.
NewQueryTotalSupplyParams creates a new instance to query the total supply.
NewSendAuthorization creates a new SendAuthorization object.
NewSendEnabled creates a new SendEnabled object The denom may be left empty to control the global default setting of send_enabled.
ParamKeyTable for bank module.
No description provided by the author
RegisterLegacyAminoCodec registers the necessary x/bank interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
SanitizeGenesisBalances sorts addresses and coin sets.
ValidateInputsOutputs validates that each respective input and output is valid and that the sum of inputs is equal to the sum of outputs.
# Constants
bank module event types.
bank module event types.
bank module event types.
bank module event types.
bank module event types.
bank module event types.
bank module event types.
DefaultSendEnabled enabled.
bank module event types.
NOTE(fdymylja): using mint clashes with mint module event.
bank module event types.
supply and balance tracking events name and attributes.
bank module event types.
ModuleName defines the module name.
QuerierRoute defines the module's query routing key.
Querier path constants.
Querier path constants.
Querier path constants.
Querier path constants.
RouterKey defines the module's message routing key.
StoreKey defines the primary module store key.
bank message types.
bank message types.
# Variables
BalancesPrefix is the prefix for the account balances store.
KVStore keys.
KVStore keys.
x/bank module sentinel errors.
x/bank module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/bank module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/bank module sentinel errors.
x/bank module sentinel errors.
x/bank module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
KeyDefaultSendEnabled is store's key for the DefaultSendEnabled option.
KeySendEnabled is store's key for SendEnabled Params.
KVStore keys.
# Structs
Balance defines an account address and balance pair used in the bank module's genesis state.
DenomOwner defines structure representing an account that owns or holds a particular denominated token.
DenomUnit represents a struct that describes a given denomination unit of the basic token.
GenesisBalancesIterator implements genesis account iteration.
GenesisState defines the bank module's genesis state.
Input models transaction input.
Metadata represents a struct that describes a basic token.
MsgMultiSend represents an arbitrary multi-in, multi-out send message.
MsgMultiSendResponse defines the Msg/MultiSend response type.
MsgSend represents a message to send coins from one account to another.
MsgSendResponse defines the Msg/Send response type.
Output models transaction outputs.
Params defines the parameters for the bank module.
QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.
QueryBalanceRequest is the request type for the Query/Balance RPC method.
QueryBalanceResponse is the response type for the Query/Balance RPC method.
QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.
QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method.
QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, which queries for a paginated set of all account holders of a particular denomination.
QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.
QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.
QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC method.
QueryParamsRequest defines the request type for querying x/bank parameters.
QueryParamsResponse defines the response type for querying x/bank parameters.
QuerySpendableBalancesRequest defines the gRPC request structure for querying an account's spendable balances.
QuerySpendableBalancesResponse defines the gRPC response structure for querying an account's spendable balances.
QuerySupplyOfParams defines the params for the following queries:
- 'custom/bank/totalSupplyOf'.
QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
QueryTotalSupplyParams defines the params for the following queries:
- 'custom/bank/totalSupply'.
QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.
QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method.
SendAuthorization allows the grantee to spend up to spend_limit coins from the granter's account.
SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).
Supply represents a struct that passively keeps track of the total supply amounts in the network.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
# Interfaces
AccountKeeper defines the account contract that must be fulfilled when creating a x/bank keeper.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
VestingAccount defines an interface used for account vesting.
# Type aliases
SendEnabledParams is a collection of parameters indicating if a coin denom is enabled for sending.