From 605442d1b546d83cf904e69875fda18f027bf222 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 28 Aug 2024 17:17:16 +0300 Subject: [PATCH 1/3] Update IERC721Supply.sol Signed-off-by: Elias Rad <146735585+nnsW3@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 aed6299ffada75eecc28851ea0ddcd324f709ed3 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 28 Aug 2024 17:17:57 +0300 Subject: [PATCH 2/3] Update DelayedReveal.sol Signed-off-by: Elias Rad <146735585+nnsW3@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 f3ef2dda8daa48b244ebcb1f520d72e1d931a180 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Wed, 28 Aug 2024 17:18:47 +0300 Subject: [PATCH 3/3] Update Staking1155.sol Signed-off-by: Elias Rad <146735585+nnsW3@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}.