Smart Contracts (Testnet)

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
"<UInt16>"

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
{
  "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>",
              "<Bool>"
            ]
          ]
        ]
      }
    ]
  },
  "winner": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  }
}

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

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
🗎<4143,0>


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