WAX

drops.nft

Contract

The data structures defined by this contract.

  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of claims

    {
      "name": "claim_s",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in dropadd

    {
      "name": "dropadd",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "start_ms",
          "type": "uint64"
        },
        {
          "name": "end_ms",
          "type": "uint64"
        },
        {
          "name": "per_user_limit",
          "type": "uint32"
        },
        {
          "name": "total_limit",
          "type": "uint32"
        }
      ]
    }
  • Table row type of drops

    {
      "name": "drops_s",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "start_ms",
          "type": "uint64"
        },
        {
          "name": "end_ms",
          "type": "uint64"
        },
        {
          "name": "per_user_limit",
          "type": "uint32"
        },
        {
          "name": "total_limit",
          "type": "uint32"
        },
        {
          "name": "total_claimed_so_far",
          "type": "uint32"
        }
      ]
    }