protocol-core icon indicating copy to clipboard operation
protocol-core copied to clipboard

[Adapter Module]: Implement Metastable Token Adapter

Open njokuScript opened this issue 1 year ago • 0 comments

Description

Create a token adapter contract that facilitates the burning and minting of metastable tokens. The adapter should interact directly with the Vault Contracts to manage metastable balances.

Tasks

  • [ ] Design the metastable token adapter contract interface
  • [ ] Implement functions for minting and burning of metastable tokens as well as representing the balance on the vault contracts
  • [ ] Integrate the adapter with the Vault Contracts
  • [ ] Write tests to ensure the functionality of the metastable token adapter

NB: This was previously implemented here: https://github.com/Descent-Collective/protocol-core/blob/module/adapter/contracts/adapter.sol#L89

njokuScript avatar Mar 15 '24 19:03 njokuScript