FixedSlashSlashingLibrary

Verified contract

Active on Ethereum with 0 txns
Deployed by via 0x550f9f25 at 16692876
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "FixedSlashSlashingLibrary"

No transactions found for "FixedSlashSlashingLibrary"


Functions
Getter at block 21241973
baseSlashAmount(view returns (uint256)
1000000000000000
governanceSlashAmount(view returns (uint256)
0
Read-only
calcNoVoteSlashPerToken(uint256 totalStakeduint256 totalVotesuint256 totalCorrectVotesuint256 priceRequestIndexview returns (uint256)
calcSlashing(uint256 totalStakeduint256 totalVotesuint256 totalCorrectVotesuint256 priceRequestIndexbool isGovernanceview returns (uint256 wrongVoteSlashPerTokenuint256 noVoteSlashPerToken)
calcWrongVoteSlashPerToken(uint256 totalStakeduint256 totalVotesuint256 totalCorrectVotesuint256 priceRequestIndexview returns (uint256)
calcWrongVoteSlashPerTokenGovernance(uint256 totalStakeduint256 totalVotesuint256 totalCorrectVotesuint256 priceRequestIndexview returns (uint256)
State-modifying

This contract contains no state-modifying function objects.

Events

This contract contains no event objects.

Constructor
constructor(uint256 _baseSlashAmountuint256 _governanceSlashAmount
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.