WAX

combo.tibs

Contract

The data structures defined by this contract.

  • Action parameter in claimcombo

    {
      "name": "claim_combo",
      "base": "",
      "fields": [
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "receiver",
          "type": "name"
        }
      ]
    }
  • Table row type of combos

    {
      "name": "combo_data",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "asset_combo",
          "type": "pair_uint64_uint8[]"
        },
        {
          "name": "min_quantity",
          "type": "uint64"
        },
        {
          "name": "expiration_time",
          "type": "uint32"
        },
        {
          "name": "burn_combo",
          "type": "bool"
        },
        {
          "name": "claimed_accounts",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in createcombo

    {
      "name": "create_combo",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "asset_combo",
          "type": "pair_uint64_uint8[]"
        },
        {
          "name": "min_quantity",
          "type": "uint64"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "burn_combo",
          "type": "bool"
        }
      ]
    }
  • Struct property of combo_data

    Struct property of create_combo

    {
      "name": "pair_uint64_uint8",
      "base": "",
      "fields": [
        {
          "name": "first",
          "type": "uint64"
        },
        {
          "name": "second",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in removecombo

    {
      "name": "remove_combo",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }