upgradeparams

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 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) int64

func GetProposalAcceptHeight

func GetProposalAcceptHeight(ctx sdk.Context) int64

func GetSwitchPeriod

func GetSwitchPeriod(ctx sdk.Context) int64

func SetCurrentUpgradeProposalId

func SetCurrentUpgradeProposalId(ctx sdk.Context, i int64)

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 int64
	// contains filtered or unexported fields
}
var CurrentUpgradeProposalIdParameter CurrentUpgradeProposalIdParam

func (*CurrentUpgradeProposalIdParam) GetStoreKey

func (param *CurrentUpgradeProposalIdParam) GetStoreKey() string

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(setter params.Setter)

type ProposalAcceptHeightParam

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

func (*ProposalAcceptHeightParam) GetStoreKey

func (param *ProposalAcceptHeightParam) GetStoreKey() string

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(setter params.Setter)

type SwitchPeriodParam

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

func (*SwitchPeriodParam) GetStoreKey

func (param *SwitchPeriodParam) GetStoreKey() string

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(setter params.Setter)

Jump to

Keyboard shortcuts

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