How to delegate your Viewly tokens without putting them at risk

Viewly Developers
Aug 9, 2018 · 2 min read

Smart cryptocurrency users store their tokens on hardware wallets, multi-sig and cold storage setups. This does however come at the cost of convenience, whereby voting on view.ly is challenging or outright impossible.

We have found a way for sophisticated users to have their cake and eat it too. With the VotingPowerDelegator contract, users can “delegate” the voting power of their tokens to a convenient hot wallet (view.ly wallet or MetaMask), while keeping the actual tokens safe on a secure wallet.

Step 1: Go to https://etherscan.io/address/delegate.viewtoken.eth
Step 2: Paste in the beneficiary address (your hot wallet) and click Write.

Note: If you would like to remove the delegation, simply delegate to 0x0

Image for post
Image for post
Delegating trough Eherscan is easy

Step 1: Go to https://mycrypto.com/contracts/interact

Step 2: Insert the contract address and ABI, then click Access.

Address:

0x7fC7F71da6d2d9deFF5100C8F3D8e54C97697Ad2

ABI:

[{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"delegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"delegations","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"delegatedAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"delegator","type":"address"},{"indexed":false,"name":"beneficiary","type":"address"}],"name":"Delegated","type":"event"}]

Step 3: Select “delegate” function from the dropdown menu, insert your beneficiary address (hot wallet), and sign the transaction.

Image for post
Image for post

And thats it.

A few more notes on delegation mechanics:

Delegation does NOT move the tokens. Your tokens stay in your cold wallet. When you delegate the voting power to another wallet, the original wallet will lose voting rights on view.ly. There is a 7 day staking period to prevent double voting trough delegation.

When you delegate:

  • Delegator loses voting power immediately
  • Beneficiary gains voting power after 7 days

When you un-delegate:

  • Delegator re-gains voting power immediately
  • Beneficiary loses voting power immediately

Delegations affect 100% of the voting stake. A beneficiary can have multiple delegators, but each account can only delegate to one beneficiary.

Delegations are not recursive. It is therefore not possible to re-delegate the tokens that were delegated to you.

And lastly, when voting, a beneficiary will need a voting threshold amount of actual tokens in their wallet (currently 100 VIEW) regardless of the amount delegated to them. This limitation is there to prevent voting spam.

Viewly

Viewly is a tokenized video platform, aiming to provide a…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store