Versions in this module Expand all Collapse all v5 v5.0.0 Aug 18, 2023 Changes in this version + type BankMigrate struct + func (m *BankMigrate) Execute(ctx sdk.Context, _ codec.BinaryCodec, from sdk.AccAddress, to common.Address) error + func (m *BankMigrate) Validate(_ sdk.Context, _ codec.BinaryCodec, _ sdk.AccAddress, _ common.Address) error + type DistrStakingMigrate struct + func (m *DistrStakingMigrate) Execute(ctx sdk.Context, cdc codec.BinaryCodec, from sdk.AccAddress, to common.Address) error + func (m *DistrStakingMigrate) Validate(ctx sdk.Context, _ codec.BinaryCodec, from sdk.AccAddress, to common.Address) error + type GovMigrate struct + func (m *GovMigrate) Execute(ctx sdk.Context, cdc codec.BinaryCodec, from sdk.AccAddress, to common.Address) error + func (m *GovMigrate) Validate(ctx sdk.Context, _ codec.BinaryCodec, from sdk.AccAddress, to common.Address) error + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ak types.AccountKeeper) Keeper + func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k Keeper) GetMigrateI() []MigrateI + func (k Keeper) GetMigrateRecord(ctx sdk.Context, addr []byte) (mr types.MigrateRecord, found bool) + func (k Keeper) HasMigrateRecord(ctx sdk.Context, addr []byte) bool + func (k Keeper) HasMigratedDirectionFrom(ctx sdk.Context, addr []byte) bool + func (k Keeper) HasMigratedDirectionTo(ctx sdk.Context, addr common.Address) bool + func (k Keeper) InitGenesis(ctx sdk.Context, state types.GenesisState) + func (k Keeper) IterateMigrateRecords(ctx sdk.Context, cb func(types.MigrateRecord) bool) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) MigrateAccount(goCtx context.Context, msg *types.MsgMigrateAccount) (*types.MsgMigrateAccountResponse, error) + func (k Keeper) MigrateCheckAccount(goCtx context.Context, req *types.QueryMigrateCheckAccountRequest) (*types.QueryMigrateCheckAccountResponse, error) + func (k Keeper) MigrateRecord(ctx context.Context, req *types.QueryMigrateRecordRequest) (*types.QueryMigrateRecordResponse, error) + func (k Keeper) SetMigrateI(migrate ...MigrateI) Keeper + func (k Keeper) SetMigrateRecord(ctx sdk.Context, from sdk.AccAddress, to common.Address) + type MigrateHandler func(ctx sdk.Context, k Keeper, from sdk.AccAddress, to common.Address) error + type MigrateI interface + Execute func(ctx sdk.Context, cdc codec.BinaryCodec, from sdk.AccAddress, to common.Address) error + Validate func(ctx sdk.Context, cdc codec.BinaryCodec, from sdk.AccAddress, to common.Address) error + func NewBankMigrate(bk migratetypes.BankKeeper) MigrateI + func NewDistrStakingMigrate(distrKey, stakingKey storetypes.StoreKey, stakingKeeper types.StakingKeeper) MigrateI + func NewGovMigrate(govKey storetypes.StoreKey, govKeeper types.GovKeeper) MigrateI v5.0.0-rc0 Aug 8, 2023 Other modules containing this package github.com/functionx/fx-core github.com/functionx/fx-core/v2 github.com/functionx/fx-core/v3 github.com/functionx/fx-core/v4 github.com/functionx/fx-core/v6 github.com/functionx/fx-core/v7