EIP-6229: Tokenized Vaults with Lock-in Period

Hi ethereum magicians! We are proposing a new EIP:

Please see the pull request in details:

This proposal is in the draft stage. Any comments and feedback are very welcome and appreciated!

1 Like

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:

  1. Remove VaultStates
  2. Change state to locked. The specs of locked is described below.


The current state of the vault. True means LOCKED, and False means UNLOCKED.

- name: state
  type: boolean
  stateMutability: view

  inputs: []

    - name: state
      type: boolean