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

# Packages

No description provided by the author

# Functions

Bech32ToHexAddr converts a given Bech32 address string and converts it to an Ethereum address.
ComputeIBCDenom compute the ibc voucher denom associated to the portID, channelID, and the given a token denomination.
ComputeIBCDenomTrace compute the ibc voucher denom trace associated with the portID, channelID, and the given a token denomination.
CosmosToEthAddr converts a given SDK account address to an Ethereum address.
CreateAccAddressFromBech32 creates an AccAddress from a Bech32 string.
EthHexToCosmosAddr takes a given Hex string and derives a Cosmos SDK account address from it.
EthToCosmosAddr converts a given Ethereum style address to an SDK address.
GetAccAddressFromBech32 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: `evmos`).
GetIBCDenomAddress returns the address from the hash of the ICS20's DenomTrace Path.
IsSupportedKey returns true if the pubkey type is supported by the chain (i.e.
SortSlice sorts a slice of any ordered type.