Vaulta

usdxexchange

Contract

The data structures defined by this contract.

  • Table row type of fees

    {
      "name": "fee",
      "base": "",
      "fields": [
        {
          "name": "symc",
          "type": "symbol_code"
        },
        {
          "name": "mintfee",
          "type": "uint64"
        },
        {
          "name": "redeemfee",
          "type": "uint64"
        }
      ]
    }
  • Table row type of iprices

    {
      "name": "iprice",
      "base": "",
      "fields": [
        {
          "name": "symc",
          "type": "symbol_code"
        },
        {
          "name": "index_price",
          "type": "float64"
        },
        {
          "name": "last_update",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in seefee

    {
      "name": "seefee",
      "base": "",
      "fields": [
        {
          "name": "symc",
          "type": "symbol_code"
        },
        {
          "name": "mintfee",
          "type": "uint64"
        },
        {
          "name": "redeemfee",
          "type": "uint64"
        }
      ]
    }
  • Struct property of update

    Struct property of update2

    Struct property of updatelog

    {
      "name": "source",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "string"
        },
        {
          "name": "val",
          "type": "float64"
        }
      ]
    }
  • Action parameter in update

    {
      "name": "update",
      "base": "",
      "fields": [
        {
          "name": "symc",
          "type": "symbol_code"
        },
        {
          "name": "sources",
          "type": "source[]"
        }
      ]
    }
  • Action parameter in update2

    {
      "name": "update2",
      "base": "",
      "fields": [
        {
          "name": "symc",
          "type": "symbol_code"
        },
        {
          "name": "sources",
          "type": "source[]"
        }
      ]
    }
  • Action parameter in updatelog

    {
      "name": "updatelog",
      "base": "",
      "fields": [
        {
          "name": "symc",
          "type": "symbol_code"
        },
        {
          "name": "sources",
          "type": "source[]"
        },
        {
          "name": "mix",
          "type": "float64"
        }
      ]
    }