Vaulta

bbgameoneeos

Contract

The data structures defined by this contract.

  • Action parameter in draw

    {
      "name": "draw",
      "base": "",
      "fields": [
        {
          "name": "order_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in getcode

    {
      "name": "getcode",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "order_id",
          "type": "uint64"
        },
        {
          "name": "bet_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "order_id",
          "type": "uint64"
        },
        {
          "name": "upper_limit",
          "type": "asset"
        },
        {
          "name": "per_price",
          "type": "asset"
        },
        {
          "name": "number",
          "type": "int32"
        },
        {
          "name": "prize_num",
          "type": "asset"
        }
      ]
    }
  • Action parameter in restart

    {
      "name": "restart",
      "base": "",
      "fields": [
        {
          "name": "order_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in testpay

    {
      "name": "testpay",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of ts.log

    {
      "name": "treasure_log",
      "base": "",
      "fields": [
        {
          "name": "_order_id",
          "type": "uint64"
        },
        {
          "name": "_upper_limit",
          "type": "asset"
        },
        {
          "name": "_per_price",
          "type": "asset"
        },
        {
          "name": "_number",
          "type": "uint32"
        },
        {
          "name": "_prize_num",
          "type": "asset"
        },
        {
          "name": "_round_start_time",
          "type": "uint32"
        },
        {
          "name": "_rounds",
          "type": "uint32"
        },
        {
          "name": "_bet_time_sum",
          "type": "uint64"
        },
        {
          "name": "_bet_number",
          "type": "uint32"
        },
        {
          "name": "_bet_quantity",
          "type": "asset"
        },
        {
          "name": "_luck_code",
          "type": "uint64"
        },
        {
          "name": "_close",
          "type": "uint32"
        }
      ]
    }
  • {
      "name": "treasure_player_item",
      "base": "",
      "fields": [
        {
          "name": "_start_code",
          "type": "uint64"
        },
        {
          "name": "_bet_number",
          "type": "uint32"
        },
        {
          "name": "_bet_id",
          "type": "uint64"
        },
        {
          "name": "_player",
          "type": "name"
        }
      ]
    }
  • Table row type of ts.p.log.1

    {
      "name": "treasure_player_log",
      "base": "",
      "fields": [
        {
          "name": "_order_id",
          "type": "uint64"
        },
        {
          "name": "treasure_player_list",
          "type": "treasure_player_item[]"
        }
      ]
    }
  • Action parameter in under

    {
      "name": "under",
      "base": "",
      "fields": [
        {
          "name": "order_id",
          "type": "uint64"
        }
      ]
    }