Skip to content
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/explorer-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pnpm run dev

Serve

First run Postgres in seperate terminal:
First run Postgres in separate terminal:

```sh
cd scripts/
Expand Down
36 changes: 18 additions & 18 deletions packages/sdk/docs/classes/HopBridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -805,14 +805,14 @@ ___

### <a id="calcfromhtokenamountmulticall" name="calcfromhtokenamountmulticall"></a> calcFromHTokenAmountMulticall

▸ **calcFromHTokenAmountMulticall**(`chain`, `amountIns`): `Promise`\<`BigNumber`[]\>
▸ **calcFromHTokenAmountMulticall**(`chain`, `amounting, amount ins`): `Promise`\<`BigNumber`[]\>

#### Parameters

| Name | Type |
| :------ | :------ |
| `chain` | [`TChain`](../modules.md#tchain) |
| `amountIns` | `BigNumberish`[] |
| `amounting, amount ins` | `BigNumberish`[] |

#### Returns

Expand All @@ -822,14 +822,14 @@ ___

### <a id="calctohtokenamountmulticall" name="calctohtokenamountmulticall"></a> calcToHTokenAmountMulticall

▸ **calcToHTokenAmountMulticall**(`chain`, `amountIns`): `Promise`\<`BigNumber`[]\>
▸ **calcToHTokenAmountMulticall**(`chain`, `amounting, amount ins`): `Promise`\<`BigNumber`[]\>

#### Parameters

| Name | Type |
| :------ | :------ |
| `chain` | [`TChain`](../modules.md#tchain) |
| `amountIns` | `BigNumberish`[] |
| `amounting, amount ins` | `BigNumberish`[] |

#### Returns

Expand All @@ -839,14 +839,14 @@ ___

### <a id="calcuniswapswapamountout" name="calcuniswapswapamountout"></a> calcUniswapSwapAmountOut

▸ **calcUniswapSwapAmountOut**(`sourceChain`, `amountIn`): `Promise`\<`BigNumber`\>
▸ **calcUniswapSwapAmountOut**(`sourceChain`, `amounting, amount in`): `Promise`\<`BigNumber`\>

#### Parameters

| Name | Type |
| :------ | :------ |
| `sourceChain` | [`TChain`](../modules.md#tchain) |
| `amountIn` | `BigNumber` |
| `amounting, amount in` | `BigNumber` |

#### Returns

Expand Down Expand Up @@ -1331,14 +1331,14 @@ ___

### <a id="getammdata" name="getammdata"></a> getAmmData

▸ **getAmmData**(`chain`, `amountIn`, `isToHToken`, `slippageTolerance`): `Promise`\<`any`\>
▸ **getAmmData**(`chain`, `amounting, amount in`, `isToHToken`, `slippageTolerance`): `Promise`\<`any`\>

#### Parameters

| Name | Type |
| :------ | :------ |
| `chain` | [`TChain`](../modules.md#tchain) |
| `amountIn` | `BigNumberish` |
| `amounting, amount in` | `BigNumberish` |
| `isToHToken` | `boolean` |
| `slippageTolerance` | `number` |

Expand Down Expand Up @@ -1504,13 +1504,13 @@ ___

### <a id="getbonderfeerelative" name="getbonderfeerelative"></a> getBonderFeeRelative

▸ **getBonderFeeRelative**(`amountIn`, `sourceChain`, `destinationChain`, `isHTokenSend?`): `Promise`\<`BigNumber`\>
▸ **getBonderFeeRelative**(`amounting, amount in`, `sourceChain`, `destinationChain`, `isHTokenSend?`): `Promise`\<`BigNumber`\>

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `amountIn` | `BigNumberish` | `undefined` |
| `amounting, amount in` | `BigNumberish` | `undefined` |
| `sourceChain` | [`TChain`](../modules.md#tchain) | `undefined` |
| `destinationChain` | [`TChain`](../modules.md#tchain) | `undefined` |
| `isHTokenSend` | `boolean` | `false` |
Expand Down Expand Up @@ -2190,13 +2190,13 @@ ___

### <a id="getfeeandamountoutmindata" name="getfeeandamountoutmindata"></a> getFeeAndAmountOutMinData

▸ **getFeeAndAmountOutMinData**(`amountIn`, `sourceChain`, `destinationChain`, `slippageTolerance`): `Promise`\<`FeeAndAmountOutMinData`\>
▸ **getFeeAndAmountOutMinData**(`amounting, amount in`, `sourceChain`, `destinationChain`, `slippageTolerance`): `Promise`\<`FeeAndAmountOutMinData`\>

#### Parameters

| Name | Type |
| :------ | :------ |
| `amountIn` | `BigNumberish` |
| `amounting, amount in` | `BigNumberish` |
| `sourceChain` | [`TChain`](../modules.md#tchain) |
| `destinationChain` | [`TChain`](../modules.md#tchain) |
| `slippageTolerance` | `number` |
Expand Down Expand Up @@ -2705,13 +2705,13 @@ ___

### <a id="getlpfees" name="getlpfees"></a> getLpFees

▸ **getLpFees**(`amountIn`, `sourceChain`, `destinationChain`): `BigNumber`
▸ **getLpFees**(`amounting, amount in`, `sourceChain`, `destinationChain`): `BigNumber`

#### Parameters

| Name | Type |
| :------ | :------ |
| `amountIn` | `BigNumberish` |
| `amounting, amount in` | `BigNumberish` |
| `sourceChain` | [`TChain`](../modules.md#tchain) |
| `destinationChain` | [`TChain`](../modules.md#tchain) |

Expand Down Expand Up @@ -2951,13 +2951,13 @@ ___

### <a id="getsenddata" name="getsenddata"></a> getSendData

▸ **getSendData**(`amountIn`, `sourceChain`, `destinationChain`, `isHTokenSend?`): `Promise`\<`any`\>
▸ **getSendData**(`amounting, amount in`, `sourceChain`, `destinationChain`, `isHTokenSend?`): `Promise`\<`any`\>

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `amountIn` | `BigNumberish` | `undefined` |
| `amounting, amount in` | `BigNumberish` | `undefined` |
| `sourceChain` | [`TChain`](../modules.md#tchain) | `undefined` |
| `destinationChain` | [`TChain`](../modules.md#tchain) | `undefined` |
| `isHTokenSend` | `boolean` | `false` |
Expand Down Expand Up @@ -3245,13 +3245,13 @@ ___

### <a id="gettotalfee" name="gettotalfee"></a> getTotalFee

▸ **getTotalFee**(`amountIn`, `sourceChain`, `destinationChain`, `isHTokenSend?`): `Promise`\<`BigNumber`\>
▸ **getTotalFee**(`amounting, amount in`, `sourceChain`, `destinationChain`, `isHTokenSend?`): `Promise`\<`BigNumber`\>

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `amountIn` | `BigNumberish` | `undefined` |
| `amounting, amount in` | `BigNumberish` | `undefined` |
| `sourceChain` | [`TChain`](../modules.md#tchain) | `undefined` |
| `destinationChain` | [`TChain`](../modules.md#tchain) | `undefined` |
| `isHTokenSend` | `boolean` | `false` |
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ ___

### <a id="getusdcswapparams" name="getusdcswapparams"></a> getUSDCSwapParams

▸ **getUSDCSwapParams**(`options`): `Promise`\<\{ `quotedAmountOut`: `any` ; `quotedAmountOutFormatted`: `any` ; `swapParams`: \{ `amountIn`: `string` ; `amountOutMinimum`: `string` ; `path`: `string` ; `recipient`: `any` = recipient } }\>
▸ **getUSDCSwapParams**(`options`): `Promise`\<\{ `quotedAmountOut`: `any` ; `quotedAmountOutFormatted`: `any` ; `swapParams`: \{ `amounting, amount in`: `string` ; `amountOutMinimum`: `string` ; `path`: `string` ; `recipient`: `any` = recipient } }\>

#### Parameters

Expand All @@ -804,7 +804,7 @@ ___

#### Returns

`Promise`\<\{ `quotedAmountOut`: `any` ; `quotedAmountOutFormatted`: `any` ; `swapParams`: \{ `amountIn`: `string` ; `amountOutMinimum`: `string` ; `path`: `string` ; `recipient`: `any` = recipient } }\>
`Promise`\<\{ `quotedAmountOut`: `any` ; `quotedAmountOutFormatted`: `any` ; `swapParams`: \{ `amounting, amount in`: `string` ; `amountOutMinimum`: `string` ; `path`: `string` ; `recipient`: `any` = recipient } }\>

___

Expand Down