Vaulta

luckygoadmin

Contract

The data structures defined by this contract.

  • Table row type of account

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "player_name",
          "type": "name"
        },
        {
          "name": "bet",
          "type": "asset"
        },
        {
          "name": "win_num",
          "type": "asset"
        },
        {
          "name": "trans_id",
          "type": "string"
        },
        {
          "name": "win_combine",
          "type": "string"
        },
        {
          "name": "timestamp",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in play

    {
      "name": "play",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "bet",
          "type": "asset"
        },
        {
          "name": "trans_id",
          "type": "string"
        },
        {
          "name": "timestamp",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in erase

    {
      "name": "erase",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }