Skip to content

Commit 91f5968

Browse files
committed
updates langs for code blocks
1 parent 0433746 commit 91f5968

File tree

59 files changed

+2395
-2396
lines changed

Some content is hidden

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

59 files changed

+2395
-2396
lines changed

filepathSlugs.json

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

src/pages/komodo-defi-framework/api/common_structures/activation/index.mdx

+13-13
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `ActivationParams` object defines additional parameters used for activation.
1818
| zcash\_params\_path | string | ZHTLC coins only. Path to folder containing Zcash parameters. Optional, defaults to standard location as defined in [this guide](https://forum.komodoplatform.com/t/installing-zcash-params/603) |
1919
| scan\_blocks\_per\_iteration | integer | ZHTLC coins only. Sets the number of scanned blocks per iteration during `BuildingWalletDb` state. Optional, default value is 1000. |
2020
| scan\_interval\_ms | integer | ZHTLC coins only. Sets the interval in milliseconds between iterations of `BuildingWalletDb` state. Optional, default value is 0. |
21-
| mode | object | QTUM, UTXO & ZHTLC coins only. A standard [ActivationMode](/komodo-defi-framework/api/common_structures/activation/#activation-mode) object. |
21+
| mode | object | QTUM, UTXO & ZHTLC coins only. A standard [ActivationMode](/komodo-defi-framework/api/common_structures/activation/#activation-mode) object. |
2222

2323
<Note>
2424
For ZHTLC coins, older wallets need to set the `sync_params` field to a date before its
@@ -36,9 +36,9 @@ The `ActivationParams` object defines additional parameters used for activation.
3636

3737
Defines the activation mode for QTUM, BCH, UTXO & ZHTLC coins.
3838

39-
| Parameter | Type | Description |
40-
| --------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
41-
| rpc | string | `Native` if running a native blockchain node, `Electrum` if using electrum servers or `Light` for ZHTLC coins. |
39+
| Parameter | Type | Description |
40+
| --------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
41+
| rpc | string | `Native` if running a native blockchain node, `Electrum` if using electrum servers or `Light` for ZHTLC coins. |
4242
| rpc\_data | object | `Electrum` or `Light` mode only. A standard [ActivationRpcData](/komodo-defi-framework/api/common_structures/activation/#activation-rpc-data) object. |
4343

4444
### ActivationRpcData
@@ -48,8 +48,8 @@ Contains information about electrum & lightwallet\_d servers for coins being use
4848
| Parameter | Type | Description |
4949
| ------------------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
5050
| light\_wallet\_d\_servers | list | ZHTLC only. A list of urls which are hosting lightwallet\_d servers for a coin. |
51-
| electrum\_servers | list of objects | ZHTLC only. A list of standard [ActivationServers](/komodo-defi-framework/api/common_structures/activation/#activation-servers) objects. |
52-
| electrum | list of objects | QTUM, BCH & UTXO coins only. A list of standard [ActivationServers](/komodo-defi-framework/api/common_structures/activation/#activation-servers) objects. |
51+
| electrum\_servers | list of objects | ZHTLC only. A list of standard [ActivationServers](/komodo-defi-framework/api/common_structures/activation/#activation-servers) objects. |
52+
| electrum | list of objects | QTUM, BCH & UTXO coins only. A list of standard [ActivationServers](/komodo-defi-framework/api/common_structures/activation/#activation-servers) objects. |
5353
| sync\_params | integer or string | ZHTLC coins only. Optional, defaults to two days ago. Defines where to start scanning blockchain data upon initial activation. Options: `"earliest"` (the coin's sapling\_activation\_height), `height` (a specific block height) or `date` (a unix timestamp). |
5454

5555
<DevComment>
@@ -127,17 +127,17 @@ Contains information electrum servers for coins being used in `Electrum` or `Lig
127127

128128
### CoinProtocol
129129

130-
| Parameter | Type | Description |
131-
| -------------- | ------- | ------------------------------------------------------------------------------------------------------ |
132-
| type | integer | One of the Coin Types supported by the Komodo DeFi Framework |
130+
| Parameter | Type | Description |
131+
| -------------- | ------- | ------------------------------------------------------------------------------------------------------------------ |
132+
| type | integer | One of the Coin Types supported by the Komodo DeFi Framework |
133133
| protocol\_data | object | A standard [CoinProtocolData](/komodo-defi-framework/api/common_structures/activation/#coin-protocol-data) object. |
134134

135135
### CoinProtocolData
136136

137-
| Parameter | Type | Description |
138-
| --------------------- | ------ | ---------------------------------------------------------------------------------------------------------- |
139-
| platform | string | Indicates the platform parent coin for EMV-like protocols, or the coin used for lightning nodes. |
140-
| network | string | Either `mainnet` or \`testnet |
137+
| Parameter | Type | Description |
138+
| --------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------- |
139+
| platform | string | Indicates the platform parent coin for EMV-like protocols, or the coin used for lightning nodes. |
140+
| network | string | Either `mainnet` or \`testnet |
141141
| confirmation\_targets | object | A standard [ConfirmationTargets](/komodo-defi-framework/api/common_structures/lightning/#confirmation-targets) object. |
142142

143143
### EvmNode

src/pages/komodo-defi-framework/api/common_structures/index.mdx

+10-10
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ Structures which are used in more than one section are listed below:
4141

4242
The `AddressInfo` object includes the following items for a given address:
4343

44-
| Parameter | Type | Description |
45-
| ------------------ | ------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
44+
| Parameter | Type | Description |
45+
| ------------------ | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
4646
| balances | object | A standard [balanceInfos](/komodo-defi-framework/api/common_structures/#balance-infos) object. Not included in responses where `get_balances` is `false` |
4747
| derivation\_method | object | A standard [DerivationMethod](/komodo-defi-framework/api/common_structures/#derivation-method) object |
48-
| pubkey | string | The public key associated with the seed used to launch AtomicDEX |
49-
| tickers | array | A list of tokens which were successfully activated. Only included in responses where `get_balances` is `false` |
48+
| pubkey | string | The public key associated with the seed used to launch AtomicDEX |
49+
| tickers | array | A list of tokens which were successfully activated. Only included in responses where `get_balances` is `false` |
5050

5151
<CollapsibleSection expandedText="Hide Examples" collapsedText="Show Examples">
5252
#### Example with balances
@@ -124,9 +124,9 @@ Where the value indicates:
124124

125125
The `NumericFormatsValue` returns a price or amount in three different formats: `fraction`, `rational`, and `decimal`.
126126

127-
| Parameter | Type | Description |
128-
| --------- | -------------- | ---------------------------------------------------------------------------------------- |
129-
| decimal | numeric string | A decimal number as a string. |
127+
| Parameter | Type | Description |
128+
| --------- | -------------- | ---------------------------------------------------------------------------------------------------- |
129+
| decimal | numeric string | A decimal number as a string. |
130130
| rational | object | A standard [RationalValue](/komodo-defi-framework/api/common_structures/#rational-value) object. |
131131
| fraction | object | A standard [FractionalValue](/komodo-defi-framework/api/common_structures/#fractional-value) object. |
132132

@@ -288,9 +288,9 @@ The `numerator` and `denominator` are BigInteger numbers represented as a sign a
288288

289289
### SyncStatus
290290

291-
| Parameter | Type | Description |
292-
| ---------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
293-
| state | string | current state of sync; possible values: `NotEnabled`, `NotStarted`, `InProgress`, `Error`, `Finished` |
291+
| Parameter | Type | Description |
292+
| ---------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
293+
| state | string | current state of sync; possible values: `NotEnabled`, `NotStarted`, `InProgress`, `Error`, `Finished` |
294294
| additional\_info | object | A standard [SyncStatusExtended](/komodo-defi-framework/api/common_structures/#sync-status-extended/) object. Additional info that helps to track the progress; present for `InProgress` and `Error` states only. |
295295

296296
### SyncStatusExtended

src/pages/komodo-defi-framework/api/common_structures/nfts/index.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The `NftInfo` object includes the following items for a given token:
3030
| token\_hash | string | The token hash. May be `null`. |
3131
| token\_uri | string | The URI to the metadata of the token. May be `null`. |
3232
| token\_domain | string | Token domain. May be `null`. |
33-
| uri\_meta | object | A standard [NftMetadata](/komodo-defi-framework/api/common_structures/nfts/#nft-metadata) object. |
33+
| uri\_meta | object | A standard [NftMetadata](/komodo-defi-framework/api/common_structures/nfts/#nft-metadata) object. |
3434

3535
### NftFilter
3636

@@ -73,7 +73,7 @@ The `NftTransfer` object includes the following items for each token transaction
7373
| status | string | Transfer status. Will be either `Send` or `Receive`. When the `from_address` and `to_address` are the same (i.e. sending to yourself), this value will be `Receive`. |
7474
| verified | integer | May be `null`. A deprecated field which will be removed in future. |
7575
| operator | string | May be `null`. |
76-
| fee\_details | object | Optional. A standard [FeeInfo](/komodo-defi-framework/api/common_structures//#fee-info) object. |
76+
| fee\_details | object | Optional. A standard [FeeInfo](/komodo-defi-framework/api/common_structures//#fee-info) object. |
7777
| confirmations | integer | The count of blocks produced since this transaction was confirmed. |
7878

7979
<DevComment>
@@ -180,11 +180,11 @@ The `WithdrawNftData` object is used for withdrawals of NFTs on ERC721 and ERC11
180180

181181
| Parameter | Type | Description |
182182
| -------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
183-
| chain | string | The token chain. Chain must be [activated](/komodo-defi-framework/api/legacy/coin_activation/) first. |
183+
| chain | string | The token chain. Chain must be [activated](/komodo-defi-framework/api/legacy/coin_activation/) first. |
184184
| to | string | Destination address to withdraw the token to. |
185185
| token\_address | string | Token address. |
186186
| token\_id | string | Token ID. |
187-
| fee | object | A standard [WithdrawFee](/komodo-defi-framework/api/common_structures/#withdraw-fee) object. May be missing for older transfers. |
187+
| fee | object | A standard [WithdrawFee](/komodo-defi-framework/api/common_structures/#withdraw-fee) object. May be missing for older transfers. |
188188
| amount | string | Optional, ERC1155 only. Defaults to `1`. Amount of NFTs to withdraw. Ignored if `max` is true. |
189189
| max | boolean | Optional, ERC1155 only. Defaults to `false`. If `true`, amount parameter will be ignored and all NFTs with this `token_id` will be sent. |
190190

0 commit comments

Comments
 (0)