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
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 21302733 getMyNodesAddresses() view returns (address[] addresses)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
VALIDATOR_MANAGER_ROLE() view returns (bytes32)
0x87421e189bd94dc1673f0d5255fa9f0cb8ff65bb74e34e0a80b07e9f0b4e34d5
contractManager() view returns (address)
0x0000000000000000000000000000000000000000
getTrustedValidators() view returns (uint256[] trustedValidators)
[]
numberOfValidators() view returns (uint256)
0
useWhitelist() view returns (bool)
false
Read-only
checkIfValidatorAddressExists(address validatorAddress) view
checkValidatorAddressToId(address validatorAddress, uint256 validatorId) view returns (bool valid)
checkValidatorCanReceiveDelegation(uint256 validatorId, uint256 amount) view
getNodeAddresses(uint256 validatorId) view returns (address[] nodeAddresses)
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 validator)
getValidatorId(address validatorAddress) view returns (uint256 id)
getValidatorIdByNodeAddress(address nodeAddress) view returns (uint256 validatorId)
getValidatorIdByNodeAddressWithoutRevert(address nodeAddress) view returns (uint256 validatorId)
hasRole(bytes32 role, address account) view returns (bool)
isAcceptingNewRequests(uint256 validatorId) view returns (bool accept)
isAuthorizedValidator(uint256 validatorId) view returns (bool authorized)
trustedValidatorsList(uint256) view returns (uint256)
validatorAddressExists(address validatorAddress) view returns (bool exist)
validatorExists(uint256 validatorId) view returns (bool exist)
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 bond)
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)
Initialized(uint8 version)
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.