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 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); 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;