Skip to content

fix: typos in documentation files #264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion audits/token/202312-threat-model-preset-erc1155.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contracts/payment-splitter/PaymentSplitter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion contracts/staking/StakeHolder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down