ValidatorService
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
0x0000…0000
Balances ($0.00)
No balances found for "ValidatorService"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ValidatorService"
ABI
ABI objects
Getter at block 21282410 getMyNodesAddresses() view returns (address[])
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
VALIDATOR_MANAGER_ROLE() view returns (bytes32)
0x87421e189bd94dc1673f0d5255fa9f0cb8ff65bb74e34e0a80b07e9f0b4e34d5
contractManager() view returns (address)
0x0000000000000000000000000000000000000000
getTrustedValidators() view returns (uint256[])
[]
numberOfValidators() view returns (uint256)
0
useWhitelist() view returns (bool)
false
Read-only
checkIfValidatorAddressExists(address validatorAddress) view
checkValidatorAddressToId(address validatorAddress, uint256 validatorId) view returns (bool)
checkValidatorCanReceiveDelegation(uint256 validatorId, uint256 amount) view
getNodeAddresses(uint256 validatorId) view returns (address[])
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getValidator(uint256 validatorId) view returns (struct IValidatorServiceValidator)
getValidatorId(address validatorAddress) view returns (uint256)
getValidatorIdByNodeAddress(address nodeAddress) view returns (uint256 validatorId)
hasRole(bytes32 role, address account) view returns (bool)
isAcceptingNewRequests(uint256 validatorId) view returns (bool)
isAuthorizedValidator(uint256 validatorId) view returns (bool)
trustedValidatorsList(uint256) view returns (uint256)
validatorAddressExists(address validatorAddress) view returns (bool)
validatorExists(uint256 validatorId) view returns (bool)
validators(uint256) view returns (string name, address validatorAddress, address requestedAddress, string description, uint256 feeRate, uint256 registrationTime, uint256 minimumDelegationAmount, bool acceptNewRequests)
State-modifying
Events confirmNewAddress(uint256 validatorId)
disableValidator(uint256 validatorId)
disableWhitelist()
enableValidator(uint256 validatorId)
getAndUpdateBondAmount(uint256 validatorId) returns (uint256)
grantRole(bytes32 role, address account)
initialize(address contractManagerAddress)
linkNodeAddress(address nodeAddress, bytes sig)
registerValidator(string name, string description, uint256 feeRate, uint256 minimumDelegationAmount) returns (uint256 validatorId)
removeNodeAddress(uint256 validatorId, address nodeAddress)
renounceRole(bytes32 role, address account)
requestForNewAddress(address newValidatorAddress)
revokeRole(bytes32 role, address account)
setValidatorDescription(string newDescription)
setValidatorMDA(uint256 minimumDelegationAmount)
setValidatorName(string newName)
startAcceptingNewRequests()
stopAcceptingNewRequests()
unlinkNodeAddress(address nodeAddress)
AcceptingNewRequests(uint256 indexed validatorId, bool status)
NodeAddressWasAdded(uint256 validatorId, address nodeAddress)
NodeAddressWasRemoved(uint256 validatorId, address nodeAddress)
RequestNewAddress(uint256 indexed validatorId, address previousAddress, address newAddress)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetMinimumDelegationAmount(uint256 indexed validatorId, uint256 previousMDA, uint256 newMDA)
SetValidatorDescription(uint256 indexed validatorId, string previousDescription, string newDescription)
SetValidatorName(uint256 indexed validatorId, string previousName, string newName)
ValidatorAddressChanged(uint256 validatorId, address newAddress)
ValidatorRegistered(uint256 validatorId)
ValidatorWasDisabled(uint256 validatorId)
ValidatorWasEnabled(uint256 validatorId)
WhitelistDisabled(bool status)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.