From 308b89981faff1ed04d19a875cde43c54e3f2c34 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sun, 23 Feb 2025 12:07:35 +0200 Subject: [PATCH 1/3] Update 202312-threat-model-preset-erc1155.md --- audits/token/202312-threat-model-preset-erc1155.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audits/token/202312-threat-model-preset-erc1155.md b/audits/token/202312-threat-model-preset-erc1155.md index 5d2a8e72..01d90db9 100644 --- a/audits/token/202312-threat-model-preset-erc1155.md +++ b/audits/token/202312-threat-model-preset-erc1155.md @@ -59,7 +59,7 @@ Potential Attacks: ## Attack Mitigation -- The contract contains access control patterns to limit the vulnerabilty of compromised roles +- The contract contains access control patterns to limit the vulnerability of compromised roles - The keys associated with the `DEFAULT_ADMIN_ROLE` should be operated by secure measures, for example a multi-signature wallet such that an attacker would need to compromise multiple signers simultaneously, or a securely stored hardware wallet. ### Externally Visible Functions From 6e7e5d96281fabb5f97ec6f9021d1121f1eca02d Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sun, 23 Feb 2025 12:08:05 +0200 Subject: [PATCH 2/3] Update PaymentSplitter.sol --- contracts/payment-splitter/PaymentSplitter.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/payment-splitter/PaymentSplitter.sol b/contracts/payment-splitter/PaymentSplitter.sol index f07c8800..b322f03a 100644 --- a/contracts/payment-splitter/PaymentSplitter.sol +++ b/contracts/payment-splitter/PaymentSplitter.sol @@ -65,7 +65,7 @@ contract PaymentSplitter is AccessControlEnumerable, IPaymentSplitterErrors, Ree /** * @notice Payable fallback method to receive IMX. The IMX received will be logged with {PaymentReceived} events. * this contract has no other payable method, all IMX receives will be tracked by the events emitted by this event - * ERC20 receives will not be tracked by this contract but tranfers events will be emitted by the erc20 contracts themselves. + * ERC20 receives will not be tracked by this contract but transfers events will be emitted by the erc20 contracts themselves. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); From a7bf20070f97703e598dd9a37662f94b19367393 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sun, 23 Feb 2025 12:08:33 +0200 Subject: [PATCH 3/3] Update StakeHolder.sol --- contracts/staking/StakeHolder.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/staking/StakeHolder.sol b/contracts/staking/StakeHolder.sol index ce369966..9cdd9f7e 100644 --- a/contracts/staking/StakeHolder.sol +++ b/contracts/staking/StakeHolder.sol @@ -155,7 +155,7 @@ contract StakeHolder is AccessControlEnumerableUpgradeable, UUPSUpgradeable { for (uint256 i = 0; i < len; i++) { AccountAmount calldata accountAmount = _recipientsAndAmounts[i]; uint256 amount = accountAmount.amount; - // Add stake, but require the acount to either currently be staking or have + // Add stake, but require the account to either currently be staking or have // previously staked. _addStake(accountAmount.account, amount, true); total += amount;