web icon indicating copy to clipboard operation
web copied to clipboard

Implement rFOX staking flow

Open 0xean opened this issue 1 year ago • 1 comments

depends on https://github.com/shapeshift/rFOX/issues/36

https://www.figma.com/file/REOouo0sAuOhoD597yZEGE/rFOX?type=design&node-id=1-250&mode=design&t=3SyS9nLEG2D8oiXp-0

AC

  • wire up components created in #6738
  • copy ABIs into web from rFOX
  • implement approval transaction
  • implement staking transaction
  • validate rune address input
  • balance for gas, approval amounts, balance for FOX on arb
  • check for paused states that should block user actions (global pause or pause for deposits)
  • not shown in the mocks: add row in the staking details to show the unlock period and also the "I understand" component that shows the cool down period
  • test against arb 1 contracts deployed

0xean avatar Apr 22 '24 22:04 0xean

https://github.com/shapeshift/web/issues/6738 to be completed seperately.

0xean avatar Apr 22 '24 22:04 0xean