Skip to content

ERC4626-Alliance/ERC-7540-Reference

Repository files navigation

ERC-7540 Reference Implementations • CI

Reference implementations for ERC-7540.

This code is unaudited.

Controlled Async Deposit (code)

  • Deposits are asynchronous and subject to fulfillment by an owner account
  • Redemptions are synchronous (standard ERC4626)

Controlled Async Redeem (code)

  • Deposits are synchronous (standard ERC4626)
  • Redemptions are asynchronous and subject to fulfillment by an owner account

Fully Async Vault (code)

Inherits from Controlled Async Deposit and Controlled Async Redeem

  • Both deposits and redemptions are asynchronous and subject to fulfillment by an owner account

Timelocked Async Redeem (code)

  • Deposits are synchronous (standard ERC4626)
  • Redemptions are asynchronous and subject to a 3 day delay
  • New redemptions restart the 3 day delay even if the prior redemption is claimable.
  • The redemption exchange rate is locked in immediately upon request.

License

This codebase is licensed under MIT license.