WAX

kogspack1111

Contract

The data structures defined by this contract.

  • Struct property of addpackroll

    Struct property of packrolls_s

    {
      "name": "OUTCOME",
      "base": "",
      "fields": [
        {
          "name": "odds",
          "type": "uint32"
        },
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    }
  • Action parameter in addpackroll

    {
      "name": "addpackroll",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "outcomes",
          "type": "OUTCOME[]"
        },
        {
          "name": "total_odds",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in 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"
        }
      ]
    }
  • Action parameter in buyramproxy

    {
      "name": "buyramproxy",
      "base": "",
      "fields": [
        {
          "name": "collection_to_credit",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in claimunboxed

    {
      "name": "claimunboxed",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        },
        {
          "name": "origin_roll_ids",
          "type": "uint64[]"
        }
      ]
    }
  • Action parameter in completepack

    {
      "name": "completepack",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "pack_template_id",
          "type": "int32"
        }
      ]
    }
  • Action parameter in delpackroll

    {
      "name": "delpackroll",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "roll_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of identifier

    {
      "name": "identifier_s",
      "base": "",
      "fields": [
        {
          "name": "contract_type",
          "type": "string"
        },
        {
          "name": "version",
          "type": "string"
        }
      ]
    }
  • Action parameter in lognewpack

    {
      "name": "lognewpack",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "unlock_time",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in lognewroll

    {
      "name": "lognewroll",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "roll_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in logresult

    {
      "name": "logresult",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "template_ids",
          "type": "int32[]"
        }
      ]
    }
  • Table row type of packrolls

    {
      "name": "packrolls_s",
      "base": "",
      "fields": [
        {
          "name": "roll_id",
          "type": "uint64"
        },
        {
          "name": "outcomes",
          "type": "OUTCOME[]"
        },
        {
          "name": "total_odds",
          "type": "uint32"
        }
      ]
    }
  • Table row type of 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"
        }
      ]
    }
  • Table row type of rambalances

    {
      "name": "rambalances_s",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "byte_balance",
          "type": "int64"
        }
      ]
    }
  • Action parameter in receiverand

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

    {
      "name": "retryrand",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setident

    {
      "name": "setident",
      "base": "",
      "fields": [
        {
          "name": "contract_type",
          "type": "string"
        },
        {
          "name": "version",
          "type": "string"
        }
      ]
    }
  • Action parameter in setpackdata

    {
      "name": "setpackdata",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "display_data",
          "type": "string"
        }
      ]
    }
  • Action parameter in setpacktime

    {
      "name": "setpacktime",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "new_unlock_time",
          "type": "uint32"
        }
      ]
    }
  • Table row type of unboxassets

    {
      "name": "unboxassets_s",
      "base": "",
      "fields": [
        {
          "name": "origin_roll_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    }
  • Table row type of unboxpacks

    {
      "name": "unboxpacks_s",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "unboxer",
          "type": "name"
        }
      ]
    }
  • Action parameter in withdrawram

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