question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add button to Profile to transfer tokens from lockup

See original GitHub issue

Overview

Users with linear lockups (the majority of early users) have requested a way to withdraw unlocked tokens from their lockup accounts without needing to perform another action to trigger it (e.g. send, stake, etc).

We should provide a button on the /profile page to trigger a withdrawal of all unlocked tokens (minus the staked balance), and to destroy the lockup if there are no tokens left in it.

Acceptance Criteria

  • “Available to Transfer” balance is displayed on /profile (unlocked balance - total staked - ready to withdraw)
  • Users can initiate a withdrawal from the /profile page by selecting “Transfer to Main Account”
  • If the user has no remaining Locked tokens, clicking “Transfer to Main Account” will also delete the lockup account

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
heycorwincommented, Mar 11, 2021

@Patrick1904 isn’t this done?

1reaction
kcole16commented, Nov 19, 2020

@vgrichina @corwinharrell I agree with your points re: notifications and potentially usefulness/considerations around experience. I see that as orthogonal to this issue.

Doesn’t feel like we have a lot of people destroying lockup in practice (though probably better to check who has accounts in a state where they can do it):

@vgrichina Sorry, I should’ve specified that this feature is aimed mostly at users with linear lockups that want to withdraw their currently unlocked funds without attempting to send or stake tokens. The delete functionality is somewhat secondary, though will eventually be useful (and could be immediately useful for the small number of remaining instant liquidity users).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I transfer NEAR from my lockup account to my main ...
Go to https://wallet.near.org/profile. ... Click the "Transfer from Lockup" button, and authorize the transactions.
Read more >
How do you transfer tokens from the lockup contract using the ...
Before the lockup is fully unlocked, you can call a method transfer on the contract, for example: near call <yourlockup>.lockup.near ...
Read more >
Token Custody Options - NEAR Wiki
To transfer tokens you will have to recover the Trust Wallet account in NEAR Wallet by using the Trust Wallet's seed phrase.
Read more >
Lockup Help (was in app at the time apparently) : r/PiNetwork
This account-wide lockup setting allows you to lock up a maximum of 100% of your transferable balance. After Mainnet launches and you can ......
Read more >
How To Bridge Your Assets Using Hop Protocol - ConsenSys
After selecting your token to transfer, entering the amount, and choosing your networks, click “Approve” to commence the transaction and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found