@typemove/sui 1.14.0-rc.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/Readme.md +19 -17
  2. package/package.json +3 -3
  3. package/dist/esm/builtin/0x1.d.ts +0 -1030
  4. package/dist/esm/builtin/0x1.d.ts.map +0 -1
  5. package/dist/esm/builtin/0x1.js +0 -7799
  6. package/dist/esm/builtin/0x1.js.map +0 -1
  7. package/dist/esm/builtin/0x2.d.ts +0 -4766
  8. package/dist/esm/builtin/0x2.d.ts.map +0 -1
  9. package/dist/esm/builtin/0x2.js +0 -23180
  10. package/dist/esm/builtin/0x2.js.map +0 -1
  11. package/dist/esm/builtin/0x3.d.ts +0 -1964
  12. package/dist/esm/builtin/0x3.d.ts.map +0 -1
  13. package/dist/esm/builtin/0x3.js +0 -7606
  14. package/dist/esm/builtin/0x3.js.map +0 -1
  15. package/dist/esm/builtin/index.d.ts +0 -4
  16. package/dist/esm/builtin/index.d.ts.map +0 -1
  17. package/dist/esm/builtin/index.js +0 -7
  18. package/dist/esm/builtin/index.js.map +0 -1
  19. package/dist/esm/codegen/codegen.d.ts +0 -20
  20. package/dist/esm/codegen/codegen.d.ts.map +0 -1
  21. package/dist/esm/codegen/codegen.js +0 -247
  22. package/dist/esm/codegen/codegen.js.map +0 -1
  23. package/dist/esm/codegen/index.d.ts +0 -2
  24. package/dist/esm/codegen/index.d.ts.map +0 -1
  25. package/dist/esm/codegen/index.js +0 -2
  26. package/dist/esm/codegen/index.js.map +0 -1
  27. package/dist/esm/codegen/run.d.ts +0 -3
  28. package/dist/esm/codegen/run.d.ts.map +0 -1
  29. package/dist/esm/codegen/run.js.map +0 -1
  30. package/dist/esm/index.d.ts +0 -5
  31. package/dist/esm/index.d.ts.map +0 -1
  32. package/dist/esm/index.js +0 -5
  33. package/dist/esm/index.js.map +0 -1
  34. package/dist/esm/models.d.ts +0 -21
  35. package/dist/esm/models.d.ts.map +0 -1
  36. package/dist/esm/models.js +0 -2
  37. package/dist/esm/models.js.map +0 -1
  38. package/dist/esm/move-coder.d.ts +0 -28
  39. package/dist/esm/move-coder.d.ts.map +0 -1
  40. package/dist/esm/move-coder.js +0 -311
  41. package/dist/esm/move-coder.js.map +0 -1
  42. package/dist/esm/move-coder.test.d.ts +0 -2
  43. package/dist/esm/move-coder.test.d.ts.map +0 -1
  44. package/dist/esm/move-coder.test.js.map +0 -1
  45. package/dist/esm/sui-chain-adapter.d.ts +0 -28
  46. package/dist/esm/sui-chain-adapter.d.ts.map +0 -1
  47. package/dist/esm/sui-chain-adapter.js +0 -109
  48. package/dist/esm/sui-chain-adapter.js.map +0 -1
  49. package/dist/esm/to-internal.d.ts +0 -6
  50. package/dist/esm/to-internal.d.ts.map +0 -1
  51. package/dist/esm/to-internal.js +0 -170
  52. package/dist/esm/to-internal.js.map +0 -1
  53. package/dist/esm/transaction.d.ts +0 -15
  54. package/dist/esm/transaction.d.ts.map +0 -1
  55. package/dist/esm/transaction.js +0 -83
  56. package/dist/esm/transaction.js.map +0 -1
  57. package/src/abis/0x1.json +0 -9096
  58. package/src/abis/0x2.json +0 -38512
  59. package/src/abis/0x3.json +0 -14755
  60. package/src/builtin/0x1.ts +0 -10657
  61. package/src/builtin/0x2.ts +0 -33567
  62. package/src/builtin/0x3.ts +0 -11437
  63. package/src/builtin/index.ts +0 -6
  64. package/src/codegen/codegen.ts +0 -292
  65. package/src/codegen/index.ts +0 -1
  66. package/src/codegen/run.ts +0 -57
  67. package/src/index.ts +0 -13
  68. package/src/models.ts +0 -32
  69. package/src/move-coder.ts +0 -364
  70. package/src/sui-chain-adapter.ts +0 -142
  71. package/src/tests/abis/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.json +0 -341
  72. package/src/tests/abis/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.json +0 -3375
  73. package/src/tests/abis/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.json +0 -1535
  74. package/src/tests/abis/testnet/0xdee9.json +0 -10176
  75. package/src/tests/abis/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.json +0 -12904
  76. package/src/tests/abis/testnet/enum.json +0 -6859
  77. package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +0 -314
  78. package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +0 -2819
  79. package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +0 -1594
  80. package/src/tests/types/testnet/0xdee9.ts +0 -7049
  81. package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +0 -10609
  82. package/src/tests/types/testnet/enum.ts +0 -6297
  83. package/src/tests/types/testnet/index.ts +0 -9
  84. package/src/to-internal.ts +0 -201
  85. package/src/transaction.ts +0 -127
@@ -1,3375 +0,0 @@
1
- [
2
- {
3
- "address": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
4
- "module": {
5
- "datatypes": [
6
- {
7
- "abilities": [
8
- 2
9
- ],
10
- "typeParameters": [],
11
- "fields": [
12
- {
13
- "name": "inner",
14
- "position": 0,
15
- "type": {
16
- "typeParameterInstantiation": [],
17
- "type": 3
18
- }
19
- }
20
- ],
21
- "variants": [],
22
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::comparator::Result",
23
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
24
- "module": "comparator",
25
- "name": "Result",
26
- "kind": 1
27
- }
28
- ],
29
- "functions": [
30
- {
31
- "typeParameters": [
32
- {
33
- "constraints": []
34
- }
35
- ],
36
- "parameters": [
37
- {
38
- "reference": 1,
39
- "body": {
40
- "typeParameterInstantiation": [],
41
- "type": 11,
42
- "typeParameter": 0
43
- }
44
- },
45
- {
46
- "reference": 1,
47
- "body": {
48
- "typeParameterInstantiation": [],
49
- "type": 11,
50
- "typeParameter": 0
51
- }
52
- }
53
- ],
54
- "returns": [
55
- {
56
- "body": {
57
- "typeParameterInstantiation": [],
58
- "type": 10,
59
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::comparator::Result"
60
- }
61
- }
62
- ],
63
- "name": "compare",
64
- "visibility": 2,
65
- "isEntry": false
66
- },
67
- {
68
- "typeParameters": [],
69
- "parameters": [
70
- {
71
- "body": {
72
- "typeParameterInstantiation": [
73
- {
74
- "typeParameterInstantiation": [],
75
- "type": 3
76
- }
77
- ],
78
- "type": 9
79
- }
80
- },
81
- {
82
- "body": {
83
- "typeParameterInstantiation": [
84
- {
85
- "typeParameterInstantiation": [],
86
- "type": 3
87
- }
88
- ],
89
- "type": 9
90
- }
91
- }
92
- ],
93
- "returns": [
94
- {
95
- "body": {
96
- "typeParameterInstantiation": [],
97
- "type": 10,
98
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::comparator::Result"
99
- }
100
- }
101
- ],
102
- "name": "compare_u8_vector",
103
- "visibility": 2,
104
- "isEntry": false
105
- },
106
- {
107
- "typeParameters": [],
108
- "parameters": [
109
- {
110
- "reference": 1,
111
- "body": {
112
- "typeParameterInstantiation": [],
113
- "type": 10,
114
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::comparator::Result"
115
- }
116
- }
117
- ],
118
- "returns": [
119
- {
120
- "body": {
121
- "typeParameterInstantiation": [],
122
- "type": 2
123
- }
124
- }
125
- ],
126
- "name": "is_equal",
127
- "visibility": 2,
128
- "isEntry": false
129
- },
130
- {
131
- "typeParameters": [],
132
- "parameters": [
133
- {
134
- "reference": 1,
135
- "body": {
136
- "typeParameterInstantiation": [],
137
- "type": 10,
138
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::comparator::Result"
139
- }
140
- }
141
- ],
142
- "returns": [
143
- {
144
- "body": {
145
- "typeParameterInstantiation": [],
146
- "type": 2
147
- }
148
- }
149
- ],
150
- "name": "is_greater_than",
151
- "visibility": 2,
152
- "isEntry": false
153
- },
154
- {
155
- "typeParameters": [],
156
- "parameters": [
157
- {
158
- "reference": 1,
159
- "body": {
160
- "typeParameterInstantiation": [],
161
- "type": 10,
162
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::comparator::Result"
163
- }
164
- }
165
- ],
166
- "returns": [
167
- {
168
- "body": {
169
- "typeParameterInstantiation": [],
170
- "type": 2
171
- }
172
- }
173
- ],
174
- "name": "is_smaller_than",
175
- "visibility": 2,
176
- "isEntry": false
177
- }
178
- ],
179
- "name": "comparator"
180
- }
181
- },
182
- {
183
- "address": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
184
- "module": {
185
- "datatypes": [],
186
- "functions": [
187
- {
188
- "typeParameters": [],
189
- "parameters": [
190
- {
191
- "body": {
192
- "typeParameterInstantiation": [],
193
- "type": 7
194
- }
195
- },
196
- {
197
- "body": {
198
- "typeParameterInstantiation": [],
199
- "type": 7
200
- }
201
- }
202
- ],
203
- "returns": [
204
- {
205
- "body": {
206
- "typeParameterInstantiation": [],
207
- "type": 7
208
- }
209
- }
210
- ],
211
- "name": "max",
212
- "visibility": 2,
213
- "isEntry": false
214
- },
215
- {
216
- "typeParameters": [],
217
- "parameters": [
218
- {
219
- "body": {
220
- "typeParameterInstantiation": [],
221
- "type": 6
222
- }
223
- },
224
- {
225
- "body": {
226
- "typeParameterInstantiation": [],
227
- "type": 6
228
- }
229
- }
230
- ],
231
- "returns": [
232
- {
233
- "body": {
234
- "typeParameterInstantiation": [],
235
- "type": 6
236
- }
237
- }
238
- ],
239
- "name": "max_u64",
240
- "visibility": 2,
241
- "isEntry": false
242
- },
243
- {
244
- "typeParameters": [],
245
- "parameters": [
246
- {
247
- "body": {
248
- "typeParameterInstantiation": [],
249
- "type": 7
250
- }
251
- },
252
- {
253
- "body": {
254
- "typeParameterInstantiation": [],
255
- "type": 7
256
- }
257
- }
258
- ],
259
- "returns": [
260
- {
261
- "body": {
262
- "typeParameterInstantiation": [],
263
- "type": 7
264
- }
265
- }
266
- ],
267
- "name": "min",
268
- "visibility": 2,
269
- "isEntry": false
270
- },
271
- {
272
- "typeParameters": [],
273
- "parameters": [
274
- {
275
- "body": {
276
- "typeParameterInstantiation": [],
277
- "type": 7
278
- }
279
- },
280
- {
281
- "body": {
282
- "typeParameterInstantiation": [],
283
- "type": 3
284
- }
285
- }
286
- ],
287
- "returns": [
288
- {
289
- "body": {
290
- "typeParameterInstantiation": [],
291
- "type": 7
292
- }
293
- }
294
- ],
295
- "name": "pow",
296
- "visibility": 2,
297
- "isEntry": false
298
- },
299
- {
300
- "typeParameters": [],
301
- "parameters": [
302
- {
303
- "body": {
304
- "typeParameterInstantiation": [],
305
- "type": 7
306
- }
307
- }
308
- ],
309
- "returns": [
310
- {
311
- "body": {
312
- "typeParameterInstantiation": [],
313
- "type": 7
314
- }
315
- }
316
- ],
317
- "name": "sqrt",
318
- "visibility": 2,
319
- "isEntry": false
320
- },
321
- {
322
- "typeParameters": [],
323
- "parameters": [
324
- {
325
- "body": {
326
- "typeParameterInstantiation": [],
327
- "type": 8
328
- }
329
- }
330
- ],
331
- "returns": [
332
- {
333
- "body": {
334
- "typeParameterInstantiation": [],
335
- "type": 8
336
- }
337
- }
338
- ],
339
- "name": "sqrt_u256",
340
- "visibility": 2,
341
- "isEntry": false
342
- }
343
- ],
344
- "name": "math_utils"
345
- }
346
- },
347
- {
348
- "address": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
349
- "module": {
350
- "datatypes": [
351
- {
352
- "abilities": [
353
- 3,
354
- 4
355
- ],
356
- "typeParameters": [],
357
- "fields": [
358
- {
359
- "name": "id",
360
- "position": 0,
361
- "type": {
362
- "typeParameterInstantiation": [],
363
- "type": 10,
364
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::object::UID"
365
- }
366
- }
367
- ],
368
- "variants": [],
369
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::ControllerCap",
370
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
371
- "module": "pool",
372
- "name": "ControllerCap",
373
- "kind": 1
374
- },
375
- {
376
- "abilities": [
377
- 1,
378
- 2
379
- ],
380
- "typeParameters": [],
381
- "fields": [
382
- {
383
- "name": "fee_to",
384
- "position": 0,
385
- "type": {
386
- "typeParameterInstantiation": [],
387
- "type": 1
388
- }
389
- },
390
- {
391
- "name": "caller",
392
- "position": 1,
393
- "type": {
394
- "typeParameterInstantiation": [],
395
- "type": 1
396
- }
397
- }
398
- ],
399
- "variants": [],
400
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::FeeToSet",
401
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
402
- "module": "pool",
403
- "name": "FeeToSet",
404
- "kind": 1
405
- },
406
- {
407
- "abilities": [
408
- 1,
409
- 2
410
- ],
411
- "typeParameters": [
412
- {
413
- "constraints": [],
414
- "isPhantom": true
415
- },
416
- {
417
- "constraints": [],
418
- "isPhantom": true
419
- }
420
- ],
421
- "fields": [
422
- {
423
- "name": "user",
424
- "position": 0,
425
- "type": {
426
- "typeParameterInstantiation": [],
427
- "type": 1
428
- }
429
- },
430
- {
431
- "name": "first_amount",
432
- "position": 1,
433
- "type": {
434
- "typeParameterInstantiation": [],
435
- "type": 6
436
- }
437
- },
438
- {
439
- "name": "second_amount",
440
- "position": 2,
441
- "type": {
442
- "typeParameterInstantiation": [],
443
- "type": 6
444
- }
445
- },
446
- {
447
- "name": "first_reserve",
448
- "position": 3,
449
- "type": {
450
- "typeParameterInstantiation": [],
451
- "type": 6
452
- }
453
- },
454
- {
455
- "name": "second_reserve",
456
- "position": 4,
457
- "type": {
458
- "typeParameterInstantiation": [],
459
- "type": 6
460
- }
461
- },
462
- {
463
- "name": "wisp_lp_amount",
464
- "position": 5,
465
- "type": {
466
- "typeParameterInstantiation": [],
467
- "type": 6
468
- }
469
- },
470
- {
471
- "name": "fee_amount",
472
- "position": 6,
473
- "type": {
474
- "typeParameterInstantiation": [],
475
- "type": 6
476
- }
477
- }
478
- ],
479
- "variants": [],
480
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::LiquidityAdded",
481
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
482
- "module": "pool",
483
- "name": "LiquidityAdded",
484
- "kind": 1
485
- },
486
- {
487
- "abilities": [
488
- 1,
489
- 2
490
- ],
491
- "typeParameters": [
492
- {
493
- "constraints": [],
494
- "isPhantom": true
495
- },
496
- {
497
- "constraints": [],
498
- "isPhantom": true
499
- }
500
- ],
501
- "fields": [
502
- {
503
- "name": "user",
504
- "position": 0,
505
- "type": {
506
- "typeParameterInstantiation": [],
507
- "type": 1
508
- }
509
- },
510
- {
511
- "name": "first_amount",
512
- "position": 1,
513
- "type": {
514
- "typeParameterInstantiation": [],
515
- "type": 6
516
- }
517
- },
518
- {
519
- "name": "second_amount",
520
- "position": 2,
521
- "type": {
522
- "typeParameterInstantiation": [],
523
- "type": 6
524
- }
525
- },
526
- {
527
- "name": "first_reserve",
528
- "position": 3,
529
- "type": {
530
- "typeParameterInstantiation": [],
531
- "type": 6
532
- }
533
- },
534
- {
535
- "name": "second_reserve",
536
- "position": 4,
537
- "type": {
538
- "typeParameterInstantiation": [],
539
- "type": 6
540
- }
541
- },
542
- {
543
- "name": "wisp_lp_amount",
544
- "position": 5,
545
- "type": {
546
- "typeParameterInstantiation": [],
547
- "type": 6
548
- }
549
- },
550
- {
551
- "name": "fee_amount",
552
- "position": 6,
553
- "type": {
554
- "typeParameterInstantiation": [],
555
- "type": 6
556
- }
557
- }
558
- ],
559
- "variants": [],
560
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::LiquidityRemoved",
561
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
562
- "module": "pool",
563
- "name": "LiquidityRemoved",
564
- "kind": 1
565
- },
566
- {
567
- "abilities": [
568
- 3,
569
- 4
570
- ],
571
- "typeParameters": [
572
- {
573
- "constraints": [],
574
- "isPhantom": true
575
- },
576
- {
577
- "constraints": [],
578
- "isPhantom": true
579
- }
580
- ],
581
- "fields": [
582
- {
583
- "name": "id",
584
- "position": 0,
585
- "type": {
586
- "typeParameterInstantiation": [],
587
- "type": 10,
588
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::object::UID"
589
- }
590
- },
591
- {
592
- "name": "first_token",
593
- "position": 1,
594
- "type": {
595
- "typeParameterInstantiation": [
596
- {
597
- "typeParameterInstantiation": [],
598
- "type": 11,
599
- "typeParameter": 0
600
- }
601
- ],
602
- "type": 10,
603
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::balance::Balance"
604
- }
605
- },
606
- {
607
- "name": "second_token",
608
- "position": 2,
609
- "type": {
610
- "typeParameterInstantiation": [
611
- {
612
- "typeParameterInstantiation": [],
613
- "type": 11,
614
- "typeParameter": 1
615
- }
616
- ],
617
- "type": 10,
618
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::balance::Balance"
619
- }
620
- },
621
- {
622
- "name": "wisp_lp_supply",
623
- "position": 3,
624
- "type": {
625
- "typeParameterInstantiation": [
626
- {
627
- "typeParameterInstantiation": [
628
- {
629
- "typeParameterInstantiation": [],
630
- "type": 11,
631
- "typeParameter": 0
632
- },
633
- {
634
- "typeParameterInstantiation": [],
635
- "type": 11,
636
- "typeParameter": 1
637
- }
638
- ],
639
- "type": 10,
640
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::WISPLP"
641
- }
642
- ],
643
- "type": 10,
644
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::balance::Supply"
645
- }
646
- },
647
- {
648
- "name": "k_last",
649
- "position": 4,
650
- "type": {
651
- "typeParameterInstantiation": [],
652
- "type": 7
653
- }
654
- }
655
- ],
656
- "variants": [],
657
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool",
658
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
659
- "module": "pool",
660
- "name": "Pool",
661
- "kind": 1
662
- },
663
- {
664
- "abilities": [
665
- 1,
666
- 2
667
- ],
668
- "typeParameters": [
669
- {
670
- "constraints": [],
671
- "isPhantom": true
672
- },
673
- {
674
- "constraints": [],
675
- "isPhantom": true
676
- }
677
- ],
678
- "fields": [
679
- {
680
- "name": "pool",
681
- "position": 0,
682
- "type": {
683
- "typeParameterInstantiation": [],
684
- "type": 1
685
- }
686
- },
687
- {
688
- "name": "first_amount",
689
- "position": 1,
690
- "type": {
691
- "typeParameterInstantiation": [],
692
- "type": 6
693
- }
694
- },
695
- {
696
- "name": "second_amount",
697
- "position": 2,
698
- "type": {
699
- "typeParameterInstantiation": [],
700
- "type": 6
701
- }
702
- },
703
- {
704
- "name": "wisp_lp_amount",
705
- "position": 3,
706
- "type": {
707
- "typeParameterInstantiation": [],
708
- "type": 6
709
- }
710
- }
711
- ],
712
- "variants": [],
713
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolCreated",
714
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
715
- "module": "pool",
716
- "name": "PoolCreated",
717
- "kind": 1
718
- },
719
- {
720
- "abilities": [
721
- 1,
722
- 2,
723
- 3
724
- ],
725
- "typeParameters": [],
726
- "fields": [
727
- {
728
- "name": "first_type",
729
- "position": 0,
730
- "type": {
731
- "typeParameterInstantiation": [],
732
- "type": 10,
733
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
734
- }
735
- },
736
- {
737
- "name": "second_type",
738
- "position": 1,
739
- "type": {
740
- "typeParameterInstantiation": [],
741
- "type": 10,
742
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
743
- }
744
- }
745
- ],
746
- "variants": [],
747
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolName",
748
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
749
- "module": "pool",
750
- "name": "PoolName",
751
- "kind": 1
752
- },
753
- {
754
- "abilities": [
755
- 4
756
- ],
757
- "typeParameters": [],
758
- "fields": [
759
- {
760
- "name": "id",
761
- "position": 0,
762
- "type": {
763
- "typeParameterInstantiation": [],
764
- "type": 10,
765
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::object::UID"
766
- }
767
- },
768
- {
769
- "name": "fee_to",
770
- "position": 1,
771
- "type": {
772
- "typeParameterInstantiation": [],
773
- "type": 1
774
- }
775
- },
776
- {
777
- "name": "pools",
778
- "position": 2,
779
- "type": {
780
- "typeParameterInstantiation": [],
781
- "type": 10,
782
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::object_bag::ObjectBag"
783
- }
784
- }
785
- ],
786
- "variants": [],
787
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry",
788
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
789
- "module": "pool",
790
- "name": "PoolRegistry",
791
- "kind": 1
792
- },
793
- {
794
- "abilities": [
795
- 1,
796
- 2
797
- ],
798
- "typeParameters": [
799
- {
800
- "constraints": [],
801
- "isPhantom": true
802
- },
803
- {
804
- "constraints": [],
805
- "isPhantom": true
806
- }
807
- ],
808
- "fields": [
809
- {
810
- "name": "user",
811
- "position": 0,
812
- "type": {
813
- "typeParameterInstantiation": [],
814
- "type": 1
815
- }
816
- },
817
- {
818
- "name": "first_amount_in",
819
- "position": 1,
820
- "type": {
821
- "typeParameterInstantiation": [],
822
- "type": 6
823
- }
824
- },
825
- {
826
- "name": "second_amount_in",
827
- "position": 2,
828
- "type": {
829
- "typeParameterInstantiation": [],
830
- "type": 6
831
- }
832
- },
833
- {
834
- "name": "first_amount_out",
835
- "position": 3,
836
- "type": {
837
- "typeParameterInstantiation": [],
838
- "type": 6
839
- }
840
- },
841
- {
842
- "name": "second_amount_out",
843
- "position": 4,
844
- "type": {
845
- "typeParameterInstantiation": [],
846
- "type": 6
847
- }
848
- },
849
- {
850
- "name": "first_reserve",
851
- "position": 5,
852
- "type": {
853
- "typeParameterInstantiation": [],
854
- "type": 6
855
- }
856
- },
857
- {
858
- "name": "second_reserve",
859
- "position": 6,
860
- "type": {
861
- "typeParameterInstantiation": [],
862
- "type": 6
863
- }
864
- }
865
- ],
866
- "variants": [],
867
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::TokenSwapped",
868
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
869
- "module": "pool",
870
- "name": "TokenSwapped",
871
- "kind": 1
872
- },
873
- {
874
- "abilities": [
875
- 2
876
- ],
877
- "typeParameters": [
878
- {
879
- "constraints": [],
880
- "isPhantom": true
881
- },
882
- {
883
- "constraints": [],
884
- "isPhantom": true
885
- }
886
- ],
887
- "fields": [
888
- {
889
- "name": "dummy_field",
890
- "position": 0,
891
- "type": {
892
- "typeParameterInstantiation": [],
893
- "type": 2
894
- }
895
- }
896
- ],
897
- "variants": [],
898
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::WISPLP",
899
- "definingId": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
900
- "module": "pool",
901
- "name": "WISPLP",
902
- "kind": 1
903
- }
904
- ],
905
- "functions": [
906
- {
907
- "typeParameters": [
908
- {
909
- "constraints": []
910
- },
911
- {
912
- "constraints": []
913
- }
914
- ],
915
- "parameters": [
916
- {
917
- "reference": 2,
918
- "body": {
919
- "typeParameterInstantiation": [],
920
- "type": 10,
921
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
922
- }
923
- },
924
- {
925
- "reference": 2,
926
- "body": {
927
- "typeParameterInstantiation": [
928
- {
929
- "typeParameterInstantiation": [],
930
- "type": 11,
931
- "typeParameter": 0
932
- }
933
- ],
934
- "type": 10,
935
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
936
- }
937
- },
938
- {
939
- "reference": 2,
940
- "body": {
941
- "typeParameterInstantiation": [
942
- {
943
- "typeParameterInstantiation": [],
944
- "type": 11,
945
- "typeParameter": 1
946
- }
947
- ],
948
- "type": 10,
949
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
950
- }
951
- },
952
- {
953
- "body": {
954
- "typeParameterInstantiation": [],
955
- "type": 6
956
- }
957
- },
958
- {
959
- "body": {
960
- "typeParameterInstantiation": [],
961
- "type": 6
962
- }
963
- },
964
- {
965
- "body": {
966
- "typeParameterInstantiation": [],
967
- "type": 6
968
- }
969
- },
970
- {
971
- "body": {
972
- "typeParameterInstantiation": [],
973
- "type": 6
974
- }
975
- },
976
- {
977
- "reference": 2,
978
- "body": {
979
- "typeParameterInstantiation": [],
980
- "type": 10,
981
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
982
- }
983
- }
984
- ],
985
- "returns": [
986
- {
987
- "body": {
988
- "typeParameterInstantiation": [
989
- {
990
- "typeParameterInstantiation": [
991
- {
992
- "typeParameterInstantiation": [],
993
- "type": 11,
994
- "typeParameter": 0
995
- },
996
- {
997
- "typeParameterInstantiation": [],
998
- "type": 11,
999
- "typeParameter": 1
1000
- }
1001
- ],
1002
- "type": 10,
1003
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::WISPLP"
1004
- }
1005
- ],
1006
- "type": 10,
1007
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1008
- }
1009
- }
1010
- ],
1011
- "name": "add_liquidity",
1012
- "visibility": 2,
1013
- "isEntry": false
1014
- },
1015
- {
1016
- "typeParameters": [
1017
- {
1018
- "constraints": []
1019
- },
1020
- {
1021
- "constraints": []
1022
- }
1023
- ],
1024
- "parameters": [
1025
- {
1026
- "reference": 2,
1027
- "body": {
1028
- "typeParameterInstantiation": [],
1029
- "type": 10,
1030
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
1031
- }
1032
- }
1033
- ],
1034
- "returns": [
1035
- {
1036
- "reference": 2,
1037
- "body": {
1038
- "typeParameterInstantiation": [
1039
- {
1040
- "typeParameterInstantiation": [],
1041
- "type": 11,
1042
- "typeParameter": 0
1043
- },
1044
- {
1045
- "typeParameterInstantiation": [],
1046
- "type": 11,
1047
- "typeParameter": 1
1048
- }
1049
- ],
1050
- "type": 10,
1051
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1052
- }
1053
- }
1054
- ],
1055
- "name": "borrow_mut_pool",
1056
- "visibility": 2,
1057
- "isEntry": false
1058
- },
1059
- {
1060
- "typeParameters": [
1061
- {
1062
- "constraints": []
1063
- },
1064
- {
1065
- "constraints": []
1066
- }
1067
- ],
1068
- "parameters": [
1069
- {
1070
- "reference": 1,
1071
- "body": {
1072
- "typeParameterInstantiation": [],
1073
- "type": 10,
1074
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
1075
- }
1076
- }
1077
- ],
1078
- "returns": [
1079
- {
1080
- "reference": 1,
1081
- "body": {
1082
- "typeParameterInstantiation": [
1083
- {
1084
- "typeParameterInstantiation": [],
1085
- "type": 11,
1086
- "typeParameter": 0
1087
- },
1088
- {
1089
- "typeParameterInstantiation": [],
1090
- "type": 11,
1091
- "typeParameter": 1
1092
- }
1093
- ],
1094
- "type": 10,
1095
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1096
- }
1097
- }
1098
- ],
1099
- "name": "borrow_pool",
1100
- "visibility": 2,
1101
- "isEntry": false
1102
- },
1103
- {
1104
- "typeParameters": [
1105
- {
1106
- "constraints": []
1107
- },
1108
- {
1109
- "constraints": []
1110
- }
1111
- ],
1112
- "parameters": [
1113
- {
1114
- "reference": 2,
1115
- "body": {
1116
- "typeParameterInstantiation": [],
1117
- "type": 10,
1118
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
1119
- }
1120
- },
1121
- {
1122
- "reference": 2,
1123
- "body": {
1124
- "typeParameterInstantiation": [
1125
- {
1126
- "typeParameterInstantiation": [],
1127
- "type": 11,
1128
- "typeParameter": 0
1129
- }
1130
- ],
1131
- "type": 10,
1132
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1133
- }
1134
- },
1135
- {
1136
- "reference": 2,
1137
- "body": {
1138
- "typeParameterInstantiation": [
1139
- {
1140
- "typeParameterInstantiation": [],
1141
- "type": 11,
1142
- "typeParameter": 1
1143
- }
1144
- ],
1145
- "type": 10,
1146
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1147
- }
1148
- },
1149
- {
1150
- "body": {
1151
- "typeParameterInstantiation": [],
1152
- "type": 6
1153
- }
1154
- },
1155
- {
1156
- "body": {
1157
- "typeParameterInstantiation": [],
1158
- "type": 6
1159
- }
1160
- },
1161
- {
1162
- "reference": 2,
1163
- "body": {
1164
- "typeParameterInstantiation": [],
1165
- "type": 10,
1166
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
1167
- }
1168
- }
1169
- ],
1170
- "returns": [
1171
- {
1172
- "body": {
1173
- "typeParameterInstantiation": [
1174
- {
1175
- "typeParameterInstantiation": [
1176
- {
1177
- "typeParameterInstantiation": [],
1178
- "type": 11,
1179
- "typeParameter": 0
1180
- },
1181
- {
1182
- "typeParameterInstantiation": [],
1183
- "type": 11,
1184
- "typeParameter": 1
1185
- }
1186
- ],
1187
- "type": 10,
1188
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::WISPLP"
1189
- }
1190
- ],
1191
- "type": 10,
1192
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1193
- }
1194
- }
1195
- ],
1196
- "name": "create_pool",
1197
- "visibility": 2,
1198
- "isEntry": false
1199
- },
1200
- {
1201
- "typeParameters": [],
1202
- "parameters": [
1203
- {
1204
- "body": {
1205
- "typeParameterInstantiation": [],
1206
- "type": 10,
1207
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
1208
- }
1209
- },
1210
- {
1211
- "body": {
1212
- "typeParameterInstantiation": [],
1213
- "type": 10,
1214
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
1215
- }
1216
- }
1217
- ],
1218
- "returns": [
1219
- {
1220
- "body": {
1221
- "typeParameterInstantiation": [],
1222
- "type": 10,
1223
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolName"
1224
- }
1225
- }
1226
- ],
1227
- "name": "create_pool_name",
1228
- "visibility": 2,
1229
- "isEntry": false
1230
- },
1231
- {
1232
- "typeParameters": [
1233
- {
1234
- "constraints": []
1235
- },
1236
- {
1237
- "constraints": []
1238
- }
1239
- ],
1240
- "parameters": [
1241
- {
1242
- "reference": 1,
1243
- "body": {
1244
- "typeParameterInstantiation": [
1245
- {
1246
- "typeParameterInstantiation": [],
1247
- "type": 11,
1248
- "typeParameter": 0
1249
- },
1250
- {
1251
- "typeParameterInstantiation": [],
1252
- "type": 11,
1253
- "typeParameter": 1
1254
- }
1255
- ],
1256
- "type": 10,
1257
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1258
- }
1259
- }
1260
- ],
1261
- "returns": [
1262
- {
1263
- "body": {
1264
- "typeParameterInstantiation": [],
1265
- "type": 6
1266
- }
1267
- },
1268
- {
1269
- "body": {
1270
- "typeParameterInstantiation": [],
1271
- "type": 6
1272
- }
1273
- },
1274
- {
1275
- "body": {
1276
- "typeParameterInstantiation": [],
1277
- "type": 6
1278
- }
1279
- }
1280
- ],
1281
- "name": "get_amounts",
1282
- "visibility": 2,
1283
- "isEntry": false
1284
- },
1285
- {
1286
- "typeParameters": [
1287
- {
1288
- "constraints": []
1289
- },
1290
- {
1291
- "constraints": []
1292
- }
1293
- ],
1294
- "parameters": [
1295
- {
1296
- "reference": 1,
1297
- "body": {
1298
- "typeParameterInstantiation": [
1299
- {
1300
- "typeParameterInstantiation": [],
1301
- "type": 11,
1302
- "typeParameter": 0
1303
- },
1304
- {
1305
- "typeParameterInstantiation": [],
1306
- "type": 11,
1307
- "typeParameter": 1
1308
- }
1309
- ],
1310
- "type": 10,
1311
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1312
- }
1313
- },
1314
- {
1315
- "body": {
1316
- "typeParameterInstantiation": [],
1317
- "type": 6
1318
- }
1319
- },
1320
- {
1321
- "body": {
1322
- "typeParameterInstantiation": [],
1323
- "type": 2
1324
- }
1325
- }
1326
- ],
1327
- "returns": [
1328
- {
1329
- "body": {
1330
- "typeParameterInstantiation": [],
1331
- "type": 6
1332
- }
1333
- }
1334
- ],
1335
- "name": "get_input_amount",
1336
- "visibility": 2,
1337
- "isEntry": false
1338
- },
1339
- {
1340
- "typeParameters": [
1341
- {
1342
- "constraints": []
1343
- },
1344
- {
1345
- "constraints": []
1346
- }
1347
- ],
1348
- "parameters": [
1349
- {
1350
- "reference": 1,
1351
- "body": {
1352
- "typeParameterInstantiation": [
1353
- {
1354
- "typeParameterInstantiation": [],
1355
- "type": 11,
1356
- "typeParameter": 0
1357
- },
1358
- {
1359
- "typeParameterInstantiation": [],
1360
- "type": 11,
1361
- "typeParameter": 1
1362
- }
1363
- ],
1364
- "type": 10,
1365
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1366
- }
1367
- },
1368
- {
1369
- "body": {
1370
- "typeParameterInstantiation": [],
1371
- "type": 6
1372
- }
1373
- },
1374
- {
1375
- "body": {
1376
- "typeParameterInstantiation": [],
1377
- "type": 2
1378
- }
1379
- }
1380
- ],
1381
- "returns": [
1382
- {
1383
- "body": {
1384
- "typeParameterInstantiation": [],
1385
- "type": 6
1386
- }
1387
- }
1388
- ],
1389
- "name": "get_output_amount",
1390
- "visibility": 2,
1391
- "isEntry": false
1392
- },
1393
- {
1394
- "typeParameters": [
1395
- {
1396
- "constraints": []
1397
- },
1398
- {
1399
- "constraints": []
1400
- }
1401
- ],
1402
- "parameters": [
1403
- {
1404
- "reference": 1,
1405
- "body": {
1406
- "typeParameterInstantiation": [
1407
- {
1408
- "typeParameterInstantiation": [],
1409
- "type": 11,
1410
- "typeParameter": 0
1411
- },
1412
- {
1413
- "typeParameterInstantiation": [],
1414
- "type": 11,
1415
- "typeParameter": 1
1416
- }
1417
- ],
1418
- "type": 10,
1419
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1420
- }
1421
- }
1422
- ],
1423
- "returns": [
1424
- {
1425
- "body": {
1426
- "typeParameterInstantiation": [],
1427
- "type": 6
1428
- }
1429
- },
1430
- {
1431
- "body": {
1432
- "typeParameterInstantiation": [],
1433
- "type": 6
1434
- }
1435
- },
1436
- {
1437
- "body": {
1438
- "typeParameterInstantiation": [],
1439
- "type": 6
1440
- }
1441
- },
1442
- {
1443
- "body": {
1444
- "typeParameterInstantiation": [],
1445
- "type": 6
1446
- }
1447
- },
1448
- {
1449
- "body": {
1450
- "typeParameterInstantiation": [],
1451
- "type": 7
1452
- }
1453
- }
1454
- ],
1455
- "name": "get_pool_data",
1456
- "visibility": 2,
1457
- "isEntry": false
1458
- },
1459
- {
1460
- "typeParameters": [],
1461
- "parameters": [
1462
- {
1463
- "reference": 2,
1464
- "body": {
1465
- "typeParameterInstantiation": [],
1466
- "type": 10,
1467
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
1468
- }
1469
- }
1470
- ],
1471
- "returns": [],
1472
- "name": "init",
1473
- "visibility": 1,
1474
- "isEntry": false
1475
- },
1476
- {
1477
- "typeParameters": [
1478
- {
1479
- "constraints": []
1480
- },
1481
- {
1482
- "constraints": []
1483
- }
1484
- ],
1485
- "parameters": [
1486
- {
1487
- "reference": 1,
1488
- "body": {
1489
- "typeParameterInstantiation": [],
1490
- "type": 10,
1491
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
1492
- }
1493
- }
1494
- ],
1495
- "returns": [
1496
- {
1497
- "body": {
1498
- "typeParameterInstantiation": [],
1499
- "type": 2
1500
- }
1501
- }
1502
- ],
1503
- "name": "is_pool_created",
1504
- "visibility": 2,
1505
- "isEntry": false
1506
- },
1507
- {
1508
- "typeParameters": [
1509
- {
1510
- "constraints": []
1511
- },
1512
- {
1513
- "constraints": []
1514
- }
1515
- ],
1516
- "parameters": [
1517
- {
1518
- "reference": 1,
1519
- "body": {
1520
- "typeParameterInstantiation": [],
1521
- "type": 10,
1522
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
1523
- }
1524
- }
1525
- ],
1526
- "returns": [
1527
- {
1528
- "body": {
1529
- "typeParameterInstantiation": [],
1530
- "type": 2
1531
- }
1532
- }
1533
- ],
1534
- "name": "is_pool_created_sorted",
1535
- "visibility": 2,
1536
- "isEntry": false
1537
- },
1538
- {
1539
- "typeParameters": [
1540
- {
1541
- "constraints": []
1542
- },
1543
- {
1544
- "constraints": []
1545
- }
1546
- ],
1547
- "parameters": [
1548
- {
1549
- "reference": 2,
1550
- "body": {
1551
- "typeParameterInstantiation": [
1552
- {
1553
- "typeParameterInstantiation": [],
1554
- "type": 11,
1555
- "typeParameter": 0
1556
- },
1557
- {
1558
- "typeParameterInstantiation": [],
1559
- "type": 11,
1560
- "typeParameter": 1
1561
- }
1562
- ],
1563
- "type": 10,
1564
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1565
- }
1566
- },
1567
- {
1568
- "body": {
1569
- "typeParameterInstantiation": [],
1570
- "type": 1
1571
- }
1572
- },
1573
- {
1574
- "body": {
1575
- "typeParameterInstantiation": [],
1576
- "type": 6
1577
- }
1578
- },
1579
- {
1580
- "body": {
1581
- "typeParameterInstantiation": [],
1582
- "type": 6
1583
- }
1584
- },
1585
- {
1586
- "body": {
1587
- "typeParameterInstantiation": [],
1588
- "type": 6
1589
- }
1590
- },
1591
- {
1592
- "reference": 2,
1593
- "body": {
1594
- "typeParameterInstantiation": [],
1595
- "type": 10,
1596
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
1597
- }
1598
- }
1599
- ],
1600
- "returns": [
1601
- {
1602
- "body": {
1603
- "typeParameterInstantiation": [],
1604
- "type": 2
1605
- }
1606
- },
1607
- {
1608
- "body": {
1609
- "typeParameterInstantiation": [],
1610
- "type": 6
1611
- }
1612
- }
1613
- ],
1614
- "name": "mint_fee",
1615
- "visibility": 1,
1616
- "isEntry": false
1617
- },
1618
- {
1619
- "typeParameters": [
1620
- {
1621
- "constraints": []
1622
- },
1623
- {
1624
- "constraints": []
1625
- }
1626
- ],
1627
- "parameters": [
1628
- {
1629
- "reference": 2,
1630
- "body": {
1631
- "typeParameterInstantiation": [
1632
- {
1633
- "typeParameterInstantiation": [],
1634
- "type": 11,
1635
- "typeParameter": 0
1636
- },
1637
- {
1638
- "typeParameterInstantiation": [],
1639
- "type": 11,
1640
- "typeParameter": 1
1641
- }
1642
- ],
1643
- "type": 10,
1644
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1645
- }
1646
- },
1647
- {
1648
- "reference": 2,
1649
- "body": {
1650
- "typeParameterInstantiation": [
1651
- {
1652
- "typeParameterInstantiation": [],
1653
- "type": 11,
1654
- "typeParameter": 0
1655
- }
1656
- ],
1657
- "type": 10,
1658
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1659
- }
1660
- },
1661
- {
1662
- "reference": 2,
1663
- "body": {
1664
- "typeParameterInstantiation": [
1665
- {
1666
- "typeParameterInstantiation": [],
1667
- "type": 11,
1668
- "typeParameter": 1
1669
- }
1670
- ],
1671
- "type": 10,
1672
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1673
- }
1674
- },
1675
- {
1676
- "body": {
1677
- "typeParameterInstantiation": [],
1678
- "type": 6
1679
- }
1680
- },
1681
- {
1682
- "body": {
1683
- "typeParameterInstantiation": [],
1684
- "type": 2
1685
- }
1686
- },
1687
- {
1688
- "reference": 2,
1689
- "body": {
1690
- "typeParameterInstantiation": [],
1691
- "type": 10,
1692
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
1693
- }
1694
- }
1695
- ],
1696
- "returns": [],
1697
- "name": "process_swap_exact_input",
1698
- "visibility": 2,
1699
- "isEntry": false
1700
- },
1701
- {
1702
- "typeParameters": [
1703
- {
1704
- "constraints": []
1705
- },
1706
- {
1707
- "constraints": []
1708
- }
1709
- ],
1710
- "parameters": [
1711
- {
1712
- "reference": 2,
1713
- "body": {
1714
- "typeParameterInstantiation": [
1715
- {
1716
- "typeParameterInstantiation": [],
1717
- "type": 11,
1718
- "typeParameter": 0
1719
- },
1720
- {
1721
- "typeParameterInstantiation": [],
1722
- "type": 11,
1723
- "typeParameter": 1
1724
- }
1725
- ],
1726
- "type": 10,
1727
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1728
- }
1729
- },
1730
- {
1731
- "reference": 2,
1732
- "body": {
1733
- "typeParameterInstantiation": [
1734
- {
1735
- "typeParameterInstantiation": [],
1736
- "type": 11,
1737
- "typeParameter": 0
1738
- }
1739
- ],
1740
- "type": 10,
1741
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1742
- }
1743
- },
1744
- {
1745
- "reference": 2,
1746
- "body": {
1747
- "typeParameterInstantiation": [
1748
- {
1749
- "typeParameterInstantiation": [],
1750
- "type": 11,
1751
- "typeParameter": 1
1752
- }
1753
- ],
1754
- "type": 10,
1755
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1756
- }
1757
- },
1758
- {
1759
- "body": {
1760
- "typeParameterInstantiation": [],
1761
- "type": 6
1762
- }
1763
- },
1764
- {
1765
- "body": {
1766
- "typeParameterInstantiation": [],
1767
- "type": 2
1768
- }
1769
- },
1770
- {
1771
- "reference": 2,
1772
- "body": {
1773
- "typeParameterInstantiation": [],
1774
- "type": 10,
1775
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
1776
- }
1777
- }
1778
- ],
1779
- "returns": [],
1780
- "name": "process_swap_exact_output",
1781
- "visibility": 2,
1782
- "isEntry": false
1783
- },
1784
- {
1785
- "typeParameters": [
1786
- {
1787
- "constraints": []
1788
- },
1789
- {
1790
- "constraints": []
1791
- }
1792
- ],
1793
- "parameters": [
1794
- {
1795
- "reference": 2,
1796
- "body": {
1797
- "typeParameterInstantiation": [],
1798
- "type": 10,
1799
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
1800
- }
1801
- },
1802
- {
1803
- "reference": 2,
1804
- "body": {
1805
- "typeParameterInstantiation": [
1806
- {
1807
- "typeParameterInstantiation": [
1808
- {
1809
- "typeParameterInstantiation": [],
1810
- "type": 11,
1811
- "typeParameter": 0
1812
- },
1813
- {
1814
- "typeParameterInstantiation": [],
1815
- "type": 11,
1816
- "typeParameter": 1
1817
- }
1818
- ],
1819
- "type": 10,
1820
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::WISPLP"
1821
- }
1822
- ],
1823
- "type": 10,
1824
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1825
- }
1826
- },
1827
- {
1828
- "body": {
1829
- "typeParameterInstantiation": [],
1830
- "type": 6
1831
- }
1832
- },
1833
- {
1834
- "body": {
1835
- "typeParameterInstantiation": [],
1836
- "type": 6
1837
- }
1838
- },
1839
- {
1840
- "body": {
1841
- "typeParameterInstantiation": [],
1842
- "type": 6
1843
- }
1844
- },
1845
- {
1846
- "reference": 2,
1847
- "body": {
1848
- "typeParameterInstantiation": [],
1849
- "type": 10,
1850
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
1851
- }
1852
- }
1853
- ],
1854
- "returns": [
1855
- {
1856
- "body": {
1857
- "typeParameterInstantiation": [
1858
- {
1859
- "typeParameterInstantiation": [],
1860
- "type": 11,
1861
- "typeParameter": 0
1862
- }
1863
- ],
1864
- "type": 10,
1865
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1866
- }
1867
- },
1868
- {
1869
- "body": {
1870
- "typeParameterInstantiation": [
1871
- {
1872
- "typeParameterInstantiation": [],
1873
- "type": 11,
1874
- "typeParameter": 1
1875
- }
1876
- ],
1877
- "type": 10,
1878
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1879
- }
1880
- }
1881
- ],
1882
- "name": "remove_liquidity",
1883
- "visibility": 2,
1884
- "isEntry": false
1885
- },
1886
- {
1887
- "typeParameters": [],
1888
- "parameters": [
1889
- {
1890
- "reference": 2,
1891
- "body": {
1892
- "typeParameterInstantiation": [],
1893
- "type": 10,
1894
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
1895
- }
1896
- },
1897
- {
1898
- "body": {
1899
- "typeParameterInstantiation": [],
1900
- "type": 1
1901
- }
1902
- },
1903
- {
1904
- "reference": 2,
1905
- "body": {
1906
- "typeParameterInstantiation": [],
1907
- "type": 10,
1908
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
1909
- }
1910
- }
1911
- ],
1912
- "returns": [],
1913
- "name": "set_fee_to",
1914
- "visibility": 1,
1915
- "isEntry": false
1916
- },
1917
- {
1918
- "typeParameters": [],
1919
- "parameters": [
1920
- {
1921
- "reference": 1,
1922
- "body": {
1923
- "typeParameterInstantiation": [],
1924
- "type": 10,
1925
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::ControllerCap"
1926
- }
1927
- },
1928
- {
1929
- "reference": 2,
1930
- "body": {
1931
- "typeParameterInstantiation": [],
1932
- "type": 10,
1933
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
1934
- }
1935
- },
1936
- {
1937
- "body": {
1938
- "typeParameterInstantiation": [],
1939
- "type": 1
1940
- }
1941
- },
1942
- {
1943
- "reference": 2,
1944
- "body": {
1945
- "typeParameterInstantiation": [],
1946
- "type": 10,
1947
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
1948
- }
1949
- }
1950
- ],
1951
- "returns": [],
1952
- "name": "set_fee_to_",
1953
- "visibility": 2,
1954
- "isEntry": true
1955
- },
1956
- {
1957
- "typeParameters": [
1958
- {
1959
- "constraints": []
1960
- },
1961
- {
1962
- "constraints": []
1963
- }
1964
- ],
1965
- "parameters": [
1966
- {
1967
- "reference": 2,
1968
- "body": {
1969
- "typeParameterInstantiation": [
1970
- {
1971
- "typeParameterInstantiation": [],
1972
- "type": 11,
1973
- "typeParameter": 0
1974
- },
1975
- {
1976
- "typeParameterInstantiation": [],
1977
- "type": 11,
1978
- "typeParameter": 1
1979
- }
1980
- ],
1981
- "type": 10,
1982
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::Pool"
1983
- }
1984
- },
1985
- {
1986
- "reference": 2,
1987
- "body": {
1988
- "typeParameterInstantiation": [
1989
- {
1990
- "typeParameterInstantiation": [],
1991
- "type": 11,
1992
- "typeParameter": 0
1993
- }
1994
- ],
1995
- "type": 10,
1996
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
1997
- }
1998
- },
1999
- {
2000
- "reference": 2,
2001
- "body": {
2002
- "typeParameterInstantiation": [
2003
- {
2004
- "typeParameterInstantiation": [],
2005
- "type": 11,
2006
- "typeParameter": 1
2007
- }
2008
- ],
2009
- "type": 10,
2010
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2011
- }
2012
- },
2013
- {
2014
- "body": {
2015
- "typeParameterInstantiation": [],
2016
- "type": 6
2017
- }
2018
- },
2019
- {
2020
- "body": {
2021
- "typeParameterInstantiation": [],
2022
- "type": 6
2023
- }
2024
- },
2025
- {
2026
- "body": {
2027
- "typeParameterInstantiation": [],
2028
- "type": 2
2029
- }
2030
- },
2031
- {
2032
- "reference": 2,
2033
- "body": {
2034
- "typeParameterInstantiation": [],
2035
- "type": 10,
2036
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2037
- }
2038
- }
2039
- ],
2040
- "returns": [],
2041
- "name": "swap",
2042
- "visibility": 1,
2043
- "isEntry": false
2044
- },
2045
- {
2046
- "typeParameters": [
2047
- {
2048
- "constraints": []
2049
- },
2050
- {
2051
- "constraints": []
2052
- }
2053
- ],
2054
- "parameters": [
2055
- {
2056
- "reference": 2,
2057
- "body": {
2058
- "typeParameterInstantiation": [],
2059
- "type": 10,
2060
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
2061
- }
2062
- },
2063
- {
2064
- "reference": 2,
2065
- "body": {
2066
- "typeParameterInstantiation": [
2067
- {
2068
- "typeParameterInstantiation": [],
2069
- "type": 11,
2070
- "typeParameter": 0
2071
- }
2072
- ],
2073
- "type": 10,
2074
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2075
- }
2076
- },
2077
- {
2078
- "body": {
2079
- "typeParameterInstantiation": [],
2080
- "type": 6
2081
- }
2082
- },
2083
- {
2084
- "body": {
2085
- "typeParameterInstantiation": [],
2086
- "type": 6
2087
- }
2088
- },
2089
- {
2090
- "reference": 2,
2091
- "body": {
2092
- "typeParameterInstantiation": [],
2093
- "type": 10,
2094
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2095
- }
2096
- }
2097
- ],
2098
- "returns": [
2099
- {
2100
- "body": {
2101
- "typeParameterInstantiation": [
2102
- {
2103
- "typeParameterInstantiation": [],
2104
- "type": 11,
2105
- "typeParameter": 1
2106
- }
2107
- ],
2108
- "type": 10,
2109
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2110
- }
2111
- }
2112
- ],
2113
- "name": "swap_exact_first_to_second",
2114
- "visibility": 2,
2115
- "isEntry": false
2116
- },
2117
- {
2118
- "typeParameters": [
2119
- {
2120
- "constraints": []
2121
- },
2122
- {
2123
- "constraints": []
2124
- }
2125
- ],
2126
- "parameters": [
2127
- {
2128
- "reference": 2,
2129
- "body": {
2130
- "typeParameterInstantiation": [],
2131
- "type": 10,
2132
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
2133
- }
2134
- },
2135
- {
2136
- "reference": 2,
2137
- "body": {
2138
- "typeParameterInstantiation": [
2139
- {
2140
- "typeParameterInstantiation": [],
2141
- "type": 11,
2142
- "typeParameter": 1
2143
- }
2144
- ],
2145
- "type": 10,
2146
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2147
- }
2148
- },
2149
- {
2150
- "body": {
2151
- "typeParameterInstantiation": [],
2152
- "type": 6
2153
- }
2154
- },
2155
- {
2156
- "body": {
2157
- "typeParameterInstantiation": [],
2158
- "type": 6
2159
- }
2160
- },
2161
- {
2162
- "reference": 2,
2163
- "body": {
2164
- "typeParameterInstantiation": [],
2165
- "type": 10,
2166
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2167
- }
2168
- }
2169
- ],
2170
- "returns": [
2171
- {
2172
- "body": {
2173
- "typeParameterInstantiation": [
2174
- {
2175
- "typeParameterInstantiation": [],
2176
- "type": 11,
2177
- "typeParameter": 0
2178
- }
2179
- ],
2180
- "type": 10,
2181
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2182
- }
2183
- }
2184
- ],
2185
- "name": "swap_exact_second_to_first",
2186
- "visibility": 2,
2187
- "isEntry": false
2188
- },
2189
- {
2190
- "typeParameters": [
2191
- {
2192
- "constraints": []
2193
- },
2194
- {
2195
- "constraints": []
2196
- }
2197
- ],
2198
- "parameters": [
2199
- {
2200
- "reference": 2,
2201
- "body": {
2202
- "typeParameterInstantiation": [],
2203
- "type": 10,
2204
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
2205
- }
2206
- },
2207
- {
2208
- "reference": 2,
2209
- "body": {
2210
- "typeParameterInstantiation": [
2211
- {
2212
- "typeParameterInstantiation": [],
2213
- "type": 11,
2214
- "typeParameter": 0
2215
- }
2216
- ],
2217
- "type": 10,
2218
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2219
- }
2220
- },
2221
- {
2222
- "body": {
2223
- "typeParameterInstantiation": [],
2224
- "type": 6
2225
- }
2226
- },
2227
- {
2228
- "body": {
2229
- "typeParameterInstantiation": [],
2230
- "type": 6
2231
- }
2232
- },
2233
- {
2234
- "reference": 2,
2235
- "body": {
2236
- "typeParameterInstantiation": [],
2237
- "type": 10,
2238
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2239
- }
2240
- }
2241
- ],
2242
- "returns": [
2243
- {
2244
- "body": {
2245
- "typeParameterInstantiation": [
2246
- {
2247
- "typeParameterInstantiation": [],
2248
- "type": 11,
2249
- "typeParameter": 1
2250
- }
2251
- ],
2252
- "type": 10,
2253
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2254
- }
2255
- }
2256
- ],
2257
- "name": "swap_first_to_exact_second",
2258
- "visibility": 2,
2259
- "isEntry": false
2260
- },
2261
- {
2262
- "typeParameters": [
2263
- {
2264
- "constraints": []
2265
- },
2266
- {
2267
- "constraints": []
2268
- }
2269
- ],
2270
- "parameters": [
2271
- {
2272
- "reference": 2,
2273
- "body": {
2274
- "typeParameterInstantiation": [],
2275
- "type": 10,
2276
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
2277
- }
2278
- },
2279
- {
2280
- "reference": 2,
2281
- "body": {
2282
- "typeParameterInstantiation": [
2283
- {
2284
- "typeParameterInstantiation": [],
2285
- "type": 11,
2286
- "typeParameter": 1
2287
- }
2288
- ],
2289
- "type": 10,
2290
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2291
- }
2292
- },
2293
- {
2294
- "body": {
2295
- "typeParameterInstantiation": [],
2296
- "type": 6
2297
- }
2298
- },
2299
- {
2300
- "body": {
2301
- "typeParameterInstantiation": [],
2302
- "type": 6
2303
- }
2304
- },
2305
- {
2306
- "reference": 2,
2307
- "body": {
2308
- "typeParameterInstantiation": [],
2309
- "type": 10,
2310
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2311
- }
2312
- }
2313
- ],
2314
- "returns": [
2315
- {
2316
- "body": {
2317
- "typeParameterInstantiation": [
2318
- {
2319
- "typeParameterInstantiation": [],
2320
- "type": 11,
2321
- "typeParameter": 0
2322
- }
2323
- ],
2324
- "type": 10,
2325
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2326
- }
2327
- }
2328
- ],
2329
- "name": "swap_second_to_exact_first",
2330
- "visibility": 2,
2331
- "isEntry": false
2332
- },
2333
- {
2334
- "typeParameters": [
2335
- {
2336
- "constraints": []
2337
- },
2338
- {
2339
- "constraints": []
2340
- }
2341
- ],
2342
- "parameters": [
2343
- {
2344
- "reference": 2,
2345
- "body": {
2346
- "typeParameterInstantiation": [],
2347
- "type": 10,
2348
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
2349
- }
2350
- },
2351
- {
2352
- "reference": 2,
2353
- "body": {
2354
- "typeParameterInstantiation": [
2355
- {
2356
- "typeParameterInstantiation": [],
2357
- "type": 11,
2358
- "typeParameter": 0
2359
- }
2360
- ],
2361
- "type": 10,
2362
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2363
- }
2364
- },
2365
- {
2366
- "body": {
2367
- "typeParameterInstantiation": [],
2368
- "type": 6
2369
- }
2370
- },
2371
- {
2372
- "reference": 2,
2373
- "body": {
2374
- "typeParameterInstantiation": [],
2375
- "type": 10,
2376
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2377
- }
2378
- }
2379
- ],
2380
- "returns": [
2381
- {
2382
- "body": {
2383
- "typeParameterInstantiation": [
2384
- {
2385
- "typeParameterInstantiation": [
2386
- {
2387
- "typeParameterInstantiation": [],
2388
- "type": 11,
2389
- "typeParameter": 0
2390
- },
2391
- {
2392
- "typeParameterInstantiation": [],
2393
- "type": 11,
2394
- "typeParameter": 1
2395
- }
2396
- ],
2397
- "type": 10,
2398
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::WISPLP"
2399
- }
2400
- ],
2401
- "type": 10,
2402
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2403
- }
2404
- },
2405
- {
2406
- "body": {
2407
- "typeParameterInstantiation": [
2408
- {
2409
- "typeParameterInstantiation": [],
2410
- "type": 11,
2411
- "typeParameter": 1
2412
- }
2413
- ],
2414
- "type": 10,
2415
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2416
- }
2417
- }
2418
- ],
2419
- "name": "zap_in_first",
2420
- "visibility": 2,
2421
- "isEntry": false
2422
- },
2423
- {
2424
- "typeParameters": [
2425
- {
2426
- "constraints": []
2427
- },
2428
- {
2429
- "constraints": []
2430
- }
2431
- ],
2432
- "parameters": [
2433
- {
2434
- "reference": 2,
2435
- "body": {
2436
- "typeParameterInstantiation": [],
2437
- "type": 10,
2438
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
2439
- }
2440
- },
2441
- {
2442
- "reference": 2,
2443
- "body": {
2444
- "typeParameterInstantiation": [
2445
- {
2446
- "typeParameterInstantiation": [],
2447
- "type": 11,
2448
- "typeParameter": 1
2449
- }
2450
- ],
2451
- "type": 10,
2452
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2453
- }
2454
- },
2455
- {
2456
- "body": {
2457
- "typeParameterInstantiation": [],
2458
- "type": 6
2459
- }
2460
- },
2461
- {
2462
- "reference": 2,
2463
- "body": {
2464
- "typeParameterInstantiation": [],
2465
- "type": 10,
2466
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2467
- }
2468
- }
2469
- ],
2470
- "returns": [
2471
- {
2472
- "body": {
2473
- "typeParameterInstantiation": [
2474
- {
2475
- "typeParameterInstantiation": [
2476
- {
2477
- "typeParameterInstantiation": [],
2478
- "type": 11,
2479
- "typeParameter": 0
2480
- },
2481
- {
2482
- "typeParameterInstantiation": [],
2483
- "type": 11,
2484
- "typeParameter": 1
2485
- }
2486
- ],
2487
- "type": 10,
2488
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::WISPLP"
2489
- }
2490
- ],
2491
- "type": 10,
2492
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2493
- }
2494
- },
2495
- {
2496
- "body": {
2497
- "typeParameterInstantiation": [
2498
- {
2499
- "typeParameterInstantiation": [],
2500
- "type": 11,
2501
- "typeParameter": 0
2502
- }
2503
- ],
2504
- "type": 10,
2505
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2506
- }
2507
- }
2508
- ],
2509
- "name": "zap_in_second",
2510
- "visibility": 2,
2511
- "isEntry": false
2512
- }
2513
- ],
2514
- "name": "pool"
2515
- }
2516
- },
2517
- {
2518
- "address": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
2519
- "module": {
2520
- "datatypes": [],
2521
- "functions": [
2522
- {
2523
- "typeParameters": [
2524
- {
2525
- "constraints": []
2526
- }
2527
- ],
2528
- "parameters": [
2529
- {
2530
- "body": {
2531
- "typeParameterInstantiation": [
2532
- {
2533
- "typeParameterInstantiation": [],
2534
- "type": 11,
2535
- "typeParameter": 0
2536
- }
2537
- ],
2538
- "type": 10,
2539
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2540
- }
2541
- },
2542
- {
2543
- "reference": 2,
2544
- "body": {
2545
- "typeParameterInstantiation": [],
2546
- "type": 10,
2547
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2548
- }
2549
- }
2550
- ],
2551
- "returns": [],
2552
- "name": "execute_return_token",
2553
- "visibility": 2,
2554
- "isEntry": false
2555
- },
2556
- {
2557
- "typeParameters": [],
2558
- "parameters": [
2559
- {
2560
- "body": {
2561
- "typeParameterInstantiation": [],
2562
- "type": 6
2563
- }
2564
- },
2565
- {
2566
- "body": {
2567
- "typeParameterInstantiation": [],
2568
- "type": 6
2569
- }
2570
- },
2571
- {
2572
- "body": {
2573
- "typeParameterInstantiation": [],
2574
- "type": 6
2575
- }
2576
- },
2577
- {
2578
- "body": {
2579
- "typeParameterInstantiation": [],
2580
- "type": 6
2581
- }
2582
- }
2583
- ],
2584
- "returns": [
2585
- {
2586
- "body": {
2587
- "typeParameterInstantiation": [],
2588
- "type": 6
2589
- }
2590
- }
2591
- ],
2592
- "name": "get_input_price",
2593
- "visibility": 2,
2594
- "isEntry": false
2595
- },
2596
- {
2597
- "typeParameters": [],
2598
- "parameters": [
2599
- {
2600
- "body": {
2601
- "typeParameterInstantiation": [],
2602
- "type": 6
2603
- }
2604
- },
2605
- {
2606
- "body": {
2607
- "typeParameterInstantiation": [],
2608
- "type": 6
2609
- }
2610
- }
2611
- ],
2612
- "returns": [
2613
- {
2614
- "body": {
2615
- "typeParameterInstantiation": [],
2616
- "type": 6
2617
- }
2618
- }
2619
- ],
2620
- "name": "get_optimal_zap_in_amount",
2621
- "visibility": 2,
2622
- "isEntry": false
2623
- },
2624
- {
2625
- "typeParameters": [],
2626
- "parameters": [
2627
- {
2628
- "body": {
2629
- "typeParameterInstantiation": [],
2630
- "type": 6
2631
- }
2632
- },
2633
- {
2634
- "body": {
2635
- "typeParameterInstantiation": [],
2636
- "type": 6
2637
- }
2638
- },
2639
- {
2640
- "body": {
2641
- "typeParameterInstantiation": [],
2642
- "type": 6
2643
- }
2644
- },
2645
- {
2646
- "body": {
2647
- "typeParameterInstantiation": [],
2648
- "type": 6
2649
- }
2650
- }
2651
- ],
2652
- "returns": [
2653
- {
2654
- "body": {
2655
- "typeParameterInstantiation": [],
2656
- "type": 6
2657
- }
2658
- }
2659
- ],
2660
- "name": "get_output_price",
2661
- "visibility": 2,
2662
- "isEntry": false
2663
- },
2664
- {
2665
- "typeParameters": [
2666
- {
2667
- "constraints": []
2668
- },
2669
- {
2670
- "constraints": []
2671
- },
2672
- {
2673
- "constraints": []
2674
- }
2675
- ],
2676
- "parameters": [],
2677
- "returns": [
2678
- {
2679
- "body": {
2680
- "typeParameterInstantiation": [],
2681
- "type": 10,
2682
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
2683
- }
2684
- },
2685
- {
2686
- "body": {
2687
- "typeParameterInstantiation": [],
2688
- "type": 10,
2689
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
2690
- }
2691
- },
2692
- {
2693
- "body": {
2694
- "typeParameterInstantiation": [],
2695
- "type": 10,
2696
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
2697
- }
2698
- }
2699
- ],
2700
- "name": "get_triple_type",
2701
- "visibility": 2,
2702
- "isEntry": false
2703
- },
2704
- {
2705
- "typeParameters": [
2706
- {
2707
- "constraints": []
2708
- },
2709
- {
2710
- "constraints": []
2711
- }
2712
- ],
2713
- "parameters": [],
2714
- "returns": [
2715
- {
2716
- "body": {
2717
- "typeParameterInstantiation": [],
2718
- "type": 10,
2719
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
2720
- }
2721
- },
2722
- {
2723
- "body": {
2724
- "typeParameterInstantiation": [],
2725
- "type": 10,
2726
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
2727
- }
2728
- }
2729
- ],
2730
- "name": "get_type",
2731
- "visibility": 2,
2732
- "isEntry": false
2733
- },
2734
- {
2735
- "typeParameters": [],
2736
- "parameters": [
2737
- {
2738
- "body": {
2739
- "typeParameterInstantiation": [],
2740
- "type": 6
2741
- }
2742
- },
2743
- {
2744
- "body": {
2745
- "typeParameterInstantiation": [],
2746
- "type": 6
2747
- }
2748
- },
2749
- {
2750
- "body": {
2751
- "typeParameterInstantiation": [],
2752
- "type": 6
2753
- }
2754
- }
2755
- ],
2756
- "returns": [
2757
- {
2758
- "body": {
2759
- "typeParameterInstantiation": [],
2760
- "type": 6
2761
- }
2762
- }
2763
- ],
2764
- "name": "quote",
2765
- "visibility": 2,
2766
- "isEntry": false
2767
- },
2768
- {
2769
- "typeParameters": [],
2770
- "parameters": [
2771
- {
2772
- "reference": 1,
2773
- "body": {
2774
- "typeParameterInstantiation": [],
2775
- "type": 10,
2776
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
2777
- }
2778
- },
2779
- {
2780
- "reference": 1,
2781
- "body": {
2782
- "typeParameterInstantiation": [],
2783
- "type": 10,
2784
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000001::type_name::TypeName"
2785
- }
2786
- }
2787
- ],
2788
- "returns": [
2789
- {
2790
- "body": {
2791
- "typeParameterInstantiation": [],
2792
- "type": 10,
2793
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::comparator::Result"
2794
- }
2795
- }
2796
- ],
2797
- "name": "sort_token_type",
2798
- "visibility": 2,
2799
- "isEntry": false
2800
- }
2801
- ],
2802
- "name": "pool_utils"
2803
- }
2804
- },
2805
- {
2806
- "address": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a",
2807
- "module": {
2808
- "datatypes": [],
2809
- "functions": [
2810
- {
2811
- "typeParameters": [
2812
- {
2813
- "constraints": []
2814
- },
2815
- {
2816
- "constraints": []
2817
- }
2818
- ],
2819
- "parameters": [
2820
- {
2821
- "reference": 2,
2822
- "body": {
2823
- "typeParameterInstantiation": [],
2824
- "type": 10,
2825
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
2826
- }
2827
- },
2828
- {
2829
- "body": {
2830
- "typeParameterInstantiation": [
2831
- {
2832
- "typeParameterInstantiation": [
2833
- {
2834
- "typeParameterInstantiation": [],
2835
- "type": 11,
2836
- "typeParameter": 0
2837
- }
2838
- ],
2839
- "type": 10,
2840
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2841
- }
2842
- ],
2843
- "type": 9
2844
- }
2845
- },
2846
- {
2847
- "body": {
2848
- "typeParameterInstantiation": [
2849
- {
2850
- "typeParameterInstantiation": [
2851
- {
2852
- "typeParameterInstantiation": [],
2853
- "type": 11,
2854
- "typeParameter": 1
2855
- }
2856
- ],
2857
- "type": 10,
2858
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2859
- }
2860
- ],
2861
- "type": 9
2862
- }
2863
- },
2864
- {
2865
- "body": {
2866
- "typeParameterInstantiation": [],
2867
- "type": 6
2868
- }
2869
- },
2870
- {
2871
- "body": {
2872
- "typeParameterInstantiation": [],
2873
- "type": 6
2874
- }
2875
- },
2876
- {
2877
- "body": {
2878
- "typeParameterInstantiation": [],
2879
- "type": 6
2880
- }
2881
- },
2882
- {
2883
- "body": {
2884
- "typeParameterInstantiation": [],
2885
- "type": 6
2886
- }
2887
- },
2888
- {
2889
- "reference": 2,
2890
- "body": {
2891
- "typeParameterInstantiation": [],
2892
- "type": 10,
2893
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2894
- }
2895
- }
2896
- ],
2897
- "returns": [],
2898
- "name": "add_liquidity_",
2899
- "visibility": 2,
2900
- "isEntry": true
2901
- },
2902
- {
2903
- "typeParameters": [
2904
- {
2905
- "constraints": []
2906
- },
2907
- {
2908
- "constraints": []
2909
- }
2910
- ],
2911
- "parameters": [
2912
- {
2913
- "reference": 2,
2914
- "body": {
2915
- "typeParameterInstantiation": [],
2916
- "type": 10,
2917
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
2918
- }
2919
- },
2920
- {
2921
- "body": {
2922
- "typeParameterInstantiation": [
2923
- {
2924
- "typeParameterInstantiation": [
2925
- {
2926
- "typeParameterInstantiation": [],
2927
- "type": 11,
2928
- "typeParameter": 0
2929
- }
2930
- ],
2931
- "type": 10,
2932
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2933
- }
2934
- ],
2935
- "type": 9
2936
- }
2937
- },
2938
- {
2939
- "body": {
2940
- "typeParameterInstantiation": [
2941
- {
2942
- "typeParameterInstantiation": [
2943
- {
2944
- "typeParameterInstantiation": [],
2945
- "type": 11,
2946
- "typeParameter": 1
2947
- }
2948
- ],
2949
- "type": 10,
2950
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
2951
- }
2952
- ],
2953
- "type": 9
2954
- }
2955
- },
2956
- {
2957
- "body": {
2958
- "typeParameterInstantiation": [],
2959
- "type": 6
2960
- }
2961
- },
2962
- {
2963
- "body": {
2964
- "typeParameterInstantiation": [],
2965
- "type": 6
2966
- }
2967
- },
2968
- {
2969
- "reference": 2,
2970
- "body": {
2971
- "typeParameterInstantiation": [],
2972
- "type": 10,
2973
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
2974
- }
2975
- }
2976
- ],
2977
- "returns": [],
2978
- "name": "create_pool_",
2979
- "visibility": 2,
2980
- "isEntry": true
2981
- },
2982
- {
2983
- "typeParameters": [
2984
- {
2985
- "constraints": []
2986
- },
2987
- {
2988
- "constraints": []
2989
- }
2990
- ],
2991
- "parameters": [
2992
- {
2993
- "reference": 2,
2994
- "body": {
2995
- "typeParameterInstantiation": [],
2996
- "type": 10,
2997
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
2998
- }
2999
- },
3000
- {
3001
- "body": {
3002
- "typeParameterInstantiation": [
3003
- {
3004
- "typeParameterInstantiation": [
3005
- {
3006
- "typeParameterInstantiation": [
3007
- {
3008
- "typeParameterInstantiation": [],
3009
- "type": 11,
3010
- "typeParameter": 0
3011
- },
3012
- {
3013
- "typeParameterInstantiation": [],
3014
- "type": 11,
3015
- "typeParameter": 1
3016
- }
3017
- ],
3018
- "type": 10,
3019
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::WISPLP"
3020
- }
3021
- ],
3022
- "type": 10,
3023
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
3024
- }
3025
- ],
3026
- "type": 9
3027
- }
3028
- },
3029
- {
3030
- "body": {
3031
- "typeParameterInstantiation": [],
3032
- "type": 6
3033
- }
3034
- },
3035
- {
3036
- "body": {
3037
- "typeParameterInstantiation": [],
3038
- "type": 6
3039
- }
3040
- },
3041
- {
3042
- "body": {
3043
- "typeParameterInstantiation": [],
3044
- "type": 6
3045
- }
3046
- },
3047
- {
3048
- "reference": 2,
3049
- "body": {
3050
- "typeParameterInstantiation": [],
3051
- "type": 10,
3052
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
3053
- }
3054
- }
3055
- ],
3056
- "returns": [],
3057
- "name": "remove_liquidity_",
3058
- "visibility": 2,
3059
- "isEntry": true
3060
- },
3061
- {
3062
- "typeParameters": [
3063
- {
3064
- "constraints": []
3065
- },
3066
- {
3067
- "constraints": []
3068
- }
3069
- ],
3070
- "parameters": [
3071
- {
3072
- "reference": 2,
3073
- "body": {
3074
- "typeParameterInstantiation": [],
3075
- "type": 10,
3076
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
3077
- }
3078
- },
3079
- {
3080
- "body": {
3081
- "typeParameterInstantiation": [
3082
- {
3083
- "typeParameterInstantiation": [
3084
- {
3085
- "typeParameterInstantiation": [],
3086
- "type": 11,
3087
- "typeParameter": 0
3088
- }
3089
- ],
3090
- "type": 10,
3091
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
3092
- }
3093
- ],
3094
- "type": 9
3095
- }
3096
- },
3097
- {
3098
- "body": {
3099
- "typeParameterInstantiation": [],
3100
- "type": 6
3101
- }
3102
- },
3103
- {
3104
- "body": {
3105
- "typeParameterInstantiation": [],
3106
- "type": 6
3107
- }
3108
- },
3109
- {
3110
- "reference": 2,
3111
- "body": {
3112
- "typeParameterInstantiation": [],
3113
- "type": 10,
3114
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
3115
- }
3116
- }
3117
- ],
3118
- "returns": [],
3119
- "name": "swap_exact_input_",
3120
- "visibility": 2,
3121
- "isEntry": true
3122
- },
3123
- {
3124
- "typeParameters": [
3125
- {
3126
- "constraints": []
3127
- },
3128
- {
3129
- "constraints": []
3130
- },
3131
- {
3132
- "constraints": []
3133
- }
3134
- ],
3135
- "parameters": [
3136
- {
3137
- "reference": 2,
3138
- "body": {
3139
- "typeParameterInstantiation": [],
3140
- "type": 10,
3141
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
3142
- }
3143
- },
3144
- {
3145
- "body": {
3146
- "typeParameterInstantiation": [
3147
- {
3148
- "typeParameterInstantiation": [
3149
- {
3150
- "typeParameterInstantiation": [],
3151
- "type": 11,
3152
- "typeParameter": 0
3153
- }
3154
- ],
3155
- "type": 10,
3156
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
3157
- }
3158
- ],
3159
- "type": 9
3160
- }
3161
- },
3162
- {
3163
- "body": {
3164
- "typeParameterInstantiation": [],
3165
- "type": 6
3166
- }
3167
- },
3168
- {
3169
- "body": {
3170
- "typeParameterInstantiation": [],
3171
- "type": 6
3172
- }
3173
- },
3174
- {
3175
- "reference": 2,
3176
- "body": {
3177
- "typeParameterInstantiation": [],
3178
- "type": 10,
3179
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
3180
- }
3181
- }
3182
- ],
3183
- "returns": [],
3184
- "name": "swap_exact_input_doublehop_",
3185
- "visibility": 2,
3186
- "isEntry": true
3187
- },
3188
- {
3189
- "typeParameters": [
3190
- {
3191
- "constraints": []
3192
- },
3193
- {
3194
- "constraints": []
3195
- }
3196
- ],
3197
- "parameters": [
3198
- {
3199
- "reference": 2,
3200
- "body": {
3201
- "typeParameterInstantiation": [],
3202
- "type": 10,
3203
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
3204
- }
3205
- },
3206
- {
3207
- "body": {
3208
- "typeParameterInstantiation": [
3209
- {
3210
- "typeParameterInstantiation": [
3211
- {
3212
- "typeParameterInstantiation": [],
3213
- "type": 11,
3214
- "typeParameter": 0
3215
- }
3216
- ],
3217
- "type": 10,
3218
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
3219
- }
3220
- ],
3221
- "type": 9
3222
- }
3223
- },
3224
- {
3225
- "body": {
3226
- "typeParameterInstantiation": [],
3227
- "type": 6
3228
- }
3229
- },
3230
- {
3231
- "body": {
3232
- "typeParameterInstantiation": [],
3233
- "type": 6
3234
- }
3235
- },
3236
- {
3237
- "reference": 2,
3238
- "body": {
3239
- "typeParameterInstantiation": [],
3240
- "type": 10,
3241
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
3242
- }
3243
- }
3244
- ],
3245
- "returns": [],
3246
- "name": "swap_exact_output_",
3247
- "visibility": 2,
3248
- "isEntry": true
3249
- },
3250
- {
3251
- "typeParameters": [
3252
- {
3253
- "constraints": []
3254
- },
3255
- {
3256
- "constraints": []
3257
- },
3258
- {
3259
- "constraints": []
3260
- }
3261
- ],
3262
- "parameters": [
3263
- {
3264
- "reference": 2,
3265
- "body": {
3266
- "typeParameterInstantiation": [],
3267
- "type": 10,
3268
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
3269
- }
3270
- },
3271
- {
3272
- "body": {
3273
- "typeParameterInstantiation": [
3274
- {
3275
- "typeParameterInstantiation": [
3276
- {
3277
- "typeParameterInstantiation": [],
3278
- "type": 11,
3279
- "typeParameter": 0
3280
- }
3281
- ],
3282
- "type": 10,
3283
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
3284
- }
3285
- ],
3286
- "type": 9
3287
- }
3288
- },
3289
- {
3290
- "body": {
3291
- "typeParameterInstantiation": [],
3292
- "type": 6
3293
- }
3294
- },
3295
- {
3296
- "body": {
3297
- "typeParameterInstantiation": [],
3298
- "type": 6
3299
- }
3300
- },
3301
- {
3302
- "reference": 2,
3303
- "body": {
3304
- "typeParameterInstantiation": [],
3305
- "type": 10,
3306
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
3307
- }
3308
- }
3309
- ],
3310
- "returns": [],
3311
- "name": "swap_exact_output_doublehop_",
3312
- "visibility": 2,
3313
- "isEntry": true
3314
- },
3315
- {
3316
- "typeParameters": [
3317
- {
3318
- "constraints": []
3319
- },
3320
- {
3321
- "constraints": []
3322
- }
3323
- ],
3324
- "parameters": [
3325
- {
3326
- "reference": 2,
3327
- "body": {
3328
- "typeParameterInstantiation": [],
3329
- "type": 10,
3330
- "typeName": "0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a::pool::PoolRegistry"
3331
- }
3332
- },
3333
- {
3334
- "body": {
3335
- "typeParameterInstantiation": [
3336
- {
3337
- "typeParameterInstantiation": [
3338
- {
3339
- "typeParameterInstantiation": [],
3340
- "type": 11,
3341
- "typeParameter": 0
3342
- }
3343
- ],
3344
- "type": 10,
3345
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::coin::Coin"
3346
- }
3347
- ],
3348
- "type": 9
3349
- }
3350
- },
3351
- {
3352
- "body": {
3353
- "typeParameterInstantiation": [],
3354
- "type": 6
3355
- }
3356
- },
3357
- {
3358
- "reference": 2,
3359
- "body": {
3360
- "typeParameterInstantiation": [],
3361
- "type": 10,
3362
- "typeName": "0x0000000000000000000000000000000000000000000000000000000000000002::tx_context::TxContext"
3363
- }
3364
- }
3365
- ],
3366
- "returns": [],
3367
- "name": "zap_in_",
3368
- "visibility": 2,
3369
- "isEntry": true
3370
- }
3371
- ],
3372
- "name": "router"
3373
- }
3374
- }
3375
- ]