Skip to content

Commit 03150a1

Browse files
committed
fix per suggestions
1 parent c753b6a commit 03150a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/1155-contracts/CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
`delegateSetupNewToken` on 1155 contract has been updated to now take an abi encoded premint config, premint config version, and send it to an external library to decode the config, the signer, and setup actions. Previously it took a non-encoded PremintConfig. This new change allows this function signature to support multiple versions of a premint config, while offloading decoding of the config and the corresponding setup actions to the external library. This ultimately allows supporting multiple versions of a premint config and corresponding signature without increasing codespace.
3333

34-
`PremintConfigV2` are updated to containe `createReferral`, and now look like:
34+
`PremintConfigV2` are updated to contain `createReferral`, and now look like:
3535

3636
```solidity
3737
struct PremintConfigV2 {
@@ -109,7 +109,7 @@
109109
}
110110
```
111111

112-
### changes to `ZoraCreator1155PremintExecutorImpl`:
112+
### Changes to `ZoraCreator1155PremintExecutorImpl`:
113113

114114
- new function `premintV1` - takes a `PremintConfig`, and premint v1 signature, and executes a premint, with added functionality of being able to specify mint referral and mint recipient
115115
- new function `premintV2` - takes a `PremintConfigV2` signature and executes a premint, with being able to specify mint referral and mint recipient
@@ -130,7 +130,7 @@
130130

131131
### Patch Changes
132132

133-
- 885ffa4: Premint executor can still execute premint mints on 1155 contracts that were created with the old signature for `delegateSetupNewToken`
133+
- 885ffa4: Premint executor can still execute premint mints that were created with V1 signatures for `delegateSetupNewToken`
134134
- ffb5cb7: Premint - added method getSupportedPremintSignatureVersions(contractAddress) that returns an array of the premint signature versions an 1155 contract supports. If the contract hasn't been created yet, assumes that when it will be created it will support the latest versions of the signatures, so the function returns all versions.
135135
- ffb5cb7: Added method `IZoraCreator1155PremintExecutor.supportedPremintSignatureVersions(contractAddress)` that tells what version of the premint signature the contract supports, and added corresponding method `ZoraCreator1155Impl.supportedPremintSignatureVersions()` to fetch supported version. If premint not supported, returns an empty array.
136136
- cacb543: Added impl getter to premint executor

0 commit comments

Comments
 (0)