@libid/contracts 0.6.0 → 0.8.0
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 +65 -26
- package/dist/abis/{googleIdentityVerifier.d.ts → ceremonyProofVerifier.d.ts} +146 -128
- package/dist/abis/{googleIdentityVerifier.d.ts.map → ceremonyProofVerifier.d.ts.map} +1 -1
- package/dist/abis/{googleIdentityVerifier.js → ceremonyProofVerifier.js} +182 -156
- package/dist/abis/ceremonyProofVerifier.js.map +1 -0
- package/dist/abis/{identityJwksRoots.d.ts → googleJwtRoots.d.ts} +273 -211
- package/dist/abis/{xZkVerifier.d.ts.map → googleJwtRoots.d.ts.map} +1 -1
- package/dist/abis/{identityJwksRoots.js → googleJwtRoots.js} +345 -253
- package/dist/abis/googleJwtRoots.js.map +1 -0
- package/dist/abis/{walletFactory.d.ts → handleResolver.d.ts} +185 -151
- package/dist/abis/handleResolver.d.ts.map +1 -0
- package/dist/abis/{walletFactory.js → handleResolver.js} +219 -170
- package/dist/abis/handleResolver.js.map +1 -0
- package/dist/abis/identityNames.d.ts +173 -219
- package/dist/abis/identityNames.d.ts.map +1 -1
- package/dist/abis/identityNames.js +210 -266
- package/dist/abis/identityNames.js.map +1 -1
- package/dist/abis/index.d.ts +4 -16
- package/dist/abis/index.d.ts.map +1 -1
- package/dist/abis/index.js +4 -16
- package/dist/abis/index.js.map +1 -1
- package/dist/abis/{xZkVerifier.d.ts → notaryService.d.ts} +237 -273
- package/dist/abis/{webWallet.d.ts.map → notaryService.d.ts.map} +1 -1
- package/dist/abis/{xZkVerifier.js → notaryService.js} +297 -337
- package/dist/abis/notaryService.js.map +1 -0
- package/dist/call.d.ts +7 -0
- package/dist/call.d.ts.map +1 -0
- package/dist/call.js +2 -0
- package/dist/call.js.map +1 -0
- package/dist/calls/ceremonyProofVerifier.d.ts +14 -0
- package/dist/calls/ceremonyProofVerifier.d.ts.map +1 -0
- package/dist/calls/ceremonyProofVerifier.js +55 -0
- package/dist/calls/ceremonyProofVerifier.js.map +1 -0
- package/dist/calls/googleJwtRoots.d.ts +14 -0
- package/dist/calls/googleJwtRoots.d.ts.map +1 -0
- package/dist/calls/googleJwtRoots.js +43 -0
- package/dist/calls/googleJwtRoots.js.map +1 -0
- package/dist/calls/handleResolver.d.ts +12 -0
- package/dist/calls/handleResolver.d.ts.map +1 -0
- package/dist/calls/handleResolver.js +29 -0
- package/dist/calls/handleResolver.js.map +1 -0
- package/dist/calls/identityNames.d.ts +16 -0
- package/dist/calls/identityNames.d.ts.map +1 -0
- package/dist/calls/identityNames.js +55 -0
- package/dist/calls/identityNames.js.map +1 -0
- package/dist/calls/index.d.ts +8 -0
- package/dist/calls/index.d.ts.map +1 -0
- package/dist/calls/index.js +10 -0
- package/dist/calls/index.js.map +1 -0
- package/dist/calls/libidFactory.d.ts +13 -0
- package/dist/calls/libidFactory.d.ts.map +1 -0
- package/dist/calls/libidFactory.js +36 -0
- package/dist/calls/libidFactory.js.map +1 -0
- package/dist/calls/notaryService.d.ts +16 -0
- package/dist/calls/notaryService.d.ts.map +1 -0
- package/dist/calls/notaryService.js +55 -0
- package/dist/calls/notaryService.js.map +1 -0
- package/dist/calls/wtia9.d.ts +13 -0
- package/dist/calls/wtia9.d.ts.map +1 -0
- package/dist/calls/wtia9.js +36 -0
- package/dist/calls/wtia9.js.map +1 -0
- package/dist/ceremony/index.d.ts +2 -0
- package/dist/ceremony/index.d.ts.map +1 -0
- package/dist/ceremony/index.js +13 -0
- package/dist/ceremony/index.js.map +1 -0
- package/dist/ceremony/profiles.d.ts +82 -0
- package/dist/ceremony/profiles.d.ts.map +1 -0
- package/dist/ceremony/profiles.js +86 -0
- package/dist/ceremony/profiles.js.map +1 -0
- package/dist/identity/handleVectors.d.ts +3 -3
- package/dist/identity/handleVectors.d.ts.map +1 -1
- package/dist/identity/handleVectors.js +3 -3
- package/dist/identity/handleVectors.js.map +1 -1
- package/dist/identity/index.d.ts +0 -1
- package/dist/identity/index.d.ts.map +1 -1
- package/dist/identity/index.js +7 -6
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/resolve.js +4 -4
- package/dist/identity/resolve.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +12 -7
- package/src/abis/{googleIdentityVerifier.ts → ceremonyProofVerifier.ts} +181 -155
- package/src/abis/{identityJwksRoots.ts → googleJwtRoots.ts} +344 -252
- package/src/abis/{walletFactory.ts → handleResolver.ts} +218 -169
- package/src/abis/identityNames.ts +210 -266
- package/src/abis/index.ts +4 -16
- package/src/abis/{xZkVerifier.ts → notaryService.ts} +296 -336
- package/src/call.ts +15 -0
- package/src/calls/ceremonyProofVerifier.ts +90 -0
- package/src/calls/googleJwtRoots.ts +74 -0
- package/src/calls/handleResolver.ts +51 -0
- package/src/calls/identityNames.ts +88 -0
- package/src/calls/index.ts +9 -0
- package/src/calls/libidFactory.ts +63 -0
- package/src/calls/notaryService.ts +85 -0
- package/src/calls/wtia9.ts +52 -0
- package/src/ceremony/index.ts +13 -0
- package/src/ceremony/profiles.ts +151 -0
- package/src/identity/handleVectors.ts +3 -3
- package/src/identity/index.ts +7 -6
- package/src/identity/resolve.ts +4 -4
- package/src/index.ts +7 -3
- package/dist/abis/adminFacet.d.ts +0 -339
- package/dist/abis/adminFacet.d.ts.map +0 -1
- package/dist/abis/adminFacet.js +0 -442
- package/dist/abis/adminFacet.js.map +0 -1
- package/dist/abis/bank.d.ts +0 -916
- package/dist/abis/bank.d.ts.map +0 -1
- package/dist/abis/bank.js +0 -1184
- package/dist/abis/bank.js.map +0 -1
- package/dist/abis/diamondLoupeFacet.d.ts +0 -73
- package/dist/abis/diamondLoupeFacet.d.ts.map +0 -1
- package/dist/abis/diamondLoupeFacet.js +0 -100
- package/dist/abis/diamondLoupeFacet.js.map +0 -1
- package/dist/abis/gitHubIdentityVerifier.d.ts +0 -409
- package/dist/abis/gitHubIdentityVerifier.d.ts.map +0 -1
- package/dist/abis/gitHubIdentityVerifier.js +0 -531
- package/dist/abis/gitHubIdentityVerifier.js.map +0 -1
- package/dist/abis/googleIdentityVerifier.js.map +0 -1
- package/dist/abis/googleOidcVerifier.d.ts +0 -838
- package/dist/abis/googleOidcVerifier.d.ts.map +0 -1
- package/dist/abis/googleOidcVerifier.js +0 -1082
- package/dist/abis/googleOidcVerifier.js.map +0 -1
- package/dist/abis/identityJwksRoots.d.ts.map +0 -1
- package/dist/abis/identityJwksRoots.js.map +0 -1
- package/dist/abis/mockErc20.d.ts +0 -262
- package/dist/abis/mockErc20.d.ts.map +0 -1
- package/dist/abis/mockErc20.js +0 -347
- package/dist/abis/mockErc20.js.map +0 -1
- package/dist/abis/notary.d.ts +0 -263
- package/dist/abis/notary.d.ts.map +0 -1
- package/dist/abis/notary.js +0 -343
- package/dist/abis/notary.js.map +0 -1
- package/dist/abis/registry.d.ts +0 -1170
- package/dist/abis/registry.d.ts.map +0 -1
- package/dist/abis/registry.js +0 -1511
- package/dist/abis/registry.js.map +0 -1
- package/dist/abis/transferFacet.d.ts +0 -814
- package/dist/abis/transferFacet.d.ts.map +0 -1
- package/dist/abis/transferFacet.js +0 -1035
- package/dist/abis/transferFacet.js.map +0 -1
- package/dist/abis/vaultFacet.d.ts +0 -306
- package/dist/abis/vaultFacet.d.ts.map +0 -1
- package/dist/abis/vaultFacet.js +0 -398
- package/dist/abis/vaultFacet.js.map +0 -1
- package/dist/abis/walletFactory.d.ts.map +0 -1
- package/dist/abis/walletFactory.js.map +0 -1
- package/dist/abis/webWallet.d.ts +0 -523
- package/dist/abis/webWallet.js +0 -680
- package/dist/abis/webWallet.js.map +0 -1
- package/dist/abis/xIdentityVerifier.d.ts +0 -473
- package/dist/abis/xIdentityVerifier.d.ts.map +0 -1
- package/dist/abis/xIdentityVerifier.js +0 -612
- package/dist/abis/xIdentityVerifier.js.map +0 -1
- package/dist/abis/xZkVerifier.js.map +0 -1
- package/dist/identity/bind.d.ts +0 -59
- package/dist/identity/bind.d.ts.map +0 -1
- package/dist/identity/bind.fixtures.d.ts +0 -8
- package/dist/identity/bind.fixtures.d.ts.map +0 -1
- package/dist/identity/bind.fixtures.js +0 -55
- package/dist/identity/bind.fixtures.js.map +0 -1
- package/dist/identity/bind.js +0 -148
- package/dist/identity/bind.js.map +0 -1
- package/src/abis/adminFacet.ts +0 -444
- package/src/abis/bank.ts +0 -1186
- package/src/abis/diamondLoupeFacet.ts +0 -102
- package/src/abis/gitHubIdentityVerifier.ts +0 -533
- package/src/abis/googleOidcVerifier.ts +0 -1084
- package/src/abis/mockErc20.ts +0 -349
- package/src/abis/notary.ts +0 -345
- package/src/abis/registry.ts +0 -1513
- package/src/abis/transferFacet.ts +0 -1037
- package/src/abis/vaultFacet.ts +0 -400
- package/src/abis/webWallet.ts +0 -682
- package/src/abis/xIdentityVerifier.ts +0 -614
- package/src/identity/bind.fixtures.ts +0 -63
- package/src/identity/bind.ts +0 -243
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const notaryServiceAbi: readonly [{
|
|
2
2
|
readonly type: "constructor";
|
|
3
3
|
readonly inputs: readonly [];
|
|
4
4
|
readonly stateMutability: "nonpayable";
|
|
5
|
-
}, {
|
|
6
|
-
readonly type: "function";
|
|
7
|
-
readonly name: "CLOCK_SKEW_GRACE";
|
|
8
|
-
readonly inputs: readonly [];
|
|
9
|
-
readonly outputs: readonly [{
|
|
10
|
-
readonly name: "";
|
|
11
|
-
readonly type: "uint256";
|
|
12
|
-
readonly internalType: "uint256";
|
|
13
|
-
}];
|
|
14
|
-
readonly stateMutability: "view";
|
|
15
5
|
}, {
|
|
16
6
|
readonly type: "function";
|
|
17
7
|
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
@@ -30,31 +20,7 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
30
20
|
readonly stateMutability: "nonpayable";
|
|
31
21
|
}, {
|
|
32
22
|
readonly type: "function";
|
|
33
|
-
readonly name: "
|
|
34
|
-
readonly inputs: readonly [{
|
|
35
|
-
readonly name: "_id";
|
|
36
|
-
readonly type: "bytes";
|
|
37
|
-
readonly internalType: "bytes";
|
|
38
|
-
}];
|
|
39
|
-
readonly outputs: readonly [];
|
|
40
|
-
readonly stateMutability: "nonpayable";
|
|
41
|
-
}, {
|
|
42
|
-
readonly type: "function";
|
|
43
|
-
readonly name: "clientIdAt";
|
|
44
|
-
readonly inputs: readonly [{
|
|
45
|
-
readonly name: "_i";
|
|
46
|
-
readonly type: "uint256";
|
|
47
|
-
readonly internalType: "uint256";
|
|
48
|
-
}];
|
|
49
|
-
readonly outputs: readonly [{
|
|
50
|
-
readonly name: "";
|
|
51
|
-
readonly type: "bytes";
|
|
52
|
-
readonly internalType: "bytes";
|
|
53
|
-
}];
|
|
54
|
-
readonly stateMutability: "view";
|
|
55
|
-
}, {
|
|
56
|
-
readonly type: "function";
|
|
57
|
-
readonly name: "clientIdCount";
|
|
23
|
+
readonly name: "fee";
|
|
58
24
|
readonly inputs: readonly [];
|
|
59
25
|
readonly outputs: readonly [{
|
|
60
26
|
readonly name: "";
|
|
@@ -62,108 +28,32 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
62
28
|
readonly internalType: "uint256";
|
|
63
29
|
}];
|
|
64
30
|
readonly stateMutability: "view";
|
|
65
|
-
}, {
|
|
66
|
-
readonly type: "function";
|
|
67
|
-
readonly name: "endpoint";
|
|
68
|
-
readonly inputs: readonly [];
|
|
69
|
-
readonly outputs: readonly [{
|
|
70
|
-
readonly name: "";
|
|
71
|
-
readonly type: "string";
|
|
72
|
-
readonly internalType: "string";
|
|
73
|
-
}];
|
|
74
|
-
readonly stateMutability: "view";
|
|
75
|
-
}, {
|
|
76
|
-
readonly type: "function";
|
|
77
|
-
readonly name: "handlePrefix";
|
|
78
|
-
readonly inputs: readonly [];
|
|
79
|
-
readonly outputs: readonly [{
|
|
80
|
-
readonly name: "";
|
|
81
|
-
readonly type: "string";
|
|
82
|
-
readonly internalType: "string";
|
|
83
|
-
}];
|
|
84
|
-
readonly stateMutability: "view";
|
|
85
|
-
}, {
|
|
86
|
-
readonly type: "function";
|
|
87
|
-
readonly name: "honkVerifier";
|
|
88
|
-
readonly inputs: readonly [];
|
|
89
|
-
readonly outputs: readonly [{
|
|
90
|
-
readonly name: "";
|
|
91
|
-
readonly type: "address";
|
|
92
|
-
readonly internalType: "contract IHonkVerifier";
|
|
93
|
-
}];
|
|
94
|
-
readonly stateMutability: "view";
|
|
95
31
|
}, {
|
|
96
32
|
readonly type: "function";
|
|
97
33
|
readonly name: "initialize";
|
|
98
34
|
readonly inputs: readonly [{
|
|
99
|
-
readonly name: "
|
|
35
|
+
readonly name: "owner_";
|
|
100
36
|
readonly type: "address";
|
|
101
37
|
readonly internalType: "address";
|
|
102
38
|
}, {
|
|
103
|
-
readonly name: "
|
|
39
|
+
readonly name: "notary_";
|
|
104
40
|
readonly type: "address";
|
|
105
41
|
readonly internalType: "address";
|
|
106
42
|
}, {
|
|
107
|
-
readonly name: "
|
|
108
|
-
readonly type: "
|
|
109
|
-
readonly internalType: "
|
|
110
|
-
}, {
|
|
111
|
-
readonly name: "_xClientId";
|
|
112
|
-
readonly type: "bytes";
|
|
113
|
-
readonly internalType: "bytes";
|
|
114
|
-
}, {
|
|
115
|
-
readonly name: "_endpoint";
|
|
116
|
-
readonly type: "string";
|
|
117
|
-
readonly internalType: "string";
|
|
118
|
-
}, {
|
|
119
|
-
readonly name: "_handlePrefix";
|
|
120
|
-
readonly type: "string";
|
|
121
|
-
readonly internalType: "string";
|
|
122
|
-
}, {
|
|
123
|
-
readonly name: "_platformName";
|
|
124
|
-
readonly type: "string";
|
|
125
|
-
readonly internalType: "string";
|
|
43
|
+
readonly name: "fee_";
|
|
44
|
+
readonly type: "uint256";
|
|
45
|
+
readonly internalType: "uint256";
|
|
126
46
|
}];
|
|
127
47
|
readonly outputs: readonly [];
|
|
128
48
|
readonly stateMutability: "nonpayable";
|
|
129
49
|
}, {
|
|
130
50
|
readonly type: "function";
|
|
131
|
-
readonly name: "
|
|
51
|
+
readonly name: "isTrustedNotary";
|
|
132
52
|
readonly inputs: readonly [{
|
|
133
|
-
readonly name: "";
|
|
134
|
-
readonly type: "bytes32";
|
|
135
|
-
readonly internalType: "bytes32";
|
|
136
|
-
}];
|
|
137
|
-
readonly outputs: readonly [{
|
|
138
|
-
readonly name: "";
|
|
139
|
-
readonly type: "bool";
|
|
140
|
-
readonly internalType: "bool";
|
|
141
|
-
}];
|
|
142
|
-
readonly stateMutability: "view";
|
|
143
|
-
}, {
|
|
144
|
-
readonly type: "function";
|
|
145
|
-
readonly name: "notary";
|
|
146
|
-
readonly inputs: readonly [];
|
|
147
|
-
readonly outputs: readonly [{
|
|
148
|
-
readonly name: "";
|
|
53
|
+
readonly name: "key";
|
|
149
54
|
readonly type: "address";
|
|
150
55
|
readonly internalType: "address";
|
|
151
56
|
}];
|
|
152
|
-
readonly stateMutability: "view";
|
|
153
|
-
}, {
|
|
154
|
-
readonly type: "function";
|
|
155
|
-
readonly name: "notaryContract";
|
|
156
|
-
readonly inputs: readonly [];
|
|
157
|
-
readonly outputs: readonly [{
|
|
158
|
-
readonly name: "";
|
|
159
|
-
readonly type: "address";
|
|
160
|
-
readonly internalType: "contract INotary";
|
|
161
|
-
}];
|
|
162
|
-
readonly stateMutability: "view";
|
|
163
|
-
}, {
|
|
164
|
-
readonly type: "function";
|
|
165
|
-
readonly name: "openClientIds";
|
|
166
|
-
readonly inputs: readonly [];
|
|
167
57
|
readonly outputs: readonly [{
|
|
168
58
|
readonly name: "";
|
|
169
59
|
readonly type: "bool";
|
|
@@ -190,16 +80,6 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
190
80
|
readonly internalType: "address";
|
|
191
81
|
}];
|
|
192
82
|
readonly stateMutability: "view";
|
|
193
|
-
}, {
|
|
194
|
-
readonly type: "function";
|
|
195
|
-
readonly name: "platformName";
|
|
196
|
-
readonly inputs: readonly [];
|
|
197
|
-
readonly outputs: readonly [{
|
|
198
|
-
readonly name: "";
|
|
199
|
-
readonly type: "string";
|
|
200
|
-
readonly internalType: "string";
|
|
201
|
-
}];
|
|
202
|
-
readonly stateMutability: "view";
|
|
203
83
|
}, {
|
|
204
84
|
readonly type: "function";
|
|
205
85
|
readonly name: "proxiableUUID";
|
|
@@ -210,16 +90,6 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
210
90
|
readonly internalType: "bytes32";
|
|
211
91
|
}];
|
|
212
92
|
readonly stateMutability: "view";
|
|
213
|
-
}, {
|
|
214
|
-
readonly type: "function";
|
|
215
|
-
readonly name: "removeClientId";
|
|
216
|
-
readonly inputs: readonly [{
|
|
217
|
-
readonly name: "_id";
|
|
218
|
-
readonly type: "bytes";
|
|
219
|
-
readonly internalType: "bytes";
|
|
220
|
-
}];
|
|
221
|
-
readonly outputs: readonly [];
|
|
222
|
-
readonly stateMutability: "nonpayable";
|
|
223
93
|
}, {
|
|
224
94
|
readonly type: "function";
|
|
225
95
|
readonly name: "renounceOwnership";
|
|
@@ -228,54 +98,28 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
228
98
|
readonly stateMutability: "pure";
|
|
229
99
|
}, {
|
|
230
100
|
readonly type: "function";
|
|
231
|
-
readonly name: "
|
|
232
|
-
readonly inputs: readonly [{
|
|
233
|
-
readonly name: "_endpoint";
|
|
234
|
-
readonly type: "string";
|
|
235
|
-
readonly internalType: "string";
|
|
236
|
-
}];
|
|
237
|
-
readonly outputs: readonly [];
|
|
238
|
-
readonly stateMutability: "nonpayable";
|
|
239
|
-
}, {
|
|
240
|
-
readonly type: "function";
|
|
241
|
-
readonly name: "setHandlePrefix";
|
|
101
|
+
readonly name: "setFee";
|
|
242
102
|
readonly inputs: readonly [{
|
|
243
|
-
readonly name: "
|
|
244
|
-
readonly type: "
|
|
245
|
-
readonly internalType: "
|
|
103
|
+
readonly name: "fee_";
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
readonly internalType: "uint256";
|
|
246
106
|
}];
|
|
247
107
|
readonly outputs: readonly [];
|
|
248
108
|
readonly stateMutability: "nonpayable";
|
|
249
109
|
}, {
|
|
250
110
|
readonly type: "function";
|
|
251
|
-
readonly name: "
|
|
111
|
+
readonly name: "setNotary";
|
|
252
112
|
readonly inputs: readonly [{
|
|
253
|
-
readonly name: "
|
|
113
|
+
readonly name: "key";
|
|
254
114
|
readonly type: "address";
|
|
255
|
-
readonly internalType: "
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
readonly stateMutability: "nonpayable";
|
|
259
|
-
}, {
|
|
260
|
-
readonly type: "function";
|
|
261
|
-
readonly name: "setOpenClientIds";
|
|
262
|
-
readonly inputs: readonly [{
|
|
263
|
-
readonly name: "_open";
|
|
115
|
+
readonly internalType: "address";
|
|
116
|
+
}, {
|
|
117
|
+
readonly name: "trusted_";
|
|
264
118
|
readonly type: "bool";
|
|
265
119
|
readonly internalType: "bool";
|
|
266
120
|
}];
|
|
267
121
|
readonly outputs: readonly [];
|
|
268
122
|
readonly stateMutability: "nonpayable";
|
|
269
|
-
}, {
|
|
270
|
-
readonly type: "function";
|
|
271
|
-
readonly name: "setPlatformName";
|
|
272
|
-
readonly inputs: readonly [{
|
|
273
|
-
readonly name: "_name";
|
|
274
|
-
readonly type: "string";
|
|
275
|
-
readonly internalType: "string";
|
|
276
|
-
}];
|
|
277
|
-
readonly outputs: readonly [];
|
|
278
|
-
readonly stateMutability: "nonpayable";
|
|
279
123
|
}, {
|
|
280
124
|
readonly type: "function";
|
|
281
125
|
readonly name: "transferOwnership";
|
|
@@ -302,56 +146,159 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
302
146
|
readonly stateMutability: "payable";
|
|
303
147
|
}, {
|
|
304
148
|
readonly type: "function";
|
|
305
|
-
readonly name: "
|
|
149
|
+
readonly name: "verify";
|
|
306
150
|
readonly inputs: readonly [{
|
|
307
|
-
readonly name: "
|
|
151
|
+
readonly name: "attestedData";
|
|
152
|
+
readonly type: "bytes";
|
|
153
|
+
readonly internalType: "bytes";
|
|
154
|
+
}, {
|
|
155
|
+
readonly name: "proof";
|
|
308
156
|
readonly type: "bytes";
|
|
309
157
|
readonly internalType: "bytes";
|
|
310
158
|
}];
|
|
311
159
|
readonly outputs: readonly [{
|
|
312
|
-
readonly name: "
|
|
313
|
-
readonly type: "
|
|
314
|
-
readonly internalType: "
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
160
|
+
readonly name: "";
|
|
161
|
+
readonly type: "tuple";
|
|
162
|
+
readonly internalType: "struct CeremonyAttestation.AttestedData";
|
|
163
|
+
readonly components: readonly [{
|
|
164
|
+
readonly name: "authorityId";
|
|
165
|
+
readonly type: "bytes32";
|
|
166
|
+
readonly internalType: "bytes32";
|
|
167
|
+
}, {
|
|
168
|
+
readonly name: "createdAt";
|
|
169
|
+
readonly type: "uint64";
|
|
170
|
+
readonly internalType: "uint64";
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "sentTranscriptLength";
|
|
173
|
+
readonly type: "uint32";
|
|
174
|
+
readonly internalType: "uint32";
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "recvTranscriptLength";
|
|
177
|
+
readonly type: "uint32";
|
|
178
|
+
readonly internalType: "uint32";
|
|
179
|
+
}, {
|
|
180
|
+
readonly name: "sent";
|
|
181
|
+
readonly type: "tuple";
|
|
182
|
+
readonly internalType: "struct CeremonyAttestation.DirectionBlock";
|
|
183
|
+
readonly components: readonly [{
|
|
184
|
+
readonly name: "revealed";
|
|
185
|
+
readonly type: "tuple[]";
|
|
186
|
+
readonly internalType: "struct CeremonyAttestation.RevealedRange[]";
|
|
187
|
+
readonly components: readonly [{
|
|
188
|
+
readonly name: "start";
|
|
189
|
+
readonly type: "uint32";
|
|
190
|
+
readonly internalType: "uint32";
|
|
191
|
+
}, {
|
|
192
|
+
readonly name: "end";
|
|
193
|
+
readonly type: "uint32";
|
|
194
|
+
readonly internalType: "uint32";
|
|
195
|
+
}, {
|
|
196
|
+
readonly name: "value";
|
|
197
|
+
readonly type: "bytes";
|
|
198
|
+
readonly internalType: "bytes";
|
|
199
|
+
}];
|
|
200
|
+
}, {
|
|
201
|
+
readonly name: "commitments";
|
|
202
|
+
readonly type: "tuple[]";
|
|
203
|
+
readonly internalType: "struct CeremonyAttestation.RangeCommitment[]";
|
|
204
|
+
readonly components: readonly [{
|
|
205
|
+
readonly name: "start";
|
|
206
|
+
readonly type: "uint32";
|
|
207
|
+
readonly internalType: "uint32";
|
|
208
|
+
}, {
|
|
209
|
+
readonly name: "end";
|
|
210
|
+
readonly type: "uint32";
|
|
211
|
+
readonly internalType: "uint32";
|
|
212
|
+
}, {
|
|
213
|
+
readonly name: "commitment";
|
|
214
|
+
readonly type: "bytes32";
|
|
215
|
+
readonly internalType: "bytes32";
|
|
216
|
+
}];
|
|
217
|
+
}];
|
|
218
|
+
}, {
|
|
219
|
+
readonly name: "received";
|
|
220
|
+
readonly type: "tuple";
|
|
221
|
+
readonly internalType: "struct CeremonyAttestation.DirectionBlock";
|
|
222
|
+
readonly components: readonly [{
|
|
223
|
+
readonly name: "revealed";
|
|
224
|
+
readonly type: "tuple[]";
|
|
225
|
+
readonly internalType: "struct CeremonyAttestation.RevealedRange[]";
|
|
226
|
+
readonly components: readonly [{
|
|
227
|
+
readonly name: "start";
|
|
228
|
+
readonly type: "uint32";
|
|
229
|
+
readonly internalType: "uint32";
|
|
230
|
+
}, {
|
|
231
|
+
readonly name: "end";
|
|
232
|
+
readonly type: "uint32";
|
|
233
|
+
readonly internalType: "uint32";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "value";
|
|
236
|
+
readonly type: "bytes";
|
|
237
|
+
readonly internalType: "bytes";
|
|
238
|
+
}];
|
|
239
|
+
}, {
|
|
240
|
+
readonly name: "commitments";
|
|
241
|
+
readonly type: "tuple[]";
|
|
242
|
+
readonly internalType: "struct CeremonyAttestation.RangeCommitment[]";
|
|
243
|
+
readonly components: readonly [{
|
|
244
|
+
readonly name: "start";
|
|
245
|
+
readonly type: "uint32";
|
|
246
|
+
readonly internalType: "uint32";
|
|
247
|
+
}, {
|
|
248
|
+
readonly name: "end";
|
|
249
|
+
readonly type: "uint32";
|
|
250
|
+
readonly internalType: "uint32";
|
|
251
|
+
}, {
|
|
252
|
+
readonly name: "commitment";
|
|
253
|
+
readonly type: "bytes32";
|
|
254
|
+
readonly internalType: "bytes32";
|
|
255
|
+
}];
|
|
256
|
+
}];
|
|
257
|
+
}];
|
|
258
|
+
}];
|
|
259
|
+
readonly stateMutability: "payable";
|
|
260
|
+
}, {
|
|
261
|
+
readonly type: "function";
|
|
262
|
+
readonly name: "withdraw";
|
|
263
|
+
readonly inputs: readonly [{
|
|
264
|
+
readonly name: "to";
|
|
321
265
|
readonly type: "address";
|
|
322
266
|
readonly internalType: "address";
|
|
323
267
|
}, {
|
|
324
|
-
readonly name: "
|
|
268
|
+
readonly name: "amount";
|
|
325
269
|
readonly type: "uint256";
|
|
326
270
|
readonly internalType: "uint256";
|
|
327
|
-
}, {
|
|
328
|
-
readonly name: "nullifier";
|
|
329
|
-
readonly type: "bytes32";
|
|
330
|
-
readonly internalType: "bytes32";
|
|
331
|
-
}, {
|
|
332
|
-
readonly name: "userId";
|
|
333
|
-
readonly type: "string";
|
|
334
|
-
readonly internalType: "string";
|
|
335
271
|
}];
|
|
336
|
-
readonly
|
|
272
|
+
readonly outputs: readonly [];
|
|
273
|
+
readonly stateMutability: "nonpayable";
|
|
337
274
|
}, {
|
|
338
275
|
readonly type: "event";
|
|
339
|
-
readonly name: "
|
|
276
|
+
readonly name: "FeeChanged";
|
|
340
277
|
readonly inputs: readonly [{
|
|
341
|
-
readonly name: "
|
|
342
|
-
readonly type: "
|
|
278
|
+
readonly name: "previousFee";
|
|
279
|
+
readonly type: "uint256";
|
|
343
280
|
readonly indexed: false;
|
|
344
|
-
readonly internalType: "
|
|
281
|
+
readonly internalType: "uint256";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "newFee";
|
|
284
|
+
readonly type: "uint256";
|
|
285
|
+
readonly indexed: false;
|
|
286
|
+
readonly internalType: "uint256";
|
|
345
287
|
}];
|
|
346
288
|
readonly anonymous: false;
|
|
347
289
|
}, {
|
|
348
290
|
readonly type: "event";
|
|
349
|
-
readonly name: "
|
|
291
|
+
readonly name: "FeesWithdrawn";
|
|
350
292
|
readonly inputs: readonly [{
|
|
351
|
-
readonly name: "
|
|
352
|
-
readonly type: "
|
|
293
|
+
readonly name: "to";
|
|
294
|
+
readonly type: "address";
|
|
295
|
+
readonly indexed: true;
|
|
296
|
+
readonly internalType: "address";
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: "amount";
|
|
299
|
+
readonly type: "uint256";
|
|
353
300
|
readonly indexed: false;
|
|
354
|
-
readonly internalType: "
|
|
301
|
+
readonly internalType: "uint256";
|
|
355
302
|
}];
|
|
356
303
|
readonly anonymous: false;
|
|
357
304
|
}, {
|
|
@@ -366,9 +313,14 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
366
313
|
readonly anonymous: false;
|
|
367
314
|
}, {
|
|
368
315
|
readonly type: "event";
|
|
369
|
-
readonly name: "
|
|
316
|
+
readonly name: "NotaryTrustChanged";
|
|
370
317
|
readonly inputs: readonly [{
|
|
371
|
-
readonly name: "
|
|
318
|
+
readonly name: "key";
|
|
319
|
+
readonly type: "address";
|
|
320
|
+
readonly indexed: true;
|
|
321
|
+
readonly internalType: "address";
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "trusted";
|
|
372
324
|
readonly type: "bool";
|
|
373
325
|
readonly indexed: false;
|
|
374
326
|
readonly internalType: "bool";
|
|
@@ -424,24 +376,16 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
424
376
|
}];
|
|
425
377
|
}, {
|
|
426
378
|
readonly type: "error";
|
|
427
|
-
readonly name: "
|
|
428
|
-
readonly inputs: readonly [
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
}, {
|
|
438
|
-
readonly type: "error";
|
|
439
|
-
readonly name: "ClientIdMismatch";
|
|
440
|
-
readonly inputs: readonly [];
|
|
441
|
-
}, {
|
|
442
|
-
readonly type: "error";
|
|
443
|
-
readonly name: "ClientIdNotAllowed";
|
|
444
|
-
readonly inputs: readonly [];
|
|
379
|
+
readonly name: "CommitmentOverlapsRevealed";
|
|
380
|
+
readonly inputs: readonly [{
|
|
381
|
+
readonly name: "start";
|
|
382
|
+
readonly type: "uint32";
|
|
383
|
+
readonly internalType: "uint32";
|
|
384
|
+
}, {
|
|
385
|
+
readonly name: "end";
|
|
386
|
+
readonly type: "uint32";
|
|
387
|
+
readonly internalType: "uint32";
|
|
388
|
+
}];
|
|
445
389
|
}, {
|
|
446
390
|
readonly type: "error";
|
|
447
391
|
readonly name: "ERC1967InvalidImplementation";
|
|
@@ -456,64 +400,44 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
456
400
|
readonly inputs: readonly [];
|
|
457
401
|
}, {
|
|
458
402
|
readonly type: "error";
|
|
459
|
-
readonly name: "
|
|
460
|
-
readonly inputs: readonly [
|
|
403
|
+
readonly name: "EmptyRange";
|
|
404
|
+
readonly inputs: readonly [{
|
|
405
|
+
readonly name: "start";
|
|
406
|
+
readonly type: "uint32";
|
|
407
|
+
readonly internalType: "uint32";
|
|
408
|
+
}];
|
|
461
409
|
}, {
|
|
462
410
|
readonly type: "error";
|
|
463
411
|
readonly name: "FailedCall";
|
|
464
412
|
readonly inputs: readonly [];
|
|
465
|
-
}, {
|
|
466
|
-
readonly type: "error";
|
|
467
|
-
readonly name: "FutureProof";
|
|
468
|
-
readonly inputs: readonly [];
|
|
469
|
-
}, {
|
|
470
|
-
readonly type: "error";
|
|
471
|
-
readonly name: "HandleNotFound";
|
|
472
|
-
readonly inputs: readonly [];
|
|
473
|
-
}, {
|
|
474
|
-
readonly type: "error";
|
|
475
|
-
readonly name: "HandleTooLong";
|
|
476
|
-
readonly inputs: readonly [];
|
|
477
|
-
}, {
|
|
478
|
-
readonly type: "error";
|
|
479
|
-
readonly name: "IdNotFound";
|
|
480
|
-
readonly inputs: readonly [];
|
|
481
413
|
}, {
|
|
482
414
|
readonly type: "error";
|
|
483
415
|
readonly name: "InvalidInitialization";
|
|
484
416
|
readonly inputs: readonly [];
|
|
485
417
|
}, {
|
|
486
418
|
readonly type: "error";
|
|
487
|
-
readonly name: "
|
|
488
|
-
readonly inputs: readonly [];
|
|
489
|
-
}, {
|
|
490
|
-
readonly type: "error";
|
|
491
|
-
readonly name: "MeBadSentLayout";
|
|
492
|
-
readonly inputs: readonly [];
|
|
493
|
-
}, {
|
|
494
|
-
readonly type: "error";
|
|
495
|
-
readonly name: "MeBearerAdjacencyMismatch";
|
|
496
|
-
readonly inputs: readonly [];
|
|
497
|
-
}, {
|
|
498
|
-
readonly type: "error";
|
|
499
|
-
readonly name: "MeBearerEndAdjacencyMismatch";
|
|
419
|
+
readonly name: "MalformedSignature";
|
|
500
420
|
readonly inputs: readonly [];
|
|
501
421
|
}, {
|
|
502
422
|
readonly type: "error";
|
|
503
|
-
readonly name: "
|
|
423
|
+
readonly name: "NotInitializing";
|
|
504
424
|
readonly inputs: readonly [];
|
|
505
425
|
}, {
|
|
506
426
|
readonly type: "error";
|
|
507
|
-
readonly name: "
|
|
427
|
+
readonly name: "NothingToWithdraw";
|
|
508
428
|
readonly inputs: readonly [];
|
|
509
429
|
}, {
|
|
510
430
|
readonly type: "error";
|
|
511
|
-
readonly name: "
|
|
512
|
-
readonly inputs: readonly [
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
431
|
+
readonly name: "OutOfOrder";
|
|
432
|
+
readonly inputs: readonly [{
|
|
433
|
+
readonly name: "start";
|
|
434
|
+
readonly type: "uint32";
|
|
435
|
+
readonly internalType: "uint32";
|
|
436
|
+
}, {
|
|
437
|
+
readonly name: "previousEnd";
|
|
438
|
+
readonly type: "uint32";
|
|
439
|
+
readonly internalType: "uint32";
|
|
440
|
+
}];
|
|
517
441
|
}, {
|
|
518
442
|
readonly type: "error";
|
|
519
443
|
readonly name: "OwnableInvalidOwner";
|
|
@@ -532,19 +456,27 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
532
456
|
}];
|
|
533
457
|
}, {
|
|
534
458
|
readonly type: "error";
|
|
535
|
-
readonly name: "
|
|
536
|
-
readonly inputs: readonly [
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
459
|
+
readonly name: "PastTranscriptEnd";
|
|
460
|
+
readonly inputs: readonly [{
|
|
461
|
+
readonly name: "end";
|
|
462
|
+
readonly type: "uint32";
|
|
463
|
+
readonly internalType: "uint32";
|
|
464
|
+
}, {
|
|
465
|
+
readonly name: "length";
|
|
466
|
+
readonly type: "uint32";
|
|
467
|
+
readonly internalType: "uint32";
|
|
468
|
+
}];
|
|
541
469
|
}, {
|
|
542
470
|
readonly type: "error";
|
|
543
|
-
readonly name: "
|
|
544
|
-
readonly inputs: readonly [
|
|
471
|
+
readonly name: "TrailingBytes";
|
|
472
|
+
readonly inputs: readonly [{
|
|
473
|
+
readonly name: "count";
|
|
474
|
+
readonly type: "uint256";
|
|
475
|
+
readonly internalType: "uint256";
|
|
476
|
+
}];
|
|
545
477
|
}, {
|
|
546
478
|
readonly type: "error";
|
|
547
|
-
readonly name: "
|
|
479
|
+
readonly name: "Truncated";
|
|
548
480
|
readonly inputs: readonly [];
|
|
549
481
|
}, {
|
|
550
482
|
readonly type: "error";
|
|
@@ -560,7 +492,39 @@ export declare const xZkVerifierAbi: readonly [{
|
|
|
560
492
|
}];
|
|
561
493
|
}, {
|
|
562
494
|
readonly type: "error";
|
|
563
|
-
readonly name: "
|
|
495
|
+
readonly name: "UntrustedNotary";
|
|
496
|
+
readonly inputs: readonly [{
|
|
497
|
+
readonly name: "recovered";
|
|
498
|
+
readonly type: "address";
|
|
499
|
+
readonly internalType: "address";
|
|
500
|
+
}];
|
|
501
|
+
}, {
|
|
502
|
+
readonly type: "error";
|
|
503
|
+
readonly name: "WithdrawalFailed";
|
|
504
|
+
readonly inputs: readonly [{
|
|
505
|
+
readonly name: "to";
|
|
506
|
+
readonly type: "address";
|
|
507
|
+
readonly internalType: "address";
|
|
508
|
+
}, {
|
|
509
|
+
readonly name: "amount";
|
|
510
|
+
readonly type: "uint256";
|
|
511
|
+
readonly internalType: "uint256";
|
|
512
|
+
}];
|
|
513
|
+
}, {
|
|
514
|
+
readonly type: "error";
|
|
515
|
+
readonly name: "WrongFee";
|
|
516
|
+
readonly inputs: readonly [{
|
|
517
|
+
readonly name: "required";
|
|
518
|
+
readonly type: "uint256";
|
|
519
|
+
readonly internalType: "uint256";
|
|
520
|
+
}, {
|
|
521
|
+
readonly name: "provided";
|
|
522
|
+
readonly type: "uint256";
|
|
523
|
+
readonly internalType: "uint256";
|
|
524
|
+
}];
|
|
525
|
+
}, {
|
|
526
|
+
readonly type: "error";
|
|
527
|
+
readonly name: "ZeroAddress";
|
|
564
528
|
readonly inputs: readonly [];
|
|
565
529
|
}];
|
|
566
|
-
//# sourceMappingURL=
|
|
530
|
+
//# sourceMappingURL=notaryService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"notaryService.d.ts","sourceRoot":"","sources":["../../src/abis/notaryService.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAirBL,CAAA"}
|