Vaulta

epgamblerlte

Contract

The data structures defined by this contract.

  • Table row type of activebets

    {
      "name": "bet",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "betamount",
          "type": "asset"
        },
        {
          "name": "num1",
          "type": "string"
        },
        {
          "name": "num2",
          "type": "string"
        },
        {
          "name": "num3",
          "type": "string"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "count",
          "type": "uint64"
        },
        {
          "name": "gameid",
          "type": "uint64"
        },
        {
          "name": "result",
          "type": "uint8"
        },
        {
          "name": "tranffer_state",
          "type": "uint8"
        },
        {
          "name": "user_seed",
          "type": "string"
        },
        {
          "name": "house_seed_hash",
          "type": "checksum256"
        },
        {
          "name": "bet_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of globalvars

    {
      "name": "globalvar",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "val",
          "type": "uint64"
        }
      ]
    }
  • Table row type of buylogs

    {
      "name": "buylog",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "count",
          "type": "uint64"
        },
        {
          "name": "lastReSetTime",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of game

    {
      "name": "game",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "ttl",
          "type": "uint32"
        },
        {
          "name": "game_state",
          "type": "uint8"
        },
        {
          "name": "source",
          "type": "string"
        },
        {
          "name": "commitment",
          "type": "checksum256"
        },
        {
          "name": "num1",
          "type": "uint8"
        },
        {
          "name": "num2",
          "type": "uint8"
        },
        {
          "name": "num3",
          "type": "uint8"
        },
        {
          "name": "create_time",
          "type": "time_point_sec"
        },
        {
          "name": "update_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of randkeys

    {
      "name": "randkey",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "key",
          "type": "public_key"
        }
      ]
    }
  • Table row type of global

    {
      "name": "st_global",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "nextgameid",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in initcontract

    {
      "name": "initcontract",
      "base": "",
      "fields": [
        {
          "name": "randomness_key",
          "type": "public_key"
        }
      ]
    }
  • Action parameter in creategame

    {
      "name": "creategame",
      "base": "",
      "fields": []
    }
  • Action parameter in newrandkey

    {
      "name": "newrandkey",
      "base": "",
      "fields": [
        {
          "name": "randomness_key",
          "type": "public_key"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in reveal

    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "gameid",
          "type": "uint64"
        },
        {
          "name": "house_seed",
          "type": "string"
        }
      ]
    }
  • Action parameter in clearbet

    {
      "name": "clearbet",
      "base": "",
      "fields": []
    }
  • Action parameter in log

    {
      "name": "log",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "result",
          "type": "string"
        }
      ]
    }
  • Struct property of betreceipt

    {
      "name": "st_result",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "referral",
          "type": "name"
        },
        {
          "name": "num1",
          "type": "string"
        },
        {
          "name": "num2",
          "type": "string"
        },
        {
          "name": "num3",
          "type": "string"
        },
        {
          "name": "result",
          "type": "string"
        },
        {
          "name": "win",
          "type": "uint64"
        },
        {
          "name": "payout",
          "type": "asset"
        }
      ]
    }
  • Action parameter in betreceipt

    {
      "name": "betreceipt",
      "base": "",
      "fields": [
        {
          "name": "result",
          "type": "st_result"
        }
      ]
    }