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

Premint api helper - exit prerelease mode #304

Closed
wants to merge 1 commit into from

Conversation

oveddan
Copy link
Collaborator

@oveddan oveddan commented Oct 26, 2023

No description provided.

@oveddan
Copy link
Collaborator Author

oveddan commented Oct 26, 2023

@oveddan oveddan closed this Oct 31, 2023
@iainnash iainnash deleted the exit-pre-mode branch January 11, 2024 15:37
oveddan pushed a commit that referenced this pull request Apr 8, 2024
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.


# Releases
## @zoralabs/zora-1155-contracts@2.9.0

### Minor Changes

-   50a4e09: - 1155 contracts use the MINTs contracts to get the mint fee, mint, and redeem a mint ticket upon minting.
    -   `ZoraCreator1155Impl` adds a new method `mintWithMints` that allows for minting with MINTs that are already owned.

### Patch Changes

-   50a4e09: - ZoraCreator1155Impl contract no longer has public facing function `computeFreeMintRewards` and `computePaidMintRewards`
    -   protocol rewards calculation logic has been refactored and moved from the RewardSplits contract to the ZoraCreator1155Impl itself to save on contract size.
    -   ZoraCreator1155Impl rewards splits are percentage based instead of a fixed value. This % is calculated based on the total reward value. And is based on a % value nearly identical to the previous fixed value.
-   50a4e09: remove `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.

## @zoralabs/mints-contracts@0.1.0

### Minor Changes

-   50a4e09: - 1155 contracts use the MINTs contracts to get the mint fee, mint, and redeem a mint ticket upon minting.
    -   `ZoraCreator1155Impl` adds a new method `mintWithMints` that allows for minting with MINTs that are already owned.

### Patch Changes

-   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.

## @zoralabs/protocol-deployments@0.1.5

### Patch Changes

-   042edbe: Chain ids in published protocol-deployments package are now numbers instead of strings
-   50a4e09: Includes MINTs contracts abis and addresses

## @zoralabs/protocol-sdk@0.5.8

### Patch Changes

-   50a4e09: Added sdk method to get total MINT balance
-   Updated dependencies [042edbe]
-   Updated dependencies [50a4e09]
    -   @zoralabs/protocol-deployments@0.1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants