primitivefinance / rmm-examples

GNU General Public License v3.0
10 stars 0 forks source link

Create an ERC20 wrapper for liquidity tokens #1

Open clemlak opened 2 years ago

clemlak commented 2 years ago

Liquidity tokens generated by the PrimitiveManager contract are currently following the ERC1155 standard. This is a huge benefit for the PrimitiveManager at a contract level, but a bit limiting for the composability and the integration in other protocols, which are usually using ERC20.

A wrapper contract could be a very simple and effective solution to solve this problem. The specifications would be something like:

clemlak commented 2 years ago

Done in https://github.com/primitivefinance/rmm-examples/pull/3!