@skalenetwork/privacy-sdk 0.1.0-develop.1 → 0.1.0-develop.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/README.md +60 -8
- package/dist/actions/index.cjs +1678 -1731
- package/dist/actions/index.cjs.map +1 -1
- package/dist/actions/index.d.cts +16 -18
- package/dist/actions/index.d.ts +16 -18
- package/dist/actions/index.js +5 -9
- package/dist/chunk-PMT6KSGL.js +2934 -0
- package/dist/chunk-PMT6KSGL.js.map +1 -0
- package/dist/index.cjs +1692 -1698
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +17 -18
- package/dist/index.js.map +1 -1
- package/dist/types-CPLzL9IK.d.ts +13 -0
- package/dist/types-T84pCSPm.d.cts +13 -0
- package/package.json +6 -9
- package/dist/chunk-D3OIZD5L.js +0 -2953
- package/dist/chunk-D3OIZD5L.js.map +0 -1
- package/dist/types-CBDYydn0.d.cts +0 -60
- package/dist/types-Gn0F4pQf.d.ts +0 -60
package/dist/index.cjs
CHANGED
|
@@ -27,2751 +27,2750 @@ __export(index_exports, {
|
|
|
27
27
|
module.exports = __toCommonJS(index_exports);
|
|
28
28
|
|
|
29
29
|
// src/ConfidentialToken.ts
|
|
30
|
-
var
|
|
30
|
+
var import_viem6 = require("viem");
|
|
31
31
|
var import_bite = require("@skalenetwork/bite");
|
|
32
32
|
|
|
33
33
|
// src/actions/transfers.ts
|
|
34
|
-
var
|
|
34
|
+
var import_viem = require("viem");
|
|
35
35
|
|
|
36
36
|
// src/abi/confidentialWrapper.ts
|
|
37
37
|
var confidentialWrapperAbi = [
|
|
38
38
|
{
|
|
39
|
-
|
|
39
|
+
inputs: [
|
|
40
40
|
{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
internalType: "bool",
|
|
42
|
+
name: "proxyMode",
|
|
43
|
+
type: "bool"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
internalType: "contract IERC20Metadata",
|
|
47
|
+
name: "underlyingToken",
|
|
48
|
+
type: "address"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
internalType: "string",
|
|
52
|
+
name: "version_",
|
|
53
|
+
type: "string"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
internalType: "address",
|
|
57
|
+
name: "initialAuthority",
|
|
58
|
+
type: "address"
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
stateMutability: "nonpayable",
|
|
62
|
+
type: "constructor"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
|
|
65
|
+
inputs: [
|
|
66
66
|
{
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
internalType: "address",
|
|
68
|
+
name: "authority",
|
|
69
|
+
type: "address"
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
name: "AccessManagedInvalidAuthority",
|
|
73
|
+
type: "error"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
|
|
76
|
+
inputs: [
|
|
77
77
|
{
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
internalType: "address",
|
|
79
|
+
name: "caller",
|
|
80
|
+
type: "address"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
internalType: "uint32",
|
|
84
|
+
name: "delay",
|
|
85
|
+
type: "uint32"
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
name: "AccessManagedRequiredDelay",
|
|
89
|
+
type: "error"
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
|
-
|
|
92
|
+
inputs: [
|
|
93
93
|
{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
internalType: "address",
|
|
95
|
+
name: "caller",
|
|
96
|
+
type: "address"
|
|
97
97
|
}
|
|
98
98
|
],
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
name: "AccessManagedUnauthorized",
|
|
100
|
+
type: "error"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
inputs: [],
|
|
104
|
+
name: "AccessViolation",
|
|
105
|
+
type: "error"
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
inputs: [],
|
|
109
|
+
name: "ActionNotRecognized",
|
|
110
|
+
type: "error"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
|
-
|
|
113
|
+
inputs: [
|
|
114
114
|
{
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
internalType: "uint256",
|
|
116
|
+
name: "validBefore",
|
|
117
|
+
type: "uint256"
|
|
118
118
|
}
|
|
119
119
|
],
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
name: "AuthorizationIsExpired",
|
|
121
|
+
type: "error"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
|
|
124
|
+
inputs: [
|
|
125
125
|
{
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
internalType: "uint256",
|
|
127
|
+
name: "validAfter",
|
|
128
|
+
type: "uint256"
|
|
129
129
|
}
|
|
130
130
|
],
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
name: "AuthorizationIsNotYetValid",
|
|
132
|
+
type: "error"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
|
|
135
|
+
inputs: [
|
|
136
136
|
{
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
internalType: "address",
|
|
138
|
+
name: "authorizer",
|
|
139
|
+
type: "address"
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
internalType: "bytes32",
|
|
143
|
+
name: "nonce",
|
|
144
|
+
type: "bytes32"
|
|
145
145
|
}
|
|
146
146
|
],
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
name: "AuthorizationUsedError",
|
|
148
|
+
type: "error"
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
|
-
|
|
151
|
+
inputs: [
|
|
152
152
|
{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
internalType: "uint256",
|
|
154
|
+
name: "errorCode",
|
|
155
|
+
type: "uint256"
|
|
156
156
|
}
|
|
157
157
|
],
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
name: "CTXAbiToRlpConversionFailed",
|
|
159
|
+
type: "error"
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
|
-
|
|
162
|
+
inputs: [
|
|
163
163
|
{
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
internalType: "uint256",
|
|
165
|
+
name: "errorCode",
|
|
166
|
+
type: "uint256"
|
|
167
167
|
}
|
|
168
168
|
],
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
name: "CTXAbiToRlpUnknownError",
|
|
170
|
+
type: "error"
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
|
-
|
|
173
|
+
inputs: [
|
|
174
174
|
{
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
internalType: "uint256",
|
|
176
|
+
name: "errorCode",
|
|
177
|
+
type: "uint256"
|
|
178
178
|
}
|
|
179
179
|
],
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
name: "CTXCountNotVerifyTransaction",
|
|
181
|
+
type: "error"
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
|
-
|
|
184
|
+
inputs: [
|
|
185
185
|
{
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
internalType: "uint256",
|
|
187
|
+
name: "errorCode",
|
|
188
|
+
type: "uint256"
|
|
189
189
|
}
|
|
190
190
|
],
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
name: "CTXDataOffsetOutOfBounds",
|
|
192
|
+
type: "error"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
|
|
195
|
+
inputs: [
|
|
196
196
|
{
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
internalType: "uint256",
|
|
198
|
+
name: "errorCode",
|
|
199
|
+
type: "uint256"
|
|
200
200
|
}
|
|
201
201
|
],
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
name: "CTXDataTooShort",
|
|
203
|
+
type: "error"
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
|
-
|
|
206
|
+
inputs: [
|
|
207
207
|
{
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
internalType: "uint256",
|
|
209
|
+
name: "errorCode",
|
|
210
|
+
type: "uint256"
|
|
211
211
|
}
|
|
212
212
|
],
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
name: "CTXInputTooShort",
|
|
214
|
+
type: "error"
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
|
-
|
|
217
|
+
inputs: [
|
|
218
218
|
{
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
219
|
+
internalType: "uint256",
|
|
220
|
+
name: "errorCode",
|
|
221
|
+
type: "uint256"
|
|
222
222
|
}
|
|
223
223
|
],
|
|
224
|
-
|
|
225
|
-
|
|
224
|
+
name: "CTXInvalidDestination",
|
|
225
|
+
type: "error"
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
|
-
|
|
228
|
+
inputs: [
|
|
229
229
|
{
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
internalType: "uint256",
|
|
231
|
+
name: "errorCode",
|
|
232
|
+
type: "uint256"
|
|
233
233
|
}
|
|
234
234
|
],
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
name: "CTXInvalidGasLimit",
|
|
236
|
+
type: "error"
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
|
|
239
|
+
inputs: [
|
|
240
240
|
{
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
241
|
+
internalType: "uint256",
|
|
242
|
+
name: "errorCode",
|
|
243
|
+
type: "uint256"
|
|
244
244
|
}
|
|
245
245
|
],
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
name: "CTXInvalidSignature",
|
|
247
|
+
type: "error"
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
|
-
|
|
250
|
+
inputs: [
|
|
251
251
|
{
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
internalType: "uint256",
|
|
253
|
+
name: "errorCode",
|
|
254
|
+
type: "uint256"
|
|
255
255
|
}
|
|
256
256
|
],
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
name: "CTXInvalidTransaction",
|
|
258
|
+
type: "error"
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
|
-
|
|
261
|
+
inputs: [
|
|
262
262
|
{
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
internalType: "uint256",
|
|
264
|
+
name: "errorCode",
|
|
265
|
+
type: "uint256"
|
|
266
266
|
}
|
|
267
267
|
],
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
name: "CTXUnknownError",
|
|
269
|
+
type: "error"
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
|
-
|
|
272
|
+
inputs: [
|
|
273
273
|
{
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
274
|
+
internalType: "address",
|
|
275
|
+
name: "caller",
|
|
276
|
+
type: "address"
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
internalType: "address",
|
|
280
|
+
name: "payee",
|
|
281
|
+
type: "address"
|
|
282
282
|
}
|
|
283
283
|
],
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
name: "CallerMustBeThePayee",
|
|
285
|
+
type: "error"
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
|
-
|
|
288
|
+
inputs: [
|
|
289
289
|
{
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
internalType: "uint256",
|
|
291
|
+
name: "errorCode",
|
|
292
|
+
type: "uint256"
|
|
293
293
|
}
|
|
294
294
|
],
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
name: "DataLengthMismatch",
|
|
296
|
+
type: "error"
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
inputs: [],
|
|
300
|
+
name: "DecryptionBadFormat",
|
|
301
|
+
type: "error"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
inputs: [],
|
|
305
|
+
name: "ECDSAInvalidSignature",
|
|
306
|
+
type: "error"
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
|
-
|
|
309
|
+
inputs: [
|
|
310
310
|
{
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
311
|
+
internalType: "uint256",
|
|
312
|
+
name: "length",
|
|
313
|
+
type: "uint256"
|
|
314
314
|
}
|
|
315
315
|
],
|
|
316
|
-
|
|
317
|
-
|
|
316
|
+
name: "ECDSAInvalidSignatureLength",
|
|
317
|
+
type: "error"
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
|
-
|
|
320
|
+
inputs: [
|
|
321
321
|
{
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
322
|
+
internalType: "bytes32",
|
|
323
|
+
name: "s",
|
|
324
|
+
type: "bytes32"
|
|
325
325
|
}
|
|
326
326
|
],
|
|
327
|
-
|
|
328
|
-
|
|
327
|
+
name: "ECDSAInvalidSignatureS",
|
|
328
|
+
type: "error"
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
|
-
|
|
331
|
+
inputs: [
|
|
332
332
|
{
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
333
|
+
internalType: "uint256",
|
|
334
|
+
name: "errorCode",
|
|
335
|
+
type: "uint256"
|
|
336
336
|
}
|
|
337
337
|
],
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
name: "ECIESEncryptionFailed",
|
|
339
|
+
type: "error"
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
|
-
|
|
342
|
+
inputs: [
|
|
343
343
|
{
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
344
|
+
internalType: "uint256",
|
|
345
|
+
name: "errorCode",
|
|
346
|
+
type: "uint256"
|
|
347
347
|
}
|
|
348
348
|
],
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
name: "ECIESInvalidPublicKey",
|
|
350
|
+
type: "error"
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
|
-
|
|
353
|
+
inputs: [
|
|
354
354
|
{
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
355
|
+
internalType: "address",
|
|
356
|
+
name: "spender",
|
|
357
|
+
type: "address"
|
|
358
358
|
},
|
|
359
359
|
{
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
360
|
+
internalType: "uint256",
|
|
361
|
+
name: "allowance",
|
|
362
|
+
type: "uint256"
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
365
|
+
internalType: "uint256",
|
|
366
|
+
name: "needed",
|
|
367
|
+
type: "uint256"
|
|
368
368
|
}
|
|
369
369
|
],
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
name: "ERC20InsufficientAllowance",
|
|
371
|
+
type: "error"
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
|
-
|
|
374
|
+
inputs: [
|
|
375
375
|
{
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
376
|
+
internalType: "address",
|
|
377
|
+
name: "sender",
|
|
378
|
+
type: "address"
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
381
|
+
internalType: "uint256",
|
|
382
|
+
name: "balance",
|
|
383
|
+
type: "uint256"
|
|
384
384
|
},
|
|
385
385
|
{
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
386
|
+
internalType: "uint256",
|
|
387
|
+
name: "needed",
|
|
388
|
+
type: "uint256"
|
|
389
389
|
}
|
|
390
390
|
],
|
|
391
|
-
|
|
392
|
-
|
|
391
|
+
name: "ERC20InsufficientBalance",
|
|
392
|
+
type: "error"
|
|
393
393
|
},
|
|
394
394
|
{
|
|
395
|
-
|
|
395
|
+
inputs: [
|
|
396
396
|
{
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
397
|
+
internalType: "address",
|
|
398
|
+
name: "approver",
|
|
399
|
+
type: "address"
|
|
400
400
|
}
|
|
401
401
|
],
|
|
402
|
-
|
|
403
|
-
|
|
402
|
+
name: "ERC20InvalidApprover",
|
|
403
|
+
type: "error"
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
|
-
|
|
406
|
+
inputs: [
|
|
407
407
|
{
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
408
|
+
internalType: "address",
|
|
409
|
+
name: "receiver",
|
|
410
|
+
type: "address"
|
|
411
411
|
}
|
|
412
412
|
],
|
|
413
|
-
|
|
414
|
-
|
|
413
|
+
name: "ERC20InvalidReceiver",
|
|
414
|
+
type: "error"
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
|
-
|
|
417
|
+
inputs: [
|
|
418
418
|
{
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
419
|
+
internalType: "address",
|
|
420
|
+
name: "sender",
|
|
421
|
+
type: "address"
|
|
422
422
|
}
|
|
423
423
|
],
|
|
424
|
-
|
|
425
|
-
|
|
424
|
+
name: "ERC20InvalidSender",
|
|
425
|
+
type: "error"
|
|
426
426
|
},
|
|
427
427
|
{
|
|
428
|
-
|
|
428
|
+
inputs: [
|
|
429
429
|
{
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
430
|
+
internalType: "address",
|
|
431
|
+
name: "spender",
|
|
432
|
+
type: "address"
|
|
433
433
|
}
|
|
434
434
|
],
|
|
435
|
-
|
|
436
|
-
|
|
435
|
+
name: "ERC20InvalidSpender",
|
|
436
|
+
type: "error"
|
|
437
437
|
},
|
|
438
438
|
{
|
|
439
|
-
|
|
439
|
+
inputs: [
|
|
440
440
|
{
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
441
|
+
internalType: "address",
|
|
442
|
+
name: "token",
|
|
443
|
+
type: "address"
|
|
444
444
|
}
|
|
445
445
|
],
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
name: "ERC20InvalidUnderlying",
|
|
447
|
+
type: "error"
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
|
-
|
|
450
|
+
inputs: [
|
|
451
451
|
{
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
452
|
+
internalType: "uint256",
|
|
453
|
+
name: "deadline",
|
|
454
|
+
type: "uint256"
|
|
455
455
|
}
|
|
456
456
|
],
|
|
457
|
-
|
|
458
|
-
|
|
457
|
+
name: "ERC2612ExpiredSignature",
|
|
458
|
+
type: "error"
|
|
459
459
|
},
|
|
460
460
|
{
|
|
461
|
-
|
|
461
|
+
inputs: [
|
|
462
462
|
{
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
463
|
+
internalType: "address",
|
|
464
|
+
name: "signer",
|
|
465
|
+
type: "address"
|
|
466
466
|
},
|
|
467
467
|
{
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
468
|
+
internalType: "address",
|
|
469
|
+
name: "owner",
|
|
470
|
+
type: "address"
|
|
471
471
|
}
|
|
472
472
|
],
|
|
473
|
-
|
|
474
|
-
|
|
473
|
+
name: "ERC2612InvalidSigner",
|
|
474
|
+
type: "error"
|
|
475
475
|
},
|
|
476
476
|
{
|
|
477
|
-
|
|
477
|
+
inputs: [
|
|
478
478
|
{
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
479
|
+
internalType: "address",
|
|
480
|
+
name: "precompiledContract",
|
|
481
|
+
type: "address"
|
|
482
482
|
}
|
|
483
483
|
],
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
name: "EmptyReturnData",
|
|
485
|
+
type: "error"
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
488
|
+
inputs: [],
|
|
489
|
+
name: "FailedCall",
|
|
490
|
+
type: "error"
|
|
491
491
|
},
|
|
492
492
|
{
|
|
493
|
-
|
|
493
|
+
inputs: [
|
|
494
494
|
{
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
495
|
+
internalType: "address",
|
|
496
|
+
name: "precompiledContract",
|
|
497
|
+
type: "address"
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
500
|
+
internalType: "uint256",
|
|
501
|
+
name: "expected",
|
|
502
|
+
type: "uint256"
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
505
|
+
internalType: "uint256",
|
|
506
|
+
name: "actual",
|
|
507
|
+
type: "uint256"
|
|
508
508
|
}
|
|
509
509
|
],
|
|
510
|
-
|
|
511
|
-
|
|
510
|
+
name: "IncorrectReturnDataLength",
|
|
511
|
+
type: "error"
|
|
512
512
|
},
|
|
513
513
|
{
|
|
514
|
-
|
|
514
|
+
inputs: [
|
|
515
515
|
{
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
516
|
+
internalType: "uint256",
|
|
517
|
+
name: "errorCode",
|
|
518
|
+
type: "uint256"
|
|
519
519
|
}
|
|
520
520
|
],
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
name: "InputNot32ByteAligned",
|
|
522
|
+
type: "error"
|
|
523
523
|
},
|
|
524
524
|
{
|
|
525
|
-
|
|
525
|
+
inputs: [
|
|
526
526
|
{
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
527
|
+
internalType: "uint256",
|
|
528
|
+
name: "errorCode",
|
|
529
|
+
type: "uint256"
|
|
530
530
|
}
|
|
531
531
|
],
|
|
532
|
-
|
|
533
|
-
|
|
532
|
+
name: "InputTooLarge",
|
|
533
|
+
type: "error"
|
|
534
534
|
},
|
|
535
535
|
{
|
|
536
|
-
|
|
536
|
+
inputs: [
|
|
537
537
|
{
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
538
|
+
internalType: "uint256",
|
|
539
|
+
name: "errorCode",
|
|
540
|
+
type: "uint256"
|
|
541
541
|
}
|
|
542
542
|
],
|
|
543
|
-
|
|
544
|
-
|
|
543
|
+
name: "InputTooShort",
|
|
544
|
+
type: "error"
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
|
-
|
|
547
|
+
inputs: [
|
|
548
548
|
{
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
549
|
+
internalType: "uint256",
|
|
550
|
+
name: "balance",
|
|
551
|
+
type: "uint256"
|
|
552
552
|
},
|
|
553
553
|
{
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
554
|
+
internalType: "uint256",
|
|
555
|
+
name: "needed",
|
|
556
|
+
type: "uint256"
|
|
557
557
|
}
|
|
558
558
|
],
|
|
559
|
-
|
|
560
|
-
|
|
559
|
+
name: "InsufficientBalance",
|
|
560
|
+
type: "error"
|
|
561
561
|
},
|
|
562
562
|
{
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
563
|
+
inputs: [],
|
|
564
|
+
name: "InsufficientBalance",
|
|
565
|
+
type: "error"
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
|
-
|
|
568
|
+
inputs: [
|
|
569
569
|
{
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
570
|
+
internalType: "uint256",
|
|
571
|
+
name: "required",
|
|
572
|
+
type: "uint256"
|
|
573
573
|
},
|
|
574
574
|
{
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
575
|
+
internalType: "uint256",
|
|
576
|
+
name: "available",
|
|
577
|
+
type: "uint256"
|
|
578
578
|
}
|
|
579
579
|
],
|
|
580
|
-
|
|
581
|
-
|
|
580
|
+
name: "InsufficientGasToken",
|
|
581
|
+
type: "error"
|
|
582
582
|
},
|
|
583
583
|
{
|
|
584
|
-
|
|
584
|
+
inputs: [
|
|
585
585
|
{
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
586
|
+
internalType: "address",
|
|
587
|
+
name: "account",
|
|
588
|
+
type: "address"
|
|
589
589
|
},
|
|
590
590
|
{
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
591
|
+
internalType: "uint256",
|
|
592
|
+
name: "currentNonce",
|
|
593
|
+
type: "uint256"
|
|
594
594
|
}
|
|
595
595
|
],
|
|
596
|
-
|
|
597
|
-
|
|
596
|
+
name: "InvalidAccountNonce",
|
|
597
|
+
type: "error"
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
|
-
|
|
600
|
+
inputs: [
|
|
601
601
|
{
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
602
|
+
internalType: "uint256",
|
|
603
|
+
name: "errorCode",
|
|
604
|
+
type: "uint256"
|
|
605
605
|
}
|
|
606
606
|
],
|
|
607
|
-
|
|
608
|
-
|
|
607
|
+
name: "InvalidDataOffset",
|
|
608
|
+
type: "error"
|
|
609
609
|
},
|
|
610
610
|
{
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
611
|
+
inputs: [],
|
|
612
|
+
name: "InvalidInitialization",
|
|
613
|
+
type: "error"
|
|
614
614
|
},
|
|
615
615
|
{
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
616
|
+
inputs: [],
|
|
617
|
+
name: "InvalidPublicKey",
|
|
618
|
+
type: "error"
|
|
619
619
|
},
|
|
620
620
|
{
|
|
621
|
-
|
|
621
|
+
inputs: [
|
|
622
622
|
{
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
internalType: "address",
|
|
624
|
+
name: "precompiledContract",
|
|
625
|
+
type: "address"
|
|
626
626
|
},
|
|
627
627
|
{
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
628
|
+
internalType: "uint256",
|
|
629
|
+
name: "expectedMin",
|
|
630
|
+
type: "uint256"
|
|
631
631
|
},
|
|
632
632
|
{
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
633
|
+
internalType: "uint256",
|
|
634
|
+
name: "actual",
|
|
635
|
+
type: "uint256"
|
|
636
636
|
}
|
|
637
637
|
],
|
|
638
|
-
|
|
639
|
-
|
|
638
|
+
name: "InvalidReturnDataSize",
|
|
639
|
+
type: "error"
|
|
640
640
|
},
|
|
641
641
|
{
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
642
|
+
inputs: [],
|
|
643
|
+
name: "InvalidSaltForTransactionValue",
|
|
644
|
+
type: "error"
|
|
645
645
|
},
|
|
646
646
|
{
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
647
|
+
inputs: [],
|
|
648
|
+
name: "InvalidSignature",
|
|
649
|
+
type: "error"
|
|
650
650
|
},
|
|
651
651
|
{
|
|
652
|
-
|
|
652
|
+
inputs: [
|
|
653
653
|
{
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
654
|
+
internalType: "uint256",
|
|
655
|
+
name: "fromTimestamp",
|
|
656
|
+
type: "uint256"
|
|
657
657
|
},
|
|
658
658
|
{
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
659
|
+
internalType: "uint256",
|
|
660
|
+
name: "toTimestamp",
|
|
661
|
+
type: "uint256"
|
|
662
662
|
}
|
|
663
663
|
],
|
|
664
|
-
|
|
665
|
-
|
|
664
|
+
name: "InvalidTimeRange",
|
|
665
|
+
type: "error"
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
|
-
|
|
668
|
+
inputs: [
|
|
669
669
|
{
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
670
|
+
internalType: "uint256",
|
|
671
|
+
name: "transferId",
|
|
672
|
+
type: "uint256"
|
|
673
673
|
}
|
|
674
674
|
],
|
|
675
|
-
|
|
676
|
-
|
|
675
|
+
name: "InvalidTransferId",
|
|
676
|
+
type: "error"
|
|
677
677
|
},
|
|
678
678
|
{
|
|
679
|
-
|
|
679
|
+
inputs: [
|
|
680
680
|
{
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
681
|
+
internalType: "address",
|
|
682
|
+
name: "holder",
|
|
683
|
+
type: "address"
|
|
684
684
|
}
|
|
685
685
|
],
|
|
686
|
-
|
|
687
|
-
|
|
686
|
+
name: "NoViewerRegisteredForHolder",
|
|
687
|
+
type: "error"
|
|
688
688
|
},
|
|
689
689
|
{
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
690
|
+
inputs: [],
|
|
691
|
+
name: "NotInitializing",
|
|
692
|
+
type: "error"
|
|
693
693
|
},
|
|
694
694
|
{
|
|
695
|
-
|
|
695
|
+
inputs: [
|
|
696
696
|
{
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
697
|
+
internalType: "address",
|
|
698
|
+
name: "to",
|
|
699
|
+
type: "address"
|
|
700
700
|
},
|
|
701
701
|
{
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
702
|
+
internalType: "uint256",
|
|
703
|
+
name: "value",
|
|
704
|
+
type: "uint256"
|
|
705
705
|
}
|
|
706
706
|
],
|
|
707
|
-
|
|
708
|
-
|
|
707
|
+
name: "OutdatedMint",
|
|
708
|
+
type: "error"
|
|
709
709
|
},
|
|
710
710
|
{
|
|
711
|
-
|
|
711
|
+
inputs: [
|
|
712
712
|
{
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
713
|
+
internalType: "address",
|
|
714
|
+
name: "viewer",
|
|
715
|
+
type: "address"
|
|
716
716
|
}
|
|
717
717
|
],
|
|
718
|
-
|
|
719
|
-
|
|
718
|
+
name: "PublicKeyIsNotRegistered",
|
|
719
|
+
type: "error"
|
|
720
720
|
},
|
|
721
721
|
{
|
|
722
|
-
|
|
722
|
+
inputs: [
|
|
723
723
|
{
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
724
|
+
internalType: "address",
|
|
725
|
+
name: "token",
|
|
726
|
+
type: "address"
|
|
727
727
|
}
|
|
728
728
|
],
|
|
729
|
-
|
|
730
|
-
|
|
729
|
+
name: "SafeERC20FailedOperation",
|
|
730
|
+
type: "error"
|
|
731
731
|
},
|
|
732
732
|
{
|
|
733
|
-
|
|
733
|
+
inputs: [
|
|
734
734
|
{
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
735
|
+
internalType: "uint256",
|
|
736
|
+
name: "errorCode",
|
|
737
|
+
type: "uint256"
|
|
738
738
|
}
|
|
739
739
|
],
|
|
740
|
-
|
|
741
|
-
|
|
740
|
+
name: "TrailingPaddingNotZeros",
|
|
741
|
+
type: "error"
|
|
742
742
|
},
|
|
743
743
|
{
|
|
744
|
-
|
|
744
|
+
inputs: [
|
|
745
745
|
{
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
746
|
+
internalType: "uint256",
|
|
747
|
+
name: "errorCode",
|
|
748
|
+
type: "uint256"
|
|
749
749
|
}
|
|
750
750
|
],
|
|
751
|
-
|
|
752
|
-
|
|
751
|
+
name: "UnknownEncryptionError",
|
|
752
|
+
type: "error"
|
|
753
753
|
},
|
|
754
754
|
{
|
|
755
|
-
|
|
755
|
+
inputs: [
|
|
756
756
|
{
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
757
|
+
internalType: "bytes",
|
|
758
|
+
name: "errorData",
|
|
759
|
+
type: "bytes"
|
|
760
760
|
}
|
|
761
761
|
],
|
|
762
|
-
|
|
763
|
-
|
|
762
|
+
name: "UnknownError",
|
|
763
|
+
type: "error"
|
|
764
764
|
},
|
|
765
765
|
{
|
|
766
|
-
|
|
766
|
+
inputs: [
|
|
767
767
|
{
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
768
|
+
internalType: "address",
|
|
769
|
+
name: "viewer",
|
|
770
|
+
type: "address"
|
|
771
771
|
},
|
|
772
772
|
{
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
773
|
+
internalType: "uint256",
|
|
774
|
+
name: "transferId",
|
|
775
|
+
type: "uint256"
|
|
776
776
|
}
|
|
777
777
|
],
|
|
778
|
-
|
|
779
|
-
|
|
778
|
+
name: "UserIsNotAuthorizedToDecryptTransfer",
|
|
779
|
+
type: "error"
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
782
|
+
inputs: [],
|
|
783
|
+
name: "ValueIsEncrypted",
|
|
784
|
+
type: "error"
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
787
|
+
inputs: [],
|
|
788
|
+
name: "ValueWasNotEncryptedCorrectly",
|
|
789
|
+
type: "error"
|
|
790
790
|
},
|
|
791
791
|
{
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
792
|
+
inputs: [],
|
|
793
|
+
name: "WrongInitializer",
|
|
794
|
+
type: "error"
|
|
795
795
|
},
|
|
796
796
|
{
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
797
|
+
inputs: [],
|
|
798
|
+
name: "WrongPlaintextFormat",
|
|
799
|
+
type: "error"
|
|
800
800
|
},
|
|
801
801
|
{
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
802
|
+
inputs: [],
|
|
803
|
+
name: "ZeroAddress",
|
|
804
|
+
type: "error"
|
|
805
805
|
},
|
|
806
806
|
{
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
807
|
+
inputs: [],
|
|
808
|
+
name: "ZeroValue",
|
|
809
|
+
type: "error"
|
|
810
810
|
},
|
|
811
811
|
{
|
|
812
|
-
|
|
813
|
-
|
|
812
|
+
anonymous: false,
|
|
813
|
+
inputs: [
|
|
814
814
|
{
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
815
|
+
indexed: true,
|
|
816
|
+
internalType: "address",
|
|
817
|
+
name: "owner",
|
|
818
|
+
type: "address"
|
|
819
819
|
},
|
|
820
820
|
{
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
821
|
+
indexed: true,
|
|
822
|
+
internalType: "address",
|
|
823
|
+
name: "spender",
|
|
824
|
+
type: "address"
|
|
825
825
|
},
|
|
826
826
|
{
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
827
|
+
indexed: false,
|
|
828
|
+
internalType: "uint256",
|
|
829
|
+
name: "value",
|
|
830
|
+
type: "uint256"
|
|
831
831
|
}
|
|
832
832
|
],
|
|
833
|
-
|
|
834
|
-
|
|
833
|
+
name: "Approval",
|
|
834
|
+
type: "event"
|
|
835
835
|
},
|
|
836
836
|
{
|
|
837
|
-
|
|
838
|
-
|
|
837
|
+
anonymous: false,
|
|
838
|
+
inputs: [
|
|
839
839
|
{
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
840
|
+
indexed: false,
|
|
841
|
+
internalType: "address",
|
|
842
|
+
name: "authority",
|
|
843
|
+
type: "address"
|
|
844
844
|
}
|
|
845
845
|
],
|
|
846
|
-
|
|
847
|
-
|
|
846
|
+
name: "AuthorityUpdated",
|
|
847
|
+
type: "event"
|
|
848
848
|
},
|
|
849
849
|
{
|
|
850
|
-
|
|
851
|
-
|
|
850
|
+
anonymous: false,
|
|
851
|
+
inputs: [
|
|
852
852
|
{
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
853
|
+
indexed: true,
|
|
854
|
+
internalType: "address",
|
|
855
|
+
name: "authorizer",
|
|
856
|
+
type: "address"
|
|
857
857
|
},
|
|
858
858
|
{
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
859
|
+
indexed: true,
|
|
860
|
+
internalType: "bytes32",
|
|
861
|
+
name: "nonce",
|
|
862
|
+
type: "bytes32"
|
|
863
863
|
}
|
|
864
864
|
],
|
|
865
|
-
|
|
866
|
-
|
|
865
|
+
name: "AuthorizationCanceled",
|
|
866
|
+
type: "event"
|
|
867
867
|
},
|
|
868
868
|
{
|
|
869
|
-
|
|
870
|
-
|
|
869
|
+
anonymous: false,
|
|
870
|
+
inputs: [
|
|
871
871
|
{
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
872
|
+
indexed: true,
|
|
873
|
+
internalType: "address",
|
|
874
|
+
name: "authorizer",
|
|
875
|
+
type: "address"
|
|
876
876
|
},
|
|
877
877
|
{
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
878
|
+
indexed: true,
|
|
879
|
+
internalType: "bytes32",
|
|
880
|
+
name: "nonce",
|
|
881
|
+
type: "bytes32"
|
|
882
882
|
}
|
|
883
883
|
],
|
|
884
|
-
|
|
885
|
-
|
|
884
|
+
name: "AuthorizationUsed",
|
|
885
|
+
type: "event"
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
|
-
|
|
889
|
-
|
|
888
|
+
anonymous: false,
|
|
889
|
+
inputs: [
|
|
890
890
|
{
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
891
|
+
indexed: true,
|
|
892
|
+
internalType: "address",
|
|
893
|
+
name: "callbackSender",
|
|
894
|
+
type: "address"
|
|
895
895
|
}
|
|
896
896
|
],
|
|
897
|
-
|
|
898
|
-
|
|
897
|
+
name: "CTXResubmitted",
|
|
898
|
+
type: "event"
|
|
899
899
|
},
|
|
900
900
|
{
|
|
901
|
-
|
|
902
|
-
|
|
901
|
+
anonymous: false,
|
|
902
|
+
inputs: [
|
|
903
903
|
{
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
904
|
+
indexed: true,
|
|
905
|
+
internalType: "address",
|
|
906
|
+
name: "callbackSender",
|
|
907
|
+
type: "address"
|
|
908
908
|
}
|
|
909
909
|
],
|
|
910
|
-
|
|
911
|
-
|
|
910
|
+
name: "CTXSubmitted",
|
|
911
|
+
type: "event"
|
|
912
912
|
},
|
|
913
913
|
{
|
|
914
|
-
|
|
915
|
-
|
|
914
|
+
anonymous: false,
|
|
915
|
+
inputs: [
|
|
916
916
|
{
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
917
|
+
indexed: true,
|
|
918
|
+
internalType: "uint256",
|
|
919
|
+
name: "newFee",
|
|
920
|
+
type: "uint256"
|
|
921
921
|
}
|
|
922
922
|
],
|
|
923
|
-
|
|
924
|
-
|
|
923
|
+
name: "CallbackFeeChanged",
|
|
924
|
+
type: "event"
|
|
925
925
|
},
|
|
926
926
|
{
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
927
|
+
anonymous: false,
|
|
928
|
+
inputs: [],
|
|
929
|
+
name: "EIP712DomainChanged",
|
|
930
|
+
type: "event"
|
|
931
931
|
},
|
|
932
932
|
{
|
|
933
|
-
|
|
934
|
-
|
|
933
|
+
anonymous: false,
|
|
934
|
+
inputs: [
|
|
935
935
|
{
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
936
|
+
indexed: true,
|
|
937
|
+
internalType: "address",
|
|
938
|
+
name: "newAddress",
|
|
939
|
+
type: "address"
|
|
940
940
|
}
|
|
941
941
|
],
|
|
942
|
-
|
|
943
|
-
|
|
942
|
+
name: "EncryptECIESAddressChanged",
|
|
943
|
+
type: "event"
|
|
944
944
|
},
|
|
945
945
|
{
|
|
946
|
-
|
|
947
|
-
|
|
946
|
+
anonymous: false,
|
|
947
|
+
inputs: [
|
|
948
948
|
{
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
949
|
+
indexed: true,
|
|
950
|
+
internalType: "address",
|
|
951
|
+
name: "newAddress",
|
|
952
|
+
type: "address"
|
|
953
953
|
}
|
|
954
954
|
],
|
|
955
|
-
|
|
956
|
-
|
|
955
|
+
name: "EncryptTEAddressChanged",
|
|
956
|
+
type: "event"
|
|
957
957
|
},
|
|
958
958
|
{
|
|
959
|
-
|
|
960
|
-
|
|
959
|
+
anonymous: false,
|
|
960
|
+
inputs: [
|
|
961
961
|
{
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
962
|
+
indexed: true,
|
|
963
|
+
internalType: "uint256",
|
|
964
|
+
name: "transferId",
|
|
965
|
+
type: "uint256"
|
|
966
966
|
},
|
|
967
967
|
{
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
968
|
+
indexed: true,
|
|
969
|
+
internalType: "address",
|
|
970
|
+
name: "from",
|
|
971
|
+
type: "address"
|
|
972
972
|
},
|
|
973
973
|
{
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
974
|
+
indexed: true,
|
|
975
|
+
internalType: "address",
|
|
976
|
+
name: "to",
|
|
977
|
+
type: "address"
|
|
978
978
|
},
|
|
979
979
|
{
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
980
|
+
indexed: false,
|
|
981
|
+
internalType: "bytes",
|
|
982
|
+
name: "encryptedData",
|
|
983
|
+
type: "bytes"
|
|
984
984
|
}
|
|
985
985
|
],
|
|
986
|
-
|
|
987
|
-
|
|
986
|
+
name: "EncryptedTransfer",
|
|
987
|
+
type: "event"
|
|
988
988
|
},
|
|
989
989
|
{
|
|
990
|
-
|
|
991
|
-
|
|
990
|
+
anonymous: false,
|
|
991
|
+
inputs: [
|
|
992
992
|
{
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
993
|
+
indexed: true,
|
|
994
|
+
internalType: "address",
|
|
995
|
+
name: "sender",
|
|
996
|
+
type: "address"
|
|
997
997
|
},
|
|
998
998
|
{
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
999
|
+
indexed: true,
|
|
1000
|
+
internalType: "address",
|
|
1001
|
+
name: "receiver",
|
|
1002
|
+
type: "address"
|
|
1003
1003
|
},
|
|
1004
1004
|
{
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1005
|
+
indexed: true,
|
|
1006
|
+
internalType: "uint256",
|
|
1007
|
+
name: "value",
|
|
1008
|
+
type: "uint256"
|
|
1009
1009
|
}
|
|
1010
1010
|
],
|
|
1011
|
-
|
|
1012
|
-
|
|
1011
|
+
name: "GasTokenBalanceToppedUp",
|
|
1012
|
+
type: "event"
|
|
1013
1013
|
},
|
|
1014
1014
|
{
|
|
1015
|
-
|
|
1016
|
-
|
|
1015
|
+
anonymous: false,
|
|
1016
|
+
inputs: [
|
|
1017
1017
|
{
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1018
|
+
indexed: true,
|
|
1019
|
+
internalType: "address",
|
|
1020
|
+
name: "receiver",
|
|
1021
|
+
type: "address"
|
|
1022
1022
|
},
|
|
1023
1023
|
{
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1024
|
+
indexed: true,
|
|
1025
|
+
internalType: "uint256",
|
|
1026
|
+
name: "value",
|
|
1027
|
+
type: "uint256"
|
|
1028
1028
|
}
|
|
1029
1029
|
],
|
|
1030
|
-
|
|
1031
|
-
|
|
1030
|
+
name: "GasTokenWithdrawn",
|
|
1031
|
+
type: "event"
|
|
1032
1032
|
},
|
|
1033
1033
|
{
|
|
1034
|
-
|
|
1035
|
-
|
|
1034
|
+
anonymous: false,
|
|
1035
|
+
inputs: [
|
|
1036
1036
|
{
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1037
|
+
indexed: true,
|
|
1038
|
+
internalType: "address",
|
|
1039
|
+
name: "holder",
|
|
1040
|
+
type: "address"
|
|
1041
1041
|
},
|
|
1042
1042
|
{
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1043
|
+
indexed: true,
|
|
1044
|
+
internalType: "address",
|
|
1045
|
+
name: "viewer",
|
|
1046
|
+
type: "address"
|
|
1047
1047
|
}
|
|
1048
1048
|
],
|
|
1049
|
-
|
|
1050
|
-
|
|
1049
|
+
name: "HistoricViewPermissionsRevoked",
|
|
1050
|
+
type: "event"
|
|
1051
1051
|
},
|
|
1052
1052
|
{
|
|
1053
|
-
|
|
1054
|
-
|
|
1053
|
+
anonymous: false,
|
|
1054
|
+
inputs: [
|
|
1055
1055
|
{
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1056
|
+
indexed: true,
|
|
1057
|
+
internalType: "address",
|
|
1058
|
+
name: "holder",
|
|
1059
|
+
type: "address"
|
|
1060
1060
|
},
|
|
1061
1061
|
{
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1062
|
+
indexed: true,
|
|
1063
|
+
internalType: "address",
|
|
1064
|
+
name: "viewer",
|
|
1065
|
+
type: "address"
|
|
1066
1066
|
},
|
|
1067
1067
|
{
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1068
|
+
indexed: false,
|
|
1069
|
+
internalType: "uint256",
|
|
1070
|
+
name: "fromTimestamp",
|
|
1071
|
+
type: "uint256"
|
|
1072
1072
|
},
|
|
1073
1073
|
{
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1074
|
+
indexed: false,
|
|
1075
|
+
internalType: "uint256",
|
|
1076
|
+
name: "toTimestamp",
|
|
1077
|
+
type: "uint256"
|
|
1078
1078
|
}
|
|
1079
1079
|
],
|
|
1080
|
-
|
|
1081
|
-
|
|
1080
|
+
name: "HistoricViewTimeRangeAuthorized",
|
|
1081
|
+
type: "event"
|
|
1082
1082
|
},
|
|
1083
1083
|
{
|
|
1084
|
-
|
|
1085
|
-
|
|
1084
|
+
anonymous: false,
|
|
1085
|
+
inputs: [
|
|
1086
1086
|
{
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1087
|
+
indexed: true,
|
|
1088
|
+
internalType: "address",
|
|
1089
|
+
name: "holder",
|
|
1090
|
+
type: "address"
|
|
1091
1091
|
},
|
|
1092
1092
|
{
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1093
|
+
indexed: true,
|
|
1094
|
+
internalType: "address",
|
|
1095
|
+
name: "viewer",
|
|
1096
|
+
type: "address"
|
|
1097
1097
|
}
|
|
1098
1098
|
],
|
|
1099
|
-
|
|
1100
|
-
|
|
1099
|
+
name: "HistoricViewTimeRangeRevoked",
|
|
1100
|
+
type: "event"
|
|
1101
1101
|
},
|
|
1102
1102
|
{
|
|
1103
|
-
|
|
1104
|
-
|
|
1103
|
+
anonymous: false,
|
|
1104
|
+
inputs: [
|
|
1105
1105
|
{
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1106
|
+
indexed: true,
|
|
1107
|
+
internalType: "address",
|
|
1108
|
+
name: "holder",
|
|
1109
|
+
type: "address"
|
|
1110
1110
|
},
|
|
1111
1111
|
{
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1112
|
+
indexed: true,
|
|
1113
|
+
internalType: "address",
|
|
1114
|
+
name: "viewer",
|
|
1115
|
+
type: "address"
|
|
1116
1116
|
},
|
|
1117
1117
|
{
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1118
|
+
indexed: true,
|
|
1119
|
+
internalType: "uint256",
|
|
1120
|
+
name: "transferId",
|
|
1121
|
+
type: "uint256"
|
|
1122
1122
|
}
|
|
1123
1123
|
],
|
|
1124
|
-
|
|
1125
|
-
|
|
1124
|
+
name: "HistoricViewTransferIdAuthorized",
|
|
1125
|
+
type: "event"
|
|
1126
1126
|
},
|
|
1127
1127
|
{
|
|
1128
|
-
|
|
1129
|
-
|
|
1128
|
+
anonymous: false,
|
|
1129
|
+
inputs: [
|
|
1130
1130
|
{
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1131
|
+
indexed: true,
|
|
1132
|
+
internalType: "address",
|
|
1133
|
+
name: "holder",
|
|
1134
|
+
type: "address"
|
|
1135
1135
|
},
|
|
1136
1136
|
{
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1137
|
+
indexed: true,
|
|
1138
|
+
internalType: "address",
|
|
1139
|
+
name: "viewer",
|
|
1140
|
+
type: "address"
|
|
1141
1141
|
},
|
|
1142
1142
|
{
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1143
|
+
indexed: true,
|
|
1144
|
+
internalType: "uint256",
|
|
1145
|
+
name: "transferId",
|
|
1146
|
+
type: "uint256"
|
|
1147
1147
|
}
|
|
1148
1148
|
],
|
|
1149
|
-
|
|
1150
|
-
|
|
1149
|
+
name: "HistoricViewTransferIdRevoked",
|
|
1150
|
+
type: "event"
|
|
1151
1151
|
},
|
|
1152
1152
|
{
|
|
1153
|
-
|
|
1154
|
-
|
|
1153
|
+
anonymous: false,
|
|
1154
|
+
inputs: [
|
|
1155
1155
|
{
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1156
|
+
indexed: false,
|
|
1157
|
+
internalType: "uint64",
|
|
1158
|
+
name: "version",
|
|
1159
|
+
type: "uint64"
|
|
1160
1160
|
}
|
|
1161
1161
|
],
|
|
1162
|
-
|
|
1163
|
-
|
|
1162
|
+
name: "Initialized",
|
|
1163
|
+
type: "event"
|
|
1164
1164
|
},
|
|
1165
1165
|
{
|
|
1166
|
-
|
|
1167
|
-
|
|
1166
|
+
anonymous: false,
|
|
1167
|
+
inputs: [
|
|
1168
1168
|
{
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1169
|
+
indexed: true,
|
|
1170
|
+
internalType: "address",
|
|
1171
|
+
name: "viewer",
|
|
1172
|
+
type: "address"
|
|
1173
1173
|
}
|
|
1174
1174
|
],
|
|
1175
|
-
|
|
1176
|
-
|
|
1175
|
+
name: "PublicKeyRegistered",
|
|
1176
|
+
type: "event"
|
|
1177
1177
|
},
|
|
1178
1178
|
{
|
|
1179
|
-
|
|
1180
|
-
|
|
1179
|
+
anonymous: false,
|
|
1180
|
+
inputs: [
|
|
1181
1181
|
{
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1182
|
+
indexed: true,
|
|
1183
|
+
internalType: "address",
|
|
1184
|
+
name: "viewer",
|
|
1185
|
+
type: "address"
|
|
1186
1186
|
},
|
|
1187
1187
|
{
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1188
|
+
indexed: true,
|
|
1189
|
+
internalType: "address",
|
|
1190
|
+
name: "from",
|
|
1191
|
+
type: "address"
|
|
1192
1192
|
},
|
|
1193
1193
|
{
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1194
|
+
indexed: true,
|
|
1195
|
+
internalType: "address",
|
|
1196
|
+
name: "to",
|
|
1197
|
+
type: "address"
|
|
1198
1198
|
},
|
|
1199
1199
|
{
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1200
|
+
indexed: false,
|
|
1201
|
+
internalType: "bytes",
|
|
1202
|
+
name: "encryptedTransfer",
|
|
1203
|
+
type: "bytes"
|
|
1204
1204
|
}
|
|
1205
1205
|
],
|
|
1206
|
-
|
|
1207
|
-
|
|
1206
|
+
name: "ReEncryptedTransfer",
|
|
1207
|
+
type: "event"
|
|
1208
1208
|
},
|
|
1209
1209
|
{
|
|
1210
|
-
|
|
1211
|
-
|
|
1210
|
+
anonymous: false,
|
|
1211
|
+
inputs: [
|
|
1212
1212
|
{
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1213
|
+
indexed: true,
|
|
1214
|
+
internalType: "address",
|
|
1215
|
+
name: "newAddress",
|
|
1216
|
+
type: "address"
|
|
1217
1217
|
}
|
|
1218
1218
|
],
|
|
1219
|
-
|
|
1220
|
-
|
|
1219
|
+
name: "SubmitCTXAddressChanged",
|
|
1220
|
+
type: "event"
|
|
1221
1221
|
},
|
|
1222
1222
|
{
|
|
1223
|
-
|
|
1224
|
-
|
|
1223
|
+
anonymous: false,
|
|
1224
|
+
inputs: [
|
|
1225
1225
|
{
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1226
|
+
indexed: true,
|
|
1227
|
+
internalType: "address",
|
|
1228
|
+
name: "from",
|
|
1229
|
+
type: "address"
|
|
1230
1230
|
},
|
|
1231
1231
|
{
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1232
|
+
indexed: true,
|
|
1233
|
+
internalType: "address",
|
|
1234
|
+
name: "to",
|
|
1235
|
+
type: "address"
|
|
1236
1236
|
},
|
|
1237
1237
|
{
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1238
|
+
indexed: false,
|
|
1239
|
+
internalType: "uint256",
|
|
1240
|
+
name: "value",
|
|
1241
|
+
type: "uint256"
|
|
1242
1242
|
}
|
|
1243
1243
|
],
|
|
1244
|
-
|
|
1245
|
-
|
|
1244
|
+
name: "Transfer",
|
|
1245
|
+
type: "event"
|
|
1246
1246
|
},
|
|
1247
1247
|
{
|
|
1248
|
-
|
|
1249
|
-
|
|
1248
|
+
anonymous: false,
|
|
1249
|
+
inputs: [
|
|
1250
1250
|
{
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1251
|
+
indexed: true,
|
|
1252
|
+
internalType: "address",
|
|
1253
|
+
name: "from",
|
|
1254
|
+
type: "address"
|
|
1255
1255
|
},
|
|
1256
1256
|
{
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1257
|
+
indexed: true,
|
|
1258
|
+
internalType: "address",
|
|
1259
|
+
name: "to",
|
|
1260
|
+
type: "address"
|
|
1261
1261
|
}
|
|
1262
1262
|
],
|
|
1263
|
-
|
|
1264
|
-
|
|
1263
|
+
name: "Transfer",
|
|
1264
|
+
type: "event"
|
|
1265
1265
|
},
|
|
1266
1266
|
{
|
|
1267
|
-
|
|
1268
|
-
|
|
1267
|
+
anonymous: false,
|
|
1268
|
+
inputs: [
|
|
1269
1269
|
{
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1270
|
+
indexed: true,
|
|
1271
|
+
internalType: "address",
|
|
1272
|
+
name: "from",
|
|
1273
|
+
type: "address"
|
|
1274
1274
|
},
|
|
1275
1275
|
{
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1276
|
+
indexed: true,
|
|
1277
|
+
internalType: "address",
|
|
1278
|
+
name: "to",
|
|
1279
|
+
type: "address"
|
|
1280
1280
|
},
|
|
1281
1281
|
{
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1282
|
+
indexed: true,
|
|
1283
|
+
internalType: "uint256",
|
|
1284
|
+
name: "transferId",
|
|
1285
|
+
type: "uint256"
|
|
1286
1286
|
},
|
|
1287
1287
|
{
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1288
|
+
indexed: false,
|
|
1289
|
+
internalType: "bytes",
|
|
1290
|
+
name: "encryptedValue",
|
|
1291
|
+
type: "bytes"
|
|
1292
1292
|
}
|
|
1293
1293
|
],
|
|
1294
|
-
|
|
1295
|
-
|
|
1294
|
+
name: "TransferValueEncryptedForRecipient",
|
|
1295
|
+
type: "event"
|
|
1296
1296
|
},
|
|
1297
1297
|
{
|
|
1298
|
-
|
|
1299
|
-
|
|
1298
|
+
anonymous: false,
|
|
1299
|
+
inputs: [
|
|
1300
1300
|
{
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1301
|
+
indexed: true,
|
|
1302
|
+
internalType: "address",
|
|
1303
|
+
name: "from",
|
|
1304
|
+
type: "address"
|
|
1305
1305
|
},
|
|
1306
1306
|
{
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1307
|
+
indexed: true,
|
|
1308
|
+
internalType: "address",
|
|
1309
|
+
name: "to",
|
|
1310
|
+
type: "address"
|
|
1311
1311
|
},
|
|
1312
1312
|
{
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1313
|
+
indexed: true,
|
|
1314
|
+
internalType: "uint256",
|
|
1315
|
+
name: "transferId",
|
|
1316
|
+
type: "uint256"
|
|
1317
1317
|
},
|
|
1318
1318
|
{
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1319
|
+
indexed: false,
|
|
1320
|
+
internalType: "bytes",
|
|
1321
|
+
name: "encryptedValue",
|
|
1322
|
+
type: "bytes"
|
|
1323
1323
|
}
|
|
1324
1324
|
],
|
|
1325
|
-
|
|
1326
|
-
|
|
1325
|
+
name: "TransferValueEncryptedForSender",
|
|
1326
|
+
type: "event"
|
|
1327
1327
|
},
|
|
1328
1328
|
{
|
|
1329
|
-
|
|
1330
|
-
|
|
1329
|
+
anonymous: false,
|
|
1330
|
+
inputs: [
|
|
1331
1331
|
{
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1332
|
+
indexed: true,
|
|
1333
|
+
internalType: "address",
|
|
1334
|
+
name: "holder",
|
|
1335
|
+
type: "address"
|
|
1336
1336
|
},
|
|
1337
1337
|
{
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1338
|
+
indexed: true,
|
|
1339
|
+
internalType: "address",
|
|
1340
|
+
name: "newViewer",
|
|
1341
|
+
type: "address"
|
|
1342
1342
|
}
|
|
1343
1343
|
],
|
|
1344
|
-
|
|
1345
|
-
|
|
1344
|
+
name: "ViewerChanged",
|
|
1345
|
+
type: "event"
|
|
1346
1346
|
},
|
|
1347
1347
|
{
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1348
|
+
inputs: [],
|
|
1349
|
+
name: "CANCEL_AUTHORIZATION_TYPEHASH",
|
|
1350
|
+
outputs: [
|
|
1351
1351
|
{
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1352
|
+
internalType: "bytes32",
|
|
1353
|
+
name: "",
|
|
1354
|
+
type: "bytes32"
|
|
1355
1355
|
}
|
|
1356
1356
|
],
|
|
1357
|
-
|
|
1358
|
-
|
|
1357
|
+
stateMutability: "view",
|
|
1358
|
+
type: "function"
|
|
1359
1359
|
},
|
|
1360
1360
|
{
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1361
|
+
inputs: [],
|
|
1362
|
+
name: "DOMAIN_SEPARATOR",
|
|
1363
|
+
outputs: [
|
|
1364
1364
|
{
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1365
|
+
internalType: "bytes32",
|
|
1366
|
+
name: "",
|
|
1367
|
+
type: "bytes32"
|
|
1368
1368
|
}
|
|
1369
1369
|
],
|
|
1370
|
-
|
|
1371
|
-
|
|
1370
|
+
stateMutability: "view",
|
|
1371
|
+
type: "function"
|
|
1372
1372
|
},
|
|
1373
1373
|
{
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1374
|
+
inputs: [],
|
|
1375
|
+
name: "ENCRYPTED_RECEIVE_WITH_AUTHORIZATION_TYPEHASH",
|
|
1376
|
+
outputs: [
|
|
1377
1377
|
{
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1378
|
+
internalType: "bytes32",
|
|
1379
|
+
name: "",
|
|
1380
|
+
type: "bytes32"
|
|
1381
1381
|
}
|
|
1382
1382
|
],
|
|
1383
|
-
|
|
1384
|
-
|
|
1383
|
+
stateMutability: "view",
|
|
1384
|
+
type: "function"
|
|
1385
1385
|
},
|
|
1386
1386
|
{
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1387
|
+
inputs: [],
|
|
1388
|
+
name: "ENCRYPTED_TRANSFER_WITH_AUTHORIZATION_TYPEHASH",
|
|
1389
|
+
outputs: [
|
|
1390
1390
|
{
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1391
|
+
internalType: "bytes32",
|
|
1392
|
+
name: "",
|
|
1393
|
+
type: "bytes32"
|
|
1394
1394
|
}
|
|
1395
1395
|
],
|
|
1396
|
-
|
|
1397
|
-
|
|
1396
|
+
stateMutability: "view",
|
|
1397
|
+
type: "function"
|
|
1398
1398
|
},
|
|
1399
1399
|
{
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1400
|
+
inputs: [],
|
|
1401
|
+
name: "RECEIVE_WITH_AUTHORIZATION_TYPEHASH",
|
|
1402
|
+
outputs: [
|
|
1403
1403
|
{
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1404
|
+
internalType: "bytes32",
|
|
1405
|
+
name: "",
|
|
1406
|
+
type: "bytes32"
|
|
1407
1407
|
}
|
|
1408
1408
|
],
|
|
1409
|
-
|
|
1410
|
-
|
|
1409
|
+
stateMutability: "view",
|
|
1410
|
+
type: "function"
|
|
1411
1411
|
},
|
|
1412
1412
|
{
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1413
|
+
inputs: [],
|
|
1414
|
+
name: "TRANSFER_WITH_AUTHORIZATION_TYPEHASH",
|
|
1415
|
+
outputs: [
|
|
1416
1416
|
{
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1417
|
+
internalType: "bytes32",
|
|
1418
|
+
name: "",
|
|
1419
|
+
type: "bytes32"
|
|
1420
1420
|
}
|
|
1421
1421
|
],
|
|
1422
|
-
|
|
1423
|
-
|
|
1422
|
+
stateMutability: "view",
|
|
1423
|
+
type: "function"
|
|
1424
1424
|
},
|
|
1425
1425
|
{
|
|
1426
|
-
|
|
1426
|
+
inputs: [
|
|
1427
1427
|
{
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1428
|
+
internalType: "address",
|
|
1429
|
+
name: "owner",
|
|
1430
|
+
type: "address"
|
|
1431
1431
|
},
|
|
1432
1432
|
{
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1433
|
+
internalType: "address",
|
|
1434
|
+
name: "spender",
|
|
1435
|
+
type: "address"
|
|
1436
1436
|
}
|
|
1437
1437
|
],
|
|
1438
|
-
|
|
1439
|
-
|
|
1438
|
+
name: "allowance",
|
|
1439
|
+
outputs: [
|
|
1440
1440
|
{
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1441
|
+
internalType: "uint256",
|
|
1442
|
+
name: "",
|
|
1443
|
+
type: "uint256"
|
|
1444
1444
|
}
|
|
1445
1445
|
],
|
|
1446
|
-
|
|
1447
|
-
|
|
1446
|
+
stateMutability: "view",
|
|
1447
|
+
type: "function"
|
|
1448
1448
|
},
|
|
1449
1449
|
{
|
|
1450
|
-
|
|
1450
|
+
inputs: [
|
|
1451
1451
|
{
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1452
|
+
internalType: "address",
|
|
1453
|
+
name: "spender",
|
|
1454
|
+
type: "address"
|
|
1455
1455
|
},
|
|
1456
1456
|
{
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1457
|
+
internalType: "uint256",
|
|
1458
|
+
name: "value",
|
|
1459
|
+
type: "uint256"
|
|
1460
1460
|
}
|
|
1461
1461
|
],
|
|
1462
|
-
|
|
1463
|
-
|
|
1462
|
+
name: "approve",
|
|
1463
|
+
outputs: [
|
|
1464
1464
|
{
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1465
|
+
internalType: "bool",
|
|
1466
|
+
name: "",
|
|
1467
|
+
type: "bool"
|
|
1468
1468
|
}
|
|
1469
1469
|
],
|
|
1470
|
-
|
|
1471
|
-
|
|
1470
|
+
stateMutability: "nonpayable",
|
|
1471
|
+
type: "function"
|
|
1472
1472
|
},
|
|
1473
1473
|
{
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1474
|
+
inputs: [],
|
|
1475
|
+
name: "authority",
|
|
1476
|
+
outputs: [
|
|
1477
1477
|
{
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1478
|
+
internalType: "address",
|
|
1479
|
+
name: "",
|
|
1480
|
+
type: "address"
|
|
1481
1481
|
}
|
|
1482
1482
|
],
|
|
1483
|
-
|
|
1484
|
-
|
|
1483
|
+
stateMutability: "view",
|
|
1484
|
+
type: "function"
|
|
1485
1485
|
},
|
|
1486
1486
|
{
|
|
1487
|
-
|
|
1487
|
+
inputs: [
|
|
1488
1488
|
{
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1489
|
+
internalType: "address",
|
|
1490
|
+
name: "authorizer",
|
|
1491
|
+
type: "address"
|
|
1492
1492
|
},
|
|
1493
1493
|
{
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1494
|
+
internalType: "bytes32",
|
|
1495
|
+
name: "nonce",
|
|
1496
|
+
type: "bytes32"
|
|
1497
1497
|
}
|
|
1498
1498
|
],
|
|
1499
|
-
|
|
1500
|
-
|
|
1499
|
+
name: "authorizationState",
|
|
1500
|
+
outputs: [
|
|
1501
1501
|
{
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1502
|
+
internalType: "bool",
|
|
1503
|
+
name: "used",
|
|
1504
|
+
type: "bool"
|
|
1505
1505
|
}
|
|
1506
1506
|
],
|
|
1507
|
-
|
|
1508
|
-
|
|
1507
|
+
stateMutability: "view",
|
|
1508
|
+
type: "function"
|
|
1509
1509
|
},
|
|
1510
1510
|
{
|
|
1511
|
-
|
|
1511
|
+
inputs: [
|
|
1512
1512
|
{
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1513
|
+
internalType: "address",
|
|
1514
|
+
name: "viewer",
|
|
1515
|
+
type: "address"
|
|
1516
1516
|
},
|
|
1517
1517
|
{
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1518
|
+
internalType: "uint256",
|
|
1519
|
+
name: "fromTimestamp",
|
|
1520
|
+
type: "uint256"
|
|
1521
1521
|
},
|
|
1522
1522
|
{
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1523
|
+
internalType: "uint256",
|
|
1524
|
+
name: "toTimestamp",
|
|
1525
|
+
type: "uint256"
|
|
1526
1526
|
}
|
|
1527
1527
|
],
|
|
1528
|
-
|
|
1529
|
-
|
|
1528
|
+
name: "authorizeHistoricViewTimeRange",
|
|
1529
|
+
outputs: [
|
|
1530
1530
|
{
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1531
|
+
internalType: "bool",
|
|
1532
|
+
name: "success",
|
|
1533
|
+
type: "bool"
|
|
1534
1534
|
}
|
|
1535
1535
|
],
|
|
1536
|
-
|
|
1537
|
-
|
|
1536
|
+
stateMutability: "nonpayable",
|
|
1537
|
+
type: "function"
|
|
1538
1538
|
},
|
|
1539
1539
|
{
|
|
1540
|
-
|
|
1540
|
+
inputs: [
|
|
1541
1541
|
{
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1542
|
+
internalType: "address",
|
|
1543
|
+
name: "viewer",
|
|
1544
|
+
type: "address"
|
|
1545
1545
|
},
|
|
1546
1546
|
{
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1547
|
+
internalType: "uint256",
|
|
1548
|
+
name: "transferId",
|
|
1549
|
+
type: "uint256"
|
|
1550
1550
|
}
|
|
1551
1551
|
],
|
|
1552
|
-
|
|
1553
|
-
|
|
1552
|
+
name: "authorizeHistoricViewTransferId",
|
|
1553
|
+
outputs: [
|
|
1554
1554
|
{
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1555
|
+
internalType: "bool",
|
|
1556
|
+
name: "success",
|
|
1557
|
+
type: "bool"
|
|
1558
1558
|
}
|
|
1559
1559
|
],
|
|
1560
|
-
|
|
1561
|
-
|
|
1560
|
+
stateMutability: "nonpayable",
|
|
1561
|
+
type: "function"
|
|
1562
1562
|
},
|
|
1563
1563
|
{
|
|
1564
|
-
|
|
1564
|
+
inputs: [
|
|
1565
1565
|
{
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1566
|
+
internalType: "address",
|
|
1567
|
+
name: "account",
|
|
1568
|
+
type: "address"
|
|
1569
1569
|
}
|
|
1570
1570
|
],
|
|
1571
|
-
|
|
1572
|
-
|
|
1571
|
+
name: "balanceOf",
|
|
1572
|
+
outputs: [
|
|
1573
1573
|
{
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1574
|
+
internalType: "uint256",
|
|
1575
|
+
name: "balance",
|
|
1576
|
+
type: "uint256"
|
|
1577
1577
|
}
|
|
1578
1578
|
],
|
|
1579
|
-
|
|
1580
|
-
|
|
1579
|
+
stateMutability: "pure",
|
|
1580
|
+
type: "function"
|
|
1581
1581
|
},
|
|
1582
1582
|
{
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1583
|
+
inputs: [],
|
|
1584
|
+
name: "callbackFee",
|
|
1585
|
+
outputs: [
|
|
1586
1586
|
{
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1587
|
+
internalType: "uint256",
|
|
1588
|
+
name: "",
|
|
1589
|
+
type: "uint256"
|
|
1590
1590
|
}
|
|
1591
1591
|
],
|
|
1592
|
-
|
|
1593
|
-
|
|
1592
|
+
stateMutability: "view",
|
|
1593
|
+
type: "function"
|
|
1594
1594
|
},
|
|
1595
1595
|
{
|
|
1596
|
-
|
|
1596
|
+
inputs: [
|
|
1597
1597
|
{
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1598
|
+
internalType: "address",
|
|
1599
|
+
name: "viewer",
|
|
1600
|
+
type: "address"
|
|
1601
1601
|
},
|
|
1602
1602
|
{
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1603
|
+
internalType: "uint256",
|
|
1604
|
+
name: "transferId",
|
|
1605
|
+
type: "uint256"
|
|
1606
1606
|
},
|
|
1607
1607
|
{
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1608
|
+
internalType: "address",
|
|
1609
|
+
name: "from",
|
|
1610
|
+
type: "address"
|
|
1611
1611
|
},
|
|
1612
1612
|
{
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1613
|
+
internalType: "address",
|
|
1614
|
+
name: "to",
|
|
1615
|
+
type: "address"
|
|
1616
1616
|
},
|
|
1617
1617
|
{
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1618
|
+
internalType: "uint256",
|
|
1619
|
+
name: "timestamp",
|
|
1620
|
+
type: "uint256"
|
|
1621
1621
|
}
|
|
1622
1622
|
],
|
|
1623
|
-
|
|
1624
|
-
|
|
1623
|
+
name: "canDecryptHistoricTransfer",
|
|
1624
|
+
outputs: [
|
|
1625
1625
|
{
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1626
|
+
internalType: "bool",
|
|
1627
|
+
name: "canDecrypt",
|
|
1628
|
+
type: "bool"
|
|
1629
1629
|
}
|
|
1630
1630
|
],
|
|
1631
|
-
|
|
1632
|
-
|
|
1631
|
+
stateMutability: "view",
|
|
1632
|
+
type: "function"
|
|
1633
1633
|
},
|
|
1634
1634
|
{
|
|
1635
|
-
|
|
1635
|
+
inputs: [
|
|
1636
1636
|
{
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1637
|
+
internalType: "address",
|
|
1638
|
+
name: "authorizer",
|
|
1639
|
+
type: "address"
|
|
1640
1640
|
},
|
|
1641
1641
|
{
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1642
|
+
internalType: "bytes32",
|
|
1643
|
+
name: "nonce",
|
|
1644
|
+
type: "bytes32"
|
|
1645
1645
|
},
|
|
1646
1646
|
{
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1647
|
+
internalType: "uint8",
|
|
1648
|
+
name: "v",
|
|
1649
|
+
type: "uint8"
|
|
1650
1650
|
},
|
|
1651
1651
|
{
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1652
|
+
internalType: "bytes32",
|
|
1653
|
+
name: "r",
|
|
1654
|
+
type: "bytes32"
|
|
1655
1655
|
},
|
|
1656
1656
|
{
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1657
|
+
internalType: "bytes32",
|
|
1658
|
+
name: "s",
|
|
1659
|
+
type: "bytes32"
|
|
1660
1660
|
}
|
|
1661
1661
|
],
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1662
|
+
name: "cancelAuthorization",
|
|
1663
|
+
outputs: [],
|
|
1664
|
+
stateMutability: "nonpayable",
|
|
1665
|
+
type: "function"
|
|
1666
1666
|
},
|
|
1667
1667
|
{
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1668
|
+
inputs: [],
|
|
1669
|
+
name: "decimals",
|
|
1670
|
+
outputs: [
|
|
1671
1671
|
{
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1672
|
+
internalType: "uint8",
|
|
1673
|
+
name: "decimalsValue",
|
|
1674
|
+
type: "uint8"
|
|
1675
1675
|
}
|
|
1676
1676
|
],
|
|
1677
|
-
|
|
1678
|
-
|
|
1677
|
+
stateMutability: "view",
|
|
1678
|
+
type: "function"
|
|
1679
1679
|
},
|
|
1680
1680
|
{
|
|
1681
|
-
|
|
1681
|
+
inputs: [
|
|
1682
1682
|
{
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1683
|
+
internalType: "address",
|
|
1684
|
+
name: "account",
|
|
1685
|
+
type: "address"
|
|
1686
1686
|
},
|
|
1687
1687
|
{
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1688
|
+
internalType: "uint256",
|
|
1689
|
+
name: "value",
|
|
1690
|
+
type: "uint256"
|
|
1691
1691
|
}
|
|
1692
1692
|
],
|
|
1693
|
-
|
|
1694
|
-
|
|
1693
|
+
name: "depositFor",
|
|
1694
|
+
outputs: [
|
|
1695
1695
|
{
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1696
|
+
internalType: "bool",
|
|
1697
|
+
name: "success",
|
|
1698
|
+
type: "bool"
|
|
1699
1699
|
}
|
|
1700
1700
|
],
|
|
1701
|
-
|
|
1702
|
-
|
|
1701
|
+
stateMutability: "nonpayable",
|
|
1702
|
+
type: "function"
|
|
1703
1703
|
},
|
|
1704
1704
|
{
|
|
1705
|
-
|
|
1705
|
+
inputs: [
|
|
1706
1706
|
{
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1707
|
+
internalType: "address",
|
|
1708
|
+
name: "account",
|
|
1709
|
+
type: "address"
|
|
1710
1710
|
},
|
|
1711
1711
|
{
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1712
|
+
internalType: "uint256",
|
|
1713
|
+
name: "value",
|
|
1714
|
+
type: "uint256"
|
|
1715
1715
|
}
|
|
1716
1716
|
],
|
|
1717
|
-
|
|
1718
|
-
|
|
1717
|
+
name: "depositForWithGasToken",
|
|
1718
|
+
outputs: [
|
|
1719
1719
|
{
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1720
|
+
internalType: "bool",
|
|
1721
|
+
name: "success",
|
|
1722
|
+
type: "bool"
|
|
1723
1723
|
}
|
|
1724
1724
|
],
|
|
1725
|
-
|
|
1726
|
-
|
|
1725
|
+
stateMutability: "payable",
|
|
1726
|
+
type: "function"
|
|
1727
1727
|
},
|
|
1728
1728
|
{
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1729
|
+
inputs: [],
|
|
1730
|
+
name: "eip712Domain",
|
|
1731
|
+
outputs: [
|
|
1732
1732
|
{
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1733
|
+
internalType: "bytes1",
|
|
1734
|
+
name: "fields",
|
|
1735
|
+
type: "bytes1"
|
|
1736
1736
|
},
|
|
1737
1737
|
{
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1738
|
+
internalType: "string",
|
|
1739
|
+
name: "name",
|
|
1740
|
+
type: "string"
|
|
1741
1741
|
},
|
|
1742
1742
|
{
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1743
|
+
internalType: "string",
|
|
1744
|
+
name: "version",
|
|
1745
|
+
type: "string"
|
|
1746
1746
|
},
|
|
1747
1747
|
{
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1748
|
+
internalType: "uint256",
|
|
1749
|
+
name: "chainId",
|
|
1750
|
+
type: "uint256"
|
|
1751
1751
|
},
|
|
1752
1752
|
{
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1753
|
+
internalType: "address",
|
|
1754
|
+
name: "verifyingContract",
|
|
1755
|
+
type: "address"
|
|
1756
1756
|
},
|
|
1757
1757
|
{
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1758
|
+
internalType: "bytes32",
|
|
1759
|
+
name: "salt",
|
|
1760
|
+
type: "bytes32"
|
|
1761
1761
|
},
|
|
1762
1762
|
{
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1763
|
+
internalType: "uint256[]",
|
|
1764
|
+
name: "extensions",
|
|
1765
|
+
type: "uint256[]"
|
|
1766
1766
|
}
|
|
1767
1767
|
],
|
|
1768
|
-
|
|
1769
|
-
|
|
1768
|
+
stateMutability: "view",
|
|
1769
|
+
type: "function"
|
|
1770
1770
|
},
|
|
1771
1771
|
{
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1772
|
+
inputs: [],
|
|
1773
|
+
name: "encryptECIESAddress",
|
|
1774
|
+
outputs: [
|
|
1775
1775
|
{
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1776
|
+
internalType: "address",
|
|
1777
|
+
name: "",
|
|
1778
|
+
type: "address"
|
|
1779
1779
|
}
|
|
1780
1780
|
],
|
|
1781
|
-
|
|
1782
|
-
|
|
1781
|
+
stateMutability: "view",
|
|
1782
|
+
type: "function"
|
|
1783
1783
|
},
|
|
1784
1784
|
{
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1785
|
+
inputs: [],
|
|
1786
|
+
name: "encryptTEAddress",
|
|
1787
|
+
outputs: [
|
|
1788
1788
|
{
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1789
|
+
internalType: "address",
|
|
1790
|
+
name: "",
|
|
1791
|
+
type: "address"
|
|
1792
1792
|
}
|
|
1793
1793
|
],
|
|
1794
|
-
|
|
1795
|
-
|
|
1794
|
+
stateMutability: "view",
|
|
1795
|
+
type: "function"
|
|
1796
1796
|
},
|
|
1797
1797
|
{
|
|
1798
|
-
|
|
1798
|
+
inputs: [
|
|
1799
1799
|
{
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1800
|
+
internalType: "address",
|
|
1801
|
+
name: "holder",
|
|
1802
|
+
type: "address"
|
|
1803
1803
|
},
|
|
1804
1804
|
{
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1805
|
+
internalType: "uint256",
|
|
1806
|
+
name: "value",
|
|
1807
|
+
type: "uint256"
|
|
1808
1808
|
}
|
|
1809
1809
|
],
|
|
1810
|
-
|
|
1811
|
-
|
|
1810
|
+
name: "encryptValue",
|
|
1811
|
+
outputs: [
|
|
1812
1812
|
{
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1813
|
+
internalType: "bytes",
|
|
1814
|
+
name: "encryptedValue",
|
|
1815
|
+
type: "bytes"
|
|
1816
1816
|
}
|
|
1817
1817
|
],
|
|
1818
|
-
|
|
1819
|
-
|
|
1818
|
+
stateMutability: "view",
|
|
1819
|
+
type: "function"
|
|
1820
1820
|
},
|
|
1821
1821
|
{
|
|
1822
|
-
|
|
1822
|
+
inputs: [
|
|
1823
1823
|
{
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1824
|
+
internalType: "address",
|
|
1825
|
+
name: "holder",
|
|
1826
|
+
type: "address"
|
|
1827
1827
|
}
|
|
1828
1828
|
],
|
|
1829
|
-
|
|
1830
|
-
|
|
1829
|
+
name: "encryptedBalanceOf",
|
|
1830
|
+
outputs: [
|
|
1831
1831
|
{
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1832
|
+
internalType: "bytes",
|
|
1833
|
+
name: "encryptedBalance",
|
|
1834
|
+
type: "bytes"
|
|
1835
1835
|
}
|
|
1836
1836
|
],
|
|
1837
|
-
|
|
1838
|
-
|
|
1837
|
+
stateMutability: "view",
|
|
1838
|
+
type: "function"
|
|
1839
1839
|
},
|
|
1840
1840
|
{
|
|
1841
|
-
|
|
1841
|
+
inputs: [
|
|
1842
1842
|
{
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1843
|
+
internalType: "address",
|
|
1844
|
+
name: "from",
|
|
1845
|
+
type: "address"
|
|
1846
1846
|
},
|
|
1847
1847
|
{
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1848
|
+
internalType: "address",
|
|
1849
|
+
name: "to",
|
|
1850
|
+
type: "address"
|
|
1851
1851
|
},
|
|
1852
1852
|
{
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1853
|
+
internalType: "bytes",
|
|
1854
|
+
name: "value",
|
|
1855
|
+
type: "bytes"
|
|
1856
1856
|
},
|
|
1857
1857
|
{
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1858
|
+
internalType: "uint256",
|
|
1859
|
+
name: "validAfter",
|
|
1860
|
+
type: "uint256"
|
|
1861
1861
|
},
|
|
1862
1862
|
{
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1863
|
+
internalType: "uint256",
|
|
1864
|
+
name: "validBefore",
|
|
1865
|
+
type: "uint256"
|
|
1866
1866
|
},
|
|
1867
1867
|
{
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1868
|
+
internalType: "bytes32",
|
|
1869
|
+
name: "nonce",
|
|
1870
|
+
type: "bytes32"
|
|
1871
1871
|
},
|
|
1872
1872
|
{
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1873
|
+
internalType: "uint8",
|
|
1874
|
+
name: "v",
|
|
1875
|
+
type: "uint8"
|
|
1876
1876
|
},
|
|
1877
1877
|
{
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1878
|
+
internalType: "bytes32",
|
|
1879
|
+
name: "r",
|
|
1880
|
+
type: "bytes32"
|
|
1881
1881
|
},
|
|
1882
1882
|
{
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1883
|
+
internalType: "bytes32",
|
|
1884
|
+
name: "s",
|
|
1885
|
+
type: "bytes32"
|
|
1886
1886
|
}
|
|
1887
1887
|
],
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1888
|
+
name: "encryptedReceiveWithAuthorization",
|
|
1889
|
+
outputs: [],
|
|
1890
|
+
stateMutability: "payable",
|
|
1891
|
+
type: "function"
|
|
1892
1892
|
},
|
|
1893
1893
|
{
|
|
1894
|
-
|
|
1894
|
+
inputs: [
|
|
1895
1895
|
{
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1896
|
+
internalType: "address",
|
|
1897
|
+
name: "to",
|
|
1898
|
+
type: "address"
|
|
1899
1899
|
},
|
|
1900
1900
|
{
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1901
|
+
internalType: "bytes",
|
|
1902
|
+
name: "value",
|
|
1903
|
+
type: "bytes"
|
|
1904
1904
|
}
|
|
1905
1905
|
],
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1906
|
+
name: "encryptedTransfer",
|
|
1907
|
+
outputs: [],
|
|
1908
|
+
stateMutability: "payable",
|
|
1909
|
+
type: "function"
|
|
1910
1910
|
},
|
|
1911
1911
|
{
|
|
1912
|
-
|
|
1912
|
+
inputs: [
|
|
1913
1913
|
{
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1914
|
+
internalType: "address",
|
|
1915
|
+
name: "from",
|
|
1916
|
+
type: "address"
|
|
1917
1917
|
},
|
|
1918
1918
|
{
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1919
|
+
internalType: "address",
|
|
1920
|
+
name: "to",
|
|
1921
|
+
type: "address"
|
|
1922
1922
|
},
|
|
1923
1923
|
{
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1924
|
+
internalType: "bytes",
|
|
1925
|
+
name: "value",
|
|
1926
|
+
type: "bytes"
|
|
1927
1927
|
}
|
|
1928
1928
|
],
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1929
|
+
name: "encryptedTransferFrom",
|
|
1930
|
+
outputs: [],
|
|
1931
|
+
stateMutability: "payable",
|
|
1932
|
+
type: "function"
|
|
1933
1933
|
},
|
|
1934
1934
|
{
|
|
1935
|
-
|
|
1935
|
+
inputs: [
|
|
1936
1936
|
{
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1937
|
+
internalType: "address",
|
|
1938
|
+
name: "from",
|
|
1939
|
+
type: "address"
|
|
1940
1940
|
},
|
|
1941
1941
|
{
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1942
|
+
internalType: "address",
|
|
1943
|
+
name: "to",
|
|
1944
|
+
type: "address"
|
|
1945
1945
|
},
|
|
1946
1946
|
{
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1947
|
+
internalType: "bytes",
|
|
1948
|
+
name: "value",
|
|
1949
|
+
type: "bytes"
|
|
1950
1950
|
},
|
|
1951
1951
|
{
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1952
|
+
internalType: "uint256",
|
|
1953
|
+
name: "validAfter",
|
|
1954
|
+
type: "uint256"
|
|
1955
1955
|
},
|
|
1956
1956
|
{
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1957
|
+
internalType: "uint256",
|
|
1958
|
+
name: "validBefore",
|
|
1959
|
+
type: "uint256"
|
|
1960
1960
|
},
|
|
1961
1961
|
{
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1962
|
+
internalType: "bytes32",
|
|
1963
|
+
name: "nonce",
|
|
1964
|
+
type: "bytes32"
|
|
1965
1965
|
},
|
|
1966
1966
|
{
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1967
|
+
internalType: "uint8",
|
|
1968
|
+
name: "v",
|
|
1969
|
+
type: "uint8"
|
|
1970
1970
|
},
|
|
1971
1971
|
{
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1972
|
+
internalType: "bytes32",
|
|
1973
|
+
name: "r",
|
|
1974
|
+
type: "bytes32"
|
|
1975
1975
|
},
|
|
1976
1976
|
{
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1977
|
+
internalType: "bytes32",
|
|
1978
|
+
name: "s",
|
|
1979
|
+
type: "bytes32"
|
|
1980
1980
|
}
|
|
1981
1981
|
],
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1982
|
+
name: "encryptedTransferWithAuthorization",
|
|
1983
|
+
outputs: [],
|
|
1984
|
+
stateMutability: "payable",
|
|
1985
|
+
type: "function"
|
|
1986
1986
|
},
|
|
1987
1987
|
{
|
|
1988
|
-
|
|
1988
|
+
inputs: [
|
|
1989
1989
|
{
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1990
|
+
internalType: "address",
|
|
1991
|
+
name: "receiver",
|
|
1992
|
+
type: "address"
|
|
1993
1993
|
}
|
|
1994
1994
|
],
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1995
|
+
name: "fundWithGasToken",
|
|
1996
|
+
outputs: [],
|
|
1997
|
+
stateMutability: "payable",
|
|
1998
|
+
type: "function"
|
|
1999
1999
|
},
|
|
2000
2000
|
{
|
|
2001
|
-
|
|
2001
|
+
inputs: [
|
|
2002
2002
|
{
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2003
|
+
internalType: "address",
|
|
2004
|
+
name: "holder",
|
|
2005
|
+
type: "address"
|
|
2006
2006
|
}
|
|
2007
2007
|
],
|
|
2008
|
-
|
|
2009
|
-
|
|
2008
|
+
name: "gasTokenBalanceOf",
|
|
2009
|
+
outputs: [
|
|
2010
2010
|
{
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2011
|
+
internalType: "uint256",
|
|
2012
|
+
name: "balance",
|
|
2013
|
+
type: "uint256"
|
|
2014
2014
|
}
|
|
2015
2015
|
],
|
|
2016
|
-
|
|
2017
|
-
|
|
2016
|
+
stateMutability: "view",
|
|
2017
|
+
type: "function"
|
|
2018
2018
|
},
|
|
2019
2019
|
{
|
|
2020
|
-
|
|
2020
|
+
inputs: [
|
|
2021
2021
|
{
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2022
|
+
internalType: "string",
|
|
2023
|
+
name: "",
|
|
2024
|
+
type: "string"
|
|
2025
2025
|
},
|
|
2026
2026
|
{
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2027
|
+
internalType: "string",
|
|
2028
|
+
name: "",
|
|
2029
|
+
type: "string"
|
|
2030
2030
|
},
|
|
2031
2031
|
{
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2032
|
+
internalType: "string",
|
|
2033
|
+
name: "",
|
|
2034
|
+
type: "string"
|
|
2035
2035
|
},
|
|
2036
2036
|
{
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2037
|
+
internalType: "address",
|
|
2038
|
+
name: "",
|
|
2039
|
+
type: "address"
|
|
2040
2040
|
}
|
|
2041
2041
|
],
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2042
|
+
name: "initialize",
|
|
2043
|
+
outputs: [],
|
|
2044
|
+
stateMutability: "pure",
|
|
2045
|
+
type: "function"
|
|
2046
2046
|
},
|
|
2047
2047
|
{
|
|
2048
|
-
|
|
2048
|
+
inputs: [
|
|
2049
2049
|
{
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2050
|
+
internalType: "contract IERC20Metadata",
|
|
2051
|
+
name: "underlyingToken",
|
|
2052
|
+
type: "address"
|
|
2053
2053
|
},
|
|
2054
2054
|
{
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2055
|
+
internalType: "string",
|
|
2056
|
+
name: "version_",
|
|
2057
|
+
type: "string"
|
|
2058
2058
|
},
|
|
2059
2059
|
{
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2060
|
+
internalType: "address",
|
|
2061
|
+
name: "initialAuthority",
|
|
2062
|
+
type: "address"
|
|
2063
2063
|
}
|
|
2064
2064
|
],
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2065
|
+
name: "initialize",
|
|
2066
|
+
outputs: [],
|
|
2067
|
+
stateMutability: "nonpayable",
|
|
2068
|
+
type: "function"
|
|
2069
2069
|
},
|
|
2070
2070
|
{
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2071
|
+
inputs: [],
|
|
2072
|
+
name: "isConsumingScheduledOp",
|
|
2073
|
+
outputs: [
|
|
2074
2074
|
{
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2075
|
+
internalType: "bytes4",
|
|
2076
|
+
name: "",
|
|
2077
|
+
type: "bytes4"
|
|
2078
2078
|
}
|
|
2079
2079
|
],
|
|
2080
|
-
|
|
2081
|
-
|
|
2080
|
+
stateMutability: "view",
|
|
2081
|
+
type: "function"
|
|
2082
2082
|
},
|
|
2083
2083
|
{
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2084
|
+
inputs: [],
|
|
2085
|
+
name: "name",
|
|
2086
|
+
outputs: [
|
|
2087
2087
|
{
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2088
|
+
internalType: "string",
|
|
2089
|
+
name: "",
|
|
2090
|
+
type: "string"
|
|
2091
2091
|
}
|
|
2092
2092
|
],
|
|
2093
|
-
|
|
2094
|
-
|
|
2093
|
+
stateMutability: "view",
|
|
2094
|
+
type: "function"
|
|
2095
2095
|
},
|
|
2096
2096
|
{
|
|
2097
|
-
|
|
2097
|
+
inputs: [
|
|
2098
2098
|
{
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2099
|
+
internalType: "address",
|
|
2100
|
+
name: "owner",
|
|
2101
|
+
type: "address"
|
|
2102
2102
|
}
|
|
2103
2103
|
],
|
|
2104
|
-
|
|
2105
|
-
|
|
2104
|
+
name: "nonces",
|
|
2105
|
+
outputs: [
|
|
2106
2106
|
{
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2107
|
+
internalType: "uint256",
|
|
2108
|
+
name: "",
|
|
2109
|
+
type: "uint256"
|
|
2110
2110
|
}
|
|
2111
2111
|
],
|
|
2112
|
-
|
|
2113
|
-
|
|
2112
|
+
stateMutability: "view",
|
|
2113
|
+
type: "function"
|
|
2114
2114
|
},
|
|
2115
2115
|
{
|
|
2116
|
-
|
|
2116
|
+
inputs: [
|
|
2117
2117
|
{
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2118
|
+
internalType: "bytes[]",
|
|
2119
|
+
name: "decryptedArguments",
|
|
2120
|
+
type: "bytes[]"
|
|
2121
2121
|
},
|
|
2122
2122
|
{
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2123
|
+
internalType: "bytes[]",
|
|
2124
|
+
name: "plaintextArguments",
|
|
2125
|
+
type: "bytes[]"
|
|
2126
2126
|
}
|
|
2127
2127
|
],
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2128
|
+
name: "onDecrypt",
|
|
2129
|
+
outputs: [],
|
|
2130
|
+
stateMutability: "nonpayable",
|
|
2131
|
+
type: "function"
|
|
2132
2132
|
},
|
|
2133
2133
|
{
|
|
2134
|
-
|
|
2134
|
+
inputs: [
|
|
2135
2135
|
{
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2136
|
+
internalType: "address",
|
|
2137
|
+
name: "owner",
|
|
2138
|
+
type: "address"
|
|
2139
2139
|
},
|
|
2140
2140
|
{
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2141
|
+
internalType: "address",
|
|
2142
|
+
name: "spender",
|
|
2143
|
+
type: "address"
|
|
2144
2144
|
},
|
|
2145
2145
|
{
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2146
|
+
internalType: "uint256",
|
|
2147
|
+
name: "value",
|
|
2148
|
+
type: "uint256"
|
|
2149
2149
|
},
|
|
2150
2150
|
{
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2151
|
+
internalType: "uint256",
|
|
2152
|
+
name: "deadline",
|
|
2153
|
+
type: "uint256"
|
|
2154
2154
|
},
|
|
2155
2155
|
{
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2156
|
+
internalType: "uint8",
|
|
2157
|
+
name: "v",
|
|
2158
|
+
type: "uint8"
|
|
2159
2159
|
},
|
|
2160
2160
|
{
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2161
|
+
internalType: "bytes32",
|
|
2162
|
+
name: "r",
|
|
2163
|
+
type: "bytes32"
|
|
2164
2164
|
},
|
|
2165
2165
|
{
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2166
|
+
internalType: "bytes32",
|
|
2167
|
+
name: "s",
|
|
2168
|
+
type: "bytes32"
|
|
2169
2169
|
}
|
|
2170
2170
|
],
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2171
|
+
name: "permit",
|
|
2172
|
+
outputs: [],
|
|
2173
|
+
stateMutability: "nonpayable",
|
|
2174
|
+
type: "function"
|
|
2175
2175
|
},
|
|
2176
2176
|
{
|
|
2177
|
-
|
|
2177
|
+
inputs: [
|
|
2178
2178
|
{
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2179
|
+
internalType: "address",
|
|
2180
|
+
name: "accountAddress",
|
|
2181
|
+
type: "address"
|
|
2182
2182
|
}
|
|
2183
2183
|
],
|
|
2184
|
-
|
|
2185
|
-
|
|
2184
|
+
name: "publicKeys",
|
|
2185
|
+
outputs: [
|
|
2186
2186
|
{
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2187
|
+
internalType: "bytes32",
|
|
2188
|
+
name: "x",
|
|
2189
|
+
type: "bytes32"
|
|
2190
2190
|
},
|
|
2191
2191
|
{
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2192
|
+
internalType: "bytes32",
|
|
2193
|
+
name: "y",
|
|
2194
|
+
type: "bytes32"
|
|
2195
2195
|
}
|
|
2196
2196
|
],
|
|
2197
|
-
|
|
2198
|
-
|
|
2197
|
+
stateMutability: "view",
|
|
2198
|
+
type: "function"
|
|
2199
2199
|
},
|
|
2200
2200
|
{
|
|
2201
|
-
|
|
2201
|
+
inputs: [
|
|
2202
2202
|
{
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2203
|
+
internalType: "address",
|
|
2204
|
+
name: "from",
|
|
2205
|
+
type: "address"
|
|
2206
2206
|
},
|
|
2207
2207
|
{
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2208
|
+
internalType: "address",
|
|
2209
|
+
name: "to",
|
|
2210
|
+
type: "address"
|
|
2211
2211
|
},
|
|
2212
2212
|
{
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2213
|
+
internalType: "uint256",
|
|
2214
|
+
name: "value",
|
|
2215
|
+
type: "uint256"
|
|
2216
2216
|
},
|
|
2217
2217
|
{
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2218
|
+
internalType: "uint256",
|
|
2219
|
+
name: "validAfter",
|
|
2220
|
+
type: "uint256"
|
|
2221
2221
|
},
|
|
2222
2222
|
{
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2223
|
+
internalType: "uint256",
|
|
2224
|
+
name: "validBefore",
|
|
2225
|
+
type: "uint256"
|
|
2226
2226
|
},
|
|
2227
2227
|
{
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2228
|
+
internalType: "bytes32",
|
|
2229
|
+
name: "nonce",
|
|
2230
|
+
type: "bytes32"
|
|
2231
2231
|
},
|
|
2232
2232
|
{
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2233
|
+
internalType: "uint8",
|
|
2234
|
+
name: "v",
|
|
2235
|
+
type: "uint8"
|
|
2236
2236
|
},
|
|
2237
2237
|
{
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2238
|
+
internalType: "bytes32",
|
|
2239
|
+
name: "r",
|
|
2240
|
+
type: "bytes32"
|
|
2241
2241
|
},
|
|
2242
2242
|
{
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2243
|
+
internalType: "bytes32",
|
|
2244
|
+
name: "s",
|
|
2245
|
+
type: "bytes32"
|
|
2246
2246
|
}
|
|
2247
2247
|
],
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2248
|
+
name: "receiveWithAuthorization",
|
|
2249
|
+
outputs: [],
|
|
2250
|
+
stateMutability: "nonpayable",
|
|
2251
|
+
type: "function"
|
|
2252
2252
|
},
|
|
2253
2253
|
{
|
|
2254
|
-
|
|
2254
|
+
inputs: [
|
|
2255
2255
|
{
|
|
2256
|
-
|
|
2256
|
+
components: [
|
|
2257
2257
|
{
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2258
|
+
internalType: "bytes32",
|
|
2259
|
+
name: "x",
|
|
2260
|
+
type: "bytes32"
|
|
2261
2261
|
},
|
|
2262
2262
|
{
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2263
|
+
internalType: "bytes32",
|
|
2264
|
+
name: "y",
|
|
2265
|
+
type: "bytes32"
|
|
2266
2266
|
}
|
|
2267
2267
|
],
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2268
|
+
internalType: "struct PublicKey",
|
|
2269
|
+
name: "publicKey",
|
|
2270
|
+
type: "tuple"
|
|
2271
2271
|
}
|
|
2272
2272
|
],
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2273
|
+
name: "registerPublicKey",
|
|
2274
|
+
outputs: [],
|
|
2275
|
+
stateMutability: "nonpayable",
|
|
2276
|
+
type: "function"
|
|
2277
2277
|
},
|
|
2278
2278
|
{
|
|
2279
|
-
|
|
2279
|
+
inputs: [
|
|
2280
2280
|
{
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2281
|
+
internalType: "address",
|
|
2282
|
+
name: "account",
|
|
2283
|
+
type: "address"
|
|
2284
2284
|
},
|
|
2285
2285
|
{
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2286
|
+
internalType: "uint256",
|
|
2287
|
+
name: "value",
|
|
2288
|
+
type: "uint256"
|
|
2289
2289
|
}
|
|
2290
2290
|
],
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2291
|
+
name: "releaseTo",
|
|
2292
|
+
outputs: [],
|
|
2293
|
+
stateMutability: "nonpayable",
|
|
2294
|
+
type: "function"
|
|
2295
2295
|
},
|
|
2296
2296
|
{
|
|
2297
|
-
|
|
2297
|
+
inputs: [
|
|
2298
2298
|
{
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2299
|
+
internalType: "address",
|
|
2300
|
+
name: "viewer",
|
|
2301
|
+
type: "address"
|
|
2302
2302
|
}
|
|
2303
2303
|
],
|
|
2304
|
-
|
|
2305
|
-
|
|
2304
|
+
name: "removeHistoricViewAuth",
|
|
2305
|
+
outputs: [
|
|
2306
2306
|
{
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2307
|
+
internalType: "bool",
|
|
2308
|
+
name: "success",
|
|
2309
|
+
type: "bool"
|
|
2310
2310
|
}
|
|
2311
2311
|
],
|
|
2312
|
-
|
|
2313
|
-
|
|
2312
|
+
stateMutability: "nonpayable",
|
|
2313
|
+
type: "function"
|
|
2314
2314
|
},
|
|
2315
2315
|
{
|
|
2316
|
-
|
|
2316
|
+
inputs: [
|
|
2317
2317
|
{
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2318
|
+
internalType: "address",
|
|
2319
|
+
name: "viewer",
|
|
2320
|
+
type: "address"
|
|
2321
2321
|
}
|
|
2322
2322
|
],
|
|
2323
|
-
|
|
2324
|
-
|
|
2323
|
+
name: "removeHistoricViewTimeRange",
|
|
2324
|
+
outputs: [
|
|
2325
2325
|
{
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2326
|
+
internalType: "bool",
|
|
2327
|
+
name: "success",
|
|
2328
|
+
type: "bool"
|
|
2329
2329
|
}
|
|
2330
2330
|
],
|
|
2331
|
-
|
|
2332
|
-
|
|
2331
|
+
stateMutability: "nonpayable",
|
|
2332
|
+
type: "function"
|
|
2333
2333
|
},
|
|
2334
2334
|
{
|
|
2335
|
-
|
|
2335
|
+
inputs: [
|
|
2336
2336
|
{
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2337
|
+
internalType: "address",
|
|
2338
|
+
name: "viewer",
|
|
2339
|
+
type: "address"
|
|
2340
2340
|
},
|
|
2341
2341
|
{
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2342
|
+
internalType: "uint256",
|
|
2343
|
+
name: "transferId",
|
|
2344
|
+
type: "uint256"
|
|
2345
2345
|
}
|
|
2346
2346
|
],
|
|
2347
|
-
|
|
2348
|
-
|
|
2347
|
+
name: "removeHistoricViewTransferId",
|
|
2348
|
+
outputs: [
|
|
2349
2349
|
{
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2350
|
+
internalType: "bool",
|
|
2351
|
+
name: "success",
|
|
2352
|
+
type: "bool"
|
|
2353
2353
|
}
|
|
2354
2354
|
],
|
|
2355
|
-
|
|
2356
|
-
|
|
2355
|
+
stateMutability: "nonpayable",
|
|
2356
|
+
type: "function"
|
|
2357
2357
|
},
|
|
2358
2358
|
{
|
|
2359
|
-
|
|
2359
|
+
inputs: [
|
|
2360
2360
|
{
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2361
|
+
internalType: "bytes",
|
|
2362
|
+
name: "encryptedTransferData",
|
|
2363
|
+
type: "bytes"
|
|
2364
2364
|
}
|
|
2365
2365
|
],
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2366
|
+
name: "requestDecryptHistoricTransfer",
|
|
2367
|
+
outputs: [],
|
|
2368
|
+
stateMutability: "payable",
|
|
2369
|
+
type: "function"
|
|
2370
2370
|
},
|
|
2371
2371
|
{
|
|
2372
|
-
|
|
2372
|
+
inputs: [
|
|
2373
2373
|
{
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2374
|
+
internalType: "bytes",
|
|
2375
|
+
name: "encryptedTransferData",
|
|
2376
|
+
type: "bytes"
|
|
2377
2377
|
},
|
|
2378
2378
|
{
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2379
|
+
internalType: "address",
|
|
2380
|
+
name: "historicViewer",
|
|
2381
|
+
type: "address"
|
|
2382
2382
|
}
|
|
2383
2383
|
],
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2384
|
+
name: "requestDecryptHistoricTransferFor",
|
|
2385
|
+
outputs: [],
|
|
2386
|
+
stateMutability: "payable",
|
|
2387
|
+
type: "function"
|
|
2388
2388
|
},
|
|
2389
2389
|
{
|
|
2390
|
-
|
|
2390
|
+
inputs: [
|
|
2391
2391
|
{
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2392
|
+
internalType: "address",
|
|
2393
|
+
name: "holder",
|
|
2394
|
+
type: "address"
|
|
2395
2395
|
}
|
|
2396
2396
|
],
|
|
2397
|
-
|
|
2398
|
-
|
|
2397
|
+
name: "requestedMints",
|
|
2398
|
+
outputs: [
|
|
2399
2399
|
{
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2400
|
+
internalType: "uint256",
|
|
2401
|
+
name: "value",
|
|
2402
|
+
type: "uint256"
|
|
2403
2403
|
}
|
|
2404
2404
|
],
|
|
2405
|
-
|
|
2406
|
-
|
|
2405
|
+
stateMutability: "view",
|
|
2406
|
+
type: "function"
|
|
2407
2407
|
},
|
|
2408
2408
|
{
|
|
2409
|
-
|
|
2409
|
+
inputs: [
|
|
2410
2410
|
{
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2411
|
+
internalType: "uint256",
|
|
2412
|
+
name: "value",
|
|
2413
|
+
type: "uint256"
|
|
2414
2414
|
},
|
|
2415
2415
|
{
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2416
|
+
internalType: "address",
|
|
2417
|
+
name: "receiver",
|
|
2418
|
+
type: "address"
|
|
2419
2419
|
}
|
|
2420
2420
|
],
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2421
|
+
name: "retrieveGasToken",
|
|
2422
|
+
outputs: [],
|
|
2423
|
+
stateMutability: "nonpayable",
|
|
2424
|
+
type: "function"
|
|
2425
2425
|
},
|
|
2426
2426
|
{
|
|
2427
|
-
|
|
2427
|
+
inputs: [
|
|
2428
2428
|
{
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2429
|
+
internalType: "address",
|
|
2430
|
+
name: "newAuthority",
|
|
2431
|
+
type: "address"
|
|
2432
2432
|
}
|
|
2433
2433
|
],
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2434
|
+
name: "setAuthority",
|
|
2435
|
+
outputs: [],
|
|
2436
|
+
stateMutability: "nonpayable",
|
|
2437
|
+
type: "function"
|
|
2438
2438
|
},
|
|
2439
2439
|
{
|
|
2440
|
-
|
|
2440
|
+
inputs: [
|
|
2441
2441
|
{
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2442
|
+
internalType: "uint256",
|
|
2443
|
+
name: "newFee",
|
|
2444
|
+
type: "uint256"
|
|
2445
2445
|
}
|
|
2446
2446
|
],
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2447
|
+
name: "setCallbackFee",
|
|
2448
|
+
outputs: [],
|
|
2449
|
+
stateMutability: "nonpayable",
|
|
2450
|
+
type: "function"
|
|
2451
2451
|
},
|
|
2452
2452
|
{
|
|
2453
|
-
|
|
2453
|
+
inputs: [
|
|
2454
2454
|
{
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2455
|
+
internalType: "address",
|
|
2456
|
+
name: "newAddress",
|
|
2457
|
+
type: "address"
|
|
2458
2458
|
}
|
|
2459
2459
|
],
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2460
|
+
name: "setEncryptECIESAddress",
|
|
2461
|
+
outputs: [],
|
|
2462
|
+
stateMutability: "nonpayable",
|
|
2463
|
+
type: "function"
|
|
2464
2464
|
},
|
|
2465
2465
|
{
|
|
2466
|
-
|
|
2466
|
+
inputs: [
|
|
2467
2467
|
{
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2468
|
+
internalType: "address",
|
|
2469
|
+
name: "newAddress",
|
|
2470
|
+
type: "address"
|
|
2471
2471
|
}
|
|
2472
2472
|
],
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2473
|
+
name: "setEncryptTEAddress",
|
|
2474
|
+
outputs: [],
|
|
2475
|
+
stateMutability: "nonpayable",
|
|
2476
|
+
type: "function"
|
|
2477
2477
|
},
|
|
2478
2478
|
{
|
|
2479
|
-
|
|
2479
|
+
inputs: [
|
|
2480
2480
|
{
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2481
|
+
internalType: "address",
|
|
2482
|
+
name: "newAddress",
|
|
2483
|
+
type: "address"
|
|
2484
2484
|
}
|
|
2485
2485
|
],
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2486
|
+
name: "setSubmitCTXAddress",
|
|
2487
|
+
outputs: [],
|
|
2488
|
+
stateMutability: "nonpayable",
|
|
2489
|
+
type: "function"
|
|
2490
2490
|
},
|
|
2491
2491
|
{
|
|
2492
|
-
|
|
2492
|
+
inputs: [
|
|
2493
2493
|
{
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2494
|
+
internalType: "address",
|
|
2495
|
+
name: "viewer",
|
|
2496
|
+
type: "address"
|
|
2497
2497
|
}
|
|
2498
2498
|
],
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2499
|
+
name: "setViewerAddress",
|
|
2500
|
+
outputs: [],
|
|
2501
|
+
stateMutability: "payable",
|
|
2502
|
+
type: "function"
|
|
2503
2503
|
},
|
|
2504
2504
|
{
|
|
2505
|
-
|
|
2505
|
+
inputs: [
|
|
2506
2506
|
{
|
|
2507
|
-
|
|
2507
|
+
components: [
|
|
2508
2508
|
{
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2509
|
+
internalType: "bytes32",
|
|
2510
|
+
name: "x",
|
|
2511
|
+
type: "bytes32"
|
|
2512
2512
|
},
|
|
2513
2513
|
{
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2514
|
+
internalType: "bytes32",
|
|
2515
|
+
name: "y",
|
|
2516
|
+
type: "bytes32"
|
|
2517
2517
|
}
|
|
2518
2518
|
],
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2519
|
+
internalType: "struct PublicKey",
|
|
2520
|
+
name: "publicKey",
|
|
2521
|
+
type: "tuple"
|
|
2522
2522
|
}
|
|
2523
2523
|
],
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2524
|
+
name: "setViewerPublicKey",
|
|
2525
|
+
outputs: [],
|
|
2526
|
+
stateMutability: "payable",
|
|
2527
|
+
type: "function"
|
|
2528
2528
|
},
|
|
2529
2529
|
{
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2530
|
+
inputs: [],
|
|
2531
|
+
name: "submitCTXAddress",
|
|
2532
|
+
outputs: [
|
|
2533
2533
|
{
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2534
|
+
internalType: "address",
|
|
2535
|
+
name: "",
|
|
2536
|
+
type: "address"
|
|
2537
2537
|
}
|
|
2538
2538
|
],
|
|
2539
|
-
|
|
2540
|
-
|
|
2539
|
+
stateMutability: "view",
|
|
2540
|
+
type: "function"
|
|
2541
2541
|
},
|
|
2542
2542
|
{
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2543
|
+
inputs: [],
|
|
2544
|
+
name: "symbol",
|
|
2545
|
+
outputs: [
|
|
2546
2546
|
{
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2547
|
+
internalType: "string",
|
|
2548
|
+
name: "",
|
|
2549
|
+
type: "string"
|
|
2550
2550
|
}
|
|
2551
2551
|
],
|
|
2552
|
-
|
|
2553
|
-
|
|
2552
|
+
stateMutability: "view",
|
|
2553
|
+
type: "function"
|
|
2554
2554
|
},
|
|
2555
2555
|
{
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2556
|
+
inputs: [],
|
|
2557
|
+
name: "totalSupply",
|
|
2558
|
+
outputs: [
|
|
2559
2559
|
{
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2560
|
+
internalType: "uint256",
|
|
2561
|
+
name: "supply",
|
|
2562
|
+
type: "uint256"
|
|
2563
2563
|
}
|
|
2564
2564
|
],
|
|
2565
|
-
|
|
2566
|
-
|
|
2565
|
+
stateMutability: "view",
|
|
2566
|
+
type: "function"
|
|
2567
2567
|
},
|
|
2568
2568
|
{
|
|
2569
|
-
|
|
2569
|
+
inputs: [
|
|
2570
2570
|
{
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2571
|
+
internalType: "address",
|
|
2572
|
+
name: "to",
|
|
2573
|
+
type: "address"
|
|
2574
2574
|
},
|
|
2575
2575
|
{
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2576
|
+
internalType: "uint256",
|
|
2577
|
+
name: "value",
|
|
2578
|
+
type: "uint256"
|
|
2579
2579
|
}
|
|
2580
2580
|
],
|
|
2581
|
-
|
|
2582
|
-
|
|
2581
|
+
name: "transfer",
|
|
2582
|
+
outputs: [
|
|
2583
2583
|
{
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2584
|
+
internalType: "bool",
|
|
2585
|
+
name: "",
|
|
2586
|
+
type: "bool"
|
|
2587
2587
|
}
|
|
2588
2588
|
],
|
|
2589
|
-
|
|
2590
|
-
|
|
2589
|
+
stateMutability: "nonpayable",
|
|
2590
|
+
type: "function"
|
|
2591
2591
|
},
|
|
2592
2592
|
{
|
|
2593
|
-
|
|
2593
|
+
inputs: [
|
|
2594
2594
|
{
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2595
|
+
internalType: "address",
|
|
2596
|
+
name: "from",
|
|
2597
|
+
type: "address"
|
|
2598
2598
|
},
|
|
2599
2599
|
{
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2600
|
+
internalType: "address",
|
|
2601
|
+
name: "to",
|
|
2602
|
+
type: "address"
|
|
2603
2603
|
},
|
|
2604
2604
|
{
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2605
|
+
internalType: "uint256",
|
|
2606
|
+
name: "value",
|
|
2607
|
+
type: "uint256"
|
|
2608
2608
|
}
|
|
2609
2609
|
],
|
|
2610
|
-
|
|
2611
|
-
|
|
2610
|
+
name: "transferFrom",
|
|
2611
|
+
outputs: [
|
|
2612
2612
|
{
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2613
|
+
internalType: "bool",
|
|
2614
|
+
name: "result",
|
|
2615
|
+
type: "bool"
|
|
2616
2616
|
}
|
|
2617
2617
|
],
|
|
2618
|
-
|
|
2619
|
-
|
|
2618
|
+
stateMutability: "nonpayable",
|
|
2619
|
+
type: "function"
|
|
2620
2620
|
},
|
|
2621
2621
|
{
|
|
2622
|
-
|
|
2622
|
+
inputs: [
|
|
2623
2623
|
{
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2624
|
+
internalType: "address",
|
|
2625
|
+
name: "from",
|
|
2626
|
+
type: "address"
|
|
2627
2627
|
},
|
|
2628
2628
|
{
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2629
|
+
internalType: "address",
|
|
2630
|
+
name: "to",
|
|
2631
|
+
type: "address"
|
|
2632
2632
|
},
|
|
2633
2633
|
{
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2634
|
+
internalType: "uint256",
|
|
2635
|
+
name: "value",
|
|
2636
|
+
type: "uint256"
|
|
2637
2637
|
},
|
|
2638
2638
|
{
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2639
|
+
internalType: "uint256",
|
|
2640
|
+
name: "validAfter",
|
|
2641
|
+
type: "uint256"
|
|
2642
2642
|
},
|
|
2643
2643
|
{
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2644
|
+
internalType: "uint256",
|
|
2645
|
+
name: "validBefore",
|
|
2646
|
+
type: "uint256"
|
|
2647
2647
|
},
|
|
2648
2648
|
{
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2649
|
+
internalType: "bytes32",
|
|
2650
|
+
name: "nonce",
|
|
2651
|
+
type: "bytes32"
|
|
2652
2652
|
},
|
|
2653
2653
|
{
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2654
|
+
internalType: "uint8",
|
|
2655
|
+
name: "v",
|
|
2656
|
+
type: "uint8"
|
|
2657
2657
|
},
|
|
2658
2658
|
{
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2659
|
+
internalType: "bytes32",
|
|
2660
|
+
name: "r",
|
|
2661
|
+
type: "bytes32"
|
|
2662
2662
|
},
|
|
2663
2663
|
{
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2664
|
+
internalType: "bytes32",
|
|
2665
|
+
name: "s",
|
|
2666
|
+
type: "bytes32"
|
|
2667
2667
|
}
|
|
2668
2668
|
],
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2669
|
+
name: "transferWithAuthorization",
|
|
2670
|
+
outputs: [],
|
|
2671
|
+
stateMutability: "nonpayable",
|
|
2672
|
+
type: "function"
|
|
2673
2673
|
},
|
|
2674
2674
|
{
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2675
|
+
inputs: [],
|
|
2676
|
+
name: "underlying",
|
|
2677
|
+
outputs: [
|
|
2678
2678
|
{
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2679
|
+
internalType: "contract IERC20",
|
|
2680
|
+
name: "",
|
|
2681
|
+
type: "address"
|
|
2682
2682
|
}
|
|
2683
2683
|
],
|
|
2684
|
-
|
|
2685
|
-
|
|
2684
|
+
stateMutability: "view",
|
|
2685
|
+
type: "function"
|
|
2686
2686
|
},
|
|
2687
2687
|
{
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2688
|
+
inputs: [],
|
|
2689
|
+
name: "version",
|
|
2690
|
+
outputs: [
|
|
2691
2691
|
{
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2692
|
+
internalType: "string",
|
|
2693
|
+
name: "",
|
|
2694
|
+
type: "string"
|
|
2695
2695
|
}
|
|
2696
2696
|
],
|
|
2697
|
-
|
|
2698
|
-
|
|
2697
|
+
stateMutability: "view",
|
|
2698
|
+
type: "function"
|
|
2699
2699
|
},
|
|
2700
2700
|
{
|
|
2701
|
-
|
|
2701
|
+
inputs: [
|
|
2702
2702
|
{
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2703
|
+
internalType: "address",
|
|
2704
|
+
name: "holder",
|
|
2705
|
+
type: "address"
|
|
2706
2706
|
}
|
|
2707
2707
|
],
|
|
2708
|
-
|
|
2709
|
-
|
|
2708
|
+
name: "viewerAddresses",
|
|
2709
|
+
outputs: [
|
|
2710
2710
|
{
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2711
|
+
internalType: "address",
|
|
2712
|
+
name: "viewerAddress",
|
|
2713
|
+
type: "address"
|
|
2714
2714
|
}
|
|
2715
2715
|
],
|
|
2716
|
-
|
|
2717
|
-
|
|
2716
|
+
stateMutability: "view",
|
|
2717
|
+
type: "function"
|
|
2718
2718
|
},
|
|
2719
2719
|
{
|
|
2720
|
-
|
|
2720
|
+
inputs: [
|
|
2721
2721
|
{
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2722
|
+
internalType: "address",
|
|
2723
|
+
name: "account",
|
|
2724
|
+
type: "address"
|
|
2725
2725
|
},
|
|
2726
2726
|
{
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2727
|
+
internalType: "uint256",
|
|
2728
|
+
name: "value",
|
|
2729
|
+
type: "uint256"
|
|
2730
2730
|
}
|
|
2731
2731
|
],
|
|
2732
|
-
|
|
2733
|
-
|
|
2732
|
+
name: "withdrawTo",
|
|
2733
|
+
outputs: [
|
|
2734
2734
|
{
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2735
|
+
internalType: "bool",
|
|
2736
|
+
name: "success",
|
|
2737
|
+
type: "bool"
|
|
2738
2738
|
}
|
|
2739
2739
|
],
|
|
2740
|
-
|
|
2741
|
-
|
|
2740
|
+
stateMutability: "nonpayable",
|
|
2741
|
+
type: "function"
|
|
2742
2742
|
},
|
|
2743
2743
|
{
|
|
2744
|
-
|
|
2744
|
+
inputs: [
|
|
2745
2745
|
{
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2746
|
+
internalType: "address",
|
|
2747
|
+
name: "account",
|
|
2748
|
+
type: "address"
|
|
2749
2749
|
},
|
|
2750
2750
|
{
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2751
|
+
internalType: "uint256",
|
|
2752
|
+
name: "value",
|
|
2753
|
+
type: "uint256"
|
|
2754
2754
|
}
|
|
2755
2755
|
],
|
|
2756
|
-
|
|
2757
|
-
|
|
2756
|
+
name: "withdrawToWithGasToken",
|
|
2757
|
+
outputs: [
|
|
2758
2758
|
{
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2759
|
+
internalType: "bool",
|
|
2760
|
+
name: "success",
|
|
2761
|
+
type: "bool"
|
|
2762
2762
|
}
|
|
2763
2763
|
],
|
|
2764
|
-
|
|
2765
|
-
|
|
2764
|
+
stateMutability: "payable",
|
|
2765
|
+
type: "function"
|
|
2766
2766
|
},
|
|
2767
2767
|
{
|
|
2768
|
-
|
|
2769
|
-
|
|
2768
|
+
stateMutability: "payable",
|
|
2769
|
+
type: "receive"
|
|
2770
2770
|
}
|
|
2771
2771
|
];
|
|
2772
2772
|
|
|
2773
2773
|
// src/actions/funding.ts
|
|
2774
|
-
var import_viem = require("viem");
|
|
2775
2774
|
var CTX_RESERVE_THRESHOLD = 1n;
|
|
2776
2775
|
async function getCtxBalance(config) {
|
|
2777
2776
|
return await config.publicClient.readContract({
|
|
@@ -2781,78 +2780,78 @@ async function getCtxBalance(config) {
|
|
|
2781
2780
|
args: [config.signer.address]
|
|
2782
2781
|
});
|
|
2783
2782
|
}
|
|
2784
|
-
async function
|
|
2783
|
+
async function getCtxRawCost(config) {
|
|
2785
2784
|
return await config.publicClient.readContract({
|
|
2786
2785
|
address: config.address,
|
|
2787
2786
|
abi: confidentialWrapperAbi,
|
|
2788
2787
|
functionName: "callbackFee"
|
|
2789
2788
|
});
|
|
2790
2789
|
}
|
|
2791
|
-
async function
|
|
2792
|
-
const [fee, balance] = await Promise.all([
|
|
2790
|
+
async function getCtxOperationCost(config) {
|
|
2791
|
+
const [fee, balance] = await Promise.all([getCtxRawCost(config), getCtxBalance(config)]);
|
|
2793
2792
|
const topUp = CTX_RESERVE_THRESHOLD * fee - balance;
|
|
2794
2793
|
return fee + (topUp > 0n ? topUp : 0n);
|
|
2795
2794
|
}
|
|
2796
2795
|
|
|
2797
2796
|
// src/actions/transfers.ts
|
|
2798
|
-
async function approve(config,
|
|
2799
|
-
const data = (0,
|
|
2797
|
+
async function approve(config, spender, amount) {
|
|
2798
|
+
const data = (0, import_viem.encodeFunctionData)({
|
|
2800
2799
|
abi: confidentialWrapperAbi,
|
|
2801
2800
|
functionName: "approve",
|
|
2802
|
-
args: [
|
|
2801
|
+
args: [spender, amount]
|
|
2803
2802
|
});
|
|
2804
2803
|
return config.signer.sendTransaction({ to: config.address, data });
|
|
2805
2804
|
}
|
|
2806
|
-
async function transfer(config,
|
|
2807
|
-
const value = await
|
|
2808
|
-
const valueHex = (0,
|
|
2805
|
+
async function transfer(config, to, amount) {
|
|
2806
|
+
const value = await getCtxOperationCost(config);
|
|
2807
|
+
const valueHex = (0, import_viem.encodeAbiParameters)(
|
|
2809
2808
|
[{ type: "address" }, { type: "uint256" }],
|
|
2810
|
-
[config.signer.address,
|
|
2809
|
+
[config.signer.address, amount]
|
|
2811
2810
|
);
|
|
2812
2811
|
const encryptedValue = await config.bite.encryptMessageForCTX(valueHex, config.address);
|
|
2813
|
-
const data = (0,
|
|
2812
|
+
const data = (0, import_viem.encodeFunctionData)({
|
|
2814
2813
|
abi: confidentialWrapperAbi,
|
|
2815
2814
|
functionName: "encryptedTransfer",
|
|
2816
|
-
args: [
|
|
2815
|
+
args: [to, encryptedValue]
|
|
2817
2816
|
});
|
|
2818
2817
|
return config.signer.sendTransaction({ to: config.address, data, value });
|
|
2819
2818
|
}
|
|
2820
|
-
async function wrap(config,
|
|
2821
|
-
const value = await
|
|
2822
|
-
const data = (0,
|
|
2819
|
+
async function wrap(config, receiver, amount) {
|
|
2820
|
+
const value = await getCtxOperationCost(config);
|
|
2821
|
+
const data = (0, import_viem.encodeFunctionData)({
|
|
2823
2822
|
abi: confidentialWrapperAbi,
|
|
2824
2823
|
functionName: "depositForWithGasToken",
|
|
2825
|
-
args: [
|
|
2824
|
+
args: [receiver, amount]
|
|
2826
2825
|
});
|
|
2827
2826
|
return config.signer.sendTransaction({ to: config.address, data, value });
|
|
2828
2827
|
}
|
|
2829
|
-
async function unwrap(config,
|
|
2830
|
-
const value = await
|
|
2831
|
-
const data = (0,
|
|
2828
|
+
async function unwrap(config, receiver, amount) {
|
|
2829
|
+
const value = await getCtxOperationCost(config);
|
|
2830
|
+
const data = (0, import_viem.encodeFunctionData)({
|
|
2832
2831
|
abi: confidentialWrapperAbi,
|
|
2833
2832
|
functionName: "withdrawToWithGasToken",
|
|
2834
|
-
args: [
|
|
2833
|
+
args: [receiver, amount]
|
|
2835
2834
|
});
|
|
2836
2835
|
return config.signer.sendTransaction({ to: config.address, data, value });
|
|
2837
2836
|
}
|
|
2838
2837
|
|
|
2839
2838
|
// src/actions/decrypt.ts
|
|
2840
|
-
var
|
|
2839
|
+
var import_viem3 = require("viem");
|
|
2841
2840
|
|
|
2842
2841
|
// src/utils/crypto.ts
|
|
2843
2842
|
var import_secp256k1 = require("@noble/curves/secp256k1");
|
|
2844
2843
|
var import_sha256 = require("@noble/hashes/sha256");
|
|
2845
2844
|
var import_aes = require("@noble/ciphers/aes");
|
|
2846
|
-
var
|
|
2845
|
+
var import_viem2 = require("viem");
|
|
2847
2846
|
function bytesToBigInt(bytes) {
|
|
2848
2847
|
if (bytes.length === 0) {
|
|
2849
2848
|
return 0n;
|
|
2850
2849
|
}
|
|
2851
|
-
const hexValue = (0,
|
|
2850
|
+
const hexValue = (0, import_viem2.bytesToHex)(bytes);
|
|
2852
2851
|
return BigInt(hexValue === "0x" ? "0x0" : hexValue);
|
|
2853
2852
|
}
|
|
2854
2853
|
function decryptEciesPayload(encryptedHex, privateKey) {
|
|
2855
|
-
const payload = (0,
|
|
2854
|
+
const payload = (0, import_viem2.hexToBytes)(encryptedHex);
|
|
2856
2855
|
if (payload.length < 65) {
|
|
2857
2856
|
throw new Error("Encrypted payload is too short.");
|
|
2858
2857
|
}
|
|
@@ -2866,7 +2865,7 @@ function decryptEciesPayload(encryptedHex, privateKey) {
|
|
|
2866
2865
|
throw new Error("Invalid AES-CBC ciphertext length.");
|
|
2867
2866
|
}
|
|
2868
2867
|
const sharedSecret = import_secp256k1.secp256k1.getSharedSecret(
|
|
2869
|
-
(0,
|
|
2868
|
+
(0, import_viem2.hexToBytes)(privateKey),
|
|
2870
2869
|
ephemeralCompressedPublicKey,
|
|
2871
2870
|
true
|
|
2872
2871
|
);
|
|
@@ -2876,7 +2875,7 @@ function decryptEciesPayload(encryptedHex, privateKey) {
|
|
|
2876
2875
|
}
|
|
2877
2876
|
function tryDecodeTransferData(encoded) {
|
|
2878
2877
|
try {
|
|
2879
|
-
const [from, to, value, timestamp, transferId] = (0,
|
|
2878
|
+
const [from, to, value, timestamp, transferId] = (0, import_viem2.decodeAbiParameters)(
|
|
2880
2879
|
[
|
|
2881
2880
|
{ type: "address" },
|
|
2882
2881
|
{ type: "address" },
|
|
@@ -2900,14 +2899,14 @@ async function decryptBalance(encryptedHex, privateKey) {
|
|
|
2900
2899
|
}
|
|
2901
2900
|
async function decryptTransferData(encryptedHex, privateKey) {
|
|
2902
2901
|
const plaintext = decryptEciesPayload(encryptedHex, privateKey);
|
|
2903
|
-
const direct = tryDecodeTransferData((0,
|
|
2902
|
+
const direct = tryDecodeTransferData((0, import_viem2.bytesToHex)(plaintext));
|
|
2904
2903
|
if (direct) {
|
|
2905
2904
|
return direct;
|
|
2906
2905
|
}
|
|
2907
2906
|
const structSizeBytes = 32 * 5;
|
|
2908
2907
|
if (plaintext.length >= structSizeBytes) {
|
|
2909
2908
|
const trailing = plaintext.slice(-structSizeBytes);
|
|
2910
|
-
const trailingDecoded = tryDecodeTransferData((0,
|
|
2909
|
+
const trailingDecoded = tryDecodeTransferData((0, import_viem2.bytesToHex)(trailing));
|
|
2911
2910
|
if (trailingDecoded) {
|
|
2912
2911
|
return trailingDecoded;
|
|
2913
2912
|
}
|
|
@@ -2916,25 +2915,22 @@ async function decryptTransferData(encryptedHex, privateKey) {
|
|
|
2916
2915
|
}
|
|
2917
2916
|
|
|
2918
2917
|
// src/actions/decrypt.ts
|
|
2919
|
-
async function decryptTokenBalance(config,
|
|
2918
|
+
async function decryptTokenBalance(config, viewerKey) {
|
|
2920
2919
|
const raw = await config.publicClient.readContract({
|
|
2921
2920
|
address: config.address,
|
|
2922
2921
|
abi: confidentialWrapperAbi,
|
|
2923
2922
|
functionName: "encryptedBalanceOf",
|
|
2924
2923
|
args: [config.signer.address]
|
|
2925
2924
|
});
|
|
2926
|
-
const encryptedHex = typeof raw === "string" ? raw : (0,
|
|
2927
|
-
return decryptBalance(encryptedHex,
|
|
2928
|
-
}
|
|
2929
|
-
async function decryptHistoricTransferData(params) {
|
|
2930
|
-
return decryptTransferData(params.encryptedData, params.viewerKey);
|
|
2925
|
+
const encryptedHex = typeof raw === "string" ? raw : (0, import_viem3.bytesToHex)(raw);
|
|
2926
|
+
return decryptBalance(encryptedHex, viewerKey);
|
|
2931
2927
|
}
|
|
2932
2928
|
|
|
2933
2929
|
// src/actions/access.ts
|
|
2934
|
-
var
|
|
2930
|
+
var import_viem5 = require("viem");
|
|
2935
2931
|
|
|
2936
2932
|
// src/utils/viewerKey.ts
|
|
2937
|
-
var
|
|
2933
|
+
var import_viem4 = require("viem");
|
|
2938
2934
|
var import_utils = require("viem/utils");
|
|
2939
2935
|
var import_secp256k12 = require("@noble/curves/secp256k1");
|
|
2940
2936
|
function parsePublicKeyCoordinates(publicKey) {
|
|
@@ -2949,43 +2945,43 @@ function parsePublicKeyCoordinates(publicKey) {
|
|
|
2949
2945
|
}
|
|
2950
2946
|
|
|
2951
2947
|
// src/actions/access.ts
|
|
2952
|
-
async function registerViewerKey(config,
|
|
2953
|
-
const { x, y } = parsePublicKeyCoordinates(
|
|
2954
|
-
const data = (0,
|
|
2948
|
+
async function registerViewerKey(config, publicKey) {
|
|
2949
|
+
const { x, y } = parsePublicKeyCoordinates(publicKey);
|
|
2950
|
+
const data = (0, import_viem5.encodeFunctionData)({
|
|
2955
2951
|
abi: confidentialWrapperAbi,
|
|
2956
2952
|
functionName: "setViewerPublicKey",
|
|
2957
2953
|
args: [{ x, y }]
|
|
2958
2954
|
});
|
|
2959
2955
|
return config.signer.sendTransaction({ to: config.address, data });
|
|
2960
2956
|
}
|
|
2961
|
-
async function authorizeHistoricViewForRange(config,
|
|
2962
|
-
const data = (0,
|
|
2957
|
+
async function authorizeHistoricViewForRange(config, address, fromTimestamp, toTimestamp) {
|
|
2958
|
+
const data = (0, import_viem5.encodeFunctionData)({
|
|
2963
2959
|
abi: confidentialWrapperAbi,
|
|
2964
2960
|
functionName: "authorizeHistoricViewTimeRange",
|
|
2965
|
-
args: [
|
|
2961
|
+
args: [address, fromTimestamp, toTimestamp]
|
|
2966
2962
|
});
|
|
2967
2963
|
return config.signer.sendTransaction({ to: config.address, data });
|
|
2968
2964
|
}
|
|
2969
|
-
async function authorizeHistoricViewForTransfer(config,
|
|
2970
|
-
const data = (0,
|
|
2965
|
+
async function authorizeHistoricViewForTransfer(config, address, transferId) {
|
|
2966
|
+
const data = (0, import_viem5.encodeFunctionData)({
|
|
2971
2967
|
abi: confidentialWrapperAbi,
|
|
2972
2968
|
functionName: "authorizeHistoricViewTransferId",
|
|
2973
|
-
args: [
|
|
2969
|
+
args: [address, transferId]
|
|
2974
2970
|
});
|
|
2975
2971
|
return config.signer.sendTransaction({ to: config.address, data });
|
|
2976
2972
|
}
|
|
2977
|
-
async function revokeHistoricView(config,
|
|
2978
|
-
const data = (0,
|
|
2973
|
+
async function revokeHistoricView(config, address) {
|
|
2974
|
+
const data = (0, import_viem5.encodeFunctionData)({
|
|
2979
2975
|
abi: confidentialWrapperAbi,
|
|
2980
2976
|
functionName: "removeHistoricViewAuth",
|
|
2981
|
-
args: [
|
|
2977
|
+
args: [address]
|
|
2982
2978
|
});
|
|
2983
2979
|
return config.signer.sendTransaction({ to: config.address, data });
|
|
2984
2980
|
}
|
|
2985
|
-
async function requestTransferDecryption(config,
|
|
2986
|
-
const value = await
|
|
2987
|
-
const receipt = await config.publicClient.waitForTransactionReceipt({ hash:
|
|
2988
|
-
const events = (0,
|
|
2981
|
+
async function requestTransferDecryption(config, ctxHash) {
|
|
2982
|
+
const value = await getCtxOperationCost(config);
|
|
2983
|
+
const receipt = await config.publicClient.waitForTransactionReceipt({ hash: ctxHash });
|
|
2984
|
+
const events = (0, import_viem5.parseEventLogs)({
|
|
2989
2985
|
abi: confidentialWrapperAbi,
|
|
2990
2986
|
logs: receipt.logs,
|
|
2991
2987
|
eventName: "EncryptedTransfer"
|
|
@@ -3015,7 +3011,7 @@ async function requestTransferDecryption(config, params) {
|
|
|
3015
3011
|
if (!canDecrypt) {
|
|
3016
3012
|
throw new Error("Viewer is not authorized to decrypt this historic transfer.");
|
|
3017
3013
|
}
|
|
3018
|
-
const data = (0,
|
|
3014
|
+
const data = (0, import_viem5.encodeFunctionData)({
|
|
3019
3015
|
abi: confidentialWrapperAbi,
|
|
3020
3016
|
functionName: "requestDecryptHistoricTransferFor",
|
|
3021
3017
|
args: [encryptedData, viewerAddress]
|
|
@@ -3098,7 +3094,7 @@ var ConfidentialToken = class {
|
|
|
3098
3094
|
this.address = config.address;
|
|
3099
3095
|
this.signer = config.signer;
|
|
3100
3096
|
this.viewerPrivateKey = config.viewerPrivateKey;
|
|
3101
|
-
this.client = (0,
|
|
3097
|
+
this.client = (0, import_viem6.createPublicClient)({ transport: (0, import_viem6.http)(config.rpcUrl) });
|
|
3102
3098
|
this.bite = new import_bite.BITE(config.rpcUrl);
|
|
3103
3099
|
}
|
|
3104
3100
|
get actionConfig() {
|
|
@@ -3158,44 +3154,42 @@ var ConfidentialToken = class {
|
|
|
3158
3154
|
if (!this.viewerPrivateKey) {
|
|
3159
3155
|
throw new Error("Viewer key is required to decrypt balance.");
|
|
3160
3156
|
}
|
|
3161
|
-
return decryptTokenBalance(this.actionConfig,
|
|
3157
|
+
return decryptTokenBalance(this.actionConfig, this.viewerPrivateKey);
|
|
3162
3158
|
}
|
|
3163
3159
|
// --- Standard ERC-20 writes ---
|
|
3164
3160
|
async approve(spender, amount) {
|
|
3165
|
-
return approve(this.actionConfig,
|
|
3161
|
+
return approve(this.actionConfig, spender, amount);
|
|
3166
3162
|
}
|
|
3167
3163
|
// --- Privacy-specific writes ---
|
|
3168
3164
|
transfer(to, amount) {
|
|
3169
|
-
return createCtxPromise(
|
|
3170
|
-
transfer(this.actionConfig, { to, amount }),
|
|
3171
|
-
this.client
|
|
3172
|
-
);
|
|
3165
|
+
return createCtxPromise(transfer(this.actionConfig, to, amount), this.client);
|
|
3173
3166
|
}
|
|
3174
3167
|
// --- Viewer key management ---
|
|
3175
3168
|
async registerViewerPublicKey(publicKey) {
|
|
3176
|
-
return registerViewerKey(this.actionConfig,
|
|
3169
|
+
return registerViewerKey(this.actionConfig, publicKey);
|
|
3177
3170
|
}
|
|
3178
3171
|
async authorizeHistoricViewForRange(address, fromTimestamp, toTimestamp) {
|
|
3179
|
-
return authorizeHistoricViewForRange(
|
|
3172
|
+
return authorizeHistoricViewForRange(
|
|
3173
|
+
this.actionConfig,
|
|
3180
3174
|
address,
|
|
3181
3175
|
fromTimestamp,
|
|
3182
3176
|
toTimestamp
|
|
3183
|
-
|
|
3177
|
+
);
|
|
3184
3178
|
}
|
|
3185
3179
|
async authorizeHistoricViewForTransfer(address, transferId) {
|
|
3186
|
-
return authorizeHistoricViewForTransfer(this.actionConfig,
|
|
3180
|
+
return authorizeHistoricViewForTransfer(this.actionConfig, address, transferId);
|
|
3187
3181
|
}
|
|
3188
3182
|
async revokeHistoricView(address) {
|
|
3189
|
-
return revokeHistoricView(this.actionConfig,
|
|
3183
|
+
return revokeHistoricView(this.actionConfig, address);
|
|
3190
3184
|
}
|
|
3191
3185
|
// --- Decrypt / history ---
|
|
3192
3186
|
async requestTransferDecryption(ctxHash) {
|
|
3193
3187
|
if (!this.viewerPrivateKey) {
|
|
3194
3188
|
throw new Error("Viewer key is required to decrypt transfer data.");
|
|
3195
3189
|
}
|
|
3196
|
-
const txHash = await requestTransferDecryption(this.actionConfig,
|
|
3190
|
+
const txHash = await requestTransferDecryption(this.actionConfig, ctxHash);
|
|
3197
3191
|
const { ctxReceipt } = await waitForCtx(txHash, this.client);
|
|
3198
|
-
const events = (0,
|
|
3192
|
+
const events = (0, import_viem6.parseEventLogs)({
|
|
3199
3193
|
abi: confidentialWrapperAbi,
|
|
3200
3194
|
logs: ctxReceipt.logs,
|
|
3201
3195
|
eventName: "ReEncryptedTransfer"
|
|
@@ -3208,7 +3202,7 @@ var ConfidentialToken = class {
|
|
|
3208
3202
|
if (!encryptedData) {
|
|
3209
3203
|
throw new Error("CTX receipt does not contain a ReEncryptedTransfer event.");
|
|
3210
3204
|
}
|
|
3211
|
-
return
|
|
3205
|
+
return decryptTransferData(encryptedData, this.viewerPrivateKey);
|
|
3212
3206
|
}
|
|
3213
3207
|
};
|
|
3214
3208
|
|
|
@@ -3222,10 +3216,10 @@ var ConfidentialWrapper = class extends ConfidentialToken {
|
|
|
3222
3216
|
});
|
|
3223
3217
|
}
|
|
3224
3218
|
wrap(receiver, amount) {
|
|
3225
|
-
return createCtxPromise(wrap(this.actionConfig,
|
|
3219
|
+
return createCtxPromise(wrap(this.actionConfig, receiver, amount), this.client);
|
|
3226
3220
|
}
|
|
3227
3221
|
unwrap(receiver, amount) {
|
|
3228
|
-
return createCtxPromise(unwrap(this.actionConfig,
|
|
3222
|
+
return createCtxPromise(unwrap(this.actionConfig, receiver, amount), this.client);
|
|
3229
3223
|
}
|
|
3230
3224
|
};
|
|
3231
3225
|
// Annotate the CommonJS export names for ESM import in node:
|