Vaulta

eoskonglucky

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "commithash",
      "base": "",
      "fields": [
        {
          "name": "player_name",
          "type": "name"
        },
        {
          "name": "hash",
          "type": "uint8[]"
        }
      ]
    },
    {
      "name": "configStruct",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bet_pool",
          "type": "asset"
        },
        {
          "name": "profit_pool",
          "type": "asset"
        },
        {
          "name": "refund_time",
          "type": "uint32"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "custom_refund_time",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "makestep",
      "base": "",
      "fields": [
        {
          "name": "player_name",
          "type": "name"
        },
        {
          "name": "lvl",
          "type": "uint8"
        },
        {
          "name": "pick",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "player_name",
          "type": "name"
        },
        {
          "name": "secret",
          "type": "uint8[]"
        },
        {
          "name": "salt",
          "type": "string"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "commithash",
      "type": "commithash",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    },
    {
      "name": "makestep",
      "type": "makestep",
      "ricardian_contract": ""
    },
    {
      "name": "reveal",
      "type": "reveal",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "configStruct"
    },
    {
      "name": "games",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "game"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}