package
0.0.0-20220620005849-a315113d9162
Repository: https://github.com/mycodeku/transtionhelper.git
Documentation: pkg.go.dev
# Functions
AddressStoreKey turn an address to key used to get it from the account store.
DefaultGenesisState - Return a default genesis state.
DefaultParams returns a default set of parameters.
GetGenesisStateFromAppState returns x/auth GenesisState given raw application genesis state.
NewBaseAccount creates a new BaseAccount objectnolint:interfacer.
NewBaseAccountWithAddress - returns a new base account with a given address leaving AccountNumber and Sequence to zero.
NewEmptyModuleAccount creates a empty ModuleAccount from a string.
NewGenesisState - Create a new genesis state.
NewModuleAccount creates a new ModuleAccount instance.
NewModuleAddress creates an AccAddress from the hash of the module's name.
NewParams creates a new Params object.
NewPermissionsForAddress creates a new PermissionsForAddress object.
No description provided by the author
PackAccounts converts GenesisAccounts to Any slice.
ParamKeyTable for auth module.
ProtoBaseAccount - a prototype function for BaseAccount.
RegisterInterfaces associates protoName with AccountI interface and creates a registry of it's concrete implementations.
RegisterLegacyAminoCodec registers the account interfaces and concrete types on the provided LegacyAmino codec.
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
SanitizeGenesisAccounts sorts accounts and coin sets.
UnpackAccounts converts Any slice to GenesisAccounts.
ValidateGenAccounts validates an array of GenesisAccounts and checks for duplicates.
ValidateGenesis performs basic validation of auth genesis data returning an error for any failed validation criteria.
# Constants
permissions.
Default parameter values.
Default parameter values.
Default parameter values.
Default parameter values.
Default parameter values.
FeeCollectorName the root string for the fee collector account address.
permissions.
module name.
QuerierRoute is the querier route for auth.
query endpoints supported by the auth Querier.
query endpoints supported by the auth Querier.
permissions.
StoreKey is string representation of the store key for auth.
# Variables
AddressStoreKeyPrefix prefix for account-by-address store.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
param key for global account number.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
Parameter keys.
# Structs
AccountRetriever defines the properties of a type that can be used to retrieve accounts.
AddressBytesToStringRequest is the request type for AddressString rpc method.
AddressBytesToStringResponse is the response type for AddressString rpc method.
AddressStringToBytesRequest is the request type for AccountBytes rpc method.
AddressStringToBytesResponse is the response type for AddressBytes rpc method.
BaseAccount defines a base account type.
Bech32PrefixRequest is the request type for Bech32Prefix rpc method.
Bech32PrefixResponse is the response type for Bech32Prefix rpc method.
GenesisAccountIterator implements genesis account iteration.
GenesisState defines the auth module's genesis state.
ModuleAccount defines an account for modules that holds coins on a pool.
Params defines the parameters for the auth module.
PermissionsForAddress defines all the registered permissions for an address.
QueryAccountRequest is the request type for the Query/Account RPC method.
QueryAccountResponse is the response type for the Query/Account RPC method.
QueryAccountsRequest is the request type for the Query/Accounts RPC method.
QueryAccountsResponse is the response type for the Query/Accounts RPC method.
QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method.
QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method.
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse is the response type for the Query/Params RPC method.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
# Interfaces
AccountI is an interface used to store coins at a given address within state.
BankKeeper defines the contract needed for supply related APIs (noalias).
GenesisAccount defines a genesis account that embeds an AccountI with validation capabilities.
ModuleAccountI defines an account interface for modules that hold tokens in an escrow.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
# Type aliases
GenesisAccounts defines a slice of GenesisAccount objects.
RandomGenesisAccountsFn defines the function required to generate custom account types.