ValidatorService

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x6ebcb6fd at 18776322
Slot
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

No balances found for "ValidatorService"

No transactions found for "ValidatorService"


Functions
Getter at block 21282343
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
VALIDATOR_MANAGER_ROLE(view returns (bytes32)
0x87421e189bd94dc1673f0d5255fa9f0cb8ff65bb74e34e0a80b07e9f0b4e34d5
contractManager(view returns (address)
0x0000000000000000000000000000000000000000
 
getMyNodesAddresses(view returns (address[])
getTrustedValidators(view returns (uint256[])
[]
numberOfValidators(view returns (uint256)
0
useWhitelist(view returns (bool)
false
Read-only
checkIfValidatorAddressExists(address validatorAddressview 
checkValidatorAddressToId(address validatorAddressuint256 validatorIdview returns (bool)
checkValidatorCanReceiveDelegation(uint256 validatorIduint256 amountview 
getNodeAddresses(uint256 validatorIdview returns (address[])
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getValidator(uint256 validatorIdview returns (struct IValidatorServiceValidator)
getValidatorId(address validatorAddressview returns (uint256)
getValidatorIdByNodeAddress(address nodeAddressview returns (uint256 validatorId)
getValidatorIdByNodeAddressWithoutRevert(address nodeAddressview returns (uint256 validatorId)
hasRole(bytes32 roleaddress accountview returns (bool)
isAcceptingNewRequests(uint256 validatorIdview returns (bool)
isAuthorizedValidator(uint256 validatorIdview returns (bool)
trustedValidatorsList(uint256view returns (uint256)
validatorAddressExists(address validatorAddressview returns (bool)
validatorExists(uint256 validatorIdview returns (bool)
validators(uint256view returns (string nameaddress validatorAddressaddress requestedAddressstring descriptionuint256 feeRateuint256 registrationTimeuint256 minimumDelegationAmountbool acceptNewRequests)
State-modifying
confirmNewAddress(uint256 validatorId
disableValidator(uint256 validatorId
disableWhitelist(
enableValidator(uint256 validatorId
getAndUpdateBondAmount(uint256 validatorIdreturns (uint256)
grantRole(bytes32 roleaddress account
initialize(address contractManagerAddress
linkNodeAddress(address nodeAddressbytes sig
registerValidator(string namestring descriptionuint256 feeRateuint256 minimumDelegationAmountreturns (uint256 validatorId)
removeNodeAddress(uint256 validatorIdaddress nodeAddress
renounceRole(bytes32 roleaddress account
requestForNewAddress(address newValidatorAddress
revokeRole(bytes32 roleaddress account
setValidatorDescription(string newDescription
setValidatorMDA(uint256 minimumDelegationAmount
setValidatorName(string newName
startAcceptingNewRequests(
stopAcceptingNewRequests(
unlinkNodeAddress(address nodeAddress
Events
AcceptingNewRequests(uint256 indexed validatorIdbool status
Initialized(uint8 version
NodeAddressWasAdded(uint256 validatorIdaddress nodeAddress
NodeAddressWasRemoved(uint256 validatorIdaddress nodeAddress
RequestNewAddress(uint256 indexed validatorIdaddress previousAddressaddress newAddress
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetMinimumDelegationAmount(uint256 indexed validatorIduint256 previousMDAuint256 newMDA
SetValidatorDescription(uint256 indexed validatorIdstring previousDescriptionstring newDescription
SetValidatorName(uint256 indexed validatorIdstring previousNamestring newName
ValidatorAddressChanged(uint256 validatorIdaddress newAddress
ValidatorRegistered(uint256 validatorId
ValidatorWasDisabled(uint256 validatorId
ValidatorWasEnabled(uint256 validatorId
WhitelistDisabled(bool status
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.