Skip to main content

VaultFactory

Command

yarn start factory [arguments] [-options]

VaultFactory commands list

yarn start factory -h

API

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

Read

CommandDescription
infoget vault factory info
BEACONCalls the read-only function "BEACON" on the contract.
DASHBOARD_IMPLCalls the read-only function "DASHBOARD_IMPL" on the contract.
LIDO_LOCATORCalls the read-only function "LIDO_LOCATOR" on the contract.

Write

CommandDescription
create-vault <defaultAdmin> <nodeOperator> <nodeOperatorManager> <confirmExpiry> <nodeOperatorFeeBP> <quantity>create vault contract with deposit 1 ETH

Note: [quantity] is optional argument, default 1 [options]

OptionDescription
-r, --roles <roleAssignmentJSON>The optional role assignments to be made

<roleAssignmentJSON>

[{
"account": string as Address;
"role": string as `0x${string}`;
}]