Vaulta

jinoraclesv1

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

    {
      "name": "globals",
      "base": "",
      "fields": [
        {
          "name": "source",
          "type": "name"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "source",
          "type": "name"
        }
      ]
    }
  • Action parameter in log

    {
      "name": "log",
      "base": "",
      "fields": [
        {
          "name": "data",
          "type": "st_log"
        }
      ]
    }
  • Struct property of log

    {
      "name": "st_log",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "submitter",
          "type": "name"
        },
        {
          "name": "period",
          "type": "string"
        },
        {
          "name": "price0_avg_price",
          "type": "float64"
        },
        {
          "name": "price1_avg_price",
          "type": "float64"
        },
        {
          "name": "last_update",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in update

    {
      "name": "update",
      "base": "",
      "fields": [
        {
          "name": "submitter",
          "type": "name"
        },
        {
          "name": "pairid",
          "type": "uint64"
        }
      ]
    }