@permissionless-technologies/upp-sdk 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-VIBIC5L7.cjs → chunk-43GNVMVL.cjs} +14 -14
- package/dist/{chunk-VIBIC5L7.cjs.map → chunk-43GNVMVL.cjs.map} +1 -1
- package/dist/{chunk-CZRCIN6S.cjs → chunk-IWNEKLAA.cjs} +2 -2
- package/dist/{chunk-CZRCIN6S.cjs.map → chunk-IWNEKLAA.cjs.map} +1 -1
- package/dist/{chunk-746OK22E.js → chunk-L3PVYAH2.js} +14 -14
- package/dist/{chunk-746OK22E.js.map → chunk-L3PVYAH2.js.map} +1 -1
- package/dist/{chunk-VDZSF5GW.js → chunk-R75NKNDC.js} +2 -2
- package/dist/{chunk-VDZSF5GW.js.map → chunk-R75NKNDC.js.map} +1 -1
- package/dist/core/index.cjs +7 -7
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.js +2 -2
- package/dist/indexer/index.cjs +6 -6
- package/dist/indexer/index.js +1 -1
- package/dist/react/index.cjs +5 -5
- package/dist/react/index.js +5 -5
- package/dist/{transfer-SGPJB6AK.js → transfer-WYG6422Y.js} +3 -3
- package/dist/{transfer-SGPJB6AK.js.map → transfer-WYG6422Y.js.map} +1 -1
- package/dist/{transfer-KKFEYGL4.cjs → transfer-ZDJPVUL2.cjs} +9 -9
- package/dist/{transfer-KKFEYGL4.cjs.map → transfer-ZDJPVUL2.cjs.map} +1 -1
- package/package.json +1 -1
- package/src/deployments/11155111.json +12 -12
package/dist/indexer/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIWNEKLAA_cjs = require('../chunk-IWNEKLAA.cjs');
|
|
4
4
|
var chunkERQE57IA_cjs = require('../chunk-ERQE57IA.cjs');
|
|
5
5
|
require('../chunk-G7VZBCD6.cjs');
|
|
6
6
|
|
|
@@ -8,23 +8,23 @@ require('../chunk-G7VZBCD6.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "computeSearchTag", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkIWNEKLAA_cjs.computeSearchTag; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "makeRpcIndexer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkIWNEKLAA_cjs.makeRpcIndexer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "matchesSearchTag", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkIWNEKLAA_cjs.matchesSearchTag; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "tryDecryptNote", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkIWNEKLAA_cjs.tryDecryptNote; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "unpackNoteData", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkIWNEKLAA_cjs.unpackNoteData; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "createAutoAdapter", {
|
|
30
30
|
enumerable: true,
|
package/dist/indexer/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { computeSearchTag, makeRpcIndexer, matchesSearchTag, tryDecryptNote, unpackNoteData } from '../chunk-
|
|
1
|
+
export { computeSearchTag, makeRpcIndexer, matchesSearchTag, tryDecryptNote, unpackNoteData } from '../chunk-R75NKNDC.js';
|
|
2
2
|
export { createAutoAdapter, createIndexedDBAdapter, createLocalStorageAdapter, createMemoryAdapter, indexedDBAdapter, localStorageAdapter, memoryAdapter } from '../chunk-XV72HNHN.js';
|
|
3
3
|
import '../chunk-Z6ZWNWWR.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/react/index.cjs
CHANGED
|
@@ -1597,7 +1597,7 @@ function usePoolTransfer(config) {
|
|
|
1597
1597
|
const recipientNote = await createNoteForSelf(amount, origin, token);
|
|
1598
1598
|
const changeNote = await createNoteForSelf(changeAmount, origin, token);
|
|
1599
1599
|
const [transferModule, proofModule, aspModule] = await Promise.all([
|
|
1600
|
-
import('../transfer-
|
|
1600
|
+
import('../transfer-ZDJPVUL2.cjs'),
|
|
1601
1601
|
import('../proof-VINVGL4F.cjs'),
|
|
1602
1602
|
import('../asp-CUE3NMBN.cjs')
|
|
1603
1603
|
]);
|
|
@@ -1746,7 +1746,7 @@ function useWithdraw(config) {
|
|
|
1746
1746
|
const token = BigInt(selectedNote.token);
|
|
1747
1747
|
setStage("creating_outputs");
|
|
1748
1748
|
const [transferModule, proofModule, sdk] = await Promise.all([
|
|
1749
|
-
import('../transfer-
|
|
1749
|
+
import('../transfer-ZDJPVUL2.cjs'),
|
|
1750
1750
|
import('../proof-VINVGL4F.cjs'),
|
|
1751
1751
|
import('../index.cjs')
|
|
1752
1752
|
]);
|
|
@@ -2116,7 +2116,7 @@ function useSwap(config) {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
setStage("creating_outputs");
|
|
2118
2118
|
const [transferModule, proofModule, sdk, aspModule] = await Promise.all([
|
|
2119
|
-
import('../transfer-
|
|
2119
|
+
import('../transfer-ZDJPVUL2.cjs'),
|
|
2120
2120
|
import('../proof-VINVGL4F.cjs'),
|
|
2121
2121
|
import('../index.cjs'),
|
|
2122
2122
|
import('../asp-CUE3NMBN.cjs')
|
|
@@ -2258,7 +2258,7 @@ function useSwap(config) {
|
|
|
2258
2258
|
}
|
|
2259
2259
|
setStage("creating_outputs");
|
|
2260
2260
|
const [transferModule, proofModule, sdk, aspModule] = await Promise.all([
|
|
2261
|
-
import('../transfer-
|
|
2261
|
+
import('../transfer-ZDJPVUL2.cjs'),
|
|
2262
2262
|
import('../proof-VINVGL4F.cjs'),
|
|
2263
2263
|
import('../index.cjs'),
|
|
2264
2264
|
import('../asp-CUE3NMBN.cjs')
|
|
@@ -2478,7 +2478,7 @@ function useSwap(config) {
|
|
|
2478
2478
|
createNoteForSelf(changeAmount, origin, token)
|
|
2479
2479
|
]);
|
|
2480
2480
|
const [transferModule, proofModule, aspModule] = await Promise.all([
|
|
2481
|
-
import('../transfer-
|
|
2481
|
+
import('../transfer-ZDJPVUL2.cjs'),
|
|
2482
2482
|
import('../proof-VINVGL4F.cjs'),
|
|
2483
2483
|
import('../asp-CUE3NMBN.cjs')
|
|
2484
2484
|
]);
|
package/dist/react/index.js
CHANGED
|
@@ -1596,7 +1596,7 @@ function usePoolTransfer(config) {
|
|
|
1596
1596
|
const recipientNote = await createNoteForSelf(amount, origin, token);
|
|
1597
1597
|
const changeNote = await createNoteForSelf(changeAmount, origin, token);
|
|
1598
1598
|
const [transferModule, proofModule, aspModule] = await Promise.all([
|
|
1599
|
-
import('../transfer-
|
|
1599
|
+
import('../transfer-WYG6422Y.js'),
|
|
1600
1600
|
import('../proof-XQG5DN5N.js'),
|
|
1601
1601
|
import('../asp-72WUGTQE.js')
|
|
1602
1602
|
]);
|
|
@@ -1745,7 +1745,7 @@ function useWithdraw(config) {
|
|
|
1745
1745
|
const token = BigInt(selectedNote.token);
|
|
1746
1746
|
setStage("creating_outputs");
|
|
1747
1747
|
const [transferModule, proofModule, sdk] = await Promise.all([
|
|
1748
|
-
import('../transfer-
|
|
1748
|
+
import('../transfer-WYG6422Y.js'),
|
|
1749
1749
|
import('../proof-XQG5DN5N.js'),
|
|
1750
1750
|
import('../index.js')
|
|
1751
1751
|
]);
|
|
@@ -2115,7 +2115,7 @@ function useSwap(config) {
|
|
|
2115
2115
|
}
|
|
2116
2116
|
setStage("creating_outputs");
|
|
2117
2117
|
const [transferModule, proofModule, sdk, aspModule] = await Promise.all([
|
|
2118
|
-
import('../transfer-
|
|
2118
|
+
import('../transfer-WYG6422Y.js'),
|
|
2119
2119
|
import('../proof-XQG5DN5N.js'),
|
|
2120
2120
|
import('../index.js'),
|
|
2121
2121
|
import('../asp-72WUGTQE.js')
|
|
@@ -2257,7 +2257,7 @@ function useSwap(config) {
|
|
|
2257
2257
|
}
|
|
2258
2258
|
setStage("creating_outputs");
|
|
2259
2259
|
const [transferModule, proofModule, sdk, aspModule] = await Promise.all([
|
|
2260
|
-
import('../transfer-
|
|
2260
|
+
import('../transfer-WYG6422Y.js'),
|
|
2261
2261
|
import('../proof-XQG5DN5N.js'),
|
|
2262
2262
|
import('../index.js'),
|
|
2263
2263
|
import('../asp-72WUGTQE.js')
|
|
@@ -2477,7 +2477,7 @@ function useSwap(config) {
|
|
|
2477
2477
|
createNoteForSelf(changeAmount, origin, token)
|
|
2478
2478
|
]);
|
|
2479
2479
|
const [transferModule, proofModule, aspModule] = await Promise.all([
|
|
2480
|
-
import('../transfer-
|
|
2480
|
+
import('../transfer-WYG6422Y.js'),
|
|
2481
2481
|
import('../proof-XQG5DN5N.js'),
|
|
2482
2482
|
import('../asp-72WUGTQE.js')
|
|
2483
2483
|
]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { buildTransfer, buildUPPTransferCircuitInputs, computeNullifier, formatOutputForContract, getMerkleProofsForNotes, syncMerkleTree } from './chunk-
|
|
1
|
+
export { buildTransfer, buildUPPTransferCircuitInputs, computeNullifier, formatOutputForContract, getMerkleProofsForNotes, syncMerkleTree } from './chunk-L3PVYAH2.js';
|
|
2
2
|
import './chunk-6IEYWJVS.js';
|
|
3
3
|
import './chunk-GPF72JFR.js';
|
|
4
4
|
import './chunk-5QSSX3KR.js';
|
|
5
5
|
import './chunk-KRLRJ3HN.js';
|
|
6
6
|
import './chunk-Z6ZWNWWR.js';
|
|
7
|
-
//# sourceMappingURL=transfer-
|
|
8
|
-
//# sourceMappingURL=transfer-
|
|
7
|
+
//# sourceMappingURL=transfer-WYG6422Y.js.map
|
|
8
|
+
//# sourceMappingURL=transfer-WYG6422Y.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"transfer-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"transfer-WYG6422Y.js"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk43GNVMVL_cjs = require('./chunk-43GNVMVL.cjs');
|
|
4
4
|
require('./chunk-XVIICZKW.cjs');
|
|
5
5
|
require('./chunk-IIUKM5VE.cjs');
|
|
6
6
|
require('./chunk-HEHXSV47.cjs');
|
|
@@ -11,27 +11,27 @@ require('./chunk-G7VZBCD6.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "buildTransfer", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk43GNVMVL_cjs.buildTransfer; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "buildUPPTransferCircuitInputs", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk43GNVMVL_cjs.buildUPPTransferCircuitInputs; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "computeNullifier", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk43GNVMVL_cjs.computeNullifier; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "formatOutputForContract", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk43GNVMVL_cjs.formatOutputForContract; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "getMerkleProofsForNotes", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk43GNVMVL_cjs.getMerkleProofsForNotes; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "syncMerkleTree", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk43GNVMVL_cjs.syncMerkleTree; }
|
|
35
35
|
});
|
|
36
|
-
//# sourceMappingURL=transfer-
|
|
37
|
-
//# sourceMappingURL=transfer-
|
|
36
|
+
//# sourceMappingURL=transfer-ZDJPVUL2.cjs.map
|
|
37
|
+
//# sourceMappingURL=transfer-ZDJPVUL2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"transfer-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"transfer-ZDJPVUL2.cjs"}
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
"UniversalPrivatePool": "
|
|
2
|
+
"UniversalPrivatePool": "0x3b5ed60adbd5dd57f47ec54179e4b1c06636285b",
|
|
3
3
|
"ASPRegistryHub": "0xfd11c56a23314aa88dfbcc36254f33e5e8b010df",
|
|
4
|
-
"TestToken": "
|
|
5
|
-
"TestToken2": "
|
|
4
|
+
"TestToken": "0xf8e913b4b5d8a215678476a3e5a86a6d085e1757",
|
|
5
|
+
"TestToken2": "0x665ce9859262d8f70d7e66c8a4b9a27bcacf7c6b",
|
|
6
6
|
"verifiers": {
|
|
7
|
-
"TransferVerifier": "
|
|
8
|
-
"MergeVerifier": "
|
|
9
|
-
"WithdrawVerifier": "
|
|
10
|
-
"JoinSplitVerifier": "
|
|
11
|
-
"MergeTransfer2x2Verifier": "
|
|
12
|
-
"MergeTransfer4x2Verifier": "
|
|
7
|
+
"TransferVerifier": "0x6d7b8029314a075cf7e3e1b98a05b57696148db6",
|
|
8
|
+
"MergeVerifier": "0x80ece0bb1089df714355f84225cf6ab715483d27",
|
|
9
|
+
"WithdrawVerifier": "0x60038e953b23ac7c991bc4927818c919849d78ee",
|
|
10
|
+
"JoinSplitVerifier": "0x92e7d95df171a22b3e67b420405fdbb0f83a74a4",
|
|
11
|
+
"MergeTransfer2x2Verifier": "0xb6cd911261c758fc4ba6fe753eed27942643eab3",
|
|
12
|
+
"MergeTransfer4x2Verifier": "0x0effe9e2aaff64c3f634aa1dc57f4024273d18d1"
|
|
13
13
|
},
|
|
14
14
|
"starkVerifiers": {
|
|
15
|
-
"CircleStarkVerifier": "
|
|
15
|
+
"CircleStarkVerifier": "0xe6002cb4217f83fdffd7c809fa2d23e39251ceff"
|
|
16
16
|
},
|
|
17
|
-
"deployBlock":
|
|
18
|
-
"deployTimestamp":
|
|
17
|
+
"deployBlock": 10552069,
|
|
18
|
+
"deployTimestamp": 1774854985657,
|
|
19
19
|
"proofSystem": "PLONK",
|
|
20
20
|
"curve": "BLS12-381",
|
|
21
21
|
"verifierType": "PlonkVerifierBLS12381"
|