Properties
Private
Readonly
_changeCommissionCommand
_changeCommissionCommand: ChangeCommissionCommand = ...
Private
Readonly
_claimRewardsCommand
_claimRewardsCommand: ClaimRewardsCommand = ...
Private
_feeMethod
_feeMethod: FeeMethod
Private
Readonly
_internalMethod
_internalMethod: InternalMethod = ...
Private
_moduleConfig
_moduleConfig: ModuleConfig
Private
_randomMethod
_randomMethod: RandomMethod
Private
Readonly
_registerValidatorCommand
Private
Readonly
_reportMisbehaviorCommand
Private
Readonly
_stakeCommand
Private
_tokenMethod
_tokenMethod: TokenMethod
Private
Readonly
_unlockCommand
Private
Readonly
_updateGeneratorKeyCommand
Private
_validatorsMethod
_validatorsMethod: ValidatorsMethod
configSchema
configSchema: {
$id: string;
properties: {
baseStakeAmount: {
format: string;
minimum: number;
type: string;
};
commissionIncreasePeriod: {
format: string;
type: string;
};
factorSelfStakes: {
format: string;
minimum: number;
type: string;
};
failSafeInactiveWindow: {
format: string;
maximum: number;
minimum: number;
type: string;
};
failSafeMissedBlocks: {
format: string;
minimum: number;
type: string;
};
lockingPeriodSelfStaking: {
format: string;
type: string;
};
lockingPeriodStaking: {
format: string;
type: string;
};
maxBFTWeightCap: {
format: string;
maximum: number;
minimum: number;
type: string;
};
maxCommissionIncreaseRate: {
format: string;
maximum: number;
minimum: number;
type: string;
};
maxLengthName: {
format: string;
maximum: number;
minimum: number;
type: string;
};
maxNumberPendingUnlocks: {
format: string;
maximum: number;
minimum: number;
type: string;
};
maxNumberSentStakes: {
format: string;
maximum: number;
minimum: number;
type: string;
};
minWeightStandby: {
format: string;
minimum: number;
type: string;
};
numberActiveValidators: {
format: string;
maximum: number;
minimum: number;
type: string;
};
numberStandbyValidators: {
format: string;
maximum: number;
type: string;
};
posTokenID: {
format: string;
type: string;
};
punishmentWindowSelfStaking: {
format: string;
maximum: number;
minimum: number;
type: string;
};
reportMisbehaviorLimitBanned: {
format: string;
minimum: number;
type: string;
};
reportMisbehaviorReward: {
format: string;
type: string;
};
useInvalidBLSKey: {
type: string;
};
validatorRegistrationFee: {
format: string;
type: string;
};
};
required: string[];
type: string;
} = configSchema
Type declaration
-
$id: string
-
properties: {
baseStakeAmount: {
format: string;
minimum: number;
type: string;
};
commissionIncreasePeriod: {
format: string;
type: string;
};
factorSelfStakes: {
format: string;
minimum: number;
type: string;
};
failSafeInactiveWindow: {
format: string;
maximum: number;
minimum: number;
type: string;
};
failSafeMissedBlocks: {
format: string;
minimum: number;
type: string;
};
lockingPeriodSelfStaking: {
format: string;
type: string;
};
lockingPeriodStaking: {
format: string;
type: string;
};
maxBFTWeightCap: {
format: string;
maximum: number;
minimum: number;
type: string;
};
maxCommissionIncreaseRate: {
format: string;
maximum: number;
minimum: number;
type: string;
};
maxLengthName: {
format: string;
maximum: number;
minimum: number;
type: string;
};
maxNumberPendingUnlocks: {
format: string;
maximum: number;
minimum: number;
type: string;
};
maxNumberSentStakes: {
format: string;
maximum: number;
minimum: number;
type: string;
};
minWeightStandby: {
format: string;
minimum: number;
type: string;
};
numberActiveValidators: {
format: string;
maximum: number;
minimum: number;
type: string;
};
numberStandbyValidators: {
format: string;
maximum: number;
type: string;
};
posTokenID: {
format: string;
type: string;
};
punishmentWindowSelfStaking: {
format: string;
maximum: number;
minimum: number;
type: string;
};
reportMisbehaviorLimitBanned: {
format: string;
minimum: number;
type: string;
};
reportMisbehaviorReward: {
format: string;
type: string;
};
useInvalidBLSKey: {
type: string;
};
validatorRegistrationFee: {
format: string;
type: string;
};
}
-
baseStakeAmount: {
format: string;
minimum: number;
type: string;
}
-
format: string
-
minimum: number
-
type: string
-
commissionIncreasePeriod: {
format: string;
type: string;
}
-
format: string
-
type: string
-
factorSelfStakes: {
format: string;
minimum: number;
type: string;
}
-
format: string
-
minimum: number
-
type: string
-
failSafeInactiveWindow: {
format: string;
maximum: number;
minimum: number;
type: string;
}
-
format: string
-
maximum: number
-
minimum: number
-
type: string
-
failSafeMissedBlocks: {
format: string;
minimum: number;
type: string;
}
-
format: string
-
minimum: number
-
type: string
-
lockingPeriodSelfStaking: {
format: string;
type: string;
}
-
format: string
-
type: string
-
lockingPeriodStaking: {
format: string;
type: string;
}
-
format: string
-
type: string
-
maxBFTWeightCap: {
format: string;
maximum: number;
minimum: number;
type: string;
}
-
format: string
-
maximum: number
-
minimum: number
-
type: string
-
maxCommissionIncreaseRate: {
format: string;
maximum: number;
minimum: number;
type: string;
}
-
format: string
-
maximum: number
-
minimum: number
-
type: string
-
maxLengthName: {
format: string;
maximum: number;
minimum: number;
type: string;
}
-
format: string
-
maximum: number
-
minimum: number
-
type: string
-
maxNumberPendingUnlocks: {
format: string;
maximum: number;
minimum: number;
type: string;
}
-
format: string
-
maximum: number
-
minimum: number
-
type: string
-
maxNumberSentStakes: {
format: string;
maximum: number;
minimum: number;
type: string;
}
-
format: string
-
maximum: number
-
minimum: number
-
type: string
-
minWeightStandby: {
format: string;
minimum: number;
type: string;
}
-
format: string
-
minimum: number
-
type: string
-
numberActiveValidators: {
format: string;
maximum: number;
minimum: number;
type: string;
}
-
format: string
-
maximum: number
-
minimum: number
-
type: string
-
numberStandbyValidators: {
format: string;
maximum: number;
type: string;
}
-
format: string
-
maximum: number
-
type: string
-
posTokenID: {
format: string;
type: string;
}
-
format: string
-
type: string
-
punishmentWindowSelfStaking: {
format: string;
maximum: number;
minimum: number;
type: string;
}
-
format: string
-
maximum: number
-
minimum: number
-
type: string
-
reportMisbehaviorLimitBanned: {
format: string;
minimum: number;
type: string;
}
-
format: string
-
minimum: number
-
type: string
-
reportMisbehaviorReward: {
format: string;
type: string;
}
-
format: string
-
type: string
-
useInvalidBLSKey: {
type: string;
}
-
validatorRegistrationFee: {
format: string;
type: string;
}
-
format: string
-
type: string
-
required: string[]
-
type: string
endpoint
endpoint: PoSEndpoint = ...