FixedSlashSlashingLibrary
Verified contract
Active on
Ethereum with 0 txns
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
No balances found for "FixedSlashSlashingLibrary"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "FixedSlashSlashingLibrary"
ABI
ABI objects
Getter at block 21241973
baseSlashAmount() view returns (uint256)
1000000000000000
governanceSlashAmount() view returns (uint256)
0
Read-only
calcNoVoteSlashPerToken(uint256 totalStaked, uint256 totalVotes, uint256 totalCorrectVotes, uint256 priceRequestIndex) view returns (uint256)
calcSlashing(uint256 totalStaked, uint256 totalVotes, uint256 totalCorrectVotes, uint256 priceRequestIndex, bool isGovernance) view returns (uint256 wrongVoteSlashPerToken, uint256 noVoteSlashPerToken)
calcWrongVoteSlashPerToken(uint256 totalStaked, uint256 totalVotes, uint256 totalCorrectVotes, uint256 priceRequestIndex) view returns (uint256)
calcWrongVoteSlashPerTokenGovernance(uint256 totalStaked, uint256 totalVotes, uint256 totalCorrectVotes, uint256 priceRequestIndex) view returns (uint256)
State-modifying
Events This contract contains no state-modifying function objects.
This contract contains no event objects.
constructor(uint256 _baseSlashAmount, uint256 _governanceSlashAmount)
This contract contains no fallback and receive objects.
This contract contains no error objects.