Documentation ¶
Index ¶
- func UpdateFileTree(ctx sdk.Context, fk *filetreemodulekeeper.Keeper, merkleMap map[string][]byte)
- func UpdateFiles(ctx sdk.Context, sk *storagekeeper.Keeper) map[string][]byte
- func UpdatePaymentInfo(ctx sdk.Context, sk *storagekeeper.Keeper)
- type FidContents
- type LegacyMarker
- type MerkleContents
- type Upgrade
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateFileTree ¶
func UpdateFiles ¶
func UpdatePaymentInfo ¶
func UpdatePaymentInfo(ctx sdk.Context, sk *storagekeeper.Keeper)
Types ¶
type FidContents ¶
type FidContents struct {
Fid []string `json:"fids"`
}
type LegacyMarker ¶
type MerkleContents ¶
type MerkleContents struct {
Merkles [][]byte `json:"legacyMerkles"`
}
type Upgrade ¶
type Upgrade struct {
// contains filtered or unexported fields
}
Upgrade represents the v4 upgrade
func NewUpgrade ¶
func NewUpgrade(mm *module.Manager, configurator module.Configurator, sk *storagekeeper.Keeper, fk *filetreemodulekeeper.Keeper, bk storagemoduletypes.BankKeeper) *Upgrade
NewUpgrade returns a new Upgrade instance
func (*Upgrade) Handler ¶
func (u *Upgrade) Handler() upgradetypes.UpgradeHandler
Handler implements upgrades.Upgrade
func (*Upgrade) ProvisionGauges ¶
ProvisionGauges creates new gauges from the already existing tokens. All tokens in the deposit wallet will be drip fed out to the storage providers for storage they are already providing.
func (*Upgrade) StoreUpgrades ¶
func (u *Upgrade) StoreUpgrades() *storetypes.StoreUpgrades
StoreUpgrades implements upgrades.Upgrade
Click to show internal directories.
Click to hide internal directories.