You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

txflags.js 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.txFlagIndices = exports.txFlags = void 0;
  4. const txFlags = {
  5. Universal: {
  6. FullyCanonicalSig: 0x80000000
  7. },
  8. AccountSet: {
  9. RequireDestTag: 0x00010000,
  10. OptionalDestTag: 0x00020000,
  11. RequireAuth: 0x00040000,
  12. OptionalAuth: 0x00080000,
  13. DisallowXRP: 0x00100000,
  14. AllowXRP: 0x00200000
  15. },
  16. TrustSet: {
  17. SetAuth: 0x00010000,
  18. NoRipple: 0x00020000,
  19. SetNoRipple: 0x00020000,
  20. ClearNoRipple: 0x00040000,
  21. SetFreeze: 0x00100000,
  22. ClearFreeze: 0x00200000
  23. },
  24. OfferCreate: {
  25. Passive: 0x00010000,
  26. ImmediateOrCancel: 0x00020000,
  27. FillOrKill: 0x00040000,
  28. Sell: 0x00080000
  29. },
  30. Payment: {
  31. NoRippleDirect: 0x00010000,
  32. PartialPayment: 0x00020000,
  33. LimitQuality: 0x00040000
  34. },
  35. PaymentChannelClaim: {
  36. Renew: 0x00010000,
  37. Close: 0x00020000
  38. }
  39. };
  40. exports.txFlags = txFlags;
  41. const txFlagIndices = {
  42. AccountSet: {
  43. asfRequireDest: 1,
  44. asfRequireAuth: 2,
  45. asfDisallowXRP: 3,
  46. asfDisableMaster: 4,
  47. asfAccountTxnID: 5,
  48. asfNoFreeze: 6,
  49. asfGlobalFreeze: 7,
  50. asfDefaultRipple: 8,
  51. asfDepositAuth: 9
  52. }
  53. };
  54. exports.txFlagIndices = txFlagIndices;
  55. //# sourceMappingURL=txflags.js.map