Smart Contracts (Testnet)

Module: voting
back to overview
voting
Methods: 3
Instances: 31
Initialization

Parameters
{
  "description": {
    "description_text": "<String>",
    "options": [
      "<String>"
    ]
  },
  "end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
Errors
None
Event
None
Methods

Parameters
"<UInt32>"
Errors
{
  "Enum": [
    {
      "VotingFinished": []
    },
    {
      "InvalidVoteIndex": []
    },
    {
      "ParsingFailed": []
    },
    {
      "ContractVoter": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
{
  "description": {
    "description_text": "<String>",
    "options": [
      "<String>"
    ]
  },
  "end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "tally": {
    "result": [
      [
        "<String>",
        "<UInt32>"
      ]
    ],
    "total_votes": "<UInt32>"
  }
}

Parameters
None
Errors
None
Return
None


Release: 2024.12
Support CCDExplorer.io Uptime Backend Status CCDExplorer is supported by AesirX - Decentralized Consent & Data Ownership