@@ -13,7 +13,7 @@ The thirdweb `Pack` contract is a lootbox mechanism. An account can bundle up ar
1313### createPack
1414
1515``` solidity
16- function createPack(ITokenBundle.Token[] contents, uint256[] numOfRewardUnits, string packUri, uint128 openStartTimestamp, uint128 amountDistributedPerOpen, uint256 expirationTimestamp, address recipient) external payable returns (uint256 packId, uint256 packTotalSupply)
16+ function createPack(ITokenBundle.Token[] contents, uint256[] numOfRewardUnits, string packUri, uint128 openStartTimestamp, uint128 amountDistributedPerOpen, address recipient) external payable returns (uint256 packId, uint256 packTotalSupply)
1717```
1818
1919
@@ -68,7 +68,7 @@ Lets a pack owner open a pack and receive the pack's reward unit.
6868### PackCreated
6969
7070``` solidity
71- event PackCreated(uint256 indexed packId, address indexed packCreator, address recipient, uint256 totalPacksCreated)
71+ event PackCreated(uint256 indexed packId, address recipient, uint256 totalPacksCreated)
7272```
7373
7474Emitted when a set of packs is created.
@@ -80,7 +80,6 @@ Emitted when a set of packs is created.
8080| Name | Type | Description |
8181| ---| ---| ---|
8282| packId ` indexed ` | uint256 | undefined |
83- | packCreator ` indexed ` | address | undefined |
8483| recipient | address | undefined |
8584| totalPacksCreated | uint256 | undefined |
8685
@@ -106,7 +105,7 @@ Emitted when a pack is opened.
106105### PackUpdated
107106
108107``` solidity
109- event PackUpdated(uint256 indexed packId, address indexed packCreator, address recipient, uint256 totalPacksCreated)
108+ event PackUpdated(uint256 indexed packId, address recipient, uint256 totalPacksCreated)
110109```
111110
112111Emitted when more packs are minted for a packId.
@@ -118,7 +117,6 @@ Emitted when more packs are minted for a packId.
118117| Name | Type | Description |
119118| ---| ---| ---|
120119| packId ` indexed ` | uint256 | undefined |
121- | packCreator ` indexed ` | address | undefined |
122120| recipient | address | undefined |
123121| totalPacksCreated | uint256 | undefined |
124122
0 commit comments