Skip to content

Fix Stake CAP approval spender#256

Open
qingfeng312 wants to merge 2 commits into
capofficial:mainfrom
qingfeng312:bounty-32-stake-cap-approval-spender
Open

Fix Stake CAP approval spender#256
qingfeng312 wants to merge 2 commits into
capofficial:mainfrom
qingfeng312:bounty-32-stake-cap-approval-spender

Conversation

@qingfeng312

Copy link
Copy Markdown

Fixes #32.

Summary

  • check and approve CAP allowance for the Staking contract used by the stake transaction
  • keep the modal in a loading state while allowance is being checked
  • keep the Approve CAP button loading while the wallet approval is pending

Validation

  • Not run; scoped Svelte UI change only.

Payout address: 0xe87b4889baeee4ed60a1b2bfc7b3a6a17bce4ad6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong error message while approving CAP on Stake function

1 participant