Skip to content

Commit 8e29670

Browse files
authored
Merge pull request #401 from KomodoPlatform/lint-fix-patches/dev
2 parents 8b464a6 + d876617 commit 8e29670

File tree

56 files changed

+43921
-44345
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+43921
-44345
lines changed

data-for-gpts/all-content.txt

+10,458-10,514
Large diffs are not rendered by default.

data-for-gpts/komodefi-api/all-api-content.txt

+10,451-10,507
Large diffs are not rendered by default.

data-for-gpts/komodefi-api/legacy-api-content.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const description =
66

77
The `active_swaps` method returns all the swaps that are currently running on the Komodo DeFi Framework API node.
88

9-
This method has been deprecated in favor of [active\_swaps v2](/komodo-defi-framework/api/v20/active_swaps/). The legacy version does not include v2 (Trading Protocol Upgrade) swap statuses in responses (it only returns uuids for these).
9+
This method has been deprecated in favor of [active\_swaps v2](/komodo-defi-framework/api/v20/swaps_and_orders/active_swaps/). The legacy version does not include v2 (Trading Protocol Upgrade) swap statuses in responses (it only returns uuids for these).
1010

1111
## Arguments
1212

@@ -1657,7 +1657,7 @@ If max\_connected is \< min\_connected, you will see the following error:
16571657
}
16581658
```
16591659

1660-
For enabling Z coins, refer to the [ZHTLC activation tasks](/komodo-defi-framework/api/v20-dev/zhtlc_coins/activation/) in the v2.0 Dev API.
1660+
For enabling Z coins, refer to the [ZHTLC activation tasks](/komodo-defi-framework/api/v20/coin_activation/task_managed/task_enable_z_coin/) in the v2.0 Dev API.
16611661

16621662
To see more examples for other platforms like Fantom, Avalanche & Harmony, you can search the [Komodo DeFi Framework API Coin Activation Commands List
16631663
](https://stats.kmd.io/atomicdex/activation_commands/) or build a single `batch` command to enable a set of selected coins via the
@@ -2059,7 +2059,7 @@ export const description = "The get_enabled_coins method returns data of coins t
20592059

20602060
The `get_enabled_coins` method returns data of coins that are currently enabled on the user's Komodo DeFi Framework API node.
20612061

2062-
This function has been deprecated by [get\_enabled\_coins v2.0](/komodo-defi-framework/api/v20/get_enabled_coins/). The v2 method does not return addresses, as it was designed for HD wallets, which generate addresses on the fly.
2062+
This function has been deprecated by [get\_enabled\_coins v2.0](/komodo-defi-framework/api/v20/utils/get_enabled_coins/). The v2 method does not return addresses, as it was designed for HD wallets, which generate addresses on the fly.
20632063
If you need to get the addresses for coins and have not set `enable_hd` in your [MM2.json file](/komodo-defi-framework/setup/configure-mm2-json/), use the v1 method.
20642064

20652065
## Arguments
@@ -2338,7 +2338,7 @@ The `get_trade_fee` method returns the approximate amount of the miner fee that
23382338

23392339
This amount should be multiplied by 2 and deducted from the volume on `buy/sell` calls when the user is about to trade the entire balance of the selected coin. This aspect is currently under development.
23402340

2341-
This function is deprecated. Please consider using [trade\_preimage v2.0](/komodo-defi-framework/api/v20/trade_preimage/) instead.
2341+
This function is deprecated. Please consider using [trade\_preimage v2.0](/komodo-defi-framework/api/v20/swaps_and_orders/trade_preimage/) instead.
23422342

23432343
To send QRC20 Maker/Taker payment, you may need to allow the [Etomic Swap](https://github.com/artemii235/etomic-swap/) smart contract to withdraw amounts from your account using the [approve](https://docs.openzeppelin.com/contracts/2.x/api/token/erc20#IERC20-approve-address-uint256-) call.
23442344
In the worst case, you should call the `approve` twice (reduce allowance to 0 and set it to a required value) before the [erc20Payment](https://github.com/artemii235/etomic-swap/blob/1.0/contracts/EtomicSwap.sol#L51) is called.
@@ -7292,7 +7292,7 @@ Use the resulting `volume` as an argument of the `buy` or `sell` requests.
72927292

72937293
Use the `trade_preimage` request with `max = true` and `swap_method = "setprice"` arguments to approximate the fee amounts **only**. Do not use the resulting `volume` as an argument of the `setprice`.
72947294

7295-
This function is deprecated. Please consider using [trade\_preimage v2.0](/komodo-defi-framework/api/v20/trade_preimage/) instead.
7295+
This function is deprecated. Please consider using [trade\_preimage v2.0](/komodo-defi-framework/api/v20/swaps_and_orders/trade_preimage/) instead.
72967296

72977297
#### Arguments
72987298

data-for-gpts/komodefi-api/v20-api-content.txt

+12,020-5,818
Large diffs are not rendered by default.

data-for-gpts/komodefi-api/v20-dev-api-content.txt

+1-6,259
Large diffs are not rendered by default.

data-for-gpts/komodo-defi-framework-content.txt

+10,457-10,513
Large diffs are not rendered by default.
Binary file not shown.

utils/_allMdxFileContentTree.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)