WAX

redeem.nft

Contract

The data structures defined by this contract.

  • Struct property of rules

    {
      "name": "RuleItem",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "schema_name",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "rule_id",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in cleanup

    {
      "name": "cleanup",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in collected

    {
      "name": "collected",
      "base": "",
      "fields": [
        {
          "name": "address_hash",
          "type": "checksum256"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in receiverand

    {
      "name": "receiverand",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "random_value",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in reddel

    {
      "name": "reddel",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of redemptions

    {
      "name": "redemptions",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "redeemer",
          "type": "name"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "item_ids",
          "type": "uint64[]"
        },
        {
          "name": "created_at",
          "type": "time_point_sec"
        },
        {
          "name": "address_hash",
          "type": "checksum256"
        },
        {
          "name": "nonce",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rng.assocs

    {
      "name": "rng_assocs",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • Table row type of rules

    {
      "name": "rules",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "rule_display",
          "type": "string"
        },
        {
          "name": "rules",
          "type": "RuleItem[]"
        },
        {
          "name": "total_weight",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in virldel

    {
      "name": "virldel",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of virls

    {
      "name": "virls",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "start_ms",
          "type": "uint64"
        },
        {
          "name": "end_ms",
          "type": "uint64"
        },
        {
          "name": "collect",
          "type": "bool"
        },
        {
          "name": "burn",
          "type": "bool"
        },
        {
          "name": "restrictions",
          "type": "string"
        },
        {
          "name": "rules",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in virlset

    {
      "name": "virlset",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "start_ms",
          "type": "uint64"
        },
        {
          "name": "end_ms",
          "type": "uint64"
        },
        {
          "name": "collect",
          "type": "bool"
        },
        {
          "name": "burn",
          "type": "bool"
        },
        {
          "name": "restrictions",
          "type": "string"
        }
      ]
    }