Available translations

Voting Program

governance.png
voting-program.png
The Voting Program is the heart and soul of governance, as it enables you to cast various types of votes. You may decide what to incentivize, weighing Pools, Assets, Features, and Positions. You may also evaluate and support Contribution Claims and transfer Voting Power to other users.
Content
Governance->Concept->Reusable Governance Snippets->Featuring Tokens Bonus
The features in the Voting Program allow you to cast three different categories of votes:
There is a top-level Votes Switch node that allows spawning several other switches, each one associated to the different types of votes described above:
Configuration
Configuration
Initial Values
These are the Initial Values for Voting Program configuration:
 {}
Examples
This is a list of properties featured by the Voting Program configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Voting Program Menu
The Voting Program node has the following Node Menu items:
The Configure menu item has the following properties:
  • action: Configure
  • actionFunction: uiObject.configEditor.activate
  • label: Configure
  • iconPathOn: configuration
  • iconPathOff: configuration
The Add Votes Switch menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • actionFunction: payload.executeAction
  • label: Add Votes Switch
  • relatedUiObjectProject: Governance
The Add Tokens Bonus menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • disableIfPropertyIsDefined: true
  • propertyToCheckFor: tokensBonus
  • actionFunction: payload.executeAction
  • label: Add Tokens Bonus
  • relatedUiObjectProject: Governance
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
  • actionFunction: payload.executeAction
Voting Program Children
The Voting Program node has the following childrenNodesProperties:
The Votes Switch node property features the following properties:
  • name: votesSwitch
  • type: array
  • autoAdd: false
The Tokens Bonus node property features the following properties:
  • name: tokensBonus
  • type: node
  • autoAdd: true
Voting Program Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Voting Program with other nodes:
Compatible Types: