Documentation
¶
Index ¶
Constants ¶
View Source
const ( // BaseNativeDenom defines the default coin denomination used in Ethermint in: // // - Staking parameters: denomination used as stake in the PoS 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 Ethermint. BaseNativeDenom string = "uplugcn" //DisplayNativeDenom defines the denomination displayed to users in client applications. DisplayNativeDenom string = "plugcn" // BaseDenomUnit defines the base denomination unit for plugcns. // 1 plugcn = 1x10^{BaseDenomUnit} uplugcn BaseDenomUnit = 6 // DefaultGasPrice is default gas price for evm transactions DefaultGasPrice = 20 )
Variables ¶
This section is empty.
Functions ¶
func NewSocketCoin ¶
NewSocketCoin is a utility function that returns an "uplugcn" coin with the given sdk.Int amount. The function will panic if the provided amount is negative.
func NewSocketCoinInt64 ¶
NewSocketCoinInt64 is a utility function that returns an "uplugcn" coin with the given int64 amount. The function will panic if the provided amount is negative.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.