From 2549c50f2c989d17310c3acd790d107fdddf1fce Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Sat, 11 Jan 2025 14:20:35 +0100 Subject: [PATCH 1/4] Update IERC721Supply.sol Signed-off-by: fuder.eth <139509124+vtjl10@users.noreply.github.com> --- contracts/eip/interface/IERC721Supply.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/eip/interface/IERC721Supply.sol b/contracts/eip/interface/IERC721Supply.sol index c640242df..5646a521e 100644 --- a/contracts/eip/interface/IERC721Supply.sol +++ b/contracts/eip/interface/IERC721Supply.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; -/// @title ERC-721 Non-Fungible Token Standard, optional supplu extension +/// @title ERC-721 Non-Fungible Token Standard, optional supply extension /// @dev See https://eips.ethereum.org/EIPS/eip-721 /// Note: the ERC-165 identifier for this interface is 0x780e9d63. /* is ERC721 */ From 3470f46ec7805b237b1a76cd2b23d89e7550bfa8 Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Sat, 11 Jan 2025 14:22:35 +0100 Subject: [PATCH 2/4] Update DelayedReveal.sol Signed-off-by: fuder.eth <139509124+vtjl10@users.noreply.github.com> --- contracts/extension/DelayedReveal.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/extension/DelayedReveal.sol b/contracts/extension/DelayedReveal.sol index bc0d09d22..72723e00e 100644 --- a/contracts/extension/DelayedReveal.sol +++ b/contracts/extension/DelayedReveal.sol @@ -73,7 +73,7 @@ abstract contract DelayedReveal is IDelayedReveal { assembly { // Set result to free memory pointer result := mload(0x40) - // Increase free memory pointer by lenght + 32 + // Increase free memory pointer by length + 32 mstore(0x40, add(add(result, length), 32)) // Set result length mstore(result, length) From b0141d1c610f8d01863f739c8137f552476b7bd3 Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Sat, 11 Jan 2025 14:24:13 +0100 Subject: [PATCH 3/4] Update SeaportEIP1271.sol Signed-off-by: fuder.eth <139509124+vtjl10@users.noreply.github.com> --- contracts/extension/SeaportEIP1271.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/extension/SeaportEIP1271.sol b/contracts/extension/SeaportEIP1271.sol index 4705e898a..a5be19b04 100644 --- a/contracts/extension/SeaportEIP1271.sol +++ b/contracts/extension/SeaportEIP1271.sol @@ -14,7 +14,7 @@ abstract contract SeaportEIP1271 is SeaportOrderParser { bytes32 private immutable HASHED_NAME; bytes32 private immutable HASHED_VERSION; - /// @notice The function selector of EIP1271.isValidSignature to be returned on sucessful signature verification. + /// @notice The function selector of EIP1271.isValidSignature to be returned on successful signature verification. bytes4 public constant MAGICVALUE = 0x1626ba7e; constructor(string memory _name, string memory _version) { From e8c50f7e7a87961d94374a3d401b3bb73f18ca37 Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Sat, 11 Jan 2025 14:25:07 +0100 Subject: [PATCH 4/4] Update Staking1155.sol Signed-off-by: fuder.eth <139509124+vtjl10@users.noreply.github.com> --- contracts/extension/Staking1155.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/extension/Staking1155.sol b/contracts/extension/Staking1155.sol index d30885b12..b5edf594c 100644 --- a/contracts/extension/Staking1155.sol +++ b/contracts/extension/Staking1155.sol @@ -20,7 +20,7 @@ abstract contract Staking1155 is ReentrancyGuard, IStaking1155 { /// @dev Flag to check direct transfers of staking tokens. uint8 internal isStaking = 1; - ///@dev Next staking condition Id. Tracks number of conditon updates so far. + ///@dev Next staking condition Id. Tracks number of condition updates so far. uint64 private nextDefaultConditionId; ///@dev List of token-ids ever staked. @@ -32,7 +32,7 @@ abstract contract Staking1155 is ReentrancyGuard, IStaking1155 { ///@dev Mapping from default condition-id to default condition. mapping(uint64 => StakingCondition) private defaultCondition; - ///@dev Mapping from token-id to next staking condition Id for the token. Tracks number of conditon updates so far. + ///@dev Mapping from token-id to next staking condition Id for the token. Tracks number of condition updates so far. mapping(uint256 => uint64) private nextConditionId; ///@dev Mapping from token-id and staker address to Staker struct. See {struct IStaking1155.Staker}.