From 79ff89f419a9f389e569886f7397625445a065c0 Mon Sep 17 00:00:00 2001 From: phessophissy Date: Sun, 11 Jan 2026 08:17:14 +0100 Subject: [PATCH] docs: fix typo 'calcuation' -> 'calculation' in NatSpec comments --- contracts/marketHandler/coinHandler.sol | 8 ++++---- contracts/marketHandler/tokenHandler.sol | 8 ++++---- contracts/reqTokenProxy.sol | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/contracts/marketHandler/coinHandler.sol b/contracts/marketHandler/coinHandler.sol index d022446..6a23deb 100755 --- a/contracts/marketHandler/coinHandler.sol +++ b/contracts/marketHandler/coinHandler.sol @@ -145,7 +145,7 @@ contract coinHandler is marketHandlerInterface, HandlerErrors{ /** * @dev Deposit action * @param unifiedTokenAmount The deposit amount (must be zero, msg.value is used) - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return true (TODO: validate results) */ function deposit(uint256 unifiedTokenAmount, bool flag) external payable override returns (bool) @@ -172,7 +172,7 @@ contract coinHandler is marketHandlerInterface, HandlerErrors{ /** * @dev Withdraw action * @param unifiedTokenAmount The withdraw amount - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return true (TODO: validate results) */ function withdraw(uint256 unifiedTokenAmount, bool flag) external override returns (bool) @@ -199,7 +199,7 @@ contract coinHandler is marketHandlerInterface, HandlerErrors{ /** * @dev Borrow action * @param unifiedTokenAmount The borrow amount - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return true (TODO: validate results) */ function borrow(uint256 unifiedTokenAmount, bool flag) external override returns (bool) @@ -226,7 +226,7 @@ contract coinHandler is marketHandlerInterface, HandlerErrors{ /** * @dev Repay action * @param unifiedTokenAmount The repay amount (must be zero, msg.value is used) - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return true (TODO: validate results) */ function repay(uint256 unifiedTokenAmount, bool flag) external payable override returns (bool) diff --git a/contracts/marketHandler/tokenHandler.sol b/contracts/marketHandler/tokenHandler.sol index 67cbd84..bdfb16e 100755 --- a/contracts/marketHandler/tokenHandler.sol +++ b/contracts/marketHandler/tokenHandler.sol @@ -151,7 +151,7 @@ contract tokenHandler is marketHandlerInterface, HandlerErrors { /** * @dev Deposit action * @param unifiedTokenAmount The deposit amount - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return true (TODO: validate results) */ function deposit(uint256 unifiedTokenAmount, bool flag) external payable override returns (bool) @@ -180,7 +180,7 @@ contract tokenHandler is marketHandlerInterface, HandlerErrors { /** * @dev Withdraw action * @param unifiedTokenAmount The withdraw amount - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return true (TODO: validate results) */ function withdraw(uint256 unifiedTokenAmount, bool flag) external override returns (bool) @@ -207,7 +207,7 @@ contract tokenHandler is marketHandlerInterface, HandlerErrors { /** * @dev Borrow action * @param unifiedTokenAmount The borrow amount - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return true (TODO: validate results) */ function borrow(uint256 unifiedTokenAmount, bool flag) external override returns (bool) @@ -234,7 +234,7 @@ contract tokenHandler is marketHandlerInterface, HandlerErrors { /** * @dev Repay action * @param unifiedTokenAmount The repay amount - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return true (TODO: validate results) */ function repay(uint256 unifiedTokenAmount, bool flag) external payable override returns (bool) diff --git a/contracts/reqTokenProxy.sol b/contracts/reqTokenProxy.sol index 1e2dda5..d271371 100644 --- a/contracts/reqTokenProxy.sol +++ b/contracts/reqTokenProxy.sol @@ -175,7 +175,7 @@ contract tokenProxy is RequestProxyErrors { /** * @dev Forward the deposit request for deposit to the handler logic contract. * @param unifiedTokenAmount The amount of coins to deposit - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return whether the deposit has been made successfully or not. */ function deposit(uint256 unifiedTokenAmount, bool flag) public payable returns (bool) @@ -191,7 +191,7 @@ contract tokenProxy is RequestProxyErrors { /** * @dev Forward the withdraw request for withdraw to the handler logic contract. * @param unifiedTokenAmount The amount of coins to withdraw - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return whether the withdraw has been made successfully or not. */ function withdraw(uint256 unifiedTokenAmount, bool flag) public returns (bool) @@ -207,7 +207,7 @@ contract tokenProxy is RequestProxyErrors { /** * @dev Forward the borrow request for borrow to the handler logic contract. * @param unifiedTokenAmount The amount of coins to borrow - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return whether the borrow has been made successfully or not. */ function borrow(uint256 unifiedTokenAmount, bool flag) public returns (bool) @@ -223,7 +223,7 @@ contract tokenProxy is RequestProxyErrors { /** * @dev Forward the repay request for repay to the handler logic contract. * @param unifiedTokenAmount The amount of coins to repay - * @param flag Flag for the full calcuation mode + * @param flag Flag for the full calculation mode * @return whether the repay has been made successfully or not. */ function repay(uint256 unifiedTokenAmount, bool flag) public payable returns (bool)