@keetanetwork/anchor 0.0.112 → 0.0.113

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 (65) hide show
  1. package/lib/http-server/common.d.ts +3 -2
  2. package/lib/http-server/common.d.ts.map +1 -1
  3. package/lib/http-server/common.js +9 -13
  4. package/lib/http-server/common.js.map +1 -1
  5. package/lib/http-server/index.d.ts +21 -1
  6. package/lib/http-server/index.d.ts.map +1 -1
  7. package/lib/http-server/index.js +84 -36
  8. package/lib/http-server/index.js.map +1 -1
  9. package/lib/http-server/replay-guard.d.ts +29 -0
  10. package/lib/http-server/replay-guard.d.ts.map +1 -0
  11. package/lib/http-server/replay-guard.js +58 -0
  12. package/lib/http-server/replay-guard.js.map +1 -0
  13. package/lib/http-server/request-signing.d.ts +53 -0
  14. package/lib/http-server/request-signing.d.ts.map +1 -0
  15. package/lib/http-server/request-signing.js +130 -0
  16. package/lib/http-server/request-signing.js.map +1 -0
  17. package/lib/utils/signing.d.ts +5 -0
  18. package/lib/utils/signing.d.ts.map +1 -1
  19. package/lib/utils/signing.js +6 -1
  20. package/lib/utils/signing.js.map +1 -1
  21. package/npm-shrinkwrap.json +2 -2
  22. package/package.json +1 -1
  23. package/services/asset-movement/client.d.ts +5 -4
  24. package/services/asset-movement/client.d.ts.map +1 -1
  25. package/services/asset-movement/client.js +27 -13
  26. package/services/asset-movement/client.js.map +1 -1
  27. package/services/asset-movement/common.generated.js +1 -1
  28. package/services/asset-movement/common.server.generated.js +50 -50
  29. package/services/asset-movement/server.d.ts.map +1 -1
  30. package/services/asset-movement/server.js +22 -4
  31. package/services/asset-movement/server.js.map +1 -1
  32. package/services/fx/server.d.ts.map +1 -1
  33. package/services/fx/server.js +45 -38
  34. package/services/fx/server.js.map +1 -1
  35. package/services/kyc/client.d.ts +8 -3
  36. package/services/kyc/client.d.ts.map +1 -1
  37. package/services/kyc/client.js +24 -23
  38. package/services/kyc/client.js.map +1 -1
  39. package/services/kyc/common.d.ts +0 -7
  40. package/services/kyc/common.d.ts.map +1 -1
  41. package/services/kyc/common.js +0 -8
  42. package/services/kyc/common.js.map +1 -1
  43. package/services/kyc/server.d.ts +3 -1
  44. package/services/kyc/server.d.ts.map +1 -1
  45. package/services/kyc/server.js +15 -33
  46. package/services/kyc/server.js.map +1 -1
  47. package/services/notification/client.d.ts.map +1 -1
  48. package/services/notification/client.js +39 -33
  49. package/services/notification/client.js.map +1 -1
  50. package/services/notification/server.js +10 -10
  51. package/services/notification/server.js.map +1 -1
  52. package/services/storage/client.d.ts +3 -0
  53. package/services/storage/client.d.ts.map +1 -1
  54. package/services/storage/client.js +41 -11
  55. package/services/storage/client.js.map +1 -1
  56. package/services/storage/server.d.ts.map +1 -1
  57. package/services/storage/server.js +12 -11
  58. package/services/storage/server.js.map +1 -1
  59. package/services/username/client.d.ts +12 -1
  60. package/services/username/client.d.ts.map +1 -1
  61. package/services/username/client.js +36 -30
  62. package/services/username/client.js.map +1 -1
  63. package/services/username/server.d.ts.map +1 -1
  64. package/services/username/server.js +7 -6
  65. package/services/username/server.js.map +1 -1
