You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a new stablecoin in the SORA network, pegged to USD 1:1, and is backed by SORA user (investor) money.
The investor will transfer the amount of fiat to the strategic partner, and the presenter of the partner PR manager will mint the same amount in Stablecoin.
When the investor wants to return their money, an amount of PRUSD equal to the withdrawals of user money will be burned.
Acceptance criteria
The investor wants to deposit stablecoins in the account. Make a request via front-end.
The front-end sends the request to the SORA pallet. Inside the request:
Type - deposit
Amount of USD
Payment reference
The SORA pallet saves the request to the internal storage. The storage consists:
id
type (deposit, withdraw)
investor account
date
amount
payment reference (string, 100 characters)
status (pending, approved, declined)
details (string, 200 characters)
manager
The investor wants to withdraw stablecoins to the bank account. Make a request via front-end.
The front-end sends the request to the SORA pallet. Inside the request:
Type - withdraw
Amount of USD
Bank Details in crypto format
The SORA pallet
saves the request to the internal storage
hold the amount of stablecoin on the investor's wallet
The PR manager requests to see a list of requests.
The front-end request to show the list of requests.
The SORA pallet takes from the internal storage list of requests with a filter by the manager, order by date and statuses (pending on the top), and with pagination.
The front-end shows the list of requests.
The PR manager sees the deposit requests.
If the PR manager finds the money on a bank account based payment reference, the request is accepted via the button accept.
The front-end requests to the SORA pallet accept the request for depositing.
The SORA pallet
mint amount of PRUSD
send to the investor account
change status from pending -> approved
The front-end shows the successful result.
Otherwise, the request was declined.
The front-end requests to the SORA pallet declined the request for depositing.
The SORA pallet
change status from pending -> declined
The PR manager sees the withdrawal requests.
If the PR manager agrees and sends USD to the attached bank accounts, the request is accepted via the button accept.
The front-end asks payment reference of the withdrawal transaction.
The front-end requests to the SORA pallet accept the request of withdrawal.
The SORA pallet
unhold the amount of stablecoin in the investor's wallet
burn the amount of stablecoin
change status from pending -> approved
Otherwise, the PR manager declines the request via the button.
The front-end requests to the SORA pallet declined the request for depositing.
unhold the amount of stablecoin in the investor's wallet
change status from pending -> declined
The text was updated successfully, but these errors were encountered:
Context
There is a new stablecoin in the SORA network, pegged to USD 1:1, and is backed by SORA user (investor) money.
The investor will transfer the amount of fiat to the strategic partner, and the presenter of the partner PR manager will mint the same amount in Stablecoin.
When the investor wants to return their money, an amount of PRUSD equal to the withdrawals of user money will be burned.
Acceptance criteria
The text was updated successfully, but these errors were encountered: