WAX

waxtokenbase

Contract

The data structures defined by this contract.

  • Action parameter in addtoken

    {
      "name": "addtoken",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "maximum_supply",
          "type": "asset"
        },
        {
          "name": "token_name",
          "type": "string"
        },
        {
          "name": "token_logo",
          "type": "string"
        },
        {
          "name": "token_logo_lg",
          "type": "string"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Table row type of tokens

    {
      "name": "tokens_s",
      "base": "",
      "fields": [
        {
          "name": "maximum_supply",
          "type": "asset"
        },
        {
          "name": "token_name",
          "type": "string"
        },
        {
          "name": "token_logo",
          "type": "string"
        },
        {
          "name": "token_logo_lg",
          "type": "string"
        }
      ]
    }
  • Action parameter in updatetoken

    {
      "name": "updatetoken",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "maximum_supply",
          "type": "asset"
        },
        {
          "name": "token_name",
          "type": "string"
        },
        {
          "name": "token_logo",
          "type": "string"
        },
        {
          "name": "token_logo_lg",
          "type": "string"
        }
      ]
    }