Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small grammar fix - Update 1155-contracts.mdx #454

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions docs/pages/changelogs/1155-contracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@

- [898c84a7](https://github.com/ourzora/zora-protocol/commit/898c84a7): [chore] Update dependencies and runtime scripts

This ensures jobs do not match binary names to make runs less ambigious and also that all deps are accounted for.
This ensures jobs do not match binary names to make runs less ambiguous and also that all deps are accounted for.

- [2677c896](https://github.com/ourzora/zora-protocol/commit/2677c896): Add reduceSupply interface check to 1155

## 2.11.0

### Minor Changes

- [d460e79c](https://github.com/ourzora/zora-protocol/commit/d460e79c): - Introduced a `reduceSupply` function allowing an approved minter or admin to reduce the supply for a given token id. New supply must be less than the current maxSupply, and greater than or equal to the total minted so far.
- [d460e79c](https://github.com/ourzora/zora-protocol/commit/d460e79c): - Introduced a `reduceSupply` function allowing an approved minter or admin to reduce the supply for a given token id. The new supply must be less than the current maxSupply, and greater than or equal to the total minted so far.
- Removed the deprecated `mintWithRewards` function

## 2.10.1
Expand Down Expand Up @@ -159,11 +159,11 @@
}
```

- [2475a4c9](https://github.com/ourzora/zora-protocol/commit/2475a4c9): Updates to Premint that enables preminting against contracts that were not created via premint, as well as adding collaborators to premint contracts by being able specify an array of additionalAdmins in a premint's contract creation config.
- [2475a4c9](https://github.com/ourzora/zora-protocol/commit/2475a4c9): Updates to Premint that enables preminting against contracts that were not created via premint, as well as adding collaborators to premint contracts by being able to specify an array of additionalAdmins in a premint's contract creation config.

#### No breaking changes

These updates are fully backwards compatible; the old functions on the contracts are still intact and will work. Additionally, these updates dont require a new premint config version to be signed; the only thing that could be affected is the deterministic address to be signed against, in the case there are additional contract admins.
These updates are fully backwards compatible; the old functions on the contracts are still intact and will work. Additionally, these updates don't require a new premint config version to be signed; the only thing that could be affected is the deterministic address to be signed against, in the case there are additional contract admins.

#### Ability to add contract-wide additional admins with premint

Expand Down Expand Up @@ -232,7 +232,7 @@

#### New ability to do premints against existing contracts

Executing premint against contracts not created via premint can be done with by passing a `premintCollection` argument to the new `premint` function:
Executing premint against contracts not created via premint can be done by passing a `premintCollection` argument to the new `premint` function:

```solidity
function premint(
Expand Down Expand Up @@ -320,7 +320,7 @@
- remove `ZoraCreator1155Impl.adminMintBatch` to save contract size
- 50a4e09: - To support the MINTs contract passing the first minter as an argument to `premintV2WithSignerContract` - we add the field `firstMinter` to `premintV2WithSignerContract`, and then in the 1155 check that the firstMinter argument is not address(0) since it now can be passed in manually.

### ZoraCreator1155Impl rewards splits are percentage based instead of a fixed value.
### ZoraCreator1155Impl rewards splits are percentage-based instead of a fixed value.

Prior to 2.9.0, rewards were distributed based on a fixed value in ETH per token minted. From 2.9.0 rewards are distributed based on a percentage of the total reward collected for a mint. The following table breaks down the reward splits for both free and paid mints before and after 2.9.0:

Expand Down Expand Up @@ -358,7 +358,7 @@ Prior to 2.9.0, rewards were distributed based on a fixed value in ETH per token

### Patch Changes

- 52b16aa: Publishing package in format that supports commonjs imports by specifying exports.
- 52b16aa: Publishing package in a format that supports commonjs imports by specifying exports.

## 2.7.2

Expand All @@ -378,7 +378,7 @@ Prior to 2.9.0, rewards were distributed based on a fixed value in ETH per token

### Minor Changes

- e990b9d: Remove platform referral from RewardsSplits. Use new signature for 1155 for `mint` which takes an array of reward recipients.
- e990b9d: Remove platform referral from RewardsSplits. Use a new signature for 1155 for `mint` which takes an array of reward recipients.

### Patch Changes

Expand All @@ -389,7 +389,7 @@ Prior to 2.9.0, rewards were distributed based on a fixed value in ETH per token

### Patch Changes

- 7e00197: \* For premintV1 and V2 - mintReferrer has been changed to an array `mintRewardsRecipients` - which the first element in array is `mintReferral`, and second element is `platformReferral`. `platformReferral is not used by the premint contract yet`.
- 7e00197: \* For premintV1 and V2 - mintReferrer has been changed to an array `mintRewardsRecipients` - which the first element in an array is `mintReferral`, and the second element is `platformReferral`. `platformReferral is not used by the premint contract yet`.

## 2.5.3

Expand Down Expand Up @@ -530,7 +530,7 @@ Prior to 2.9.0, rewards were distributed based on a fixed value in ETH per token

### Changes to `ZoraCreator1155PremintExecutorImpl`:

- 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
- new function `premintV1` - takes a `PremintConfig`, and premint v1 signature, and executes a premint, with the added functionality of being able to specify mint referral and mint recipient
- new function `premintV2` - takes a `PremintConfigV2` signature and executes a premint, with being able to specify mint referral and mint recipient
- deprecated function `premint` - call `premintV1` instead
- new function
Expand All @@ -551,7 +551,7 @@ Prior to 2.9.0, rewards were distributed based on a fixed value in ETH per token

- 885ffa4: Premint executor can still execute premint mints that were created with V1 signatures for `delegateSetupNewToken`
- 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.
- 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.
- 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 is not supported, returns an empty array.
- cacb543: Added impl getter to premint executor

## 2.4.1
Expand Down