-
Notifications
You must be signed in to change notification settings - Fork 3
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
Create UI for UbiquityPool
#1
Comments
Is that all the functions you need?? mint and redeem?? |
Yes, I've also added this line to the original issue description:
|
/start |
Tips:
|
Greetings. |
@0x4007 I'm not really sure what's better here. On the one hand |
Honestly I prefer to make every view a separate page. And to keep it as simple as possible. I know it's trendy to make a single page app that can handle millions of functions but I think it doesn't make sense for our goals. So ts-template |
@CaptainPrinz hey
Sorry for the inconvenience, I've updated the issue description, pls use https://github.com/ubiquity/ts-template
Typescript |
Another approach to consider (I have done stuff like this before) wget -r And you can edit the compiled code and swap out the smart contract addresses for example. It might be a bit tricky for some folks but to get something up and running fast this could be the way. That could probably be done in an hour or two. I suppose it just depends on how their code is compiled. |
@CaptainPrinz, this task has been idle for a while. Please provide an update. |
Yet to commence work
…On Fri, 20 Sep 2024, 22:26 ubiquity-os[bot], ***@***.***> wrote:
@CaptainPrinz <https://github.com/CaptainPrinz>, this task has been idle
for a while. Please provide an update.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7M52GYEN6D44ZFMD2MXX5LZXSHI7AVCNFSM6AAAAABMGYJQJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRUGYZTSMZWHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
/wallet 0xb69DB7b7B3aD64d53126DCD1f4D5fBDaea4fF578 |
+ Successfully registered wallet address |
Tip
|
/start |
@kingsley-einstein the deadline is at Fri, Nov 15, 3:51 PM UTC |
Yes I get that, the approval mechanism should be dynamic, that meaning you should always check if the diamond already has enough allowance for the transaction. We also want to have a multi-call to bundle the collateral and governance approvals together, this would save gas and another entire step on the minting flow. We should also check on the background for conditions which block minting/redeeming such as UUSD price or a paused pool, and stop the user before he wastes his time and money trying. FRAX does that with a modal: |
All missing criteria have been satisfied. |
/start |
! You are already assigned to this task. |
Passed the deadline and no activity is detected, removing assignees: @kingsley-einstein. |
1 similar comment
Passed the deadline and no activity is detected, removing assignees: @kingsley-einstein. |
/start |
/start |
/help |
4 similar comments
/help |
/help |
/help |
/help |
@kingsley-einstein the deadline is at Wed, Dec 11, 7:03 AM UTC |
Thanks @rndquu |
@kingsley-einstein, this task has been idle for a while. Please provide an update. |
|
will check asap |
There is the new UbiquityPool contract (facet) where users can mint and redeem
Dollar
tokens for collateral tokens.Minting example:
LUSD
+ 5 Governance (UBQ
) tokens worth 5 USDDollar
tokensRedeeming example:
Dollar
tokensLUSD
+ 5 Governance tokens worth 5 USD backWe should create a new frontend (using https://github.com/ubiquity/ts-template) for the UbiquityPool contract and make sure it works with already deployed mainnet contracts.
Notice:
Since the UbiquityPool contract is forked from the FraxPoolV3 contract we can take the Frax UI as an example:
Mint:
Redeem:
The text was updated successfully, but these errors were encountered: