@aurigami/sdk 0.1.5 → 0.2.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.
@@ -0,0 +1,663 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IUniswapV2Pair",
4
+ "sourceName": "contracts/interfaces/IUniswapV2Pair.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "owner",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "spender",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "uint256",
24
+ "name": "value",
25
+ "type": "uint256"
26
+ }
27
+ ],
28
+ "name": "Approval",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [
34
+ {
35
+ "indexed": true,
36
+ "internalType": "address",
37
+ "name": "sender",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "indexed": false,
42
+ "internalType": "uint256",
43
+ "name": "amount0",
44
+ "type": "uint256"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "uint256",
49
+ "name": "amount1",
50
+ "type": "uint256"
51
+ },
52
+ {
53
+ "indexed": true,
54
+ "internalType": "address",
55
+ "name": "to",
56
+ "type": "address"
57
+ }
58
+ ],
59
+ "name": "Burn",
60
+ "type": "event"
61
+ },
62
+ {
63
+ "anonymous": false,
64
+ "inputs": [
65
+ {
66
+ "indexed": true,
67
+ "internalType": "address",
68
+ "name": "sender",
69
+ "type": "address"
70
+ },
71
+ {
72
+ "indexed": false,
73
+ "internalType": "uint256",
74
+ "name": "amount0",
75
+ "type": "uint256"
76
+ },
77
+ {
78
+ "indexed": false,
79
+ "internalType": "uint256",
80
+ "name": "amount1",
81
+ "type": "uint256"
82
+ }
83
+ ],
84
+ "name": "Mint",
85
+ "type": "event"
86
+ },
87
+ {
88
+ "anonymous": false,
89
+ "inputs": [
90
+ {
91
+ "indexed": true,
92
+ "internalType": "address",
93
+ "name": "sender",
94
+ "type": "address"
95
+ },
96
+ {
97
+ "indexed": false,
98
+ "internalType": "uint256",
99
+ "name": "amount0In",
100
+ "type": "uint256"
101
+ },
102
+ {
103
+ "indexed": false,
104
+ "internalType": "uint256",
105
+ "name": "amount1In",
106
+ "type": "uint256"
107
+ },
108
+ {
109
+ "indexed": false,
110
+ "internalType": "uint256",
111
+ "name": "amount0Out",
112
+ "type": "uint256"
113
+ },
114
+ {
115
+ "indexed": false,
116
+ "internalType": "uint256",
117
+ "name": "amount1Out",
118
+ "type": "uint256"
119
+ },
120
+ {
121
+ "indexed": true,
122
+ "internalType": "address",
123
+ "name": "to",
124
+ "type": "address"
125
+ }
126
+ ],
127
+ "name": "Swap",
128
+ "type": "event"
129
+ },
130
+ {
131
+ "anonymous": false,
132
+ "inputs": [
133
+ {
134
+ "indexed": false,
135
+ "internalType": "uint112",
136
+ "name": "reserve0",
137
+ "type": "uint112"
138
+ },
139
+ {
140
+ "indexed": false,
141
+ "internalType": "uint112",
142
+ "name": "reserve1",
143
+ "type": "uint112"
144
+ }
145
+ ],
146
+ "name": "Sync",
147
+ "type": "event"
148
+ },
149
+ {
150
+ "anonymous": false,
151
+ "inputs": [
152
+ {
153
+ "indexed": true,
154
+ "internalType": "address",
155
+ "name": "from",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "indexed": true,
160
+ "internalType": "address",
161
+ "name": "to",
162
+ "type": "address"
163
+ },
164
+ {
165
+ "indexed": false,
166
+ "internalType": "uint256",
167
+ "name": "value",
168
+ "type": "uint256"
169
+ }
170
+ ],
171
+ "name": "Transfer",
172
+ "type": "event"
173
+ },
174
+ {
175
+ "inputs": [],
176
+ "name": "DOMAIN_SEPARATOR",
177
+ "outputs": [
178
+ {
179
+ "internalType": "bytes32",
180
+ "name": "",
181
+ "type": "bytes32"
182
+ }
183
+ ],
184
+ "stateMutability": "view",
185
+ "type": "function"
186
+ },
187
+ {
188
+ "inputs": [],
189
+ "name": "MINIMUM_LIQUIDITY",
190
+ "outputs": [
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "",
194
+ "type": "uint256"
195
+ }
196
+ ],
197
+ "stateMutability": "pure",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [],
202
+ "name": "PERMIT_TYPEHASH",
203
+ "outputs": [
204
+ {
205
+ "internalType": "bytes32",
206
+ "name": "",
207
+ "type": "bytes32"
208
+ }
209
+ ],
210
+ "stateMutability": "pure",
211
+ "type": "function"
212
+ },
213
+ {
214
+ "inputs": [
215
+ {
216
+ "internalType": "address",
217
+ "name": "owner",
218
+ "type": "address"
219
+ },
220
+ {
221
+ "internalType": "address",
222
+ "name": "spender",
223
+ "type": "address"
224
+ }
225
+ ],
226
+ "name": "allowance",
227
+ "outputs": [
228
+ {
229
+ "internalType": "uint256",
230
+ "name": "",
231
+ "type": "uint256"
232
+ }
233
+ ],
234
+ "stateMutability": "view",
235
+ "type": "function"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "address",
241
+ "name": "spender",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "internalType": "uint256",
246
+ "name": "value",
247
+ "type": "uint256"
248
+ }
249
+ ],
250
+ "name": "approve",
251
+ "outputs": [
252
+ {
253
+ "internalType": "bool",
254
+ "name": "",
255
+ "type": "bool"
256
+ }
257
+ ],
258
+ "stateMutability": "nonpayable",
259
+ "type": "function"
260
+ },
261
+ {
262
+ "inputs": [
263
+ {
264
+ "internalType": "address",
265
+ "name": "owner",
266
+ "type": "address"
267
+ }
268
+ ],
269
+ "name": "balanceOf",
270
+ "outputs": [
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "",
274
+ "type": "uint256"
275
+ }
276
+ ],
277
+ "stateMutability": "view",
278
+ "type": "function"
279
+ },
280
+ {
281
+ "inputs": [
282
+ {
283
+ "internalType": "address",
284
+ "name": "to",
285
+ "type": "address"
286
+ }
287
+ ],
288
+ "name": "burn",
289
+ "outputs": [
290
+ {
291
+ "internalType": "uint256",
292
+ "name": "amount0",
293
+ "type": "uint256"
294
+ },
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "amount1",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "stateMutability": "nonpayable",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "decimals",
307
+ "outputs": [
308
+ {
309
+ "internalType": "uint8",
310
+ "name": "",
311
+ "type": "uint8"
312
+ }
313
+ ],
314
+ "stateMutability": "pure",
315
+ "type": "function"
316
+ },
317
+ {
318
+ "inputs": [],
319
+ "name": "factory",
320
+ "outputs": [
321
+ {
322
+ "internalType": "address",
323
+ "name": "",
324
+ "type": "address"
325
+ }
326
+ ],
327
+ "stateMutability": "view",
328
+ "type": "function"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "getReserves",
333
+ "outputs": [
334
+ {
335
+ "internalType": "uint112",
336
+ "name": "reserve0",
337
+ "type": "uint112"
338
+ },
339
+ {
340
+ "internalType": "uint112",
341
+ "name": "reserve1",
342
+ "type": "uint112"
343
+ },
344
+ {
345
+ "internalType": "uint32",
346
+ "name": "blockTimestampLast",
347
+ "type": "uint32"
348
+ }
349
+ ],
350
+ "stateMutability": "view",
351
+ "type": "function"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "",
358
+ "type": "address"
359
+ },
360
+ {
361
+ "internalType": "address",
362
+ "name": "",
363
+ "type": "address"
364
+ }
365
+ ],
366
+ "name": "initialize",
367
+ "outputs": [],
368
+ "stateMutability": "nonpayable",
369
+ "type": "function"
370
+ },
371
+ {
372
+ "inputs": [],
373
+ "name": "kLast",
374
+ "outputs": [
375
+ {
376
+ "internalType": "uint256",
377
+ "name": "",
378
+ "type": "uint256"
379
+ }
380
+ ],
381
+ "stateMutability": "view",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [
386
+ {
387
+ "internalType": "address",
388
+ "name": "to",
389
+ "type": "address"
390
+ }
391
+ ],
392
+ "name": "mint",
393
+ "outputs": [
394
+ {
395
+ "internalType": "uint256",
396
+ "name": "liquidity",
397
+ "type": "uint256"
398
+ }
399
+ ],
400
+ "stateMutability": "nonpayable",
401
+ "type": "function"
402
+ },
403
+ {
404
+ "inputs": [],
405
+ "name": "name",
406
+ "outputs": [
407
+ {
408
+ "internalType": "string",
409
+ "name": "",
410
+ "type": "string"
411
+ }
412
+ ],
413
+ "stateMutability": "pure",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [
418
+ {
419
+ "internalType": "address",
420
+ "name": "owner",
421
+ "type": "address"
422
+ }
423
+ ],
424
+ "name": "nonces",
425
+ "outputs": [
426
+ {
427
+ "internalType": "uint256",
428
+ "name": "",
429
+ "type": "uint256"
430
+ }
431
+ ],
432
+ "stateMutability": "view",
433
+ "type": "function"
434
+ },
435
+ {
436
+ "inputs": [
437
+ {
438
+ "internalType": "address",
439
+ "name": "owner",
440
+ "type": "address"
441
+ },
442
+ {
443
+ "internalType": "address",
444
+ "name": "spender",
445
+ "type": "address"
446
+ },
447
+ {
448
+ "internalType": "uint256",
449
+ "name": "value",
450
+ "type": "uint256"
451
+ },
452
+ {
453
+ "internalType": "uint256",
454
+ "name": "deadline",
455
+ "type": "uint256"
456
+ },
457
+ {
458
+ "internalType": "uint8",
459
+ "name": "v",
460
+ "type": "uint8"
461
+ },
462
+ {
463
+ "internalType": "bytes32",
464
+ "name": "r",
465
+ "type": "bytes32"
466
+ },
467
+ {
468
+ "internalType": "bytes32",
469
+ "name": "s",
470
+ "type": "bytes32"
471
+ }
472
+ ],
473
+ "name": "permit",
474
+ "outputs": [],
475
+ "stateMutability": "nonpayable",
476
+ "type": "function"
477
+ },
478
+ {
479
+ "inputs": [],
480
+ "name": "price0CumulativeLast",
481
+ "outputs": [
482
+ {
483
+ "internalType": "uint256",
484
+ "name": "",
485
+ "type": "uint256"
486
+ }
487
+ ],
488
+ "stateMutability": "view",
489
+ "type": "function"
490
+ },
491
+ {
492
+ "inputs": [],
493
+ "name": "price1CumulativeLast",
494
+ "outputs": [
495
+ {
496
+ "internalType": "uint256",
497
+ "name": "",
498
+ "type": "uint256"
499
+ }
500
+ ],
501
+ "stateMutability": "view",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [
506
+ {
507
+ "internalType": "address",
508
+ "name": "to",
509
+ "type": "address"
510
+ }
511
+ ],
512
+ "name": "skim",
513
+ "outputs": [],
514
+ "stateMutability": "nonpayable",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [
519
+ {
520
+ "internalType": "uint256",
521
+ "name": "amount0Out",
522
+ "type": "uint256"
523
+ },
524
+ {
525
+ "internalType": "uint256",
526
+ "name": "amount1Out",
527
+ "type": "uint256"
528
+ },
529
+ {
530
+ "internalType": "address",
531
+ "name": "to",
532
+ "type": "address"
533
+ },
534
+ {
535
+ "internalType": "bytes",
536
+ "name": "data",
537
+ "type": "bytes"
538
+ }
539
+ ],
540
+ "name": "swap",
541
+ "outputs": [],
542
+ "stateMutability": "nonpayable",
543
+ "type": "function"
544
+ },
545
+ {
546
+ "inputs": [],
547
+ "name": "symbol",
548
+ "outputs": [
549
+ {
550
+ "internalType": "string",
551
+ "name": "",
552
+ "type": "string"
553
+ }
554
+ ],
555
+ "stateMutability": "pure",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [],
560
+ "name": "sync",
561
+ "outputs": [],
562
+ "stateMutability": "nonpayable",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [],
567
+ "name": "token0",
568
+ "outputs": [
569
+ {
570
+ "internalType": "address",
571
+ "name": "",
572
+ "type": "address"
573
+ }
574
+ ],
575
+ "stateMutability": "view",
576
+ "type": "function"
577
+ },
578
+ {
579
+ "inputs": [],
580
+ "name": "token1",
581
+ "outputs": [
582
+ {
583
+ "internalType": "address",
584
+ "name": "",
585
+ "type": "address"
586
+ }
587
+ ],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [],
593
+ "name": "totalSupply",
594
+ "outputs": [
595
+ {
596
+ "internalType": "uint256",
597
+ "name": "",
598
+ "type": "uint256"
599
+ }
600
+ ],
601
+ "stateMutability": "view",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [
606
+ {
607
+ "internalType": "address",
608
+ "name": "to",
609
+ "type": "address"
610
+ },
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "value",
614
+ "type": "uint256"
615
+ }
616
+ ],
617
+ "name": "transfer",
618
+ "outputs": [
619
+ {
620
+ "internalType": "bool",
621
+ "name": "",
622
+ "type": "bool"
623
+ }
624
+ ],
625
+ "stateMutability": "nonpayable",
626
+ "type": "function"
627
+ },
628
+ {
629
+ "inputs": [
630
+ {
631
+ "internalType": "address",
632
+ "name": "from",
633
+ "type": "address"
634
+ },
635
+ {
636
+ "internalType": "address",
637
+ "name": "to",
638
+ "type": "address"
639
+ },
640
+ {
641
+ "internalType": "uint256",
642
+ "name": "value",
643
+ "type": "uint256"
644
+ }
645
+ ],
646
+ "name": "transferFrom",
647
+ "outputs": [
648
+ {
649
+ "internalType": "bool",
650
+ "name": "",
651
+ "type": "bool"
652
+ }
653
+ ],
654
+ "stateMutability": "nonpayable",
655
+ "type": "function"
656
+ }
657
+ ],
658
+ "bytecode": "0x",
659
+ "deployedBytecode": "0x",
660
+ "linkReferences": {},
661
+ "deployedLinkReferences": {}
662
+ }
663
+