Please adjust your bookmarks to https://ccdexplorer.io, this domain will be expired soon.

Module scorefam_token_and_game
Module Info
Module Name scorefam_token_and_game
Module Reference 1e3bea9a0b
Deployed in block 11,718,131
Deployed in tx b6af
Age 331 days
Sender 92719
Methods 19
Instances 1
Module Usage
Module Schema
Initialization

Parameters
None
Errors
None
Event
{
  "Enum": [
    {
      "NewAdmin": {
        "new_admin": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        }
      }
    },
    {
      "PlayedGame": {
        "game_details": {
          "acc_odd_point": "<UInt32>",
          "amount": "<UInt64>",
          "game_id": "<UInt32>",
          "game_type": "<String>"
        }
      }
    },
    {
      "ClaimedGame": {
        "game_details": {
          "amount": "<UInt64>",
          "game_id": "<UInt32>",
          "owner": {
            "Enum": [
              {
                "Account": [
                  "<AccountAddress>"
                ]
              },
              {
                "Contract": [
                  {
                    "index": "<UInt64>",
                    "subindex": "<UInt64>"
                  }
                ]
              }
            ]
          }
        }
      }
    },
    {
      "UpdatedGameResult": {
        "away_score": "<UInt8>",
        "fixture_id": "<UInt64>",
        "home_score": "<UInt8>"
      }
    },
    {
      "TokenMetadata": {
        "metadata_url": {
          "hash": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String of size 64 containing lowercase hex characters.>"
                ]
              }
            ]
          },
          "url": "<String>"
        },
        "token_id": "<String with lowercase hex>"
      }
    },
    {
      "UpdateOperator": {
        "operator": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "owner": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "update": {
          "Enum": [
            {
              "Remove": []
            },
            {
              "Add": []
            }
          ]
        }
      }
    },
    {
      "Burn": {
        "amount": "<String of size at most 74 containing an unsigned integer.>",
        "owner": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "token_id": "<String with lowercase hex>"
      }
    },
    {
      "Mint": {
        "amount": "<String of size at most 74 containing an unsigned integer.>",
        "owner": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "token_id": "<String with lowercase hex>"
      }
    },
    {
      "Transfer": {
        "amount": "<String of size at most 74 containing an unsigned integer.>",
        "from": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "to": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "token_id": "<String with lowercase hex>"
      }
    }
  ]
}
Methods

Parameters
{
  "amount": "<String of size at most 74 containing an unsigned integer.>",
  "owner": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "amount": "<String of size at most 74 containing an unsigned integer.>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "game": {
    "acc_odd_point": "<UInt32>",
    "amount": "<UInt64>",
    "fixtures": [
      {
        "fixture_id": "<UInt64>",
        "game_start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
        "odd_point": "<UInt32>",
        "outcome_type": "<String>"
      }
    ],
    "game_active": "<Bool>",
    "game_type": "<String>",
    "verify_key": "<String of size 64 containing lowercase hex characters.>"
  }
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "away_score": "<UInt8>",
  "fixture_id": "<UInt64>",
  "home_score": "<UInt8>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "game_id": "<UInt32>",
  "signature": "<String of size 128 containing lowercase hex characters.>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "Enum": [
    {
      "Account": [
        "<AccountAddress>"
      ]
    },
    {
      "Contract": [
        {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        }
      ]
    }
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "paused": "<Bool>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "hash": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>"
          ]
        ]
      }
    ]
  },
  "url": "<String>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  {
    "amount": "<String of size at most 74 containing an unsigned integer.>",
    "data": [
      "<UInt8>"
    ],
    "from": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "to": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            },
            "<String>"
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  {
    "operator": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "update": {
      "Enum": [
        {
          "Remove": []
        },
        {
          "Add": []
        }
      ]
    }
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<String of size at most 74 containing an unsigned integer.>"
]

Parameters
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "owner": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    }
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<Bool>"
]

Parameters
[
  "<String with lowercase hex>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  }
]

Parameters
None
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
{
  "admin": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "circulating_supply": "<String of size at most 74 containing an unsigned integer.>",
  "max_supply": "<String of size at most 74 containing an unsigned integer.>",
  "metadata_url": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  },
  "paused": "<Bool>"
}

Parameters
{
  "Enum": [
    {
      "Account": [
        "<AccountAddress>"
      ]
    },
    {
      "Contract": [
        {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        }
      ]
    }
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
{
  "games": [
    {
      "acc_odd_point": "<UInt32>",
      "amount": "<UInt64>",
      "fixtures": [
        {
          "fixture_id": "<UInt64>",
          "game_start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
          "odd_point": "<UInt32>",
          "outcome_type": "<String>"
        }
      ],
      "game_active": "<Bool>",
      "game_type": "<String>",
      "verify_key": "<String of size 64 containing lowercase hex characters.>"
    }
  ],
  "stats": {
    "total_amount_staked": "<UInt64>",
    "total_amount_won": "<UInt64>",
    "total_games_played": "<UInt32>",
    "total_games_won": "<UInt32>"
  }
}

Parameters
[
  "<String>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "Enum": [
      {
        "NoSupport": []
      },
      {
        "Support": []
      },
      {
        "SupportBy": [
          [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        ]
      }
    ]
  }
]

Parameters
{
  "id": "<String>",
  "implementors": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "migrate": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<String>",
            "<String with lowercase hex>"
          ]
        ]
      }
    ]
  },
  "module": "<String of size 64 containing lowercase hex characters.>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "ContractPaused": []
            },
            {
              "InvokeContractError": []
            },
            {
              "ContractOnly": []
            },
            {
              "AccountOnly": []
            },
            {
              "InvokeTransferError": []
            },
            {
              "InvalidContractName": []
            },
            {
              "FailedUpgradeMissingModule": []
            },
            {
              "FailedUpgradeMissingContract": []
            },
            {
              "FailedUpgradeUnsupportedModuleVersion": []
            },
            {
              "MaxSupplyReached": []
            },
            {
              "NoBalanceToBurn": []
            },
            {
              "GameIsOn": []
            },
            {
              "Claimed": []
            },
            {
              "NoStakeAmount": []
            },
            {
              "InvalidGameId": []
            },
            {
              "GameAlreadyClaimed": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None