Documentation
¶
Index ¶
- Constants
- func CreateUpgradeHandler(mm *module.Manager, configurator module.Configurator, ...) upgradetypes.UpgradeHandler
- func MigrateErc20Module(ctx sdk.Context, keys map[string]*storetypes.KVStoreKey, keeper ERC20Keeper)
- func MigrateEthAccountsToBaseAccounts(ctx sdk.Context, ak authkeeper.AccountKeeper, ek EvmKeeper)
- func MigrateEvmModule(ctx sdk.Context, keys map[string]*storetypes.KVStoreKey, codec codec.Codec, ...) error
- type ERC20Keeper
- type EvmKeeper
Constants ¶
View Source
const (
UpgradeName = "v9.0.0"
)
Variables ¶
This section is empty.
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, storeKeys map[string]*storetypes.KVStoreKey, appCodec codec.Codec, accountKeeper authkeeper.AccountKeeper, evmKeeper EvmKeeper, erc20Keeper ERC20Keeper, ) upgradetypes.UpgradeHandler
func MigrateErc20Module ¶
func MigrateErc20Module(ctx sdk.Context, keys map[string]*storetypes.KVStoreKey, keeper ERC20Keeper)
func MigrateEthAccountsToBaseAccounts ¶
func MigrateEthAccountsToBaseAccounts(ctx sdk.Context, ak authkeeper.AccountKeeper, ek EvmKeeper)
MigrateEthAccountsToBaseAccounts is used to store the code hash of the associated smart contracts in the dedicated store in the EVM module and convert the former EthAccounts to standard Cosmos SDK accounts.
func MigrateEvmModule ¶
func MigrateEvmModule(ctx sdk.Context, keys map[string]*storetypes.KVStoreKey, codec codec.Codec, evmKeeper EvmKeeper) error
Types ¶
type ERC20Keeper ¶
Click to show internal directories.
Click to hide internal directories.