package
0.0.0-20250108125741-e95afb000453
Repository: https://github.com/evmos/os.git
Documentation: pkg.go.dev

# Functions

BlockGasLimit returns the max gas (limit) defined in the block gas meter.
HasDynamicFeeExtensionOption returns true if the tx implements the `ExtensionOptionDynamicFeeTx` extension option.
IsEmptyHash returns true if the hash corresponds to an empty ethereum hex hash.
IsValidChainID returns false if the given chain identifier is incorrectly formatted.
IsValidInt256 check the bound of 256 bit number.
IsZeroAddress returns true if the address corresponds to an empty ethereum hex address.
NewHDPathIterator receives a base path as a string and a boolean for the desired iterator type and returns a function that iterates over the base HD path, returning the string.
NewInfiniteGasMeterWithLimit returns a reference to a new infiniteGasMeter.
ParseChainID parses a string chain identifier's epoch to an Ethereum-compatible chain-id in *big.Int format.
RegisterInterfaces registers the tendermint concrete client-related implementations and interfaces.
SafeInt64 checks for overflows while casting a uint64 to int64 value.
SafeNewIntFromBigInt constructs Int from big.Int, return error if more than 256bits.
ValidateAddress returns an error if the provided string is either not a hex formatted string address.
ValidateNonZeroAddress returns an error if the provided string is not a hex formatted string address or is equal to zero.

# Constants

ProtocolVersion is the latest supported version of the eth protocol.
RootCodespace is the codespace for all errors defined in this package.

# Variables

AttoPowerReduction defines the power reduction for att units (1e18).
Bip44CoinType satisfies EIP84.
BIP44HDPath is the default BIP44 HD path used on Ethereum.
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidChainID returns an error resulting from an invalid chain ID.
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
MicroPowerReduction defines the power reduction for micro units (1e6).

# Structs

ErrorGasOverflow defines an error thrown when an action results gas consumption unsigned integer overflow.
ErrorNegativeGasConsumed defines an error thrown when the amount of gas refunded results in a negative gas consumed amount.
ExtensionOptionDynamicFeeTx is an extension option that specifies the maxPrioPrice for cosmos tx.
ExtensionOptionsWeb3Tx is an extension option that specifies the typed chain id, the fee payer as well as its signature data.
TxResult is the value stored in eth tx indexer.

# Interfaces

EVMTxIndexer defines the interface of custom eth tx indexer.

# Type aliases

GenesisState of the blockchain is represented here as a map of raw json messages key'd by a identifier string.
No description provided by the author