Skip to content

Commit 5be0148

Browse files
JFWooten4codex
andcommitted
📝 Modernize MDX heading IDs
Co-authored-by: Codex <noreply@openai.com>
1 parent f4f17fc commit 5be0148

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

  • docs/learn/fundamentals/stellar-data-structures/ledgers

docs/learn/fundamentals/stellar-data-structures/ledgers/entries.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,70 +17,70 @@ Each `LedgerKey` contains only the fields needed to identify its entry. Those id
1717

1818
The descriptions below summarize the linked conceptual documentation. The protocol XDR definitions of [`LedgerKey`](https://github.com/stellar/stellar-xdr/blob/v27.0/Stellar-ledger-entries.x#L588-L651) and [`LedgerEntry`](https://github.com/stellar/stellar-xdr/blob/v27.0/Stellar-ledger-entries.x#L548-L586) are the source of truth for the exact fields and types.
1919

20-
### 1. Account {#account}
20+
### 1. Account {/* #account */}
2121

2222
The `AccountEntry` holistically defines a Stellar account, including its balance, sequence number, thresholds, signers, and flags. Learn more in the [Accounts section](../accounts.mdx).
2323

2424
- **Key:** Identified by `AccountID`
2525
- **Entry:** Full account record including balance, sequence number, thresholds, flags, home domain, and list of signers. Tracks [subentries](../accounts.mdx#subentries) that drive the minimum balance requirement.
2626

27-
### 2. Trustline {#trustline}
27+
### 2. Trustline {/* #trustline */}
2828

2929
The `TrustLineEntry` defines a balance line to a non-native asset issued on the network. It is created and updated via [`changeTrustOp`](../../transactions/list-of-operations.mdx#change-trust). Learn more in the [Trustlines section](../accounts.mdx#trustlines).
3030

3131
- **Key:** `(AccountID, asset)`
3232
- **Entry:** Trustline state for a non-native asset. Stores the asset balance, limit, authorization flags, and trading liability counters.
3333

34-
### 3. Offer {#offer}
34+
### 3. Offer {/* #offer */}
3535

3636
The `OfferEntry` represents an offer made on the SDEX order book. Learn more in the [orderbooks DEX section](../../liquidity-on-stellar-sdex-liquidity-pools.mdx#orderbook).
3737

3838
- **Key:** `(sellerID, offerID)`
3939
- **Entry:** A single offer on the DEX. Contains the selling and buying assets, amount, price, and [passive](../../liquidity-on-stellar-sdex-liquidity-pools.mdx#passive-offer) flags.
4040

41-
### 4. Account Data {#account-data}
41+
### 4. Account Data {/* #account-data */}
4242

4343
A `DataEntry` stores key-value data entries attached to an account. It is used through the [`manageDataOp`](../../transactions/list-of-operations.mdx#manage-data).
4444

4545
- **Key:** `(accountID, dataName)`
4646
- **Entry:** Arbitrary key-value pair (`DataValue`) attached to an account.
4747

48-
### 5. Claimable Balance {#claimable-balance}
48+
### 5. Claimable Balance {/* #claimable-balance */}
4949

5050
The `ClaimableBalanceEntry` tracks a balance that may or may not actively be claimable. Learn more in the [Claimable Balances section](../../../../build/guides/transactions/claimable-balances.mdx).
5151

5252
- **Key:** `balanceID`
5353
- **Entry:** Tracks the asset, amount, claimants, [predicates](../../../../build/guides/transactions/claimable-balances.mdx#other-parameters), and optional flags.
5454

55-
### 6. Liquidity Pool {#liquidity-pool}
55+
### 6. Liquidity Pool {/* #liquidity-pool */}
5656

5757
The `LiquidityPoolEntry` defines the configuration of a constant-product liquidity pool between two assets. Learn more in the [liquidity pools section](../../liquidity-on-stellar-sdex-liquidity-pools.mdx#liquidity-pools).
5858

5959
- **Key:** `liquidityPoolID`
6060
- **Entry:** Holds pool parameters (two assets, fee rate), reserves, total pool shares, and a pool's trustline count (to prevent entry scanning).
6161

62-
### 7. Contract Data {#contract-data}
62+
### 7. Contract Data {/* #contract-data */}
6363

6464
`ContractDataEntry` stores a piece of data under a contract-defined key. Learn more in the [Persisting Contract Data section](../../contract-development/storage/persisting-data.mdx#ledger-entries).
6565

6666
- **Key:** `(contract, key, durability)`
6767
- **Entry:** Stores the `SCVal` value associated with that key under the contract. Used for Soroban data storage alongside keys.
6868

69-
### 8. Contract Code {#contract-code}
69+
### 8. Contract Code {/* #contract-code */}
7070

7171
The `ContractCodeEntry` contains the Wasm bytecode of a Soroban contract. Learn more in the [Smart Contracts Overview section](../../../../build/smart-contracts/overview.mdx).
7272

7373
- **Key:** `hash` of the Wasm module.
7474
- **Entry:** Contains the Wasm bytecode and associated cost inputs to deploy or invoke contracts. [Fee metadata](../../fees-resource-limits-metering.mdx#resource-fee) takes into account component factors like number of instructions, functions, and variables.
7575

76-
### 9. Config Setting {#config-setting}
76+
### 9. Config Setting {/* #config-setting */}
7777

7878
The `ConfigSettingEntry` holds governed network configuration values for over a dozen rules. Learn more in the [Soroban Settings section](../../../../validators/admin-guide/soroban-settings.mdx).
7979

8080
- **Key:** `configSettingID` (index of setting [in list](https://github.com/stellar/stellar-xdr/blob/v27.0/Stellar-contract-config-setting.x#L373-L396))
8181
- **Entry:** Active value of a network-level parameter (e.g., protocol limits, compute fees, state archival). The whole validator quorum set has to agree on these values.
8282

83-
### 10. TTL {#ttl}
83+
### 10. TTL {/* #ttl */}
8484

8585
The `TTLEntry` defines the time-to-live of an associated contract data or code entry. Learn more in the [State archival section](../../contract-development/storage/state-archival.mdx#ttl).
8686

0 commit comments

Comments
 (0)