Vaulta

hundredxrekt

Contract

The data structures defined by this contract.

  • Table row type of bets

    Table row type of pbets

    {
      "name": "bet",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "strategy",
          "type": "uint8"
        },
        {
          "name": "referrer",
          "type": "name"
        }
      ]
    }
  • Action parameter in claimjackpot

    {
      "name": "claimjackpot",
      "base": "",
      "fields": []
    }
  • Table row type of config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "current_game_id",
          "type": "uint64"
        },
        {
          "name": "current_bet_id",
          "type": "uint64"
        },
        {
          "name": "game_duration",
          "type": "microseconds"
        },
        {
          "name": "paused",
          "type": "bool"
        },
        {
          "name": "bets_to_process",
          "type": "uint16"
        },
        {
          "name": "monkey_delta_4_decimals",
          "type": "uint32"
        },
        {
          "name": "jackpot_duration",
          "type": "microseconds"
        },
        {
          "name": "referrer_percentage",
          "type": "float64"
        }
      ]
    }
  • Table row type of games

    {
      "name": "game",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "start_date",
          "type": "time_point_sec"
        },
        {
          "name": "end_date",
          "type": "time_point_sec"
        },
        {
          "name": "start_price",
          "type": "uint64"
        },
        {
          "name": "end_price",
          "type": "uint64"
        },
        {
          "name": "total_bear",
          "type": "asset"
        },
        {
          "name": "total_monkey",
          "type": "asset"
        },
        {
          "name": "total_bull",
          "type": "asset"
        },
        {
          "name": "total_players",
          "type": "uint16"
        },
        {
          "name": "refunded",
          "type": "bool"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": []
    }
  • Table row type of jackpot

    {
      "name": "jackpot_s",
      "base": "",
      "fields": [
        {
          "name": "last_action",
          "type": "time_point_sec"
        },
        {
          "name": "last_players",
          "type": "name[]"
        }
      ]
    }
  • Struct property of config

    {
      "name": "microseconds",
      "base": "",
      "fields": [
        {
          "name": "_count",
          "type": "int64"
        }
      ]
    }
  • Action parameter in oraclecb

    {
      "name": "oraclecb",
      "base": "",
      "fields": [
        {
          "name": "price",
          "type": "string"
        }
      ]
    }
  • Action parameter in payforcpu

    {
      "name": "payforcpu",
      "base": "",
      "fields": []
    }
  • Action parameter in payout

    {
      "name": "payout",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of payouts

    {
      "name": "payout_s",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "eos_quantity",
          "type": "asset"
        },
        {
          "name": "hndrdx_quantity",
          "type": "asset"
        },
        {
          "name": "referrer",
          "type": "name"
        },
        {
          "name": "date",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in processbets

    {
      "name": "processbets",
      "base": "",
      "fields": [
        {
          "name": "bets_to_process",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in setconfig

    {
      "name": "setconfig",
      "base": "",
      "fields": [
        {
          "name": "game_duration_seconds",
          "type": "uint64"
        },
        {
          "name": "paused",
          "type": "bool"
        },
        {
          "name": "bets_to_process",
          "type": "uint16"
        },
        {
          "name": "monkey_delta",
          "type": "float32"
        },
        {
          "name": "jackpot_duration_seconds",
          "type": "uint64"
        },
        {
          "name": "referrer_percentage",
          "type": "float64"
        }
      ]
    }