Vaulta

eoscatsfeeds

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "calculate",
      "base": "",
      "fields": []
    },
    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "epoch_time",
          "type": "uint32"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "min_feed",
          "type": "asset"
        }
      ]
    },
    {
      "name": "market",
      "base": "",
      "fields": [
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "contract0",
          "type": "name"
        },
        {
          "name": "contract1",
          "type": "name"
        },
        {
          "name": "sym0",
          "type": "symbol"
        },
        {
          "name": "sym1",
          "type": "symbol"
        },
        {
          "name": "reserve0",
          "type": "asset"
        },
        {
          "name": "reserve1",
          "type": "asset"
        },
        {
          "name": "liquidity_token",
          "type": "uint64"
        },
        {
          "name": "price0_last",
          "type": "float64"
        },
        {
          "name": "price1_last",
          "type": "float64"
        },
        {
          "name": "price0_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "price1_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "last_update",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "miner",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "feed",
          "type": "asset"
        }
      ]
    },
    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "total_feed",
          "type": "asset"
        },
        {
          "name": "epoch_time",
          "type": "uint32"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "min_feed",
          "type": "asset"
        }
      ]
    },
    {
      "name": "power",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "update",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "calculate",
      "type": "calculate",
      "ricardian_contract": ""
    },
    {
      "name": "create",
      "type": "create",
      "ricardian_contract": ""
    },
    {
      "name": "update",
      "type": "update",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "markets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "market"
    },
    {
      "name": "miners",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "miner"
    },
    {
      "name": "pools",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pool"
    },
    {
      "name": "power",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "power"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}