@@ -3281,7 +3281,7 @@ export const isKeetaAssetMovementAnchorInitiateTransferResponse = (() => { const
3281
3281
  else
3282
3282
  return false;
3283
3283
  })(); return input => "object" === typeof input && null !== input && _iu7(input); })();
3284
- export const isKeetaAssetMovementAnchorSimulateTransferResponse = (() => { const _iv2 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv3 = new Set(["ae", "ar", "au", "bcr-pay", "bd", "bf", "bj", "ca", "card", "ci", "ck", "cl", "clabe", "cn", "co", "cr", "cz", "dk", "duit-now", "eg", "fo", "fps", "gg", "gh", "gi", "gl", "gm", "gn", "gt", "hk-fps", "iban-swift", "id", "il", "im", "interac", "je", "jm", "jo", "jp", "ke", "ki", "kr", "lk", "ma", "ng", "np", "nz", "pay-now", "pe", "ph", "pix", "pk", "sn", "sv", "tg", "th", "tn", "tr", "tv", "tz", "ug", "upi", "us", "vn", "za", "zm"]); const _iv4 = new Set(["airtel-money", "bkash", "easy-paisa", "finja-wallet", "jazz-cash", "mtn-mobile-money", "nagad", "naya-pay", "paypal", "rocket", "sada-pay", "venmo"]); const _iv6 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv7 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv8 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv9 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv11 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv12 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv13 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv15 = new Set(["ACH", "WIRE", "PIX_PUSH", "SPEI_PUSH", "WIRE_INTL_PUSH", "SEPA_PUSH", "MOBILE_WALLET", "INTERAC_PUSH", "FPS_PUSH", "CARD_PUSH", "HK_FPS_PUSH", "BCR_PAY_PUSH", "DUIT_NOW_PUSH", "PAY_NOW_PUSH", "UPI_PUSH", "CA_PUSH", "AE_PUSH", "RTP_PUSH", "AR_PUSH", "AU_PUSH", "GG_PUSH", "BD_PUSH", "BJ_PUSH", "BF_PUSH", "CL_PUSH", "CN_PUSH", "CO_PUSH", "CK_PUSH", "CR_PUSH", "CZ_PUSH", "DK_PUSH", "EG_PUSH", "SV_PUSH", "FO_PUSH", "GM_PUSH", "GH_PUSH", "GI_PUSH", "GL_PUSH", "GT_PUSH", "GN_PUSH", "ID_PUSH", "IM_PUSH", "IL_PUSH", "CI_PUSH", "JM_PUSH", "JP_PUSH", "JE_PUSH", "JO_PUSH", "KE_PUSH", "KI_PUSH", "MA_PUSH", "NP_PUSH", "NZ_PUSH", "NG_PUSH", "PK_PUSH", "PE_PUSH", "PH_PUSH", "SN_PUSH", "ZA_PUSH", "KR_PUSH", "LK_PUSH", "TZ_PUSH", "TH_PUSH", "TG_PUSH", "TN_PUSH", "TR_PUSH", "TV_PUSH", "UG_PUSH", "VN_PUSH", "ZM_PUSH"]); const _iv16 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv17 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv18 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv19 = new Set(["ACH", "WIRE", "PIX_PUSH", "SPEI_PUSH", "WIRE_INTL_PUSH", "SEPA_PUSH", "MOBILE_WALLET", "INTERAC_PUSH", "FPS_PUSH", "CARD_PUSH", "HK_FPS_PUSH", "BCR_PAY_PUSH", "DUIT_NOW_PUSH", "PAY_NOW_PUSH", "UPI_PUSH", "CA_PUSH", "AE_PUSH", "RTP_PUSH", "AR_PUSH", "AU_PUSH", "GG_PUSH", "BD_PUSH", "BJ_PUSH", "BF_PUSH", "CL_PUSH", "CN_PUSH", "CO_PUSH", "CK_PUSH", "CR_PUSH", "CZ_PUSH", "DK_PUSH", "EG_PUSH", "SV_PUSH", "FO_PUSH", "GM_PUSH", "GH_PUSH", "GI_PUSH", "GL_PUSH", "GT_PUSH", "GN_PUSH", "ID_PUSH", "IM_PUSH", "IL_PUSH", "CI_PUSH", "JM_PUSH", "JP_PUSH", "JE_PUSH", "JO_PUSH", "KE_PUSH", "KI_PUSH", "MA_PUSH", "NP_PUSH", "NZ_PUSH", "NG_PUSH", "PK_PUSH", "PE_PUSH", "PH_PUSH", "SN_PUSH", "ZA_PUSH", "KR_PUSH", "LK_PUSH", "TZ_PUSH", "TH_PUSH", "TG_PUSH", "TN_PUSH", "TR_PUSH", "TV_PUSH", "UG_PUSH", "VN_PUSH", "ZM_PUSH"]); const _io0 = input => true === input.ok && (Array.isArray(input.instructionChoices) && input.instructionChoices.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io1 = input => "KEETA_SEND" === input.type && "string" === typeof input.value && (undefined === input.external || "string" === typeof input.external) && (null !== input.location && undefined !== input.location && (true === _iv2.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && ("string" === typeof input.tokenAddress && (RegExp(/^keeta_am(.*)/).test(input.tokenAddress) || RegExp(/^keeta_an(.*)/).test(input.tokenAddress) || RegExp(/^keeta_ao(.*)/).test(input.tokenAddress) || RegExp(/^keeta_ap(.*)/).test(input.tokenAddress) || RegExp(/^tyblocks_am(.*)/).test(input.tokenAddress) || RegExp(/^tyblocks_an(.*)/).test(input.tokenAddress) || RegExp(/^tyblocks_ao(.*)/).test(input.tokenAddress) || RegExp(/^tyblocks_ap(.*)/).test(input.tokenAddress))) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io2 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu4(input.chain)); const _io3 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io4 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io5 = input => "solana" === input.type && "string" === typeof input.genesisHash; const _io6 = input => "bitcoin" === input.type && "string" === typeof input.magicBytes; const _io7 = input => "tron" === input.type && (null !== input.networkAlias && undefined !== input.networkAlias && ("mainnet" === input.networkAlias || "shasta" === input.networkAlias || "nile" === input.networkAlias || "string" === typeof input.networkAlias && RegExp(/^custom:(.*)/).test(input.networkAlias))); const _io8 = input => "object" === typeof input.account && null !== input.account && _io9(input.account) && "bank-account" === input.type; const _io9 = input => true === _iv3.has(input.type); const _io10 = input => "object" === typeof input.account && null !== input.account && _io11(input.account) && "mobile-wallet" === input.type; const _io11 = input => true === _iv4.has(input.type); const _io12 = input => Array.isArray(input.lineItems) && input.lineItems.every(elem => "object" === typeof elem && null !== elem && _iu1(elem)) && (null !== input.total && undefined === input.total) && (null !== input.totalPricedIn && undefined === input.totalPricedIn); const _io13 = input => "string" === typeof input.value && ("RAIL" === input.purpose || "NETWORK" === input.purpose || "PROVIDER" === input.purpose || "OTHER" === input.purpose) && (null !== input.asset && (undefined === input.asset || true === _iv6.has(input.asset) || "string" === typeof input.asset && (RegExp(/^\$(.*)/).test(input.asset) || RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset) || RegExp(/^evm:0x(.*)/).test(input.asset) || RegExp(/^solana:(.*)/).test(input.asset) || RegExp(/^bitcoin:(.*)/).test(input.asset) || RegExp(/^tron:(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _io14(input.asset))) && (undefined === input.details || "object" === typeof input.details && null !== input.details && _io15(input.details)); const _io14 = input => null !== input.id && undefined !== input.id && (true === _iv7.has(input.id) || "string" === typeof input.id && (RegExp(/^\$(.*)/).test(input.id) || RegExp(/^keeta_am(.*)/).test(input.id) || RegExp(/^keeta_an(.*)/).test(input.id) || RegExp(/^keeta_ao(.*)/).test(input.id) || RegExp(/^keeta_ap(.*)/).test(input.id) || RegExp(/^tyblocks_am(.*)/).test(input.id) || RegExp(/^tyblocks_an(.*)/).test(input.id) || RegExp(/^tyblocks_ao(.*)/).test(input.id) || RegExp(/^tyblocks_ap(.*)/).test(input.id) || RegExp(/^evm:0x(.*)/).test(input.id) || RegExp(/^solana:(.*)/).test(input.id) || RegExp(/^bitcoin:(.*)/).test(input.id) || RegExp(/^tron:(.*)/).test(input.id))) && (null !== input.location && undefined !== input.location && (true === _iv8.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)))); const _io15 = input => ("plaintext" === input.type || "markdown" === input.type) && "string" === typeof input.content; const _io16 = input => (undefined === input.basisPoints || "number" === typeof input.basisPoints) && "string" === typeof input.value && "VALUE_VARIABLE" === input.purpose && (null !== input.asset && (undefined === input.asset || true === _iv9.has(input.asset) || "string" === typeof input.asset && (RegExp(/^\$(.*)/).test(input.asset) || RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset) || RegExp(/^evm:0x(.*)/).test(input.asset) || RegExp(/^solana:(.*)/).test(input.asset) || RegExp(/^bitcoin:(.*)/).test(input.asset) || RegExp(/^tron:(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _io14(input.asset))) && (undefined === input.details || "object" === typeof input.details && null !== input.details && _io15(input.details)); const _io17 = input => Array.isArray(input.lineItems) && input.lineItems.every(elem => "object" === typeof elem && null !== elem && _iu1(elem)) && "string" === typeof input.total && (null !== input.totalPricedIn && (undefined === input.totalPricedIn || true === _iv11.has(input.totalPricedIn) || "string" === typeof input.totalPricedIn && (RegExp(/^\$(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_am(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_an(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ao(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ap(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_am(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_an(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ao(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ap(.*)/).test(input.totalPricedIn) || RegExp(/^evm:0x(.*)/).test(input.totalPricedIn) || RegExp(/^solana:(.*)/).test(input.totalPricedIn) || RegExp(/^bitcoin:(.*)/).test(input.totalPricedIn) || RegExp(/^tron:(.*)/).test(input.totalPricedIn)) || "object" === typeof input.totalPricedIn && null !== input.totalPricedIn && _io14(input.totalPricedIn))); const _io18 = input => "EVM_SEND" === input.type && "string" === typeof input.value && (null !== input.location && undefined !== input.location && (true === _iv12.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && ("string" === typeof input.tokenAddress && RegExp(/^0x(.*)/).test(input.tokenAddress)) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io19 = input => "EVM_CALL" === input.type && (null !== input.location && undefined !== input.location && (true === _iv13.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && ("string" === typeof input.contractAddress && RegExp(/^0x(.*)/).test(input.contractAddress)) && "string" === typeof input.contractMethodName && (Array.isArray(input.contractMethodArgs) && input.contractMethodArgs.every(elem => "string" === typeof elem)); const _io20 = input => true === _iv15.has(input.type) && "string" === typeof input.value && (undefined === input.depositMessage || "string" === typeof input.depositMessage) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io21 = input => ("ACH_DEBIT" === input.type || "CARD_PULL" === input.type) && ("object" === typeof input.pullFrom && null !== input.pullFrom && _iu5(input.pullFrom)) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io22 = input => "persistent-address" === input.type && "string" === typeof input.persistentAddressId; const _io23 = input => "persistent-address-template" === input.type && "string" === typeof input.persistentAddressTemplateId; const _io24 = input => "TRON_SEND" === input.type && "string" === typeof input.value && (null !== input.location && undefined !== input.location && (true === _iv16.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && (undefined === input.tokenAddress || "string" === typeof input.tokenAddress) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io25 = input => "BITCOIN_SEND" === input.type && "string" === typeof input.value && (null !== input.location && undefined !== input.location && (true === _iv17.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io26 = input => "SOLANA_SEND" === input.type && "string" === typeof input.value && (null !== input.location && undefined !== input.location && (true === _iv18.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (undefined === input.tokenMintAddress || "string" === typeof input.tokenMintAddress); const _io27 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
3284
+ export const isKeetaAssetMovementAnchorSimulateTransferResponse = (() => { const _iv2 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv3 = new Set(["ae", "ar", "au", "bcr-pay", "bd", "bf", "bj", "ca", "card", "ci", "ck", "cl", "clabe", "cn", "co", "cr", "cz", "dk", "duit-now", "eg", "fo", "fps", "gg", "gh", "gi", "gl", "gm", "gn", "gt", "hk-fps", "iban-swift", "id", "il", "im", "interac", "je", "jm", "jo", "jp", "ke", "ki", "kr", "lk", "ma", "ng", "np", "nz", "pay-now", "pe", "ph", "pix", "pk", "sn", "sv", "tg", "th", "tn", "tr", "tv", "tz", "ug", "upi", "us", "vn", "za", "zm"]); const _iv4 = new Set(["airtel-money", "bkash", "easy-paisa", "finja-wallet", "jazz-cash", "mtn-mobile-money", "nagad", "naya-pay", "paypal", "rocket", "sada-pay", "venmo"]); const _iv6 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv7 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv8 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv9 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv11 = new Set(["AFN", "EUR", "ALL", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv12 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv13 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv15 = new Set(["ACH", "WIRE", "PIX_PUSH", "SPEI_PUSH", "WIRE_INTL_PUSH", "SEPA_PUSH", "MOBILE_WALLET", "INTERAC_PUSH", "FPS_PUSH", "CARD_PUSH", "HK_FPS_PUSH", "BCR_PAY_PUSH", "DUIT_NOW_PUSH", "PAY_NOW_PUSH", "UPI_PUSH", "CA_PUSH", "AE_PUSH", "RTP_PUSH", "AR_PUSH", "AU_PUSH", "GG_PUSH", "BD_PUSH", "BJ_PUSH", "BF_PUSH", "CL_PUSH", "CN_PUSH", "CO_PUSH", "CK_PUSH", "CR_PUSH", "CZ_PUSH", "DK_PUSH", "EG_PUSH", "SV_PUSH", "FO_PUSH", "GM_PUSH", "GH_PUSH", "GI_PUSH", "GL_PUSH", "GT_PUSH", "GN_PUSH", "ID_PUSH", "IM_PUSH", "IL_PUSH", "CI_PUSH", "JM_PUSH", "JP_PUSH", "JE_PUSH", "JO_PUSH", "KE_PUSH", "KI_PUSH", "MA_PUSH", "NP_PUSH", "NZ_PUSH", "NG_PUSH", "PK_PUSH", "PE_PUSH", "PH_PUSH", "SN_PUSH", "ZA_PUSH", "KR_PUSH", "LK_PUSH", "TZ_PUSH", "TH_PUSH", "TG_PUSH", "TN_PUSH", "TR_PUSH", "TV_PUSH", "UG_PUSH", "VN_PUSH", "ZM_PUSH"]); const _iv16 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv17 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv18 = new Set(["bank-account:ae", "bank-account:ar", "bank-account:au", "bank-account:bcr-pay", "bank-account:bd", "bank-account:bf", "bank-account:bj", "bank-account:ca", "bank-account:card", "bank-account:ci", "bank-account:ck", "bank-account:cl", "bank-account:clabe", "bank-account:cn", "bank-account:co", "bank-account:cr", "bank-account:cz", "bank-account:dk", "bank-account:duit-now", "bank-account:eg", "bank-account:fo", "bank-account:fps", "bank-account:gg", "bank-account:gh", "bank-account:gi", "bank-account:gl", "bank-account:gm", "bank-account:gn", "bank-account:gt", "bank-account:hk-fps", "bank-account:iban-swift", "bank-account:id", "bank-account:il", "bank-account:im", "bank-account:interac", "bank-account:je", "bank-account:jm", "bank-account:jo", "bank-account:jp", "bank-account:ke", "bank-account:ki", "bank-account:kr", "bank-account:lk", "bank-account:ma", "bank-account:ng", "bank-account:np", "bank-account:nz", "bank-account:pay-now", "bank-account:pe", "bank-account:ph", "bank-account:pix", "bank-account:pk", "bank-account:sn", "bank-account:sv", "bank-account:tg", "bank-account:th", "bank-account:tn", "bank-account:tr", "bank-account:tv", "bank-account:tz", "bank-account:ug", "bank-account:upi", "bank-account:us", "bank-account:vn", "bank-account:za", "bank-account:zm", "mobile-wallet:airtel-money", "mobile-wallet:bkash", "mobile-wallet:easy-paisa", "mobile-wallet:finja-wallet", "mobile-wallet:jazz-cash", "mobile-wallet:mtn-mobile-money", "mobile-wallet:nagad", "mobile-wallet:naya-pay", "mobile-wallet:paypal", "mobile-wallet:rocket", "mobile-wallet:sada-pay", "mobile-wallet:venmo"]); const _iv19 = new Set(["ACH", "WIRE", "PIX_PUSH", "SPEI_PUSH", "WIRE_INTL_PUSH", "SEPA_PUSH", "MOBILE_WALLET", "INTERAC_PUSH", "FPS_PUSH", "CARD_PUSH", "HK_FPS_PUSH", "BCR_PAY_PUSH", "DUIT_NOW_PUSH", "PAY_NOW_PUSH", "UPI_PUSH", "CA_PUSH", "AE_PUSH", "RTP_PUSH", "AR_PUSH", "AU_PUSH", "GG_PUSH", "BD_PUSH", "BJ_PUSH", "BF_PUSH", "CL_PUSH", "CN_PUSH", "CO_PUSH", "CK_PUSH", "CR_PUSH", "CZ_PUSH", "DK_PUSH", "EG_PUSH", "SV_PUSH", "FO_PUSH", "GM_PUSH", "GH_PUSH", "GI_PUSH", "GL_PUSH", "GT_PUSH", "GN_PUSH", "ID_PUSH", "IM_PUSH", "IL_PUSH", "CI_PUSH", "JM_PUSH", "JP_PUSH", "JE_PUSH", "JO_PUSH", "KE_PUSH", "KI_PUSH", "MA_PUSH", "NP_PUSH", "NZ_PUSH", "NG_PUSH", "PK_PUSH", "PE_PUSH", "PH_PUSH", "SN_PUSH", "ZA_PUSH", "KR_PUSH", "LK_PUSH", "TZ_PUSH", "TH_PUSH", "TG_PUSH", "TN_PUSH", "TR_PUSH", "TV_PUSH", "UG_PUSH", "VN_PUSH", "ZM_PUSH"]); const _io0 = input => true === input.ok && (Array.isArray(input.instructionChoices) && input.instructionChoices.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io1 = input => "KEETA_SEND" === input.type && (undefined === input.external || "string" === typeof input.external) && "string" === typeof input.value && (null !== input.location && undefined !== input.location && (true === _iv2.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && ("string" === typeof input.tokenAddress && (RegExp(/^keeta_am(.*)/).test(input.tokenAddress) || RegExp(/^keeta_an(.*)/).test(input.tokenAddress) || RegExp(/^keeta_ao(.*)/).test(input.tokenAddress) || RegExp(/^keeta_ap(.*)/).test(input.tokenAddress) || RegExp(/^tyblocks_am(.*)/).test(input.tokenAddress) || RegExp(/^tyblocks_an(.*)/).test(input.tokenAddress) || RegExp(/^tyblocks_ao(.*)/).test(input.tokenAddress) || RegExp(/^tyblocks_ap(.*)/).test(input.tokenAddress))) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io2 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu4(input.chain)); const _io3 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io4 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io5 = input => "solana" === input.type && "string" === typeof input.genesisHash; const _io6 = input => "bitcoin" === input.type && "string" === typeof input.magicBytes; const _io7 = input => "tron" === input.type && (null !== input.networkAlias && undefined !== input.networkAlias && ("mainnet" === input.networkAlias || "shasta" === input.networkAlias || "nile" === input.networkAlias || "string" === typeof input.networkAlias && RegExp(/^custom:(.*)/).test(input.networkAlias))); const _io8 = input => "object" === typeof input.account && null !== input.account && _io9(input.account) && "bank-account" === input.type; const _io9 = input => true === _iv3.has(input.type); const _io10 = input => "object" === typeof input.account && null !== input.account && _io11(input.account) && "mobile-wallet" === input.type; const _io11 = input => true === _iv4.has(input.type); const _io12 = input => Array.isArray(input.lineItems) && input.lineItems.every(elem => "object" === typeof elem && null !== elem && _iu1(elem)) && (null !== input.total && undefined === input.total) && (null !== input.totalPricedIn && undefined === input.totalPricedIn); const _io13 = input => "string" === typeof input.value && ("RAIL" === input.purpose || "NETWORK" === input.purpose || "PROVIDER" === input.purpose || "OTHER" === input.purpose) && (null !== input.asset && (undefined === input.asset || true === _iv6.has(input.asset) || "string" === typeof input.asset && (RegExp(/^\$(.*)/).test(input.asset) || RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset) || RegExp(/^evm:0x(.*)/).test(input.asset) || RegExp(/^solana:(.*)/).test(input.asset) || RegExp(/^bitcoin:(.*)/).test(input.asset) || RegExp(/^tron:(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _io14(input.asset))) && (undefined === input.details || "object" === typeof input.details && null !== input.details && _io15(input.details)); const _io14 = input => null !== input.id && undefined !== input.id && (true === _iv7.has(input.id) || "string" === typeof input.id && (RegExp(/^\$(.*)/).test(input.id) || RegExp(/^keeta_am(.*)/).test(input.id) || RegExp(/^keeta_an(.*)/).test(input.id) || RegExp(/^keeta_ao(.*)/).test(input.id) || RegExp(/^keeta_ap(.*)/).test(input.id) || RegExp(/^tyblocks_am(.*)/).test(input.id) || RegExp(/^tyblocks_an(.*)/).test(input.id) || RegExp(/^tyblocks_ao(.*)/).test(input.id) || RegExp(/^tyblocks_ap(.*)/).test(input.id) || RegExp(/^evm:0x(.*)/).test(input.id) || RegExp(/^solana:(.*)/).test(input.id) || RegExp(/^bitcoin:(.*)/).test(input.id) || RegExp(/^tron:(.*)/).test(input.id))) && (null !== input.location && undefined !== input.location && (true === _iv8.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)))); const _io15 = input => ("plaintext" === input.type || "markdown" === input.type) && "string" === typeof input.content; const _io16 = input => (undefined === input.basisPoints || "number" === typeof input.basisPoints) && "string" === typeof input.value && "VALUE_VARIABLE" === input.purpose && (null !== input.asset && (undefined === input.asset || true === _iv9.has(input.asset) || "string" === typeof input.asset && (RegExp(/^\$(.*)/).test(input.asset) || RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset) || RegExp(/^evm:0x(.*)/).test(input.asset) || RegExp(/^solana:(.*)/).test(input.asset) || RegExp(/^bitcoin:(.*)/).test(input.asset) || RegExp(/^tron:(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _io14(input.asset))) && (undefined === input.details || "object" === typeof input.details && null !== input.details && _io15(input.details)); const _io17 = input => Array.isArray(input.lineItems) && input.lineItems.every(elem => "object" === typeof elem && null !== elem && _iu1(elem)) && "string" === typeof input.total && (null !== input.totalPricedIn && (undefined === input.totalPricedIn || true === _iv11.has(input.totalPricedIn) || "string" === typeof input.totalPricedIn && (RegExp(/^\$(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_am(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_an(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ao(.*)/).test(input.totalPricedIn) || RegExp(/^keeta_ap(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_am(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_an(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ao(.*)/).test(input.totalPricedIn) || RegExp(/^tyblocks_ap(.*)/).test(input.totalPricedIn) || RegExp(/^evm:0x(.*)/).test(input.totalPricedIn) || RegExp(/^solana:(.*)/).test(input.totalPricedIn) || RegExp(/^bitcoin:(.*)/).test(input.totalPricedIn) || RegExp(/^tron:(.*)/).test(input.totalPricedIn)) || "object" === typeof input.totalPricedIn && null !== input.totalPricedIn && _io14(input.totalPricedIn))); const _io18 = input => "EVM_SEND" === input.type && "string" === typeof input.value && (null !== input.location && undefined !== input.location && (true === _iv12.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && ("string" === typeof input.tokenAddress && RegExp(/^0x(.*)/).test(input.tokenAddress)) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io19 = input => "EVM_CALL" === input.type && (null !== input.location && undefined !== input.location && (true === _iv13.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && ("string" === typeof input.contractAddress && RegExp(/^0x(.*)/).test(input.contractAddress)) && "string" === typeof input.contractMethodName && (Array.isArray(input.contractMethodArgs) && input.contractMethodArgs.every(elem => "string" === typeof elem)); const _io20 = input => true === _iv15.has(input.type) && "string" === typeof input.value && (undefined === input.depositMessage || "string" === typeof input.depositMessage) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io21 = input => ("ACH_DEBIT" === input.type || "CARD_PULL" === input.type) && ("object" === typeof input.pullFrom && null !== input.pullFrom && _iu5(input.pullFrom)) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io22 = input => "persistent-address" === input.type && "string" === typeof input.persistentAddressId; const _io23 = input => "persistent-address-template" === input.type && "string" === typeof input.persistentAddressTemplateId; const _io24 = input => "TRON_SEND" === input.type && "string" === typeof input.value && (null !== input.location && undefined !== input.location && (true === _iv16.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && (undefined === input.tokenAddress || "string" === typeof input.tokenAddress) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io25 = input => "BITCOIN_SEND" === input.type && "string" === typeof input.value && (null !== input.location && undefined !== input.location && (true === _iv17.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId); const _io26 = input => "SOLANA_SEND" === input.type && "string" === typeof input.value && (null !== input.location && undefined !== input.location && (true === _iv18.has(input.location) || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:solana:(.*)/).test(input.location) || RegExp(/^chain:bitcoin:(.*)/).test(input.location) || RegExp(/^chain:tron:(.*)/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu2(input.location))) && (null !== input.assetFee && undefined !== input.assetFee && ("string" === typeof input.assetFee || "object" === typeof input.assetFee && null !== input.assetFee && _iu3(input.assetFee))) && (undefined === input.totalReceiveAmount || "string" === typeof input.totalReceiveAmount) && (undefined === input.persistentAddressId || "string" === typeof input.persistentAddressId) && (undefined === input.tokenMintAddress || "string" === typeof input.tokenMintAddress); const _io27 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
3285
3285
  if ("KEETA_SEND" === input.type)
3286
3286
  return _io1(input);
3287
3287
  else if ("EVM_SEND" === input.type)