Skip to content

Seamless investment process. #408

@KarimChabrak

Description

@KarimChabrak

Users have first to buy stable COIN, then need to invest in projects. This has to be always explained.

There will be project that request either EUR-COIN or TND-COIN and they will offer PROJ-COIN with an exchange rate of ASA_exchange_rate.

  1. By clicking on INVEST, user shall setup the amount he wants to invest Fiat amount and can select Fiat type (user can select TND or EUR for TND-COIN projects and only EUR for EUR-COIN projects).
  2. User will see the amount of project coins PROJ-COINs he will receive (see below COIN2 amount) and can confirm to go to payment or he can cancel the process.
  3. User can edit missing profile data: First name ,Last name, Address, State ,City ,Postcode ,Country
  4. User is then directed to payment process

After payment, user will receive PROJ-COINS from project funding account and project funding account will receive the corresponding EUR-COINs or TND-COINs.

The payment interface might need just to confirm transactions initiated by Coinsence platform.

Fiat Transaction data transferred to payment interface:

  • Transaction ID: (generate by coinsence).
  • Fiat type: TND or EUR, this is set by the user
  • Fiat amount this is given by the user
  • First name ,Last name, Address, State ,City ,Postcode ,Country

COIN transaction data needed after FIAT payment confirmation (to be discussed if these transactions are initiated within Coinsence or within payment code).

  • Transaction ID: (generate by coinsence).
  • COIN1 type: TND-COIN or EUR-COIN (ASA-ID)
  • COIN1 amount (here, we consider fees of stripe/connect. COIN amount= ExchangeRate(FIAT_amount - fixed_fees)(1-relative fees)
  • COIN1 from. This is mostly a account managed by coinsence that holds TND-COIN and EUR-COIN
  • COIN1 to. This is mainly the funding account of the project.
  • COIN2 type: PROJ-COIN (ASA-ID)
  • COIN2 amount (this correspond to ASA_exchange_rate between offered coin and requested coin multiplied by COIN1 amount)
  • COIN2 from. This is the funding account that holds PROJ-COIN
  • COIN2 to. This is mainly the default account of the user

ASA_exchange_rate

In case Fiat type / COIN1 type are EUR / TND-COIN. ExchangeRate is set by platform admin. For EUR / EUR-COIN, TND / TND-COIN rate is 1. (The case TND / EUR-COIN is not possible).

if Fiat type=TND then fixed_fees=fixed_fees TND and relative fees=relative fees TND
if Fiat type=EUR then fixed_fees=fixed_fees EUR and relative fees=relative fees EUR
Value of fees are set by platform admin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions