From e147a173f367101fd2fa42cf8328e1106b4ec775 Mon Sep 17 00:00:00 2001 From: "sam (jgscripts)" <2887857+jgscr@users.noreply.github.com> Date: Mon, 24 Jun 2024 16:38:10 +0100 Subject: [PATCH] chore: typo fixes (#419) * fix typo * typo fix * typo fixes * typo fixes * typo fix * typo fix * typo fix --- docs/pages/protocol-sdk/creator/premint.mdx | 2 +- packages/1155-contracts/CHANGELOG.md | 6 +++--- .../src/delegation/ZoraCreator1155PremintExecutorImpl.sol | 4 ++-- .../src/minters/redeem/ZoraCreatorRedeemMinterStrategy.sol | 2 +- .../src/minters/utils/LimitedMintPerAddress.sol | 2 +- packages/1155-contracts/src/nft/ZoraCreator1155Impl.sol | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/pages/protocol-sdk/creator/premint.mdx b/docs/pages/protocol-sdk/creator/premint.mdx index ebe3b607d..cf98515b9 100644 --- a/docs/pages/protocol-sdk/creator/premint.mdx +++ b/docs/pages/protocol-sdk/creator/premint.mdx @@ -63,7 +63,7 @@ One of the items returned from `create` is `signAndSubmit` which must be called ### Signing and Submitting Premint a Premint using Wagmi -Sometimes it may be desireable to sign a premint with another library, and not using the sdk's `signAndSubmit` method. +Sometimes it may be desirable to sign a premint with another library, and not using the sdk's `signAndSubmit` method. For this case, the `createPremint`, `updatePremint`, and `deletePremint` functions return a `typedDataDefinition` which is the typed data definition for the premint and must be signed. Once the signature has been obtained, it can be submitted to the Zora Premint API using the `submit` method: diff --git a/packages/1155-contracts/CHANGELOG.md b/packages/1155-contracts/CHANGELOG.md index 8b50e4dc8..e3b9308c1 100644 --- a/packages/1155-contracts/CHANGELOG.md +++ b/packages/1155-contracts/CHANGELOG.md @@ -471,7 +471,7 @@ Prior to 2.9.0, rewards were distributed based on a fixed value in ETH per token uint64 mintStart; // The duration of the mint, starting from the first mint of this token. 0 for infinite uint64 mintDuration; - // deperecated field; will be ignored. + // deprecated field; will be ignored. uint32 royaltyMintSchedule; // RoyaltyBPS for created tokens. The royalty amount in basis points for secondary sales. uint32 royaltyBPS; @@ -555,7 +555,7 @@ Prior to 2.9.0, rewards were distributed based on a fixed value in ETH per token ### Patch Changes -- 9207e8f: Deployed determinstic proxies and latest versions to mainnet, goerli, base, base goerli, optimism, optimism goerli +- 9207e8f: Deployed deterministic proxies and latest versions to mainnet, goerli, base, base goerli, optimism, optimism goerli ## 2.0.1 @@ -568,7 +568,7 @@ Prior to 2.9.0, rewards were distributed based on a fixed value in ETH per token ### Major Changes - 82f6506: Premint with Delegated Minting - Determinstic Proxy Addresses + Deterministic Proxy Addresses Premint deployed to zora and zora goerli ## 1.6.1 diff --git a/packages/1155-contracts/src/delegation/ZoraCreator1155PremintExecutorImpl.sol b/packages/1155-contracts/src/delegation/ZoraCreator1155PremintExecutorImpl.sol index 0b5360d07..5df48f0aa 100644 --- a/packages/1155-contracts/src/delegation/ZoraCreator1155PremintExecutorImpl.sol +++ b/packages/1155-contracts/src/delegation/ZoraCreator1155PremintExecutorImpl.sol @@ -222,7 +222,7 @@ contract ZoraCreator1155PremintExecutorImpl is /// role on the contract /// @param signer The signer of the premint /// @param premintContractConfigContractAdmin If this contract was created via premint, the original contractConfig.contractAdmin. Otherwise, set to address(0) - /// @param contractAddress The determinstic 1155 contract address the premint is for + /// @param contractAddress The deterministic 1155 contract address the premint is for /// @return isAuthorized Whether the signer is authorized function isAuthorizedToCreatePremint( address signer, @@ -237,7 +237,7 @@ contract ZoraCreator1155PremintExecutorImpl is /// in the list of additional admins /// @param signer The signer of the premint /// @param premintContractConfigContractAdmin If this contract was created via premint, the original contractConfig.contractAdmin. Otherwise, set to address(0) - /// @param contractAddress The determinstic 1155 contract address the premint is for + /// @param contractAddress The deterministic 1155 contract address the premint is for /// @return isAuthorized Whether the signer is authorized function isAuthorizedToCreatePremintWithAdditionalAdmins( address signer, diff --git a/packages/1155-contracts/src/minters/redeem/ZoraCreatorRedeemMinterStrategy.sol b/packages/1155-contracts/src/minters/redeem/ZoraCreatorRedeemMinterStrategy.sol index 77c19ab96..43ce09263 100644 --- a/packages/1155-contracts/src/minters/redeem/ZoraCreatorRedeemMinterStrategy.sol +++ b/packages/1155-contracts/src/minters/redeem/ZoraCreatorRedeemMinterStrategy.sol @@ -58,7 +58,7 @@ contract ZoraCreatorRedeemMinterStrategy is Enjoy, SaleStrategy, Initializable { uint256 tokenId; /// @notice The amount of tokens that can be minted uint256 amount; - /// @notice The mint token type (alwas ERC1155) + /// @notice The mint token type (always ERC1155) TokenType tokenType; } diff --git a/packages/1155-contracts/src/minters/utils/LimitedMintPerAddress.sol b/packages/1155-contracts/src/minters/utils/LimitedMintPerAddress.sol index ee46b5357..6b3e90d85 100644 --- a/packages/1155-contracts/src/minters/utils/LimitedMintPerAddress.sol +++ b/packages/1155-contracts/src/minters/utils/LimitedMintPerAddress.sol @@ -6,7 +6,7 @@ import {ILimitedMintPerAddress} from "../../interfaces/ILimitedMintPerAddress.so contract LimitedMintPerAddress is ILimitedMintPerAddress { /// @notice Storage for slot to check user mints /// @notice target contract -> tokenId -> minter user -> numberMinted - /// @dev No gap or stroage interface since this is used within non-upgradeable contracts + /// @dev No gap or storage interface since this is used within non-upgradeable contracts mapping(address => mapping(uint256 => mapping(address => uint256))) internal mintedPerAddress; function getMintedPerWallet(address tokenContract, uint256 tokenId, address wallet) external view returns (uint256) { diff --git a/packages/1155-contracts/src/nft/ZoraCreator1155Impl.sol b/packages/1155-contracts/src/nft/ZoraCreator1155Impl.sol index 524664b20..022c9a323 100644 --- a/packages/1155-contracts/src/nft/ZoraCreator1155Impl.sol +++ b/packages/1155-contracts/src/nft/ZoraCreator1155Impl.sol @@ -108,7 +108,7 @@ contract ZoraCreator1155Impl is address payable defaultAdmin, bytes[] calldata setupActions ) external nonReentrant initializer { - // We are not initalizing the OZ 1155 implementation + // We are not initializing the OZ 1155 implementation // to save contract storage space and runtime // since the only thing affected here is the uri. // __ERC1155_init("");