upgradeparams

package
v0.7.0-rc0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentUpgradeProposalId

func GetCurrentUpgradeProposalId(ctx sdk.Context) uint64

func GetProposalAcceptHeight

func GetProposalAcceptHeight(ctx sdk.Context) int64

func GetSwitchPeriod

func GetSwitchPeriod(ctx sdk.Context) int64

func SetCurrentUpgradeProposalId

func SetCurrentUpgradeProposalId(ctx sdk.Context, i uint64)

func SetProposalAcceptHeight

func SetProposalAcceptHeight(ctx sdk.Context, i int64)

func SetSwitchPeriod

func SetSwitchPeriod(ctx sdk.Context, i int64)

Types

type CurrentUpgradeProposalIdParam

type CurrentUpgradeProposalIdParam struct {
	Value uint64
	// contains filtered or unexported fields
}
var CurrentUpgradeProposalIdParameter CurrentUpgradeProposalIdParam

func (*CurrentUpgradeProposalIdParam) GetStoreKey

func (param *CurrentUpgradeProposalIdParam) GetStoreKey() []byte

func (*CurrentUpgradeProposalIdParam) InitGenesis

func (param *CurrentUpgradeProposalIdParam) InitGenesis(genesisState interface{})

func (*CurrentUpgradeProposalIdParam) LoadValue

func (param *CurrentUpgradeProposalIdParam) LoadValue(ctx sdk.Context) bool

func (*CurrentUpgradeProposalIdParam) SaveValue

func (param *CurrentUpgradeProposalIdParam) SaveValue(ctx sdk.Context)

func (*CurrentUpgradeProposalIdParam) SetReadWriter

func (param *CurrentUpgradeProposalIdParam) SetReadWriter(paramSpace params.Subspace)

type ProposalAcceptHeightParam

type ProposalAcceptHeightParam struct {
	Value int64
	// contains filtered or unexported fields
}
var ProposalAcceptHeightParameter ProposalAcceptHeightParam

func (*ProposalAcceptHeightParam) GetStoreKey

func (param *ProposalAcceptHeightParam) GetStoreKey() []byte

func (*ProposalAcceptHeightParam) InitGenesis

func (param *ProposalAcceptHeightParam) InitGenesis(genesisState interface{})

func (*ProposalAcceptHeightParam) LoadValue

func (param *ProposalAcceptHeightParam) LoadValue(ctx sdk.Context) bool

func (*ProposalAcceptHeightParam) SaveValue

func (param *ProposalAcceptHeightParam) SaveValue(ctx sdk.Context)

func (*ProposalAcceptHeightParam) SetReadWriter

func (param *ProposalAcceptHeightParam) SetReadWriter(paramSpace params.Subspace)

type SwitchPeriodParam

type SwitchPeriodParam struct {
	Value int64
	// contains filtered or unexported fields
}
var SwitchPeriodParameter SwitchPeriodParam

func (*SwitchPeriodParam) GetStoreKey

func (param *SwitchPeriodParam) GetStoreKey() []byte

func (*SwitchPeriodParam) InitGenesis

func (param *SwitchPeriodParam) InitGenesis(genesisState interface{})

func (*SwitchPeriodParam) LoadValue

func (param *SwitchPeriodParam) LoadValue(ctx sdk.Context) bool

func (*SwitchPeriodParam) SaveValue

func (param *SwitchPeriodParam) SaveValue(ctx sdk.Context)

func (*SwitchPeriodParam) SetReadWriter

func (param *SwitchPeriodParam) SetReadWriter(paramSpace params.Subspace)

Jump to

Keyboard shortcuts

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