RiskProtocol / core-protocol

2 stars 0 forks source link

Create simple dApp to interact with the smart contracts #17

Closed mz7mz7mz7 closed 1 year ago

mz7mz7mz7 commented 1 year ago

Just a functional dApp; it does not need to look good. Expected functions:

  1. User can deploy new ERC-20 contrast with chosen name, symbol, totalSupply (preminted to the creator) and decimal places.
  2. User can deploy a new TokenFactory with chosen baseToken.
  3. User will see all deployed TokenFactory contracts and can choose one of them to interact with.
  4. User can mint new tokens X and Y.
  5. User can withdraw tokens X and Y and convert them back to the underlying.
  6. Privileged users can Initiate rebase operation.
  7. There is a view/table showing token X and token Y balances for all users (so we can easily visually check) both as an on-chain view of the balance and the one after considering the scaling factor. We should be able to see also, for each user, which was the last applied to rebase iteration for that given user.
  8. This dApp has to have possibility to create regular transactions , but also ERC-2612 related functionality should be possible to simulate to test https://github.com/RiskProtocol/core-protocol/issues/3

Let's also integrate https://biconomy.gitbook.io in this dApp.

mz7mz7mz7 commented 1 year ago

I just added point 0 in the description @jiokeokwuosa

jiokeokwuosa commented 1 year ago

I just added point 0 in the description @jiokeokwuosa

seen