According to feedback, I’m considering removing the VaultStates to avoid using Enum, and use a boolean to represent the vault’s state. This will be more developer friendly to integrate the vault.
Proposed changes:
Remove VaultStates
Change state to locked. The specs of locked is described below.
locked
The current state of the vault. True means LOCKED, and False means UNLOCKED.
- name: state
type: boolean
stateMutability: view
inputs: []
outputs:
- name: state
type: boolean