WAX

drops.nft

컨트랙트

이 계약에 의해 정의된 데이터 구조입니다.

  • claim의 액션 파라미터

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        }
      ]
    }
  • claims의 테이블 행 유형

    {
      "name": "claim_s",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "uint32"
        }
      ]
    }
  • 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"
        }
      ]
    }
  • 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"
        }
      ]
    }