Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApplicationName = "serv" ApplicationBinaryName = "servnode" ApplicationHome = ".serv" GitHubRepo = "https://github.com/servprotocolorg/serv" // must be well-formed url pattern: "https://github.com/owner/repo" )
View Source
const ( // BaseDenom defines the default coin denomination used on this chain in: // // - Staking parameters: denomination used as stake in the dPoS chain // - Mint parameters: denomination minted due to fee distribution rewards // - Governance parameters: denomination used for spam prevention in proposal deposits // - Crisis parameters: constant fee denomination used for spam prevention to check broken invariant // - EVM parameters: denomination used for running EVM state transitions in this chain. // // During code, we will use the term 'native coin' for this denomination // so other developers can take advantage of renaming constants when forking this project. BaseDenom = "aservo" DisplayDenom = "serv" SymbolDenom = "SERV" BaseDenomExponent = 18 )
View Source
const ( // Bech32Prefix is the HRP (human-readable part) of the Bech32 encoded address of this chain Bech32Prefix = "sx" // Bech32PrefixAccAddr defines the Bech32 prefix of an account's address Bech32PrefixAccAddr = Bech32Prefix // Bech32PrefixAccPub defines the Bech32 prefix of an account's public key Bech32PrefixAccPub = Bech32Prefix + sdk.PrefixPublic // Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address Bech32PrefixValAddr = Bech32Prefix + sdk.PrefixValidator + sdk.PrefixOperator // Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key Bech32PrefixValPub = Bech32Prefix + sdk.PrefixValidator + sdk.PrefixOperator + sdk.PrefixPublic // Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address Bech32PrefixConsAddr = Bech32Prefix + sdk.PrefixValidator + sdk.PrefixConsensus // Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key Bech32PrefixConsPub = Bech32Prefix + sdk.PrefixValidator + sdk.PrefixConsensus + sdk.PrefixPublic )
View Source
const ( ChainIdPrefix = "serv" // MainnetChainID defines the Cosmos-style EIP155 chain ID for mainnet MainnetChainID = ChainIdPrefix + "_53970" // TestnetChainID defines the Cosmos-style EIP155 chain ID for testnet TestnetChainID = ChainIdPrefix + "_43970" // DevnetChainID defines the Cosmos-style EIP155 chain ID for devnet DevnetChainID = ChainIdPrefix + "_33970" MainnetFullChainId = MainnetChainID + "-1" TestnetFullChainId = TestnetChainID + "-1" DevnetFullChainId = DevnetChainID + "-1" MainnetEIP155ChainId = 53970 TestnetEIP155ChainId = 43970 DevnetEIP155ChainId = 33970 )
View Source
const ( EthermintExtensionOptionsEthereumTx = "/ethermint.evm.v1.ExtensionOptionsEthereumTx" EthermintExtensionOptionsWeb3Tx = "/ethermint.types.v1.ExtensionOptionsWeb3Tx" EthermintExtensionOptionDynamicFeeTx = "/ethermint.types.v1.ExtensionOptionDynamicFeeTx" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.