Vaulta

oracle.ob

Contract

The data structures defined by this contract.

  • Action parameter in clear

    {
      "name": "clear",
      "base": "",
      "fields": []
    }
  • Action parameter in feed

    {
      "name": "feed",
      "base": "",
      "fields": [
        {
          "name": "records",
          "type": "symbol_price[]"
        }
      ]
    }
  • Table row type of global

    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Table row type of price

    {
      "name": "price",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "pair_id",
          "type": "uint64"
        },
        {
          "name": "last_price",
          "type": "float64"
        },
        {
          "name": "price",
          "type": "float64"
        },
        {
          "name": "update_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Struct property of feed

    {
      "name": "symbol_price",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "price",
          "type": "float64"
        },
        {
          "name": "source",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in updateglobal

    {
      "name": "updateglobal",
      "base": "",
      "fields": [
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in updatepairid

    {
      "name": "updatepairid",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "pair_id",
          "type": "uint64"
        }
      ]
    }