WAX

twap.waxdao

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "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"
        }
      ]
    },
    {
      "name": "datapoints",
      "base": "",
      "fields": [
        {
          "name": "time",
          "type": "uint64"
        },
        {
          "name": "wax_per_waxdao",
          "type": "float64"
        }
      ]
    },
    {
      "name": "initconfig",
      "base": "",
      "fields": []
    },
    {
      "name": "pushprice",
      "base": "",
      "fields": [
        {
          "name": "signer",
          "type": "name"
        },
        {
          "name": "wax_per_waxdao",
          "type": "float64"
        }
      ]
    },
    {
      "name": "setdiscount",
      "base": "",
      "fields": [
        {
          "name": "signer",
          "type": "name"
        },
        {
          "name": "discount",
          "type": "float64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "initconfig",
      "type": "initconfig",
      "ricardian_contract": ""
    },
    {
      "name": "pushprice",
      "type": "pushprice",
      "ricardian_contract": ""
    },
    {
      "name": "setdiscount",
      "type": "setdiscount",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config"
    },
    {
      "name": "datapoints",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "datapoints"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}