mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-27 23:55:49 +00:00
Support Cron Amendment (#32)
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
"LEDGER_ENTRY_TYPES": {
|
||||
"Invalid": -1,
|
||||
"AccountRoot": 97,
|
||||
"Cron": 65,
|
||||
"DirectoryNode": 100,
|
||||
"RippleState": 114,
|
||||
"Ticket": 84,
|
||||
@@ -798,6 +799,26 @@
|
||||
"type": "UInt32"
|
||||
}
|
||||
],
|
||||
[
|
||||
"RepeatCount",
|
||||
{
|
||||
"nth": 94,
|
||||
"isVLEncoded": false,
|
||||
"isSerialized": true,
|
||||
"isSigningField": true,
|
||||
"type": "UInt32"
|
||||
}
|
||||
],
|
||||
[
|
||||
"DelaySeconds",
|
||||
{
|
||||
"nth": 95,
|
||||
"isVLEncoded": false,
|
||||
"isSerialized": true,
|
||||
"isSigningField": true,
|
||||
"type": "UInt32"
|
||||
}
|
||||
],
|
||||
[
|
||||
"XahauActivationLgrSeq",
|
||||
{
|
||||
@@ -1488,6 +1509,16 @@
|
||||
"type": "Hash256"
|
||||
}
|
||||
],
|
||||
[
|
||||
"Cron",
|
||||
{
|
||||
"nth": 95,
|
||||
"isVLEncoded": false,
|
||||
"isSerialized": true,
|
||||
"isSigningField": true,
|
||||
"type": "Hash256"
|
||||
}
|
||||
],
|
||||
[
|
||||
"Amount",
|
||||
{
|
||||
@@ -2835,6 +2866,8 @@
|
||||
"URITokenBuy": 47,
|
||||
"URITokenCreateSellOffer": 48,
|
||||
"URITokenCancelSellOffer": 49,
|
||||
"Cron": 92,
|
||||
"CronSet": 93,
|
||||
"SetRemarks": 94,
|
||||
"Remit": 95,
|
||||
"GenesisMint": 96,
|
||||
|
||||
@@ -74,7 +74,13 @@ class XrplDefinitionsBase {
|
||||
.filter(([_key, value]) => value >= 0)
|
||||
.map(([key, _value]) => key)
|
||||
|
||||
const ignoreList = ['EnableAmendment', 'SetFee', 'UNLModify', 'EmitFailure']
|
||||
const ignoreList = [
|
||||
'EnableAmendment',
|
||||
'SetFee',
|
||||
'UNLModify',
|
||||
'EmitFailure',
|
||||
'Cron',
|
||||
]
|
||||
this.transactionMap = Object.assign(
|
||||
{},
|
||||
...Object.entries(enums.TRANSACTION_TYPES)
|
||||
|
||||
Reference in New Issue
Block a user