Vaulta

feed.pizza

Contract

The data structures defined by this contract.

  • Struct property of fetch

    Struct property of set

    Struct property of setavailable

    {
      "name": "extended_symbol",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in feed

    {
      "name": "feed",
      "base": "",
      "fields": [
        {
          "name": "coin",
          "type": "symbol_code"
        },
        {
          "name": "price",
          "type": "decimal"
        }
      ]
    }
  • Table row type of fetch

    {
      "name": "fetch",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "coin",
          "type": "extended_symbol"
        },
        {
          "name": "sources",
          "type": "source[]"
        },
        {
          "name": "interval",
          "type": "uint32"
        },
        {
          "name": "reliable_interval",
          "type": "uint32"
        },
        {
          "name": "updatable",
          "type": "bool"
        },
        {
          "name": "available",
          "type": "bool"
        },
        {
          "name": "prices",
          "type": "decimal[]"
        },
        {
          "name": "reliable_price",
          "type": "decimal"
        },
        {
          "name": "fetched_at",
          "type": "uint32"
        },
        {
          "name": "recorded_at",
          "type": "uint32"
        }
      ]
    }
  • Table row type of oracle

    {
      "name": "oracle",
      "base": "",
      "fields": [
        {
          "name": "coin",
          "type": "symbol_code"
        },
        {
          "name": "price",
          "type": "decimal"
        },
        {
          "name": "fetched_at",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in refresh

    {
      "name": "refresh",
      "base": "",
      "fields": []
    }
  • Action parameter in refresh2

    {
      "name": "refresh2",
      "base": "",
      "fields": [
        {
          "name": "offset",
          "type": "uint32"
        },
        {
          "name": "limit",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in set

    {
      "name": "set",
      "base": "",
      "fields": [
        {
          "name": "coin",
          "type": "extended_symbol"
        },
        {
          "name": "sources",
          "type": "source[]"
        },
        {
          "name": "interval",
          "type": "uint32"
        },
        {
          "name": "reliable_interval",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setavailable

    {
      "name": "setavailable",
      "base": "",
      "fields": [
        {
          "name": "coin",
          "type": "extended_symbol"
        },
        {
          "name": "available",
          "type": "bool"
        }
      ]
    }
  • Struct property of fetch

    Struct property of set

    {
      "name": "source",
      "base": "",
      "fields": [
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "args",
          "type": "string[]"
        }
      ]
    }