Skip to content
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

Feat: locking, unlocking and withdrawal with walletconnect #82

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

schmanu
Copy link
Member

@schmanu schmanu commented Mar 27, 2024

What this PR changes

  • removes all wallets but wallet connect
  • Shows connect wallet page if no wallet is connected
  • offer locking, unlocking and withdrawal for wallet connect

@schmanu schmanu changed the base branch from dev to token-locking March 27, 2024 10:57
Copy link

github-actions bot commented Mar 27, 2024

Branch preview

✅ Deploy successful!

https://feat_locking_with_wc--governance.review-react-br.5afe.dev

@schmanu schmanu requested a review from usame-algan March 27, 2024 10:57
Copy link

github-actions bot commented Mar 27, 2024

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@@ -57,7 +57,6 @@ export const createWithdrawTx = (chainId: string) => {
to: CHAIN_SAFE_LOCKING_ADDRESS[chainId],
data: safeLockingInterface.encodeFunctionData('withdraw', [0]),
value: '0',
operation: 0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we not need this anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We never needed it.
You cannot do a DELEGATE CALL through our safe apps communicator. So this value was always ignored anyways.

@schmanu schmanu merged commit 3d48a37 into token-locking Mar 27, 2024
5 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants