@invisi-labs/protocol 1.1.0 → 1.1.2
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-XTOQXQES.js → chunk-47SC3EAI.js} +114 -45
- package/dist/chunk-47SC3EAI.js.map +1 -0
- package/dist/contracts.cjs +113 -44
- package/dist/contracts.cjs.map +1 -1
- package/dist/contracts.d.cts +5 -5
- package/dist/contracts.d.ts +5 -5
- package/dist/contracts.js +1 -1
- package/dist/index.cjs +1589 -1575
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -37
- package/dist/index.d.ts +83 -37
- package/dist/index.js +2669 -2733
- package/dist/index.js.map +1 -1
- package/dist/{types-RN45XzKc.d.cts → types-BCTQjKzw.d.cts} +89 -34
- package/dist/{types-RN45XzKc.d.ts → types-BCTQjKzw.d.ts} +89 -34
- package/package.json +4 -4
- package/dist/chunk-XTOQXQES.js.map +0 -1
|
@@ -31,6 +31,10 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
31
31
|
readonly name: "_screener";
|
|
32
32
|
readonly type: "address";
|
|
33
33
|
readonly internalType: "address";
|
|
34
|
+
}, {
|
|
35
|
+
readonly name: "_addressRegistry";
|
|
36
|
+
readonly type: "address";
|
|
37
|
+
readonly internalType: "address";
|
|
34
38
|
}];
|
|
35
39
|
readonly stateMutability: "nonpayable";
|
|
36
40
|
}, {
|
|
@@ -89,6 +93,16 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
89
93
|
readonly internalType: "uint256";
|
|
90
94
|
}];
|
|
91
95
|
readonly stateMutability: "view";
|
|
96
|
+
}, {
|
|
97
|
+
readonly type: "function";
|
|
98
|
+
readonly name: "addressRegistry";
|
|
99
|
+
readonly inputs: readonly [];
|
|
100
|
+
readonly outputs: readonly [{
|
|
101
|
+
readonly name: "";
|
|
102
|
+
readonly type: "address";
|
|
103
|
+
readonly internalType: "contract IAddressRegistry";
|
|
104
|
+
}];
|
|
105
|
+
readonly stateMutability: "view";
|
|
92
106
|
}, {
|
|
93
107
|
readonly type: "function";
|
|
94
108
|
readonly name: "cancelCredit";
|
|
@@ -240,7 +254,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
240
254
|
}, {
|
|
241
255
|
readonly name: "permit";
|
|
242
256
|
readonly type: "tuple";
|
|
243
|
-
readonly internalType: "struct
|
|
257
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
244
258
|
readonly components: readonly [{
|
|
245
259
|
readonly name: "deadline";
|
|
246
260
|
readonly type: "uint256";
|
|
@@ -658,7 +672,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
658
672
|
}, {
|
|
659
673
|
readonly name: "permit";
|
|
660
674
|
readonly type: "tuple";
|
|
661
|
-
readonly internalType: "struct
|
|
675
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
662
676
|
readonly components: readonly [{
|
|
663
677
|
readonly name: "deadline";
|
|
664
678
|
readonly type: "uint256";
|
|
@@ -799,7 +813,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
799
813
|
}, {
|
|
800
814
|
readonly name: "permit";
|
|
801
815
|
readonly type: "tuple";
|
|
802
|
-
readonly internalType: "struct
|
|
816
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
803
817
|
readonly components: readonly [{
|
|
804
818
|
readonly name: "deadline";
|
|
805
819
|
readonly type: "uint256";
|
|
@@ -914,7 +928,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
914
928
|
}, {
|
|
915
929
|
readonly name: "permit";
|
|
916
930
|
readonly type: "tuple";
|
|
917
|
-
readonly internalType: "struct
|
|
931
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
918
932
|
readonly components: readonly [{
|
|
919
933
|
readonly name: "deadline";
|
|
920
934
|
readonly type: "uint256";
|
|
@@ -1030,7 +1044,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
1030
1044
|
}, {
|
|
1031
1045
|
readonly name: "permit";
|
|
1032
1046
|
readonly type: "tuple";
|
|
1033
|
-
readonly internalType: "struct
|
|
1047
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
1034
1048
|
readonly components: readonly [{
|
|
1035
1049
|
readonly name: "deadline";
|
|
1036
1050
|
readonly type: "uint256";
|
|
@@ -1891,6 +1905,10 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
1891
1905
|
readonly type: "uint256";
|
|
1892
1906
|
readonly internalType: "uint256";
|
|
1893
1907
|
}];
|
|
1908
|
+
}, {
|
|
1909
|
+
readonly type: "error";
|
|
1910
|
+
readonly name: "InvalidAddressRegistry";
|
|
1911
|
+
readonly inputs: readonly [];
|
|
1894
1912
|
}, {
|
|
1895
1913
|
readonly type: "error";
|
|
1896
1914
|
readonly name: "InvalidAggregateBatch";
|
|
@@ -2180,6 +2198,10 @@ declare const invisiFactoryAbi: readonly [{
|
|
|
2180
2198
|
readonly name: "screener_";
|
|
2181
2199
|
readonly type: "address";
|
|
2182
2200
|
readonly internalType: "address";
|
|
2201
|
+
}, {
|
|
2202
|
+
readonly name: "addressRegistry_";
|
|
2203
|
+
readonly type: "address";
|
|
2204
|
+
readonly internalType: "address";
|
|
2183
2205
|
}];
|
|
2184
2206
|
readonly outputs: readonly [{
|
|
2185
2207
|
readonly name: "instance";
|
|
@@ -2220,6 +2242,10 @@ declare const invisiFactoryAbi: readonly [{
|
|
|
2220
2242
|
readonly name: "screener_";
|
|
2221
2243
|
readonly type: "address";
|
|
2222
2244
|
readonly internalType: "address";
|
|
2245
|
+
}, {
|
|
2246
|
+
readonly name: "addressRegistry_";
|
|
2247
|
+
readonly type: "address";
|
|
2248
|
+
readonly internalType: "address";
|
|
2223
2249
|
}];
|
|
2224
2250
|
readonly outputs: readonly [{
|
|
2225
2251
|
readonly name: "instance";
|
|
@@ -2535,7 +2561,7 @@ declare const verifierRouterAbi: readonly [{
|
|
|
2535
2561
|
readonly type: "function";
|
|
2536
2562
|
readonly name: "getCreditDrawVerifier";
|
|
2537
2563
|
readonly inputs: readonly [{
|
|
2538
|
-
readonly name: "
|
|
2564
|
+
readonly name: "";
|
|
2539
2565
|
readonly type: "uint256";
|
|
2540
2566
|
readonly internalType: "uint256";
|
|
2541
2567
|
}];
|
|
@@ -2843,11 +2869,7 @@ declare const creditVerifierRouterAbi: readonly [{
|
|
|
2843
2869
|
|
|
2844
2870
|
declare const invisiAddressRegistryAbi: readonly [{
|
|
2845
2871
|
readonly type: "constructor";
|
|
2846
|
-
readonly inputs: readonly [
|
|
2847
|
-
readonly name: "verifier";
|
|
2848
|
-
readonly type: "address";
|
|
2849
|
-
readonly internalType: "contract IVerifier";
|
|
2850
|
-
}];
|
|
2872
|
+
readonly inputs: readonly [];
|
|
2851
2873
|
readonly stateMutability: "nonpayable";
|
|
2852
2874
|
}, {
|
|
2853
2875
|
readonly type: "function";
|
|
@@ -2859,6 +2881,40 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2859
2881
|
readonly internalType: "uint256";
|
|
2860
2882
|
}];
|
|
2861
2883
|
readonly stateMutability: "view";
|
|
2884
|
+
}, {
|
|
2885
|
+
readonly type: "function";
|
|
2886
|
+
readonly name: "eip712Domain";
|
|
2887
|
+
readonly inputs: readonly [];
|
|
2888
|
+
readonly outputs: readonly [{
|
|
2889
|
+
readonly name: "fields";
|
|
2890
|
+
readonly type: "bytes1";
|
|
2891
|
+
readonly internalType: "bytes1";
|
|
2892
|
+
}, {
|
|
2893
|
+
readonly name: "name";
|
|
2894
|
+
readonly type: "string";
|
|
2895
|
+
readonly internalType: "string";
|
|
2896
|
+
}, {
|
|
2897
|
+
readonly name: "version";
|
|
2898
|
+
readonly type: "string";
|
|
2899
|
+
readonly internalType: "string";
|
|
2900
|
+
}, {
|
|
2901
|
+
readonly name: "chainId";
|
|
2902
|
+
readonly type: "uint256";
|
|
2903
|
+
readonly internalType: "uint256";
|
|
2904
|
+
}, {
|
|
2905
|
+
readonly name: "verifyingContract";
|
|
2906
|
+
readonly type: "address";
|
|
2907
|
+
readonly internalType: "address";
|
|
2908
|
+
}, {
|
|
2909
|
+
readonly name: "salt";
|
|
2910
|
+
readonly type: "bytes32";
|
|
2911
|
+
readonly internalType: "bytes32";
|
|
2912
|
+
}, {
|
|
2913
|
+
readonly name: "extensions";
|
|
2914
|
+
readonly type: "uint256[]";
|
|
2915
|
+
readonly internalType: "uint256[]";
|
|
2916
|
+
}];
|
|
2917
|
+
readonly stateMutability: "view";
|
|
2862
2918
|
}, {
|
|
2863
2919
|
readonly type: "function";
|
|
2864
2920
|
readonly name: "isRegistered";
|
|
@@ -2898,7 +2954,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2898
2954
|
readonly outputs: readonly [{
|
|
2899
2955
|
readonly name: "keys";
|
|
2900
2956
|
readonly type: "tuple";
|
|
2901
|
-
readonly internalType: "struct
|
|
2957
|
+
readonly internalType: "struct IAddressRegistry.ReceivingKeys";
|
|
2902
2958
|
readonly components: readonly [{
|
|
2903
2959
|
readonly name: "viewingPublicKey";
|
|
2904
2960
|
readonly type: "bytes";
|
|
@@ -2920,7 +2976,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2920
2976
|
readonly inputs: readonly [{
|
|
2921
2977
|
readonly name: "registration";
|
|
2922
2978
|
readonly type: "tuple";
|
|
2923
|
-
readonly internalType: "struct
|
|
2979
|
+
readonly internalType: "struct IAddressRegistry.Registration";
|
|
2924
2980
|
readonly components: readonly [{
|
|
2925
2981
|
readonly name: "walletIdentity";
|
|
2926
2982
|
readonly type: "bytes32";
|
|
@@ -2928,7 +2984,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2928
2984
|
}, {
|
|
2929
2985
|
readonly name: "keys";
|
|
2930
2986
|
readonly type: "tuple";
|
|
2931
|
-
readonly internalType: "struct
|
|
2987
|
+
readonly internalType: "struct IAddressRegistry.ReceivingKeys";
|
|
2932
2988
|
readonly components: readonly [{
|
|
2933
2989
|
readonly name: "viewingPublicKey";
|
|
2934
2990
|
readonly type: "bytes";
|
|
@@ -2948,22 +3004,12 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2948
3004
|
readonly internalType: "uint64";
|
|
2949
3005
|
}];
|
|
2950
3006
|
}, {
|
|
2951
|
-
readonly name: "
|
|
3007
|
+
readonly name: "signature";
|
|
2952
3008
|
readonly type: "bytes";
|
|
2953
3009
|
readonly internalType: "bytes";
|
|
2954
3010
|
}];
|
|
2955
3011
|
readonly outputs: readonly [];
|
|
2956
3012
|
readonly stateMutability: "nonpayable";
|
|
2957
|
-
}, {
|
|
2958
|
-
readonly type: "function";
|
|
2959
|
-
readonly name: "registrationVerifier";
|
|
2960
|
-
readonly inputs: readonly [];
|
|
2961
|
-
readonly outputs: readonly [{
|
|
2962
|
-
readonly name: "";
|
|
2963
|
-
readonly type: "address";
|
|
2964
|
-
readonly internalType: "contract IVerifier";
|
|
2965
|
-
}];
|
|
2966
|
-
readonly stateMutability: "view";
|
|
2967
3013
|
}, {
|
|
2968
3014
|
readonly type: "function";
|
|
2969
3015
|
readonly name: "supportsInterface";
|
|
@@ -2984,7 +3030,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2984
3030
|
readonly inputs: readonly [{
|
|
2985
3031
|
readonly name: "registration";
|
|
2986
3032
|
readonly type: "tuple";
|
|
2987
|
-
readonly internalType: "struct
|
|
3033
|
+
readonly internalType: "struct IAddressRegistry.Registration";
|
|
2988
3034
|
readonly components: readonly [{
|
|
2989
3035
|
readonly name: "walletIdentity";
|
|
2990
3036
|
readonly type: "bytes32";
|
|
@@ -2992,7 +3038,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2992
3038
|
}, {
|
|
2993
3039
|
readonly name: "keys";
|
|
2994
3040
|
readonly type: "tuple";
|
|
2995
|
-
readonly internalType: "struct
|
|
3041
|
+
readonly internalType: "struct IAddressRegistry.ReceivingKeys";
|
|
2996
3042
|
readonly components: readonly [{
|
|
2997
3043
|
readonly name: "viewingPublicKey";
|
|
2998
3044
|
readonly type: "bytes";
|
|
@@ -3012,12 +3058,17 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
3012
3058
|
readonly internalType: "uint64";
|
|
3013
3059
|
}];
|
|
3014
3060
|
}, {
|
|
3015
|
-
readonly name: "
|
|
3061
|
+
readonly name: "signature";
|
|
3016
3062
|
readonly type: "bytes";
|
|
3017
3063
|
readonly internalType: "bytes";
|
|
3018
3064
|
}];
|
|
3019
3065
|
readonly outputs: readonly [];
|
|
3020
3066
|
readonly stateMutability: "nonpayable";
|
|
3067
|
+
}, {
|
|
3068
|
+
readonly type: "event";
|
|
3069
|
+
readonly name: "EIP712DomainChanged";
|
|
3070
|
+
readonly inputs: readonly [];
|
|
3071
|
+
readonly anonymous: false;
|
|
3021
3072
|
}, {
|
|
3022
3073
|
readonly type: "event";
|
|
3023
3074
|
readonly name: "ReceivingKeysSet";
|
|
@@ -3061,20 +3112,16 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
3061
3112
|
readonly inputs: readonly [];
|
|
3062
3113
|
}, {
|
|
3063
3114
|
readonly type: "error";
|
|
3064
|
-
readonly name: "
|
|
3115
|
+
readonly name: "InvalidRegistrationSignature";
|
|
3065
3116
|
readonly inputs: readonly [];
|
|
3066
3117
|
}, {
|
|
3067
3118
|
readonly type: "error";
|
|
3068
|
-
readonly name: "
|
|
3119
|
+
readonly name: "InvalidShortString";
|
|
3069
3120
|
readonly inputs: readonly [];
|
|
3070
3121
|
}, {
|
|
3071
3122
|
readonly type: "error";
|
|
3072
3123
|
readonly name: "InvalidWalletIdentity";
|
|
3073
3124
|
readonly inputs: readonly [];
|
|
3074
|
-
}, {
|
|
3075
|
-
readonly type: "error";
|
|
3076
|
-
readonly name: "InvalidWalletStatement";
|
|
3077
|
-
readonly inputs: readonly [];
|
|
3078
3125
|
}, {
|
|
3079
3126
|
readonly type: "error";
|
|
3080
3127
|
readonly name: "NonceExhausted";
|
|
@@ -3091,6 +3138,14 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
3091
3138
|
readonly type: "error";
|
|
3092
3139
|
readonly name: "RegistrationExpired";
|
|
3093
3140
|
readonly inputs: readonly [];
|
|
3141
|
+
}, {
|
|
3142
|
+
readonly type: "error";
|
|
3143
|
+
readonly name: "StringTooLong";
|
|
3144
|
+
readonly inputs: readonly [{
|
|
3145
|
+
readonly name: "str";
|
|
3146
|
+
readonly type: "string";
|
|
3147
|
+
readonly internalType: "string";
|
|
3148
|
+
}];
|
|
3094
3149
|
}];
|
|
3095
3150
|
|
|
3096
3151
|
type InvisiProtocolAbi = typeof invisiProtocolAbi;
|
|
@@ -31,6 +31,10 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
31
31
|
readonly name: "_screener";
|
|
32
32
|
readonly type: "address";
|
|
33
33
|
readonly internalType: "address";
|
|
34
|
+
}, {
|
|
35
|
+
readonly name: "_addressRegistry";
|
|
36
|
+
readonly type: "address";
|
|
37
|
+
readonly internalType: "address";
|
|
34
38
|
}];
|
|
35
39
|
readonly stateMutability: "nonpayable";
|
|
36
40
|
}, {
|
|
@@ -89,6 +93,16 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
89
93
|
readonly internalType: "uint256";
|
|
90
94
|
}];
|
|
91
95
|
readonly stateMutability: "view";
|
|
96
|
+
}, {
|
|
97
|
+
readonly type: "function";
|
|
98
|
+
readonly name: "addressRegistry";
|
|
99
|
+
readonly inputs: readonly [];
|
|
100
|
+
readonly outputs: readonly [{
|
|
101
|
+
readonly name: "";
|
|
102
|
+
readonly type: "address";
|
|
103
|
+
readonly internalType: "contract IAddressRegistry";
|
|
104
|
+
}];
|
|
105
|
+
readonly stateMutability: "view";
|
|
92
106
|
}, {
|
|
93
107
|
readonly type: "function";
|
|
94
108
|
readonly name: "cancelCredit";
|
|
@@ -240,7 +254,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
240
254
|
}, {
|
|
241
255
|
readonly name: "permit";
|
|
242
256
|
readonly type: "tuple";
|
|
243
|
-
readonly internalType: "struct
|
|
257
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
244
258
|
readonly components: readonly [{
|
|
245
259
|
readonly name: "deadline";
|
|
246
260
|
readonly type: "uint256";
|
|
@@ -658,7 +672,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
658
672
|
}, {
|
|
659
673
|
readonly name: "permit";
|
|
660
674
|
readonly type: "tuple";
|
|
661
|
-
readonly internalType: "struct
|
|
675
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
662
676
|
readonly components: readonly [{
|
|
663
677
|
readonly name: "deadline";
|
|
664
678
|
readonly type: "uint256";
|
|
@@ -799,7 +813,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
799
813
|
}, {
|
|
800
814
|
readonly name: "permit";
|
|
801
815
|
readonly type: "tuple";
|
|
802
|
-
readonly internalType: "struct
|
|
816
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
803
817
|
readonly components: readonly [{
|
|
804
818
|
readonly name: "deadline";
|
|
805
819
|
readonly type: "uint256";
|
|
@@ -914,7 +928,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
914
928
|
}, {
|
|
915
929
|
readonly name: "permit";
|
|
916
930
|
readonly type: "tuple";
|
|
917
|
-
readonly internalType: "struct
|
|
931
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
918
932
|
readonly components: readonly [{
|
|
919
933
|
readonly name: "deadline";
|
|
920
934
|
readonly type: "uint256";
|
|
@@ -1030,7 +1044,7 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
1030
1044
|
}, {
|
|
1031
1045
|
readonly name: "permit";
|
|
1032
1046
|
readonly type: "tuple";
|
|
1033
|
-
readonly internalType: "struct
|
|
1047
|
+
readonly internalType: "struct IMetaTx.TokenPermit";
|
|
1034
1048
|
readonly components: readonly [{
|
|
1035
1049
|
readonly name: "deadline";
|
|
1036
1050
|
readonly type: "uint256";
|
|
@@ -1891,6 +1905,10 @@ declare const invisiProtocolAbi: readonly [{
|
|
|
1891
1905
|
readonly type: "uint256";
|
|
1892
1906
|
readonly internalType: "uint256";
|
|
1893
1907
|
}];
|
|
1908
|
+
}, {
|
|
1909
|
+
readonly type: "error";
|
|
1910
|
+
readonly name: "InvalidAddressRegistry";
|
|
1911
|
+
readonly inputs: readonly [];
|
|
1894
1912
|
}, {
|
|
1895
1913
|
readonly type: "error";
|
|
1896
1914
|
readonly name: "InvalidAggregateBatch";
|
|
@@ -2180,6 +2198,10 @@ declare const invisiFactoryAbi: readonly [{
|
|
|
2180
2198
|
readonly name: "screener_";
|
|
2181
2199
|
readonly type: "address";
|
|
2182
2200
|
readonly internalType: "address";
|
|
2201
|
+
}, {
|
|
2202
|
+
readonly name: "addressRegistry_";
|
|
2203
|
+
readonly type: "address";
|
|
2204
|
+
readonly internalType: "address";
|
|
2183
2205
|
}];
|
|
2184
2206
|
readonly outputs: readonly [{
|
|
2185
2207
|
readonly name: "instance";
|
|
@@ -2220,6 +2242,10 @@ declare const invisiFactoryAbi: readonly [{
|
|
|
2220
2242
|
readonly name: "screener_";
|
|
2221
2243
|
readonly type: "address";
|
|
2222
2244
|
readonly internalType: "address";
|
|
2245
|
+
}, {
|
|
2246
|
+
readonly name: "addressRegistry_";
|
|
2247
|
+
readonly type: "address";
|
|
2248
|
+
readonly internalType: "address";
|
|
2223
2249
|
}];
|
|
2224
2250
|
readonly outputs: readonly [{
|
|
2225
2251
|
readonly name: "instance";
|
|
@@ -2535,7 +2561,7 @@ declare const verifierRouterAbi: readonly [{
|
|
|
2535
2561
|
readonly type: "function";
|
|
2536
2562
|
readonly name: "getCreditDrawVerifier";
|
|
2537
2563
|
readonly inputs: readonly [{
|
|
2538
|
-
readonly name: "
|
|
2564
|
+
readonly name: "";
|
|
2539
2565
|
readonly type: "uint256";
|
|
2540
2566
|
readonly internalType: "uint256";
|
|
2541
2567
|
}];
|
|
@@ -2843,11 +2869,7 @@ declare const creditVerifierRouterAbi: readonly [{
|
|
|
2843
2869
|
|
|
2844
2870
|
declare const invisiAddressRegistryAbi: readonly [{
|
|
2845
2871
|
readonly type: "constructor";
|
|
2846
|
-
readonly inputs: readonly [
|
|
2847
|
-
readonly name: "verifier";
|
|
2848
|
-
readonly type: "address";
|
|
2849
|
-
readonly internalType: "contract IVerifier";
|
|
2850
|
-
}];
|
|
2872
|
+
readonly inputs: readonly [];
|
|
2851
2873
|
readonly stateMutability: "nonpayable";
|
|
2852
2874
|
}, {
|
|
2853
2875
|
readonly type: "function";
|
|
@@ -2859,6 +2881,40 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2859
2881
|
readonly internalType: "uint256";
|
|
2860
2882
|
}];
|
|
2861
2883
|
readonly stateMutability: "view";
|
|
2884
|
+
}, {
|
|
2885
|
+
readonly type: "function";
|
|
2886
|
+
readonly name: "eip712Domain";
|
|
2887
|
+
readonly inputs: readonly [];
|
|
2888
|
+
readonly outputs: readonly [{
|
|
2889
|
+
readonly name: "fields";
|
|
2890
|
+
readonly type: "bytes1";
|
|
2891
|
+
readonly internalType: "bytes1";
|
|
2892
|
+
}, {
|
|
2893
|
+
readonly name: "name";
|
|
2894
|
+
readonly type: "string";
|
|
2895
|
+
readonly internalType: "string";
|
|
2896
|
+
}, {
|
|
2897
|
+
readonly name: "version";
|
|
2898
|
+
readonly type: "string";
|
|
2899
|
+
readonly internalType: "string";
|
|
2900
|
+
}, {
|
|
2901
|
+
readonly name: "chainId";
|
|
2902
|
+
readonly type: "uint256";
|
|
2903
|
+
readonly internalType: "uint256";
|
|
2904
|
+
}, {
|
|
2905
|
+
readonly name: "verifyingContract";
|
|
2906
|
+
readonly type: "address";
|
|
2907
|
+
readonly internalType: "address";
|
|
2908
|
+
}, {
|
|
2909
|
+
readonly name: "salt";
|
|
2910
|
+
readonly type: "bytes32";
|
|
2911
|
+
readonly internalType: "bytes32";
|
|
2912
|
+
}, {
|
|
2913
|
+
readonly name: "extensions";
|
|
2914
|
+
readonly type: "uint256[]";
|
|
2915
|
+
readonly internalType: "uint256[]";
|
|
2916
|
+
}];
|
|
2917
|
+
readonly stateMutability: "view";
|
|
2862
2918
|
}, {
|
|
2863
2919
|
readonly type: "function";
|
|
2864
2920
|
readonly name: "isRegistered";
|
|
@@ -2898,7 +2954,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2898
2954
|
readonly outputs: readonly [{
|
|
2899
2955
|
readonly name: "keys";
|
|
2900
2956
|
readonly type: "tuple";
|
|
2901
|
-
readonly internalType: "struct
|
|
2957
|
+
readonly internalType: "struct IAddressRegistry.ReceivingKeys";
|
|
2902
2958
|
readonly components: readonly [{
|
|
2903
2959
|
readonly name: "viewingPublicKey";
|
|
2904
2960
|
readonly type: "bytes";
|
|
@@ -2920,7 +2976,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2920
2976
|
readonly inputs: readonly [{
|
|
2921
2977
|
readonly name: "registration";
|
|
2922
2978
|
readonly type: "tuple";
|
|
2923
|
-
readonly internalType: "struct
|
|
2979
|
+
readonly internalType: "struct IAddressRegistry.Registration";
|
|
2924
2980
|
readonly components: readonly [{
|
|
2925
2981
|
readonly name: "walletIdentity";
|
|
2926
2982
|
readonly type: "bytes32";
|
|
@@ -2928,7 +2984,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2928
2984
|
}, {
|
|
2929
2985
|
readonly name: "keys";
|
|
2930
2986
|
readonly type: "tuple";
|
|
2931
|
-
readonly internalType: "struct
|
|
2987
|
+
readonly internalType: "struct IAddressRegistry.ReceivingKeys";
|
|
2932
2988
|
readonly components: readonly [{
|
|
2933
2989
|
readonly name: "viewingPublicKey";
|
|
2934
2990
|
readonly type: "bytes";
|
|
@@ -2948,22 +3004,12 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2948
3004
|
readonly internalType: "uint64";
|
|
2949
3005
|
}];
|
|
2950
3006
|
}, {
|
|
2951
|
-
readonly name: "
|
|
3007
|
+
readonly name: "signature";
|
|
2952
3008
|
readonly type: "bytes";
|
|
2953
3009
|
readonly internalType: "bytes";
|
|
2954
3010
|
}];
|
|
2955
3011
|
readonly outputs: readonly [];
|
|
2956
3012
|
readonly stateMutability: "nonpayable";
|
|
2957
|
-
}, {
|
|
2958
|
-
readonly type: "function";
|
|
2959
|
-
readonly name: "registrationVerifier";
|
|
2960
|
-
readonly inputs: readonly [];
|
|
2961
|
-
readonly outputs: readonly [{
|
|
2962
|
-
readonly name: "";
|
|
2963
|
-
readonly type: "address";
|
|
2964
|
-
readonly internalType: "contract IVerifier";
|
|
2965
|
-
}];
|
|
2966
|
-
readonly stateMutability: "view";
|
|
2967
3013
|
}, {
|
|
2968
3014
|
readonly type: "function";
|
|
2969
3015
|
readonly name: "supportsInterface";
|
|
@@ -2984,7 +3030,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2984
3030
|
readonly inputs: readonly [{
|
|
2985
3031
|
readonly name: "registration";
|
|
2986
3032
|
readonly type: "tuple";
|
|
2987
|
-
readonly internalType: "struct
|
|
3033
|
+
readonly internalType: "struct IAddressRegistry.Registration";
|
|
2988
3034
|
readonly components: readonly [{
|
|
2989
3035
|
readonly name: "walletIdentity";
|
|
2990
3036
|
readonly type: "bytes32";
|
|
@@ -2992,7 +3038,7 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
2992
3038
|
}, {
|
|
2993
3039
|
readonly name: "keys";
|
|
2994
3040
|
readonly type: "tuple";
|
|
2995
|
-
readonly internalType: "struct
|
|
3041
|
+
readonly internalType: "struct IAddressRegistry.ReceivingKeys";
|
|
2996
3042
|
readonly components: readonly [{
|
|
2997
3043
|
readonly name: "viewingPublicKey";
|
|
2998
3044
|
readonly type: "bytes";
|
|
@@ -3012,12 +3058,17 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
3012
3058
|
readonly internalType: "uint64";
|
|
3013
3059
|
}];
|
|
3014
3060
|
}, {
|
|
3015
|
-
readonly name: "
|
|
3061
|
+
readonly name: "signature";
|
|
3016
3062
|
readonly type: "bytes";
|
|
3017
3063
|
readonly internalType: "bytes";
|
|
3018
3064
|
}];
|
|
3019
3065
|
readonly outputs: readonly [];
|
|
3020
3066
|
readonly stateMutability: "nonpayable";
|
|
3067
|
+
}, {
|
|
3068
|
+
readonly type: "event";
|
|
3069
|
+
readonly name: "EIP712DomainChanged";
|
|
3070
|
+
readonly inputs: readonly [];
|
|
3071
|
+
readonly anonymous: false;
|
|
3021
3072
|
}, {
|
|
3022
3073
|
readonly type: "event";
|
|
3023
3074
|
readonly name: "ReceivingKeysSet";
|
|
@@ -3061,20 +3112,16 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
3061
3112
|
readonly inputs: readonly [];
|
|
3062
3113
|
}, {
|
|
3063
3114
|
readonly type: "error";
|
|
3064
|
-
readonly name: "
|
|
3115
|
+
readonly name: "InvalidRegistrationSignature";
|
|
3065
3116
|
readonly inputs: readonly [];
|
|
3066
3117
|
}, {
|
|
3067
3118
|
readonly type: "error";
|
|
3068
|
-
readonly name: "
|
|
3119
|
+
readonly name: "InvalidShortString";
|
|
3069
3120
|
readonly inputs: readonly [];
|
|
3070
3121
|
}, {
|
|
3071
3122
|
readonly type: "error";
|
|
3072
3123
|
readonly name: "InvalidWalletIdentity";
|
|
3073
3124
|
readonly inputs: readonly [];
|
|
3074
|
-
}, {
|
|
3075
|
-
readonly type: "error";
|
|
3076
|
-
readonly name: "InvalidWalletStatement";
|
|
3077
|
-
readonly inputs: readonly [];
|
|
3078
3125
|
}, {
|
|
3079
3126
|
readonly type: "error";
|
|
3080
3127
|
readonly name: "NonceExhausted";
|
|
@@ -3091,6 +3138,14 @@ declare const invisiAddressRegistryAbi: readonly [{
|
|
|
3091
3138
|
readonly type: "error";
|
|
3092
3139
|
readonly name: "RegistrationExpired";
|
|
3093
3140
|
readonly inputs: readonly [];
|
|
3141
|
+
}, {
|
|
3142
|
+
readonly type: "error";
|
|
3143
|
+
readonly name: "StringTooLong";
|
|
3144
|
+
readonly inputs: readonly [{
|
|
3145
|
+
readonly name: "str";
|
|
3146
|
+
readonly type: "string";
|
|
3147
|
+
readonly internalType: "string";
|
|
3148
|
+
}];
|
|
3094
3149
|
}];
|
|
3095
3150
|
|
|
3096
3151
|
type InvisiProtocolAbi = typeof invisiProtocolAbi;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@invisi-labs/protocol",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Deployment-scoped protocol statements, witnesses and contract operations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"ethers": "^6.17.0",
|
|
23
|
-
"@invisi-labs/
|
|
24
|
-
"@invisi-labs/
|
|
25
|
-
"@invisi-labs/
|
|
23
|
+
"@invisi-labs/prover": "1.1.2",
|
|
24
|
+
"@invisi-labs/rpc": "1.1.2",
|
|
25
|
+
"@invisi-labs/core": "1.1.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"tsup": "^8.0.0",
|