Skip to main content

OperatorGrid

Command

yarn start contracts operator-grid [arguments] [-options]

OperatorGrid commands list

yarn start contracts operator-grid -h

API

CommandDescription
read (r)read commands
write (w)write commands

Read

CommandDescription
infoget operator grid base info
rolesget operator grid roles
DEFAULT_ADMIN_ROLECalls the read-only function "DEFAULT_ADMIN_ROLE" on the contract.
DEFAULT_TIER_IDCalls the read-only function "DEFAULT_TIER_ID" on the contract.
DEFAULT_TIER_OPERATORCalls the read-only function "DEFAULT_TIER_OPERATOR" on the contract.
LIDO_LOCATORCalls the read-only function "LIDO_LOCATOR" on the contract.
max-confirm-expiryget max confirm expiry
min-confirm-expiryget min confirm expiry
REGISTRY_ROLECalls the read-only function "REGISTRY_ROLE" on the contract.
confirmation <call-data> <role>get confirmation by role and call data
effective-share-limit <vault>get the effective share limit of a vault according to the OperatorGrid and vault share limits
get-confirm-expiryget confirm expiry
getRoleAdmin <role>Calls the read-only function "getRoleAdmin" on the contract.
getRoleMember <role> <index>Calls the read-only function "getRoleMember" on the contract.
getRoleMemberCount <role>Calls the read-only function "getRoleMemberCount" on the contract.
getRoleMembers <role>Calls the read-only function "getRoleMembers" on the contract.
group <node-operator>get group by node operator address
hasRole <role> <account>Calls the read-only function "hasRole" on the contract.
node-operator-address <index>get node operator address by index
node-operator-countget node operator count
supportsInterface <interfaceId>Calls the read-only function "supportsInterface" on the contract.
tier <id>get tier by ID
tiers-countget a tiers count
vault-info <_vault>get vault limits

Write

CommandDescription
register-group rg<nodeOperator> <shareLimit>register a group
update-group-share-limit update-sl<nodeOperator> <shareLimit>update group share limit
register-tiers rt<nodeOperator> <tiers>register new tiers
alter-tiers at<tierIds> <tiers>alters multiple tiers
change-tier ct<vault> <tierId> <requestedShareLimit>vault tier change with multi-role confirmation
confirm-tier-changeConfirms a tier change proposal