tristero 0.1.4__py3-none-any.whl

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.
@@ -0,0 +1,411 @@
1
+ [
2
+ {
3
+ "inputs": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }],
4
+ "name": "AllowanceExpired",
5
+ "type": "error"
6
+ },
7
+ { "inputs": [], "name": "ExcessiveInvalidation", "type": "error" },
8
+ {
9
+ "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }],
10
+ "name": "InsufficientAllowance",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [{ "internalType": "uint256", "name": "maxAmount", "type": "uint256" }],
15
+ "name": "InvalidAmount",
16
+ "type": "error"
17
+ },
18
+ { "inputs": [], "name": "InvalidContractSignature", "type": "error" },
19
+ { "inputs": [], "name": "InvalidNonce", "type": "error" },
20
+ { "inputs": [], "name": "InvalidSignature", "type": "error" },
21
+ { "inputs": [], "name": "InvalidSignatureLength", "type": "error" },
22
+ { "inputs": [], "name": "InvalidSigner", "type": "error" },
23
+ { "inputs": [], "name": "LengthMismatch", "type": "error" },
24
+ {
25
+ "inputs": [{ "internalType": "uint256", "name": "signatureDeadline", "type": "uint256" }],
26
+ "name": "SignatureExpired",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "anonymous": false,
31
+ "inputs": [
32
+ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
33
+ { "indexed": true, "internalType": "address", "name": "token", "type": "address" },
34
+ { "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
35
+ { "indexed": false, "internalType": "uint160", "name": "amount", "type": "uint160" },
36
+ { "indexed": false, "internalType": "uint48", "name": "expiration", "type": "uint48" }
37
+ ],
38
+ "name": "Approval",
39
+ "type": "event"
40
+ },
41
+ {
42
+ "anonymous": false,
43
+ "inputs": [
44
+ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
45
+ { "indexed": false, "internalType": "address", "name": "token", "type": "address" },
46
+ { "indexed": false, "internalType": "address", "name": "spender", "type": "address" }
47
+ ],
48
+ "name": "Lockdown",
49
+ "type": "event"
50
+ },
51
+ {
52
+ "anonymous": false,
53
+ "inputs": [
54
+ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
55
+ { "indexed": true, "internalType": "address", "name": "token", "type": "address" },
56
+ { "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
57
+ { "indexed": false, "internalType": "uint48", "name": "newNonce", "type": "uint48" },
58
+ { "indexed": false, "internalType": "uint48", "name": "oldNonce", "type": "uint48" }
59
+ ],
60
+ "name": "NonceInvalidation",
61
+ "type": "event"
62
+ },
63
+ {
64
+ "anonymous": false,
65
+ "inputs": [
66
+ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
67
+ { "indexed": true, "internalType": "address", "name": "token", "type": "address" },
68
+ { "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
69
+ { "indexed": false, "internalType": "uint160", "name": "amount", "type": "uint160" },
70
+ { "indexed": false, "internalType": "uint48", "name": "expiration", "type": "uint48" },
71
+ { "indexed": false, "internalType": "uint48", "name": "nonce", "type": "uint48" }
72
+ ],
73
+ "name": "Permit",
74
+ "type": "event"
75
+ },
76
+ {
77
+ "anonymous": false,
78
+ "inputs": [
79
+ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
80
+ { "indexed": false, "internalType": "uint256", "name": "word", "type": "uint256" },
81
+ { "indexed": false, "internalType": "uint256", "name": "mask", "type": "uint256" }
82
+ ],
83
+ "name": "UnorderedNonceInvalidation",
84
+ "type": "event"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "DOMAIN_SEPARATOR",
89
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
90
+ "stateMutability": "view",
91
+ "type": "function"
92
+ },
93
+ {
94
+ "inputs": [
95
+ { "internalType": "address", "name": "", "type": "address" },
96
+ { "internalType": "address", "name": "", "type": "address" },
97
+ { "internalType": "address", "name": "", "type": "address" }
98
+ ],
99
+ "name": "allowance",
100
+ "outputs": [
101
+ { "internalType": "uint160", "name": "amount", "type": "uint160" },
102
+ { "internalType": "uint48", "name": "expiration", "type": "uint48" },
103
+ { "internalType": "uint48", "name": "nonce", "type": "uint48" }
104
+ ],
105
+ "stateMutability": "view",
106
+ "type": "function"
107
+ },
108
+ {
109
+ "inputs": [
110
+ { "internalType": "address", "name": "token", "type": "address" },
111
+ { "internalType": "address", "name": "spender", "type": "address" },
112
+ { "internalType": "uint160", "name": "amount", "type": "uint160" },
113
+ { "internalType": "uint48", "name": "expiration", "type": "uint48" }
114
+ ],
115
+ "name": "approve",
116
+ "outputs": [],
117
+ "stateMutability": "nonpayable",
118
+ "type": "function"
119
+ },
120
+ {
121
+ "inputs": [
122
+ { "internalType": "address", "name": "token", "type": "address" },
123
+ { "internalType": "address", "name": "spender", "type": "address" },
124
+ { "internalType": "uint48", "name": "newNonce", "type": "uint48" }
125
+ ],
126
+ "name": "invalidateNonces",
127
+ "outputs": [],
128
+ "stateMutability": "nonpayable",
129
+ "type": "function"
130
+ },
131
+ {
132
+ "inputs": [
133
+ { "internalType": "uint256", "name": "wordPos", "type": "uint256" },
134
+ { "internalType": "uint256", "name": "mask", "type": "uint256" }
135
+ ],
136
+ "name": "invalidateUnorderedNonces",
137
+ "outputs": [],
138
+ "stateMutability": "nonpayable",
139
+ "type": "function"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "components": [
145
+ { "internalType": "address", "name": "token", "type": "address" },
146
+ { "internalType": "address", "name": "spender", "type": "address" }
147
+ ],
148
+ "internalType": "struct IAllowanceTransfer.TokenSpenderPair[]",
149
+ "name": "approvals",
150
+ "type": "tuple[]"
151
+ }
152
+ ],
153
+ "name": "lockdown",
154
+ "outputs": [],
155
+ "stateMutability": "nonpayable",
156
+ "type": "function"
157
+ },
158
+ {
159
+ "inputs": [
160
+ { "internalType": "address", "name": "", "type": "address" },
161
+ { "internalType": "uint256", "name": "", "type": "uint256" }
162
+ ],
163
+ "name": "nonceBitmap",
164
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
165
+ "stateMutability": "view",
166
+ "type": "function"
167
+ },
168
+ {
169
+ "inputs": [
170
+ { "internalType": "address", "name": "owner", "type": "address" },
171
+ {
172
+ "components": [
173
+ {
174
+ "components": [
175
+ { "internalType": "address", "name": "token", "type": "address" },
176
+ { "internalType": "uint160", "name": "amount", "type": "uint160" },
177
+ { "internalType": "uint48", "name": "expiration", "type": "uint48" },
178
+ { "internalType": "uint48", "name": "nonce", "type": "uint48" }
179
+ ],
180
+ "internalType": "struct IAllowanceTransfer.PermitDetails[]",
181
+ "name": "details",
182
+ "type": "tuple[]"
183
+ },
184
+ { "internalType": "address", "name": "spender", "type": "address" },
185
+ { "internalType": "uint256", "name": "sigDeadline", "type": "uint256" }
186
+ ],
187
+ "internalType": "struct IAllowanceTransfer.PermitBatch",
188
+ "name": "permitBatch",
189
+ "type": "tuple"
190
+ },
191
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
192
+ ],
193
+ "name": "permit",
194
+ "outputs": [],
195
+ "stateMutability": "nonpayable",
196
+ "type": "function"
197
+ },
198
+ {
199
+ "inputs": [
200
+ { "internalType": "address", "name": "owner", "type": "address" },
201
+ {
202
+ "components": [
203
+ {
204
+ "components": [
205
+ { "internalType": "address", "name": "token", "type": "address" },
206
+ { "internalType": "uint160", "name": "amount", "type": "uint160" },
207
+ { "internalType": "uint48", "name": "expiration", "type": "uint48" },
208
+ { "internalType": "uint48", "name": "nonce", "type": "uint48" }
209
+ ],
210
+ "internalType": "struct IAllowanceTransfer.PermitDetails",
211
+ "name": "details",
212
+ "type": "tuple"
213
+ },
214
+ { "internalType": "address", "name": "spender", "type": "address" },
215
+ { "internalType": "uint256", "name": "sigDeadline", "type": "uint256" }
216
+ ],
217
+ "internalType": "struct IAllowanceTransfer.PermitSingle",
218
+ "name": "permitSingle",
219
+ "type": "tuple"
220
+ },
221
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
222
+ ],
223
+ "name": "permit",
224
+ "outputs": [],
225
+ "stateMutability": "nonpayable",
226
+ "type": "function"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "components": [
232
+ {
233
+ "components": [
234
+ { "internalType": "address", "name": "token", "type": "address" },
235
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
236
+ ],
237
+ "internalType": "struct ISignatureTransfer.TokenPermissions",
238
+ "name": "permitted",
239
+ "type": "tuple"
240
+ },
241
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
242
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
243
+ ],
244
+ "internalType": "struct ISignatureTransfer.PermitTransferFrom",
245
+ "name": "permit",
246
+ "type": "tuple"
247
+ },
248
+ {
249
+ "components": [
250
+ { "internalType": "address", "name": "to", "type": "address" },
251
+ { "internalType": "uint256", "name": "requestedAmount", "type": "uint256" }
252
+ ],
253
+ "internalType": "struct ISignatureTransfer.SignatureTransferDetails",
254
+ "name": "transferDetails",
255
+ "type": "tuple"
256
+ },
257
+ { "internalType": "address", "name": "owner", "type": "address" },
258
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
259
+ ],
260
+ "name": "permitTransferFrom",
261
+ "outputs": [],
262
+ "stateMutability": "nonpayable",
263
+ "type": "function"
264
+ },
265
+ {
266
+ "inputs": [
267
+ {
268
+ "components": [
269
+ {
270
+ "components": [
271
+ { "internalType": "address", "name": "token", "type": "address" },
272
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
273
+ ],
274
+ "internalType": "struct ISignatureTransfer.TokenPermissions[]",
275
+ "name": "permitted",
276
+ "type": "tuple[]"
277
+ },
278
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
279
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
280
+ ],
281
+ "internalType": "struct ISignatureTransfer.PermitBatchTransferFrom",
282
+ "name": "permit",
283
+ "type": "tuple"
284
+ },
285
+ {
286
+ "components": [
287
+ { "internalType": "address", "name": "to", "type": "address" },
288
+ { "internalType": "uint256", "name": "requestedAmount", "type": "uint256" }
289
+ ],
290
+ "internalType": "struct ISignatureTransfer.SignatureTransferDetails[]",
291
+ "name": "transferDetails",
292
+ "type": "tuple[]"
293
+ },
294
+ { "internalType": "address", "name": "owner", "type": "address" },
295
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
296
+ ],
297
+ "name": "permitTransferFrom",
298
+ "outputs": [],
299
+ "stateMutability": "nonpayable",
300
+ "type": "function"
301
+ },
302
+ {
303
+ "inputs": [
304
+ {
305
+ "components": [
306
+ {
307
+ "components": [
308
+ { "internalType": "address", "name": "token", "type": "address" },
309
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
310
+ ],
311
+ "internalType": "struct ISignatureTransfer.TokenPermissions",
312
+ "name": "permitted",
313
+ "type": "tuple"
314
+ },
315
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
316
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
317
+ ],
318
+ "internalType": "struct ISignatureTransfer.PermitTransferFrom",
319
+ "name": "permit",
320
+ "type": "tuple"
321
+ },
322
+ {
323
+ "components": [
324
+ { "internalType": "address", "name": "to", "type": "address" },
325
+ { "internalType": "uint256", "name": "requestedAmount", "type": "uint256" }
326
+ ],
327
+ "internalType": "struct ISignatureTransfer.SignatureTransferDetails",
328
+ "name": "transferDetails",
329
+ "type": "tuple"
330
+ },
331
+ { "internalType": "address", "name": "owner", "type": "address" },
332
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" },
333
+ { "internalType": "string", "name": "witnessTypeString", "type": "string" },
334
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
335
+ ],
336
+ "name": "permitWitnessTransferFrom",
337
+ "outputs": [],
338
+ "stateMutability": "nonpayable",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "components": [
345
+ {
346
+ "components": [
347
+ { "internalType": "address", "name": "token", "type": "address" },
348
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
349
+ ],
350
+ "internalType": "struct ISignatureTransfer.TokenPermissions[]",
351
+ "name": "permitted",
352
+ "type": "tuple[]"
353
+ },
354
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
355
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
356
+ ],
357
+ "internalType": "struct ISignatureTransfer.PermitBatchTransferFrom",
358
+ "name": "permit",
359
+ "type": "tuple"
360
+ },
361
+ {
362
+ "components": [
363
+ { "internalType": "address", "name": "to", "type": "address" },
364
+ { "internalType": "uint256", "name": "requestedAmount", "type": "uint256" }
365
+ ],
366
+ "internalType": "struct ISignatureTransfer.SignatureTransferDetails[]",
367
+ "name": "transferDetails",
368
+ "type": "tuple[]"
369
+ },
370
+ { "internalType": "address", "name": "owner", "type": "address" },
371
+ { "internalType": "bytes32", "name": "witness", "type": "bytes32" },
372
+ { "internalType": "string", "name": "witnessTypeString", "type": "string" },
373
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
374
+ ],
375
+ "name": "permitWitnessTransferFrom",
376
+ "outputs": [],
377
+ "stateMutability": "nonpayable",
378
+ "type": "function"
379
+ },
380
+ {
381
+ "inputs": [
382
+ {
383
+ "components": [
384
+ { "internalType": "address", "name": "from", "type": "address" },
385
+ { "internalType": "address", "name": "to", "type": "address" },
386
+ { "internalType": "uint160", "name": "amount", "type": "uint160" },
387
+ { "internalType": "address", "name": "token", "type": "address" }
388
+ ],
389
+ "internalType": "struct IAllowanceTransfer.AllowanceTransferDetails[]",
390
+ "name": "transferDetails",
391
+ "type": "tuple[]"
392
+ }
393
+ ],
394
+ "name": "transferFrom",
395
+ "outputs": [],
396
+ "stateMutability": "nonpayable",
397
+ "type": "function"
398
+ },
399
+ {
400
+ "inputs": [
401
+ { "internalType": "address", "name": "from", "type": "address" },
402
+ { "internalType": "address", "name": "to", "type": "address" },
403
+ { "internalType": "uint160", "name": "amount", "type": "uint160" },
404
+ { "internalType": "address", "name": "token", "type": "address" }
405
+ ],
406
+ "name": "transferFrom",
407
+ "outputs": [],
408
+ "stateMutability": "nonpayable",
409
+ "type": "function"
410
+ }
411
+ ]