@@ -13,7 +13,7 @@ The thirdweb `Pack` contract is a lootbox mechanism. An account can bundle up ar
13
13
### createPack
14
14
15
15
``` 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)
17
17
```
18
18
19
19
@@ -68,7 +68,7 @@ Lets a pack owner open a pack and receive the pack's reward unit.
68
68
### PackCreated
69
69
70
70
``` solidity
71
- event PackCreated(uint256 indexed packId, address indexed packCreator, address recipient, uint256 totalPacksCreated)
71
+ event PackCreated(uint256 indexed packId, address recipient, uint256 totalPacksCreated)
72
72
```
73
73
74
74
Emitted when a set of packs is created.
@@ -80,7 +80,6 @@ Emitted when a set of packs is created.
80
80
| Name | Type | Description |
81
81
| ---| ---| ---|
82
82
| packId ` indexed ` | uint256 | undefined |
83
- | packCreator ` indexed ` | address | undefined |
84
83
| recipient | address | undefined |
85
84
| totalPacksCreated | uint256 | undefined |
86
85
@@ -106,7 +105,7 @@ Emitted when a pack is opened.
106
105
### PackUpdated
107
106
108
107
``` solidity
109
- event PackUpdated(uint256 indexed packId, address indexed packCreator, address recipient, uint256 totalPacksCreated)
108
+ event PackUpdated(uint256 indexed packId, address recipient, uint256 totalPacksCreated)
110
109
```
111
110
112
111
Emitted when more packs are minted for a packId.
@@ -118,7 +117,6 @@ Emitted when more packs are minted for a packId.
118
117
| Name | Type | Description |
119
118
| ---| ---| ---|
120
119
| packId ` indexed ` | uint256 | undefined |
121
- | packCreator ` indexed ` | address | undefined |
122
120
| recipient | address | undefined |
123
121
| totalPacksCreated | uint256 | undefined |
124
122
0 commit comments