OperatorGrid
Command
yarn start contracts operator-grid [arguments] [-options]
OperatorGrid commands list
yarn start contracts operator-grid -h
API
| Command | Description |
|---|---|
| read (r) | read commands |
| write (w) | write commands |
Read
| Command | Description |
|---|---|
| info | get operator grid base info |
| roles | get operator grid roles |
| vault-info <vault> | get vault info |
| DEFAULT_ADMIN_ROLE | Calls the read-only function "DEFAULT_ADMIN_ROLE" on the contract. |
| DEFAULT_TIER_ID | Calls the read-only function "DEFAULT_TIER_ID" on the contract. |
| DEFAULT_TIER_OPERATOR | Calls the read-only function "DEFAULT_TIER_OPERATOR" on the contract. |
| LIDO_LOCATOR | Calls the read-only function "LIDO_LOCATOR" on the contract. |
| max-confirm-expiry | get max confirm expiry |
| min-confirm-expiry | get min confirm expiry |
| REGISTRY_ROLE | Calls 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-expiry | get 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. |
| is-vault-in-jail <vault> | get if vault is in jail |
| node-operator-address <index> | get node operator address by index |
| node-operator-count | get node operator count |
| supportsInterface <interfaceId> | Calls the read-only function "supportsInterface" on the contract. |
| tier <id> | get tier by ID |
| tiers-count | get a tiers count |
Write
| Command | Description |
|---|---|
| change-tier ct<vault> <tierId> <requestedShareLimit> | vault tier change with multi-role confirmation |
| sync-tier st<vault> | syncs vault tier with current tier params |
| update-vault-share-limit usl<vault> <requestedShareLimit> | update vault share limit |
| confirm-tier-change <vault> | Confirms a tier change proposal only for the Node Operator |