Ed Hennis
37f365a053
Start implementing LoanPay transaction
2025-05-07 18:01:59 -04:00
Ed Hennis
ba63f8d99f
Implement LoanDraw, and made good progress on related tests
2025-05-07 12:31:04 -04:00
Ed Hennis
9a86602417
Implement LoanDelete, and fix a bunch of math errors in LoanManage
2025-05-07 12:31:03 -04:00
Ed Hennis
ef2a0edc67
Start implementing LoanManage transaction (untested)
...
- Also add a ValidLoan invariant
2025-05-07 12:31:02 -04:00
Ed Hennis
89f0b3b9e4
[WIP] Continue implementing LoanSet Transactor
...
- Needs tests
- Started trying to add strong typing to the fields used as bips or 1/10
bips.
2025-05-07 12:11:54 -04:00
Ed Hennis
5bed1d94e6
[WIP] Start implementing LoanSet transactor
...
- Add some more values and functions to make it easier to work with
basis point values / bips.
- Fix several earlier mistakes.
2025-05-07 12:11:54 -04:00
Ed Hennis
327d576d7e
Move inclusion of Transactor headers to transactions.macro
...
- Only need to update in one place when adding a new transaction.
2025-05-07 12:11:53 -04:00
Ed Hennis
1bb1992cf0
Add LoanBrokerCoverWithdraw transaction
...
- Untested
2025-05-07 12:11:52 -04:00
Ed Hennis
ffbc068dc8
Add LoanBrokerCoverDeposit transaction
...
- Untested. Will need Withdraw to do a good test.
2025-05-07 12:11:52 -04:00
Ed Hennis
da10ba6fd0
Start adding tests for LoanBrokerDelete
...
- Start fixing the inevitable problems found along the way
- Generalize the LoanBroker lifecycle test
2025-05-07 12:11:51 -04:00
Ed Hennis
ed27377435
Add a validity range for sfDebtMaximum
...
- Fix several test and build errors
2025-05-07 12:11:50 -04:00
Ed Hennis
1bbe5383ca
Reserve a few values between Vault and Lending for future use
...
- Ledger objects and transactions
2025-05-07 12:11:49 -04:00
Ed Hennis
33e666bfff
Enumerate transaction privileges for invariants
...
- Allows them to be defined in transactions.macro instead of needing to
scrutinize every existing Invariant class.
- List is not necessarily comprehensive, but does cover every check
where more than one transaction type is involved.
2025-05-07 12:11:49 -04:00
Ed Hennis
3b59817952
Generalize some of the Invariant checks using macro files
...
- Valid ledger entry type
- Valid new account root and pseudo account check
2025-05-07 12:11:49 -04:00
Ed Hennis
24374c548b
[WIP] Define remaining transactions, start implementing LoanBrokerSet
...
- Does not build
- Transactions: LoanDelete, LoanManage, LoanDraw, LoanPay
- LoanBrokerSet creation mostly done. Need update.
- Also added a lookup table for pseudo account fields.
2025-05-07 12:11:47 -04:00
Ed Hennis
34f7bc7502
refactor: Check transaction flags in preflight0
...
- Adds a flagMask parameter to preflight1 so that it's impossible to
forget to check flags.
- Also adds a short hash prefix to all Transactor log messages.
2025-05-07 12:11:46 -04:00
Ed Hennis
319e7a6bcb
Start adding transaction layouts, flags, and fields
...
(Does not compile)
2025-05-07 12:11:46 -04:00
Bronek Kozicki
0636d4695d
Rename sfAsset... fields to sfAssets...
2025-03-26 19:19:30 +00:00
Bronek Kozicki
3883bafd52
Update transactions.macro comment for ttVAULT_CLAWBACK
2025-03-26 12:29:56 +00:00
Bronek Kozicki
1756fa7d08
Switch sfAmount in VaultClawback from defaulted to optional
2025-03-06 13:55:07 +00:00
Bronek Kozicki
a0632a0cb3
Add WithdrawalPolicy
2025-02-25 19:11:04 +00:00
Bronek Kozicki
580a85f2c8
WIP support adding domainID in VaultSet
2025-01-21 13:38:57 +00:00
Bronek Kozicki
dbaa12aa1c
WIP permissioned domain support
2025-01-17 19:16:09 +00:00
Bronek Kozicki
8d5cfb910a
Merge branch 'develop' into vault
2025-01-13 16:26:51 +00:00
Olek
ccc0889803
Permissioned Domains (XLS-80d) ( #5161 )
2025-01-10 12:44:14 -05:00
tequ
58af62f388
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.
2025-01-09 11:22:11 -05:00
John Freeman
ad581661e3
wip clawback
2024-12-17 11:11:05 +00:00
John Freeman
b5619fbcd6
bless sfAsset to carry MPT
2024-12-17 11:11:00 +00:00
John Freeman
ff8c6491d7
Start vault implementation
2024-12-17 11:10:36 +00:00
Olek
8e827e32ac
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
2024-11-06 17:05:03 -05:00
yinyiqian1
54a350be79
Add AMMClawback Transaction (XLS-0073d) ( #5142 )
...
Amendment:
- AMMClawback
New Transactions:
- AMMClawback
Modified Transactions:
- AMMCreate
- AMMDeposit
2024-11-04 15:27:57 -05:00
Gregory Tsipenyuk
23c37fa506
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 >
2024-10-29 15:19:28 -04:00
John Freeman
63209c2646
Consolidate definitions of fields, objects, transactions, and features ( #5122 )
2024-10-16 14:02:29 -05:00