@permissionless-technologies/upp-sdk 0.4.17 → 0.4.19
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-GJXJBDE5.cjs → chunk-5H27F6W6.cjs} +14 -5
- package/dist/chunk-5H27F6W6.cjs.map +1 -0
- package/dist/{chunk-HRHGZKTJ.js → chunk-7VPW5T5R.js} +3 -3
- package/dist/{chunk-HRHGZKTJ.js.map → chunk-7VPW5T5R.js.map} +1 -1
- package/dist/{chunk-7BOX7YFZ.js → chunk-C7DUABSG.js} +14 -5
- package/dist/chunk-C7DUABSG.js.map +1 -0
- package/dist/{chunk-QOMHO6FP.cjs → chunk-M7SCH6LU.cjs} +2 -2
- package/dist/{chunk-QOMHO6FP.cjs.map → chunk-M7SCH6LU.cjs.map} +1 -1
- package/dist/{chunk-KOT5MTDL.js → chunk-QGSTHXRP.js} +2 -2
- package/dist/{chunk-KOT5MTDL.js.map → chunk-QGSTHXRP.js.map} +1 -1
- package/dist/{chunk-D3XBKPQ2.cjs → chunk-V6MW5VOF.cjs} +4 -4
- package/dist/{chunk-D3XBKPQ2.cjs.map → chunk-V6MW5VOF.cjs.map} +1 -1
- package/dist/core/index.cjs +50 -50
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/{index-DKFupAA8.d.cts → index-DcfqeWvk.d.cts} +7 -2
- package/dist/{index-M91G-og3.d.ts → index-DmowSsZb.d.ts} +7 -2
- package/dist/{index-S2fzWmLW.d.ts → index-DsXMd8zh.d.ts} +1 -1
- package/dist/{index-qTwnREeK.d.cts → index-PgqOAfcc.d.cts} +1 -1
- package/dist/index.cjs +58 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/indexer/index.cjs +6 -6
- package/dist/indexer/index.d.cts +5 -5
- package/dist/indexer/index.d.ts +5 -5
- package/dist/indexer/index.js +1 -1
- package/dist/react/index.cjs +173 -20
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +60 -3
- package/dist/react/index.d.ts +60 -3
- package/dist/react/index.js +156 -4
- package/dist/react/index.js.map +1 -1
- package/dist/{transfer-BDYID3Hn.d.cts → transfer-B4q3ZTJK.d.cts} +73 -0
- package/dist/{transfer-DLukr6ed.d.ts → transfer-Cqg235q6.d.ts} +73 -0
- package/package.json +1 -1
- package/src/contracts/interfaces/IUniversalPrivatePool.sol +1 -0
- package/dist/chunk-7BOX7YFZ.js.map +0 -1
- package/dist/chunk-GJXJBDE5.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkV6MW5VOF_cjs = require('./chunk-V6MW5VOF.cjs');
|
|
4
4
|
var chunk7Y6O4P2P_cjs = require('./chunk-7Y6O4P2P.cjs');
|
|
5
5
|
var chunkRYEYGGE7_cjs = require('./chunk-RYEYGGE7.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkM7SCH6LU_cjs = require('./chunk-M7SCH6LU.cjs');
|
|
7
7
|
var chunk7BNJV2ZS_cjs = require('./chunk-7BNJV2ZS.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunk5H27F6W6_cjs = require('./chunk-5H27F6W6.cjs');
|
|
9
9
|
var chunkXVIICZKW_cjs = require('./chunk-XVIICZKW.cjs');
|
|
10
10
|
require('./chunk-ERQE57IA.cjs');
|
|
11
11
|
var chunkI5EKGD4P_cjs = require('./chunk-I5EKGD4P.cjs');
|
|
@@ -2313,6 +2313,12 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
2313
2313
|
"indexed": false,
|
|
2314
2314
|
"internalType": "uint256"
|
|
2315
2315
|
},
|
|
2316
|
+
{
|
|
2317
|
+
"name": "remainingSellAmount",
|
|
2318
|
+
"type": "uint256",
|
|
2319
|
+
"indexed": false,
|
|
2320
|
+
"internalType": "uint256"
|
|
2321
|
+
},
|
|
2316
2322
|
{
|
|
2317
2323
|
"name": "encryptedFillerNote",
|
|
2318
2324
|
"type": "bytes",
|
|
@@ -3757,23 +3763,23 @@ var TEST_STABLE_TOKEN_2_ABI = [
|
|
|
3757
3763
|
|
|
3758
3764
|
Object.defineProperty(exports, "NOTE_VERSION", {
|
|
3759
3765
|
enumerable: true,
|
|
3760
|
-
get: function () { return
|
|
3766
|
+
get: function () { return chunkV6MW5VOF_cjs.NOTE_VERSION; }
|
|
3761
3767
|
});
|
|
3762
3768
|
Object.defineProperty(exports, "createNote", {
|
|
3763
3769
|
enumerable: true,
|
|
3764
|
-
get: function () { return
|
|
3770
|
+
get: function () { return chunkV6MW5VOF_cjs.createNote; }
|
|
3765
3771
|
});
|
|
3766
3772
|
Object.defineProperty(exports, "createUPPClient", {
|
|
3767
3773
|
enumerable: true,
|
|
3768
|
-
get: function () { return
|
|
3774
|
+
get: function () { return chunkV6MW5VOF_cjs.createUPPClient; }
|
|
3769
3775
|
});
|
|
3770
3776
|
Object.defineProperty(exports, "decryptNote", {
|
|
3771
3777
|
enumerable: true,
|
|
3772
|
-
get: function () { return
|
|
3778
|
+
get: function () { return chunkV6MW5VOF_cjs.decryptNote; }
|
|
3773
3779
|
});
|
|
3774
3780
|
Object.defineProperty(exports, "encryptNote", {
|
|
3775
3781
|
enumerable: true,
|
|
3776
|
-
get: function () { return
|
|
3782
|
+
get: function () { return chunkV6MW5VOF_cjs.encryptNote; }
|
|
3777
3783
|
});
|
|
3778
3784
|
Object.defineProperty(exports, "buildTransfer", {
|
|
3779
3785
|
enumerable: true,
|
|
@@ -3861,7 +3867,7 @@ Object.defineProperty(exports, "verifyProof", {
|
|
|
3861
3867
|
});
|
|
3862
3868
|
Object.defineProperty(exports, "makeRpcIndexer", {
|
|
3863
3869
|
enumerable: true,
|
|
3864
|
-
get: function () { return
|
|
3870
|
+
get: function () { return chunkM7SCH6LU_cjs.makeRpcIndexer; }
|
|
3865
3871
|
});
|
|
3866
3872
|
Object.defineProperty(exports, "DEFAULT_KEY_DERIVATION_CONFIG", {
|
|
3867
3873
|
enumerable: true,
|
|
@@ -3921,175 +3927,175 @@ Object.defineProperty(exports, "verifyKeysMatchSignature", {
|
|
|
3921
3927
|
});
|
|
3922
3928
|
Object.defineProperty(exports, "ADDRESS_VERSION", {
|
|
3923
3929
|
enumerable: true,
|
|
3924
|
-
get: function () { return
|
|
3930
|
+
get: function () { return chunk5H27F6W6_cjs.ADDRESS_VERSION; }
|
|
3925
3931
|
});
|
|
3926
3932
|
Object.defineProperty(exports, "DirectAccountAdapter", {
|
|
3927
3933
|
enumerable: true,
|
|
3928
|
-
get: function () { return
|
|
3934
|
+
get: function () { return chunk5H27F6W6_cjs.DirectAccountAdapter; }
|
|
3929
3935
|
});
|
|
3930
3936
|
Object.defineProperty(exports, "NoteStore", {
|
|
3931
3937
|
enumerable: true,
|
|
3932
|
-
get: function () { return
|
|
3938
|
+
get: function () { return chunk5H27F6W6_cjs.NoteStore; }
|
|
3933
3939
|
});
|
|
3934
3940
|
Object.defineProperty(exports, "ProofWorkerManager", {
|
|
3935
3941
|
enumerable: true,
|
|
3936
|
-
get: function () { return
|
|
3942
|
+
get: function () { return chunk5H27F6W6_cjs.ProofWorkerManager; }
|
|
3937
3943
|
});
|
|
3938
3944
|
Object.defineProperty(exports, "RATE_PRECISION", {
|
|
3939
3945
|
enumerable: true,
|
|
3940
|
-
get: function () { return
|
|
3946
|
+
get: function () { return chunk5H27F6W6_cjs.RATE_PRECISION; }
|
|
3941
3947
|
});
|
|
3942
3948
|
Object.defineProperty(exports, "STARK_ADDRESS_VERSION", {
|
|
3943
3949
|
enumerable: true,
|
|
3944
|
-
get: function () { return
|
|
3950
|
+
get: function () { return chunk5H27F6W6_cjs.STARK_ADDRESS_VERSION; }
|
|
3945
3951
|
});
|
|
3946
3952
|
Object.defineProperty(exports, "STARK_STEALTH_ADDRESS_PREFIX", {
|
|
3947
3953
|
enumerable: true,
|
|
3948
|
-
get: function () { return
|
|
3954
|
+
get: function () { return chunk5H27F6W6_cjs.STARK_STEALTH_ADDRESS_PREFIX; }
|
|
3949
3955
|
});
|
|
3950
3956
|
Object.defineProperty(exports, "STEALTH_ADDRESS_PREFIX", {
|
|
3951
3957
|
enumerable: true,
|
|
3952
|
-
get: function () { return
|
|
3958
|
+
get: function () { return chunk5H27F6W6_cjs.STEALTH_ADDRESS_PREFIX; }
|
|
3953
3959
|
});
|
|
3954
3960
|
Object.defineProperty(exports, "SWAP_EVENTS_ABI", {
|
|
3955
3961
|
enumerable: true,
|
|
3956
|
-
get: function () { return
|
|
3962
|
+
get: function () { return chunk5H27F6W6_cjs.SWAP_EVENTS_ABI; }
|
|
3957
3963
|
});
|
|
3958
3964
|
Object.defineProperty(exports, "SWAP_ORDER_CANCELLED_EVENT", {
|
|
3959
3965
|
enumerable: true,
|
|
3960
|
-
get: function () { return
|
|
3966
|
+
get: function () { return chunk5H27F6W6_cjs.SWAP_ORDER_CANCELLED_EVENT; }
|
|
3961
3967
|
});
|
|
3962
3968
|
Object.defineProperty(exports, "SWAP_ORDER_CLAIMED_EVENT", {
|
|
3963
3969
|
enumerable: true,
|
|
3964
|
-
get: function () { return
|
|
3970
|
+
get: function () { return chunk5H27F6W6_cjs.SWAP_ORDER_CLAIMED_EVENT; }
|
|
3965
3971
|
});
|
|
3966
3972
|
Object.defineProperty(exports, "SWAP_ORDER_FILLED_EVENT", {
|
|
3967
3973
|
enumerable: true,
|
|
3968
|
-
get: function () { return
|
|
3974
|
+
get: function () { return chunk5H27F6W6_cjs.SWAP_ORDER_FILLED_EVENT; }
|
|
3969
3975
|
});
|
|
3970
3976
|
Object.defineProperty(exports, "SWAP_ORDER_PLACED_EVENT", {
|
|
3971
3977
|
enumerable: true,
|
|
3972
|
-
get: function () { return
|
|
3978
|
+
get: function () { return chunk5H27F6W6_cjs.SWAP_ORDER_PLACED_EVENT; }
|
|
3973
3979
|
});
|
|
3974
3980
|
Object.defineProperty(exports, "StorableAccountAdapter", {
|
|
3975
3981
|
enumerable: true,
|
|
3976
|
-
get: function () { return
|
|
3982
|
+
get: function () { return chunk5H27F6W6_cjs.StorableAccountAdapter; }
|
|
3977
3983
|
});
|
|
3978
3984
|
Object.defineProperty(exports, "computeCancelKeyHash", {
|
|
3979
3985
|
enumerable: true,
|
|
3980
|
-
get: function () { return
|
|
3986
|
+
get: function () { return chunk5H27F6W6_cjs.computeCancelKeyHash; }
|
|
3981
3987
|
});
|
|
3982
3988
|
Object.defineProperty(exports, "computeFillPercentage", {
|
|
3983
3989
|
enumerable: true,
|
|
3984
|
-
get: function () { return
|
|
3990
|
+
get: function () { return chunk5H27F6W6_cjs.computeFillPercentage; }
|
|
3985
3991
|
});
|
|
3986
3992
|
Object.defineProperty(exports, "computeGiveAmount", {
|
|
3987
3993
|
enumerable: true,
|
|
3988
|
-
get: function () { return
|
|
3994
|
+
get: function () { return chunk5H27F6W6_cjs.computeGiveAmount; }
|
|
3989
3995
|
});
|
|
3990
3996
|
Object.defineProperty(exports, "computeNoteEncryptionKey", {
|
|
3991
3997
|
enumerable: true,
|
|
3992
|
-
get: function () { return
|
|
3998
|
+
get: function () { return chunk5H27F6W6_cjs.computeNoteEncryptionKey; }
|
|
3993
3999
|
});
|
|
3994
4000
|
Object.defineProperty(exports, "computeRate", {
|
|
3995
4001
|
enumerable: true,
|
|
3996
|
-
get: function () { return
|
|
4002
|
+
get: function () { return chunk5H27F6W6_cjs.computeRate; }
|
|
3997
4003
|
});
|
|
3998
4004
|
Object.defineProperty(exports, "computeTakeAmount", {
|
|
3999
4005
|
enumerable: true,
|
|
4000
|
-
get: function () { return
|
|
4006
|
+
get: function () { return chunk5H27F6W6_cjs.computeTakeAmount; }
|
|
4001
4007
|
});
|
|
4002
4008
|
Object.defineProperty(exports, "computeTotalBuyAmount", {
|
|
4003
4009
|
enumerable: true,
|
|
4004
|
-
get: function () { return
|
|
4010
|
+
get: function () { return chunk5H27F6W6_cjs.computeTotalBuyAmount; }
|
|
4005
4011
|
});
|
|
4006
4012
|
Object.defineProperty(exports, "createOneTimeKeys", {
|
|
4007
4013
|
enumerable: true,
|
|
4008
|
-
get: function () { return
|
|
4014
|
+
get: function () { return chunk5H27F6W6_cjs.createOneTimeKeys; }
|
|
4009
4015
|
});
|
|
4010
4016
|
Object.defineProperty(exports, "decodeStarkStealthAddress", {
|
|
4011
4017
|
enumerable: true,
|
|
4012
|
-
get: function () { return
|
|
4018
|
+
get: function () { return chunk5H27F6W6_cjs.decodeStarkStealthAddress; }
|
|
4013
4019
|
});
|
|
4014
4020
|
Object.defineProperty(exports, "decodeStealthAddress", {
|
|
4015
4021
|
enumerable: true,
|
|
4016
|
-
get: function () { return
|
|
4022
|
+
get: function () { return chunk5H27F6W6_cjs.decodeStealthAddress; }
|
|
4017
4023
|
});
|
|
4018
4024
|
Object.defineProperty(exports, "detectAddressType", {
|
|
4019
4025
|
enumerable: true,
|
|
4020
|
-
get: function () { return
|
|
4026
|
+
get: function () { return chunk5H27F6W6_cjs.detectAddressType; }
|
|
4021
4027
|
});
|
|
4022
4028
|
Object.defineProperty(exports, "encodeStarkStealthAddress", {
|
|
4023
4029
|
enumerable: true,
|
|
4024
|
-
get: function () { return
|
|
4030
|
+
get: function () { return chunk5H27F6W6_cjs.encodeStarkStealthAddress; }
|
|
4025
4031
|
});
|
|
4026
4032
|
Object.defineProperty(exports, "encodeStealthAddress", {
|
|
4027
4033
|
enumerable: true,
|
|
4028
|
-
get: function () { return
|
|
4034
|
+
get: function () { return chunk5H27F6W6_cjs.encodeStealthAddress; }
|
|
4029
4035
|
});
|
|
4030
4036
|
Object.defineProperty(exports, "filterOrdersByASP", {
|
|
4031
4037
|
enumerable: true,
|
|
4032
|
-
get: function () { return
|
|
4038
|
+
get: function () { return chunk5H27F6W6_cjs.filterOrdersByASP; }
|
|
4033
4039
|
});
|
|
4034
4040
|
Object.defineProperty(exports, "filterOrdersByTokenPair", {
|
|
4035
4041
|
enumerable: true,
|
|
4036
|
-
get: function () { return
|
|
4042
|
+
get: function () { return chunk5H27F6W6_cjs.filterOrdersByTokenPair; }
|
|
4037
4043
|
});
|
|
4038
4044
|
Object.defineProperty(exports, "formatRate", {
|
|
4039
4045
|
enumerable: true,
|
|
4040
|
-
get: function () { return
|
|
4046
|
+
get: function () { return chunk5H27F6W6_cjs.formatRate; }
|
|
4041
4047
|
});
|
|
4042
4048
|
Object.defineProperty(exports, "generateCancelSecret", {
|
|
4043
4049
|
enumerable: true,
|
|
4044
|
-
get: function () { return
|
|
4050
|
+
get: function () { return chunk5H27F6W6_cjs.generateCancelSecret; }
|
|
4045
4051
|
});
|
|
4046
4052
|
Object.defineProperty(exports, "generateStarkStealthAddress", {
|
|
4047
4053
|
enumerable: true,
|
|
4048
|
-
get: function () { return
|
|
4054
|
+
get: function () { return chunk5H27F6W6_cjs.generateStarkStealthAddress; }
|
|
4049
4055
|
});
|
|
4050
4056
|
Object.defineProperty(exports, "generateStealthAddress", {
|
|
4051
4057
|
enumerable: true,
|
|
4052
|
-
get: function () { return
|
|
4058
|
+
get: function () { return chunk5H27F6W6_cjs.generateStealthAddress; }
|
|
4053
4059
|
});
|
|
4054
4060
|
Object.defineProperty(exports, "generateUPPProofAsync", {
|
|
4055
4061
|
enumerable: true,
|
|
4056
|
-
get: function () { return
|
|
4062
|
+
get: function () { return chunk5H27F6W6_cjs.generateUPPProofAsync; }
|
|
4057
4063
|
});
|
|
4058
4064
|
Object.defineProperty(exports, "getCancelSecret", {
|
|
4059
4065
|
enumerable: true,
|
|
4060
|
-
get: function () { return
|
|
4066
|
+
get: function () { return chunk5H27F6W6_cjs.getCancelSecret; }
|
|
4061
4067
|
});
|
|
4062
4068
|
Object.defineProperty(exports, "getOwnOrderIds", {
|
|
4063
4069
|
enumerable: true,
|
|
4064
|
-
get: function () { return
|
|
4070
|
+
get: function () { return chunk5H27F6W6_cjs.getOwnOrderIds; }
|
|
4065
4071
|
});
|
|
4066
4072
|
Object.defineProperty(exports, "isFillerASPAccepted", {
|
|
4067
4073
|
enumerable: true,
|
|
4068
|
-
get: function () { return
|
|
4074
|
+
get: function () { return chunk5H27F6W6_cjs.isFillerASPAccepted; }
|
|
4069
4075
|
});
|
|
4070
4076
|
Object.defineProperty(exports, "isOrderActive", {
|
|
4071
4077
|
enumerable: true,
|
|
4072
|
-
get: function () { return
|
|
4078
|
+
get: function () { return chunk5H27F6W6_cjs.isOrderActive; }
|
|
4073
4079
|
});
|
|
4074
4080
|
Object.defineProperty(exports, "isValidStarkStealthAddress", {
|
|
4075
4081
|
enumerable: true,
|
|
4076
|
-
get: function () { return
|
|
4082
|
+
get: function () { return chunk5H27F6W6_cjs.isValidStarkStealthAddress; }
|
|
4077
4083
|
});
|
|
4078
4084
|
Object.defineProperty(exports, "isValidStealthAddress", {
|
|
4079
4085
|
enumerable: true,
|
|
4080
|
-
get: function () { return
|
|
4086
|
+
get: function () { return chunk5H27F6W6_cjs.isValidStealthAddress; }
|
|
4081
4087
|
});
|
|
4082
4088
|
Object.defineProperty(exports, "removeCancelSecret", {
|
|
4083
4089
|
enumerable: true,
|
|
4084
|
-
get: function () { return
|
|
4090
|
+
get: function () { return chunk5H27F6W6_cjs.removeCancelSecret; }
|
|
4085
4091
|
});
|
|
4086
4092
|
Object.defineProperty(exports, "storeCancelSecret", {
|
|
4087
4093
|
enumerable: true,
|
|
4088
|
-
get: function () { return
|
|
4094
|
+
get: function () { return chunk5H27F6W6_cjs.storeCancelSecret; }
|
|
4089
4095
|
});
|
|
4090
4096
|
Object.defineProperty(exports, "verifyOwnership", {
|
|
4091
4097
|
enumerable: true,
|
|
4092
|
-
get: function () { return
|
|
4098
|
+
get: function () { return chunk5H27F6W6_cjs.verifyOwnership; }
|
|
4093
4099
|
});
|
|
4094
4100
|
Object.defineProperty(exports, "DEMO_ASP_ID", {
|
|
4095
4101
|
enumerable: true,
|