m001

package
v0.7.0-alpha.11 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResetAccountAssets = migrations.Migration{
	Contract: accounts.Contract,
	Apply: func(accountsState kv.KVStore, log *logger.Logger) error {
		accounts.NativeTokenOutputMap(accountsState).Erase()
		erasePrefix(accountsState, accounts.PrefixNativeTokens)

		accounts.AllFoundriesMap(accountsState).Erase()
		erasePrefix(accountsState, accounts.PrefixFoundries)

		erasePrefix(accountsState, accounts.PrefixNFTs)
		erasePrefix(accountsState, accounts.PrefixNFTsByCollection)
		accounts.NFTOutputMap(accountsState).Erase()
		accounts.NFTDataMap(accountsState).Erase()
		return nil
	},
}

for testnet -- delete when deploying ShimmerEVM

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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