diff --git a/docs/js_sdk/erc20Trade/orderERC20.md b/docs/js_sdk/erc20Trade/orderERC20.md index bcc9583f..143b9035 100644 --- a/docs/js_sdk/erc20Trade/orderERC20.md +++ b/docs/js_sdk/erc20Trade/orderERC20.md @@ -728,7 +728,7 @@ const [{depth}, {ammPoolSnapshot}] = await Promise.all([ ]); ``` -### Step 5. check MinAmt see log and calc mini receive and ouput value & maxfeeBips & priceImpact +### Step 5. check MinAmt see log and calc mini receive and output value & maxfeeBips & priceImpact ```ts const { calcTradeParams, maxFeeBips, minimumReceived } = calculateSwap( diff --git a/src/api/request.ts b/src/api/request.ts index 010a3ade..65a3f594 100644 --- a/src/api/request.ts +++ b/src/api/request.ts @@ -71,7 +71,7 @@ export class Request { return true } return false - // return true // always true, handle exception in each bussiness logic + // return true // always true, handle exception in each business logic }, insecure: true, diff --git a/src/api/sign/poseidon/permutation.ts b/src/api/sign/poseidon/permutation.ts index a5ff505f..35d738ee 100644 --- a/src/api/sign/poseidon/permutation.ts +++ b/src/api/sign/poseidon/permutation.ts @@ -201,7 +201,7 @@ export class permunation { // poseidon /* - Main instansiation of the Poseidon permutation + Main instantiation of the Poseidon permutation The state is `t` elements wide, there are `F` full-rounds followed by `P` partial rounds, then `F` full rounds again. diff --git a/src/defs/account_defs.ts b/src/defs/account_defs.ts index 94f3526d..3c12bfc9 100644 --- a/src/defs/account_defs.ts +++ b/src/defs/account_defs.ts @@ -4,7 +4,7 @@ import { PublicKey } from './loopring_enums' * AccountInfo * @property accountId number Account ID * @property owner string Ethereum address - * @property frozen boolean The frozen state of the account, true stands for frozen, if the account is frozen, the user cant submit order. + * @property frozen boolean The frozen state of the account, true stands for frozen, if the account is frozen, the user can't submit order. * @property publicKey PublicKey The user's public key * @property tags? string Comma separated list of tags such as VIP levels, etc * @property nonce number field.DexAccountV3.nonce diff --git a/src/defs/loopring_defs.ts b/src/defs/loopring_defs.ts index c273b909..16e1a308 100644 --- a/src/defs/loopring_defs.ts +++ b/src/defs/loopring_defs.ts @@ -1484,7 +1484,7 @@ export enum STOP_SIDE { export interface SubmitOrderRequestV3 { /** - * The adderss of the exchange which has to process this order + * The address of the exchange which has to process this order * @type {string} * @memberof SubmitOrderRequestV3 */ diff --git a/src/tests/demo/erc20Trade/orderERC20.md b/src/tests/demo/erc20Trade/orderERC20.md index 0566bea9..f5e985d0 100644 --- a/src/tests/demo/erc20Trade/orderERC20.md +++ b/src/tests/demo/erc20Trade/orderERC20.md @@ -580,7 +580,7 @@ const [{depth}, {ammPoolSnapshot}] = await Promise.all([ ]); ``` -### Step 5. Check MinAmt see log and calc mini receive and ouput value & maxfeeBips & priceImpact & swap output +### Step 5. Check MinAmt see log and calc mini receive and output value & maxfeeBips & priceImpact & swap output ```ts const { calcTradeParams, maxFeeBips, minimumReceived } = calculateSwap( @@ -719,7 +719,7 @@ const [{depth}, {ammPoolSnapshot}] = await Promise.all([ ]); ``` -### Step 5. check MinAmt see log and calc mini receive and ouput value & maxfeeBips & priceImpact +### Step 5. check MinAmt see log and calc mini receive and output value & maxfeeBips & priceImpact ```ts const { calcTradeParams, maxFeeBips, minimumReceived } = calculateSwap( diff --git a/src/tests/demo/erc20Trade/orderERC20.test.ts b/src/tests/demo/erc20Trade/orderERC20.test.ts index af8df2ca..c0f496f2 100644 --- a/src/tests/demo/erc20Trade/orderERC20.test.ts +++ b/src/tests/demo/erc20Trade/orderERC20.test.ts @@ -618,7 +618,7 @@ describe("orderERC20", function () { }), ]); - // Step 5. check MinAmt see log and calc mini receive and ouput value & maxfeeBips & priceImpact + // Step 5. check MinAmt see log and calc mini receive and output value & maxfeeBips & priceImpact // @ts-ignore const { calcTradeParams, maxFeeBips, minimumReceived } = calculateSwap( sell,