DFP-20: Allow investments via native token

Header Content
Author Edson Ayllon (@relativeread)
Created 2022-3-11
Status Planned

Motivation

With Banxa support, new users will be able to buy native token (ETH and MATIC) with a credit card. To allow users to directly invest without leaving the site to a decentralized exchange, making the process easier and faster.

Description

Native token deposit will be available through a contract the dHEDGE core contributors will create.

Implementation

Native token deposit will be available through a separate contract than the pool contract. It will swap from native token to the most liquid deposit asset enabled in the pool, then call the deposit function in the pool contract, and transfer pool tokens to the user.

Vote

Vote passed

1 Like