Vaulta

yizeshenzhen

Contract

The data structures defined by this contract.

  • Table row type of config

    {
      "name": "gamecfg",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "min",
          "type": "uint64"
        },
        {
          "name": "max",
          "type": "uint64"
        },
        {
          "name": "price",
          "type": "asset"
        },
        {
          "name": "prizePool",
          "type": "float64"
        },
        {
          "name": "ratio",
          "type": "float64"
        }
      ]
    }
  • Table row type of global

    {
      "name": "globalvalue",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "key",
          "type": "string"
        },
        {
          "name": "n_value",
          "type": "float64"
        },
        {
          "name": "s_value",
          "type": "string"
        }
      ]
    }
  • Action parameter in initconfig

    {
      "name": "initconfig",
      "base": "",
      "fields": []
    }
  • Table row type of log

    {
      "name": "mylog",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "name"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of myuserroll

    {
      "name": "myuserroll",
      "base": "",
      "fields": [
        {
          "name": "gameId",
          "type": "uint64"
        },
        {
          "name": "accountName",
          "type": "string"
        },
        {
          "name": "contractName",
          "type": "string"
        },
        {
          "name": "betAsset",
          "type": "asset"
        },
        {
          "name": "roll",
          "type": "uint64"
        },
        {
          "name": "seed",
          "type": "string"
        }
      ]
    }
  • Action parameter in receipt

    {
      "name": "receipt",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "msg",
          "type": "string"
        }
      ]
    }