@permissionless-technologies/upp-sdk 0.4.11 → 0.4.13
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-L3PVYAH2.js → chunk-3I6ERQO3.js} +14 -14
- package/dist/{chunk-L3PVYAH2.js.map → chunk-3I6ERQO3.js.map} +1 -1
- package/dist/{chunk-43GNVMVL.cjs → chunk-4MWEJDTR.cjs} +14 -14
- package/dist/{chunk-43GNVMVL.cjs.map → chunk-4MWEJDTR.cjs.map} +1 -1
- package/dist/{chunk-R75NKNDC.js → chunk-DUBWGEB5.js} +2 -2
- package/dist/{chunk-R75NKNDC.js.map → chunk-DUBWGEB5.js.map} +1 -1
- package/dist/{chunk-IWNEKLAA.cjs → chunk-KZ7PY2PR.cjs} +2 -2
- package/dist/{chunk-IWNEKLAA.cjs.map → chunk-KZ7PY2PR.cjs.map} +1 -1
- package/dist/core/index.cjs +7 -7
- package/dist/core/index.js +1 -1
- package/dist/{index-Mm_cz6Ie.d.cts → index-CKCDqv2e.d.cts} +40 -0
- package/dist/{index-Cxm5E-J5.d.ts → index-DLczKlnM.d.ts} +40 -0
- package/dist/index.cjs +63 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +50 -2
- package/dist/index.js.map +1 -1
- package/dist/indexer/index.cjs +6 -6
- package/dist/indexer/index.d.cts +2 -2
- package/dist/indexer/index.d.ts +2 -2
- package/dist/indexer/index.js +1 -1
- package/dist/react/index.cjs +111 -5
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +111 -5
- package/dist/react/index.js.map +1 -1
- package/dist/{transfer-WYG6422Y.js → transfer-LGR44CER.js} +3 -3
- package/dist/{transfer-WYG6422Y.js.map → transfer-LGR44CER.js.map} +1 -1
- package/dist/{transfer-ZDJPVUL2.cjs → transfer-UZBU47HC.cjs} +9 -9
- package/dist/{transfer-ZDJPVUL2.cjs.map → transfer-UZBU47HC.cjs.map} +1 -1
- package/package.json +1 -1
- package/src/contracts/interfaces/IUniversalPrivatePool.sol +11 -3
- package/src/deployments/11155111.json +12 -12
|
@@ -1782,6 +1782,16 @@ declare const UNIVERSAL_PRIVATE_POOL_ABI: readonly [{
|
|
|
1782
1782
|
readonly type: "uint256";
|
|
1783
1783
|
readonly indexed: false;
|
|
1784
1784
|
readonly internalType: "uint256";
|
|
1785
|
+
}, {
|
|
1786
|
+
readonly name: "refundCommitment";
|
|
1787
|
+
readonly type: "bytes32";
|
|
1788
|
+
readonly indexed: false;
|
|
1789
|
+
readonly internalType: "bytes32";
|
|
1790
|
+
}, {
|
|
1791
|
+
readonly name: "encryptedRefundNote";
|
|
1792
|
+
readonly type: "bytes";
|
|
1793
|
+
readonly indexed: false;
|
|
1794
|
+
readonly internalType: "bytes";
|
|
1785
1795
|
}];
|
|
1786
1796
|
readonly anonymous: false;
|
|
1787
1797
|
}, {
|
|
@@ -1802,6 +1812,26 @@ declare const UNIVERSAL_PRIVATE_POOL_ABI: readonly [{
|
|
|
1802
1812
|
readonly type: "uint256";
|
|
1803
1813
|
readonly indexed: false;
|
|
1804
1814
|
readonly internalType: "uint256";
|
|
1815
|
+
}, {
|
|
1816
|
+
readonly name: "buyOutputCommitment";
|
|
1817
|
+
readonly type: "bytes32";
|
|
1818
|
+
readonly indexed: false;
|
|
1819
|
+
readonly internalType: "bytes32";
|
|
1820
|
+
}, {
|
|
1821
|
+
readonly name: "encryptedBuyNote";
|
|
1822
|
+
readonly type: "bytes";
|
|
1823
|
+
readonly indexed: false;
|
|
1824
|
+
readonly internalType: "bytes";
|
|
1825
|
+
}, {
|
|
1826
|
+
readonly name: "refundCommitment";
|
|
1827
|
+
readonly type: "bytes32";
|
|
1828
|
+
readonly indexed: false;
|
|
1829
|
+
readonly internalType: "bytes32";
|
|
1830
|
+
}, {
|
|
1831
|
+
readonly name: "encryptedRefundNote";
|
|
1832
|
+
readonly type: "bytes";
|
|
1833
|
+
readonly indexed: false;
|
|
1834
|
+
readonly internalType: "bytes";
|
|
1805
1835
|
}];
|
|
1806
1836
|
readonly anonymous: false;
|
|
1807
1837
|
}, {
|
|
@@ -1817,6 +1847,11 @@ declare const UNIVERSAL_PRIVATE_POOL_ABI: readonly [{
|
|
|
1817
1847
|
readonly type: "bytes32";
|
|
1818
1848
|
readonly indexed: true;
|
|
1819
1849
|
readonly internalType: "bytes32";
|
|
1850
|
+
}, {
|
|
1851
|
+
readonly name: "fillerOutputCommitment";
|
|
1852
|
+
readonly type: "bytes32";
|
|
1853
|
+
readonly indexed: true;
|
|
1854
|
+
readonly internalType: "bytes32";
|
|
1820
1855
|
}, {
|
|
1821
1856
|
readonly name: "takeAmount";
|
|
1822
1857
|
readonly type: "uint256";
|
|
@@ -1832,6 +1867,11 @@ declare const UNIVERSAL_PRIVATE_POOL_ABI: readonly [{
|
|
|
1832
1867
|
readonly type: "uint256";
|
|
1833
1868
|
readonly indexed: false;
|
|
1834
1869
|
readonly internalType: "uint256";
|
|
1870
|
+
}, {
|
|
1871
|
+
readonly name: "encryptedFillerNote";
|
|
1872
|
+
readonly type: "bytes";
|
|
1873
|
+
readonly indexed: false;
|
|
1874
|
+
readonly internalType: "bytes";
|
|
1835
1875
|
}];
|
|
1836
1876
|
readonly anonymous: false;
|
|
1837
1877
|
}, {
|
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk5BLMSTFQ_cjs = require('./chunk-5BLMSTFQ.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunk4MWEJDTR_cjs = require('./chunk-4MWEJDTR.cjs');
|
|
5
|
+
var chunkKZ7PY2PR_cjs = require('./chunk-KZ7PY2PR.cjs');
|
|
6
6
|
var chunk7BNJV2ZS_cjs = require('./chunk-7BNJV2ZS.cjs');
|
|
7
7
|
var chunk23B5XSS4_cjs = require('./chunk-23B5XSS4.cjs');
|
|
8
8
|
var chunkXVIICZKW_cjs = require('./chunk-XVIICZKW.cjs');
|
|
@@ -2208,6 +2208,18 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
2208
2208
|
"type": "uint256",
|
|
2209
2209
|
"indexed": false,
|
|
2210
2210
|
"internalType": "uint256"
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
"name": "refundCommitment",
|
|
2214
|
+
"type": "bytes32",
|
|
2215
|
+
"indexed": false,
|
|
2216
|
+
"internalType": "bytes32"
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
"name": "encryptedRefundNote",
|
|
2220
|
+
"type": "bytes",
|
|
2221
|
+
"indexed": false,
|
|
2222
|
+
"internalType": "bytes"
|
|
2211
2223
|
}
|
|
2212
2224
|
],
|
|
2213
2225
|
"anonymous": false
|
|
@@ -2233,6 +2245,30 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
2233
2245
|
"type": "uint256",
|
|
2234
2246
|
"indexed": false,
|
|
2235
2247
|
"internalType": "uint256"
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"name": "buyOutputCommitment",
|
|
2251
|
+
"type": "bytes32",
|
|
2252
|
+
"indexed": false,
|
|
2253
|
+
"internalType": "bytes32"
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"name": "encryptedBuyNote",
|
|
2257
|
+
"type": "bytes",
|
|
2258
|
+
"indexed": false,
|
|
2259
|
+
"internalType": "bytes"
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"name": "refundCommitment",
|
|
2263
|
+
"type": "bytes32",
|
|
2264
|
+
"indexed": false,
|
|
2265
|
+
"internalType": "bytes32"
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"name": "encryptedRefundNote",
|
|
2269
|
+
"type": "bytes",
|
|
2270
|
+
"indexed": false,
|
|
2271
|
+
"internalType": "bytes"
|
|
2236
2272
|
}
|
|
2237
2273
|
],
|
|
2238
2274
|
"anonymous": false
|
|
@@ -2253,6 +2289,12 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
2253
2289
|
"indexed": true,
|
|
2254
2290
|
"internalType": "bytes32"
|
|
2255
2291
|
},
|
|
2292
|
+
{
|
|
2293
|
+
"name": "fillerOutputCommitment",
|
|
2294
|
+
"type": "bytes32",
|
|
2295
|
+
"indexed": true,
|
|
2296
|
+
"internalType": "bytes32"
|
|
2297
|
+
},
|
|
2256
2298
|
{
|
|
2257
2299
|
"name": "takeAmount",
|
|
2258
2300
|
"type": "uint256",
|
|
@@ -2270,6 +2312,12 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
2270
2312
|
"type": "uint256",
|
|
2271
2313
|
"indexed": false,
|
|
2272
2314
|
"internalType": "uint256"
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"name": "encryptedFillerNote",
|
|
2318
|
+
"type": "bytes",
|
|
2319
|
+
"indexed": false,
|
|
2320
|
+
"internalType": "bytes"
|
|
2273
2321
|
}
|
|
2274
2322
|
],
|
|
2275
2323
|
"anonymous": false
|
|
@@ -3729,55 +3777,55 @@ Object.defineProperty(exports, "encryptNote", {
|
|
|
3729
3777
|
});
|
|
3730
3778
|
Object.defineProperty(exports, "buildTransfer", {
|
|
3731
3779
|
enumerable: true,
|
|
3732
|
-
get: function () { return
|
|
3780
|
+
get: function () { return chunk4MWEJDTR_cjs.buildTransfer; }
|
|
3733
3781
|
});
|
|
3734
3782
|
Object.defineProperty(exports, "buildUPPTransferCircuitInputs", {
|
|
3735
3783
|
enumerable: true,
|
|
3736
|
-
get: function () { return
|
|
3784
|
+
get: function () { return chunk4MWEJDTR_cjs.buildUPPTransferCircuitInputs; }
|
|
3737
3785
|
});
|
|
3738
3786
|
Object.defineProperty(exports, "computeNullifier", {
|
|
3739
3787
|
enumerable: true,
|
|
3740
|
-
get: function () { return
|
|
3788
|
+
get: function () { return chunk4MWEJDTR_cjs.computeNullifier; }
|
|
3741
3789
|
});
|
|
3742
3790
|
Object.defineProperty(exports, "formatOutputForContract", {
|
|
3743
3791
|
enumerable: true,
|
|
3744
|
-
get: function () { return
|
|
3792
|
+
get: function () { return chunk4MWEJDTR_cjs.formatOutputForContract; }
|
|
3745
3793
|
});
|
|
3746
3794
|
Object.defineProperty(exports, "getDeployment", {
|
|
3747
3795
|
enumerable: true,
|
|
3748
|
-
get: function () { return
|
|
3796
|
+
get: function () { return chunk4MWEJDTR_cjs.getDeployment; }
|
|
3749
3797
|
});
|
|
3750
3798
|
Object.defineProperty(exports, "getDeploymentOrThrow", {
|
|
3751
3799
|
enumerable: true,
|
|
3752
|
-
get: function () { return
|
|
3800
|
+
get: function () { return chunk4MWEJDTR_cjs.getDeploymentOrThrow; }
|
|
3753
3801
|
});
|
|
3754
3802
|
Object.defineProperty(exports, "getMerkleProofsForNotes", {
|
|
3755
3803
|
enumerable: true,
|
|
3756
|
-
get: function () { return
|
|
3804
|
+
get: function () { return chunk4MWEJDTR_cjs.getMerkleProofsForNotes; }
|
|
3757
3805
|
});
|
|
3758
3806
|
Object.defineProperty(exports, "getSupportedChainIds", {
|
|
3759
3807
|
enumerable: true,
|
|
3760
|
-
get: function () { return
|
|
3808
|
+
get: function () { return chunk4MWEJDTR_cjs.getSupportedChainIds; }
|
|
3761
3809
|
});
|
|
3762
3810
|
Object.defineProperty(exports, "getTokenAddress", {
|
|
3763
3811
|
enumerable: true,
|
|
3764
|
-
get: function () { return
|
|
3812
|
+
get: function () { return chunk4MWEJDTR_cjs.getTokenAddress; }
|
|
3765
3813
|
});
|
|
3766
3814
|
Object.defineProperty(exports, "hasDeployment", {
|
|
3767
3815
|
enumerable: true,
|
|
3768
|
-
get: function () { return
|
|
3816
|
+
get: function () { return chunk4MWEJDTR_cjs.hasDeployment; }
|
|
3769
3817
|
});
|
|
3770
3818
|
Object.defineProperty(exports, "registerDeployment", {
|
|
3771
3819
|
enumerable: true,
|
|
3772
|
-
get: function () { return
|
|
3820
|
+
get: function () { return chunk4MWEJDTR_cjs.registerDeployment; }
|
|
3773
3821
|
});
|
|
3774
3822
|
Object.defineProperty(exports, "syncMerkleTree", {
|
|
3775
3823
|
enumerable: true,
|
|
3776
|
-
get: function () { return
|
|
3824
|
+
get: function () { return chunk4MWEJDTR_cjs.syncMerkleTree; }
|
|
3777
3825
|
});
|
|
3778
3826
|
Object.defineProperty(exports, "makeRpcIndexer", {
|
|
3779
3827
|
enumerable: true,
|
|
3780
|
-
get: function () { return
|
|
3828
|
+
get: function () { return chunkKZ7PY2PR_cjs.makeRpcIndexer; }
|
|
3781
3829
|
});
|
|
3782
3830
|
Object.defineProperty(exports, "DEFAULT_KEY_DERIVATION_CONFIG", {
|
|
3783
3831
|
enumerable: true,
|