feat(tangle-dapp): Add Restake Withdraw Flow
Summary of changes
Provide a detailed description of proposed changes.
- [x] Implement scheduled withdrawals for restaking
- [x] Retrieve and display withdrawable assets for restaking
- [x] Create a table for scheduled withdrawal requests
- [x] Add an action to cancel withdrawal requests
- [x] Add an action to execute withdrawal requests
Proposed area of change
Put an x in the boxes that apply.
- [ ]
apps/bridge-dapp - [ ]
apps/hubble-stats - [ ]
apps/stats-dapp - [x]
apps/tangle-dapp - [ ]
apps/testnet-leaderboard - [ ]
apps/faucet - [ ]
apps/zk-explorer - [ ]
libs/webb-ui-components
Reference issue to close (if applicable)
Specify any issues that can be closed from these changes (e.g. Closes #233).
- Closes https://github.com/webb-tools/webb-dapp/issues/2408
Screen Recording
If possible provide a screen recording of proposed change.
https://github.com/user-attachments/assets/456069d2-0bc6-4fd1-abd8-0ce81b7ddccb
Deploy Preview for tangle-dapp ready!
| Name | Link |
|---|---|
| Latest commit | 92e74f29b5766d99f23f84f76291db69eb884ae5 |
| Latest deploy log | https://app.netlify.com/sites/tangle-dapp/deploys/66bfa6322747fe0008446c29 |
| Deploy Preview | https://deploy-preview-2508--tangle-dapp.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Does this handle EVM precompile interactions too if the logged in user is from the EVM?
Small nit, and if you can integrate EVM precompile alongside this that would be ideal.
I'm currently integrating the precompile into the restaking, which should be completed today.
Regarding the fee value, it refers to the transaction fee. I've noted this in the design but haven't implemented it yet, so I've added a TODO in the code.