package
0.1.0
Repository: https://github.com/teleport-network/teleport.git
Documentation: pkg.go.dev

# Functions

GetAddressFromBech32 returns the sdk.Account address of given address, while also changing bech32 human readable prefix (HRP) to the value set on the global sdk.Config (eg: `teleport`).
IsSupportedKey returns true if the pubkey type is supported by the chain (i.e eth_secp256k1, amino multisig, ed25519).
NewTeleCoin is a utility function that returns an "atele" coin with the given sdk.Int amount.
NewTeleCoinInt64 is a utility function that returns an "atele" coin with the given int64 amount.
NewTeleDecCoin is a utility function that returns an "atele" decimal coin with the given sdk.Int amount.

# Constants

AttoTele defines the default coin denomination used in Teleport 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 Teleport.
BaseDenom defines to the default denomination used in Teleport (staking, EVN, governance, etc).
BaseDenomUnit defines the base denomination unit for Teles.
DefaultGasPrice is default gas price for evm transactions.
DisplayDenom defines the denomination displayed to users in client applications.

# Variables

PowerReduction defines the default power reduction value for staking (BaseDenomUnit - 2) indicates that staking tokens:power = 1:100, which means we consider 0.01 BaseDenom as 1 power.