WAX

iredeemvouch

Contract

The data structures defined by this contract.

  • Action parameter in cls

    {
      "name": "cls",
      "base": "",
      "fields": []
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": []
    }
  • Action parameter in rmvoucher

    {
      "name": "rmvoucher",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    }
  • Action parameter in setvoucher

    {
      "name": "setvoucher",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    }
  • Table row type of config

    {
      "name": "vouchconfig",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "templates",
          "type": "int32[]"
        }
      ]
    }
  • Table row type of vouchredeem

    {
      "name": "vouchredeem",
      "base": "",
      "fields": [
        {
          "name": "offer_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "unpack",
          "type": "bool"
        }
      ]
    }