Vaulta

defislinkeos

Contract

The data structures defined by this contract.

  • Table row type of avgprices

    {
      "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"
        }
      ]
    }
  • Action parameter in cl

    {
      "name": "cl",
      "base": "",
      "fields": []
    }
  • Table row type of globals

    {
      "name": "globals",
      "base": "",
      "fields": [
        {
          "name": "source",
          "type": "name"
        }
      ]
    }
  • Table row type of prices

    {
      "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"
        }
      ]
    }
  • Table row type of twaps

    {
      "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"
        }
      ]
    }