Vaulta

eosreelreddi

Contract

The data structures defined by this contract.

  • Table row type of history

    Table row type of hugewins

    Table row type of pendings

    {
      "name": "BetStruct",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "betId",
          "type": "uint64"
        },
        {
          "name": "betCount",
          "type": "uint64"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "betAmount",
          "type": "asset"
        },
        {
          "name": "payoutAmount",
          "type": "asset"
        },
        {
          "name": "gameHashPattern",
          "type": "string"
        },
        {
          "name": "gameSymbolPattern",
          "type": "string[]"
        },
        {
          "name": "winLinePattern",
          "type": "uint8[]"
        },
        {
          "name": "winSymbol",
          "type": "string[]"
        },
        {
          "name": "winSymbolPattern",
          "type": "string[]"
        },
        {
          "name": "winSymbolIndex",
          "type": "string[]"
        },
        {
          "name": "winSymbolCount",
          "type": "uint8[]"
        },
        {
          "name": "winLinePayout",
          "type": "string[]"
        },
        {
          "name": "winLinePayoutAmount",
          "type": "asset[]"
        },
        {
          "name": "winTotalLine",
          "type": "uint8"
        },
        {
          "name": "jackpotCount",
          "type": "uint8"
        },
        {
          "name": "jackpotPayout",
          "type": "uint16"
        },
        {
          "name": "jackpotPayoutAmount",
          "type": "asset"
        },
        {
          "name": "jackpotResult",
          "type": "string"
        },
        {
          "name": "gameResult",
          "type": "string"
        },
        {
          "name": "hashSeed",
          "type": "string"
        },
        {
          "name": "ref",
          "type": "name"
        },
        {
          "name": "sig",
          "type": "signature"
        }
      ]
    }
  • Table row type of config

    {
      "name": "ConfigStruct",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "key",
          "type": "public_key"
        },
        {
          "name": "history_idx",
          "type": "uint64"
        },
        {
          "name": "hugewins_idx",
          "type": "uint64"
        },
        {
          "name": "progressive",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in confirm

    {
      "name": "confirm",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": []
    }
  • Action parameter in randkey

    {
      "name": "randkey",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "public_key"
        }
      ]
    }
  • Action parameter in receipt

    {
      "name": "receipt",
      "base": "",
      "fields": [
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "betId",
          "type": "uint64"
        },
        {
          "name": "betCount",
          "type": "uint64"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "betAmount",
          "type": "asset"
        },
        {
          "name": "payoutAmount",
          "type": "asset"
        },
        {
          "name": "gameHashPattern",
          "type": "string"
        },
        {
          "name": "gameSymbolPattern",
          "type": "string[]"
        },
        {
          "name": "winLinePattern",
          "type": "uint8[]"
        },
        {
          "name": "winSymbol",
          "type": "string[]"
        },
        {
          "name": "winSymbolPattern",
          "type": "string[]"
        },
        {
          "name": "winSymbolIndex",
          "type": "string[]"
        },
        {
          "name": "winSymbolCount",
          "type": "uint8[]"
        },
        {
          "name": "winLinePayout",
          "type": "string[]"
        },
        {
          "name": "winLinePayoutAmount",
          "type": "asset[]"
        },
        {
          "name": "winTotalLine",
          "type": "uint8"
        },
        {
          "name": "jackpotCount",
          "type": "uint8"
        },
        {
          "name": "jackpotPayout",
          "type": "uint16"
        },
        {
          "name": "jackpotPayoutAmount",
          "type": "asset"
        },
        {
          "name": "jackpotResult",
          "type": "string"
        },
        {
          "name": "gameResult",
          "type": "string"
        },
        {
          "name": "hashSeed",
          "type": "string"
        },
        {
          "name": "ref",
          "type": "name"
        },
        {
          "name": "sig",
          "type": "signature"
        }
      ]
    }
  • Action parameter in resolve

    {
      "name": "resolve",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "sig",
          "type": "signature"
        }
      ]
    }