MyEtherWallet can be used to vote with the following wallets:

  • Mist / MetaMask
  • Ledger Wallet
  • TREZOR
  • Digital Bitbox
  • Keystore / JSON File
  • Any wallet that you have the private keys or mnemonic phrase (although this method is less secure and not recommended)

You will need to have DOCK tokens in the wallet in order to cast a vote. Learn more about voting on a proposal here.


How to vote using MyEtherWallet


  1. Go to MyEtherWallet and click on Contracts in the top menu

2. Enter the following information in the fields provided:

  • Contract Address: The contract address can be found by clicking on the proposal. 
  • ABI / JSON Interface: Provided at the end of this article

3. Click Access to connect to the voting contract.


4. Select vote  function in the dropdown

5. Enter the choice number for which option you are voting. 

The number entered is based on how the choices are listed on the proposal in the vote section of your account. Enter 1  for the first option listed, 2  for the second option listed, etc.


6.
Select the wallet that holds your DOCK tokens and follow the instructions from MyEtherWallet to connect your wallet.


7. Write the transaction to submit your vote
once the wallet is connected. Recommended gas limit is between 100,000 and 150,000 and gas price of 2 GWEI.

Once the transaction is verified by the Ethereum blockchain, your vote has been submitted!


_______________________________________________

ABI / JSON Interface:

[
    {
        "constant": true,
        "inputs": [],
        "name": "votingCenterAdminAddress",
        "outputs": [
            {
                "name": "",
                "type": "address"
            }
        ],
        "payable": false,
        "stateMutability": "view",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [],
        "name": "endTime",
        "outputs": [
            {
                "name": "",
                "type": "uint256"
            }
        ],
        "payable": false,
        "stateMutability": "view",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [
            {
                "name": "",
                "type": "uint16"
            }
        ],
        "name": "totalVotes",
        "outputs": [
            {
                "name": "",
                "type": "uint256"
            }
        ],
        "payable": false,
        "stateMutability": "view",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [],
        "name": "startTime",
        "outputs": [
            {
                "name": "",
                "type": "uint256"
            }
        ],
        "payable": false,
        "stateMutability": "view",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [
            {
                "name": "",
                "type": "address"
            }
        ],
        "name": "options",
        "outputs": [
            {
                "name": "",
                "type": "uint16"
            }
        ],
        "payable": false,
        "stateMutability": "view",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [],
        "name": "pollDataMultihash",
        "outputs": [
            {
                "name": "",
                "type": "bytes"
            }
        ],
        "payable": false,
        "stateMutability": "view",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [],
        "name": "author",
        "outputs": [
            {
                "name": "",
                "type": "address"
            }
        ],
        "payable": false,
        "stateMutability": "view",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [
            {
                "name": "",
                "type": "address"
            }
        ],
        "name": "numberOfVotes",
        "outputs": [
            {
                "name": "",
                "type": "uint256"
            }
        ],
        "payable": false,
        "stateMutability": "view",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [],
        "name": "numChoices",
        "outputs": [
            {
                "name": "",
                "type": "uint16"
            }
        ],
        "payable": false,
        "stateMutability": "view",
        "type": "function"
    },
    {
        "constant": false,
        "inputs": [],
        "name": "endVoting",
        "outputs": [],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "constant": false,
        "inputs": [
            {
                "name": "_choice",
                "type": "uint16"
            }
        ],
        "name": "vote",
        "outputs": [],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "name": "_ipfsHash",
                "type": "bytes"
            },
            {
                "name": "_numChoices",
                "type": "uint16"
            },
            {
                "name": "_startTime",
                "type": "uint256"
            },
            {
                "name": "_endTime",
                "type": "uint256"
            },
            {
                "name": "_author",
                "type": "address"
            },
            {
                "name": "_token",
                "type": "address"
            },
            {
                "name": "_voting",
                "type": "address"
            }
        ],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "constructor"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "name": "voter",
                "type": "address"
            },
            {
                "indexed": true,
                "name": "choice",
                "type": "uint16"
            }
        ],
        "name": "VoteCast",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": false,
                "name": "endTime",
                "type": "uint256"
            }
        ],
        "name": "VotingClosed",
        "type": "event"
    }
]


Helpful links:
Vote on the Dock App
Vote with MetaMask
How does voting work?

Did this answer your question?