Smart Contracts

Module: ManaChallenge
back to overview
ManaChallenge
Methods: 10
Instances: 0
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "percentage_fees": "<UInt16>"
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
{
  "challenge": {
    "amount": "<Amount in microCCD>",
    "challenger": "<AccountAddress>",
    "expiration": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
    "game": "<String>",
    "is_public": "<Bool>",
    "max_opponents": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<UInt32>"
          ]
        }
      ]
    },
    "opponents": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            [
              "<AccountAddress>"
            ]
          ]
        }
      ]
    }
  },
  "challenge_id": "<String>"
}
Errors
None
Return
None

Parameters
{
  "challenge_id": "<String>"
}
Errors
None
Return
None

Parameters
{
  "challenge_id": "<String>"
}
Errors
None
Return
None

Parameters
{
  "challenge_id": "<String>"
}
Errors
None
Return
None

Parameters
{
  "challenge_id": "<String>"
}
Errors
None
Return
None

Parameters
{
  "challenge_id": "<String>",
  "validator_address": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  },
  "validator_amount": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<Amount in microCCD>"
        ]
      }
    ]
  },
  "winner": "<AccountAddress>"
}
Errors
None
Return
None

Parameters
{
  "challenge_id": "<String>",
  "validator_address": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  },
  "validator_amount": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<Amount in microCCD>"
        ]
      }
    ]
  },
  "winner": "<AccountAddress>"
}
Errors
None
Return
None

Parameters
{
  "challenge_id": "<String>",
  "validator_address": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  },
  "validator_amount": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<Amount in microCCD>"
        ]
      }
    ]
  },
  "winner": "<AccountAddress>"
}
Errors
None
Return
None
Address
🗎<8582,0>


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