From 6983992aa83107ebfa94edbe4b9d70332f30ebb9 Mon Sep 17 00:00:00 2001 From: snoppy Date: Sun, 24 Mar 2024 21:58:58 +0800 Subject: [PATCH] chore: fix typos --- contracts/CollateralManager.sol | 2 +- contracts/RewardEscrowV2Frozen/BaseRewardEscrowV2Frozen.sol | 2 +- contracts/interfaces/ICollateralLoan.sol | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/CollateralManager.sol b/contracts/CollateralManager.sol index cb3d969f82..bac4da11b3 100644 --- a/contracts/CollateralManager.sol +++ b/contracts/CollateralManager.sol @@ -535,7 +535,7 @@ contract CollateralManager is ICollateralManager, Owned, Pausable, MixinResolver difference = latestCumulative.sub(entryRate); index = newIndex; - // 5. Update rates with the lastest cumulative rate. This also updates the time. + // 5. Update rates with the latest cumulative rate. This also updates the time. isShort ? updateShortRates(currency, latestCumulative) : updateBorrowRates(latestCumulative); } diff --git a/contracts/RewardEscrowV2Frozen/BaseRewardEscrowV2Frozen.sol b/contracts/RewardEscrowV2Frozen/BaseRewardEscrowV2Frozen.sol index b6d6ffa2b5..b422d8bf22 100644 --- a/contracts/RewardEscrowV2Frozen/BaseRewardEscrowV2Frozen.sol +++ b/contracts/RewardEscrowV2Frozen/BaseRewardEscrowV2Frozen.sol @@ -39,7 +39,7 @@ contract BaseRewardEscrowV2Frozen is Owned, IRewardEscrowV2Frozen, LimitedSetup( /* An account's total vested reward synthetix. */ mapping(address => uint256) public totalVestedAccountBalance; - /* Mapping of nominated address to recieve account merging */ + /* Mapping of nominated address to receive account merging */ mapping(address => address) public nominatedReceiver; /* The total remaining escrowed balance, for verifying the actual synthetix balance of this contract against. */ diff --git a/contracts/interfaces/ICollateralLoan.sol b/contracts/interfaces/ICollateralLoan.sol index 0d93894d37..3994e93284 100644 --- a/contracts/interfaces/ICollateralLoan.sol +++ b/contracts/interfaces/ICollateralLoan.sol @@ -6,7 +6,7 @@ interface ICollateralLoan { struct Loan { // ID for the loan uint id; - // Acccount that created the loan + // Account that created the loan address payable account; // Amount of collateral deposited uint collateral;