Vaulta

eoskonglucky

Contract

The data structures defined by this contract.

  • Action parameter in commithash

    {
      "name": "commithash",
      "base": "",
      "fields": [
        {
          "name": "player_name",
          "type": "name"
        },
        {
          "name": "hash",
          "type": "uint8[]"
        }
      ]
    }
  • Table row type of config

    {
      "name": "configStruct",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bet_pool",
          "type": "asset"
        },
        {
          "name": "profit_pool",
          "type": "asset"
        },
        {
          "name": "refund_time",
          "type": "uint32"
        }
      ]
    }
  • Table row type of games

    {
      "name": "game",
      "base": "",
      "fields": [
        {
          "name": "player_name",
          "type": "name"
        },
        {
          "name": "winning_combination_hash",
          "type": "uint8[]"
        },
        {
          "name": "is_active",
          "type": "bool"
        },
        {
          "name": "is_finished",
          "type": "bool"
        },
        {
          "name": "is_closed",
          "type": "bool"
        },
        {
          "name": "last_step",
          "type": "uint8"
        },
        {
          "name": "steps",
          "type": "uint8[]"
        },
        {
          "name": "initial_balance",
          "type": "asset"
        },
        {
          "name": "prize",
          "type": "asset"
        },
        {
          "name": "last_activity",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "custom_refund_time",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in makestep

    {
      "name": "makestep",
      "base": "",
      "fields": [
        {
          "name": "player_name",
          "type": "name"
        },
        {
          "name": "lvl",
          "type": "uint8"
        },
        {
          "name": "pick",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in reveal

    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "player_name",
          "type": "name"
        },
        {
          "name": "secret",
          "type": "uint8[]"
        },
        {
          "name": "salt",
          "type": "string"
        }
      ]
    }