Skip to content

Commit

Permalink
Merge pull request #401 from KomodoPlatform/lint-fix-patches/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharang authored Dec 19, 2024
2 parents 8b464a6 + d876617 commit 8e29670
Show file tree
Hide file tree
Showing 56 changed files with 43,921 additions and 44,345 deletions.
20,972 changes: 10,458 additions & 10,514 deletions data-for-gpts/all-content.txt

Large diffs are not rendered by default.

20,958 changes: 10,451 additions & 10,507 deletions data-for-gpts/komodefi-api/all-api-content.txt

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions data-for-gpts/komodefi-api/legacy-api-content.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const description =

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

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).
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).

## Arguments

Expand Down Expand Up @@ -1657,7 +1657,7 @@ If max\_connected is \< min\_connected, you will see the following error:
}
```

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.
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.

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

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

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.
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.
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.

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

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.

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

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.
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.
Expand Down Expand Up @@ -7292,7 +7292,7 @@ Use the resulting `volume` as an argument of the `buy` or `sell` requests.

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`.

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

#### Arguments

Expand Down
17,838 changes: 12,020 additions & 5,818 deletions data-for-gpts/komodefi-api/v20-api-content.txt

Large diffs are not rendered by default.

6,260 changes: 1 addition & 6,259 deletions data-for-gpts/komodefi-api/v20-dev-api-content.txt

Large diffs are not rendered by default.

20,970 changes: 10,457 additions & 10,513 deletions data-for-gpts/komodo-defi-framework-content.txt

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified preview-images/original/pre-komodo-defi-framework-api.jpg
2 changes: 1 addition & 1 deletion utils/_allMdxFileContentTree.json

Large diffs are not rendered by default.

Loading

0 comments on commit 8e29670

Please sign in to comment.