Smart Contracts (Testnet)

Module: voting
back to overview
voting
Methods: 2
Instances: 1
Initialization

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

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

Parameters
None
Errors
None
Return
{
  "description": "<String>",
  "end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "tally": [
    [
      "<String>",
      "<UInt32>"
    ]
  ]
}
Address
🗎<2289,0>


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