@zkp2p/sdk 0.14.0 → 0.14.2-rc.1
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.
- package/dist/build-metadata.json +3 -3
- package/dist/{chunk-FLST2SE3.mjs → chunk-DOZJKZTL.mjs} +148 -772
- package/dist/{chunk-FLST2SE3.mjs.map → chunk-DOZJKZTL.mjs.map} +1 -1
- package/dist/chunk-PBNUROW5.mjs +12 -0
- package/dist/chunk-PBNUROW5.mjs.map +1 -0
- package/dist/{currency-HMJXK46S.mjs → currency-DFRG54XQ.mjs} +3 -3
- package/dist/{currency-HMJXK46S.mjs.map → currency-DFRG54XQ.mjs.map} +1 -1
- package/dist/index.cjs +410 -4227
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +30 -17
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-WVXVSWCY.mjs +5 -0
- package/dist/{protocolViewerParsers-CDX3MKBZ.mjs.map → protocolViewerParsers-WVXVSWCY.mjs.map} +1 -1
- package/dist/react.mjs +1 -1
- package/dist/{timeout-L2TGXQRR.mjs → timeout-7LS5AHSS.mjs} +3 -3
- package/dist/{timeout-L2TGXQRR.mjs.map → timeout-7LS5AHSS.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/chunk-GUGMFD2K.mjs +0 -12
- package/dist/chunk-GUGMFD2K.mjs.map +0 -1
- package/dist/protocolViewerParsers-CDX3MKBZ.mjs +0 -5
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { currencyKeccak256, getCurrencyInfoFromHash } from './chunk-ZB22BZLZ.mjs';
|
|
2
|
-
import { __export } from './chunk-
|
|
3
|
-
import {
|
|
4
|
-
import 'ethers';
|
|
2
|
+
import { __export } from './chunk-PBNUROW5.mjs';
|
|
3
|
+
import { hexToBytes, keccak256, toBytes, bytesToHex } from 'viem';
|
|
5
4
|
|
|
6
5
|
// src/utils/bigint.ts
|
|
7
6
|
function parseBigIntLike(value, errorMessage = "Unsupported numeric value") {
|
|
@@ -166,6 +165,14 @@ var base_default = {
|
|
|
166
165
|
],
|
|
167
166
|
timestampBuffer: 30,
|
|
168
167
|
providerHashes: []
|
|
168
|
+
},
|
|
169
|
+
upi: {
|
|
170
|
+
paymentMethodHash: "0xe99a5081226cbbff9440a63da5caa04fa30f210c12c4dd9976132ac075054cd9",
|
|
171
|
+
currencies: [
|
|
172
|
+
"0xaad766fbc07fb357bed9fd8b03b935f2f71fe29fc48f08274bc2a01d7f642afc"
|
|
173
|
+
],
|
|
174
|
+
timestampBuffer: 30,
|
|
175
|
+
providerHashes: []
|
|
169
176
|
}
|
|
170
177
|
}
|
|
171
178
|
};
|
|
@@ -317,6 +324,14 @@ var baseStaging_default = {
|
|
|
317
324
|
],
|
|
318
325
|
timestampBuffer: 30,
|
|
319
326
|
providerHashes: []
|
|
327
|
+
},
|
|
328
|
+
upi: {
|
|
329
|
+
paymentMethodHash: "0xe99a5081226cbbff9440a63da5caa04fa30f210c12c4dd9976132ac075054cd9",
|
|
330
|
+
currencies: [
|
|
331
|
+
"0xaad766fbc07fb357bed9fd8b03b935f2f71fe29fc48f08274bc2a01d7f642afc"
|
|
332
|
+
],
|
|
333
|
+
timestampBuffer: 30,
|
|
334
|
+
providerHashes: []
|
|
320
335
|
}
|
|
321
336
|
}
|
|
322
337
|
};
|
|
@@ -43913,7 +43928,7 @@ function getV21Resolution(options) {
|
|
|
43913
43928
|
var getV3Resolution = getV21Resolution;
|
|
43914
43929
|
getV3Resolution().escrowAbi;
|
|
43915
43930
|
|
|
43916
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
43931
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/paymentMethods/lookups.json
|
|
43917
43932
|
var lookups_default = {
|
|
43918
43933
|
nameToHash: {
|
|
43919
43934
|
venmo: "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
@@ -43926,6 +43941,7 @@ var lookups_default = {
|
|
|
43926
43941
|
monzo: "0x62c7ed738ad3e7618111348af32691b5767777fbaf46a2d8943237625552645c",
|
|
43927
43942
|
alipay: "0xcac9daea62d7b89d75ac73af4ee14dcf25721012ae82b568c2ea5c808eaa04ff",
|
|
43928
43943
|
chime: "0x5908bb0c9b87763ac6171d4104847667e7f02b4c47b574fe890c1f439ed128bb",
|
|
43944
|
+
upi: "0xe99a5081226cbbff9440a63da5caa04fa30f210c12c4dd9976132ac075054cd9",
|
|
43929
43945
|
mercury: "0xf81480907d808d639ad3230869e4b05a3b01b2d34e323af40f2efab807effd32"
|
|
43930
43946
|
},
|
|
43931
43947
|
hashToName: {
|
|
@@ -43939,663 +43955,12 @@ var lookups_default = {
|
|
|
43939
43955
|
"0x62c7ed738ad3e7618111348af32691b5767777fbaf46a2d8943237625552645c": "monzo",
|
|
43940
43956
|
"0xcac9daea62d7b89d75ac73af4ee14dcf25721012ae82b568c2ea5c808eaa04ff": "alipay",
|
|
43941
43957
|
"0x5908bb0c9b87763ac6171d4104847667e7f02b4c47b574fe890c1f439ed128bb": "chime",
|
|
43958
|
+
"0xe99a5081226cbbff9440a63da5caa04fa30f210c12c4dd9976132ac075054cd9": "upi",
|
|
43942
43959
|
"0xf81480907d808d639ad3230869e4b05a3b01b2d34e323af40f2efab807effd32": "mercury",
|
|
43943
43960
|
"0xd9ff4fd6b39a3e3dd43c41d05662a5547de4a878bc97a65bcb352ade493cdc6b": "n26",
|
|
43944
43961
|
"0xaea63ef983458674f54ee50cdaa7b09d80a5c6c03ed505f51c90b0f2b54abb01": "luxon"
|
|
43945
43962
|
}
|
|
43946
43963
|
};
|
|
43947
|
-
var usdcUnits = (amount) => {
|
|
43948
|
-
return parseUnits(amount.toString(), 6);
|
|
43949
|
-
};
|
|
43950
|
-
var currencyKeccak2562 = (inputString) => {
|
|
43951
|
-
const bytes = new TextEncoder().encode(inputString);
|
|
43952
|
-
return keccak256(bytes);
|
|
43953
|
-
};
|
|
43954
|
-
var Currency = {
|
|
43955
|
-
AED: "AED",
|
|
43956
|
-
ARS: "ARS",
|
|
43957
|
-
AUD: "AUD",
|
|
43958
|
-
BRL: "BRL",
|
|
43959
|
-
CAD: "CAD",
|
|
43960
|
-
CHF: "CHF",
|
|
43961
|
-
CNY: "CNY",
|
|
43962
|
-
CZK: "CZK",
|
|
43963
|
-
DKK: "DKK",
|
|
43964
|
-
EUR: "EUR",
|
|
43965
|
-
GBP: "GBP",
|
|
43966
|
-
HKD: "HKD",
|
|
43967
|
-
HUF: "HUF",
|
|
43968
|
-
IDR: "IDR",
|
|
43969
|
-
ILS: "ILS",
|
|
43970
|
-
INR: "INR",
|
|
43971
|
-
JPY: "JPY",
|
|
43972
|
-
KES: "KES",
|
|
43973
|
-
NOK: "NOK",
|
|
43974
|
-
MXN: "MXN",
|
|
43975
|
-
MYR: "MYR",
|
|
43976
|
-
NZD: "NZD",
|
|
43977
|
-
PHP: "PHP",
|
|
43978
|
-
PLN: "PLN",
|
|
43979
|
-
RON: "RON",
|
|
43980
|
-
SAR: "SAR",
|
|
43981
|
-
SEK: "SEK",
|
|
43982
|
-
SGD: "SGD",
|
|
43983
|
-
THB: "THB",
|
|
43984
|
-
TRY: "TRY",
|
|
43985
|
-
UGX: "UGX",
|
|
43986
|
-
USD: "USD",
|
|
43987
|
-
VND: "VND",
|
|
43988
|
-
ZAR: "ZAR"
|
|
43989
|
-
};
|
|
43990
|
-
var currencyInfo = {
|
|
43991
|
-
[Currency.AED]: {
|
|
43992
|
-
currency: Currency.AED,
|
|
43993
|
-
currencyCode: "AED",
|
|
43994
|
-
currencyName: "United Arab Emirates Dirham",
|
|
43995
|
-
currencyCodeHash: currencyKeccak2562("AED"),
|
|
43996
|
-
currencySymbol: "\u062F.\u0625",
|
|
43997
|
-
countryCode: "ae"
|
|
43998
|
-
},
|
|
43999
|
-
[Currency.ARS]: {
|
|
44000
|
-
currency: Currency.ARS,
|
|
44001
|
-
currencyCode: "ARS",
|
|
44002
|
-
currencyName: "Argentine Peso",
|
|
44003
|
-
currencyCodeHash: currencyKeccak2562("ARS"),
|
|
44004
|
-
currencySymbol: "$",
|
|
44005
|
-
countryCode: "ar"
|
|
44006
|
-
},
|
|
44007
|
-
[Currency.AUD]: {
|
|
44008
|
-
currency: Currency.AUD,
|
|
44009
|
-
currencyCode: "AUD",
|
|
44010
|
-
currencyName: "Australian Dollar",
|
|
44011
|
-
currencyCodeHash: currencyKeccak2562("AUD"),
|
|
44012
|
-
currencySymbol: "A$",
|
|
44013
|
-
countryCode: "au"
|
|
44014
|
-
},
|
|
44015
|
-
[Currency.BRL]: {
|
|
44016
|
-
currency: Currency.BRL,
|
|
44017
|
-
currencyCode: "BRL",
|
|
44018
|
-
currencyName: "Brazilian Real",
|
|
44019
|
-
currencyCodeHash: currencyKeccak2562("BRL"),
|
|
44020
|
-
currencySymbol: "R$",
|
|
44021
|
-
countryCode: "br"
|
|
44022
|
-
},
|
|
44023
|
-
[Currency.CAD]: {
|
|
44024
|
-
currency: Currency.CAD,
|
|
44025
|
-
currencyCode: "CAD",
|
|
44026
|
-
currencyName: "Canadian Dollar",
|
|
44027
|
-
currencyCodeHash: currencyKeccak2562("CAD"),
|
|
44028
|
-
currencySymbol: "C$",
|
|
44029
|
-
countryCode: "ca"
|
|
44030
|
-
},
|
|
44031
|
-
[Currency.CHF]: {
|
|
44032
|
-
currency: Currency.CHF,
|
|
44033
|
-
currencyCode: "CHF",
|
|
44034
|
-
currencyName: "Swiss Franc",
|
|
44035
|
-
currencyCodeHash: currencyKeccak2562("CHF"),
|
|
44036
|
-
currencySymbol: "Fr",
|
|
44037
|
-
countryCode: "ch"
|
|
44038
|
-
},
|
|
44039
|
-
[Currency.CNY]: {
|
|
44040
|
-
currency: Currency.CNY,
|
|
44041
|
-
currencyCode: "CNY",
|
|
44042
|
-
currencyName: "Chinese Yuan",
|
|
44043
|
-
currencyCodeHash: currencyKeccak2562("CNY"),
|
|
44044
|
-
currencySymbol: "\xA5",
|
|
44045
|
-
countryCode: "cn"
|
|
44046
|
-
},
|
|
44047
|
-
[Currency.CZK]: {
|
|
44048
|
-
currency: Currency.CZK,
|
|
44049
|
-
currencyCode: "CZK",
|
|
44050
|
-
currencyName: "Czech Koruna",
|
|
44051
|
-
currencyCodeHash: currencyKeccak2562("CZK"),
|
|
44052
|
-
currencySymbol: "K\u010D",
|
|
44053
|
-
countryCode: "cz"
|
|
44054
|
-
},
|
|
44055
|
-
[Currency.DKK]: {
|
|
44056
|
-
currency: Currency.DKK,
|
|
44057
|
-
currencyCode: "DKK",
|
|
44058
|
-
currencyName: "Danish Krone",
|
|
44059
|
-
currencyCodeHash: currencyKeccak2562("DKK"),
|
|
44060
|
-
currencySymbol: "kr",
|
|
44061
|
-
countryCode: "dk"
|
|
44062
|
-
},
|
|
44063
|
-
[Currency.EUR]: {
|
|
44064
|
-
currency: Currency.EUR,
|
|
44065
|
-
currencyCode: "EUR",
|
|
44066
|
-
currencyName: "Euro",
|
|
44067
|
-
currencyCodeHash: currencyKeccak2562("EUR"),
|
|
44068
|
-
currencySymbol: "\u20AC",
|
|
44069
|
-
countryCode: "eu"
|
|
44070
|
-
},
|
|
44071
|
-
[Currency.GBP]: {
|
|
44072
|
-
currency: Currency.GBP,
|
|
44073
|
-
currencyCode: "GBP",
|
|
44074
|
-
currencyName: "British Pound",
|
|
44075
|
-
currencyCodeHash: currencyKeccak2562("GBP"),
|
|
44076
|
-
currencySymbol: "\xA3",
|
|
44077
|
-
countryCode: "gb"
|
|
44078
|
-
},
|
|
44079
|
-
[Currency.HKD]: {
|
|
44080
|
-
currency: Currency.HKD,
|
|
44081
|
-
currencyCode: "HKD",
|
|
44082
|
-
currencyName: "Hong Kong Dollar",
|
|
44083
|
-
currencyCodeHash: currencyKeccak2562("HKD"),
|
|
44084
|
-
currencySymbol: "HK$",
|
|
44085
|
-
countryCode: "hk"
|
|
44086
|
-
},
|
|
44087
|
-
[Currency.HUF]: {
|
|
44088
|
-
currency: Currency.HUF,
|
|
44089
|
-
currencyCode: "HUF",
|
|
44090
|
-
currencyName: "Hungarian Forint",
|
|
44091
|
-
currencyCodeHash: currencyKeccak2562("HUF"),
|
|
44092
|
-
currencySymbol: "Ft",
|
|
44093
|
-
countryCode: "hu"
|
|
44094
|
-
},
|
|
44095
|
-
[Currency.IDR]: {
|
|
44096
|
-
currency: Currency.IDR,
|
|
44097
|
-
currencyCode: "IDR",
|
|
44098
|
-
currencyName: "Indonesian Rupiah",
|
|
44099
|
-
currencyCodeHash: currencyKeccak2562("IDR"),
|
|
44100
|
-
currencySymbol: "Rp",
|
|
44101
|
-
countryCode: "id"
|
|
44102
|
-
},
|
|
44103
|
-
[Currency.INR]: {
|
|
44104
|
-
currency: Currency.INR,
|
|
44105
|
-
currencyCode: "INR",
|
|
44106
|
-
currencyName: "Indian Rupee",
|
|
44107
|
-
currencyCodeHash: currencyKeccak2562("INR"),
|
|
44108
|
-
currencySymbol: "\u20B9",
|
|
44109
|
-
countryCode: "in"
|
|
44110
|
-
},
|
|
44111
|
-
[Currency.ILS]: {
|
|
44112
|
-
currency: Currency.ILS,
|
|
44113
|
-
currencyCode: "ILS",
|
|
44114
|
-
currencyName: "Israeli New Shekel",
|
|
44115
|
-
currencyCodeHash: currencyKeccak2562("ILS"),
|
|
44116
|
-
currencySymbol: "\u20AA",
|
|
44117
|
-
countryCode: "il"
|
|
44118
|
-
},
|
|
44119
|
-
[Currency.JPY]: {
|
|
44120
|
-
currency: Currency.JPY,
|
|
44121
|
-
currencyCode: "JPY",
|
|
44122
|
-
currencyName: "Japanese Yen",
|
|
44123
|
-
currencyCodeHash: currencyKeccak2562("JPY"),
|
|
44124
|
-
currencySymbol: "\xA5",
|
|
44125
|
-
countryCode: "jp"
|
|
44126
|
-
},
|
|
44127
|
-
[Currency.KES]: {
|
|
44128
|
-
currency: Currency.KES,
|
|
44129
|
-
currencyCode: "KES",
|
|
44130
|
-
currencyName: "Kenyan Shilling",
|
|
44131
|
-
currencyCodeHash: currencyKeccak2562("KES"),
|
|
44132
|
-
currencySymbol: "KSh",
|
|
44133
|
-
countryCode: "ke"
|
|
44134
|
-
},
|
|
44135
|
-
[Currency.MXN]: {
|
|
44136
|
-
currency: Currency.MXN,
|
|
44137
|
-
currencyCode: "MXN",
|
|
44138
|
-
currencyName: "Mexican Peso",
|
|
44139
|
-
currencyCodeHash: currencyKeccak2562("MXN"),
|
|
44140
|
-
currencySymbol: "$",
|
|
44141
|
-
countryCode: "mx"
|
|
44142
|
-
},
|
|
44143
|
-
[Currency.MYR]: {
|
|
44144
|
-
currency: Currency.MYR,
|
|
44145
|
-
currencyCode: "MYR",
|
|
44146
|
-
currencyName: "Malaysian Ringgit",
|
|
44147
|
-
currencyCodeHash: currencyKeccak2562("MYR"),
|
|
44148
|
-
currencySymbol: "RM",
|
|
44149
|
-
countryCode: "my"
|
|
44150
|
-
},
|
|
44151
|
-
[Currency.NOK]: {
|
|
44152
|
-
currency: Currency.NOK,
|
|
44153
|
-
currencyCode: "NOK",
|
|
44154
|
-
currencyName: "Norwegian Krone",
|
|
44155
|
-
currencyCodeHash: currencyKeccak2562("NOK"),
|
|
44156
|
-
currencySymbol: "kr",
|
|
44157
|
-
countryCode: "no"
|
|
44158
|
-
},
|
|
44159
|
-
[Currency.NZD]: {
|
|
44160
|
-
currency: Currency.NZD,
|
|
44161
|
-
currencyCode: "NZD",
|
|
44162
|
-
currencyName: "New Zealand Dollar",
|
|
44163
|
-
currencyCodeHash: currencyKeccak2562("NZD"),
|
|
44164
|
-
currencySymbol: "NZ$",
|
|
44165
|
-
countryCode: "nz"
|
|
44166
|
-
},
|
|
44167
|
-
[Currency.PHP]: {
|
|
44168
|
-
currency: Currency.PHP,
|
|
44169
|
-
currencyCode: "PHP",
|
|
44170
|
-
currencyName: "Philippine Peso",
|
|
44171
|
-
currencyCodeHash: currencyKeccak2562("PHP"),
|
|
44172
|
-
currencySymbol: "\u20B1",
|
|
44173
|
-
countryCode: "ph"
|
|
44174
|
-
},
|
|
44175
|
-
[Currency.PLN]: {
|
|
44176
|
-
currency: Currency.PLN,
|
|
44177
|
-
currencyCode: "PLN",
|
|
44178
|
-
currencyName: "Polish Z\u0142oty",
|
|
44179
|
-
currencyCodeHash: currencyKeccak2562("PLN"),
|
|
44180
|
-
currencySymbol: "z\u0142",
|
|
44181
|
-
countryCode: "pl"
|
|
44182
|
-
},
|
|
44183
|
-
[Currency.RON]: {
|
|
44184
|
-
currency: Currency.RON,
|
|
44185
|
-
currencyCode: "RON",
|
|
44186
|
-
currencyName: "Romanian Leu",
|
|
44187
|
-
currencyCodeHash: currencyKeccak2562("RON"),
|
|
44188
|
-
currencySymbol: "lei",
|
|
44189
|
-
countryCode: "ro"
|
|
44190
|
-
},
|
|
44191
|
-
[Currency.SAR]: {
|
|
44192
|
-
currency: Currency.SAR,
|
|
44193
|
-
currencyCode: "SAR",
|
|
44194
|
-
currencyName: "Saudi Riyal",
|
|
44195
|
-
currencyCodeHash: currencyKeccak2562("SAR"),
|
|
44196
|
-
currencySymbol: "\uFDFC",
|
|
44197
|
-
countryCode: "sa"
|
|
44198
|
-
},
|
|
44199
|
-
[Currency.SEK]: {
|
|
44200
|
-
currency: Currency.SEK,
|
|
44201
|
-
currencyCode: "SEK",
|
|
44202
|
-
currencyName: "Swedish Krona",
|
|
44203
|
-
currencyCodeHash: currencyKeccak2562("SEK"),
|
|
44204
|
-
currencySymbol: "kr",
|
|
44205
|
-
countryCode: "se"
|
|
44206
|
-
},
|
|
44207
|
-
[Currency.SGD]: {
|
|
44208
|
-
currency: Currency.SGD,
|
|
44209
|
-
currencyCode: "SGD",
|
|
44210
|
-
currencyName: "Singapore Dollar",
|
|
44211
|
-
currencyCodeHash: currencyKeccak2562("SGD"),
|
|
44212
|
-
currencySymbol: "S$",
|
|
44213
|
-
countryCode: "sg"
|
|
44214
|
-
},
|
|
44215
|
-
[Currency.THB]: {
|
|
44216
|
-
currency: Currency.THB,
|
|
44217
|
-
currencyCode: "THB",
|
|
44218
|
-
currencyName: "Thai Baht",
|
|
44219
|
-
currencyCodeHash: currencyKeccak2562("THB"),
|
|
44220
|
-
currencySymbol: "\u0E3F",
|
|
44221
|
-
countryCode: "th"
|
|
44222
|
-
},
|
|
44223
|
-
[Currency.TRY]: {
|
|
44224
|
-
currency: Currency.TRY,
|
|
44225
|
-
currencyCode: "TRY",
|
|
44226
|
-
currencyName: "Turkish Lira",
|
|
44227
|
-
currencyCodeHash: currencyKeccak2562("TRY"),
|
|
44228
|
-
currencySymbol: "\u20BA",
|
|
44229
|
-
countryCode: "tr"
|
|
44230
|
-
},
|
|
44231
|
-
[Currency.UGX]: {
|
|
44232
|
-
currency: Currency.UGX,
|
|
44233
|
-
currencyCode: "UGX",
|
|
44234
|
-
currencyName: "Ugandan Shilling",
|
|
44235
|
-
currencyCodeHash: currencyKeccak2562("UGX"),
|
|
44236
|
-
currencySymbol: "USh",
|
|
44237
|
-
countryCode: "ug"
|
|
44238
|
-
},
|
|
44239
|
-
[Currency.USD]: {
|
|
44240
|
-
currency: Currency.USD,
|
|
44241
|
-
currencyCode: "USD",
|
|
44242
|
-
currencyName: "United States Dollar",
|
|
44243
|
-
currencyCodeHash: currencyKeccak2562("USD"),
|
|
44244
|
-
currencySymbol: "$",
|
|
44245
|
-
countryCode: "us"
|
|
44246
|
-
},
|
|
44247
|
-
[Currency.VND]: {
|
|
44248
|
-
currency: Currency.VND,
|
|
44249
|
-
currencyCode: "VND",
|
|
44250
|
-
currencyName: "Vietnamese Dong",
|
|
44251
|
-
currencyCodeHash: currencyKeccak2562("VND"),
|
|
44252
|
-
currencySymbol: "\u20AB",
|
|
44253
|
-
countryCode: "vn"
|
|
44254
|
-
},
|
|
44255
|
-
[Currency.ZAR]: {
|
|
44256
|
-
currency: Currency.ZAR,
|
|
44257
|
-
currencyCode: "ZAR",
|
|
44258
|
-
currencyName: "South African Rand",
|
|
44259
|
-
currencyCodeHash: currencyKeccak2562("ZAR"),
|
|
44260
|
-
currencySymbol: "R",
|
|
44261
|
-
countryCode: "za"
|
|
44262
|
-
}
|
|
44263
|
-
};
|
|
44264
|
-
var PaymentPlatform = {
|
|
44265
|
-
VENMO: "venmo",
|
|
44266
|
-
CASHAPP: "cashapp",
|
|
44267
|
-
CHIME: "chime",
|
|
44268
|
-
LUXON: "luxon",
|
|
44269
|
-
REVOLUT: "revolut",
|
|
44270
|
-
WISE: "wise",
|
|
44271
|
-
MERCADO_PAGO: "mercadopago",
|
|
44272
|
-
ZELLE: "zelle",
|
|
44273
|
-
PAYPAL: "paypal",
|
|
44274
|
-
MONZO: "monzo",
|
|
44275
|
-
N26: "n26",
|
|
44276
|
-
ALIPAY: "alipay",
|
|
44277
|
-
UPI: "upi"
|
|
44278
|
-
};
|
|
44279
|
-
var paymentPlatforms = [...Object.values(PaymentPlatform)];
|
|
44280
|
-
var encodeZelleRecipientId = (recipientId) => {
|
|
44281
|
-
const payload = {
|
|
44282
|
-
name: "",
|
|
44283
|
-
action: "payment",
|
|
44284
|
-
token: recipientId
|
|
44285
|
-
};
|
|
44286
|
-
return btoa(JSON.stringify(payload));
|
|
44287
|
-
};
|
|
44288
|
-
var zelleBankOfAmericaSendConfig = {
|
|
44289
|
-
paymentMethodName: "Bank of America",
|
|
44290
|
-
paymentMethodIcon: void 0,
|
|
44291
|
-
// Icon provided by client-side assets
|
|
44292
|
-
defaultPaymentMode: "QR_CODE",
|
|
44293
|
-
useCustomQRCode: true,
|
|
44294
|
-
troubleScanningQRCodeLink: (recipientId, sendCurrency, amountFiatToSend) => `https://www.bankofamerica.com/`,
|
|
44295
|
-
getFormattedSendLink: (recipientId, sendCurrency, amountFiatToSend) => {
|
|
44296
|
-
return `https://www.bankofamerica.com/movemoney`;
|
|
44297
|
-
},
|
|
44298
|
-
deepLinkEmbedsRecipient: false,
|
|
44299
|
-
supportsSendingPaymentOnWeb: true,
|
|
44300
|
-
showTroubleScanningQRCodeLink: true,
|
|
44301
|
-
sendPaymentWarning: (sendCurrency, amountFiatToSend) => {
|
|
44302
|
-
return `Send exactly ${amountFiatToSend} ${currencyInfo[sendCurrency].currencyCode} in a single payment through Bank of America's Zelle.`;
|
|
44303
|
-
},
|
|
44304
|
-
sendPaymentInfo: (sendCurrency, amountFiatToSend) => {
|
|
44305
|
-
return `Only use Bank of America. Scan the QR code and manually enter the recipient email. Double-check the email before sending.`;
|
|
44306
|
-
},
|
|
44307
|
-
sendPaymentDos: (sendCurrency, amountFiatToSend) => [
|
|
44308
|
-
{ text: "Use Bank of America", emphasize: ["Bank of America"] },
|
|
44309
|
-
{
|
|
44310
|
-
text: "Scan the QR code and manually enter the recipient email",
|
|
44311
|
-
emphasize: ["manually", "recipient email"]
|
|
44312
|
-
},
|
|
44313
|
-
{
|
|
44314
|
-
text: "Double-check the email before sending",
|
|
44315
|
-
emphasize: ["Double-check"]
|
|
44316
|
-
},
|
|
44317
|
-
{
|
|
44318
|
-
text: `Send exactly ${amountFiatToSend} ${currencyInfo[sendCurrency].currencyCode} in a single payment`,
|
|
44319
|
-
emphasize: [
|
|
44320
|
-
"exactly",
|
|
44321
|
-
amountFiatToSend,
|
|
44322
|
-
currencyInfo[sendCurrency].currencyCode,
|
|
44323
|
-
"single"
|
|
44324
|
-
]
|
|
44325
|
-
}
|
|
44326
|
-
],
|
|
44327
|
-
sendPaymentDonts: () => [
|
|
44328
|
-
{ text: "Do not use any other bank", emphasize: ["Do not"] }
|
|
44329
|
-
]
|
|
44330
|
-
};
|
|
44331
|
-
var zelleBankOfAmericaVerifyConfig = {
|
|
44332
|
-
authLink: "https://www.bankofamerica.com/",
|
|
44333
|
-
actionType: "transfer_zelle_bofa",
|
|
44334
|
-
actionPlatform: PaymentPlatform.ZELLE,
|
|
44335
|
-
buyerTeeParams: {
|
|
44336
|
-
includeMetadataIndex: true
|
|
44337
|
-
},
|
|
44338
|
-
numPaymentsFetched: 15,
|
|
44339
|
-
minExtensionVersion: "0.6.3",
|
|
44340
|
-
supportsAppclip: false,
|
|
44341
|
-
totalProofs: 1,
|
|
44342
|
-
parseMetadata: (metadata) => {
|
|
44343
|
-
const amountStr = metadata.amount ?? "";
|
|
44344
|
-
let dateStr = metadata.date ?? "";
|
|
44345
|
-
if (dateStr && dateStr.length === 10) {
|
|
44346
|
-
dateStr = `${dateStr}T23:59:59`;
|
|
44347
|
-
}
|
|
44348
|
-
const recipientIdStr = metadata.recipient || "";
|
|
44349
|
-
return {
|
|
44350
|
-
amount: amountStr,
|
|
44351
|
-
parsedAmount: amountStr !== "",
|
|
44352
|
-
date: dateStr,
|
|
44353
|
-
parsedDate: dateStr !== "",
|
|
44354
|
-
recipientId: recipientIdStr,
|
|
44355
|
-
parsedRecipientId: false,
|
|
44356
|
-
currency: Currency.USD,
|
|
44357
|
-
parsedCurrency: true
|
|
44358
|
-
};
|
|
44359
|
-
},
|
|
44360
|
-
getSubjectText: (metadata) => {
|
|
44361
|
-
if (!metadata.amount || !metadata.recipient) {
|
|
44362
|
-
return "";
|
|
44363
|
-
}
|
|
44364
|
-
return `Transfer of $${Number(metadata.amount)} to ${metadata.recipient}`;
|
|
44365
|
-
}
|
|
44366
|
-
};
|
|
44367
|
-
var zelleChaseSendConfig = {
|
|
44368
|
-
paymentMethodName: "Chase",
|
|
44369
|
-
paymentMethodIcon: void 0,
|
|
44370
|
-
// Icon provided by client-side assets
|
|
44371
|
-
defaultPaymentMode: "QR_CODE",
|
|
44372
|
-
useCustomQRCode: true,
|
|
44373
|
-
troubleScanningQRCodeLink: (recipientId, sendCurrency, amountFiatToSend) => `https://secure.chase.com/web/auth/dashboard#/dashboard/singleDoor/singleDoorController/index`,
|
|
44374
|
-
getFormattedSendLink: (recipientId, sendCurrency, amountFiatToSend) => {
|
|
44375
|
-
const encodedRecipientId = encodeZelleRecipientId(recipientId);
|
|
44376
|
-
return `https://enroll.zellepay.com/qr-codes?data=${encodedRecipientId}`;
|
|
44377
|
-
},
|
|
44378
|
-
deepLinkEmbedsRecipient: true,
|
|
44379
|
-
supportsSendingPaymentOnWeb: true,
|
|
44380
|
-
showTroubleScanningQRCodeLink: true,
|
|
44381
|
-
sendPaymentWarning: (sendCurrency, amountFiatToSend) => {
|
|
44382
|
-
return `Send exactly ${amountFiatToSend} ${currencyInfo[sendCurrency].currencyCode} in a single payment through Chase's Zelle.`;
|
|
44383
|
-
},
|
|
44384
|
-
sendPaymentInfo: (sendCurrency, amountFiatToSend) => {
|
|
44385
|
-
return `Do not send using any other bank.`;
|
|
44386
|
-
},
|
|
44387
|
-
sendPaymentDos: (sendCurrency, amountFiatToSend) => [
|
|
44388
|
-
{ text: "Use Chase for this payment", emphasize: ["Chase"] },
|
|
44389
|
-
{
|
|
44390
|
-
text: `Send exactly ${amountFiatToSend} ${currencyInfo[sendCurrency].currencyCode} in a single payment`,
|
|
44391
|
-
emphasize: [
|
|
44392
|
-
"exactly",
|
|
44393
|
-
amountFiatToSend,
|
|
44394
|
-
currencyInfo[sendCurrency].currencyCode,
|
|
44395
|
-
"single"
|
|
44396
|
-
]
|
|
44397
|
-
}
|
|
44398
|
-
],
|
|
44399
|
-
sendPaymentDonts: () => [
|
|
44400
|
-
{ text: "Do not send using any other bank", emphasize: ["Do not"] }
|
|
44401
|
-
]
|
|
44402
|
-
};
|
|
44403
|
-
var zelleChaseVerifyConfig = {
|
|
44404
|
-
authLink: "https://secure.chase.com/web/auth/dashboard#/dashboard/singleDoor/payments/activity;params=qp,sentactivity",
|
|
44405
|
-
actionType: "transfer_zelle_chase",
|
|
44406
|
-
actionPlatform: PaymentPlatform.ZELLE,
|
|
44407
|
-
buyerTeeParams: {
|
|
44408
|
-
includeMetadataIndex: true
|
|
44409
|
-
},
|
|
44410
|
-
numPaymentsFetched: 15,
|
|
44411
|
-
minExtensionVersion: "0.6.3",
|
|
44412
|
-
supportsAppclip: false,
|
|
44413
|
-
totalProofs: 2,
|
|
44414
|
-
parseMetadata: (metadata) => {
|
|
44415
|
-
const amountStr = metadata.amount ?? "";
|
|
44416
|
-
let dateStr = metadata.date ?? "";
|
|
44417
|
-
if (dateStr && dateStr.length === 8) {
|
|
44418
|
-
const year = dateStr.substring(0, 4);
|
|
44419
|
-
const month = dateStr.substring(4, 6);
|
|
44420
|
-
const day = dateStr.substring(6, 8);
|
|
44421
|
-
dateStr = `${year}-${month}-${day}T23:59:59`;
|
|
44422
|
-
}
|
|
44423
|
-
const recipientIdStr = metadata.recipient || "";
|
|
44424
|
-
return {
|
|
44425
|
-
amount: amountStr,
|
|
44426
|
-
parsedAmount: amountStr !== "",
|
|
44427
|
-
date: dateStr,
|
|
44428
|
-
parsedDate: dateStr !== "",
|
|
44429
|
-
recipientId: recipientIdStr,
|
|
44430
|
-
parsedRecipientId: false,
|
|
44431
|
-
currency: Currency.USD,
|
|
44432
|
-
parsedCurrency: true
|
|
44433
|
-
};
|
|
44434
|
-
},
|
|
44435
|
-
getSubjectText: (metadata) => {
|
|
44436
|
-
if (!metadata.amount || !metadata.recipient) {
|
|
44437
|
-
return "";
|
|
44438
|
-
}
|
|
44439
|
-
return `Transfer of $${Number(metadata.amount)} to ${metadata.recipient}`;
|
|
44440
|
-
}
|
|
44441
|
-
};
|
|
44442
|
-
var zelleCitiSendConfig = {
|
|
44443
|
-
paymentMethodName: "Citi",
|
|
44444
|
-
paymentMethodIcon: void 0,
|
|
44445
|
-
// Icon provided by client-side assets
|
|
44446
|
-
defaultPaymentMode: "QR_CODE",
|
|
44447
|
-
useCustomQRCode: true,
|
|
44448
|
-
troubleScanningQRCodeLink: (recipientId, sendCurrency, amountFiatToSend) => `https://online.citi.com/US/nga/zelle/transfer`,
|
|
44449
|
-
getFormattedSendLink: (recipientId, sendCurrency, amountFiatToSend) => {
|
|
44450
|
-
const encodedRecipientId = encodeZelleRecipientId(recipientId);
|
|
44451
|
-
return `https://enroll.zellepay.com/qr-codes?data=${encodedRecipientId}`;
|
|
44452
|
-
},
|
|
44453
|
-
deepLinkEmbedsRecipient: true,
|
|
44454
|
-
supportsSendingPaymentOnWeb: true,
|
|
44455
|
-
showTroubleScanningQRCodeLink: true,
|
|
44456
|
-
sendPaymentWarning: (sendCurrency, amountFiatToSend) => {
|
|
44457
|
-
return `Send exactly ${amountFiatToSend} ${currencyInfo[sendCurrency].currencyCode} in a single payment through Citi's Zelle.`;
|
|
44458
|
-
},
|
|
44459
|
-
sendPaymentInfo: (sendCurrency, amountFiatToSend) => {
|
|
44460
|
-
return `Do not send using any other bank.`;
|
|
44461
|
-
},
|
|
44462
|
-
sendPaymentDos: (sendCurrency, amountFiatToSend) => [
|
|
44463
|
-
{ text: "Use Citi for this payment", emphasize: ["Citi"] },
|
|
44464
|
-
{
|
|
44465
|
-
text: `Send exactly ${amountFiatToSend} ${currencyInfo[sendCurrency].currencyCode} in a single payment`,
|
|
44466
|
-
emphasize: [
|
|
44467
|
-
"exactly",
|
|
44468
|
-
amountFiatToSend,
|
|
44469
|
-
currencyInfo[sendCurrency].currencyCode,
|
|
44470
|
-
"single"
|
|
44471
|
-
]
|
|
44472
|
-
}
|
|
44473
|
-
],
|
|
44474
|
-
sendPaymentDonts: () => [
|
|
44475
|
-
{ text: "Do not send using any other bank", emphasize: ["Do not"] }
|
|
44476
|
-
]
|
|
44477
|
-
};
|
|
44478
|
-
var zelleCitiVerifyConfig = {
|
|
44479
|
-
authLink: "https://online.citi.com/US/nga/zelle/transfer",
|
|
44480
|
-
actionType: "transfer_zelle_citi",
|
|
44481
|
-
actionPlatform: PaymentPlatform.ZELLE,
|
|
44482
|
-
buyerTeeParams: {
|
|
44483
|
-
includeMetadataIndex: true
|
|
44484
|
-
},
|
|
44485
|
-
numPaymentsFetched: 15,
|
|
44486
|
-
minExtensionVersion: "0.6.3",
|
|
44487
|
-
supportsAppclip: false,
|
|
44488
|
-
totalProofs: 1,
|
|
44489
|
-
parseMetadata: (metadata) => {
|
|
44490
|
-
const amountStr = metadata.amount ?? "";
|
|
44491
|
-
let dateStr = metadata.date ?? "";
|
|
44492
|
-
if (dateStr && dateStr.length === 8) {
|
|
44493
|
-
const year = dateStr.substring(0, 4);
|
|
44494
|
-
const month = dateStr.substring(4, 6);
|
|
44495
|
-
const day = dateStr.substring(6, 8);
|
|
44496
|
-
dateStr = `${year}-${month}-${day}T23:59:59`;
|
|
44497
|
-
}
|
|
44498
|
-
const recipientIdStr = metadata.recipient || "";
|
|
44499
|
-
return {
|
|
44500
|
-
amount: amountStr,
|
|
44501
|
-
parsedAmount: amountStr !== "",
|
|
44502
|
-
date: dateStr,
|
|
44503
|
-
parsedDate: dateStr !== "",
|
|
44504
|
-
recipientId: recipientIdStr,
|
|
44505
|
-
parsedRecipientId: recipientIdStr !== "",
|
|
44506
|
-
currency: Currency.USD,
|
|
44507
|
-
parsedCurrency: true
|
|
44508
|
-
};
|
|
44509
|
-
},
|
|
44510
|
-
getSubjectText: (metadata) => {
|
|
44511
|
-
if (!metadata.amount || !metadata.recipient) {
|
|
44512
|
-
return "";
|
|
44513
|
-
}
|
|
44514
|
-
return `Transfer of $${Number(metadata.amount)} to ${metadata.recipient}`;
|
|
44515
|
-
}
|
|
44516
|
-
};
|
|
44517
|
-
var genericZelleBankRoutes = [
|
|
44518
|
-
{
|
|
44519
|
-
bankId: "chase",
|
|
44520
|
-
sendConfig: zelleChaseSendConfig,
|
|
44521
|
-
verifyConfig: zelleChaseVerifyConfig
|
|
44522
|
-
},
|
|
44523
|
-
{
|
|
44524
|
-
bankId: "bofa",
|
|
44525
|
-
sendConfig: zelleBankOfAmericaSendConfig,
|
|
44526
|
-
verifyConfig: zelleBankOfAmericaVerifyConfig
|
|
44527
|
-
},
|
|
44528
|
-
{
|
|
44529
|
-
bankId: "citi",
|
|
44530
|
-
sendConfig: zelleCitiSendConfig,
|
|
44531
|
-
verifyConfig: zelleCitiVerifyConfig
|
|
44532
|
-
}
|
|
44533
|
-
];
|
|
44534
|
-
genericZelleBankRoutes.map(({ sendConfig, verifyConfig }) => ({
|
|
44535
|
-
sendConfig,
|
|
44536
|
-
verifyConfig
|
|
44537
|
-
}));
|
|
44538
|
-
var DISPUTE_PROTECTION_STAKE_PLATFORMS = [
|
|
44539
|
-
PaymentPlatform.VENMO,
|
|
44540
|
-
PaymentPlatform.PAYPAL
|
|
44541
|
-
];
|
|
44542
|
-
new Set(
|
|
44543
|
-
DISPUTE_PROTECTION_STAKE_PLATFORMS
|
|
44544
|
-
);
|
|
44545
|
-
var lookups_default2 = {
|
|
44546
|
-
nameToHash: {
|
|
44547
|
-
venmo: "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
44548
|
-
revolut: "0x617f88ab82b5c1b014c539f7e75121427f0bb50a4c58b187a238531e7d58605d",
|
|
44549
|
-
cashapp: "0x10940ee67cfb3c6c064569ec92c0ee934cd7afa18dd2ca2d6a2254fcb009c17d",
|
|
44550
|
-
wise: "0x554a007c2217df766b977723b276671aee5ebb4adaea0edb6433c88b3e61dac5",
|
|
44551
|
-
mercadopago: "0xa5418819c024239299ea32e09defae8ec412c03e58f5c75f1b2fe84c857f5483",
|
|
44552
|
-
zelle: "0xf752c7d19698ecb0bb8988abf9b9a53a4c3657f3bc8850a6fb59fdf3e3ce8cd3",
|
|
44553
|
-
paypal: "0x3ccc3d4d5e769b1f82dc4988485551dc0cd3c7a3926d7d8a4dde91507199490f",
|
|
44554
|
-
monzo: "0x62c7ed738ad3e7618111348af32691b5767777fbaf46a2d8943237625552645c",
|
|
44555
|
-
alipay: "0xcac9daea62d7b89d75ac73af4ee14dcf25721012ae82b568c2ea5c808eaa04ff",
|
|
44556
|
-
chime: "0x5908bb0c9b87763ac6171d4104847667e7f02b4c47b574fe890c1f439ed128bb",
|
|
44557
|
-
mercury: "0xf81480907d808d639ad3230869e4b05a3b01b2d34e323af40f2efab807effd32"
|
|
44558
|
-
},
|
|
44559
|
-
hashToName: {
|
|
44560
|
-
"0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268": "venmo",
|
|
44561
|
-
"0x617f88ab82b5c1b014c539f7e75121427f0bb50a4c58b187a238531e7d58605d": "revolut",
|
|
44562
|
-
"0x10940ee67cfb3c6c064569ec92c0ee934cd7afa18dd2ca2d6a2254fcb009c17d": "cashapp",
|
|
44563
|
-
"0x554a007c2217df766b977723b276671aee5ebb4adaea0edb6433c88b3e61dac5": "wise",
|
|
44564
|
-
"0xa5418819c024239299ea32e09defae8ec412c03e58f5c75f1b2fe84c857f5483": "mercadopago",
|
|
44565
|
-
"0xf752c7d19698ecb0bb8988abf9b9a53a4c3657f3bc8850a6fb59fdf3e3ce8cd3": "zelle",
|
|
44566
|
-
"0x3ccc3d4d5e769b1f82dc4988485551dc0cd3c7a3926d7d8a4dde91507199490f": "paypal",
|
|
44567
|
-
"0x62c7ed738ad3e7618111348af32691b5767777fbaf46a2d8943237625552645c": "monzo",
|
|
44568
|
-
"0xcac9daea62d7b89d75ac73af4ee14dcf25721012ae82b568c2ea5c808eaa04ff": "alipay",
|
|
44569
|
-
"0x5908bb0c9b87763ac6171d4104847667e7f02b4c47b574fe890c1f439ed128bb": "chime",
|
|
44570
|
-
"0xf81480907d808d639ad3230869e4b05a3b01b2d34e323af40f2efab807effd32": "mercury",
|
|
44571
|
-
"0xd9ff4fd6b39a3e3dd43c41d05662a5547de4a878bc97a65bcb352ade493cdc6b": "n26",
|
|
44572
|
-
"0xaea63ef983458674f54ee50cdaa7b09d80a5c6c03ed505f51c90b0f2b54abb01": "luxon"
|
|
44573
|
-
}
|
|
44574
|
-
};
|
|
44575
|
-
var UPI_PAYMENT_METHOD_HASH = "0xe99a5081226cbbff9440a63da5caa04fa30f210c12c4dd9976132ac075054cd9";
|
|
44576
|
-
var ACTIVE_PAYMENT_METHOD_NAMES = new Set(paymentPlatforms);
|
|
44577
|
-
Object.setPrototypeOf(
|
|
44578
|
-
{
|
|
44579
|
-
...Object.fromEntries(
|
|
44580
|
-
Object.entries(lookups_default2.nameToHash).filter(
|
|
44581
|
-
([name]) => ACTIVE_PAYMENT_METHOD_NAMES.has(name)
|
|
44582
|
-
)
|
|
44583
|
-
),
|
|
44584
|
-
upi: UPI_PAYMENT_METHOD_HASH
|
|
44585
|
-
},
|
|
44586
|
-
null
|
|
44587
|
-
);
|
|
44588
|
-
Object.entries({ ...lookups_default2.hashToName, [UPI_PAYMENT_METHOD_HASH]: "upi" }).filter(([, name]) => ACTIVE_PAYMENT_METHOD_NAMES.has(name)).reduce(
|
|
44589
|
-
(acc, [hash, name]) => {
|
|
44590
|
-
acc[hash.toLowerCase()] = name;
|
|
44591
|
-
return acc;
|
|
44592
|
-
},
|
|
44593
|
-
{}
|
|
44594
|
-
);
|
|
44595
|
-
BigInt(5e9);
|
|
44596
|
-
BigInt(1e9);
|
|
44597
|
-
BigInt(2e9);
|
|
44598
|
-
usdcUnits(0.1);
|
|
44599
43964
|
|
|
44600
43965
|
// src/types/index.ts
|
|
44601
43966
|
var PAYMENT_PLATFORMS = [
|
|
@@ -44612,21 +43977,18 @@ var PAYMENT_PLATFORMS = [
|
|
|
44612
43977
|
"n26",
|
|
44613
43978
|
"upi"
|
|
44614
43979
|
];
|
|
44615
|
-
var
|
|
44616
|
-
var
|
|
44617
|
-
|
|
44618
|
-
|
|
44619
|
-
|
|
44620
|
-
),
|
|
44621
|
-
upi: UPI_PAYMENT_METHOD_HASH
|
|
44622
|
-
},
|
|
43980
|
+
var ACTIVE_PAYMENT_METHOD_NAMES = /* @__PURE__ */ new Set([...PAYMENT_PLATFORMS, "alipay"]);
|
|
43981
|
+
var METHOD_NAME_TO_HASH = Object.setPrototypeOf(
|
|
43982
|
+
Object.fromEntries(
|
|
43983
|
+
Object.entries(lookups_default.nameToHash).filter(([name]) => ACTIVE_PAYMENT_METHOD_NAMES.has(name))
|
|
43984
|
+
),
|
|
44623
43985
|
null
|
|
44624
43986
|
);
|
|
44625
43987
|
var SUPPORTED_PAYMENT_METHOD_HASHES = new Set(
|
|
44626
|
-
Object.values(
|
|
43988
|
+
Object.values(METHOD_NAME_TO_HASH).map((hash) => hash.toLowerCase())
|
|
44627
43989
|
);
|
|
44628
43990
|
var matchesPaymentMethodNameAndHash = (paymentMethodName, paymentMethodHash) => {
|
|
44629
|
-
const expectedHash =
|
|
43991
|
+
const expectedHash = METHOD_NAME_TO_HASH[paymentMethodName.trim().toLowerCase()];
|
|
44630
43992
|
return Boolean(
|
|
44631
43993
|
expectedHash && expectedHash.toLowerCase() === paymentMethodHash.trim().toLowerCase()
|
|
44632
43994
|
);
|
|
@@ -44634,15 +43996,12 @@ var matchesPaymentMethodNameAndHash = (paymentMethodName, paymentMethodHash) =>
|
|
|
44634
43996
|
var matchesQuotePaymentMethod = (processorName, paymentMethod) => {
|
|
44635
43997
|
const normalizedProcessorName = processorName.trim().toLowerCase();
|
|
44636
43998
|
const normalizedPaymentMethod = paymentMethod.trim().toLowerCase();
|
|
44637
|
-
const expectedHash =
|
|
43999
|
+
const expectedHash = METHOD_NAME_TO_HASH[normalizedProcessorName];
|
|
44638
44000
|
return Boolean(
|
|
44639
44001
|
expectedHash && (normalizedPaymentMethod === normalizedProcessorName || normalizedPaymentMethod === expectedHash.toLowerCase())
|
|
44640
44002
|
);
|
|
44641
44003
|
};
|
|
44642
|
-
var
|
|
44643
|
-
...lookups_default.hashToName,
|
|
44644
|
-
[UPI_PAYMENT_METHOD_HASH]: "upi"
|
|
44645
|
-
}).filter(([, name]) => ACTIVE_PAYMENT_METHOD_NAMES2.has(name)).reduce(
|
|
44004
|
+
var HASH_TO_METHOD_NAME = Object.entries(lookups_default.hashToName).filter(([, name]) => ACTIVE_PAYMENT_METHOD_NAMES.has(name)).reduce(
|
|
44646
44005
|
(acc, [hash, name]) => {
|
|
44647
44006
|
acc[hash.toLowerCase()] = name;
|
|
44648
44007
|
return acc;
|
|
@@ -44650,7 +44009,7 @@ var HASH_TO_METHOD_NAME2 = Object.entries({
|
|
|
44650
44009
|
{}
|
|
44651
44010
|
);
|
|
44652
44011
|
|
|
44653
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
44012
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/addresses/base.js
|
|
44654
44013
|
var data71 = {
|
|
44655
44014
|
"name": "base",
|
|
44656
44015
|
"chainId": 8453,
|
|
@@ -44694,12 +44053,12 @@ var data71 = {
|
|
|
44694
44053
|
"selectionHash": "ba40c2954b408d0c658881a8d28e5bfcc9bade5cc3d953fd17eae1eca69d841c"
|
|
44695
44054
|
},
|
|
44696
44055
|
"meta": {
|
|
44697
|
-
"generatedAt": "2026-
|
|
44056
|
+
"generatedAt": "2026-09-10T06:38:53.438Z"
|
|
44698
44057
|
}
|
|
44699
44058
|
};
|
|
44700
44059
|
var base_default4 = data71;
|
|
44701
44060
|
|
|
44702
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
44061
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/addresses/baseStaging.js
|
|
44703
44062
|
var data72 = {
|
|
44704
44063
|
"name": "base_staging",
|
|
44705
44064
|
"chainId": 8453,
|
|
@@ -44743,12 +44102,12 @@ var data72 = {
|
|
|
44743
44102
|
"selectionHash": "6c49c1ce51eec594a22385c4efcab08aa9926b6b63a725e14a0027ec5d2f4fc9"
|
|
44744
44103
|
},
|
|
44745
44104
|
"meta": {
|
|
44746
|
-
"generatedAt": "2026-
|
|
44105
|
+
"generatedAt": "2026-09-10T06:38:53.438Z"
|
|
44747
44106
|
}
|
|
44748
44107
|
};
|
|
44749
44108
|
var baseStaging_default4 = data72;
|
|
44750
44109
|
|
|
44751
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
44110
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/abis/base.mjs
|
|
44752
44111
|
var base_exports2 = {};
|
|
44753
44112
|
__export(base_exports2, {
|
|
44754
44113
|
AddressGroupRegistry: () => AddressGroupRegistry_default3,
|
|
@@ -44786,7 +44145,7 @@ __export(base_exports2, {
|
|
|
44786
44145
|
WhitelistPreIntentHook: () => WhitelistPreIntentHook_default3
|
|
44787
44146
|
});
|
|
44788
44147
|
|
|
44789
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
44148
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/AddressGroupRegistry.js
|
|
44790
44149
|
var data73 = [
|
|
44791
44150
|
{
|
|
44792
44151
|
"inputs": [],
|
|
@@ -45346,7 +44705,7 @@ var data73 = [
|
|
|
45346
44705
|
];
|
|
45347
44706
|
var AddressGroupRegistry_default3 = data73;
|
|
45348
44707
|
|
|
45349
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
44708
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/ChainlinkOracleAdapter.js
|
|
45350
44709
|
var data74 = [
|
|
45351
44710
|
{
|
|
45352
44711
|
"inputs": [
|
|
@@ -45399,7 +44758,7 @@ var data74 = [
|
|
|
45399
44758
|
];
|
|
45400
44759
|
var ChainlinkOracleAdapter_default3 = data74;
|
|
45401
44760
|
|
|
45402
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
44761
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/DisputeNullifierRegistry.js
|
|
45403
44762
|
var data75 = [
|
|
45404
44763
|
{
|
|
45405
44764
|
"inputs": [],
|
|
@@ -45615,7 +44974,7 @@ var data75 = [
|
|
|
45615
44974
|
];
|
|
45616
44975
|
var DisputeNullifierRegistry_default3 = data75;
|
|
45617
44976
|
|
|
45618
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
44977
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/DisputeProtectionPolicy.js
|
|
45619
44978
|
var data76 = [
|
|
45620
44979
|
{
|
|
45621
44980
|
"inputs": [
|
|
@@ -46631,7 +45990,7 @@ var data76 = [
|
|
|
46631
45990
|
];
|
|
46632
45991
|
var DisputeProtectionPolicy_default3 = data76;
|
|
46633
45992
|
|
|
46634
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
45993
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/DisputeVerifier.js
|
|
46635
45994
|
var data77 = [
|
|
46636
45995
|
{
|
|
46637
45996
|
"inputs": [
|
|
@@ -47023,7 +46382,7 @@ var data77 = [
|
|
|
47023
46382
|
];
|
|
47024
46383
|
var DisputeVerifier_default3 = data77;
|
|
47025
46384
|
|
|
47026
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
46385
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/Escrow.js
|
|
47027
46386
|
var data78 = [
|
|
47028
46387
|
{
|
|
47029
46388
|
"inputs": [
|
|
@@ -49236,7 +48595,7 @@ var data78 = [
|
|
|
49236
48595
|
];
|
|
49237
48596
|
var Escrow_default3 = data78;
|
|
49238
48597
|
|
|
49239
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
48598
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/EscrowRegistry.js
|
|
49240
48599
|
var data79 = [
|
|
49241
48600
|
{
|
|
49242
48601
|
"inputs": [],
|
|
@@ -49453,7 +48812,7 @@ var data79 = [
|
|
|
49453
48812
|
];
|
|
49454
48813
|
var EscrowRegistry_default3 = data79;
|
|
49455
48814
|
|
|
49456
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
48815
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/EscrowV2.js
|
|
49457
48816
|
var data80 = [
|
|
49458
48817
|
{
|
|
49459
48818
|
"inputs": [
|
|
@@ -52473,7 +51832,7 @@ var data80 = [
|
|
|
52473
51832
|
];
|
|
52474
51833
|
var EscrowV2_default3 = data80;
|
|
52475
51834
|
|
|
52476
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
51835
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/IntentGuardian.js
|
|
52477
51836
|
var data81 = [
|
|
52478
51837
|
{
|
|
52479
51838
|
"inputs": [
|
|
@@ -52882,7 +52241,7 @@ var data81 = [
|
|
|
52882
52241
|
];
|
|
52883
52242
|
var IntentGuardian_default3 = data81;
|
|
52884
52243
|
|
|
52885
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
52244
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/IntentLifecycleHookV1.js
|
|
52886
52245
|
var data82 = [
|
|
52887
52246
|
{
|
|
52888
52247
|
"inputs": [
|
|
@@ -53082,7 +52441,7 @@ var data82 = [
|
|
|
53082
52441
|
];
|
|
53083
52442
|
var IntentLifecycleHookV1_default3 = data82;
|
|
53084
52443
|
|
|
53085
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
52444
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/MultiAttestationVerifier.js
|
|
53086
52445
|
var data83 = [
|
|
53087
52446
|
{
|
|
53088
52447
|
"inputs": [
|
|
@@ -53326,7 +52685,7 @@ var data83 = [
|
|
|
53326
52685
|
];
|
|
53327
52686
|
var MultiAttestationVerifier_default3 = data83;
|
|
53328
52687
|
|
|
53329
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
52688
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/NullifierRegistry.js
|
|
53330
52689
|
var data84 = [
|
|
53331
52690
|
{
|
|
53332
52691
|
"inputs": [],
|
|
@@ -53542,7 +52901,7 @@ var data84 = [
|
|
|
53542
52901
|
];
|
|
53543
52902
|
var NullifierRegistry_default3 = data84;
|
|
53544
52903
|
|
|
53545
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
52904
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/NullifierRegistryV2.js
|
|
53546
52905
|
var data85 = [
|
|
53547
52906
|
{
|
|
53548
52907
|
"inputs": [
|
|
@@ -53882,7 +53241,7 @@ var data85 = [
|
|
|
53882
53241
|
];
|
|
53883
53242
|
var NullifierRegistryV2_default3 = data85;
|
|
53884
53243
|
|
|
53885
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
53244
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/Orchestrator.js
|
|
53886
53245
|
var data86 = [
|
|
53887
53246
|
{
|
|
53888
53247
|
"inputs": [
|
|
@@ -55030,7 +54389,7 @@ var data86 = [
|
|
|
55030
54389
|
];
|
|
55031
54390
|
var Orchestrator_default3 = data86;
|
|
55032
54391
|
|
|
55033
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
54392
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/OrchestratorRegistry.js
|
|
55034
54393
|
var data87 = [
|
|
55035
54394
|
{
|
|
55036
54395
|
"inputs": [
|
|
@@ -55185,7 +54544,7 @@ var data87 = [
|
|
|
55185
54544
|
];
|
|
55186
54545
|
var OrchestratorRegistry_default3 = data87;
|
|
55187
54546
|
|
|
55188
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
54547
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/OrchestratorV2.js
|
|
55189
54548
|
var data88 = [
|
|
55190
54549
|
{
|
|
55191
54550
|
"inputs": [
|
|
@@ -56586,7 +55945,7 @@ var data88 = [
|
|
|
56586
55945
|
];
|
|
56587
55946
|
var OrchestratorV2_default3 = data88;
|
|
56588
55947
|
|
|
56589
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
55948
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/OrchestratorV3.js
|
|
56590
55949
|
var data89 = [
|
|
56591
55950
|
{
|
|
56592
55951
|
"inputs": [
|
|
@@ -57958,7 +57317,7 @@ var data89 = [
|
|
|
57958
57317
|
];
|
|
57959
57318
|
var OrchestratorV3_default3 = data89;
|
|
57960
57319
|
|
|
57961
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
57320
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/PaymentVerifierRegistry.js
|
|
57962
57321
|
var data90 = [
|
|
57963
57322
|
{
|
|
57964
57323
|
"inputs": [],
|
|
@@ -58293,7 +57652,7 @@ var data90 = [
|
|
|
58293
57652
|
];
|
|
58294
57653
|
var PaymentVerifierRegistry_default3 = data90;
|
|
58295
57654
|
|
|
58296
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
57655
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/PostIntentHookRegistry.js
|
|
58297
57656
|
var data91 = [
|
|
58298
57657
|
{
|
|
58299
57658
|
"inputs": [],
|
|
@@ -58477,7 +57836,7 @@ var data91 = [
|
|
|
58477
57836
|
];
|
|
58478
57837
|
var PostIntentHookRegistry_default3 = data91;
|
|
58479
57838
|
|
|
58480
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
57839
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/ProtocolViewer.js
|
|
58481
57840
|
var data92 = [
|
|
58482
57841
|
{
|
|
58483
57842
|
"inputs": [
|
|
@@ -59697,7 +59056,7 @@ var data92 = [
|
|
|
59697
59056
|
];
|
|
59698
59057
|
var ProtocolViewer_default3 = data92;
|
|
59699
59058
|
|
|
59700
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
59059
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/ProtocolViewerV2.js
|
|
59701
59060
|
var data93 = [
|
|
59702
59061
|
{
|
|
59703
59062
|
"inputs": [
|
|
@@ -60792,7 +60151,7 @@ var data93 = [
|
|
|
60792
60151
|
];
|
|
60793
60152
|
var ProtocolViewerV2_default3 = data93;
|
|
60794
60153
|
|
|
60795
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
60154
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/PythOracleAdapter.js
|
|
60796
60155
|
var data94 = [
|
|
60797
60156
|
{
|
|
60798
60157
|
"inputs": [
|
|
@@ -60869,7 +60228,7 @@ var data94 = [
|
|
|
60869
60228
|
];
|
|
60870
60229
|
var PythOracleAdapter_default3 = data94;
|
|
60871
60230
|
|
|
60872
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
60231
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/RateManagerV1.js
|
|
60873
60232
|
var data95 = [
|
|
60874
60233
|
{
|
|
60875
60234
|
"inputs": [
|
|
@@ -61625,7 +60984,7 @@ var data95 = [
|
|
|
61625
60984
|
];
|
|
61626
60985
|
var RateManagerV1_default3 = data95;
|
|
61627
60986
|
|
|
61628
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
60987
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/RelayerRegistry.js
|
|
61629
60988
|
var data96 = [
|
|
61630
60989
|
{
|
|
61631
60990
|
"inputs": [],
|
|
@@ -61790,7 +61149,7 @@ var data96 = [
|
|
|
61790
61149
|
];
|
|
61791
61150
|
var RelayerRegistry_default3 = data96;
|
|
61792
61151
|
|
|
61793
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
61152
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/SignatureGatingPreIntentHook.js
|
|
61794
61153
|
var data97 = [
|
|
61795
61154
|
{
|
|
61796
61155
|
"inputs": [
|
|
@@ -62090,7 +61449,7 @@ var data97 = [
|
|
|
62090
61449
|
];
|
|
62091
61450
|
var SignatureGatingPreIntentHook_default3 = data97;
|
|
62092
61451
|
|
|
62093
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
61452
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/SimpleAttestationVerifier.js
|
|
62094
61453
|
var data98 = [
|
|
62095
61454
|
{
|
|
62096
61455
|
"inputs": [
|
|
@@ -62245,7 +61604,7 @@ var data98 = [
|
|
|
62245
61604
|
];
|
|
62246
61605
|
var SimpleAttestationVerifier_default3 = data98;
|
|
62247
61606
|
|
|
62248
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
61607
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/StakeVault.js
|
|
62249
61608
|
var data99 = [
|
|
62250
61609
|
{
|
|
62251
61610
|
"inputs": [
|
|
@@ -63733,7 +63092,7 @@ var data99 = [
|
|
|
63733
63092
|
];
|
|
63734
63093
|
var StakeVault_default3 = data99;
|
|
63735
63094
|
|
|
63736
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
63095
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/UnifiedPaymentVerifier.js
|
|
63737
63096
|
var data100 = [
|
|
63738
63097
|
{
|
|
63739
63098
|
"inputs": [
|
|
@@ -64100,7 +63459,7 @@ var data100 = [
|
|
|
64100
63459
|
];
|
|
64101
63460
|
var UnifiedPaymentVerifier_default3 = data100;
|
|
64102
63461
|
|
|
64103
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
63462
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/UnifiedPaymentVerifierV2.js
|
|
64104
63463
|
var data101 = [
|
|
64105
63464
|
{
|
|
64106
63465
|
"inputs": [
|
|
@@ -64467,7 +63826,7 @@ var data101 = [
|
|
|
64467
63826
|
];
|
|
64468
63827
|
var UnifiedPaymentVerifierV2_default3 = data101;
|
|
64469
63828
|
|
|
64470
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
63829
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/UnifiedPaymentVerifierV3.js
|
|
64471
63830
|
var data102 = [
|
|
64472
63831
|
{
|
|
64473
63832
|
"inputs": [
|
|
@@ -64834,7 +64193,7 @@ var data102 = [
|
|
|
64834
64193
|
];
|
|
64835
64194
|
var UnifiedPaymentVerifierV3_default3 = data102;
|
|
64836
64195
|
|
|
64837
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
64196
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/WhitelistLifecycleHook.js
|
|
64838
64197
|
var data103 = [
|
|
64839
64198
|
{
|
|
64840
64199
|
"inputs": [
|
|
@@ -65011,7 +64370,7 @@ var data103 = [
|
|
|
65011
64370
|
];
|
|
65012
64371
|
var WhitelistLifecycleHook_default3 = data103;
|
|
65013
64372
|
|
|
65014
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
64373
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/WhitelistPolicy.js
|
|
65015
64374
|
var data104 = [
|
|
65016
64375
|
{
|
|
65017
64376
|
"inputs": [
|
|
@@ -65942,7 +65301,7 @@ var data104 = [
|
|
|
65942
65301
|
];
|
|
65943
65302
|
var WhitelistPolicy_default3 = data104;
|
|
65944
65303
|
|
|
65945
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
65304
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/base/WhitelistPreIntentHook.js
|
|
65946
65305
|
var data105 = [
|
|
65947
65306
|
{
|
|
65948
65307
|
"inputs": [
|
|
@@ -66286,7 +65645,7 @@ var data105 = [
|
|
|
66286
65645
|
];
|
|
66287
65646
|
var WhitelistPreIntentHook_default3 = data105;
|
|
66288
65647
|
|
|
66289
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
65648
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/abis/baseStaging.mjs
|
|
66290
65649
|
var baseStaging_exports2 = {};
|
|
66291
65650
|
__export(baseStaging_exports2, {
|
|
66292
65651
|
AddressGroupRegistry: () => AddressGroupRegistry_default4,
|
|
@@ -66324,7 +65683,7 @@ __export(baseStaging_exports2, {
|
|
|
66324
65683
|
WhitelistPreIntentHook: () => WhitelistPreIntentHook_default4
|
|
66325
65684
|
});
|
|
66326
65685
|
|
|
66327
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
65686
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/AddressGroupRegistry.js
|
|
66328
65687
|
var data106 = [
|
|
66329
65688
|
{
|
|
66330
65689
|
"inputs": [],
|
|
@@ -66884,7 +66243,7 @@ var data106 = [
|
|
|
66884
66243
|
];
|
|
66885
66244
|
var AddressGroupRegistry_default4 = data106;
|
|
66886
66245
|
|
|
66887
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
66246
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/ChainlinkOracleAdapter.js
|
|
66888
66247
|
var data107 = [
|
|
66889
66248
|
{
|
|
66890
66249
|
"inputs": [
|
|
@@ -66937,7 +66296,7 @@ var data107 = [
|
|
|
66937
66296
|
];
|
|
66938
66297
|
var ChainlinkOracleAdapter_default4 = data107;
|
|
66939
66298
|
|
|
66940
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
66299
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/DisputeNullifierRegistry.js
|
|
66941
66300
|
var data108 = [
|
|
66942
66301
|
{
|
|
66943
66302
|
"inputs": [],
|
|
@@ -67153,7 +66512,7 @@ var data108 = [
|
|
|
67153
66512
|
];
|
|
67154
66513
|
var DisputeNullifierRegistry_default4 = data108;
|
|
67155
66514
|
|
|
67156
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
66515
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/DisputeProtectionPolicy.js
|
|
67157
66516
|
var data109 = [
|
|
67158
66517
|
{
|
|
67159
66518
|
"inputs": [
|
|
@@ -68169,7 +67528,7 @@ var data109 = [
|
|
|
68169
67528
|
];
|
|
68170
67529
|
var DisputeProtectionPolicy_default4 = data109;
|
|
68171
67530
|
|
|
68172
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
67531
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/DisputeVerifier.js
|
|
68173
67532
|
var data110 = [
|
|
68174
67533
|
{
|
|
68175
67534
|
"inputs": [
|
|
@@ -68561,7 +67920,7 @@ var data110 = [
|
|
|
68561
67920
|
];
|
|
68562
67921
|
var DisputeVerifier_default4 = data110;
|
|
68563
67922
|
|
|
68564
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
67923
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/Escrow.js
|
|
68565
67924
|
var data111 = [
|
|
68566
67925
|
{
|
|
68567
67926
|
"inputs": [
|
|
@@ -70774,7 +70133,7 @@ var data111 = [
|
|
|
70774
70133
|
];
|
|
70775
70134
|
var Escrow_default4 = data111;
|
|
70776
70135
|
|
|
70777
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
70136
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/EscrowRegistry.js
|
|
70778
70137
|
var data112 = [
|
|
70779
70138
|
{
|
|
70780
70139
|
"inputs": [],
|
|
@@ -70991,7 +70350,7 @@ var data112 = [
|
|
|
70991
70350
|
];
|
|
70992
70351
|
var EscrowRegistry_default4 = data112;
|
|
70993
70352
|
|
|
70994
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
70353
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/EscrowV2.js
|
|
70995
70354
|
var data113 = [
|
|
70996
70355
|
{
|
|
70997
70356
|
"inputs": [
|
|
@@ -74011,7 +73370,7 @@ var data113 = [
|
|
|
74011
73370
|
];
|
|
74012
73371
|
var EscrowV2_default4 = data113;
|
|
74013
73372
|
|
|
74014
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
73373
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/IntentGuardian.js
|
|
74015
73374
|
var data114 = [
|
|
74016
73375
|
{
|
|
74017
73376
|
"inputs": [
|
|
@@ -74420,7 +73779,7 @@ var data114 = [
|
|
|
74420
73779
|
];
|
|
74421
73780
|
var IntentGuardian_default4 = data114;
|
|
74422
73781
|
|
|
74423
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
73782
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/IntentLifecycleHookV1.js
|
|
74424
73783
|
var data115 = [
|
|
74425
73784
|
{
|
|
74426
73785
|
"inputs": [
|
|
@@ -74620,7 +73979,7 @@ var data115 = [
|
|
|
74620
73979
|
];
|
|
74621
73980
|
var IntentLifecycleHookV1_default4 = data115;
|
|
74622
73981
|
|
|
74623
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
73982
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/MultiAttestationVerifier.js
|
|
74624
73983
|
var data116 = [
|
|
74625
73984
|
{
|
|
74626
73985
|
"inputs": [
|
|
@@ -74864,7 +74223,7 @@ var data116 = [
|
|
|
74864
74223
|
];
|
|
74865
74224
|
var MultiAttestationVerifier_default4 = data116;
|
|
74866
74225
|
|
|
74867
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
74226
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/NullifierRegistry.js
|
|
74868
74227
|
var data117 = [
|
|
74869
74228
|
{
|
|
74870
74229
|
"inputs": [],
|
|
@@ -75080,7 +74439,7 @@ var data117 = [
|
|
|
75080
74439
|
];
|
|
75081
74440
|
var NullifierRegistry_default4 = data117;
|
|
75082
74441
|
|
|
75083
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
74442
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/NullifierRegistryV2.js
|
|
75084
74443
|
var data118 = [
|
|
75085
74444
|
{
|
|
75086
74445
|
"inputs": [
|
|
@@ -75420,7 +74779,7 @@ var data118 = [
|
|
|
75420
74779
|
];
|
|
75421
74780
|
var NullifierRegistryV2_default4 = data118;
|
|
75422
74781
|
|
|
75423
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
74782
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/Orchestrator.js
|
|
75424
74783
|
var data119 = [
|
|
75425
74784
|
{
|
|
75426
74785
|
"inputs": [
|
|
@@ -76568,7 +75927,7 @@ var data119 = [
|
|
|
76568
75927
|
];
|
|
76569
75928
|
var Orchestrator_default4 = data119;
|
|
76570
75929
|
|
|
76571
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
75930
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/OrchestratorRegistry.js
|
|
76572
75931
|
var data120 = [
|
|
76573
75932
|
{
|
|
76574
75933
|
"inputs": [
|
|
@@ -76723,7 +76082,7 @@ var data120 = [
|
|
|
76723
76082
|
];
|
|
76724
76083
|
var OrchestratorRegistry_default4 = data120;
|
|
76725
76084
|
|
|
76726
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
76085
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/OrchestratorV2.js
|
|
76727
76086
|
var data121 = [
|
|
76728
76087
|
{
|
|
76729
76088
|
"inputs": [
|
|
@@ -78124,7 +77483,7 @@ var data121 = [
|
|
|
78124
77483
|
];
|
|
78125
77484
|
var OrchestratorV2_default4 = data121;
|
|
78126
77485
|
|
|
78127
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
77486
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/OrchestratorV3.js
|
|
78128
77487
|
var data122 = [
|
|
78129
77488
|
{
|
|
78130
77489
|
"inputs": [
|
|
@@ -79496,7 +78855,7 @@ var data122 = [
|
|
|
79496
78855
|
];
|
|
79497
78856
|
var OrchestratorV3_default4 = data122;
|
|
79498
78857
|
|
|
79499
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
78858
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/PaymentVerifierRegistry.js
|
|
79500
78859
|
var data123 = [
|
|
79501
78860
|
{
|
|
79502
78861
|
"inputs": [],
|
|
@@ -79831,7 +79190,7 @@ var data123 = [
|
|
|
79831
79190
|
];
|
|
79832
79191
|
var PaymentVerifierRegistry_default4 = data123;
|
|
79833
79192
|
|
|
79834
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
79193
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/PostIntentHookRegistry.js
|
|
79835
79194
|
var data124 = [
|
|
79836
79195
|
{
|
|
79837
79196
|
"inputs": [],
|
|
@@ -80015,7 +79374,7 @@ var data124 = [
|
|
|
80015
79374
|
];
|
|
80016
79375
|
var PostIntentHookRegistry_default4 = data124;
|
|
80017
79376
|
|
|
80018
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
79377
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/ProtocolViewer.js
|
|
80019
79378
|
var data125 = [
|
|
80020
79379
|
{
|
|
80021
79380
|
"inputs": [
|
|
@@ -81235,7 +80594,7 @@ var data125 = [
|
|
|
81235
80594
|
];
|
|
81236
80595
|
var ProtocolViewer_default4 = data125;
|
|
81237
80596
|
|
|
81238
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
80597
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/ProtocolViewerV2.js
|
|
81239
80598
|
var data126 = [
|
|
81240
80599
|
{
|
|
81241
80600
|
"inputs": [
|
|
@@ -82330,7 +81689,7 @@ var data126 = [
|
|
|
82330
81689
|
];
|
|
82331
81690
|
var ProtocolViewerV2_default4 = data126;
|
|
82332
81691
|
|
|
82333
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
81692
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/PythOracleAdapter.js
|
|
82334
81693
|
var data127 = [
|
|
82335
81694
|
{
|
|
82336
81695
|
"inputs": [
|
|
@@ -82407,7 +81766,7 @@ var data127 = [
|
|
|
82407
81766
|
];
|
|
82408
81767
|
var PythOracleAdapter_default4 = data127;
|
|
82409
81768
|
|
|
82410
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
81769
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/RateManagerV1.js
|
|
82411
81770
|
var data128 = [
|
|
82412
81771
|
{
|
|
82413
81772
|
"inputs": [
|
|
@@ -83163,7 +82522,7 @@ var data128 = [
|
|
|
83163
82522
|
];
|
|
83164
82523
|
var RateManagerV1_default4 = data128;
|
|
83165
82524
|
|
|
83166
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
82525
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/RelayerRegistry.js
|
|
83167
82526
|
var data129 = [
|
|
83168
82527
|
{
|
|
83169
82528
|
"inputs": [],
|
|
@@ -83328,7 +82687,7 @@ var data129 = [
|
|
|
83328
82687
|
];
|
|
83329
82688
|
var RelayerRegistry_default4 = data129;
|
|
83330
82689
|
|
|
83331
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
82690
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/SignatureGatingPreIntentHook.js
|
|
83332
82691
|
var data130 = [
|
|
83333
82692
|
{
|
|
83334
82693
|
"inputs": [
|
|
@@ -83628,7 +82987,7 @@ var data130 = [
|
|
|
83628
82987
|
];
|
|
83629
82988
|
var SignatureGatingPreIntentHook_default4 = data130;
|
|
83630
82989
|
|
|
83631
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
82990
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/SimpleAttestationVerifier.js
|
|
83632
82991
|
var data131 = [
|
|
83633
82992
|
{
|
|
83634
82993
|
"inputs": [
|
|
@@ -83783,7 +83142,7 @@ var data131 = [
|
|
|
83783
83142
|
];
|
|
83784
83143
|
var SimpleAttestationVerifier_default4 = data131;
|
|
83785
83144
|
|
|
83786
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
83145
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/StakeVault.js
|
|
83787
83146
|
var data132 = [
|
|
83788
83147
|
{
|
|
83789
83148
|
"inputs": [
|
|
@@ -85271,7 +84630,7 @@ var data132 = [
|
|
|
85271
84630
|
];
|
|
85272
84631
|
var StakeVault_default4 = data132;
|
|
85273
84632
|
|
|
85274
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
84633
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/UnifiedPaymentVerifier.js
|
|
85275
84634
|
var data133 = [
|
|
85276
84635
|
{
|
|
85277
84636
|
"inputs": [
|
|
@@ -85638,7 +84997,7 @@ var data133 = [
|
|
|
85638
84997
|
];
|
|
85639
84998
|
var UnifiedPaymentVerifier_default4 = data133;
|
|
85640
84999
|
|
|
85641
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
85000
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/UnifiedPaymentVerifierV2.js
|
|
85642
85001
|
var data134 = [
|
|
85643
85002
|
{
|
|
85644
85003
|
"inputs": [
|
|
@@ -86005,7 +85364,7 @@ var data134 = [
|
|
|
86005
85364
|
];
|
|
86006
85365
|
var UnifiedPaymentVerifierV2_default4 = data134;
|
|
86007
85366
|
|
|
86008
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
85367
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/UnifiedPaymentVerifierV3.js
|
|
86009
85368
|
var data135 = [
|
|
86010
85369
|
{
|
|
86011
85370
|
"inputs": [
|
|
@@ -86372,7 +85731,7 @@ var data135 = [
|
|
|
86372
85731
|
];
|
|
86373
85732
|
var UnifiedPaymentVerifierV3_default4 = data135;
|
|
86374
85733
|
|
|
86375
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
85734
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/WhitelistLifecycleHook.js
|
|
86376
85735
|
var data136 = [
|
|
86377
85736
|
{
|
|
86378
85737
|
"inputs": [
|
|
@@ -86549,7 +85908,7 @@ var data136 = [
|
|
|
86549
85908
|
];
|
|
86550
85909
|
var WhitelistLifecycleHook_default4 = data136;
|
|
86551
85910
|
|
|
86552
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
85911
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/WhitelistPolicy.js
|
|
86553
85912
|
var data137 = [
|
|
86554
85913
|
{
|
|
86555
85914
|
"inputs": [
|
|
@@ -87480,7 +86839,7 @@ var data137 = [
|
|
|
87480
86839
|
];
|
|
87481
86840
|
var WhitelistPolicy_default4 = data137;
|
|
87482
86841
|
|
|
87483
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
86842
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/WhitelistPreIntentHook.js
|
|
87484
86843
|
var data138 = [
|
|
87485
86844
|
{
|
|
87486
86845
|
"inputs": [
|
|
@@ -87824,7 +87183,7 @@ var data138 = [
|
|
|
87824
87183
|
];
|
|
87825
87184
|
var WhitelistPreIntentHook_default4 = data138;
|
|
87826
87185
|
|
|
87827
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
87186
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/abis/base/Escrow.json
|
|
87828
87187
|
var Escrow_default5 = [
|
|
87829
87188
|
{
|
|
87830
87189
|
inputs: [
|
|
@@ -90036,7 +89395,7 @@ var Escrow_default5 = [
|
|
|
90036
89395
|
}
|
|
90037
89396
|
];
|
|
90038
89397
|
|
|
90039
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
89398
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/abis/base/Orchestrator.json
|
|
90040
89399
|
var Orchestrator_default5 = [
|
|
90041
89400
|
{
|
|
90042
89401
|
inputs: [
|
|
@@ -91183,7 +90542,7 @@ var Orchestrator_default5 = [
|
|
|
91183
90542
|
}
|
|
91184
90543
|
];
|
|
91185
90544
|
|
|
91186
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
90545
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/abis/base/ProtocolViewer.json
|
|
91187
90546
|
var ProtocolViewer_default5 = [
|
|
91188
90547
|
{
|
|
91189
90548
|
inputs: [
|
|
@@ -92402,7 +91761,7 @@ var ProtocolViewer_default5 = [
|
|
|
92402
91761
|
}
|
|
92403
91762
|
];
|
|
92404
91763
|
|
|
92405
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
91764
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/abis/baseStaging/Escrow.json
|
|
92406
91765
|
var Escrow_default6 = [
|
|
92407
91766
|
{
|
|
92408
91767
|
inputs: [
|
|
@@ -94614,7 +93973,7 @@ var Escrow_default6 = [
|
|
|
94614
93973
|
}
|
|
94615
93974
|
];
|
|
94616
93975
|
|
|
94617
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
93976
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/abis/baseStaging/Orchestrator.json
|
|
94618
93977
|
var Orchestrator_default6 = [
|
|
94619
93978
|
{
|
|
94620
93979
|
inputs: [
|
|
@@ -95761,7 +95120,7 @@ var Orchestrator_default6 = [
|
|
|
95761
95120
|
}
|
|
95762
95121
|
];
|
|
95763
95122
|
|
|
95764
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
95123
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/abis/baseStaging/ProtocolViewer.json
|
|
95765
95124
|
var ProtocolViewer_default6 = [
|
|
95766
95125
|
{
|
|
95767
95126
|
inputs: [
|
|
@@ -96980,7 +96339,7 @@ var ProtocolViewer_default6 = [
|
|
|
96980
96339
|
}
|
|
96981
96340
|
];
|
|
96982
96341
|
|
|
96983
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
96342
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/abis/baseStaging/IntentGuardian.json
|
|
96984
96343
|
var IntentGuardian_default5 = [
|
|
96985
96344
|
{
|
|
96986
96345
|
inputs: [
|
|
@@ -97388,7 +96747,7 @@ var IntentGuardian_default5 = [
|
|
|
97388
96747
|
}
|
|
97389
96748
|
];
|
|
97390
96749
|
|
|
97391
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
96750
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/constants/base.js
|
|
97392
96751
|
var data139 = {
|
|
97393
96752
|
"INTENT_EXPIRATION_PERIOD": "21600",
|
|
97394
96753
|
"PROTOCOL_TAKER_FEE": "0",
|
|
@@ -97402,7 +96761,7 @@ var data139 = {
|
|
|
97402
96761
|
};
|
|
97403
96762
|
var base_default5 = data139;
|
|
97404
96763
|
|
|
97405
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
96764
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/constants/baseStaging.js
|
|
97406
96765
|
var data140 = {
|
|
97407
96766
|
"INTENT_EXPIRATION_PERIOD": "3600",
|
|
97408
96767
|
"PROTOCOL_TAKER_FEE": "0",
|
|
@@ -97416,11 +96775,11 @@ var data140 = {
|
|
|
97416
96775
|
};
|
|
97417
96776
|
var baseStaging_default5 = data140;
|
|
97418
96777
|
|
|
97419
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
96778
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/paymentMethods/base.json
|
|
97420
96779
|
var base_default6 = {
|
|
97421
96780
|
network: "base",
|
|
97422
96781
|
chainId: "8453",
|
|
97423
|
-
generatedAt: "2026-
|
|
96782
|
+
generatedAt: "2026-09-10T06:39:05.719Z",
|
|
97424
96783
|
methods: {
|
|
97425
96784
|
venmo: {
|
|
97426
96785
|
paymentMethodHash: "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
@@ -97560,14 +96919,22 @@ var base_default6 = {
|
|
|
97560
96919
|
],
|
|
97561
96920
|
timestampBuffer: 30,
|
|
97562
96921
|
providerHashes: []
|
|
96922
|
+
},
|
|
96923
|
+
upi: {
|
|
96924
|
+
paymentMethodHash: "0xe99a5081226cbbff9440a63da5caa04fa30f210c12c4dd9976132ac075054cd9",
|
|
96925
|
+
currencies: [
|
|
96926
|
+
"0xaad766fbc07fb357bed9fd8b03b935f2f71fe29fc48f08274bc2a01d7f642afc"
|
|
96927
|
+
],
|
|
96928
|
+
timestampBuffer: 30,
|
|
96929
|
+
providerHashes: []
|
|
97563
96930
|
}
|
|
97564
96931
|
}
|
|
97565
96932
|
};
|
|
97566
96933
|
|
|
97567
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
96934
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/paymentMethods/baseStaging.json
|
|
97568
96935
|
var baseStaging_default6 = {
|
|
97569
96936
|
network: "base_staging",
|
|
97570
|
-
generatedAt: "2026-
|
|
96937
|
+
generatedAt: "2026-09-10T06:39:05.719Z",
|
|
97571
96938
|
methods: {
|
|
97572
96939
|
venmo: {
|
|
97573
96940
|
paymentMethodHash: "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
@@ -97715,6 +97082,14 @@ var baseStaging_default6 = {
|
|
|
97715
97082
|
],
|
|
97716
97083
|
timestampBuffer: 30,
|
|
97717
97084
|
providerHashes: []
|
|
97085
|
+
},
|
|
97086
|
+
upi: {
|
|
97087
|
+
paymentMethodHash: "0xe99a5081226cbbff9440a63da5caa04fa30f210c12c4dd9976132ac075054cd9",
|
|
97088
|
+
currencies: [
|
|
97089
|
+
"0xaad766fbc07fb357bed9fd8b03b935f2f71fe29fc48f08274bc2a01d7f642afc"
|
|
97090
|
+
],
|
|
97091
|
+
timestampBuffer: 30,
|
|
97092
|
+
providerHashes: []
|
|
97718
97093
|
}
|
|
97719
97094
|
}
|
|
97720
97095
|
};
|
|
@@ -98034,18 +97409,11 @@ function getContracts(chainId, env = "production") {
|
|
|
98034
97409
|
const result = { addresses: addressesByKey[key], abis: abisByKey[key] };
|
|
98035
97410
|
return result;
|
|
98036
97411
|
}
|
|
98037
|
-
var STAGING_PAYMENT_METHOD_FALLBACKS = {
|
|
98038
|
-
upi: {
|
|
98039
|
-
paymentMethodHash: METHOD_NAME_TO_HASH2.upi,
|
|
98040
|
-
currencies: [currencyKeccak256("INR")]
|
|
98041
|
-
}
|
|
98042
|
-
};
|
|
98043
97412
|
function getPaymentMethodsCatalog(_chainId, env = "production") {
|
|
98044
97413
|
const src = env === "staging" ? baseStagingPaymentMethods : basePaymentMethods;
|
|
98045
97414
|
const methods = src?.methods ?? {};
|
|
98046
|
-
const environmentMethods = env === "staging" ? { ...STAGING_PAYMENT_METHOD_FALLBACKS, ...methods } : methods;
|
|
98047
97415
|
return Object.fromEntries(
|
|
98048
|
-
Object.entries(
|
|
97416
|
+
Object.entries(methods).filter(
|
|
98049
97417
|
([name, entry]) => matchesPaymentMethodNameAndHash(name, entry.paymentMethodHash)
|
|
98050
97418
|
)
|
|
98051
97419
|
);
|
|
@@ -98138,7 +97506,7 @@ function asciiToBytes32(value) {
|
|
|
98138
97506
|
return bytesToHex(padded);
|
|
98139
97507
|
}
|
|
98140
97508
|
|
|
98141
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
97509
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2-rc.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/paymentMethods/baseStaging.js
|
|
98142
97510
|
var data141 = {
|
|
98143
97511
|
"methods": {
|
|
98144
97512
|
"venmo": {
|
|
@@ -98287,6 +97655,14 @@ var data141 = {
|
|
|
98287
97655
|
],
|
|
98288
97656
|
"timestampBuffer": 30,
|
|
98289
97657
|
"providerHashes": []
|
|
97658
|
+
},
|
|
97659
|
+
"upi": {
|
|
97660
|
+
"paymentMethodHash": "0xe99a5081226cbbff9440a63da5caa04fa30f210c12c4dd9976132ac075054cd9",
|
|
97661
|
+
"currencies": [
|
|
97662
|
+
"0xaad766fbc07fb357bed9fd8b03b935f2f71fe29fc48f08274bc2a01d7f642afc"
|
|
97663
|
+
],
|
|
97664
|
+
"timestampBuffer": 30,
|
|
97665
|
+
"providerHashes": []
|
|
98290
97666
|
}
|
|
98291
97667
|
}
|
|
98292
97668
|
};
|
|
@@ -98315,7 +97691,7 @@ function resolvePaymentMethodHash(nameOrBytes, opts = {}) {
|
|
|
98315
97691
|
}
|
|
98316
97692
|
const key = nameOrBytes.toLowerCase();
|
|
98317
97693
|
const mapping = getPaymentMethodMap(env);
|
|
98318
|
-
const mappedHash = mapping?.[key]?.paymentMethodHash ??
|
|
97694
|
+
const mappedHash = mapping?.[key]?.paymentMethodHash ?? METHOD_NAME_TO_HASH[key];
|
|
98319
97695
|
if (mappedHash) return mappedHash;
|
|
98320
97696
|
throw new Error(`Unknown processorName: ${nameOrBytes}`);
|
|
98321
97697
|
}
|
|
@@ -98335,7 +97711,7 @@ function resolvePaymentMethodHashFromCatalog(processorName, catalog) {
|
|
|
98335
97711
|
return hash;
|
|
98336
97712
|
}
|
|
98337
97713
|
const key = processorName.toLowerCase();
|
|
98338
|
-
if (!
|
|
97714
|
+
if (!METHOD_NAME_TO_HASH[key]) {
|
|
98339
97715
|
throw new Error(`Unknown processorName: ${processorName}`);
|
|
98340
97716
|
}
|
|
98341
97717
|
const entry = catalog?.[key];
|
|
@@ -98345,7 +97721,7 @@ function resolvePaymentMethodHashFromCatalog(processorName, catalog) {
|
|
|
98345
97721
|
}
|
|
98346
97722
|
return entry.paymentMethodHash;
|
|
98347
97723
|
}
|
|
98348
|
-
const fallbackHash =
|
|
97724
|
+
const fallbackHash = METHOD_NAME_TO_HASH[key];
|
|
98349
97725
|
if (fallbackHash) return fallbackHash;
|
|
98350
97726
|
const available = Object.keys(catalog || {}).sort().join(", ");
|
|
98351
97727
|
throw new Error(
|
|
@@ -98359,7 +97735,7 @@ function resolvePaymentMethodNameFromHash(hash, catalog) {
|
|
|
98359
97735
|
if (!matchesPaymentMethodNameAndHash(name, entry?.paymentMethodHash ?? "")) continue;
|
|
98360
97736
|
if (entry?.paymentMethodHash?.toLowerCase() === target.toLowerCase()) return name;
|
|
98361
97737
|
}
|
|
98362
|
-
return
|
|
97738
|
+
return HASH_TO_METHOD_NAME[target.toLowerCase()];
|
|
98363
97739
|
}
|
|
98364
97740
|
|
|
98365
97741
|
// src/utils/protocolViewerParsers.ts
|
|
@@ -98471,6 +97847,6 @@ function enrichPvIntentView(view, chainId, env = "production") {
|
|
|
98471
97847
|
};
|
|
98472
97848
|
}
|
|
98473
97849
|
|
|
98474
|
-
export { DISPUTE_PROTECTION_POLICY_ABI, DISPUTE_PROTECTION_POLICY_ABI2, DisputeNullifierRegistry_default3 as DisputeNullifierRegistry_default, DisputeProtectionPolicy_default3 as DisputeProtectionPolicy_default, DisputeVerifier_default3 as DisputeVerifier_default, IntentLifecycleHookV1_default3 as IntentLifecycleHookV1_default,
|
|
98475
|
-
//# sourceMappingURL=chunk-
|
|
98476
|
-
//# sourceMappingURL=chunk-
|
|
97850
|
+
export { DISPUTE_PROTECTION_POLICY_ABI, DISPUTE_PROTECTION_POLICY_ABI2, DisputeNullifierRegistry_default3 as DisputeNullifierRegistry_default, DisputeProtectionPolicy_default3 as DisputeProtectionPolicy_default, DisputeVerifier_default3 as DisputeVerifier_default, IntentLifecycleHookV1_default3 as IntentLifecycleHookV1_default, METHOD_NAME_TO_HASH, MultiAttestationVerifier_default3 as MultiAttestationVerifier_default, ORCHESTRATOR_V3_ABI2 as ORCHESTRATOR_V3_ABI, OrchestratorRegistry_default3 as OrchestratorRegistry_default, OrchestratorV3_default3 as OrchestratorV3_default, PAYMENT_PLATFORMS, STAKE_VAULT_ABI2 as STAKE_VAULT_ABI, SUPPORTED_PAYMENT_METHOD_HASHES, StakeVault_default3 as StakeVault_default, WhitelistPolicy_default3 as WhitelistPolicy_default, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getContracts, getDisputeProtectionPolicyContract, getGatingServiceAddress, getIntentGuardianContract, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getStakeVaultContract, hasIntentGuardian, matchesPaymentMethodNameAndHash, matchesQuotePaymentMethod, parseBigIntLike, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash };
|
|
97851
|
+
//# sourceMappingURL=chunk-DOZJKZTL.mjs.map
|
|
97852
|
+
//# sourceMappingURL=chunk-DOZJKZTL.mjs.map
|