Skip to main content

VaultViewer

Command

yarn start v-v [arguments] [-options]

VaultViewer commands list

yarn start v-v -h

API

CommandDescription
DEFAULT_ADMIN_ROLECalls the read-only function "DEFAULT_ADMIN_ROLE" on the contract.
has-role <vault> <member> <role>check if an address has a role in a vault
isContract <account>Calls the read-only function "isContract" on the contract.
is-owner <vault> <owner>check if an address is the owner of a vault
vaultHubCalls the read-only function "vaultHub" on the contract.
by-owner <owner>get vaults by owner
by-owner-bound <owner> <from> <to>get vaults by owner - bound
by-role-address by-ra<role> <member>get vaults by role and address
by-role-address-bound by-ra-b<role> <member> <from> <to>get vaults by role and address - bound
connectedget vaults connected to vault hub
connected-bound <from> <to>get vaults connected to vault hub - bound
myget my vaults
my-bound <from> <to>get my vaults - bound
my-by-role <role>get my vaults by role
my-by-role-bound <from> <to> <to>get my vaults by role - bound