WAX

kogspack1111

合约

此合约定义的数据结构。

  • 的结构体属性 addpackroll

    的结构体属性 packrolls_s

    {
      "name": "OUTCOME",
      "base": "",
      "fields": [
        {
          "name": "odds",
          "type": "uint32"
        },
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    }
  • addpackroll中的操作参数

    {
      "name": "addpackroll",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "outcomes",
          "type": "OUTCOME[]"
        },
        {
          "name": "total_odds",
          "type": "uint32"
        }
      ]
    }
  • announcepack中的操作参数

    {
      "name": "announcepack",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "unlock_time",
          "type": "uint32"
        },
        {
          "name": "display_data",
          "type": "string"
        }
      ]
    }
  • buyramproxy中的操作参数

    {
      "name": "buyramproxy",
      "base": "",
      "fields": [
        {
          "name": "collection_to_credit",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • claimunboxed中的操作参数

    {
      "name": "claimunboxed",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        },
        {
          "name": "origin_roll_ids",
          "type": "uint64[]"
        }
      ]
    }
  • completepack中的操作参数

    {
      "name": "completepack",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "pack_template_id",
          "type": "int32"
        }
      ]
    }
  • delpackroll中的操作参数

    {
      "name": "delpackroll",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "roll_id",
          "type": "uint64"
        }
      ]
    }
  • identifier 的表格行类型

    {
      "name": "identifier_s",
      "base": "",
      "fields": [
        {
          "name": "contract_type",
          "type": "string"
        },
        {
          "name": "version",
          "type": "string"
        }
      ]
    }
  • lognewpack中的操作参数

    {
      "name": "lognewpack",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "unlock_time",
          "type": "uint32"
        }
      ]
    }
  • lognewroll中的操作参数

    {
      "name": "lognewroll",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "roll_id",
          "type": "uint64"
        }
      ]
    }
  • logresult中的操作参数

    {
      "name": "logresult",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "template_ids",
          "type": "int32[]"
        }
      ]
    }
  • packrolls 的表格行类型

    {
      "name": "packrolls_s",
      "base": "",
      "fields": [
        {
          "name": "roll_id",
          "type": "uint64"
        },
        {
          "name": "outcomes",
          "type": "OUTCOME[]"
        },
        {
          "name": "total_odds",
          "type": "uint32"
        }
      ]
    }
  • packs 的表格行类型

    {
      "name": "packs_s",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "unlock_time",
          "type": "uint32"
        },
        {
          "name": "pack_template_id",
          "type": "int32"
        },
        {
          "name": "roll_counter",
          "type": "uint64"
        },
        {
          "name": "display_data",
          "type": "string"
        }
      ]
    }
  • rambalances 的表格行类型

    {
      "name": "rambalances_s",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "byte_balance",
          "type": "int64"
        }
      ]
    }
  • receiverand中的操作参数

    {
      "name": "receiverand",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "random_value",
          "type": "checksum256"
        }
      ]
    }
  • retryrand中的操作参数

    {
      "name": "retryrand",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        }
      ]
    }
  • setident中的操作参数

    {
      "name": "setident",
      "base": "",
      "fields": [
        {
          "name": "contract_type",
          "type": "string"
        },
        {
          "name": "version",
          "type": "string"
        }
      ]
    }
  • setpackdata中的操作参数

    {
      "name": "setpackdata",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "display_data",
          "type": "string"
        }
      ]
    }
  • setpacktime中的操作参数

    {
      "name": "setpacktime",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "new_unlock_time",
          "type": "uint32"
        }
      ]
    }
  • unboxassets 的表格行类型

    {
      "name": "unboxassets_s",
      "base": "",
      "fields": [
        {
          "name": "origin_roll_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    }
  • unboxpacks 的表格行类型

    {
      "name": "unboxpacks_s",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "unboxer",
          "type": "name"
        }
      ]
    }
  • withdrawram中的操作参数

    {
      "name": "withdrawram",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipient",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "int64"
        }
      ]
    }