Smart Contracts

Module: ManaChallenge
back to overview
ManaChallenge
Methods: 10
Instances: 1
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
🗎<8583,0>


Release: 2024.12
Support CCDExplorer.io Uptime Backend Status