×

Vote for Proposals

Vote for Proposals

Introduction

Multisignature wallet and TONOS-CLI can be used to vote for contest proposals listed at https://freeton.org/proposals. At creation every proposal gets a judge multisignature wallet assigned to it. All proposal jury members are authorized custodians of this wallet.

This document provides voting instructions for jury members.

Prerequisites

1. Judge multisignature wallet for the proposal has been created and initialized. All jury members know the address of the judge wallet and their custodian seed phrases for the wallet.

2. Proposal at https://freeton.org/proposals has been successfully created. The judge wallet has been assigned to the proposal at creation.

Click on the shield icon in the proposal entry to view the assigned judge wallet for the proposal:

3. TONOS-CLI version 0.1.2 or higher installed for all jury members. Refer to section 2 of the Multisignature Wallet Management in TONOS-CLI document for detailed installation instructions and usage specifics on various platforms.

4. (Optional) If you prefer to sign your vote with your private key, obtain key file for the judge wallet:

./tonos-cli getkeypair <keyfile.json> "<seed_phrase>"

keyfile.json – the file the key pair will be written to.

"<seed_phrase>" – custodian seed phrase for the judge wallet. Should be enclosed in double quotes.

4. Copy address of proposal contract from the proposal entry at https://freeton.org/proposals by clicking on the wallet icon:

1. Create proposal transaction and cast the first vote

Use the following command:

./tonos-cli proposal create <msig_address> <proposal_address> "<comment>" "<seed_phrase>"

<msig_address> – address of judge wallet. Example: 0:d65dea8792176b2d0ac2a54fcc3dd3cd0419b8c4c1b368ec4e1646390b0e5d2f

<proposal_address> – address of proposal contract. Can be copied from the proposal entry at https://freeton.org/proposals by clicking on the wallet icon. Example: 0:1afb9ec83dc5481437772ce312172f975610dfd9579ea1366ffb856838b6548f

"<comment>" – proposal description (max symbols: 382). Should be enclosed in double quotes.

"<seed_phrase>" – custodian seed phrase for the judge wallet. Should be enclosed in double quotes.

Alternatively, you can sign the transaction with your key pair file (see step 4 of Prerequisites section):

./tonos-cli proposal create <msig_address> <proposal_address> "<comment>" <keyfile.json>

<keyfile.json> – key pair file.

The utility generates the proposal transaction ID and casts the first vote for the proposal.

The proposal transaction ID can be used to vote for the proposal by all other wallet custodians and should be communicated to them.

2. Vote for proposal

Receive proposal transaction ID and use the following command to cast a vote:

./tonos-cli proposal vote <msig_address> <proposal_id> "<seed_phrase>"

<msig_address> – address of judge wallet. Example: 0:d65dea8792176b2d0ac2a54fcc3dd3cd0419b8c4c1b368ec4e1646390b0e5d2f

<proposal_id> – proposal transaction ID.

"<seed_phrase>" – custodian seed phrase for the judge wallet. Should be enclosed in double quotes.

Alternatively, you can sign the vote with your key pair file (see step 4 of Prerequisites section):

./tonos-cli proposal vote <msig_address> <proposal_id> <keyfile.json>

<keyfile.json> – key pair file.

Once the proposal transaction receives the required amount of votes (depends on judge wallet configuration), the transaction is executed and the proposal is considered approved. The approval icon appears in the proposal entry at https://freeton.org/proposals.

Note: You cannot actively vote against a proposal. Instead an absence of a vote is counted as a vote against it. Thus, if you do not approve a proposal, simply do not vote. If the necessary amount of votes for the proposal is not reached, the proposal will not pass.

3. Decode proposal comment

Use the following command to read the proposal comment added when the proposal transaction was created:

./tonos-cli proposal decode <msig_address> <proposal_id>

<msig_address> – address of judge wallet.

<proposal_id> – proposal transaction ID.

Leave a Reply

Your email address will not be published.