Skip to content

chore: remove repetitive words #2719

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 1 commit into
base: master
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 packages/hebao_v1/contracts/test/LRCToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/hebao_v2/contracts/test/LRCToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/loopring_v1/contracts/lib/ERC20Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/loopring_v2.3/contracts/lib/ERC20Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/loopring_v2.3/contracts/test/LRCToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/loopring_v2/contracts/lib/ERC20Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/loopring_v2/contracts/test/LRCToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions packages/loopring_v3/circuit/ThirdParty/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

/*!
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/loopring_v3/contracts/core/iface/IExchangeV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down
2 changes: 1 addition & 1 deletion packages/loopring_v3/contracts/lib/ERC20Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/loopring_v3/contracts/test/LRCToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions packages/loopring_v3/test/testSmartWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/lrc_v2/contracts/LRC_v2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/lrc_v2/contracts/NewLRCToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/oedax_v1/contracts/lib/ERC20Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/oedax_v1/contracts/test/LRCToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down