Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "v1.1.0"
Variables ¶
View Source
var ( KeySPWithdrawalTotalPeriods = []byte("SPWithdrawalTotalPeriods") KeySPWithdrawalPeriodDurationSeconds = []byte("SPWithdrawalPeriodDurationSeconds") )
Functions ¶
func Handler ¶
func Handler( cfg module.Configurator, mm *module.Manager, cdc *codec.LegacyAmino, scorumParamSpace paramtypes.Subspace, pk paramskeeper.Keeper, cpk *consensusparamkeeper.Keeper, sk scorumkeeper.Keeper, bk bankkeeper.Keeper, gk govkeeper.Keeper, mk mintkeeper.Keeper, stk *stakingkeeper.Keeper, ) func(ctx sdk.Context, _ upgrade.Plan, _ module.VersionMap) (module.VersionMap, error)
Types ¶
type Params ¶
type Params struct { Supervisors []string `protobuf:"bytes,1,rep,name=supervisors,proto3" json:"supervisors,omitempty"` GasLimit sdk.IntProto `protobuf:"bytes,2,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit"` GasUnconditionedAmount sdk.IntProto `protobuf:"bytes,3,opt,name=gas_unconditioned_amount,json=gasUnconditionedAmount,proto3" json:"gas_unconditioned_amount"` GasAdjustCoefficient sdk.DecProto `protobuf:"bytes,4,opt,name=gas_adjust_coefficient,json=gasAdjustCoefficient,proto3" json:"gas_adjust_coefficient"` SpWithdrawalTotalPeriods uint32 `` /* 138-byte string literal not displayed */ SpWithdrawalPeriodDurationSeconds uint32 `` /* 167-byte string literal not displayed */ ValidatorsReward scorumtypes.ValidatorsRewardParams `protobuf:"bytes,7,opt,name=validators_reward,json=validatorsReward,proto3" json:"validators_reward"` }
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
Click to show internal directories.
Click to hide internal directories.