Skip to content

Commit 90f9dce

Browse files
committed
respond to comments
1 parent c675786 commit 90f9dce

File tree

1 file changed

+6
-4
lines changed
  • XLS-0068-sponsored-fees-and-reserves

1 file changed

+6
-4
lines changed

XLS-0068-sponsored-fees-and-reserves/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ This ensures that there can be at most one `Sponsorship` object per sponsor-spon
190190
| Field Name | Constant? | Required? | Default Value | JSON Type | Internal Type | Description |
191191
| ------------------- | --------- | --------- | ------------- | --------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
192192
| `LedgerEntryType` | ✔️ | ✔️ | N/A | `string` | `UInt16` | The value `"Sponsorship"` (JSON) or a unique numeric value (internal, assigned during implementation) indicates this is a `Sponsorship` ledger object. |
193+
| `Flags` | | | `0` | `number` | `UInt32` | A bit-map of boolean flags enabled for this object. |
193194
| `Owner` | ✔️ | ✔️ | N/A | `string` | `AccountID` | The sponsor associated with this relationship. This account also pays for the reserve of this object. |
194195
| `Sponsee` | ✔️ | ✔️ | N/A | `string` | `AccountID` | The sponsee associated with this relationship. |
195196
| `FeeAmount` | | | `0` | `string` | `Amount` | The (remaining) amount of XRP that the sponsor has provided for the sponsee to use for fees. |
@@ -204,10 +205,10 @@ This ensures that there can be at most one `Sponsorship` object per sponsor-spon
204205

205206
There are two flags on this object:
206207

207-
| Flag Name | Flag Value | Modifiable? | Description |
208-
| ------------------------------------- | ------------ | ----------- | ----------------------------------------------------------------------------------------------------------- |
209-
| `lsfSponsorshipRequireSignForFee` | `0x00010000` | Yes | If set, indicates that every use of this sponsor for sponsoring fees requires a signature from the sponsor. |
210-
| `lsfSponsorshipRequireSignForReserve` | `0x00020000` | Yes | If set, indicates that every use of this sponsor for sponsoring fees requires a signature from the sponsor. |
208+
| Flag Name | Flag Value | Modifiable? | Description |
209+
| ------------------------------------- | ------------ | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
210+
| `lsfSponsorshipRequireSignForFee` | `0x00010000` | Yes | If set, indicates that every use of this sponsor for sponsoring fees requires a signature from the sponsor. If unset, no signature is necessary (the existence of the `Sponsorship` object is sufficient). |
211+
| `lsfSponsorshipRequireSignForReserve` | `0x00020000` | Yes | If set, indicates that every use of this sponsor for sponsoring reserves requires a signature from the sponsor. If unset, no signature is necessary (the existence of the `Sponsorship` object is sufficient). |
211212

212213
### 5.4. Ownership
213214

@@ -355,6 +356,7 @@ The following invariants must hold for `AccountRoot` objects with sponsorship fi
355356
- `SponsoredOwnerCount <= OwnerCount` (cannot have more sponsored objects than total owned objects)
356357
- If `Sponsor` is present, it must be a valid `AccountID` that exists on the ledger
357358
- The reserve calculation must always result in a non-negative value
359+
- The `Sponsor`'s `SponsoringAccountCount` must be greater than 0
358360

359361
**Global Invariant (referenced in section 18.2):**
360362

0 commit comments

Comments
 (0)