Richard Holland
51f8a9c9ac
init
2026-06-21 13:35:55 +10:00
Richard Holland
639ea34377
Fixhookmap ( #756 )
2026-06-16 17:06:25 +10:00
tequ
607a7fdf98
Change AMM to Supported::no ( #758 )
2026-06-16 13:56:58 +10:00
tequ
b9e0c56def
Guard depth 32 ( #653 )
2026-05-25 11:10:49 +10:00
tequ
663ed4edb8
Named Hook ( #718 )
2026-05-19 12:00:25 +10:00
tequ
5e8d26f67a
refactor: Calculate numFeatures automatically ( #5324 ) ( #739 )
...
Co-authored-by: Ed Hennis <ed@ripple.com >
2026-04-30 18:17:50 +10:00
tequ
a6186d7855
IOURewardClaim ( #500 )
2026-04-30 15:27:51 +10:00
tequ
49fd0c33b5
fixIOULockedBalanceInvariant Amendment ( #732 )
2026-04-29 17:05:18 +10:00
tequ
55710c4baf
Disallow setting a AMM account as Issuer/Destination/Inform ( #709 )
2026-04-29 11:00:25 +10:00
tequ
d3d24f781b
Merge fixAMMClawbackRounding amendment into featureAMMClawback amendment
2026-04-28 18:23:31 +10:00
yinyiqian1
131d659032
fixAMMClawbackRounding: adjust last holder's LPToken balance ( #5513 )
...
Due to rounding, the LPTokenBalance of the last LP might not match the LP's trustline balance. This was fixed for `AMMWithdraw` in `fixAMMv1_1` by adjusting the LPTokenBalance to be the same as the trustline balance. Since `AMMClawback` is also performing a withdrawal, we need to adjust LPTokenBalance as well in `AMMClawback.`
This change includes:
1. Refactored `verifyAndAdjustLPTokenBalance` function in `AMMUtils`, which both`AMMWithdraw` and `AMMClawback` call to adjust LPTokenBalance.
2. Added the unit test `testLastHolderLPTokenBalance` to test the scenario.
3. Modify the existing unit tests for `fixAMMClawbackRounding`.
2026-04-28 18:23:31 +10:00
tequ
503dee619a
Merge fixAMMv1_3 amendment into featureAMM amendment
2026-04-28 18:23:31 +10:00
Gregory Tsipenyuk
1703d96a48
fix: Add AMMv1_3 amendment ( #5203 )
...
* Add AMM bid/create/deposit/swap/withdraw/vote invariants:
- Deposit, Withdrawal invariants: `sqrt(asset1Balance * asset2Balance) >= LPTokens`.
- Bid: `sqrt(asset1Balance * asset2Balance) > LPTokens` and the pool balances don't change.
- Create: `sqrt(asset1Balance * assetBalance2) == LPTokens`.
- Swap: `asset1BalanceAfter * asset2BalanceAfter >= asset1BalanceBefore * asset2BalanceBefore`
and `LPTokens` don't change.
- Vote: `LPTokens` and pool balances don't change.
- All AMM and swap transactions: amounts and tokens are greater than zero, except on withdrawal if all tokens
are withdrawn.
* Add AMM deposit and withdraw rounding to ensure AMM invariant:
- On deposit, tokens out are rounded downward and deposit amount is rounded upward.
- On withdrawal, tokens in are rounded upward and withdrawal amount is rounded downward.
* Add Order Book Offer invariant to verify consumed amounts. Consumed amounts are less than the offer.
* Fix Bid validation. `AuthAccount` can't have duplicate accounts or the submitter account.
2026-04-28 18:23:31 +10:00
Nicholas Dudfield
fff46e3dd0
chore: clang-format
2026-02-20 08:22:49 +09:00
tequ
57c4e3c9cc
Support new STIs for sto_* HookAPI ( #657 )
2026-02-20 08:18:45 +09:00
tequ
73f14374b4
VoteBehavior::DefaultYes for new fix Amendments
...
- NFToken related fix Amendments remains as `DefaultNo`.
2026-02-20 08:15:13 +09:00
tequ
05f0186572
Supported::No for featurePermissionedDomains
2026-02-20 08:10:52 +09:00
tequ
d4db9276c6
Supported::No for featureDynamicNFT
2026-02-20 08:10:51 +09:00
tequ
a6824770fc
Supported::No for featureCredentials
2026-02-20 08:10:50 +09:00
tequ
5678b8fbb1
Supported::No for featureMPTokensV1
2026-02-20 08:10:50 +09:00
tequ
bfeef7fd91
Supported::No for featureNFTokenMintOffer
2026-02-20 08:10:49 +09:00
tequ
b78c4abece
Supported::No for featureDID
2026-02-20 08:10:49 +09:00
tequ
a9d1f2aa69
Supported::No for featureXChainBridge
2026-02-20 08:10:48 +09:00
tequ
3540148941
Combine AMM Amendments ( #521 )
...
* fixAMMv1_2
* fixAMMv1_1
* fixAMMOverflowOffer
* fixLPTokenTransfer
* suppress AMM test logs
* exclude `ltAMM` from `fixPreviousTxnID` Amendment
- make `sfPreviousTxnID` and `sfPreviousTxnLgrSeq` required for ltAMM
2026-02-20 08:10:43 +09:00
tequ
8ec0e9bb22
Combine XChainBridge Amendments ( #523 )
2026-02-20 08:10:05 +09:00
tequ
7bfa595c6c
Combine fixInnerObjTemplate Amendments ( #524 )
2026-02-20 08:10:05 +09:00
tequ
293266519d
Combine DID Amendments ( #522 )
...
fixEmptyDID -> featureDID
2026-02-20 08:09:58 +09:00
Olek
a9b36e1a40
fix: Switch Permissioned Domain to Supported::yes ( #5287 )
...
Switch Permissioned Domain feature's supported flag from Supported::no to Supported::yes for it to be votable.
2026-02-20 08:09:54 +09:00
Shawn Xie
923b91c883
Amendment fixFrozenLPTokenTransfer ( #5227 )
...
Prohibits LPToken holders from sending LPToken to others if they have been frozen by one of the assets in AMM pool.
2026-02-20 08:09:45 +09:00
Olek
959f7cd21c
Permissioned Domains (XLS-80d) ( #5161 )
2026-02-20 08:09:34 +09:00
tequ
9c17813764
XLS-46: DynamicNFT ( #5048 )
...
This Amendment adds functionality to update the URI of NFToken objects as described in the XLS-46d: Dynamic Non Fungible Tokens (dNFTs) spec.
2026-02-20 08:05:50 +09:00
Olek
2867b6eac5
Introduce Credentials support (XLS-70d): ( #5103 )
...
Amendment:
- Credentials
New Transactions:
- CredentialCreate
- CredentialAccept
- CredentialDelete
Modified Transactions:
- DepositPreauth
- Payment
- EscrowFinish
- PaymentChannelClaim
- AccountDelete
New Object:
- Credential
Modified Object:
- DepositPreauth
API updates:
- ledger_entry
- account_objects
- ledger_data
- deposit_authorized
Read full spec: https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0070d-credentials
2026-02-20 07:56:21 +09:00
Gregory Tsipenyuk
6eddc7095b
Add fixAMMv1_2 amendment ( #5176 )
...
* Add reserve check on AMM Withdraw
* Try AMM max offer if changeSpotPriceQuality() fails
2026-02-20 07:51:01 +09:00
yinyiqian1
05ca77b23c
Add AMMClawback Transaction (XLS-0073d) ( #5142 )
...
Amendment:
- AMMClawback
New Transactions:
- AMMClawback
Modified Transactions:
- AMMCreate
- AMMDeposit
2026-02-20 07:50:19 +09:00
Gregory Tsipenyuk
0cd8805e36
Introduce MPT support (XLS-33d): ( #5143 )
...
Amendment:
- MPTokensV1
New Transactions:
- MPTokenIssuanceCreate
- MPTokenIssuanceDestroy
- MPTokenIssuanceSet
- MPTokenAuthorize
Modified Transactions:
- Payment
- Clawback
New Objects:
- MPTokenIssuance
- MPToken
API updates:
- ledger_entry
- account_objects
- ledger_data
Other:
- Add += and -= operators to ValueProxy
Read full spec: https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0033d-multi-purpose-tokens
---------
Co-authored-by: Shawn Xie <shawnxie920@gmail.com >
Co-authored-by: Howard Hinnant <howard.hinnant@gmail.com >
Co-authored-by: Ed Hennis <ed@ripple.com >
Co-authored-by: John Freeman <jfreeman08@gmail.com >
2026-02-20 07:45:19 +09:00
John Freeman
019940e907
Consolidate definitions of fields, objects, transactions, and features ( #5122 )
2026-02-20 07:37:27 +09:00