Vaulta

eprediction1

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "pid",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "clean",
      "base": "",
      "fields": []
    },
    {
      "name": "close",
      "base": "",
      "fields": []
    },
    {
      "name": "global_var",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "val",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "init",
      "base": "",
      "fields": []
    },
    {
      "name": "market",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "up_pool",
          "type": "asset"
        },
        {
          "name": "down_pool",
          "type": "asset"
        },
        {
          "name": "locked_price",
          "type": "float64"
        },
        {
          "name": "closed_price",
          "type": "float64"
        },
        {
          "name": "start",
          "type": "time_point_sec"
        },
        {
          "name": "end",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "position",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "type",
          "type": "string"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "join",
          "type": "time_point_sec"
        },
        {
          "name": "isclaim",
          "type": "bool"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "claim",
      "type": "claim",
      "ricardian_contract": ""
    },
    {
      "name": "clean",
      "type": "clean",
      "ricardian_contract": ""
    },
    {
      "name": "close",
      "type": "close",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "globals",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "global_var"
    },
    {
      "name": "markets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "market"
    },
    {
      "name": "positions",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "position"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}