Vaulta

zlkggamedice

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of dicegrec

    {
      "name": "dice_record",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "iden",
          "type": "uint64"
        },
        {
          "name": "createtime",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "user_balance",
          "type": "asset"
        },
        {
          "name": "user_number",
          "type": "uint8"
        },
        {
          "name": "sys_number",
          "type": "uint8"
        },
        {
          "name": "user_win_balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in none

    {
      "name": "none",
      "base": "",
      "fields": []
    }
  • Table row type of placcounts

    {
      "name": "platform_account",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "invite_name",
          "type": "name"
        },
        {
          "name": "register_timestamp",
          "type": "uint64"
        }
      ]
    }
  • Table row type of tranrec

    {
      "name": "trans_record",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "iden",
          "type": "uint64"
        },
        {
          "name": "createtime",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "user_balance",
          "type": "asset"
        },
        {
          "name": "trans_balance",
          "type": "asset"
        },
        {
          "name": "transferred",
          "type": "uint8"
        }
      ]
    }