Smart Contracts

Module: govote_voting_v1
back to overview
govote_voting_v1
Methods: 4
Instances: 0
Initialization

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

Parameters
{
  "proposal_id": "<UInt8>"
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
{
  "description": "<String>",
  "expiry": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "proposals": [
    [
      "<UInt8>",
      {
        "name": "<String>",
        "vote_count": "<UInt32>"
      }
    ]
  ],
  "status": {
    "Enum": [
      {
        "InProcess": []
      },
      {
        "Finished": []
      }
    ]
  },
  "title": "<String>",
  "voters": [
    [
      {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      },
      {
        "vote": "<UInt8>",
        "voted": "<Bool>",
        "weight": "<UInt32>"
      }
    ]
  ],
  "winning_proposal_id": [
    "<UInt8>"
  ]
}


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