chore: remove repetitive words

Signed-off-by: jimmycathy <clonecode@outlook.com>
This commit is contained in:
jimmycathy 2024-05-04 20:56:48 +08:00
parent e66307ba31
commit a2c05e1b0c
8 changed files with 9 additions and 9 deletions

View File

@ -81,7 +81,7 @@ export async function expectInsufficientFundsAsync<T>(p: Promise<T>): Promise<vo
} }
/** /**
* Resolves if the the sendTransaction call fails with the given revert reason. * Resolves if the sendTransaction call fails with the given revert reason.
* However, since Geth does not support revert reasons for sendTransaction, this * However, since Geth does not support revert reasons for sendTransaction, this
* falls back to expectTransactionFailedWithoutReasonAsync if the backing * falls back to expectTransactionFailedWithoutReasonAsync if the backing
* Ethereum node is Geth. * Ethereum node is Geth.
@ -154,7 +154,7 @@ export async function expectTransactionFailedWithoutReasonAsync(p: sendTransacti
} }
/** /**
* Resolves if the the contract call fails with the given revert reason. * Resolves if the contract call fails with the given revert reason.
* @param p a Promise resulting from a contract call * @param p a Promise resulting from a contract call
* @param reason a specific revert reason * @param reason a specific revert reason
* @returns a new Promise which will reject if the conditions are not met and * @returns a new Promise which will reject if the conditions are not met and

View File

@ -193,7 +193,7 @@ abstract contract MultiplexUniswapV2 is FixinCommon, FixinTokenSpender {
} }
} }
// Computes the the amount of output token that would be bought // Computes the amount of output token that would be bought
// from Uniswap/Sushiswap given the input amount. // from Uniswap/Sushiswap given the input amount.
function _computeUniswapOutputAmount( function _computeUniswapOutputAmount(
address pairAddress, address pairAddress,

View File

@ -25,7 +25,7 @@ import "./InitialMigration.sol";
/// @dev A contract for deploying and configuring the full ZeroEx contract. /// @dev A contract for deploying and configuring the full ZeroEx contract.
contract FullMigration { contract FullMigration {
/// @dev Features to add the the proxy contract. /// @dev Features to add the proxy contract.
struct Features { struct Features {
SimpleFunctionRegistryFeature registry; SimpleFunctionRegistryFeature registry;
OwnableFeature ownable; OwnableFeature ownable;

View File

@ -23,7 +23,7 @@ import "./LibBootstrap.sol";
/// @dev A contract for deploying and configuring a minimal ZeroEx contract. /// @dev A contract for deploying and configuring a minimal ZeroEx contract.
contract InitialMigration { contract InitialMigration {
/// @dev Features to bootstrap into the the proxy contract. /// @dev Features to bootstrap into the proxy contract.
struct BootstrapFeatures { struct BootstrapFeatures {
SimpleFunctionRegistryFeature registry; SimpleFunctionRegistryFeature registry;
OwnableFeature ownable; OwnableFeature ownable;

View File

@ -2,4 +2,4 @@
Allowances Allowances
############################### ###############################
Both maker and taker allowance should be be set directly on the `Exchange Proxy contract <./addresses.html#exchange-proxy-addresses>`_. Both maker and taker allowance should be set directly on the `Exchange Proxy contract <./addresses.html#exchange-proxy-addresses>`_.

View File

@ -110,7 +110,7 @@
"MultiAsset(uint256[],bytes[])": { "MultiAsset(uint256[],bytes[])": {
"details": "Function signature for encoding MultiAsset assetData.", "details": "Function signature for encoding MultiAsset assetData.",
"params": { "params": {
"nestedAssetData": "Array of assetData fields that will be be dispatched to their correspnding AssetProxy contract.", "nestedAssetData": "Array of assetData fields that will be dispatched to their correspnding AssetProxy contract.",
"values": "Array of amounts that correspond to each asset to be transferred. Note that each value will be multiplied by the amount being filled in the order before transferring." "values": "Array of amounts that correspond to each asset to be transferred. Note that each value will be multiplied by the amount being filled in the order before transferring."
} }
}, },

View File

@ -5003,7 +5003,7 @@ Function signature for encoding MultiAsset assetData.
Name | Type | Description | Name | Type | Description |
------ | ------ | ------ | ------ | ------ | ------ |
`values` | `BigNumber`[] | Array of amounts that correspond to each asset to be transferred. Note that each value will be multiplied by the amount being filled in the order before transferring. | `values` | `BigNumber`[] | Array of amounts that correspond to each asset to be transferred. Note that each value will be multiplied by the amount being filled in the order before transferring. |
`nestedAssetData` | string[] | Array of assetData fields that will be be dispatched to their correspnding AssetProxy contract. | `nestedAssetData` | string[] | Array of assetData fields that will be dispatched to their correspnding AssetProxy contract. |
**Returns:** *`ContractTxFunctionObj<void>`* **Returns:** *`ContractTxFunctionObj<void>`*

View File

@ -616,7 +616,7 @@ export class IAssetDataContract extends BaseContract {
* @param values Array of amounts that correspond to each asset to be * @param values Array of amounts that correspond to each asset to be
* transferred. Note that each value will be multiplied by the * transferred. Note that each value will be multiplied by the
* amount being filled in the order before transferring. * amount being filled in the order before transferring.
* @param nestedAssetData Array of assetData fields that will be be dispatched * @param nestedAssetData Array of assetData fields that will be dispatched
* to their correspnding AssetProxy contract. * to their correspnding AssetProxy contract.
*/ */
public MultiAsset(values: BigNumber[], nestedAssetData: string[]): ContractTxFunctionObj<void> { public MultiAsset(values: BigNumber[], nestedAssetData: string[]): ContractTxFunctionObj<void> {