From 4739440b5093841a92462339d756389acfc75ede Mon Sep 17 00:00:00 2001 From: rustfix <771054535@qq.com> Date: Mon, 15 Apr 2024 12:23:39 +0800 Subject: [PATCH] chore: remove repetitive words Signed-off-by: rustfix <771054535@qq.com> --- packages/hebao_v1/contracts/test/LRCToken.sol | 2 +- packages/hebao_v2/contracts/test/LRCToken.sol | 2 +- packages/loopring_v1/contracts/lib/ERC20Token.sol | 2 +- packages/loopring_v2.3/contracts/lib/ERC20Token.sol | 2 +- packages/loopring_v2.3/contracts/test/LRCToken.sol | 2 +- packages/loopring_v2/contracts/lib/ERC20Token.sol | 2 +- packages/loopring_v2/contracts/test/LRCToken.sol | 2 +- packages/loopring_v3/circuit/ThirdParty/json.hpp | 4 ++-- packages/loopring_v3/contracts/core/iface/IExchangeV3.sol | 2 +- .../core/impl/libtransactions/NftDataTransaction.sol | 2 +- packages/loopring_v3/contracts/lib/ERC20Token.sol | 2 +- packages/loopring_v3/contracts/test/LRCToken.sol | 2 +- packages/loopring_v3/test/testSmartWallet.ts | 4 ++-- packages/lrc_v2/contracts/LRC_v2.sol | 2 +- packages/lrc_v2/contracts/NewLRCToken.sol | 2 +- packages/oedax_v1/contracts/lib/ERC20Token.sol | 2 +- packages/oedax_v1/contracts/test/LRCToken.sol | 2 +- 17 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/hebao_v1/contracts/test/LRCToken.sol b/packages/hebao_v1/contracts/test/LRCToken.sol index f2536035c..9ae42e263 100644 --- a/packages/hebao_v1/contracts/test/LRCToken.sol +++ b/packages/hebao_v1/contracts/test/LRCToken.sol @@ -86,7 +86,7 @@ contract BasicToken is ERC20Basic { } /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return balance An uint representing the amount owned by the passed address. */ function balanceOf(address _owner) public view override virtual returns (uint balance) { diff --git a/packages/hebao_v2/contracts/test/LRCToken.sol b/packages/hebao_v2/contracts/test/LRCToken.sol index 1b23a2009..c76e7e0ce 100644 --- a/packages/hebao_v2/contracts/test/LRCToken.sol +++ b/packages/hebao_v2/contracts/test/LRCToken.sol @@ -86,7 +86,7 @@ contract BasicToken is ERC20Basic { } /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return balance An uint representing the amount owned by the passed address. */ function balanceOf(address _owner) public view override virtual returns (uint balance) { diff --git a/packages/loopring_v1/contracts/lib/ERC20Token.sol b/packages/loopring_v1/contracts/lib/ERC20Token.sol index 9f8c6563f..852033ddb 100644 --- a/packages/loopring_v1/contracts/lib/ERC20Token.sol +++ b/packages/loopring_v1/contracts/lib/ERC20Token.sol @@ -110,7 +110,7 @@ contract ERC20Token is ERC20 { /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf( diff --git a/packages/loopring_v2.3/contracts/lib/ERC20Token.sol b/packages/loopring_v2.3/contracts/lib/ERC20Token.sol index a16b6ead1..8634aba6f 100644 --- a/packages/loopring_v2.3/contracts/lib/ERC20Token.sol +++ b/packages/loopring_v2.3/contracts/lib/ERC20Token.sol @@ -110,7 +110,7 @@ contract ERC20Token is ERC20, Errors{ /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf( diff --git a/packages/loopring_v2.3/contracts/test/LRCToken.sol b/packages/loopring_v2.3/contracts/test/LRCToken.sol index 40c7afbf6..fd9d88b82 100644 --- a/packages/loopring_v2.3/contracts/test/LRCToken.sol +++ b/packages/loopring_v2.3/contracts/test/LRCToken.sol @@ -101,7 +101,7 @@ contract BasicToken is ERC20Basic { } /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256) { diff --git a/packages/loopring_v2/contracts/lib/ERC20Token.sol b/packages/loopring_v2/contracts/lib/ERC20Token.sol index be063974d..c6a288f38 100644 --- a/packages/loopring_v2/contracts/lib/ERC20Token.sol +++ b/packages/loopring_v2/contracts/lib/ERC20Token.sol @@ -110,7 +110,7 @@ contract ERC20Token is ERC20, Errors{ /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf( diff --git a/packages/loopring_v2/contracts/test/LRCToken.sol b/packages/loopring_v2/contracts/test/LRCToken.sol index 15546ba3b..447f9ebfa 100644 --- a/packages/loopring_v2/contracts/test/LRCToken.sol +++ b/packages/loopring_v2/contracts/test/LRCToken.sol @@ -101,7 +101,7 @@ contract BasicToken is ERC20Basic { } /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256) { diff --git a/packages/loopring_v3/circuit/ThirdParty/json.hpp b/packages/loopring_v3/circuit/ThirdParty/json.hpp index c9af0bed3..942606816 100644 --- a/packages/loopring_v3/circuit/ThirdParty/json.hpp +++ b/packages/loopring_v3/circuit/ThirdParty/json.hpp @@ -1221,7 +1221,7 @@ enum class value_t : std::uint8_t number_integer, ///< number value (signed integer) number_unsigned, ///< number value (unsigned integer) number_float, ///< number value (floating-point) - discarded ///< discarded by the the parser callback function + discarded ///< discarded by the parser callback function }; /*! @@ -19551,7 +19551,7 @@ class basic_json Uses a JSON pointer to retrieve a reference to the respective JSON value. No bound checking is performed. The function does not change the JSON - value; no `null` values are created. In particular, the the special value + value; no `null` values are created. In particular, the special value `-` yields an exception. @param[in] ptr JSON pointer to the desired element diff --git a/packages/loopring_v3/contracts/core/iface/IExchangeV3.sol b/packages/loopring_v3/contracts/core/iface/IExchangeV3.sol index fa792b297..585865149 100644 --- a/packages/loopring_v3/contracts/core/iface/IExchangeV3.sol +++ b/packages/loopring_v3/contracts/core/iface/IExchangeV3.sol @@ -692,7 +692,7 @@ abstract contract IExchangeV3 is Claimable /// Can be called by anyone. /// /// @param accountID The accountID the forced request was made for - /// @param tokenID The tokenID of the the forced request + /// @param tokenID The tokenID of the forced request function notifyForcedRequestTooOld( uint32 accountID, uint16 tokenID diff --git a/packages/loopring_v3/contracts/core/impl/libtransactions/NftDataTransaction.sol b/packages/loopring_v3/contracts/core/impl/libtransactions/NftDataTransaction.sol index 9513905b1..37cbd0faf 100644 --- a/packages/loopring_v3/contracts/core/impl/libtransactions/NftDataTransaction.sol +++ b/packages/loopring_v3/contracts/core/impl/libtransactions/NftDataTransaction.sol @@ -128,7 +128,7 @@ library NftDataTransaction NftDataTransaction.readTx(txData, 0, nftData); // Make sure the NFT_DATA transaction pushes data on-chain - // that matches the the tokens that are getting withdrawn + // that matches the tokens that are getting withdrawn require( nftData.scheme == uint8(expectedScheme) && nftData.accountID == accountID && diff --git a/packages/loopring_v3/contracts/lib/ERC20Token.sol b/packages/loopring_v3/contracts/lib/ERC20Token.sol index fb13bcfaf..991157e6c 100644 --- a/packages/loopring_v3/contracts/lib/ERC20Token.sol +++ b/packages/loopring_v3/contracts/lib/ERC20Token.sol @@ -90,7 +90,7 @@ contract ERC20Token is ERC20 /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return balance An uint representing the amount owned by the passed address. */ function balanceOf( diff --git a/packages/loopring_v3/contracts/test/LRCToken.sol b/packages/loopring_v3/contracts/test/LRCToken.sol index 12b86354a..5a8360d91 100644 --- a/packages/loopring_v3/contracts/test/LRCToken.sol +++ b/packages/loopring_v3/contracts/test/LRCToken.sol @@ -84,7 +84,7 @@ contract BasicToken is ERC20Basic { } /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return balance An uint representing the amount owned by the passed address. */ function balanceOf(address _owner) public view override virtual returns (uint balance) { diff --git a/packages/loopring_v3/test/testSmartWallet.ts b/packages/loopring_v3/test/testSmartWallet.ts index 1c8ba743c..cbc926554 100644 --- a/packages/loopring_v3/test/testSmartWallet.ts +++ b/packages/loopring_v3/test/testSmartWallet.ts @@ -274,7 +274,7 @@ contract("SmartWallet", (accounts: string[]) => { salt ); - // Do a transfer the the smart wallet + // Do a transfer the smart wallet await ctx.transfer( ownerA, walletAddress, @@ -418,7 +418,7 @@ contract("SmartWallet", (accounts: string[]) => { salt ); - // Do a transfer the the smart wallet + // Do a transfer the smart wallet await ctx.transfer( ownerA, walletAddress, diff --git a/packages/lrc_v2/contracts/LRC_v2.sol b/packages/lrc_v2/contracts/LRC_v2.sol index 8b1c78038..7f6489ce1 100644 --- a/packages/lrc_v2/contracts/LRC_v2.sol +++ b/packages/lrc_v2/contracts/LRC_v2.sol @@ -109,7 +109,7 @@ contract BasicToken is ERC20Basic { } /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256) { diff --git a/packages/lrc_v2/contracts/NewLRCToken.sol b/packages/lrc_v2/contracts/NewLRCToken.sol index f528a51ae..bacc7e908 100644 --- a/packages/lrc_v2/contracts/NewLRCToken.sol +++ b/packages/lrc_v2/contracts/NewLRCToken.sol @@ -99,7 +99,7 @@ contract BasicToken is ERC20Basic { } /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256) { diff --git a/packages/oedax_v1/contracts/lib/ERC20Token.sol b/packages/oedax_v1/contracts/lib/ERC20Token.sol index cf459eb5a..b8bf58b87 100644 --- a/packages/oedax_v1/contracts/lib/ERC20Token.sol +++ b/packages/oedax_v1/contracts/lib/ERC20Token.sol @@ -120,7 +120,7 @@ contract ERC20Token is ERC20 /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf( diff --git a/packages/oedax_v1/contracts/test/LRCToken.sol b/packages/oedax_v1/contracts/test/LRCToken.sol index 9fc772aba..f6dcb37a6 100644 --- a/packages/oedax_v1/contracts/test/LRCToken.sol +++ b/packages/oedax_v1/contracts/test/LRCToken.sol @@ -98,7 +98,7 @@ contract BasicToken is ERC20Basic { } /** * @dev Gets the balance of the specified address. - * @param _owner The address to query the the balance of. + * @param _owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256) {