@zkp2p/sdk 0.3.2 → 0.4.0-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/README.md +58 -1
- package/dist/{chunk-JRDFLSA7.mjs → chunk-L526MKG3.mjs} +641 -149
- package/dist/chunk-L526MKG3.mjs.map +1 -0
- package/dist/index.cjs +859 -295
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +19 -25
- package/dist/index.d.ts +19 -25
- package/dist/index.mjs +91 -34
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-GGSM2243.mjs +5 -0
- package/dist/{protocolViewerParsers-CQSES3QX.mjs.map → protocolViewerParsers-GGSM2243.mjs.map} +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/{vaultUtils-C-9Z50Ak.d.mts → vaultUtils-CN5fupa7.d.mts} +25 -13
- package/dist/{vaultUtils-C-9Z50Ak.d.ts → vaultUtils-CN5fupa7.d.ts} +25 -13
- package/package.json +3 -2
- package/dist/chunk-JRDFLSA7.mjs.map +0 -1
- package/dist/protocolViewerParsers-CQSES3QX.mjs +0 -5
package/dist/index.cjs
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var viem = require('viem');
|
|
4
4
|
var chains = require('viem/chains');
|
|
5
|
+
var zkp2pAttestation = require('@zkp2p/zkp2p-attestation');
|
|
5
6
|
var ethers = require('ethers');
|
|
6
7
|
var erc8021 = require('ox/erc8021');
|
|
7
8
|
|
|
@@ -125,10 +126,10 @@ var init_timeout = __esm({
|
|
|
125
126
|
}
|
|
126
127
|
});
|
|
127
128
|
|
|
128
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
129
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/addresses/base.js
|
|
129
130
|
var data, base_default;
|
|
130
131
|
var init_base = __esm({
|
|
131
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
132
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/addresses/base.js"() {
|
|
132
133
|
data = {
|
|
133
134
|
"name": "base",
|
|
134
135
|
"chainId": 8453,
|
|
@@ -139,6 +140,7 @@ var init_base = __esm({
|
|
|
139
140
|
"Escrow": "0x2f121CDDCA6d652f35e8B3E560f9760898888888",
|
|
140
141
|
"EscrowRegistry": "0xeD0e847B101abc96E796260AC358e12BAa2f5B21",
|
|
141
142
|
"EscrowV2": "0x777777779d229cdF3110e9de47943791c26300Ef",
|
|
143
|
+
"MultiAttestationVerifier": "0x9Fe920b24e50e6a6362BA71a1BeB502A99c402d5",
|
|
142
144
|
"NullifierRegistry": "0x8d8e1A0e5345a5cc9AA206c3ca76D6d28c514608",
|
|
143
145
|
"Orchestrator": "0x88888883Ed048FF0a415271B28b2F52d431810D0",
|
|
144
146
|
"OrchestratorRegistry": "0xBe9fED15ED7A4B915C03EFcEcb9662739C3382A9",
|
|
@@ -157,17 +159,17 @@ var init_base = __esm({
|
|
|
157
159
|
"WhitelistPreIntentHook": "0xda023Ea0d789A41BcF5866F7B6BBd2CaDF9b79B8"
|
|
158
160
|
},
|
|
159
161
|
"meta": {
|
|
160
|
-
"generatedAt": "2026-04-
|
|
162
|
+
"generatedAt": "2026-04-20T07:47:59.142Z"
|
|
161
163
|
}
|
|
162
164
|
};
|
|
163
165
|
base_default = data;
|
|
164
166
|
}
|
|
165
167
|
});
|
|
166
168
|
|
|
167
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
169
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/addresses/baseStaging.js
|
|
168
170
|
var data2, baseStaging_default;
|
|
169
171
|
var init_baseStaging = __esm({
|
|
170
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
172
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/addresses/baseStaging.js"() {
|
|
171
173
|
data2 = {
|
|
172
174
|
"name": "base_staging",
|
|
173
175
|
"chainId": 8453,
|
|
@@ -178,6 +180,7 @@ var init_baseStaging = __esm({
|
|
|
178
180
|
"Escrow": "0x5C2a8D9246777eE4501B6C426a8B8C7635C7b5b5",
|
|
179
181
|
"EscrowRegistry": "0xc545f336eC77E69bf115729acCbf2e557A00ac91",
|
|
180
182
|
"EscrowV2": "0x77e8f808FE201075e0bD651CD46fdF239fc83265",
|
|
183
|
+
"MultiAttestationVerifier": "0x9855a39aC5975069632e91160d8712CBfF19e864",
|
|
181
184
|
"NullifierRegistry": "0x3FFd04f7909a16d3476263A1f4ce413A089dCc69",
|
|
182
185
|
"Orchestrator": "0xF9b9CD27Deea496B960b3cb5221b514705fCaF5e",
|
|
183
186
|
"OrchestratorRegistry": "0xfA6384EB6176cfEC049540526A3d2126C3666d8A",
|
|
@@ -196,17 +199,17 @@ var init_baseStaging = __esm({
|
|
|
196
199
|
"WhitelistPreIntentHook": "0xABE7AFC4C7bE9c4Eed5F465a98e124ee7860C005"
|
|
197
200
|
},
|
|
198
201
|
"meta": {
|
|
199
|
-
"generatedAt": "2026-04-
|
|
202
|
+
"generatedAt": "2026-04-20T07:47:59.144Z"
|
|
200
203
|
}
|
|
201
204
|
};
|
|
202
205
|
baseStaging_default = data2;
|
|
203
206
|
}
|
|
204
207
|
});
|
|
205
208
|
|
|
206
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
209
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/AcrossBridgeHook.js
|
|
207
210
|
var data3, AcrossBridgeHook_default;
|
|
208
211
|
var init_AcrossBridgeHook = __esm({
|
|
209
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
212
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/AcrossBridgeHook.js"() {
|
|
210
213
|
data3 = [
|
|
211
214
|
{
|
|
212
215
|
"inputs": [
|
|
@@ -666,10 +669,10 @@ var init_AcrossBridgeHook = __esm({
|
|
|
666
669
|
}
|
|
667
670
|
});
|
|
668
671
|
|
|
669
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
672
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/AcrossBridgeHookV2.js
|
|
670
673
|
var data4, AcrossBridgeHookV2_default;
|
|
671
674
|
var init_AcrossBridgeHookV2 = __esm({
|
|
672
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
675
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/AcrossBridgeHookV2.js"() {
|
|
673
676
|
data4 = [
|
|
674
677
|
{
|
|
675
678
|
"inputs": [
|
|
@@ -1142,10 +1145,10 @@ var init_AcrossBridgeHookV2 = __esm({
|
|
|
1142
1145
|
}
|
|
1143
1146
|
});
|
|
1144
1147
|
|
|
1145
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
1148
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/ChainlinkOracleAdapter.js
|
|
1146
1149
|
var data5, ChainlinkOracleAdapter_default;
|
|
1147
1150
|
var init_ChainlinkOracleAdapter = __esm({
|
|
1148
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
1151
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/ChainlinkOracleAdapter.js"() {
|
|
1149
1152
|
data5 = [
|
|
1150
1153
|
{
|
|
1151
1154
|
"inputs": [
|
|
@@ -1200,10 +1203,10 @@ var init_ChainlinkOracleAdapter = __esm({
|
|
|
1200
1203
|
}
|
|
1201
1204
|
});
|
|
1202
1205
|
|
|
1203
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
1206
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/Escrow.js
|
|
1204
1207
|
var data6, Escrow_default;
|
|
1205
1208
|
var init_Escrow = __esm({
|
|
1206
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
1209
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/Escrow.js"() {
|
|
1207
1210
|
data6 = [
|
|
1208
1211
|
{
|
|
1209
1212
|
"inputs": [
|
|
@@ -3418,10 +3421,10 @@ var init_Escrow = __esm({
|
|
|
3418
3421
|
}
|
|
3419
3422
|
});
|
|
3420
3423
|
|
|
3421
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
3424
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/EscrowRegistry.js
|
|
3422
3425
|
var data7, EscrowRegistry_default;
|
|
3423
3426
|
var init_EscrowRegistry = __esm({
|
|
3424
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
3427
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/EscrowRegistry.js"() {
|
|
3425
3428
|
data7 = [
|
|
3426
3429
|
{
|
|
3427
3430
|
"inputs": [],
|
|
@@ -3640,10 +3643,10 @@ var init_EscrowRegistry = __esm({
|
|
|
3640
3643
|
}
|
|
3641
3644
|
});
|
|
3642
3645
|
|
|
3643
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
3646
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/EscrowV2.js
|
|
3644
3647
|
var data8, EscrowV2_default;
|
|
3645
3648
|
var init_EscrowV2 = __esm({
|
|
3646
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
3649
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/EscrowV2.js"() {
|
|
3647
3650
|
data8 = [
|
|
3648
3651
|
{
|
|
3649
3652
|
"inputs": [
|
|
@@ -6665,11 +6668,260 @@ var init_EscrowV2 = __esm({
|
|
|
6665
6668
|
}
|
|
6666
6669
|
});
|
|
6667
6670
|
|
|
6668
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
6669
|
-
var data9,
|
|
6670
|
-
var
|
|
6671
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
6671
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/MultiAttestationVerifier.js
|
|
6672
|
+
var data9, MultiAttestationVerifier_default;
|
|
6673
|
+
var init_MultiAttestationVerifier = __esm({
|
|
6674
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/MultiAttestationVerifier.js"() {
|
|
6672
6675
|
data9 = [
|
|
6676
|
+
{
|
|
6677
|
+
"inputs": [
|
|
6678
|
+
{
|
|
6679
|
+
"internalType": "address[]",
|
|
6680
|
+
"name": "_initialWitnesses",
|
|
6681
|
+
"type": "address[]"
|
|
6682
|
+
},
|
|
6683
|
+
{
|
|
6684
|
+
"internalType": "uint256",
|
|
6685
|
+
"name": "_initialThreshold",
|
|
6686
|
+
"type": "uint256"
|
|
6687
|
+
}
|
|
6688
|
+
],
|
|
6689
|
+
"stateMutability": "nonpayable",
|
|
6690
|
+
"type": "constructor"
|
|
6691
|
+
},
|
|
6692
|
+
{
|
|
6693
|
+
"anonymous": false,
|
|
6694
|
+
"inputs": [
|
|
6695
|
+
{
|
|
6696
|
+
"indexed": true,
|
|
6697
|
+
"internalType": "address",
|
|
6698
|
+
"name": "previousOwner",
|
|
6699
|
+
"type": "address"
|
|
6700
|
+
},
|
|
6701
|
+
{
|
|
6702
|
+
"indexed": true,
|
|
6703
|
+
"internalType": "address",
|
|
6704
|
+
"name": "newOwner",
|
|
6705
|
+
"type": "address"
|
|
6706
|
+
}
|
|
6707
|
+
],
|
|
6708
|
+
"name": "OwnershipTransferred",
|
|
6709
|
+
"type": "event"
|
|
6710
|
+
},
|
|
6711
|
+
{
|
|
6712
|
+
"anonymous": false,
|
|
6713
|
+
"inputs": [
|
|
6714
|
+
{
|
|
6715
|
+
"indexed": false,
|
|
6716
|
+
"internalType": "uint256",
|
|
6717
|
+
"name": "oldThreshold",
|
|
6718
|
+
"type": "uint256"
|
|
6719
|
+
},
|
|
6720
|
+
{
|
|
6721
|
+
"indexed": false,
|
|
6722
|
+
"internalType": "uint256",
|
|
6723
|
+
"name": "newThreshold",
|
|
6724
|
+
"type": "uint256"
|
|
6725
|
+
}
|
|
6726
|
+
],
|
|
6727
|
+
"name": "RequiredSignaturesUpdated",
|
|
6728
|
+
"type": "event"
|
|
6729
|
+
},
|
|
6730
|
+
{
|
|
6731
|
+
"anonymous": false,
|
|
6732
|
+
"inputs": [
|
|
6733
|
+
{
|
|
6734
|
+
"indexed": true,
|
|
6735
|
+
"internalType": "address",
|
|
6736
|
+
"name": "witness",
|
|
6737
|
+
"type": "address"
|
|
6738
|
+
}
|
|
6739
|
+
],
|
|
6740
|
+
"name": "WitnessAdded",
|
|
6741
|
+
"type": "event"
|
|
6742
|
+
},
|
|
6743
|
+
{
|
|
6744
|
+
"anonymous": false,
|
|
6745
|
+
"inputs": [
|
|
6746
|
+
{
|
|
6747
|
+
"indexed": true,
|
|
6748
|
+
"internalType": "address",
|
|
6749
|
+
"name": "witness",
|
|
6750
|
+
"type": "address"
|
|
6751
|
+
}
|
|
6752
|
+
],
|
|
6753
|
+
"name": "WitnessRemoved",
|
|
6754
|
+
"type": "event"
|
|
6755
|
+
},
|
|
6756
|
+
{
|
|
6757
|
+
"inputs": [
|
|
6758
|
+
{
|
|
6759
|
+
"internalType": "address",
|
|
6760
|
+
"name": "_witness",
|
|
6761
|
+
"type": "address"
|
|
6762
|
+
}
|
|
6763
|
+
],
|
|
6764
|
+
"name": "addWitness",
|
|
6765
|
+
"outputs": [],
|
|
6766
|
+
"stateMutability": "nonpayable",
|
|
6767
|
+
"type": "function"
|
|
6768
|
+
},
|
|
6769
|
+
{
|
|
6770
|
+
"inputs": [
|
|
6771
|
+
{
|
|
6772
|
+
"internalType": "address",
|
|
6773
|
+
"name": "_witness",
|
|
6774
|
+
"type": "address"
|
|
6775
|
+
}
|
|
6776
|
+
],
|
|
6777
|
+
"name": "isWitness",
|
|
6778
|
+
"outputs": [
|
|
6779
|
+
{
|
|
6780
|
+
"internalType": "bool",
|
|
6781
|
+
"name": "",
|
|
6782
|
+
"type": "bool"
|
|
6783
|
+
}
|
|
6784
|
+
],
|
|
6785
|
+
"stateMutability": "view",
|
|
6786
|
+
"type": "function"
|
|
6787
|
+
},
|
|
6788
|
+
{
|
|
6789
|
+
"inputs": [],
|
|
6790
|
+
"name": "owner",
|
|
6791
|
+
"outputs": [
|
|
6792
|
+
{
|
|
6793
|
+
"internalType": "address",
|
|
6794
|
+
"name": "",
|
|
6795
|
+
"type": "address"
|
|
6796
|
+
}
|
|
6797
|
+
],
|
|
6798
|
+
"stateMutability": "view",
|
|
6799
|
+
"type": "function"
|
|
6800
|
+
},
|
|
6801
|
+
{
|
|
6802
|
+
"inputs": [
|
|
6803
|
+
{
|
|
6804
|
+
"internalType": "address",
|
|
6805
|
+
"name": "_witness",
|
|
6806
|
+
"type": "address"
|
|
6807
|
+
}
|
|
6808
|
+
],
|
|
6809
|
+
"name": "removeWitness",
|
|
6810
|
+
"outputs": [],
|
|
6811
|
+
"stateMutability": "nonpayable",
|
|
6812
|
+
"type": "function"
|
|
6813
|
+
},
|
|
6814
|
+
{
|
|
6815
|
+
"inputs": [],
|
|
6816
|
+
"name": "renounceOwnership",
|
|
6817
|
+
"outputs": [],
|
|
6818
|
+
"stateMutability": "nonpayable",
|
|
6819
|
+
"type": "function"
|
|
6820
|
+
},
|
|
6821
|
+
{
|
|
6822
|
+
"inputs": [],
|
|
6823
|
+
"name": "requiredSignatures",
|
|
6824
|
+
"outputs": [
|
|
6825
|
+
{
|
|
6826
|
+
"internalType": "uint256",
|
|
6827
|
+
"name": "",
|
|
6828
|
+
"type": "uint256"
|
|
6829
|
+
}
|
|
6830
|
+
],
|
|
6831
|
+
"stateMutability": "view",
|
|
6832
|
+
"type": "function"
|
|
6833
|
+
},
|
|
6834
|
+
{
|
|
6835
|
+
"inputs": [
|
|
6836
|
+
{
|
|
6837
|
+
"internalType": "uint256",
|
|
6838
|
+
"name": "_requiredSignatures",
|
|
6839
|
+
"type": "uint256"
|
|
6840
|
+
}
|
|
6841
|
+
],
|
|
6842
|
+
"name": "setRequiredSignatures",
|
|
6843
|
+
"outputs": [],
|
|
6844
|
+
"stateMutability": "nonpayable",
|
|
6845
|
+
"type": "function"
|
|
6846
|
+
},
|
|
6847
|
+
{
|
|
6848
|
+
"inputs": [
|
|
6849
|
+
{
|
|
6850
|
+
"internalType": "address",
|
|
6851
|
+
"name": "newOwner",
|
|
6852
|
+
"type": "address"
|
|
6853
|
+
}
|
|
6854
|
+
],
|
|
6855
|
+
"name": "transferOwnership",
|
|
6856
|
+
"outputs": [],
|
|
6857
|
+
"stateMutability": "nonpayable",
|
|
6858
|
+
"type": "function"
|
|
6859
|
+
},
|
|
6860
|
+
{
|
|
6861
|
+
"inputs": [
|
|
6862
|
+
{
|
|
6863
|
+
"internalType": "bytes32",
|
|
6864
|
+
"name": "_digest",
|
|
6865
|
+
"type": "bytes32"
|
|
6866
|
+
},
|
|
6867
|
+
{
|
|
6868
|
+
"internalType": "bytes[]",
|
|
6869
|
+
"name": "_sigs",
|
|
6870
|
+
"type": "bytes[]"
|
|
6871
|
+
},
|
|
6872
|
+
{
|
|
6873
|
+
"internalType": "bytes",
|
|
6874
|
+
"name": "",
|
|
6875
|
+
"type": "bytes"
|
|
6876
|
+
}
|
|
6877
|
+
],
|
|
6878
|
+
"name": "verify",
|
|
6879
|
+
"outputs": [
|
|
6880
|
+
{
|
|
6881
|
+
"internalType": "bool",
|
|
6882
|
+
"name": "isValid",
|
|
6883
|
+
"type": "bool"
|
|
6884
|
+
}
|
|
6885
|
+
],
|
|
6886
|
+
"stateMutability": "view",
|
|
6887
|
+
"type": "function"
|
|
6888
|
+
},
|
|
6889
|
+
{
|
|
6890
|
+
"inputs": [],
|
|
6891
|
+
"name": "witnessCount",
|
|
6892
|
+
"outputs": [
|
|
6893
|
+
{
|
|
6894
|
+
"internalType": "uint256",
|
|
6895
|
+
"name": "",
|
|
6896
|
+
"type": "uint256"
|
|
6897
|
+
}
|
|
6898
|
+
],
|
|
6899
|
+
"stateMutability": "view",
|
|
6900
|
+
"type": "function"
|
|
6901
|
+
},
|
|
6902
|
+
{
|
|
6903
|
+
"inputs": [],
|
|
6904
|
+
"name": "witnesses",
|
|
6905
|
+
"outputs": [
|
|
6906
|
+
{
|
|
6907
|
+
"internalType": "address[]",
|
|
6908
|
+
"name": "",
|
|
6909
|
+
"type": "address[]"
|
|
6910
|
+
}
|
|
6911
|
+
],
|
|
6912
|
+
"stateMutability": "view",
|
|
6913
|
+
"type": "function"
|
|
6914
|
+
}
|
|
6915
|
+
];
|
|
6916
|
+
MultiAttestationVerifier_default = data9;
|
|
6917
|
+
}
|
|
6918
|
+
});
|
|
6919
|
+
|
|
6920
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/NullifierRegistry.js
|
|
6921
|
+
var data10, NullifierRegistry_default;
|
|
6922
|
+
var init_NullifierRegistry = __esm({
|
|
6923
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/NullifierRegistry.js"() {
|
|
6924
|
+
data10 = [
|
|
6673
6925
|
{
|
|
6674
6926
|
"inputs": [],
|
|
6675
6927
|
"stateMutability": "nonpayable",
|
|
@@ -6882,15 +7134,15 @@ var init_NullifierRegistry = __esm({
|
|
|
6882
7134
|
"type": "function"
|
|
6883
7135
|
}
|
|
6884
7136
|
];
|
|
6885
|
-
NullifierRegistry_default =
|
|
7137
|
+
NullifierRegistry_default = data10;
|
|
6886
7138
|
}
|
|
6887
7139
|
});
|
|
6888
7140
|
|
|
6889
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
6890
|
-
var
|
|
7141
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/Orchestrator.js
|
|
7142
|
+
var data11, Orchestrator_default;
|
|
6891
7143
|
var init_Orchestrator = __esm({
|
|
6892
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
6893
|
-
|
|
7144
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/Orchestrator.js"() {
|
|
7145
|
+
data11 = [
|
|
6894
7146
|
{
|
|
6895
7147
|
"inputs": [
|
|
6896
7148
|
{
|
|
@@ -8035,15 +8287,15 @@ var init_Orchestrator = __esm({
|
|
|
8035
8287
|
"type": "function"
|
|
8036
8288
|
}
|
|
8037
8289
|
];
|
|
8038
|
-
Orchestrator_default =
|
|
8290
|
+
Orchestrator_default = data11;
|
|
8039
8291
|
}
|
|
8040
8292
|
});
|
|
8041
8293
|
|
|
8042
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
8043
|
-
var
|
|
8294
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/OrchestratorRegistry.js
|
|
8295
|
+
var data12, OrchestratorRegistry_default;
|
|
8044
8296
|
var init_OrchestratorRegistry = __esm({
|
|
8045
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
8046
|
-
|
|
8297
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/OrchestratorRegistry.js"() {
|
|
8298
|
+
data12 = [
|
|
8047
8299
|
{
|
|
8048
8300
|
"inputs": [
|
|
8049
8301
|
{
|
|
@@ -8195,15 +8447,15 @@ var init_OrchestratorRegistry = __esm({
|
|
|
8195
8447
|
"type": "function"
|
|
8196
8448
|
}
|
|
8197
8449
|
];
|
|
8198
|
-
OrchestratorRegistry_default =
|
|
8450
|
+
OrchestratorRegistry_default = data12;
|
|
8199
8451
|
}
|
|
8200
8452
|
});
|
|
8201
8453
|
|
|
8202
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
8203
|
-
var
|
|
8454
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/OrchestratorV2.js
|
|
8455
|
+
var data13, OrchestratorV2_default;
|
|
8204
8456
|
var init_OrchestratorV2 = __esm({
|
|
8205
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
8206
|
-
|
|
8457
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/OrchestratorV2.js"() {
|
|
8458
|
+
data13 = [
|
|
8207
8459
|
{
|
|
8208
8460
|
"inputs": [
|
|
8209
8461
|
{
|
|
@@ -9601,15 +9853,15 @@ var init_OrchestratorV2 = __esm({
|
|
|
9601
9853
|
"type": "function"
|
|
9602
9854
|
}
|
|
9603
9855
|
];
|
|
9604
|
-
OrchestratorV2_default =
|
|
9856
|
+
OrchestratorV2_default = data13;
|
|
9605
9857
|
}
|
|
9606
9858
|
});
|
|
9607
9859
|
|
|
9608
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
9609
|
-
var
|
|
9860
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/PaymentVerifierRegistry.js
|
|
9861
|
+
var data14, PaymentVerifierRegistry_default;
|
|
9610
9862
|
var init_PaymentVerifierRegistry = __esm({
|
|
9611
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
9612
|
-
|
|
9863
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/PaymentVerifierRegistry.js"() {
|
|
9864
|
+
data14 = [
|
|
9613
9865
|
{
|
|
9614
9866
|
"inputs": [],
|
|
9615
9867
|
"stateMutability": "nonpayable",
|
|
@@ -9941,15 +10193,15 @@ var init_PaymentVerifierRegistry = __esm({
|
|
|
9941
10193
|
"type": "function"
|
|
9942
10194
|
}
|
|
9943
10195
|
];
|
|
9944
|
-
PaymentVerifierRegistry_default =
|
|
10196
|
+
PaymentVerifierRegistry_default = data14;
|
|
9945
10197
|
}
|
|
9946
10198
|
});
|
|
9947
10199
|
|
|
9948
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
9949
|
-
var
|
|
10200
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/PostIntentHookRegistry.js
|
|
10201
|
+
var data15, PostIntentHookRegistry_default;
|
|
9950
10202
|
var init_PostIntentHookRegistry = __esm({
|
|
9951
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
9952
|
-
|
|
10203
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/PostIntentHookRegistry.js"() {
|
|
10204
|
+
data15 = [
|
|
9953
10205
|
{
|
|
9954
10206
|
"inputs": [],
|
|
9955
10207
|
"stateMutability": "nonpayable",
|
|
@@ -10130,15 +10382,15 @@ var init_PostIntentHookRegistry = __esm({
|
|
|
10130
10382
|
"type": "function"
|
|
10131
10383
|
}
|
|
10132
10384
|
];
|
|
10133
|
-
PostIntentHookRegistry_default =
|
|
10385
|
+
PostIntentHookRegistry_default = data15;
|
|
10134
10386
|
}
|
|
10135
10387
|
});
|
|
10136
10388
|
|
|
10137
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
10138
|
-
var
|
|
10389
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/ProtocolViewer.js
|
|
10390
|
+
var data16, ProtocolViewer_default;
|
|
10139
10391
|
var init_ProtocolViewer = __esm({
|
|
10140
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
10141
|
-
|
|
10392
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/ProtocolViewer.js"() {
|
|
10393
|
+
data16 = [
|
|
10142
10394
|
{
|
|
10143
10395
|
"inputs": [
|
|
10144
10396
|
{
|
|
@@ -11355,15 +11607,15 @@ var init_ProtocolViewer = __esm({
|
|
|
11355
11607
|
"type": "function"
|
|
11356
11608
|
}
|
|
11357
11609
|
];
|
|
11358
|
-
ProtocolViewer_default =
|
|
11610
|
+
ProtocolViewer_default = data16;
|
|
11359
11611
|
}
|
|
11360
11612
|
});
|
|
11361
11613
|
|
|
11362
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
11363
|
-
var
|
|
11614
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/ProtocolViewerV2.js
|
|
11615
|
+
var data17, ProtocolViewerV2_default;
|
|
11364
11616
|
var init_ProtocolViewerV2 = __esm({
|
|
11365
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
11366
|
-
|
|
11617
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/ProtocolViewerV2.js"() {
|
|
11618
|
+
data17 = [
|
|
11367
11619
|
{
|
|
11368
11620
|
"inputs": [
|
|
11369
11621
|
{
|
|
@@ -12455,15 +12707,15 @@ var init_ProtocolViewerV2 = __esm({
|
|
|
12455
12707
|
"type": "function"
|
|
12456
12708
|
}
|
|
12457
12709
|
];
|
|
12458
|
-
ProtocolViewerV2_default =
|
|
12710
|
+
ProtocolViewerV2_default = data17;
|
|
12459
12711
|
}
|
|
12460
12712
|
});
|
|
12461
12713
|
|
|
12462
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
12463
|
-
var
|
|
12714
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/PythOracleAdapter.js
|
|
12715
|
+
var data18, PythOracleAdapter_default;
|
|
12464
12716
|
var init_PythOracleAdapter = __esm({
|
|
12465
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
12466
|
-
|
|
12717
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/PythOracleAdapter.js"() {
|
|
12718
|
+
data18 = [
|
|
12467
12719
|
{
|
|
12468
12720
|
"inputs": [
|
|
12469
12721
|
{
|
|
@@ -12537,15 +12789,15 @@ var init_PythOracleAdapter = __esm({
|
|
|
12537
12789
|
"type": "function"
|
|
12538
12790
|
}
|
|
12539
12791
|
];
|
|
12540
|
-
PythOracleAdapter_default =
|
|
12792
|
+
PythOracleAdapter_default = data18;
|
|
12541
12793
|
}
|
|
12542
12794
|
});
|
|
12543
12795
|
|
|
12544
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
12545
|
-
var
|
|
12796
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/RateManagerV1.js
|
|
12797
|
+
var data19, RateManagerV1_default;
|
|
12546
12798
|
var init_RateManagerV1 = __esm({
|
|
12547
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
12548
|
-
|
|
12799
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/RateManagerV1.js"() {
|
|
12800
|
+
data19 = [
|
|
12549
12801
|
{
|
|
12550
12802
|
"inputs": [
|
|
12551
12803
|
{
|
|
@@ -13298,15 +13550,15 @@ var init_RateManagerV1 = __esm({
|
|
|
13298
13550
|
"type": "function"
|
|
13299
13551
|
}
|
|
13300
13552
|
];
|
|
13301
|
-
RateManagerV1_default =
|
|
13553
|
+
RateManagerV1_default = data19;
|
|
13302
13554
|
}
|
|
13303
13555
|
});
|
|
13304
13556
|
|
|
13305
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
13306
|
-
var
|
|
13557
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/RelayerRegistry.js
|
|
13558
|
+
var data20, RelayerRegistry_default;
|
|
13307
13559
|
var init_RelayerRegistry = __esm({
|
|
13308
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
13309
|
-
|
|
13560
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/RelayerRegistry.js"() {
|
|
13561
|
+
data20 = [
|
|
13310
13562
|
{
|
|
13311
13563
|
"inputs": [],
|
|
13312
13564
|
"stateMutability": "nonpayable",
|
|
@@ -13468,15 +13720,15 @@ var init_RelayerRegistry = __esm({
|
|
|
13468
13720
|
"type": "function"
|
|
13469
13721
|
}
|
|
13470
13722
|
];
|
|
13471
|
-
RelayerRegistry_default =
|
|
13723
|
+
RelayerRegistry_default = data20;
|
|
13472
13724
|
}
|
|
13473
13725
|
});
|
|
13474
13726
|
|
|
13475
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
13476
|
-
var
|
|
13727
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/SignatureGatingPreIntentHook.js
|
|
13728
|
+
var data21, SignatureGatingPreIntentHook_default;
|
|
13477
13729
|
var init_SignatureGatingPreIntentHook = __esm({
|
|
13478
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
13479
|
-
|
|
13730
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/SignatureGatingPreIntentHook.js"() {
|
|
13731
|
+
data21 = [
|
|
13480
13732
|
{
|
|
13481
13733
|
"inputs": [
|
|
13482
13734
|
{
|
|
@@ -13773,15 +14025,15 @@ var init_SignatureGatingPreIntentHook = __esm({
|
|
|
13773
14025
|
"type": "function"
|
|
13774
14026
|
}
|
|
13775
14027
|
];
|
|
13776
|
-
SignatureGatingPreIntentHook_default =
|
|
14028
|
+
SignatureGatingPreIntentHook_default = data21;
|
|
13777
14029
|
}
|
|
13778
14030
|
});
|
|
13779
14031
|
|
|
13780
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
13781
|
-
var
|
|
14032
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/SimpleAttestationVerifier.js
|
|
14033
|
+
var data22, SimpleAttestationVerifier_default;
|
|
13782
14034
|
var init_SimpleAttestationVerifier = __esm({
|
|
13783
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
13784
|
-
|
|
14035
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/SimpleAttestationVerifier.js"() {
|
|
14036
|
+
data22 = [
|
|
13785
14037
|
{
|
|
13786
14038
|
"inputs": [
|
|
13787
14039
|
{
|
|
@@ -13933,15 +14185,15 @@ var init_SimpleAttestationVerifier = __esm({
|
|
|
13933
14185
|
"type": "function"
|
|
13934
14186
|
}
|
|
13935
14187
|
];
|
|
13936
|
-
SimpleAttestationVerifier_default =
|
|
14188
|
+
SimpleAttestationVerifier_default = data22;
|
|
13937
14189
|
}
|
|
13938
14190
|
});
|
|
13939
14191
|
|
|
13940
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
13941
|
-
var
|
|
14192
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/UnifiedPaymentVerifier.js
|
|
14193
|
+
var data23, UnifiedPaymentVerifier_default;
|
|
13942
14194
|
var init_UnifiedPaymentVerifier = __esm({
|
|
13943
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
13944
|
-
|
|
14195
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/UnifiedPaymentVerifier.js"() {
|
|
14196
|
+
data23 = [
|
|
13945
14197
|
{
|
|
13946
14198
|
"inputs": [
|
|
13947
14199
|
{
|
|
@@ -14305,15 +14557,15 @@ var init_UnifiedPaymentVerifier = __esm({
|
|
|
14305
14557
|
"type": "function"
|
|
14306
14558
|
}
|
|
14307
14559
|
];
|
|
14308
|
-
UnifiedPaymentVerifier_default =
|
|
14560
|
+
UnifiedPaymentVerifier_default = data23;
|
|
14309
14561
|
}
|
|
14310
14562
|
});
|
|
14311
14563
|
|
|
14312
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
14313
|
-
var
|
|
14564
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/UnifiedPaymentVerifierV2.js
|
|
14565
|
+
var data24, UnifiedPaymentVerifierV2_default;
|
|
14314
14566
|
var init_UnifiedPaymentVerifierV2 = __esm({
|
|
14315
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
14316
|
-
|
|
14567
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/UnifiedPaymentVerifierV2.js"() {
|
|
14568
|
+
data24 = [
|
|
14317
14569
|
{
|
|
14318
14570
|
"inputs": [
|
|
14319
14571
|
{
|
|
@@ -14677,15 +14929,15 @@ var init_UnifiedPaymentVerifierV2 = __esm({
|
|
|
14677
14929
|
"type": "function"
|
|
14678
14930
|
}
|
|
14679
14931
|
];
|
|
14680
|
-
UnifiedPaymentVerifierV2_default =
|
|
14932
|
+
UnifiedPaymentVerifierV2_default = data24;
|
|
14681
14933
|
}
|
|
14682
14934
|
});
|
|
14683
14935
|
|
|
14684
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
14685
|
-
var
|
|
14936
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/WhitelistPreIntentHook.js
|
|
14937
|
+
var data25, WhitelistPreIntentHook_default;
|
|
14686
14938
|
var init_WhitelistPreIntentHook = __esm({
|
|
14687
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
14688
|
-
|
|
14939
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/base/WhitelistPreIntentHook.js"() {
|
|
14940
|
+
data25 = [
|
|
14689
14941
|
{
|
|
14690
14942
|
"inputs": [
|
|
14691
14943
|
{
|
|
@@ -15026,11 +15278,11 @@ var init_WhitelistPreIntentHook = __esm({
|
|
|
15026
15278
|
"type": "function"
|
|
15027
15279
|
}
|
|
15028
15280
|
];
|
|
15029
|
-
WhitelistPreIntentHook_default =
|
|
15281
|
+
WhitelistPreIntentHook_default = data25;
|
|
15030
15282
|
}
|
|
15031
15283
|
});
|
|
15032
15284
|
|
|
15033
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
15285
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base.mjs
|
|
15034
15286
|
var base_exports = {};
|
|
15035
15287
|
__export(base_exports, {
|
|
15036
15288
|
AcrossBridgeHook: () => AcrossBridgeHook_default,
|
|
@@ -15039,6 +15291,7 @@ __export(base_exports, {
|
|
|
15039
15291
|
Escrow: () => Escrow_default,
|
|
15040
15292
|
EscrowRegistry: () => EscrowRegistry_default,
|
|
15041
15293
|
EscrowV2: () => EscrowV2_default,
|
|
15294
|
+
MultiAttestationVerifier: () => MultiAttestationVerifier_default,
|
|
15042
15295
|
NullifierRegistry: () => NullifierRegistry_default,
|
|
15043
15296
|
Orchestrator: () => Orchestrator_default,
|
|
15044
15297
|
OrchestratorRegistry: () => OrchestratorRegistry_default,
|
|
@@ -15057,13 +15310,14 @@ __export(base_exports, {
|
|
|
15057
15310
|
WhitelistPreIntentHook: () => WhitelistPreIntentHook_default
|
|
15058
15311
|
});
|
|
15059
15312
|
var init_base2 = __esm({
|
|
15060
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
15313
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base.mjs"() {
|
|
15061
15314
|
init_AcrossBridgeHook();
|
|
15062
15315
|
init_AcrossBridgeHookV2();
|
|
15063
15316
|
init_ChainlinkOracleAdapter();
|
|
15064
15317
|
init_Escrow();
|
|
15065
15318
|
init_EscrowRegistry();
|
|
15066
15319
|
init_EscrowV2();
|
|
15320
|
+
init_MultiAttestationVerifier();
|
|
15067
15321
|
init_NullifierRegistry();
|
|
15068
15322
|
init_Orchestrator();
|
|
15069
15323
|
init_OrchestratorRegistry();
|
|
@@ -15083,11 +15337,11 @@ var init_base2 = __esm({
|
|
|
15083
15337
|
}
|
|
15084
15338
|
});
|
|
15085
15339
|
|
|
15086
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
15087
|
-
var
|
|
15340
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/AcrossBridgeHook.js
|
|
15341
|
+
var data26, AcrossBridgeHook_default2;
|
|
15088
15342
|
var init_AcrossBridgeHook2 = __esm({
|
|
15089
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
15090
|
-
|
|
15343
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/AcrossBridgeHook.js"() {
|
|
15344
|
+
data26 = [
|
|
15091
15345
|
{
|
|
15092
15346
|
"inputs": [
|
|
15093
15347
|
{
|
|
@@ -15542,15 +15796,15 @@ var init_AcrossBridgeHook2 = __esm({
|
|
|
15542
15796
|
"type": "receive"
|
|
15543
15797
|
}
|
|
15544
15798
|
];
|
|
15545
|
-
AcrossBridgeHook_default2 =
|
|
15799
|
+
AcrossBridgeHook_default2 = data26;
|
|
15546
15800
|
}
|
|
15547
15801
|
});
|
|
15548
15802
|
|
|
15549
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
15550
|
-
var
|
|
15803
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/AcrossBridgeHookV2.js
|
|
15804
|
+
var data27, AcrossBridgeHookV2_default2;
|
|
15551
15805
|
var init_AcrossBridgeHookV22 = __esm({
|
|
15552
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
15553
|
-
|
|
15806
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/AcrossBridgeHookV2.js"() {
|
|
15807
|
+
data27 = [
|
|
15554
15808
|
{
|
|
15555
15809
|
"inputs": [
|
|
15556
15810
|
{
|
|
@@ -16018,15 +16272,15 @@ var init_AcrossBridgeHookV22 = __esm({
|
|
|
16018
16272
|
"type": "receive"
|
|
16019
16273
|
}
|
|
16020
16274
|
];
|
|
16021
|
-
AcrossBridgeHookV2_default2 =
|
|
16275
|
+
AcrossBridgeHookV2_default2 = data27;
|
|
16022
16276
|
}
|
|
16023
16277
|
});
|
|
16024
16278
|
|
|
16025
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
16026
|
-
var
|
|
16279
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/ChainlinkOracleAdapter.js
|
|
16280
|
+
var data28, ChainlinkOracleAdapter_default2;
|
|
16027
16281
|
var init_ChainlinkOracleAdapter2 = __esm({
|
|
16028
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
16029
|
-
|
|
16282
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/ChainlinkOracleAdapter.js"() {
|
|
16283
|
+
data28 = [
|
|
16030
16284
|
{
|
|
16031
16285
|
"inputs": [
|
|
16032
16286
|
{
|
|
@@ -16076,15 +16330,15 @@ var init_ChainlinkOracleAdapter2 = __esm({
|
|
|
16076
16330
|
"type": "function"
|
|
16077
16331
|
}
|
|
16078
16332
|
];
|
|
16079
|
-
ChainlinkOracleAdapter_default2 =
|
|
16333
|
+
ChainlinkOracleAdapter_default2 = data28;
|
|
16080
16334
|
}
|
|
16081
16335
|
});
|
|
16082
16336
|
|
|
16083
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
16084
|
-
var
|
|
16337
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/Escrow.js
|
|
16338
|
+
var data29, Escrow_default2;
|
|
16085
16339
|
var init_Escrow2 = __esm({
|
|
16086
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
16087
|
-
|
|
16340
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/Escrow.js"() {
|
|
16341
|
+
data29 = [
|
|
16088
16342
|
{
|
|
16089
16343
|
"inputs": [
|
|
16090
16344
|
{
|
|
@@ -18294,15 +18548,15 @@ var init_Escrow2 = __esm({
|
|
|
18294
18548
|
"type": "function"
|
|
18295
18549
|
}
|
|
18296
18550
|
];
|
|
18297
|
-
Escrow_default2 =
|
|
18551
|
+
Escrow_default2 = data29;
|
|
18298
18552
|
}
|
|
18299
18553
|
});
|
|
18300
18554
|
|
|
18301
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
18302
|
-
var
|
|
18555
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/EscrowRegistry.js
|
|
18556
|
+
var data30, EscrowRegistry_default2;
|
|
18303
18557
|
var init_EscrowRegistry2 = __esm({
|
|
18304
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
18305
|
-
|
|
18558
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/EscrowRegistry.js"() {
|
|
18559
|
+
data30 = [
|
|
18306
18560
|
{
|
|
18307
18561
|
"inputs": [],
|
|
18308
18562
|
"stateMutability": "nonpayable",
|
|
@@ -18516,15 +18770,15 @@ var init_EscrowRegistry2 = __esm({
|
|
|
18516
18770
|
"type": "function"
|
|
18517
18771
|
}
|
|
18518
18772
|
];
|
|
18519
|
-
EscrowRegistry_default2 =
|
|
18773
|
+
EscrowRegistry_default2 = data30;
|
|
18520
18774
|
}
|
|
18521
18775
|
});
|
|
18522
18776
|
|
|
18523
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
18524
|
-
var
|
|
18777
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/EscrowV2.js
|
|
18778
|
+
var data31, EscrowV2_default2;
|
|
18525
18779
|
var init_EscrowV22 = __esm({
|
|
18526
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
18527
|
-
|
|
18780
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/EscrowV2.js"() {
|
|
18781
|
+
data31 = [
|
|
18528
18782
|
{
|
|
18529
18783
|
"inputs": [
|
|
18530
18784
|
{
|
|
@@ -21541,15 +21795,264 @@ var init_EscrowV22 = __esm({
|
|
|
21541
21795
|
"type": "function"
|
|
21542
21796
|
}
|
|
21543
21797
|
];
|
|
21544
|
-
EscrowV2_default2 =
|
|
21798
|
+
EscrowV2_default2 = data31;
|
|
21799
|
+
}
|
|
21800
|
+
});
|
|
21801
|
+
|
|
21802
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/MultiAttestationVerifier.js
|
|
21803
|
+
var data32, MultiAttestationVerifier_default2;
|
|
21804
|
+
var init_MultiAttestationVerifier2 = __esm({
|
|
21805
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/MultiAttestationVerifier.js"() {
|
|
21806
|
+
data32 = [
|
|
21807
|
+
{
|
|
21808
|
+
"inputs": [
|
|
21809
|
+
{
|
|
21810
|
+
"internalType": "address[]",
|
|
21811
|
+
"name": "_initialWitnesses",
|
|
21812
|
+
"type": "address[]"
|
|
21813
|
+
},
|
|
21814
|
+
{
|
|
21815
|
+
"internalType": "uint256",
|
|
21816
|
+
"name": "_initialThreshold",
|
|
21817
|
+
"type": "uint256"
|
|
21818
|
+
}
|
|
21819
|
+
],
|
|
21820
|
+
"stateMutability": "nonpayable",
|
|
21821
|
+
"type": "constructor"
|
|
21822
|
+
},
|
|
21823
|
+
{
|
|
21824
|
+
"anonymous": false,
|
|
21825
|
+
"inputs": [
|
|
21826
|
+
{
|
|
21827
|
+
"indexed": true,
|
|
21828
|
+
"internalType": "address",
|
|
21829
|
+
"name": "previousOwner",
|
|
21830
|
+
"type": "address"
|
|
21831
|
+
},
|
|
21832
|
+
{
|
|
21833
|
+
"indexed": true,
|
|
21834
|
+
"internalType": "address",
|
|
21835
|
+
"name": "newOwner",
|
|
21836
|
+
"type": "address"
|
|
21837
|
+
}
|
|
21838
|
+
],
|
|
21839
|
+
"name": "OwnershipTransferred",
|
|
21840
|
+
"type": "event"
|
|
21841
|
+
},
|
|
21842
|
+
{
|
|
21843
|
+
"anonymous": false,
|
|
21844
|
+
"inputs": [
|
|
21845
|
+
{
|
|
21846
|
+
"indexed": false,
|
|
21847
|
+
"internalType": "uint256",
|
|
21848
|
+
"name": "oldThreshold",
|
|
21849
|
+
"type": "uint256"
|
|
21850
|
+
},
|
|
21851
|
+
{
|
|
21852
|
+
"indexed": false,
|
|
21853
|
+
"internalType": "uint256",
|
|
21854
|
+
"name": "newThreshold",
|
|
21855
|
+
"type": "uint256"
|
|
21856
|
+
}
|
|
21857
|
+
],
|
|
21858
|
+
"name": "RequiredSignaturesUpdated",
|
|
21859
|
+
"type": "event"
|
|
21860
|
+
},
|
|
21861
|
+
{
|
|
21862
|
+
"anonymous": false,
|
|
21863
|
+
"inputs": [
|
|
21864
|
+
{
|
|
21865
|
+
"indexed": true,
|
|
21866
|
+
"internalType": "address",
|
|
21867
|
+
"name": "witness",
|
|
21868
|
+
"type": "address"
|
|
21869
|
+
}
|
|
21870
|
+
],
|
|
21871
|
+
"name": "WitnessAdded",
|
|
21872
|
+
"type": "event"
|
|
21873
|
+
},
|
|
21874
|
+
{
|
|
21875
|
+
"anonymous": false,
|
|
21876
|
+
"inputs": [
|
|
21877
|
+
{
|
|
21878
|
+
"indexed": true,
|
|
21879
|
+
"internalType": "address",
|
|
21880
|
+
"name": "witness",
|
|
21881
|
+
"type": "address"
|
|
21882
|
+
}
|
|
21883
|
+
],
|
|
21884
|
+
"name": "WitnessRemoved",
|
|
21885
|
+
"type": "event"
|
|
21886
|
+
},
|
|
21887
|
+
{
|
|
21888
|
+
"inputs": [
|
|
21889
|
+
{
|
|
21890
|
+
"internalType": "address",
|
|
21891
|
+
"name": "_witness",
|
|
21892
|
+
"type": "address"
|
|
21893
|
+
}
|
|
21894
|
+
],
|
|
21895
|
+
"name": "addWitness",
|
|
21896
|
+
"outputs": [],
|
|
21897
|
+
"stateMutability": "nonpayable",
|
|
21898
|
+
"type": "function"
|
|
21899
|
+
},
|
|
21900
|
+
{
|
|
21901
|
+
"inputs": [
|
|
21902
|
+
{
|
|
21903
|
+
"internalType": "address",
|
|
21904
|
+
"name": "_witness",
|
|
21905
|
+
"type": "address"
|
|
21906
|
+
}
|
|
21907
|
+
],
|
|
21908
|
+
"name": "isWitness",
|
|
21909
|
+
"outputs": [
|
|
21910
|
+
{
|
|
21911
|
+
"internalType": "bool",
|
|
21912
|
+
"name": "",
|
|
21913
|
+
"type": "bool"
|
|
21914
|
+
}
|
|
21915
|
+
],
|
|
21916
|
+
"stateMutability": "view",
|
|
21917
|
+
"type": "function"
|
|
21918
|
+
},
|
|
21919
|
+
{
|
|
21920
|
+
"inputs": [],
|
|
21921
|
+
"name": "owner",
|
|
21922
|
+
"outputs": [
|
|
21923
|
+
{
|
|
21924
|
+
"internalType": "address",
|
|
21925
|
+
"name": "",
|
|
21926
|
+
"type": "address"
|
|
21927
|
+
}
|
|
21928
|
+
],
|
|
21929
|
+
"stateMutability": "view",
|
|
21930
|
+
"type": "function"
|
|
21931
|
+
},
|
|
21932
|
+
{
|
|
21933
|
+
"inputs": [
|
|
21934
|
+
{
|
|
21935
|
+
"internalType": "address",
|
|
21936
|
+
"name": "_witness",
|
|
21937
|
+
"type": "address"
|
|
21938
|
+
}
|
|
21939
|
+
],
|
|
21940
|
+
"name": "removeWitness",
|
|
21941
|
+
"outputs": [],
|
|
21942
|
+
"stateMutability": "nonpayable",
|
|
21943
|
+
"type": "function"
|
|
21944
|
+
},
|
|
21945
|
+
{
|
|
21946
|
+
"inputs": [],
|
|
21947
|
+
"name": "renounceOwnership",
|
|
21948
|
+
"outputs": [],
|
|
21949
|
+
"stateMutability": "nonpayable",
|
|
21950
|
+
"type": "function"
|
|
21951
|
+
},
|
|
21952
|
+
{
|
|
21953
|
+
"inputs": [],
|
|
21954
|
+
"name": "requiredSignatures",
|
|
21955
|
+
"outputs": [
|
|
21956
|
+
{
|
|
21957
|
+
"internalType": "uint256",
|
|
21958
|
+
"name": "",
|
|
21959
|
+
"type": "uint256"
|
|
21960
|
+
}
|
|
21961
|
+
],
|
|
21962
|
+
"stateMutability": "view",
|
|
21963
|
+
"type": "function"
|
|
21964
|
+
},
|
|
21965
|
+
{
|
|
21966
|
+
"inputs": [
|
|
21967
|
+
{
|
|
21968
|
+
"internalType": "uint256",
|
|
21969
|
+
"name": "_requiredSignatures",
|
|
21970
|
+
"type": "uint256"
|
|
21971
|
+
}
|
|
21972
|
+
],
|
|
21973
|
+
"name": "setRequiredSignatures",
|
|
21974
|
+
"outputs": [],
|
|
21975
|
+
"stateMutability": "nonpayable",
|
|
21976
|
+
"type": "function"
|
|
21977
|
+
},
|
|
21978
|
+
{
|
|
21979
|
+
"inputs": [
|
|
21980
|
+
{
|
|
21981
|
+
"internalType": "address",
|
|
21982
|
+
"name": "newOwner",
|
|
21983
|
+
"type": "address"
|
|
21984
|
+
}
|
|
21985
|
+
],
|
|
21986
|
+
"name": "transferOwnership",
|
|
21987
|
+
"outputs": [],
|
|
21988
|
+
"stateMutability": "nonpayable",
|
|
21989
|
+
"type": "function"
|
|
21990
|
+
},
|
|
21991
|
+
{
|
|
21992
|
+
"inputs": [
|
|
21993
|
+
{
|
|
21994
|
+
"internalType": "bytes32",
|
|
21995
|
+
"name": "_digest",
|
|
21996
|
+
"type": "bytes32"
|
|
21997
|
+
},
|
|
21998
|
+
{
|
|
21999
|
+
"internalType": "bytes[]",
|
|
22000
|
+
"name": "_sigs",
|
|
22001
|
+
"type": "bytes[]"
|
|
22002
|
+
},
|
|
22003
|
+
{
|
|
22004
|
+
"internalType": "bytes",
|
|
22005
|
+
"name": "",
|
|
22006
|
+
"type": "bytes"
|
|
22007
|
+
}
|
|
22008
|
+
],
|
|
22009
|
+
"name": "verify",
|
|
22010
|
+
"outputs": [
|
|
22011
|
+
{
|
|
22012
|
+
"internalType": "bool",
|
|
22013
|
+
"name": "isValid",
|
|
22014
|
+
"type": "bool"
|
|
22015
|
+
}
|
|
22016
|
+
],
|
|
22017
|
+
"stateMutability": "view",
|
|
22018
|
+
"type": "function"
|
|
22019
|
+
},
|
|
22020
|
+
{
|
|
22021
|
+
"inputs": [],
|
|
22022
|
+
"name": "witnessCount",
|
|
22023
|
+
"outputs": [
|
|
22024
|
+
{
|
|
22025
|
+
"internalType": "uint256",
|
|
22026
|
+
"name": "",
|
|
22027
|
+
"type": "uint256"
|
|
22028
|
+
}
|
|
22029
|
+
],
|
|
22030
|
+
"stateMutability": "view",
|
|
22031
|
+
"type": "function"
|
|
22032
|
+
},
|
|
22033
|
+
{
|
|
22034
|
+
"inputs": [],
|
|
22035
|
+
"name": "witnesses",
|
|
22036
|
+
"outputs": [
|
|
22037
|
+
{
|
|
22038
|
+
"internalType": "address[]",
|
|
22039
|
+
"name": "",
|
|
22040
|
+
"type": "address[]"
|
|
22041
|
+
}
|
|
22042
|
+
],
|
|
22043
|
+
"stateMutability": "view",
|
|
22044
|
+
"type": "function"
|
|
22045
|
+
}
|
|
22046
|
+
];
|
|
22047
|
+
MultiAttestationVerifier_default2 = data32;
|
|
21545
22048
|
}
|
|
21546
22049
|
});
|
|
21547
22050
|
|
|
21548
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
21549
|
-
var
|
|
22051
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/NullifierRegistry.js
|
|
22052
|
+
var data33, NullifierRegistry_default2;
|
|
21550
22053
|
var init_NullifierRegistry2 = __esm({
|
|
21551
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
21552
|
-
|
|
22054
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/NullifierRegistry.js"() {
|
|
22055
|
+
data33 = [
|
|
21553
22056
|
{
|
|
21554
22057
|
"inputs": [],
|
|
21555
22058
|
"stateMutability": "nonpayable",
|
|
@@ -21762,15 +22265,15 @@ var init_NullifierRegistry2 = __esm({
|
|
|
21762
22265
|
"type": "function"
|
|
21763
22266
|
}
|
|
21764
22267
|
];
|
|
21765
|
-
NullifierRegistry_default2 =
|
|
22268
|
+
NullifierRegistry_default2 = data33;
|
|
21766
22269
|
}
|
|
21767
22270
|
});
|
|
21768
22271
|
|
|
21769
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
21770
|
-
var
|
|
22272
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/Orchestrator.js
|
|
22273
|
+
var data34, Orchestrator_default2;
|
|
21771
22274
|
var init_Orchestrator2 = __esm({
|
|
21772
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
21773
|
-
|
|
22275
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/Orchestrator.js"() {
|
|
22276
|
+
data34 = [
|
|
21774
22277
|
{
|
|
21775
22278
|
"inputs": [
|
|
21776
22279
|
{
|
|
@@ -22915,15 +23418,15 @@ var init_Orchestrator2 = __esm({
|
|
|
22915
23418
|
"type": "function"
|
|
22916
23419
|
}
|
|
22917
23420
|
];
|
|
22918
|
-
Orchestrator_default2 =
|
|
23421
|
+
Orchestrator_default2 = data34;
|
|
22919
23422
|
}
|
|
22920
23423
|
});
|
|
22921
23424
|
|
|
22922
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
22923
|
-
var
|
|
23425
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/OrchestratorRegistry.js
|
|
23426
|
+
var data35, OrchestratorRegistry_default2;
|
|
22924
23427
|
var init_OrchestratorRegistry2 = __esm({
|
|
22925
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
22926
|
-
|
|
23428
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/OrchestratorRegistry.js"() {
|
|
23429
|
+
data35 = [
|
|
22927
23430
|
{
|
|
22928
23431
|
"inputs": [
|
|
22929
23432
|
{
|
|
@@ -23075,15 +23578,15 @@ var init_OrchestratorRegistry2 = __esm({
|
|
|
23075
23578
|
"type": "function"
|
|
23076
23579
|
}
|
|
23077
23580
|
];
|
|
23078
|
-
OrchestratorRegistry_default2 =
|
|
23581
|
+
OrchestratorRegistry_default2 = data35;
|
|
23079
23582
|
}
|
|
23080
23583
|
});
|
|
23081
23584
|
|
|
23082
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
23083
|
-
var
|
|
23585
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/OrchestratorV2.js
|
|
23586
|
+
var data36, OrchestratorV2_default2;
|
|
23084
23587
|
var init_OrchestratorV22 = __esm({
|
|
23085
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
23086
|
-
|
|
23588
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/OrchestratorV2.js"() {
|
|
23589
|
+
data36 = [
|
|
23087
23590
|
{
|
|
23088
23591
|
"inputs": [
|
|
23089
23592
|
{
|
|
@@ -24481,15 +24984,15 @@ var init_OrchestratorV22 = __esm({
|
|
|
24481
24984
|
"type": "function"
|
|
24482
24985
|
}
|
|
24483
24986
|
];
|
|
24484
|
-
OrchestratorV2_default2 =
|
|
24987
|
+
OrchestratorV2_default2 = data36;
|
|
24485
24988
|
}
|
|
24486
24989
|
});
|
|
24487
24990
|
|
|
24488
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
24489
|
-
var
|
|
24991
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/PaymentVerifierRegistry.js
|
|
24992
|
+
var data37, PaymentVerifierRegistry_default2;
|
|
24490
24993
|
var init_PaymentVerifierRegistry2 = __esm({
|
|
24491
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
24492
|
-
|
|
24994
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/PaymentVerifierRegistry.js"() {
|
|
24995
|
+
data37 = [
|
|
24493
24996
|
{
|
|
24494
24997
|
"inputs": [],
|
|
24495
24998
|
"stateMutability": "nonpayable",
|
|
@@ -24821,15 +25324,15 @@ var init_PaymentVerifierRegistry2 = __esm({
|
|
|
24821
25324
|
"type": "function"
|
|
24822
25325
|
}
|
|
24823
25326
|
];
|
|
24824
|
-
PaymentVerifierRegistry_default2 =
|
|
25327
|
+
PaymentVerifierRegistry_default2 = data37;
|
|
24825
25328
|
}
|
|
24826
25329
|
});
|
|
24827
25330
|
|
|
24828
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
24829
|
-
var
|
|
25331
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/PostIntentHookRegistry.js
|
|
25332
|
+
var data38, PostIntentHookRegistry_default2;
|
|
24830
25333
|
var init_PostIntentHookRegistry2 = __esm({
|
|
24831
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
24832
|
-
|
|
25334
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/PostIntentHookRegistry.js"() {
|
|
25335
|
+
data38 = [
|
|
24833
25336
|
{
|
|
24834
25337
|
"inputs": [],
|
|
24835
25338
|
"stateMutability": "nonpayable",
|
|
@@ -25010,15 +25513,15 @@ var init_PostIntentHookRegistry2 = __esm({
|
|
|
25010
25513
|
"type": "function"
|
|
25011
25514
|
}
|
|
25012
25515
|
];
|
|
25013
|
-
PostIntentHookRegistry_default2 =
|
|
25516
|
+
PostIntentHookRegistry_default2 = data38;
|
|
25014
25517
|
}
|
|
25015
25518
|
});
|
|
25016
25519
|
|
|
25017
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
25018
|
-
var
|
|
25520
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/ProtocolViewer.js
|
|
25521
|
+
var data39, ProtocolViewer_default2;
|
|
25019
25522
|
var init_ProtocolViewer2 = __esm({
|
|
25020
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
25021
|
-
|
|
25523
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/ProtocolViewer.js"() {
|
|
25524
|
+
data39 = [
|
|
25022
25525
|
{
|
|
25023
25526
|
"inputs": [
|
|
25024
25527
|
{
|
|
@@ -26235,15 +26738,15 @@ var init_ProtocolViewer2 = __esm({
|
|
|
26235
26738
|
"type": "function"
|
|
26236
26739
|
}
|
|
26237
26740
|
];
|
|
26238
|
-
ProtocolViewer_default2 =
|
|
26741
|
+
ProtocolViewer_default2 = data39;
|
|
26239
26742
|
}
|
|
26240
26743
|
});
|
|
26241
26744
|
|
|
26242
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
26243
|
-
var
|
|
26745
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/ProtocolViewerV2.js
|
|
26746
|
+
var data40, ProtocolViewerV2_default2;
|
|
26244
26747
|
var init_ProtocolViewerV22 = __esm({
|
|
26245
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
26246
|
-
|
|
26748
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/ProtocolViewerV2.js"() {
|
|
26749
|
+
data40 = [
|
|
26247
26750
|
{
|
|
26248
26751
|
"inputs": [
|
|
26249
26752
|
{
|
|
@@ -27335,15 +27838,15 @@ var init_ProtocolViewerV22 = __esm({
|
|
|
27335
27838
|
"type": "function"
|
|
27336
27839
|
}
|
|
27337
27840
|
];
|
|
27338
|
-
ProtocolViewerV2_default2 =
|
|
27841
|
+
ProtocolViewerV2_default2 = data40;
|
|
27339
27842
|
}
|
|
27340
27843
|
});
|
|
27341
27844
|
|
|
27342
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
27343
|
-
var
|
|
27845
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/PythOracleAdapter.js
|
|
27846
|
+
var data41, PythOracleAdapter_default2;
|
|
27344
27847
|
var init_PythOracleAdapter2 = __esm({
|
|
27345
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
27346
|
-
|
|
27848
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/PythOracleAdapter.js"() {
|
|
27849
|
+
data41 = [
|
|
27347
27850
|
{
|
|
27348
27851
|
"inputs": [
|
|
27349
27852
|
{
|
|
@@ -27417,15 +27920,15 @@ var init_PythOracleAdapter2 = __esm({
|
|
|
27417
27920
|
"type": "function"
|
|
27418
27921
|
}
|
|
27419
27922
|
];
|
|
27420
|
-
PythOracleAdapter_default2 =
|
|
27923
|
+
PythOracleAdapter_default2 = data41;
|
|
27421
27924
|
}
|
|
27422
27925
|
});
|
|
27423
27926
|
|
|
27424
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
27425
|
-
var
|
|
27927
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/RateManagerV1.js
|
|
27928
|
+
var data42, RateManagerV1_default2;
|
|
27426
27929
|
var init_RateManagerV12 = __esm({
|
|
27427
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
27428
|
-
|
|
27930
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/RateManagerV1.js"() {
|
|
27931
|
+
data42 = [
|
|
27429
27932
|
{
|
|
27430
27933
|
"inputs": [
|
|
27431
27934
|
{
|
|
@@ -28178,15 +28681,15 @@ var init_RateManagerV12 = __esm({
|
|
|
28178
28681
|
"type": "function"
|
|
28179
28682
|
}
|
|
28180
28683
|
];
|
|
28181
|
-
RateManagerV1_default2 =
|
|
28684
|
+
RateManagerV1_default2 = data42;
|
|
28182
28685
|
}
|
|
28183
28686
|
});
|
|
28184
28687
|
|
|
28185
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
28186
|
-
var
|
|
28688
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/RelayerRegistry.js
|
|
28689
|
+
var data43, RelayerRegistry_default2;
|
|
28187
28690
|
var init_RelayerRegistry2 = __esm({
|
|
28188
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
28189
|
-
|
|
28691
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/RelayerRegistry.js"() {
|
|
28692
|
+
data43 = [
|
|
28190
28693
|
{
|
|
28191
28694
|
"inputs": [],
|
|
28192
28695
|
"stateMutability": "nonpayable",
|
|
@@ -28348,15 +28851,15 @@ var init_RelayerRegistry2 = __esm({
|
|
|
28348
28851
|
"type": "function"
|
|
28349
28852
|
}
|
|
28350
28853
|
];
|
|
28351
|
-
RelayerRegistry_default2 =
|
|
28854
|
+
RelayerRegistry_default2 = data43;
|
|
28352
28855
|
}
|
|
28353
28856
|
});
|
|
28354
28857
|
|
|
28355
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
28356
|
-
var
|
|
28858
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/SignatureGatingPreIntentHook.js
|
|
28859
|
+
var data44, SignatureGatingPreIntentHook_default2;
|
|
28357
28860
|
var init_SignatureGatingPreIntentHook2 = __esm({
|
|
28358
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
28359
|
-
|
|
28861
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/SignatureGatingPreIntentHook.js"() {
|
|
28862
|
+
data44 = [
|
|
28360
28863
|
{
|
|
28361
28864
|
"inputs": [
|
|
28362
28865
|
{
|
|
@@ -28653,15 +29156,15 @@ var init_SignatureGatingPreIntentHook2 = __esm({
|
|
|
28653
29156
|
"type": "function"
|
|
28654
29157
|
}
|
|
28655
29158
|
];
|
|
28656
|
-
SignatureGatingPreIntentHook_default2 =
|
|
29159
|
+
SignatureGatingPreIntentHook_default2 = data44;
|
|
28657
29160
|
}
|
|
28658
29161
|
});
|
|
28659
29162
|
|
|
28660
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
28661
|
-
var
|
|
29163
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/SimpleAttestationVerifier.js
|
|
29164
|
+
var data45, SimpleAttestationVerifier_default2;
|
|
28662
29165
|
var init_SimpleAttestationVerifier2 = __esm({
|
|
28663
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
28664
|
-
|
|
29166
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/SimpleAttestationVerifier.js"() {
|
|
29167
|
+
data45 = [
|
|
28665
29168
|
{
|
|
28666
29169
|
"inputs": [
|
|
28667
29170
|
{
|
|
@@ -28813,15 +29316,15 @@ var init_SimpleAttestationVerifier2 = __esm({
|
|
|
28813
29316
|
"type": "function"
|
|
28814
29317
|
}
|
|
28815
29318
|
];
|
|
28816
|
-
SimpleAttestationVerifier_default2 =
|
|
29319
|
+
SimpleAttestationVerifier_default2 = data45;
|
|
28817
29320
|
}
|
|
28818
29321
|
});
|
|
28819
29322
|
|
|
28820
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
28821
|
-
var
|
|
29323
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/UnifiedPaymentVerifier.js
|
|
29324
|
+
var data46, UnifiedPaymentVerifier_default2;
|
|
28822
29325
|
var init_UnifiedPaymentVerifier2 = __esm({
|
|
28823
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
28824
|
-
|
|
29326
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/UnifiedPaymentVerifier.js"() {
|
|
29327
|
+
data46 = [
|
|
28825
29328
|
{
|
|
28826
29329
|
"inputs": [
|
|
28827
29330
|
{
|
|
@@ -29185,15 +29688,15 @@ var init_UnifiedPaymentVerifier2 = __esm({
|
|
|
29185
29688
|
"type": "function"
|
|
29186
29689
|
}
|
|
29187
29690
|
];
|
|
29188
|
-
UnifiedPaymentVerifier_default2 =
|
|
29691
|
+
UnifiedPaymentVerifier_default2 = data46;
|
|
29189
29692
|
}
|
|
29190
29693
|
});
|
|
29191
29694
|
|
|
29192
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
29193
|
-
var
|
|
29695
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/UnifiedPaymentVerifierV2.js
|
|
29696
|
+
var data47, UnifiedPaymentVerifierV2_default2;
|
|
29194
29697
|
var init_UnifiedPaymentVerifierV22 = __esm({
|
|
29195
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
29196
|
-
|
|
29698
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/UnifiedPaymentVerifierV2.js"() {
|
|
29699
|
+
data47 = [
|
|
29197
29700
|
{
|
|
29198
29701
|
"inputs": [
|
|
29199
29702
|
{
|
|
@@ -29557,15 +30060,15 @@ var init_UnifiedPaymentVerifierV22 = __esm({
|
|
|
29557
30060
|
"type": "function"
|
|
29558
30061
|
}
|
|
29559
30062
|
];
|
|
29560
|
-
UnifiedPaymentVerifierV2_default2 =
|
|
30063
|
+
UnifiedPaymentVerifierV2_default2 = data47;
|
|
29561
30064
|
}
|
|
29562
30065
|
});
|
|
29563
30066
|
|
|
29564
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
29565
|
-
var
|
|
30067
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/WhitelistPreIntentHook.js
|
|
30068
|
+
var data48, WhitelistPreIntentHook_default2;
|
|
29566
30069
|
var init_WhitelistPreIntentHook2 = __esm({
|
|
29567
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
29568
|
-
|
|
30070
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/abis/baseStaging/WhitelistPreIntentHook.js"() {
|
|
30071
|
+
data48 = [
|
|
29569
30072
|
{
|
|
29570
30073
|
"inputs": [
|
|
29571
30074
|
{
|
|
@@ -29906,11 +30409,11 @@ var init_WhitelistPreIntentHook2 = __esm({
|
|
|
29906
30409
|
"type": "function"
|
|
29907
30410
|
}
|
|
29908
30411
|
];
|
|
29909
|
-
WhitelistPreIntentHook_default2 =
|
|
30412
|
+
WhitelistPreIntentHook_default2 = data48;
|
|
29910
30413
|
}
|
|
29911
30414
|
});
|
|
29912
30415
|
|
|
29913
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
30416
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging.mjs
|
|
29914
30417
|
var baseStaging_exports = {};
|
|
29915
30418
|
__export(baseStaging_exports, {
|
|
29916
30419
|
AcrossBridgeHook: () => AcrossBridgeHook_default2,
|
|
@@ -29919,6 +30422,7 @@ __export(baseStaging_exports, {
|
|
|
29919
30422
|
Escrow: () => Escrow_default2,
|
|
29920
30423
|
EscrowRegistry: () => EscrowRegistry_default2,
|
|
29921
30424
|
EscrowV2: () => EscrowV2_default2,
|
|
30425
|
+
MultiAttestationVerifier: () => MultiAttestationVerifier_default2,
|
|
29922
30426
|
NullifierRegistry: () => NullifierRegistry_default2,
|
|
29923
30427
|
Orchestrator: () => Orchestrator_default2,
|
|
29924
30428
|
OrchestratorRegistry: () => OrchestratorRegistry_default2,
|
|
@@ -29937,13 +30441,14 @@ __export(baseStaging_exports, {
|
|
|
29937
30441
|
WhitelistPreIntentHook: () => WhitelistPreIntentHook_default2
|
|
29938
30442
|
});
|
|
29939
30443
|
var init_baseStaging2 = __esm({
|
|
29940
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
30444
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging.mjs"() {
|
|
29941
30445
|
init_AcrossBridgeHook2();
|
|
29942
30446
|
init_AcrossBridgeHookV22();
|
|
29943
30447
|
init_ChainlinkOracleAdapter2();
|
|
29944
30448
|
init_Escrow2();
|
|
29945
30449
|
init_EscrowRegistry2();
|
|
29946
30450
|
init_EscrowV22();
|
|
30451
|
+
init_MultiAttestationVerifier2();
|
|
29947
30452
|
init_NullifierRegistry2();
|
|
29948
30453
|
init_Orchestrator2();
|
|
29949
30454
|
init_OrchestratorRegistry2();
|
|
@@ -29963,10 +30468,10 @@ var init_baseStaging2 = __esm({
|
|
|
29963
30468
|
}
|
|
29964
30469
|
});
|
|
29965
30470
|
|
|
29966
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
30471
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base/Escrow.json
|
|
29967
30472
|
var Escrow_default3;
|
|
29968
30473
|
var init_Escrow3 = __esm({
|
|
29969
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
30474
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base/Escrow.json"() {
|
|
29970
30475
|
Escrow_default3 = [
|
|
29971
30476
|
{
|
|
29972
30477
|
inputs: [
|
|
@@ -32180,10 +32685,10 @@ var init_Escrow3 = __esm({
|
|
|
32180
32685
|
}
|
|
32181
32686
|
});
|
|
32182
32687
|
|
|
32183
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
32688
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base/Orchestrator.json
|
|
32184
32689
|
var Orchestrator_default3;
|
|
32185
32690
|
var init_Orchestrator3 = __esm({
|
|
32186
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
32691
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base/Orchestrator.json"() {
|
|
32187
32692
|
Orchestrator_default3 = [
|
|
32188
32693
|
{
|
|
32189
32694
|
inputs: [
|
|
@@ -33332,10 +33837,10 @@ var init_Orchestrator3 = __esm({
|
|
|
33332
33837
|
}
|
|
33333
33838
|
});
|
|
33334
33839
|
|
|
33335
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
33840
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base/ProtocolViewer.json
|
|
33336
33841
|
var ProtocolViewer_default3;
|
|
33337
33842
|
var init_ProtocolViewer3 = __esm({
|
|
33338
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
33843
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base/ProtocolViewer.json"() {
|
|
33339
33844
|
ProtocolViewer_default3 = [
|
|
33340
33845
|
{
|
|
33341
33846
|
inputs: [
|
|
@@ -34556,10 +35061,10 @@ var init_ProtocolViewer3 = __esm({
|
|
|
34556
35061
|
}
|
|
34557
35062
|
});
|
|
34558
35063
|
|
|
34559
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
35064
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base/UnifiedPaymentVerifier.json
|
|
34560
35065
|
var UnifiedPaymentVerifier_default3;
|
|
34561
35066
|
var init_UnifiedPaymentVerifier3 = __esm({
|
|
34562
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
35067
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/base/UnifiedPaymentVerifier.json"() {
|
|
34563
35068
|
UnifiedPaymentVerifier_default3 = [
|
|
34564
35069
|
{
|
|
34565
35070
|
inputs: [
|
|
@@ -34927,10 +35432,10 @@ var init_UnifiedPaymentVerifier3 = __esm({
|
|
|
34927
35432
|
}
|
|
34928
35433
|
});
|
|
34929
35434
|
|
|
34930
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
35435
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging/Escrow.json
|
|
34931
35436
|
var Escrow_default4;
|
|
34932
35437
|
var init_Escrow4 = __esm({
|
|
34933
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
35438
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging/Escrow.json"() {
|
|
34934
35439
|
Escrow_default4 = [
|
|
34935
35440
|
{
|
|
34936
35441
|
inputs: [
|
|
@@ -37144,10 +37649,10 @@ var init_Escrow4 = __esm({
|
|
|
37144
37649
|
}
|
|
37145
37650
|
});
|
|
37146
37651
|
|
|
37147
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
37652
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging/Orchestrator.json
|
|
37148
37653
|
var Orchestrator_default4;
|
|
37149
37654
|
var init_Orchestrator4 = __esm({
|
|
37150
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
37655
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging/Orchestrator.json"() {
|
|
37151
37656
|
Orchestrator_default4 = [
|
|
37152
37657
|
{
|
|
37153
37658
|
inputs: [
|
|
@@ -38296,10 +38801,10 @@ var init_Orchestrator4 = __esm({
|
|
|
38296
38801
|
}
|
|
38297
38802
|
});
|
|
38298
38803
|
|
|
38299
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
38804
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging/UnifiedPaymentVerifier.json
|
|
38300
38805
|
var UnifiedPaymentVerifier_default4;
|
|
38301
38806
|
var init_UnifiedPaymentVerifier4 = __esm({
|
|
38302
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
38807
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging/UnifiedPaymentVerifier.json"() {
|
|
38303
38808
|
UnifiedPaymentVerifier_default4 = [
|
|
38304
38809
|
{
|
|
38305
38810
|
inputs: [
|
|
@@ -38667,10 +39172,10 @@ var init_UnifiedPaymentVerifier4 = __esm({
|
|
|
38667
39172
|
}
|
|
38668
39173
|
});
|
|
38669
39174
|
|
|
38670
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
39175
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging/ProtocolViewer.json
|
|
38671
39176
|
var ProtocolViewer_default4;
|
|
38672
39177
|
var init_ProtocolViewer4 = __esm({
|
|
38673
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
39178
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/abis/baseStaging/ProtocolViewer.json"() {
|
|
38674
39179
|
ProtocolViewer_default4 = [
|
|
38675
39180
|
{
|
|
38676
39181
|
inputs: [
|
|
@@ -39891,11 +40396,11 @@ var init_ProtocolViewer4 = __esm({
|
|
|
39891
40396
|
}
|
|
39892
40397
|
});
|
|
39893
40398
|
|
|
39894
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
39895
|
-
var
|
|
40399
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/constants/base.js
|
|
40400
|
+
var data49, base_default2;
|
|
39896
40401
|
var init_base3 = __esm({
|
|
39897
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
39898
|
-
|
|
40402
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/constants/base.js"() {
|
|
40403
|
+
data49 = {
|
|
39899
40404
|
"INTENT_EXPIRATION_PERIOD": "21600",
|
|
39900
40405
|
"PROTOCOL_TAKER_FEE": "0",
|
|
39901
40406
|
"PROTOCOL_TAKER_FEE_RECIPIENT": "0x0bC26FF515411396DD588Abd6Ef6846E04470227",
|
|
@@ -39906,15 +40411,15 @@ var init_base3 = __esm({
|
|
|
39906
40411
|
"USDC": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
39907
40412
|
"WITNESS_ADDRESS": "0x5106A86819ED6Bb82c77CcBfC151250E1d369DbA"
|
|
39908
40413
|
};
|
|
39909
|
-
base_default2 =
|
|
40414
|
+
base_default2 = data49;
|
|
39910
40415
|
}
|
|
39911
40416
|
});
|
|
39912
40417
|
|
|
39913
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
39914
|
-
var
|
|
40418
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/constants/baseStaging.js
|
|
40419
|
+
var data50, baseStaging_default2;
|
|
39915
40420
|
var init_baseStaging3 = __esm({
|
|
39916
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
39917
|
-
|
|
40421
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/constants/baseStaging.js"() {
|
|
40422
|
+
data50 = {
|
|
39918
40423
|
"INTENT_EXPIRATION_PERIOD": "3600",
|
|
39919
40424
|
"PROTOCOL_TAKER_FEE": "0",
|
|
39920
40425
|
"PROTOCOL_TAKER_FEE_RECIPIENT": "",
|
|
@@ -39925,18 +40430,18 @@ var init_baseStaging3 = __esm({
|
|
|
39925
40430
|
"USDC": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
39926
40431
|
"WITNESS_ADDRESS": "0x4ab950AE1e3326578Bf7e643a2031E858aBa2927"
|
|
39927
40432
|
};
|
|
39928
|
-
baseStaging_default2 =
|
|
40433
|
+
baseStaging_default2 = data50;
|
|
39929
40434
|
}
|
|
39930
40435
|
});
|
|
39931
40436
|
|
|
39932
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
40437
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/paymentMethods/base.json
|
|
39933
40438
|
var base_default3;
|
|
39934
40439
|
var init_base4 = __esm({
|
|
39935
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
40440
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/paymentMethods/base.json"() {
|
|
39936
40441
|
base_default3 = {
|
|
39937
40442
|
network: "base",
|
|
39938
40443
|
chainId: "8453",
|
|
39939
|
-
generatedAt: "2026-04-
|
|
40444
|
+
generatedAt: "2026-04-20T07:47:59.423Z",
|
|
39940
40445
|
methods: {
|
|
39941
40446
|
venmo: {
|
|
39942
40447
|
paymentMethodHash: "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
@@ -40116,13 +40621,13 @@ var init_base4 = __esm({
|
|
|
40116
40621
|
}
|
|
40117
40622
|
});
|
|
40118
40623
|
|
|
40119
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
40624
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/paymentMethods/baseStaging.json
|
|
40120
40625
|
var baseStaging_default3;
|
|
40121
40626
|
var init_baseStaging4 = __esm({
|
|
40122
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
40627
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/paymentMethods/baseStaging.json"() {
|
|
40123
40628
|
baseStaging_default3 = {
|
|
40124
40629
|
network: "base_staging",
|
|
40125
|
-
generatedAt: "2026-04-
|
|
40630
|
+
generatedAt: "2026-04-20T07:47:59.424Z",
|
|
40126
40631
|
methods: {
|
|
40127
40632
|
venmo: {
|
|
40128
40633
|
paymentMethodHash: "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
@@ -40646,12 +41151,12 @@ var init_currencyKeccak256 = __esm({
|
|
|
40646
41151
|
}
|
|
40647
41152
|
});
|
|
40648
41153
|
|
|
40649
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
41154
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/paymentMethods/lookups.json
|
|
40650
41155
|
var lookups_default;
|
|
40651
41156
|
var init_lookups = __esm({
|
|
40652
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
41157
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/paymentMethods/lookups.json"() {
|
|
40653
41158
|
lookups_default = {
|
|
40654
|
-
generatedAt: "2026-04-
|
|
41159
|
+
generatedAt: "2026-04-20T07:47:59.425Z",
|
|
40655
41160
|
nameToHash: {
|
|
40656
41161
|
venmo: "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
40657
41162
|
revolut: "0x617f88ab82b5c1b014c539f7e75121427f0bb50a4c58b187a238531e7d58605d",
|
|
@@ -40703,13 +41208,13 @@ var init_paymentMethodHashes = __esm({
|
|
|
40703
41208
|
}
|
|
40704
41209
|
});
|
|
40705
41210
|
|
|
40706
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
40707
|
-
var
|
|
41211
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/paymentMethods/baseStaging.js
|
|
41212
|
+
var data51, baseStaging_default4;
|
|
40708
41213
|
var init_baseStaging5 = __esm({
|
|
40709
|
-
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
40710
|
-
|
|
41214
|
+
"../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/paymentMethods/baseStaging.js"() {
|
|
41215
|
+
data51 = {
|
|
40711
41216
|
"network": "base_staging",
|
|
40712
|
-
"generatedAt": "2026-04-
|
|
41217
|
+
"generatedAt": "2026-04-20T07:47:59.424Z",
|
|
40713
41218
|
"methods": {
|
|
40714
41219
|
"venmo": {
|
|
40715
41220
|
"paymentMethodHash": "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
@@ -40886,7 +41391,7 @@ var init_baseStaging5 = __esm({
|
|
|
40886
41391
|
}
|
|
40887
41392
|
}
|
|
40888
41393
|
};
|
|
40889
|
-
baseStaging_default4 =
|
|
41394
|
+
baseStaging_default4 = data51;
|
|
40890
41395
|
}
|
|
40891
41396
|
});
|
|
40892
41397
|
|
|
@@ -41888,16 +42393,26 @@ async function apiCreatePaymentAttestation(payload, attestationServiceUrl, platf
|
|
|
41888
42393
|
return res.json();
|
|
41889
42394
|
});
|
|
41890
42395
|
}
|
|
41891
|
-
async function apiCreateSellerCredentialBundle(payload, attestationServiceUrl, platform, timeoutMs) {
|
|
42396
|
+
async function apiCreateSellerCredentialBundle(payload, attestationServiceUrl, platform, timeoutMs, attestationRuntime) {
|
|
41892
42397
|
return withRetry(
|
|
41893
42398
|
async () => {
|
|
42399
|
+
const requestFetch = attestationRuntime?.fetch ?? fetch;
|
|
42400
|
+
const encryptedUpload = await zkp2pAttestation.createEncryptedSellerCredentialUpload({
|
|
42401
|
+
attestationServiceUrl,
|
|
42402
|
+
payeeId: payload.payeeId,
|
|
42403
|
+
sessionMaterial: payload.sessionMaterial,
|
|
42404
|
+
...typeof timeoutMs === "number" ? { timeoutMs } : {},
|
|
42405
|
+
...attestationRuntime?.fetch ? { fetch: attestationRuntime.fetch } : {},
|
|
42406
|
+
...attestationRuntime?.subtle ? { subtle: attestationRuntime.subtle } : {},
|
|
42407
|
+
...attestationRuntime?.getRandomValues ? { getRandomValues: attestationRuntime.getRandomValues } : {}
|
|
42408
|
+
});
|
|
41894
42409
|
let res;
|
|
41895
42410
|
try {
|
|
41896
42411
|
const endpoint = `/seller/credentials/${encodeURIComponent(platform)}`;
|
|
41897
|
-
res = await
|
|
42412
|
+
res = await requestFetch(`${attestationServiceUrl}${endpoint}`, {
|
|
41898
42413
|
method: "POST",
|
|
41899
42414
|
headers: headers(),
|
|
41900
|
-
body: JSON.stringify(
|
|
42415
|
+
body: JSON.stringify({ encryptedUpload })
|
|
41901
42416
|
});
|
|
41902
42417
|
} catch (error) {
|
|
41903
42418
|
throw new exports.NetworkError("Failed to connect to Attestation Service", {
|
|
@@ -42062,7 +42577,7 @@ var PAYMENT_PLATFORMS = [
|
|
|
42062
42577
|
// src/utils/constants.ts
|
|
42063
42578
|
var DEFAULT_BASE_API_URL = "https://api.zkp2p.xyz";
|
|
42064
42579
|
|
|
42065
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.
|
|
42580
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/oracleFeeds/chainlink.json
|
|
42066
42581
|
var chainlink_default = {
|
|
42067
42582
|
feeds: [
|
|
42068
42583
|
{
|
|
@@ -42478,7 +42993,7 @@ var IntentOperations = class {
|
|
|
42478
42993
|
}
|
|
42479
42994
|
];
|
|
42480
42995
|
const { referrer } = params.txOverrides ?? {};
|
|
42481
|
-
const
|
|
42996
|
+
const data52 = encodeWithAttribution(
|
|
42482
42997
|
{
|
|
42483
42998
|
abi: orchestratorContext.abi,
|
|
42484
42999
|
functionName: "signalIntent",
|
|
@@ -42488,7 +43003,7 @@ var IntentOperations = class {
|
|
|
42488
43003
|
);
|
|
42489
43004
|
return {
|
|
42490
43005
|
to: orchestratorContext.address,
|
|
42491
|
-
data:
|
|
43006
|
+
data: data52,
|
|
42492
43007
|
value: 0n,
|
|
42493
43008
|
chainId: this.config.getChainId(),
|
|
42494
43009
|
abi: orchestratorContext.abi,
|
|
@@ -42503,7 +43018,7 @@ var IntentOperations = class {
|
|
|
42503
43018
|
});
|
|
42504
43019
|
const args = [params.intentHash];
|
|
42505
43020
|
const { referrer } = params.txOverrides ?? {};
|
|
42506
|
-
const
|
|
43021
|
+
const data52 = encodeWithAttribution(
|
|
42507
43022
|
{
|
|
42508
43023
|
abi: orchestratorContext.abi,
|
|
42509
43024
|
functionName: "cancelIntent",
|
|
@@ -42513,7 +43028,7 @@ var IntentOperations = class {
|
|
|
42513
43028
|
);
|
|
42514
43029
|
return {
|
|
42515
43030
|
to: orchestratorContext.address,
|
|
42516
|
-
data:
|
|
43031
|
+
data: data52,
|
|
42517
43032
|
value: 0n,
|
|
42518
43033
|
chainId: this.config.getChainId(),
|
|
42519
43034
|
abi: orchestratorContext.abi,
|
|
@@ -42528,7 +43043,7 @@ var IntentOperations = class {
|
|
|
42528
43043
|
});
|
|
42529
43044
|
const args = [params.intentHash];
|
|
42530
43045
|
const { referrer } = params.txOverrides ?? {};
|
|
42531
|
-
const
|
|
43046
|
+
const data52 = encodeWithAttribution(
|
|
42532
43047
|
{
|
|
42533
43048
|
abi: orchestratorContext.abi,
|
|
42534
43049
|
functionName: "releaseFundsToPayer",
|
|
@@ -42538,7 +43053,7 @@ var IntentOperations = class {
|
|
|
42538
43053
|
);
|
|
42539
43054
|
return {
|
|
42540
43055
|
to: orchestratorContext.address,
|
|
42541
|
-
data:
|
|
43056
|
+
data: data52,
|
|
42542
43057
|
value: 0n,
|
|
42543
43058
|
chainId: this.config.getChainId(),
|
|
42544
43059
|
abi: orchestratorContext.abi,
|
|
@@ -42700,7 +43215,7 @@ var IntentOperations = class {
|
|
|
42700
43215
|
}
|
|
42701
43216
|
];
|
|
42702
43217
|
const { referrer } = params.txOverrides ?? {};
|
|
42703
|
-
const
|
|
43218
|
+
const data52 = encodeWithAttribution(
|
|
42704
43219
|
{
|
|
42705
43220
|
abi: orchestratorContext.abi,
|
|
42706
43221
|
functionName: "fulfillIntent",
|
|
@@ -42710,7 +43225,7 @@ var IntentOperations = class {
|
|
|
42710
43225
|
);
|
|
42711
43226
|
return {
|
|
42712
43227
|
to: orchestratorContext.address,
|
|
42713
|
-
data:
|
|
43228
|
+
data: data52,
|
|
42714
43229
|
value: 0n,
|
|
42715
43230
|
chainId: this.config.getChainId(),
|
|
42716
43231
|
abi: orchestratorContext.abi,
|
|
@@ -46504,19 +47019,19 @@ async function apiGetPayeeDetails(req, apiKey, baseApiUrl, authToken, timeoutMs)
|
|
|
46504
47019
|
});
|
|
46505
47020
|
}
|
|
46506
47021
|
async function apiValidatePayeeDetails(req, baseApiUrl, timeoutMs) {
|
|
46507
|
-
const
|
|
47022
|
+
const data52 = await apiFetch({
|
|
46508
47023
|
url: `${baseApiUrl.replace(/\/$/, "")}/v2/makers/validate`,
|
|
46509
47024
|
method: "POST",
|
|
46510
47025
|
body: req,
|
|
46511
47026
|
timeoutMs
|
|
46512
47027
|
});
|
|
46513
|
-
if (typeof
|
|
47028
|
+
if (typeof data52?.responseObject === "boolean") {
|
|
46514
47029
|
return {
|
|
46515
|
-
...
|
|
46516
|
-
responseObject: { isValid:
|
|
47030
|
+
...data52,
|
|
47031
|
+
responseObject: { isValid: data52.responseObject }
|
|
46517
47032
|
};
|
|
46518
47033
|
}
|
|
46519
|
-
return
|
|
47034
|
+
return data52;
|
|
46520
47035
|
}
|
|
46521
47036
|
async function apiGetOwnerDeposits(req, apiKey, baseApiUrl, authToken, timeoutMs) {
|
|
46522
47037
|
const escrowAddress = requireEscrowAddress(
|
|
@@ -46573,12 +47088,13 @@ async function apiUploadSellerCredential(makerId, bundle, baseApiUrl, timeoutMs,
|
|
|
46573
47088
|
timeoutMs
|
|
46574
47089
|
});
|
|
46575
47090
|
}
|
|
46576
|
-
async function apiGetSellerCredentialStatus(
|
|
47091
|
+
async function apiGetSellerCredentialStatus(processorName, payeeDetails, baseApiUrl, timeoutMs) {
|
|
47092
|
+
const endpoint = `/v2/makers/${encodeURIComponent(processorName)}/${encodeURIComponent(
|
|
47093
|
+
payeeDetails
|
|
47094
|
+
)}/seller-credential/status`;
|
|
46577
47095
|
return apiFetch({
|
|
46578
|
-
url: `${withApiBase(baseApiUrl)}
|
|
47096
|
+
url: `${withApiBase(baseApiUrl)}${endpoint}`,
|
|
46579
47097
|
method: "GET",
|
|
46580
|
-
apiKey,
|
|
46581
|
-
authToken,
|
|
46582
47098
|
timeoutMs
|
|
46583
47099
|
});
|
|
46584
47100
|
}
|
|
@@ -46648,11 +47164,12 @@ var formatTokenAmountForDisplay = (amount, decimals) => {
|
|
|
46648
47164
|
const trimmed = formatted.replace(/\.?0+$/, "");
|
|
46649
47165
|
return trimmed.length > 0 ? trimmed : "0";
|
|
46650
47166
|
};
|
|
46651
|
-
var applyReferrerFeeDisplayFieldsToTokenAmount = (tokenAmount, referrerFeeConfig, decimals) => {
|
|
47167
|
+
var applyReferrerFeeDisplayFieldsToTokenAmount = (tokenAmount, referrerFeeConfig, decimals, options = {}) => {
|
|
46652
47168
|
try {
|
|
46653
|
-
const
|
|
47169
|
+
const backendNetAmount = BigInt(tokenAmount);
|
|
47170
|
+
const grossAmount = BigInt(options.signalIntentAmount ?? tokenAmount);
|
|
46654
47171
|
const feeAmount = grossAmount * BigInt(referrerFeeConfig.feeBps) / 10000n;
|
|
46655
|
-
const netAmount =
|
|
47172
|
+
const netAmount = feeAmount >= backendNetAmount ? 0n : backendNetAmount - feeAmount;
|
|
46656
47173
|
return {
|
|
46657
47174
|
tokenAmount: netAmount.toString(),
|
|
46658
47175
|
tokenAmountFormatted: formatTokenAmountForDisplay(netAmount, decimals),
|
|
@@ -46667,10 +47184,12 @@ var applyReferrerFeeDisplayFieldsToTokenAmount = (tokenAmount, referrerFeeConfig
|
|
|
46667
47184
|
}
|
|
46668
47185
|
};
|
|
46669
47186
|
var applyReferrerFeeDisplayFieldsToQuote = (quote, referrerFeeConfig, decimals) => {
|
|
47187
|
+
const signalIntentAmount = quote.signalIntentAmount ?? quote.intent?.amount ?? quote.tokenAmount;
|
|
46670
47188
|
const adjusted = applyReferrerFeeDisplayFieldsToTokenAmount(
|
|
46671
47189
|
quote.tokenAmount,
|
|
46672
47190
|
referrerFeeConfig,
|
|
46673
|
-
decimals
|
|
47191
|
+
decimals,
|
|
47192
|
+
{ signalIntentAmount }
|
|
46674
47193
|
);
|
|
46675
47194
|
if (!adjusted) {
|
|
46676
47195
|
return quote;
|
|
@@ -48176,7 +48695,7 @@ var Zkp2pClient = class {
|
|
|
48176
48695
|
const escrowAbi = opts.escrowAbi ?? this.escrowAbi;
|
|
48177
48696
|
if (!escrowAddress || !escrowAbi) throw new Error("Escrow not available");
|
|
48178
48697
|
const { referrer, value } = opts.txOverrides ?? {};
|
|
48179
|
-
const
|
|
48698
|
+
const data52 = encodeWithAttribution(
|
|
48180
48699
|
{
|
|
48181
48700
|
abi: escrowAbi,
|
|
48182
48701
|
functionName: opts.functionName,
|
|
@@ -48186,7 +48705,7 @@ var Zkp2pClient = class {
|
|
|
48186
48705
|
);
|
|
48187
48706
|
return {
|
|
48188
48707
|
to: escrowAddress,
|
|
48189
|
-
data:
|
|
48708
|
+
data: data52,
|
|
48190
48709
|
value: opts.value ?? value ?? 0n,
|
|
48191
48710
|
chainId: this.chainId,
|
|
48192
48711
|
abi: escrowAbi,
|
|
@@ -48199,7 +48718,7 @@ var Zkp2pClient = class {
|
|
|
48199
48718
|
const orchestratorAbi = opts.orchestratorAbi ?? this.orchestratorAbi;
|
|
48200
48719
|
if (!orchestratorAddress || !orchestratorAbi) throw new Error("Orchestrator not available");
|
|
48201
48720
|
const { referrer, value } = opts.txOverrides ?? {};
|
|
48202
|
-
const
|
|
48721
|
+
const data52 = encodeWithAttribution(
|
|
48203
48722
|
{
|
|
48204
48723
|
abi: orchestratorAbi,
|
|
48205
48724
|
functionName: opts.functionName,
|
|
@@ -48209,7 +48728,7 @@ var Zkp2pClient = class {
|
|
|
48209
48728
|
);
|
|
48210
48729
|
return {
|
|
48211
48730
|
to: orchestratorAddress,
|
|
48212
|
-
data:
|
|
48731
|
+
data: data52,
|
|
48213
48732
|
value: opts.value ?? value ?? 0n,
|
|
48214
48733
|
chainId: this.chainId,
|
|
48215
48734
|
abi: orchestratorAbi,
|
|
@@ -48230,7 +48749,7 @@ var Zkp2pClient = class {
|
|
|
48230
48749
|
}
|
|
48231
48750
|
prepareContractTransaction(opts) {
|
|
48232
48751
|
const { referrer, value } = opts.txOverrides ?? {};
|
|
48233
|
-
const
|
|
48752
|
+
const data52 = encodeWithAttribution(
|
|
48234
48753
|
{
|
|
48235
48754
|
abi: opts.abi,
|
|
48236
48755
|
functionName: opts.functionName,
|
|
@@ -48240,7 +48759,7 @@ var Zkp2pClient = class {
|
|
|
48240
48759
|
);
|
|
48241
48760
|
return {
|
|
48242
48761
|
to: opts.address,
|
|
48243
|
-
data:
|
|
48762
|
+
data: data52,
|
|
48244
48763
|
value: opts.value ?? value ?? 0n,
|
|
48245
48764
|
chainId: this.chainId,
|
|
48246
48765
|
abi: opts.abi,
|
|
@@ -49206,7 +49725,13 @@ var Zkp2pClient = class {
|
|
|
49206
49725
|
payeeId: params.payeeId,
|
|
49207
49726
|
sessionMaterial: params.sessionMaterial
|
|
49208
49727
|
};
|
|
49209
|
-
const bundleResponse = await apiCreateSellerCredentialBundle(
|
|
49728
|
+
const bundleResponse = opts?.attestationRuntime ? await apiCreateSellerCredentialBundle(
|
|
49729
|
+
uploadPayload,
|
|
49730
|
+
attestationServiceUrl,
|
|
49731
|
+
params.platform,
|
|
49732
|
+
timeoutMs,
|
|
49733
|
+
opts.attestationRuntime
|
|
49734
|
+
) : await apiCreateSellerCredentialBundle(
|
|
49210
49735
|
uploadPayload,
|
|
49211
49736
|
attestationServiceUrl,
|
|
49212
49737
|
params.platform,
|
|
@@ -49229,9 +49754,9 @@ var Zkp2pClient = class {
|
|
|
49229
49754
|
* omits low-level diagnostics. Curator may still re-probe stale credentials during verify, so callers
|
|
49230
49755
|
* should continue to handle a 410 from `verifySellerPayment`.
|
|
49231
49756
|
*
|
|
49232
|
-
*
|
|
49757
|
+
* The curator status endpoint is public and keyed by platform plus hashed payee details.
|
|
49233
49758
|
*
|
|
49234
|
-
* Fetch seller credential status for a maker from curator.
|
|
49759
|
+
* Fetch seller credential status for a maker identity from curator.
|
|
49235
49760
|
*/
|
|
49236
49761
|
async getSellerCredentialStatus(params, opts) {
|
|
49237
49762
|
const baseApiUrl = this.stripTrailingSlash(
|
|
@@ -49239,11 +49764,10 @@ var Zkp2pClient = class {
|
|
|
49239
49764
|
);
|
|
49240
49765
|
const timeoutMs = opts?.timeoutMs ?? this.apiTimeoutMs;
|
|
49241
49766
|
return apiGetSellerCredentialStatus(
|
|
49242
|
-
params.
|
|
49767
|
+
params.processorName,
|
|
49768
|
+
params.payeeDetails,
|
|
49243
49769
|
baseApiUrl,
|
|
49244
|
-
timeoutMs
|
|
49245
|
-
this.apiKey,
|
|
49246
|
-
this.authorizationToken
|
|
49770
|
+
timeoutMs
|
|
49247
49771
|
);
|
|
49248
49772
|
}
|
|
49249
49773
|
/**
|
|
@@ -49455,7 +49979,7 @@ var fiatAmountRegex = /^-?\d*(\.\d{0,6})?$/;
|
|
|
49455
49979
|
var usdcAmountRegex = /^\d+$/;
|
|
49456
49980
|
var assertObjectInput = (params) => {
|
|
49457
49981
|
if (params === void 0) {
|
|
49458
|
-
|
|
49982
|
+
throw new Error("Peer extension onramp requires query params with intentHash.");
|
|
49459
49983
|
}
|
|
49460
49984
|
if (params === null || typeof params !== "object" || Array.isArray(params)) {
|
|
49461
49985
|
throw new Error("Peer extension onramp expects an object of query params.");
|
|
@@ -49543,10 +50067,43 @@ var normalizeUsdcAmount = (value) => {
|
|
|
49543
50067
|
}
|
|
49544
50068
|
return trimmed;
|
|
49545
50069
|
};
|
|
50070
|
+
var normalizeIntegerParam = (value, label) => {
|
|
50071
|
+
if (value === void 0) {
|
|
50072
|
+
return void 0;
|
|
50073
|
+
}
|
|
50074
|
+
if (typeof value === "bigint") {
|
|
50075
|
+
if (value < 0n) {
|
|
50076
|
+
throw new Error(`Peer extension onramp ${label} must be a non-negative integer.`);
|
|
50077
|
+
}
|
|
50078
|
+
return value.toString();
|
|
50079
|
+
}
|
|
50080
|
+
if (typeof value === "number") {
|
|
50081
|
+
if (!Number.isFinite(value) || value < 0 || !Number.isInteger(value)) {
|
|
50082
|
+
throw new Error(`Peer extension onramp ${label} must be a non-negative integer.`);
|
|
50083
|
+
}
|
|
50084
|
+
if (!Number.isSafeInteger(value)) {
|
|
50085
|
+
throw new Error(
|
|
50086
|
+
`Peer extension onramp ${label} number input must be a safe integer; pass a string or bigint for larger values.`
|
|
50087
|
+
);
|
|
50088
|
+
}
|
|
50089
|
+
return String(value);
|
|
50090
|
+
}
|
|
50091
|
+
if (typeof value !== "string") {
|
|
50092
|
+
throw new Error(`Peer extension onramp ${label} must be a string, number, or bigint.`);
|
|
50093
|
+
}
|
|
50094
|
+
const trimmed = value.trim();
|
|
50095
|
+
if (!trimmed) {
|
|
50096
|
+
throw new Error(`Peer extension onramp ${label} must be a non-empty value.`);
|
|
50097
|
+
}
|
|
50098
|
+
if (!/^\d+$/.test(trimmed)) {
|
|
50099
|
+
throw new Error(`Peer extension onramp ${label} must be a non-negative integer.`);
|
|
50100
|
+
}
|
|
50101
|
+
return trimmed;
|
|
50102
|
+
};
|
|
49546
50103
|
var intentHashRegex = /^0x[a-fA-F0-9]{64}$/;
|
|
49547
50104
|
var normalizeIntentHash = (value) => {
|
|
49548
50105
|
if (value === void 0) {
|
|
49549
|
-
|
|
50106
|
+
throw new Error("Peer extension onramp intentHash is required.");
|
|
49550
50107
|
}
|
|
49551
50108
|
if (typeof value !== "string") {
|
|
49552
50109
|
throw new Error("Peer extension onramp intentHash must be a string.");
|
|
@@ -49578,6 +50135,7 @@ var buildOnrampQueryString = (params) => {
|
|
|
49578
50135
|
"paymentPlatform",
|
|
49579
50136
|
normalizeOptionalString(validated.paymentPlatform, "paymentPlatform")
|
|
49580
50137
|
);
|
|
50138
|
+
setParam("depositId", normalizeIntegerParam(validated.depositId, "depositId"));
|
|
49581
50139
|
setParam("toToken", normalizeOptionalString(validated.toToken, "toToken"));
|
|
49582
50140
|
setParam("amountUsdc", normalizeUsdcAmount(validated.amountUsdc));
|
|
49583
50141
|
setParam(
|
|
@@ -49592,8 +50150,13 @@ var createPeerExtensionSdk = (options = {}) => ({
|
|
|
49592
50150
|
requestConnection: () => requirePeer(options).requestConnection(),
|
|
49593
50151
|
checkConnectionStatus: () => requirePeer(options).checkConnectionStatus(),
|
|
49594
50152
|
openSidebar: (route) => requirePeer(options).openSidebar(route),
|
|
49595
|
-
onramp: (params) =>
|
|
49596
|
-
|
|
50153
|
+
onramp: (params, callback) => {
|
|
50154
|
+
if (typeof callback !== "function") {
|
|
50155
|
+
throw new Error("Peer extension onramp callback is required.");
|
|
50156
|
+
}
|
|
50157
|
+
requirePeer(options).onramp(buildOnrampQueryString(params), callback);
|
|
50158
|
+
},
|
|
50159
|
+
getOnrampTransaction: (intentHash) => requirePeer(options).getOnrampTransaction(normalizeIntentHash(intentHash)),
|
|
49597
50160
|
getVersion: () => requirePeer(options).getVersion(),
|
|
49598
50161
|
openInstallPage: () => openPeerExtensionInstallPage(options),
|
|
49599
50162
|
getState: () => getPeerExtensionState(options)
|
|
@@ -49697,6 +50260,7 @@ exports.ZERO_RATE_MANAGER_ID = ZERO_RATE_MANAGER_ID;
|
|
|
49697
50260
|
exports.ZKP2P_ANDROID_REFERRER = ZKP2P_ANDROID_REFERRER;
|
|
49698
50261
|
exports.ZKP2P_IOS_REFERRER = ZKP2P_IOS_REFERRER;
|
|
49699
50262
|
exports.Zkp2pClient = Zkp2pClient;
|
|
50263
|
+
exports.apiCreateSellerCredentialBundle = apiCreateSellerCredentialBundle;
|
|
49700
50264
|
exports.apiGetDepositBundle = apiGetDepositBundle;
|
|
49701
50265
|
exports.apiGetOrderbook = apiGetOrderbook;
|
|
49702
50266
|
exports.apiGetOwnerDeposits = apiGetOwnerDeposits;
|