Skip to content

Commit

Permalink
update definitions and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
khancode committed Feb 5, 2025
1 parent 991a1d2 commit 8ec7898
Show file tree
Hide file tree
Showing 5 changed files with 5,915 additions and 19 deletions.
3 changes: 3 additions & 0 deletions packages/ripple-binary-codec/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

### Added
* Support for the AMMClawback amendment (XLS-73)

## 2.2.0 (2024-12-23)

### Added
Expand Down
145 changes: 145 additions & 0 deletions packages/ripple-binary-codec/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 54 additions & 19 deletions packages/ripple-binary-codec/src/enums/definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,20 +913,20 @@
[
"IssuerNode",
{
"nth": 27,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": false,
"nth": 27,
"type": "UInt64"
}
],
[
"SubjectNode",
{
"nth": 28,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": false,
"nth": 28,
"type": "UInt64"
}
],
Expand Down Expand Up @@ -1250,6 +1250,16 @@
"type": "Hash256"
}
],
[
"DomainID",
{
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": false,
"nth": 34,
"type": "Hash256"
}
],
[
"hash",
{
Expand Down Expand Up @@ -1833,10 +1843,10 @@
[
"CredentialType",
{
"nth": 31,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": true,
"nth": 31,
"type": "Blob"
}
],
Expand Down Expand Up @@ -2013,13 +2023,23 @@
[
"Subject",
{
"nth": 24,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": true,
"nth": 24,
"type": "AccountID"
}
],
[
"Number",
{
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": false,
"nth": 1,
"type": "Number"
}
],
[
"TransactionMetaData",
{
Expand Down Expand Up @@ -2313,10 +2333,10 @@
[
"Credential",
{
"nth": 33,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": false,
"nth": 33,
"type": "STObject"
}
],
Expand Down Expand Up @@ -2513,20 +2533,30 @@
[
"AuthorizeCredentials",
{
"nth": 26,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": false,
"nth": 26,
"type": "STArray"
}
],
[
"UnauthorizeCredentials",
{
"nth": 27,
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": false,
"nth": 27,
"type": "STArray"
}
],
[
"AcceptedCredentials",
{
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": false,
"nth": 28,
"type": "STArray"
}
],
Expand Down Expand Up @@ -2713,10 +2743,10 @@
[
"CredentialIDs",
{
"nth": 5,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"isVLEncoded": true,
"nth": 5,
"type": "Vector256"
}
],
Expand Down Expand Up @@ -2847,6 +2877,7 @@
"Amendments": 102,
"Bridge": 105,
"Check": 67,
"Credential": 129,
"DID": 73,
"DepositPreauth": 112,
"DirectoryNode": 100,
Expand All @@ -2861,8 +2892,8 @@
"NegativeUNL": 78,
"Offer": 111,
"Oracle": 128,
"Credential": 129,
"PayChannel": 120,
"PermissionedDomain": 130,
"RippleState": 114,
"SignerList": 83,
"Ticket": 84,
Expand Down Expand Up @@ -3053,6 +3084,7 @@
},
"TRANSACTION_TYPES": {
"AMMBid": 39,
"AMMClawback": 31,
"AMMCreate": 35,
"AMMDelete": 40,
"AMMDeposit": 36,
Expand All @@ -3064,8 +3096,8 @@
"CheckCash": 17,
"CheckCreate": 16,
"Clawback": 30,
"CredentialCreate": 58,
"CredentialAccept": 59,
"CredentialCreate": 58,
"CredentialDelete": 60,
"DIDDelete": 50,
"DIDSet": 49,
Expand Down Expand Up @@ -3094,6 +3126,8 @@
"PaymentChannelClaim": 15,
"PaymentChannelCreate": 13,
"PaymentChannelFund": 14,
"PermissionedDomainDelete": 63,
"PermissionedDomainSet": 62,
"SetFee": 101,
"SetRegularKey": 5,
"SignerListSet": 12,
Expand All @@ -3119,18 +3153,19 @@
"Hash160": 17,
"Hash192": 21,
"Hash256": 5,
"Hash384": 22,
"Hash512": 23,
"Issue": 24,
"LedgerEntry": 10002,
"Metadata": 10004,
"NotPresent": 0,
"Number": 9,
"PathSet": 18,
"STArray": 15,
"STObject": 14,
"Transaction": 10001,
"UInt16": 1,
"UInt32": 2,
"UInt384": 22,
"UInt512": 23,
"UInt64": 3,
"UInt8": 16,
"UInt96": 20,
Expand Down
1 change: 1 addition & 0 deletions packages/xrpl/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
## Unreleased

### Added
* Support for the AMMClawback amendment (XLS-73)
* Adds utility function `convertTxFlagsToNumber`

### Changed
Expand Down
Loading

0 comments on commit 8ec7898

Please sign in to comment.