WAX

twap.waxdao

Contract

The data structures defined by this contract.

  • Table row type of config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        },
        {
          "name": "authorizers",
          "type": "name[]"
        },
        {
          "name": "wax_per_waxdao",
          "type": "float64"
        },
        {
          "name": "current_discount",
          "type": "float64"
        },
        {
          "name": "next_push",
          "type": "uint64"
        }
      ]
    }
  • Table row type of datapoints

    {
      "name": "datapoints",
      "base": "",
      "fields": [
        {
          "name": "time",
          "type": "uint64"
        },
        {
          "name": "wax_per_waxdao",
          "type": "float64"
        }
      ]
    }
  • Action parameter in initconfig

    {
      "name": "initconfig",
      "base": "",
      "fields": []
    }
  • Action parameter in pushprice

    {
      "name": "pushprice",
      "base": "",
      "fields": [
        {
          "name": "signer",
          "type": "name"
        },
        {
          "name": "wax_per_waxdao",
          "type": "float64"
        }
      ]
    }
  • Action parameter in setdiscount

    {
      "name": "setdiscount",
      "base": "",
      "fields": [
        {
          "name": "signer",
          "type": "name"
        },
        {
          "name": "discount",
          "type": "float64"
        }
      ]
    }