WAX

drop.tibs

Contract

The data structures defined by this contract.

  • Action parameter in createdrop

    {
      "name": "create_drop",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "template_groups",
          "type": "template_group[]"
        }
      ]
    }
  • Table row type of drops

    {
      "name": "drop_data",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "template_groups",
          "type": "template_group[]"
        }
      ]
    }
  • Table row type of requests

    {
      "name": "open_request",
      "base": "",
      "fields": [
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "drop_owner",
          "type": "name"
        },
        {
          "name": "request_value",
          "type": "uint64"
        }
      ]
    }
  • Struct property of template_group

    {
      "name": "pair_uint64_uint16",
      "base": "",
      "fields": [
        {
          "name": "first",
          "type": "uint64"
        },
        {
          "name": "second",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in receiverand

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

    {
      "name": "remove_drop",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in reqopendrop

    {
      "name": "request_open_drop",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        }
      ]
    }
  • Struct property of create_drop

    Struct property of drop_data

    {
      "name": "template_group",
      "base": "",
      "fields": [
        {
          "name": "template_prob_map",
          "type": "pair_uint64_uint16[]"
        },
        {
          "name": "quantity",
          "type": "uint8"
        }
      ]
    }