You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| whitelist |`Array<{ address: string, isNew: boolean }>`|**Yes**| List of addresses to update the whitelist. Use `isNew: true` to add a new address, `isNew: false` to remove an existing one |
1117
-
| userAddress |`string`|**Yes**| The address of the user making the update (access manager) |
1118
-
| vaultAddress |`string`|**Yes**| The address of the private vault |
| whitelist |`Array<{ address: string, isNew: boolean }>`|**No**| Whitelister | List of addresses to update the whitelist. Use `isNew: true` to add a new address, `isNew: false` to remove an existing one |
1113
+
| blocklist |`Array<{ address: string, isNew: boolean }>`|**No**| Blocklist manager | List of addresses to update the blocklist. Use `isNew: true` to add a new address, `isNew: false` to remove an existing one |
1114
+
| keysManager |`string`|**No**| Admin | Address of the vault keys manager |
1115
+
| whitelister |`string`|**No**| Admin | Address of the vault whitelister |
1116
+
| feeRecipient |`string`|**No**| Admin | Address of the vault fee recipient |
1117
+
| validatorsRoot |`string`|**No**| Keys manager | The vault validators merkle tree root |
| blocklist |`Array<{ address: string, isNew: boolean }>`|**Yes**| List of addresses to update the blocklist. Use `isNew: true` to add a new address, `isNew: false` to remove an existing one |
1162
-
| userAddress |`string`|**Yes**| The address of the user making the update (access manager) |
1163
-
| vaultAddress |`string`|**Yes**| The address of the blocklisted vault |
1164
-
1165
-
#### Example:
1138
+
// Data to update the vault by vault keys manager.
1139
+
const params = {
1140
+
validatorsRoot: '...',
1141
+
vaultAddress: '0x...',
1142
+
userAddress: '0x...',
1143
+
}
1166
1144
1167
-
```ts
1168
-
const blocklist = [
1169
-
{
1170
-
address: '0x...',
1171
-
isNew: true,
1172
-
},
1173
-
{
1174
-
address: '0x...',
1175
-
isNew: false,
1176
-
},
1177
-
]
1145
+
// Data to update the private vault by whitelister.
1146
+
// The whitelist contains addresses allowed to stake or mint within
1147
+
// the vault.
1148
+
const params = {
1149
+
whitelist: [
1150
+
{
1151
+
address: '0x...',
1152
+
isNew: true,
1153
+
},
1154
+
{
1155
+
address: '0x...',
1156
+
isNew: false,
1157
+
},
1158
+
],
1159
+
vaultAddress: '0x...',
1160
+
userAddress: '0x...',
1161
+
}
1178
1162
1163
+
// Data to update blocklisted vault by blocklist manager.
1164
+
// The blocklist contains addresses disallowed to stake or mint within
0 commit comments