Skip to content

Add XLS-0082-mpt-dex#451

Open
gregtatcam wants to merge 43 commits intoXRPLF:masterfrom
gregtatcam:master
Open

Add XLS-0082-mpt-dex#451
gregtatcam wants to merge 43 commits intoXRPLF:masterfrom
gregtatcam:master

Conversation

@gregtatcam
Copy link
Collaborator

@gregtatcam gregtatcam commented Feb 5, 2026

This proposal introduces a new amendment MPTVersion2 as an extension to XLS-33 Multi-Purpose Tokens. MPTVersion2 amendment enables Multi-purpose token (MPT) support on the XRPL DEX.

gregtatcam and others added 29 commits September 28, 2023 10:36
Co-authored-by: David Fuelling <sappenin@gmail.com>
Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
* Rename SymbolClass
* Rename SymbolPrice
* Rename CURRENCY type
* Rename Set/DeleteOracle transaction
* Add appendix to describe STI_ASSET_TYPE
* Change LastUpdateTime to Unix Time
* Change average to mean
* Add XRP to supported in STI_CURRENCY
* Fix typos
* Remove references to OracleID
* Correct validation for URI and Provider to 32 bytes
* Update OracleSet description
* Reformat transactions and API sections to one table followed by description
* Move JSON examples in transactions and API sections before the tables
Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
* Store LastUpdateTime as Unix Time
* Add comment for decoded hex value
* Remove TBD for tx int value
* Update ledger_entry JSON request
@kennyzlei kennyzlei requested a review from shawnxie999 February 5, 2026 16:33
@kennyzlei kennyzlei requested a review from mvadari February 6, 2026 21:37
Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
Copy link
Collaborator

@mvadari mvadari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the format listed out in the templates.

@mvadari mvadari mentioned this pull request Feb 6, 2026
1 task
gregtatcam and others added 5 commits February 11, 2026 10:45
Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
@gregtatcam gregtatcam requested a review from mvadari February 11, 2026 17:41
<pre>
xls: 82
title: MPT Integration into DEX
description: Adds Multi-purpose token support for XRPL DEX
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
description: Adds Multi-purpose token support for XRPL DEX
description: Adds Multi-Purpose Token (MPT) support for XRPL DEX


### 2.3. State Changes

On success `AMMCreate` creates and authorizes `MPToken` object for each MPT token for AMM pseudo-account.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
On success `AMMCreate` creates and authorizes `MPToken` object for each MPT token for AMM pseudo-account.
On success `AMMCreate` creates and authorizes an `MPToken` object for each MPT token for the AMM pseudo-account.

Any transaction with MPT `Amount` or `Asset` have to use JSON format as described above. For any transaction, which uses MPT token, the token has to be created first by an issuer with `MPTokenIssuanceCreate` transaction and in most cases, except for `AMMCreate`, `AMMWithdraw`, `AMMClawback`, `CheckCash`, and `OfferCreate`, the token has to be authorized by the holder account with `MPTokenAuthorize` transaction as described in [XLS-33d](../XLS-0033d-multi-purpose-tokens/README.md). `MPTokenAuthorize` creates `MPToken` object, owned by a holder account. In addition, `MPTokenIssuanceCreate` must have the following flags set:

- `lsfMPTCanTrade`, in order for individual holders to trade their balances using the XRP Ledger DEX or AMM.
- `lsfMPTCanTransfer`, in order for the tokens held by non-issuers to be transferred to other accounts.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create sections for each ledger entry that is modified. You only need to include the subsections that are changed/relevant to the modifications.


### 11.1. Request Fields

We do not introduce new fields.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you elaborate in the RPCs that while there are no new fields, there are new subfields?


# Appendix

## A: `STIssue` serialization
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be an SType section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants