xrpl 2.6.0-beta.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/build/xrpl-latest-min.js +1 -1
  2. package/build/xrpl-latest-min.js.map +1 -1
  3. package/build/xrpl-latest.js +75 -932
  4. package/build/xrpl-latest.js.map +1 -1
  5. package/dist/npm/Wallet/defaultFaucets.d.ts +21 -0
  6. package/dist/npm/Wallet/defaultFaucets.d.ts.map +1 -0
  7. package/dist/npm/Wallet/defaultFaucets.js +47 -0
  8. package/dist/npm/Wallet/defaultFaucets.js.map +1 -0
  9. package/dist/npm/Wallet/fundWallet.d.ts +1 -11
  10. package/dist/npm/Wallet/fundWallet.d.ts.map +1 -1
  11. package/dist/npm/Wallet/fundWallet.js +15 -33
  12. package/dist/npm/Wallet/fundWallet.js.map +1 -1
  13. package/dist/npm/client/index.d.ts +1 -2
  14. package/dist/npm/client/index.d.ts.map +1 -1
  15. package/dist/npm/client/index.js.map +1 -1
  16. package/dist/npm/models/common/index.d.ts +2 -9
  17. package/dist/npm/models/common/index.d.ts.map +1 -1
  18. package/dist/npm/models/methods/index.d.ts +3 -4
  19. package/dist/npm/models/methods/index.d.ts.map +1 -1
  20. package/dist/npm/models/methods/ledgerEntry.d.ts +1 -21
  21. package/dist/npm/models/methods/ledgerEntry.d.ts.map +1 -1
  22. package/dist/npm/models/transactions/common.d.ts +1 -2
  23. package/dist/npm/models/transactions/common.d.ts.map +1 -1
  24. package/dist/npm/models/transactions/common.js +1 -12
  25. package/dist/npm/models/transactions/common.js.map +1 -1
  26. package/dist/npm/models/transactions/index.d.ts +0 -12
  27. package/dist/npm/models/transactions/index.d.ts.map +1 -1
  28. package/dist/npm/models/transactions/index.js +1 -5
  29. package/dist/npm/models/transactions/index.js.map +1 -1
  30. package/dist/npm/models/transactions/transaction.d.ts +1 -13
  31. package/dist/npm/models/transactions/transaction.d.ts.map +1 -1
  32. package/dist/npm/models/transactions/transaction.js +0 -48
  33. package/dist/npm/models/transactions/transaction.js.map +1 -1
  34. package/dist/npm/models/utils/flags.d.ts.map +1 -1
  35. package/dist/npm/models/utils/flags.js +0 -14
  36. package/dist/npm/models/utils/flags.js.map +1 -1
  37. package/package.json +3 -3
  38. package/dist/npm/models/methods/ammInfo.d.ts +0 -40
  39. package/dist/npm/models/methods/ammInfo.d.ts.map +0 -1
  40. package/dist/npm/models/methods/ammInfo.js +0 -3
  41. package/dist/npm/models/methods/ammInfo.js.map +0 -1
  42. package/dist/npm/models/transactions/AMMBid.d.ts +0 -18
  43. package/dist/npm/models/transactions/AMMBid.d.ts.map +0 -1
  44. package/dist/npm/models/transactions/AMMBid.js +0 -37
  45. package/dist/npm/models/transactions/AMMBid.js.map +0 -1
  46. package/dist/npm/models/transactions/AMMCreate.d.ts +0 -11
  47. package/dist/npm/models/transactions/AMMCreate.d.ts.map +0 -1
  48. package/dist/npm/models/transactions/AMMCreate.js +0 -32
  49. package/dist/npm/models/transactions/AMMCreate.js.map +0 -1
  50. package/dist/npm/models/transactions/AMMDeposit.d.ts +0 -27
  51. package/dist/npm/models/transactions/AMMDeposit.d.ts.map +0 -1
  52. package/dist/npm/models/transactions/AMMDeposit.js +0 -51
  53. package/dist/npm/models/transactions/AMMDeposit.js.map +0 -1
  54. package/dist/npm/models/transactions/AMMVote.d.ts +0 -10
  55. package/dist/npm/models/transactions/AMMVote.d.ts.map +0 -1
  56. package/dist/npm/models/transactions/AMMVote.js +0 -32
  57. package/dist/npm/models/transactions/AMMVote.js.map +0 -1
  58. package/dist/npm/models/transactions/AMMWithdraw.d.ts +0 -31
  59. package/dist/npm/models/transactions/AMMWithdraw.d.ts.map +0 -1
  60. package/dist/npm/models/transactions/AMMWithdraw.js +0 -50
  61. package/dist/npm/models/transactions/AMMWithdraw.js.map +0 -1
  62. package/dist/npm/models/transactions/XChainAccountCreateCommit.d.ts +0 -11
  63. package/dist/npm/models/transactions/XChainAccountCreateCommit.d.ts.map +0 -1
  64. package/dist/npm/models/transactions/XChainAccountCreateCommit.js +0 -22
  65. package/dist/npm/models/transactions/XChainAccountCreateCommit.js.map +0 -1
  66. package/dist/npm/models/transactions/XChainAddAttestation.d.ts +0 -34
  67. package/dist/npm/models/transactions/XChainAddAttestation.d.ts.map +0 -1
  68. package/dist/npm/models/transactions/XChainAddAttestation.js +0 -26
  69. package/dist/npm/models/transactions/XChainAddAttestation.js.map +0 -1
  70. package/dist/npm/models/transactions/XChainClaim.d.ts +0 -12
  71. package/dist/npm/models/transactions/XChainClaim.d.ts.map +0 -1
  72. package/dist/npm/models/transactions/XChainClaim.js +0 -22
  73. package/dist/npm/models/transactions/XChainClaim.js.map +0 -1
  74. package/dist/npm/models/transactions/XChainCommit.d.ts +0 -11
  75. package/dist/npm/models/transactions/XChainCommit.d.ts.map +0 -1
  76. package/dist/npm/models/transactions/XChainCommit.js +0 -19
  77. package/dist/npm/models/transactions/XChainCommit.js.map +0 -1
  78. package/dist/npm/models/transactions/XChainCreateBridge.d.ts +0 -10
  79. package/dist/npm/models/transactions/XChainCreateBridge.d.ts.map +0 -1
  80. package/dist/npm/models/transactions/XChainCreateBridge.js +0 -16
  81. package/dist/npm/models/transactions/XChainCreateBridge.js.map +0 -1
  82. package/dist/npm/models/transactions/XChainCreateClaimID.d.ts +0 -10
  83. package/dist/npm/models/transactions/XChainCreateClaimID.d.ts.map +0 -1
  84. package/dist/npm/models/transactions/XChainCreateClaimID.js +0 -19
  85. package/dist/npm/models/transactions/XChainCreateClaimID.js.map +0 -1
  86. package/dist/npm/models/transactions/XChainModifyBridge.d.ts +0 -10
  87. package/dist/npm/models/transactions/XChainModifyBridge.d.ts.map +0 -1
  88. package/dist/npm/models/transactions/XChainModifyBridge.js +0 -13
  89. package/dist/npm/models/transactions/XChainModifyBridge.js.map +0 -1
@@ -1,11 +0,0 @@
1
- import { Amount, XChainBridge } from '../common';
2
- import { BaseTransaction } from './common';
3
- export interface XChainAccountCreateCommit extends BaseTransaction {
4
- TransactionType: 'XChainAccountCreateCommit';
5
- XChainBridge: XChainBridge;
6
- SignatureReward: number | string;
7
- Destination: string;
8
- Amount: Amount;
9
- }
10
- export declare function validateXChainAccountCreateCommit(tx: Record<string, unknown>): void;
11
- //# sourceMappingURL=XChainAccountCreateCommit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainAccountCreateCommit.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAccountCreateCommit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EAAE,eAAe,EAA2B,MAAM,UAAU,CAAA;AAMnE,MAAM,WAAW,yBAA0B,SAAQ,eAAe;IAChE,eAAe,EAAE,2BAA2B,CAAA;IAE5C,YAAY,EAAE,YAAY,CAAA;IAE1B,eAAe,EAAE,MAAM,GAAG,MAAM,CAAA;IAEhC,WAAW,EAAE,MAAM,CAAA;IAEnB,MAAM,EAAE,MAAM,CAAA;CACf;AAQD,wBAAgB,iCAAiC,CAC/C,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC1B,IAAI,CAwBN"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateXChainAccountCreateCommit = void 0;
4
- const errors_1 = require("../../errors");
5
- const common_1 = require("./common");
6
- function validateXChainAccountCreateCommit(tx) {
7
- (0, common_1.validateBaseTransaction)(tx);
8
- if (tx.XChainBridge == null) {
9
- throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field XChainBridge');
10
- }
11
- if (tx.SignatureReward == null) {
12
- throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field SignatureReward');
13
- }
14
- if (tx.Destination == null) {
15
- throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field Destination');
16
- }
17
- if (tx.Amount == null) {
18
- throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field Amount');
19
- }
20
- }
21
- exports.validateXChainAccountCreateCommit = validateXChainAccountCreateCommit;
22
- //# sourceMappingURL=XChainAccountCreateCommit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainAccountCreateCommit.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAccountCreateCommit.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAAmE;AAwBnE,SAAgB,iCAAiC,CAC/C,EAA2B;IAE3B,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CACvB,uDAAuD,CACxD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,eAAe,IAAI,IAAI,EAAE;QAC9B,MAAM,IAAI,wBAAe,CACvB,0DAA0D,CAC3D,CAAA;KACF;IAED,IAAI,EAAE,CAAC,WAAW,IAAI,IAAI,EAAE;QAC1B,MAAM,IAAI,wBAAe,CACvB,sDAAsD,CACvD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;QACrB,MAAM,IAAI,wBAAe,CAAC,iDAAiD,CAAC,CAAA;KAC7E;AACH,CAAC;AA1BD,8EA0BC"}
@@ -1,34 +0,0 @@
1
- import { Amount, XChainBridge } from '../common';
2
- import { BaseTransaction } from './common';
3
- export interface XChainAddAttestation extends BaseTransaction {
4
- TransactionType: 'XChainAddAttestation';
5
- XChainAttestationBatch: {
6
- XChainBridge: XChainBridge;
7
- XChainClaimAttestationBatch: Array<{
8
- XChainClaimAttestationBatchElement: {
9
- Account: string;
10
- Amount: Amount;
11
- AttestationRewardAccount: string;
12
- Destination: string;
13
- PublicKey: string;
14
- Signature: string;
15
- WasLockingChainSend: 0 | 1;
16
- XChainClaimID: string;
17
- };
18
- }>;
19
- XChainCreateAccountAttestationBatch: Array<{
20
- XChainCreateAccountAttestationBatchElement: {
21
- Account: string;
22
- Amount: Amount;
23
- AttestationRewardAccount: string;
24
- Destination: string;
25
- PublicKey: string;
26
- Signature: string;
27
- WasLockingChainSend: 0 | 1;
28
- XChainAccountCreateCount: string;
29
- };
30
- }>;
31
- };
32
- }
33
- export declare function validateXChainAddAttestation(tx: Record<string, unknown>): void;
34
- //# sourceMappingURL=XChainAddAttestation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainAddAttestation.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAddAttestation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EAAE,eAAe,EAA2B,MAAM,UAAU,CAAA;AAMnE,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IAC3D,eAAe,EAAE,sBAAsB,CAAA;IAEvC,sBAAsB,EAAE;QACtB,YAAY,EAAE,YAAY,CAAA;QAE1B,2BAA2B,EAAE,KAAK,CAAC;YACjC,kCAAkC,EAAE;gBAClC,OAAO,EAAE,MAAM,CAAA;gBAEf,MAAM,EAAE,MAAM,CAAA;gBAEd,wBAAwB,EAAE,MAAM,CAAA;gBAEhC,WAAW,EAAE,MAAM,CAAA;gBAEnB,SAAS,EAAE,MAAM,CAAA;gBAEjB,SAAS,EAAE,MAAM,CAAA;gBAEjB,mBAAmB,EAAE,CAAC,GAAG,CAAC,CAAA;gBAE1B,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;SACF,CAAC,CAAA;QAEF,mCAAmC,EAAE,KAAK,CAAC;YACzC,0CAA0C,EAAE;gBAC1C,OAAO,EAAE,MAAM,CAAA;gBAEf,MAAM,EAAE,MAAM,CAAA;gBAEd,wBAAwB,EAAE,MAAM,CAAA;gBAEhC,WAAW,EAAE,MAAM,CAAA;gBAEnB,SAAS,EAAE,MAAM,CAAA;gBAEjB,SAAS,EAAE,MAAM,CAAA;gBAEjB,mBAAmB,EAAE,CAAC,GAAG,CAAC,CAAA;gBAE1B,wBAAwB,EAAE,MAAM,CAAA;aACjC,CAAA;SACF,CAAC,CAAA;KACH,CAAA;CACF;AAQD,wBAAgB,4BAA4B,CAC1C,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC1B,IAAI,CAmCN"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateXChainAddAttestation = void 0;
4
- const errors_1 = require("../../errors");
5
- const common_1 = require("./common");
6
- function validateXChainAddAttestation(tx) {
7
- (0, common_1.validateBaseTransaction)(tx);
8
- if (tx.XChainAttestationBatch == null) {
9
- throw new errors_1.ValidationError('XChainAddAttestation: missing field XChainAttestationBatch');
10
- }
11
- if (typeof tx.XChainAttestationBatch !== 'object') {
12
- throw new errors_1.ValidationError('XChainAddAttestation: XChainAttestationBatch must be an object');
13
- }
14
- const attestationBatch = tx.XChainAttestationBatch;
15
- if (attestationBatch.XChainBridge == null) {
16
- throw new errors_1.ValidationError('XChainAddAttestation: missing field XChainAttestationBatch.XChainBridge');
17
- }
18
- if (attestationBatch.XChainClaimAttestationBatch == null) {
19
- throw new errors_1.ValidationError('XChainAddAttestation: missing field XChainAttestationBatch.XChainClaimAttestationBatch');
20
- }
21
- if (attestationBatch.XChainCreateAccountAttestationBatch == null) {
22
- throw new errors_1.ValidationError('XChainAddAttestation: missing field XChainAttestationBatch.XChainCreateAccountAttestationBatch');
23
- }
24
- }
25
- exports.validateXChainAddAttestation = validateXChainAddAttestation;
26
- //# sourceMappingURL=XChainAddAttestation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainAddAttestation.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainAddAttestation.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAAmE;AA4DnE,SAAgB,4BAA4B,CAC1C,EAA2B;IAE3B,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,sBAAsB,IAAI,IAAI,EAAE;QACrC,MAAM,IAAI,wBAAe,CACvB,4DAA4D,CAC7D,CAAA;KACF;IAED,IAAI,OAAO,EAAE,CAAC,sBAAsB,KAAK,QAAQ,EAAE;QACjD,MAAM,IAAI,wBAAe,CACvB,gEAAgE,CACjE,CAAA;KACF;IAGD,MAAM,gBAAgB,GAAG,EAAE,CAAC,sBAAiD,CAAA;IAE7E,IAAI,gBAAgB,CAAC,YAAY,IAAI,IAAI,EAAE;QACzC,MAAM,IAAI,wBAAe,CACvB,yEAAyE,CAC1E,CAAA;KACF;IAED,IAAI,gBAAgB,CAAC,2BAA2B,IAAI,IAAI,EAAE;QACxD,MAAM,IAAI,wBAAe,CACvB,wFAAwF,CACzF,CAAA;KACF;IAED,IAAI,gBAAgB,CAAC,mCAAmC,IAAI,IAAI,EAAE;QAChE,MAAM,IAAI,wBAAe,CACvB,gGAAgG,CACjG,CAAA;KACF;AACH,CAAC;AArCD,oEAqCC"}
@@ -1,12 +0,0 @@
1
- import { Amount, XChainBridge } from '../common';
2
- import { BaseTransaction } from './common';
3
- export interface XChainClaim extends BaseTransaction {
4
- TransactionType: 'XChainClaim';
5
- XChainBridge: XChainBridge;
6
- XChainClaimID: number | string;
7
- Destination: string;
8
- DestinationTag?: number;
9
- Amount: Amount;
10
- }
11
- export declare function validateXChainClaim(tx: Record<string, unknown>): void;
12
- //# sourceMappingURL=XChainClaim.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainClaim.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainClaim.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EAAE,eAAe,EAA2B,MAAM,UAAU,CAAA;AAMnE,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,eAAe,EAAE,aAAa,CAAA;IAE9B,YAAY,EAAE,YAAY,CAAA;IAE1B,aAAa,EAAE,MAAM,GAAG,MAAM,CAAA;IAE9B,WAAW,EAAE,MAAM,CAAA;IAEnB,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB,MAAM,EAAE,MAAM,CAAA;CACf;AAQD,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAkBrE"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateXChainClaim = void 0;
4
- const errors_1 = require("../../errors");
5
- const common_1 = require("./common");
6
- function validateXChainClaim(tx) {
7
- (0, common_1.validateBaseTransaction)(tx);
8
- if (tx.XChainBridge == null) {
9
- throw new errors_1.ValidationError('XChainClaim: missing field XChainBridge');
10
- }
11
- if (tx.XChainClaimID == null) {
12
- throw new errors_1.ValidationError('XChainClaim: missing field XChainClaimID');
13
- }
14
- if (tx.Destination == null) {
15
- throw new errors_1.ValidationError('XChainClaim: missing field Destination');
16
- }
17
- if (tx.Amount == null) {
18
- throw new errors_1.ValidationError('XChainClaim: missing field Amount');
19
- }
20
- }
21
- exports.validateXChainClaim = validateXChainClaim;
22
- //# sourceMappingURL=XChainClaim.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainClaim.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainClaim.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAAmE;AA0BnE,SAAgB,mBAAmB,CAAC,EAA2B;IAC7D,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,yCAAyC,CAAC,CAAA;KACrE;IAED,IAAI,EAAE,CAAC,aAAa,IAAI,IAAI,EAAE;QAC5B,MAAM,IAAI,wBAAe,CAAC,0CAA0C,CAAC,CAAA;KACtE;IAED,IAAI,EAAE,CAAC,WAAW,IAAI,IAAI,EAAE;QAC1B,MAAM,IAAI,wBAAe,CAAC,wCAAwC,CAAC,CAAA;KACpE;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;QACrB,MAAM,IAAI,wBAAe,CAAC,mCAAmC,CAAC,CAAA;KAC/D;AACH,CAAC;AAlBD,kDAkBC"}
@@ -1,11 +0,0 @@
1
- import { Amount, XChainBridge } from '../common';
2
- import { BaseTransaction } from './common';
3
- export interface XChainCommit extends BaseTransaction {
4
- TransactionType: 'XChainCommit';
5
- XChainBridge: XChainBridge;
6
- XChainClaimID: number | string;
7
- OtherChainDestination?: string;
8
- Amount: Amount;
9
- }
10
- export declare function validateXChainCommit(tx: Record<string, unknown>): void;
11
- //# sourceMappingURL=XChainCommit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainCommit.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCommit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EAAE,eAAe,EAA2B,MAAM,UAAU,CAAA;AAMnE,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,eAAe,EAAE,cAAc,CAAA;IAE/B,YAAY,EAAE,YAAY,CAAA;IAE1B,aAAa,EAAE,MAAM,GAAG,MAAM,CAAA;IAE9B,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAE9B,MAAM,EAAE,MAAM,CAAA;CACf;AAQD,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CActE"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateXChainCommit = void 0;
4
- const errors_1 = require("../../errors");
5
- const common_1 = require("./common");
6
- function validateXChainCommit(tx) {
7
- (0, common_1.validateBaseTransaction)(tx);
8
- if (tx.XChainBridge == null) {
9
- throw new errors_1.ValidationError('XChainCommit: missing field XChainBridge');
10
- }
11
- if (tx.XChainClaimID == null) {
12
- throw new errors_1.ValidationError('XChainCommit: missing field XChainClaimID');
13
- }
14
- if (tx.Amount == null) {
15
- throw new errors_1.ValidationError('XChainCommit: missing field Amount');
16
- }
17
- }
18
- exports.validateXChainCommit = validateXChainCommit;
19
- //# sourceMappingURL=XChainCommit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainCommit.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCommit.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAAmE;AAwBnE,SAAgB,oBAAoB,CAAC,EAA2B;IAC9D,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,0CAA0C,CAAC,CAAA;KACtE;IAED,IAAI,EAAE,CAAC,aAAa,IAAI,IAAI,EAAE;QAC5B,MAAM,IAAI,wBAAe,CAAC,2CAA2C,CAAC,CAAA;KACvE;IAED,IAAI,EAAE,CAAC,MAAM,IAAI,IAAI,EAAE;QACrB,MAAM,IAAI,wBAAe,CAAC,oCAAoC,CAAC,CAAA;KAChE;AACH,CAAC;AAdD,oDAcC"}
@@ -1,10 +0,0 @@
1
- import { Amount, XChainBridge } from '../common';
2
- import { BaseTransaction } from './common';
3
- export interface XChainCreateBridge extends BaseTransaction {
4
- TransactionType: 'XChainCreateBridge';
5
- XChainBridge: XChainBridge;
6
- SignatureReward: Amount;
7
- MinAccountCreateAmount?: Amount;
8
- }
9
- export declare function validateXChainCreateBridge(tx: Record<string, unknown>): void;
10
- //# sourceMappingURL=XChainCreateBridge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainCreateBridge.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCreateBridge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EAAE,eAAe,EAA2B,MAAM,UAAU,CAAA;AAMnE,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACzD,eAAe,EAAE,oBAAoB,CAAA;IAErC,YAAY,EAAE,YAAY,CAAA;IAE1B,eAAe,EAAE,MAAM,CAAA;IAEvB,sBAAsB,CAAC,EAAE,MAAM,CAAA;CAChC;AAQD,wBAAgB,0BAA0B,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAY5E"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateXChainCreateBridge = void 0;
4
- const errors_1 = require("../../errors");
5
- const common_1 = require("./common");
6
- function validateXChainCreateBridge(tx) {
7
- (0, common_1.validateBaseTransaction)(tx);
8
- if (tx.XChainBridge == null) {
9
- throw new errors_1.ValidationError('XChainCreateBridge: missing field XChainBridge');
10
- }
11
- if (tx.SignatureReward == null) {
12
- throw new errors_1.ValidationError('XChainCreateBridge: missing field SignatureReward');
13
- }
14
- }
15
- exports.validateXChainCreateBridge = validateXChainCreateBridge;
16
- //# sourceMappingURL=XChainCreateBridge.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainCreateBridge.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCreateBridge.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAAmE;AAsBnE,SAAgB,0BAA0B,CAAC,EAA2B;IACpE,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,gDAAgD,CAAC,CAAA;KAC5E;IAED,IAAI,EAAE,CAAC,eAAe,IAAI,IAAI,EAAE;QAC9B,MAAM,IAAI,wBAAe,CACvB,mDAAmD,CACpD,CAAA;KACF;AACH,CAAC;AAZD,gEAYC"}
@@ -1,10 +0,0 @@
1
- import { Amount, XChainBridge } from '../common';
2
- import { BaseTransaction } from './common';
3
- export interface XChainCreateClaimID extends BaseTransaction {
4
- TransactionType: 'XChainCreateClaimID';
5
- XChainBridge: XChainBridge;
6
- SignatureReward: Amount;
7
- OtherChainSource: string;
8
- }
9
- export declare function validateXChainCreateClaimID(tx: Record<string, unknown>): void;
10
- //# sourceMappingURL=XChainCreateClaimID.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainCreateClaimID.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCreateClaimID.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EAAE,eAAe,EAA2B,MAAM,UAAU,CAAA;AAMnE,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IAC1D,eAAe,EAAE,qBAAqB,CAAA;IAEtC,YAAY,EAAE,YAAY,CAAA;IAE1B,eAAe,EAAE,MAAM,CAAA;IAEvB,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAQD,wBAAgB,2BAA2B,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAkB7E"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateXChainCreateClaimID = void 0;
4
- const errors_1 = require("../../errors");
5
- const common_1 = require("./common");
6
- function validateXChainCreateClaimID(tx) {
7
- (0, common_1.validateBaseTransaction)(tx);
8
- if (tx.XChainBridge == null) {
9
- throw new errors_1.ValidationError('XChainCreateClaimID: missing field XChainBridge');
10
- }
11
- if (tx.SignatureReward == null) {
12
- throw new errors_1.ValidationError('XChainCreateClaimID: missing field SignatureReward');
13
- }
14
- if (tx.OtherChainSource == null) {
15
- throw new errors_1.ValidationError('XChainCreateClaimID: missing field OtherChainSource');
16
- }
17
- }
18
- exports.validateXChainCreateClaimID = validateXChainCreateClaimID;
19
- //# sourceMappingURL=XChainCreateClaimID.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainCreateClaimID.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainCreateClaimID.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAAmE;AAsBnE,SAAgB,2BAA2B,CAAC,EAA2B;IACrE,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,iDAAiD,CAAC,CAAA;KAC7E;IAED,IAAI,EAAE,CAAC,eAAe,IAAI,IAAI,EAAE;QAC9B,MAAM,IAAI,wBAAe,CACvB,oDAAoD,CACrD,CAAA;KACF;IAED,IAAI,EAAE,CAAC,gBAAgB,IAAI,IAAI,EAAE;QAC/B,MAAM,IAAI,wBAAe,CACvB,qDAAqD,CACtD,CAAA;KACF;AACH,CAAC;AAlBD,kEAkBC"}
@@ -1,10 +0,0 @@
1
- import { Amount, XChainBridge } from '../common';
2
- import { BaseTransaction } from './common';
3
- export interface XChainModifyBridge extends BaseTransaction {
4
- TransactionType: 'XChainModifyBridge';
5
- XChainBridge: XChainBridge;
6
- SignatureReward?: Amount;
7
- MinAccountCreateAmount?: Amount;
8
- }
9
- export declare function validateXChainModifyBridge(tx: Record<string, unknown>): void;
10
- //# sourceMappingURL=XChainModifyBridge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainModifyBridge.d.ts","sourceRoot":"","sources":["../../../../src/models/transactions/XChainModifyBridge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhD,OAAO,EAAE,eAAe,EAA2B,MAAM,UAAU,CAAA;AAMnE,MAAM,WAAW,kBAAmB,SAAQ,eAAe;IACzD,eAAe,EAAE,oBAAoB,CAAA;IAErC,YAAY,EAAE,YAAY,CAAA;IAE1B,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB,sBAAsB,CAAC,EAAE,MAAM,CAAA;CAChC;AAQD,wBAAgB,0BAA0B,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAM5E"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateXChainModifyBridge = void 0;
4
- const errors_1 = require("../../errors");
5
- const common_1 = require("./common");
6
- function validateXChainModifyBridge(tx) {
7
- (0, common_1.validateBaseTransaction)(tx);
8
- if (tx.XChainBridge == null) {
9
- throw new errors_1.ValidationError('XChainModifyBridge: missing field XChainBridge');
10
- }
11
- }
12
- exports.validateXChainModifyBridge = validateXChainModifyBridge;
13
- //# sourceMappingURL=XChainModifyBridge.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XChainModifyBridge.js","sourceRoot":"","sources":["../../../../src/models/transactions/XChainModifyBridge.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAG9C,qCAAmE;AAsBnE,SAAgB,0BAA0B,CAAC,EAA2B;IACpE,IAAA,gCAAuB,EAAC,EAAE,CAAC,CAAA;IAE3B,IAAI,EAAE,CAAC,YAAY,IAAI,IAAI,EAAE;QAC3B,MAAM,IAAI,wBAAe,CAAC,gDAAgD,CAAC,CAAA;KAC5E;AACH,CAAC;AAND,gEAMC"}