Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WBPS. Return funds #1310

Open
AndreyKortosov opened this issue Jan 3, 2025 · 0 comments
Open

WBPS. Return funds #1310

AndreyKortosov opened this issue Jan 3, 2025 · 0 comments
Assignees
Labels
feature Adding support for a new feature in the network WBPS

Comments

@AndreyKortosov
Copy link

AndreyKortosov commented Jan 3, 2025

User story

As a Creditor, I want to return invested money to the Investor.
As an Investor, I want to get back money and return CP tokens.

Acceptance criteria

  1. The CR has an additional obligatory field - Interest rate. Type - float digits.
    1. If the Farmer requests $100 000 with an Interest rate of 5% for 1 year, after a period the Farmer should return $100 000 + 5% = $105 000.
  2. The Farmer returns the money to the Creditor.
    1. The Creditor inputs that money via a Deposit request to the PR manager.
  3. The Creditor changes the status of CR from Published to Closed.
    1. The SORA prepares CP tokens for claiming, the Investor should themselves claim the initial price of PRUSD + percentage.
      1. For example, the initial price of a CP token is $1000 and the interest rate is 5%, then at the end of CR the Investor will get $1000 + 5% = $1050.
    2. After claiming, the SORA pallet withdraws the CP token and burns it.
@AndreyKortosov AndreyKortosov moved this to Backlog in SORA Backend Jan 3, 2025
@AndreyKortosov AndreyKortosov added the feature Adding support for a new feature in the network label Jan 3, 2025
@wer1st wer1st moved this from Backlog to In Progress in SORA Backend Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding support for a new feature in the network WBPS
Projects
Status: In Progress
Development

No branches or pull requests

3 participants