Vaulta

defislinkeos

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "avgprice",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "submitter",
          "type": "name"
        },
        {
          "name": "period",
          "type": "string"
        },
        {
          "name": "price0_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "price1_cumulative_last",
          "type": "uint64"
        },
        {
          "name": "price0_avg_price",
          "type": "float64"
        },
        {
          "name": "price1_avg_price",
          "type": "float64"
        },
        {
          "name": "last_update",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "cl",
      "base": "",
      "fields": []
    },
    {
      "name": "globals",
      "base": "",
      "fields": [
        {
          "name": "source",
          "type": "name"
        }
      ]
    },
    {
      "name": "price",
      "base": "",
      "fields": [
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "price0_last",
          "type": "float64"
        },
        {
          "name": "price1_last",
          "type": "float64"
        },
        {
          "name": "price0_cumulative_last",
          "type": "float64"
        },
        {
          "name": "price1_cumulative_last",
          "type": "float64"
        },
        {
          "name": "last_update",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "twap",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "submitter",
          "type": "name"
        },
        {
          "name": "period",
          "type": "string"
        },
        {
          "name": "price0_cumulative_last",
          "type": "float64"
        },
        {
          "name": "price1_cumulative_last",
          "type": "float64"
        },
        {
          "name": "price0_avg_price",
          "type": "float64"
        },
        {
          "name": "price1_avg_price",
          "type": "float64"
        },
        {
          "name": "last_update",
          "type": "time_point_sec"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "cl",
      "type": "cl",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "avgprices",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "avgprice"
    },
    {
      "name": "globals",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "globals"
    },
    {
      "name": "prices",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "price"
    },
    {
      "name": "twaps",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "twap"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}