package
1.10.1
Repository: https://github.com/unification-com/mainchain.git
Documentation: pkg.go.dev

# Functions

DefaultGenesisState creates a default GenesisState object.
default BEACON module parameters.
GetWrkChainIDBytes returns the byte representation of the wrkChainID used for getting the highest WRKChain ID from the database.
GetWrkChainIDFromBytes returns wrkChainID in uint64 format from a byte array used for getting the highest WRKChain ID from the database.
NewGenesisState creates a new GenesisState object.
No description provided by the author
NewMsgRecordBeaconTimestamp is a constructor function for MsgRecordBeaconTimestamp.
NewMsgRecordWrkChainBlock is a constructor function for MsgRecordWrkChainBlock.
NewMsgRegisterWrkChain is a constructor function for MsgRegisterWrkChain.
No description provided by the author
No description provided by the author
No description provided by the author
NewQueryWrkChainParams creates a new instance of QueryWrkChainParams.
No description provided by the author
No description provided by the author
ParamTable for BEACON module.
No description provided by the author
RegisterLegacyAminoCodec registers the necessary x/enterprise 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
ValidateGenesis validates the provided genesis state to ensure the expected invariants holds.
No description provided by the author
No description provided by the author
WrkChainKey gets a specific purchase order ID key for use in the store.
WrkChainStorageLimitKey gets the key for a single wrkChain's specific storage limit.

# Constants

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
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
used in init genesis.
No description provided by the author
used in init genesis.
used in init genesis.
used in init genesis.
No description provided by the author
module name.
No description provided by the author
5 FUND - used in init genesis.
QuerierRoute is the querier route for the wrkchain store.
No description provided by the author
1 FUND - used in init genesis.
1000 FUND - used in init genesis.
No description provided by the author
defined in keys.go file.
StoreKey to be used when creating the KVStore.

# Variables

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
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
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
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
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
key used to store the current highest WRKChain ID.
Parameter store keys.
Parameter store keys.
Parameter store keys.
Parameter store keys.
Parameter store keys.
Parameter store keys.
ModuleCdc references the global x/bank module codec.
No description provided by the author
RegisteredWrkChainPrefix prefix for WRKChain Hashes store.
RegisteredWrkChainPrefix prefix for registered WRKChain store.
WrkChainStorageLimitPrefix prefix for WRKChain storage limit store.

# Structs

GenesisState defines the wrkchain module's genesis state.
MsgPurchaseWrkChainStateStorage represents a message to purchase more wrkchain storage.
MsgPurchaseWrkChainStateStorageResponse defines the Msg/PurchaseWrkChainStateStorage response type.
MsgRecordWrkChainBlock represents a message to submit a set of block hashes for a registered wrkchain.
MsgRecordWrkChainBlockResponse defines the Msg/RecordWrkChainBlock response type.
MsgRegisterWrkChain represents a message to register a new wrkchain.
MsgRegisterWrkChainResponse defines the Msg/RegisterWrkChain response type.
MsgUpdateParams is the Msg/UpdateParams request type.
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Params defines the parameters for the wrkchain module.
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse is the response type for the Query/Params RPC method.
QueryWrkChainBlockParams Params for filtering a WRKChain's block hashes.
QueryWrkChainBlockRequest is the request type for the Query/WrkChainBlock RPC method.
QueryWrkChainBlockResponse is the response type for the Query/WrkChainBlock RPC method.
QueryWrkChainParams Params for query 'custom/wrkchain/registered'.
QueryWrkChainRequest is the request type for the Query/WrkChain RPC method.
QueryWrkChainResponse is the response type for the Query/WrkChain RPC method.
QueryWrkChainsFilteredRequest is the request type for the Query/WrkChainsFiltered RPC method.
QueryWrkChainsFilteredResponse is the response type for the Query/WrkChainsFiltered RPC method.
QueryWrkChainStorageRequest is the request type for the Query/WrkChainStorage RPC method.
QueryWrkChainStorageResponse is the response type for the Query/WrkChainStorage RPC method.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
WrkChain holds metadata about a registered wrkchain.
WrkChainBlock holds data about a wrkchain's block hash submission.
WrkChainBlockGenesisExport is a trimmed version of WrkChainBlock for genesis exports to conserve space.
WrkChainBlockLegacy is only used to support old style hash output for the legacy REST endpoint.
WrkChainExport holds genesis export data for a wrkchain, including hashes.
WrkChainStorageLimit holds tata about the wrkchain's current in-state storage limit.

# Interfaces

AccountKeeper defines the expected account keeper (noalias).
BankKeeper defines the expected bank keeper.
EnterpriseKeeper defines the expected enterprise keeper.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
ParamSubspace defines the expected Subspace interface for parameters (noalias).
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.

# Type aliases

QueryResWrkChainBlockHashes Queries Result Payload for a WRKChain Block Hashes query.
No description provided by the author
No description provided by the author
No description provided by the author