Vaulta

eosreelfortn

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": "gameType",
          "type": "string"
        },
        {
          "name": "freeSpinCount",
          "type": "uint16"
        },
        {
          "name": "freeSpinTotal",
          "type": "uint16"
        },
        {
          "name": "freeSpinsPayoutAmount",
          "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": "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"
        }
      ]
    }
  • Table row type of freespin

    {
      "name": "FreeSpinStruct",
      "base": "",
      "fields": [
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "oneFreeTotal",
          "type": "uint16"
        },
        {
          "name": "oneFreeCount",
          "type": "uint16"
        },
        {
          "name": "oneFreeTotalPayout",
          "type": "asset"
        },
        {
          "name": "twoFreeTotal",
          "type": "uint16"
        },
        {
          "name": "twoFreeCount",
          "type": "uint16"
        },
        {
          "name": "twoFreeTotalPayout",
          "type": "asset"
        },
        {
          "name": "threeFreeTotal",
          "type": "uint16"
        },
        {
          "name": "threeFreeCount",
          "type": "uint16"
        },
        {
          "name": "threeFreeTotalPayout",
          "type": "asset"
        },
        {
          "name": "fourFreeTotal",
          "type": "uint16"
        },
        {
          "name": "fourFreeCount",
          "type": "uint16"
        },
        {
          "name": "fourFreeTotalPayout",
          "type": "asset"
        }
      ]
    }
  • 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": "gameType",
          "type": "string"
        },
        {
          "name": "freeSpinCount",
          "type": "uint16"
        },
        {
          "name": "freeSpinTotal",
          "type": "uint16"
        },
        {
          "name": "freeSpinsPayoutAmount",
          "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": "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"
        }
      ]
    }