Skip to content

Commit

Permalink
Merge c7a5791 into 7c74f20
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 authored Feb 29, 2024
2 parents 7c74f20 + c7a5791 commit 5fa3529
Show file tree
Hide file tree
Showing 30 changed files with 10,228 additions and 4,450 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ Thumbs.db
*.pid
*.sublime-*

#custom
# custom
filepathSlugs.json
links-to-manually-check
18 changes: 17 additions & 1 deletion STYLE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ For example:
| Parameter | Type | Description |
| --------- | ------- | --------------------------------------------------------------------------------------- |
| coin | string | The name of the coin the user desires to activate. |
| fee | object | Optional. A standard [FeeInfo](/atomicdex/api/v20/#FeeInfo) object. |
| fee | object | Optional. A standard [FeeInfo](/atomicdex/api/common_structures/#FeeInfo) object. |
| amount | float | Required, unless `max` is `true`. The amount of balance to send. |
| max | boolean | Optional, defaults to `false`. Send whole balance. |
| memo | string | Optional, used for ZHTLC and Tendermint coins only. Attaches a memo to the transaction. |
Expand Down Expand Up @@ -142,6 +142,22 @@ For example, when method and title are the same:

We've got a few **MDX** components we use across the Docs. Below is a walkthrough of how to start writing and using the components that make up the Docs.

IMPORTANT: Alwats use double quotes inside mdx tags.

Example:

Correct:

```
<CollapsibleSection expandedText="Hide Examples" collapsedText="Show Examples">
```

Wrong:

```
<CollapsibleSection expandedText='Hide Examples' collapsedText='Show Examples'>
```

MDX supports standard markdown by default [CommonMark](https://commonmark.org/). However, this project also has [GFM](https://github.github.com/gfm/) installed.

> Many of the components mentioned here are simplified and possibly do more than **explicitly pointed out**.
Expand Down
10,529 changes: 6,183 additions & 4,346 deletions data-for-gpts/all-content.txt

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions data-for-gpts/komodefi-api/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131756,7 +131756,7 @@ pub struct GetTransactionResponse {
#[prost(message, optional, tag="1")]
pub transaction: ::core::option::Option<Transaction>,
#[prost(message, optional, tag="2")]
pub token_metadata: ::core::option::Option<SlpTokenMetadata>,
pub token_metadata: ::core::option::Option<SlpNftMetadata>,
}
/// Get an encoded transaction from a transaction hash.
#[derive(Clone, PartialEq, ::prost::Message)]
Expand Down Expand Up @@ -131898,7 +131898,7 @@ pub struct GetAddressUnspentOutputsResponse {
#[prost(message, repeated, tag="1")]
pub outputs: ::prost::alloc::vec::Vec<UnspentOutput>,
#[prost(message, repeated, tag="2")]
pub token_metadata: ::prost::alloc::vec::Vec<SlpTokenMetadata>,
pub token_metadata: ::prost::alloc::vec::Vec<SlpNftMetadata>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetUnspentOutputRequest {
Expand Down Expand Up @@ -131936,7 +131936,7 @@ pub struct GetUnspentOutputResponse {
#[prost(message, optional, tag="6")]
pub slp_token: ::core::option::Option<SlpToken>,
#[prost(message, optional, tag="7")]
pub token_metadata: ::core::option::Option<SlpTokenMetadata>,
pub token_metadata: ::core::option::Option<SlpNftMetadata>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMerkleProofRequest {
Expand Down Expand Up @@ -132068,14 +132068,14 @@ pub struct SubscribeBlocksRequest {
pub serialize_block: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetSlpTokenMetadataRequest {
pub struct GetSlpNftMetadataRequest {
#[prost(bytes="vec", repeated, tag="1")]
pub token_ids: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetSlpTokenMetadataResponse {
pub struct GetSlpNftMetadataResponse {
#[prost(message, repeated, tag="1")]
pub token_metadata: ::prost::alloc::vec::Vec<SlpTokenMetadata>,
pub token_metadata: ::prost::alloc::vec::Vec<SlpNftMetadata>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetSlpParsedScriptRequest {
Expand Down Expand Up @@ -132628,17 +132628,17 @@ pub struct SlpV1Nft1ChildSendMetadata {
#[prost(bytes="vec", tag="1")]
pub group_token_id: ::prost::alloc::vec::Vec<u8>,
}
/// SlpTokenMetadata is used to marshal metadata about a specific TokenID
/// SlpNftMetadata is used to marshal metadata about a specific TokenID
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SlpTokenMetadata {
pub struct SlpNftMetadata {
#[prost(bytes="vec", tag="1")]
pub token_id: ::prost::alloc::vec::Vec<u8>,
#[prost(enumeration="SlpTokenType", tag="2")]
pub token_type: i32,
#[prost(oneof="slp_token_metadata::TypeMetadata", tags="3, 4, 5")]
pub type_metadata: ::core::option::Option<slp_token_metadata::TypeMetadata>,
}
/// Nested message and enum types in `SlpTokenMetadata`.
/// Nested message and enum types in `SlpNftMetadata`.
pub mod slp_token_metadata {
/// V1Fungible is used to marshal metadata specific to Type 1 token IDs
#[derive(Clone, PartialEq, ::prost::Message)]
Expand Down
Loading

0 comments on commit 5fa3529

Please sign in to comment.