Skip to content

Commit f4b63d5

Browse files
rustfixp4p3r
andauthored
chore: fix some typos in comments (#3354)
Signed-off-by: rustfix <[email protected]> Co-authored-by: Claudio <[email protected]>
1 parent e1eabc6 commit f4b63d5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

solidity/security/msg-value-multicall.sol

+7-7
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ contract DutchAuction is IMisoMarket, MISOAccessControls, BoringBatchable, SafeT
101101
/// @notice Address that manages auction approvals.
102102
address public pointList;
103103

104-
/// @notice The commited amount of accounts.
104+
/// @notice The committed amount of accounts.
105105
mapping(address => uint256) public commitments;
106106
/// @notice Amount of tokens to claim per address.
107107
mapping(address => uint256) public claimed;
@@ -148,8 +148,8 @@ contract DutchAuction is IMisoMarket, MISOAccessControls, BoringBatchable, SafeT
148148
address _pointList,
149149
address payable _wallet
150150
) public {
151-
require(_startTime < 10000000000, "DutchAuction: enter an unix timestamp in seconds, not miliseconds");
152-
require(_endTime < 10000000000, "DutchAuction: enter an unix timestamp in seconds, not miliseconds");
151+
require(_startTime < 10000000000, "DutchAuction: enter an unix timestamp in seconds, not milliseconds");
152+
require(_endTime < 10000000000, "DutchAuction: enter an unix timestamp in seconds, not milliseconds");
153153
require(_startTime >= block.timestamp, "DutchAuction: start time is before current time");
154154
require(_endTime > _startTime, "DutchAuction: end time must be older than start price");
155155
require(_totalTokens > 0,"DutchAuction: total tokens must be greater than zero");
@@ -247,7 +247,7 @@ contract DutchAuction is IMisoMarket, MISOAccessControls, BoringBatchable, SafeT
247247
* @dev Attribution to the awesome delta.financial contracts
248248
*/
249249
function marketParticipationAgreement() public pure returns (string memory) {
250-
return "I understand that I'm interacting with a smart contract. I understand that tokens commited are subject to the token issuer and local laws where applicable. I reviewed code of the smart contract and understand it fully. I agree to not hold developers or other people associated with the project liable for any losses or misunderstandings";
250+
return "I understand that I'm interacting with a smart contract. I understand that tokens committed are subject to the token issuer and local laws where applicable. I reviewed code of the smart contract and understand it fully. I agree to not hold developers or other people associated with the project liable for any losses or misunderstandings";
251251
}
252252
/**
253253
* @dev Not using modifiers is a purposeful choice for code readability.
@@ -352,7 +352,7 @@ contract DutchAuction is IMisoMarket, MISOAccessControls, BoringBatchable, SafeT
352352

353353
/**
354354
* @notice Calculates total amount of tokens committed at current auction price.
355-
* @return Number of tokens commited.
355+
* @return Number of tokens committed.
356356
*/
357357
function totalTokensCommitted() public view returns (uint256) {
358358
return uint256(marketStatus.commitmentsTotal).mul(1e18).div(clearingPrice());
@@ -572,8 +572,8 @@ contract DutchAuction is IMisoMarket, MISOAccessControls, BoringBatchable, SafeT
572572
*/
573573
function setAuctionTime(uint256 _startTime, uint256 _endTime) external {
574574
require(hasAdminRole(msg.sender));
575-
require(_startTime < 10000000000, "DutchAuction: enter an unix timestamp in seconds, not miliseconds");
576-
require(_endTime < 10000000000, "DutchAuction: enter an unix timestamp in seconds, not miliseconds");
575+
require(_startTime < 10000000000, "DutchAuction: enter an unix timestamp in seconds, not milliseconds");
576+
require(_endTime < 10000000000, "DutchAuction: enter an unix timestamp in seconds, not milliseconds");
577577
require(_startTime >= block.timestamp, "DutchAuction: start time is before current time");
578578
require(_endTime > _startTime, "DutchAuction: end time must be older than start time");
579579
require(marketStatus.commitmentsTotal == 0, "DutchAuction: auction cannot have already started");

stats/matrixify.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def get_technology(rule: Dict[str, Any]) -> List[str]:
7878
return [""]
7979

8080
# Sometimes, the language as defined within the ArchList will be something that's not in the dict
81-
# So, the filepath seems like the only reliable way to get the lanaguage
81+
# So, the filepath seems like the only reliable way to get the language
8282
def get_lang(path: str) -> str:
8383
return path.split(os.path.sep)[1].strip()
8484
#archlist = ArchList(rule.get('languages', [])).get(0, "")

0 commit comments

Comments
 (0)