hubii-core icon indicating copy to clipboard operation
hubii-core copied to clipboard

Claim/stage and withdraw fees with the click of one button only

Open jijordre opened this issue 4 years ago • 0 comments

Description

The initial implementation of support to claim fees involves two user actions which each of them implies the signing of a base layer transaction. The actions are the one triggered by clicking buttons Claim Fees and Withdraw Fees, respectively.

This issue describes the bundling of these two transaction signing operations into one. The implementation is foreseen to be analogous to the one of deposit of ERC20 token into nahmii, where the signings of invocations of both the token's approve() function and ClientFund#receiveTokensTo() are triggered by one user action, the one to deposit tokens.

Definition of done

  • The claiming of fees is executed in full (claim/stage and withdraw steps) by one click of a button
  • Unit tests have been updated

Details & Questions

Depends on

jijordre avatar Mar 11 '20 16:03 jijordre