Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ModuleName defines the name of the module ModuleName = "configuration" // StoreKey is the key used to identify the module in the KVStore StoreKey = ModuleName // RouterKey is the key used to process transactions for the module RouterKey = ModuleName // QuerierRoute is used to process queries for the module QuerierRoute = ModuleName )
ModuleConst
View Source
const QueryConfig = "configuration"
Query Routes const
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Owner is the configuration owner, the address allowed to register no super user domains Owner sdk.AccAddress // ValidDomain defines a regexp that determines if a domain name is valid or not ValidDomain string // ValidName defines a regexp that determines if an account name is valid or not ValidName string // ValidBlockchainID defines a regexp that determines if a blockchain id is valid or not ValidBlockchainID string // ValidBlockchainAddress determines a regexp for a valid blockchain address ValidBlockchainAddress string // DomainRenew defines the duration of the domain renewal period in seconds DomainRenew int64 // DomainGracePeriod defines the grace period for a domain deletion in seconds DomainGracePeriod int64 }
Config is the configuration of the network
type QueryConfigResponse ¶
type QueryConfigResponse struct {
Configuration Config
}
QueryConfigResponse is the result returned after a query to the chain configuration
Click to show internal directories.
Click to hide internal directories.