utils-renumber.d.ts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /**
  2. * Quick script to re-number values
  3. */
  4. declare const input: {
  5. temBAD_SEND_XRP_PATHS: number;
  6. temBAD_SEQUENCE: number;
  7. temBAD_SIGNATURE: number;
  8. temBAD_SRC_ACCOUNT: number;
  9. temBAD_TRANSFER_RATE: number;
  10. temDST_IS_SRC: number;
  11. temDST_NEEDED: number;
  12. temINVALID: number;
  13. temINVALID_FLAG: number;
  14. temREDUNDANT: number;
  15. temRIPPLE_EMPTY: number;
  16. temDISABLED: number;
  17. temBAD_SIGNER: number;
  18. temBAD_QUORUM: number;
  19. temBAD_WEIGHT: number;
  20. temBAD_TICK_SIZE: number;
  21. temINVALID_ACCOUNT_ID: number;
  22. temCANNOT_PREAUTH_SELF: number;
  23. temUNCERTAIN: number;
  24. temUNKNOWN: number;
  25. tefFAILURE: number;
  26. tefALREADY: number;
  27. tefBAD_ADD_AUTH: number;
  28. tefBAD_AUTH: number;
  29. tefBAD_LEDGER: number;
  30. tefCREATED: number;
  31. tefEXCEPTION: number;
  32. tefINTERNAL: number;
  33. tefNO_AUTH_REQUIRED: number;
  34. tefPAST_SEQ: number;
  35. tefWRONG_PRIOR: number;
  36. tefMASTER_DISABLED: number;
  37. tefMAX_LEDGER: number;
  38. tefBAD_SIGNATURE: number;
  39. tefBAD_QUORUM: number;
  40. tefNOT_MULTI_SIGNING: number;
  41. tefBAD_AUTH_MASTER: number;
  42. tefINVARIANT_FAILED: number;
  43. tefTOO_BIG: number;
  44. terRETRY: number;
  45. terFUNDS_SPENT: number;
  46. terINSUF_FEE_B: number;
  47. terNO_ACCOUNT: number;
  48. terNO_AUTH: number;
  49. terNO_LINE: number;
  50. terOWNERS: number;
  51. terPRE_SEQ: number;
  52. terLAST: number;
  53. terNO_RIPPLE: number;
  54. terQUEUED: number;
  55. tesSUCCESS: number;
  56. tecCLAIM: number;
  57. tecPATH_PARTIAL: number;
  58. tecUNFUNDED_ADD: number;
  59. tecUNFUNDED_OFFER: number;
  60. tecUNFUNDED_PAYMENT: number;
  61. tecFAILED_PROCESSING: number;
  62. tecDIR_FULL: number;
  63. tecINSUF_RESERVE_LINE: number;
  64. tecINSUF_RESERVE_OFFER: number;
  65. tecNO_DST: number;
  66. tecNO_DST_INSUF_XRP: number;
  67. tecNO_LINE_INSUF_RESERVE: number;
  68. tecNO_LINE_REDUNDANT: number;
  69. tecPATH_DRY: number;
  70. tecUNFUNDED: number;
  71. tecNO_ALTERNATIVE_KEY: number;
  72. tecNO_REGULAR_KEY: number;
  73. tecOWNERS: number;
  74. tecNO_ISSUER: number;
  75. tecNO_AUTH: number;
  76. tecNO_LINE: number;
  77. tecINSUFF_FEE: number;
  78. tecFROZEN: number;
  79. tecNO_TARGET: number;
  80. tecNO_PERMISSION: number;
  81. tecNO_ENTRY: number;
  82. tecINSUFFICIENT_RESERVE: number;
  83. tecNEED_MASTER_KEY: number;
  84. tecDST_TAG_NEEDED: number;
  85. tecINTERNAL: number;
  86. tecOVERSIZE: number;
  87. tecCRYPTOCONDITION_ERROR: number;
  88. tecINVARIANT_FAILED: number;
  89. tecEXPIRED: number;
  90. tecDUPLICATE: number;
  91. tecKILLED: number;
  92. tecHAS_OBLIGATIONS: number;
  93. tecTOO_SOON: number;
  94. };
  95. declare let startingFromTemBADSENDXRPPATHS: number;
  96. declare let startingFromTefFAILURE: number;
  97. declare let startingFromTerRETRY: number;
  98. declare const tesSUCCESS = 0;
  99. declare let startingFromTecCLAIM: number;
  100. declare const startingFromTecDIRFULL = 121;
  101. declare let previousKey: string;