Skip to main content Link Search Menu Expand Document (external link)

WIP

Vote Contract Executes

Table of contents
  1. Vote Contract Executes
    1. Vote Affirm
    2. Vote Deny
    3. Vote Affirm with Penalty
    4. Vote Deny with Penalty
    5. Vote Abstain
    6. Finalize Vote
    7. Emergency Cancel

In Terra Station go to Contract, enter the vote contract address, enter one of the following messages, and click Execute. You can use the proposal_state query on the proposal contract to get the address of the vote contract.

Vote Affirm

Execute to vote affirm.


        
  
{
  vote_affirm: {
    amount: "[amount of votes]"
  }
}


      

        
  
{
  "vote_affirm": {
    "amount": "[amount of votes]"
  }
}


      

        
      

Vote Deny

Execute to vote deny.


        
  
{
  vote_deny: {
    amount: "[amount of votes]"
  }
}


      

        
  
{
  "vote_deny": {
    "amount": "[amount of votes]"
  }
}


      

        
      

Vote Affirm with Penalty

Execute to vote affirm with penalty.


        
  
{
  vote_affirm_with_penalty: {
    amount: "[amount of votes]"
  }
}


      

        
  
{
  "vote_affirm_with_penalty": {
    "amount": "[amount of votes]"
  }
}


      

        
      

Vote Deny with Penalty

Execute to vote deny with penalty.


        
  
{
  vote_deny_with_penalty: {
    amount: "[amount of votes]"
  }
}


      

        
  
{
  "vote_deny_with_penalty": {
    "amount": "[amount of votes]"
  }
}


      

        
      

Vote Abstain

Execute to abstain from the vote.


        
  
{
  vote_abstain: {
    amount: "[amount of votes]"
  }
}


      

        
  
{
  "vote_abstain": {
    "amount": "[amount of votes]"
  }
}


      

        
      

Finalize Vote

Execute to finalize the vote.


        
  
{
  finalize_vote: {} 
}


      

        
  
{
  "finalize_vote": {}
}


      

        
      

Emergency Cancel

Execute to initiate an emergency cancellation of the vote.


        
  
{
  emergency_cancel: {}
}


      

        
  
{
  "emergency_cancel": {}
}