v0_11

package
v0.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(genDoc tmtypes.GenesisDoc) tmtypes.GenesisDoc

Migrate translates a genesis file from kava v0.9 (or v0.10) format to kava v0.11.x format.

func MigrateAppState

func MigrateAppState(v0_9AppState v39_genutil.AppMap) v39_genutil.AppMap

MigrateAppState migrates application state from v0.9 (or v0.10) format to a kava v0.11.x format

func MigrateAuth

func MigrateAuth(oldGenState v38_5auth.GenesisState) v39_1auth.GenesisState

MigrateAuth migrates from a v0.38.5 auth genesis state to a v0.39.1 auth genesis state

func MigrateBep3

func MigrateBep3(oldGenState v0_9bep3.GenesisState) v0_11bep3.GenesisState

MigrateBep3 migrates from a v0.9 (or v0.10) bep3 genesis state to a v0.11 bep3 genesis state

func MigrateCDP

func MigrateCDP(oldGenState v0_9cdp.GenesisState) v0_11cdp.GenesisState

MigrateCDP migrates from a v0.9 (or v0.10) cdp genesis state to a v0.11 cdp genesis state

func MigrateCommittee

func MigrateCommittee(oldGenState v0_9committee.GenesisState) v0_11committee.GenesisState

MigrateCommittee migrates from a v0.9 (or v0.10) committee genesis state to a v0.11 committee genesis state

func MigrateGov

func MigrateGov(oldGenState v39_1gov.GenesisState) v39_1gov.GenesisState

MigrateGov migrates gov genesis state

func MigrateHarvest

func MigrateHarvest() v0_11harvest.GenesisState

MigrateHarvest initializes the harvest genesis state for kava-4

func MigrateIncentive

func MigrateIncentive(oldGenState v0_9incentive.GenesisState) v0_11incentive.GenesisState

MigrateIncentive migrates from a v0.9 (or v0.10) incentive genesis state to a v0.11 incentive genesis state

func MigratePricefeed

func MigratePricefeed(oldGenState v0_9pricefeed.GenesisState) v0_11pricefeed.GenesisState

MigratePricefeed migrates from a v0.9 (or v0.10) pricefeed genesis state to a v0.11 pricefeed genesis state

func MigrateSupply

func MigrateSupply(oldGenState v39_1supply.GenesisState, deputyBalance sdk.Coin, hardBalance sdk.Coin) v39_1supply.GenesisState

MigrateSupply reconciles supply from kava-3 to kava-4 deputy balance of bnb coins is removed (deputy now mints coins) hard token supply is added

Types

This section is empty.

Directories

Path Synopsis
legacy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL