@moon-cx/sdk 0.0.0-stage → 2.0.1

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 (155) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +2 -2
  3. package/dist/adapters/sender.d.ts +88 -0
  4. package/dist/adapters/sender.d.ts.map +1 -0
  5. package/dist/adapters/sender.js +62 -0
  6. package/dist/adapters/sender.js.map +1 -0
  7. package/dist/adapters/tonclient.d.ts +13 -0
  8. package/dist/adapters/tonclient.d.ts.map +1 -0
  9. package/dist/adapters/tonclient.js +17 -0
  10. package/dist/adapters/tonclient.js.map +1 -0
  11. package/dist/api/index.d.ts +210 -0
  12. package/dist/api/index.d.ts.map +1 -0
  13. package/dist/api/index.js +364 -0
  14. package/dist/api/index.js.map +1 -0
  15. package/dist/codec/bins.d.ts +26 -0
  16. package/dist/codec/bins.d.ts.map +1 -0
  17. package/dist/codec/bins.js +67 -0
  18. package/dist/codec/bins.js.map +1 -0
  19. package/dist/codec/clmm.d.ts +87 -0
  20. package/dist/codec/clmm.d.ts.map +1 -0
  21. package/dist/codec/clmm.js +119 -0
  22. package/dist/codec/clmm.js.map +1 -0
  23. package/dist/codec/cpmm.d.ts +112 -0
  24. package/dist/codec/cpmm.d.ts.map +1 -0
  25. package/dist/codec/cpmm.js +146 -0
  26. package/dist/codec/cpmm.js.map +1 -0
  27. package/dist/codec/jetton.d.ts +30 -0
  28. package/dist/codec/jetton.d.ts.map +1 -0
  29. package/dist/codec/jetton.js +37 -0
  30. package/dist/codec/jetton.js.map +1 -0
  31. package/dist/codec/mempad.d.ts +109 -0
  32. package/dist/codec/mempad.d.ts.map +1 -0
  33. package/dist/codec/mempad.js +162 -0
  34. package/dist/codec/mempad.js.map +1 -0
  35. package/dist/core/amount.d.ts +33 -0
  36. package/dist/core/amount.d.ts.map +1 -0
  37. package/dist/core/amount.js +81 -0
  38. package/dist/core/amount.js.map +1 -0
  39. package/dist/core/asset.d.ts +82 -0
  40. package/dist/core/asset.d.ts.map +1 -0
  41. package/dist/core/asset.js +143 -0
  42. package/dist/core/asset.js.map +1 -0
  43. package/dist/core/errors.d.ts +70 -0
  44. package/dist/core/errors.d.ts.map +1 -0
  45. package/dist/core/errors.js +114 -0
  46. package/dist/core/errors.js.map +1 -0
  47. package/dist/core/fee.d.ts +36 -0
  48. package/dist/core/fee.d.ts.map +1 -0
  49. package/dist/core/fee.js +40 -0
  50. package/dist/core/fee.js.map +1 -0
  51. package/dist/core/gas.d.ts +112 -0
  52. package/dist/core/gas.d.ts.map +1 -0
  53. package/dist/core/gas.js +265 -0
  54. package/dist/core/gas.js.map +1 -0
  55. package/dist/core/percent.d.ts +27 -0
  56. package/dist/core/percent.d.ts.map +1 -0
  57. package/dist/core/percent.js +71 -0
  58. package/dist/core/percent.js.map +1 -0
  59. package/dist/core/tx.d.ts +36 -0
  60. package/dist/core/tx.d.ts.map +1 -0
  61. package/dist/core/tx.js +17 -0
  62. package/dist/core/tx.js.map +1 -0
  63. package/dist/index.d.ts +63 -0
  64. package/dist/index.d.ts.map +1 -0
  65. package/dist/index.js +41 -0
  66. package/dist/index.js.map +1 -0
  67. package/dist/jetton/index.d.ts +53 -0
  68. package/dist/jetton/index.d.ts.map +1 -0
  69. package/dist/jetton/index.js +90 -0
  70. package/dist/jetton/index.js.map +1 -0
  71. package/dist/math/clmm-swap.d.ts +80 -0
  72. package/dist/math/clmm-swap.d.ts.map +1 -0
  73. package/dist/math/clmm-swap.js +277 -0
  74. package/dist/math/clmm-swap.js.map +1 -0
  75. package/dist/math/clmm.d.ts +234 -0
  76. package/dist/math/clmm.d.ts.map +1 -0
  77. package/dist/math/clmm.js +270 -0
  78. package/dist/math/clmm.js.map +1 -0
  79. package/dist/math/cpmm.d.ts +170 -0
  80. package/dist/math/cpmm.d.ts.map +1 -0
  81. package/dist/math/cpmm.js +175 -0
  82. package/dist/math/cpmm.js.map +1 -0
  83. package/dist/math/integer.d.ts +10 -0
  84. package/dist/math/integer.d.ts.map +1 -0
  85. package/dist/math/integer.js +44 -0
  86. package/dist/math/integer.js.map +1 -0
  87. package/dist/math/q128.d.ts +45 -0
  88. package/dist/math/q128.d.ts.map +1 -0
  89. package/dist/math/q128.js +108 -0
  90. package/dist/math/q128.js.map +1 -0
  91. package/dist/moon.d.ts +245 -0
  92. package/dist/moon.d.ts.map +1 -0
  93. package/dist/moon.js +332 -0
  94. package/dist/moon.js.map +1 -0
  95. package/dist/ops/jetton-input.d.ts +3 -0
  96. package/dist/ops/jetton-input.d.ts.map +1 -0
  97. package/dist/ops/jetton-input.js +8 -0
  98. package/dist/ops/jetton-input.js.map +1 -0
  99. package/dist/ops/liquidity.d.ts +157 -0
  100. package/dist/ops/liquidity.d.ts.map +1 -0
  101. package/dist/ops/liquidity.js +413 -0
  102. package/dist/ops/liquidity.js.map +1 -0
  103. package/dist/ops/mempad.d.ts +143 -0
  104. package/dist/ops/mempad.d.ts.map +1 -0
  105. package/dist/ops/mempad.js +248 -0
  106. package/dist/ops/mempad.js.map +1 -0
  107. package/dist/ops/pool.d.ts +75 -0
  108. package/dist/ops/pool.d.ts.map +1 -0
  109. package/dist/ops/pool.js +129 -0
  110. package/dist/ops/pool.js.map +1 -0
  111. package/dist/ops/position.d.ts +47 -0
  112. package/dist/ops/position.d.ts.map +1 -0
  113. package/dist/ops/position.js +73 -0
  114. package/dist/ops/position.js.map +1 -0
  115. package/dist/ops/swap.d.ts +104 -0
  116. package/dist/ops/swap.d.ts.map +1 -0
  117. package/dist/ops/swap.js +248 -0
  118. package/dist/ops/swap.js.map +1 -0
  119. package/dist/pool/amounts.d.ts +36 -0
  120. package/dist/pool/amounts.d.ts.map +1 -0
  121. package/dist/pool/amounts.js +68 -0
  122. package/dist/pool/amounts.js.map +1 -0
  123. package/dist/pool/assets.d.ts +45 -0
  124. package/dist/pool/assets.d.ts.map +1 -0
  125. package/dist/pool/assets.js +57 -0
  126. package/dist/pool/assets.js.map +1 -0
  127. package/dist/pool/clmm.d.ts +309 -0
  128. package/dist/pool/clmm.d.ts.map +1 -0
  129. package/dist/pool/clmm.js +561 -0
  130. package/dist/pool/clmm.js.map +1 -0
  131. package/dist/pool/cpmm.d.ts +228 -0
  132. package/dist/pool/cpmm.d.ts.map +1 -0
  133. package/dist/pool/cpmm.js +332 -0
  134. package/dist/pool/cpmm.js.map +1 -0
  135. package/dist/protocol/generated.d.ts +2752 -0
  136. package/dist/protocol/generated.d.ts.map +1 -0
  137. package/dist/protocol/generated.js +3564 -0
  138. package/dist/protocol/generated.js.map +1 -0
  139. package/dist/protocol/index.d.ts +19 -0
  140. package/dist/protocol/index.d.ts.map +1 -0
  141. package/dist/protocol/index.js +49 -0
  142. package/dist/protocol/index.js.map +1 -0
  143. package/dist/state/address.d.ts +121 -0
  144. package/dist/state/address.d.ts.map +1 -0
  145. package/dist/state/address.js +143 -0
  146. package/dist/state/address.js.map +1 -0
  147. package/dist/state/source.d.ts +26 -0
  148. package/dist/state/source.d.ts.map +1 -0
  149. package/dist/state/source.js +32 -0
  150. package/dist/state/source.js.map +1 -0
  151. package/dist/state/storage.d.ts +218 -0
  152. package/dist/state/storage.d.ts.map +1 -0
  153. package/dist/state/storage.js +273 -0
  154. package/dist/state/storage.js.map +1 -0
  155. package/package.json +74 -4
@@ -0,0 +1,3564 @@
1
+ /* eslint-disable */
2
+ // Generated by `npm run protocol:extract`. Do not edit by hand.
3
+ export const PROTOCOL = {
4
+ "cpmm": {
5
+ "constants": {
6
+ "FEE_DIVIDER": "10000",
7
+ "GAS_JETTON_DEPOSIT": "30000",
8
+ "GAS_JETTON_SWAP": "15000",
9
+ "GAS_TON_DEPOSIT": "30000",
10
+ "GAS_TON_SWAP": "15000",
11
+ "GAS_WITHDRAW_FEES": "30000",
12
+ "GAS_WITHDRAW_LIQUIDITY": "30000",
13
+ "MAX_COINS": "1329227995784915872903807060280344575",
14
+ "SCALE": "340282366920938463463374607431768211456",
15
+ "VALUE_DEPLOY_POSITION": "60000000",
16
+ "VALUE_JETTON_TRANSFER": "50000000",
17
+ "WORKCHAIN": "0"
18
+ },
19
+ "errors": {
20
+ "INVALID_CONTRACT_STATE": 299,
21
+ "INVALID_PAYLOAD": 700,
22
+ "LOW_AMOUNT": 510,
23
+ "LOW_GAS": 500,
24
+ "OUT_OF_GAS": 490,
25
+ "UNAUTHORIZED": 300,
26
+ "ZERO_OUTPUT": 511
27
+ },
28
+ "structs": {
29
+ "FactoryStorage": {
30
+ "opcode": null,
31
+ "fields": [
32
+ {
33
+ "name": "admin",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "name": "poolCode",
38
+ "type": "cell"
39
+ },
40
+ {
41
+ "name": "lpAccCode",
42
+ "type": "cell"
43
+ },
44
+ {
45
+ "name": "lpPositionCode",
46
+ "type": "cell"
47
+ }
48
+ ]
49
+ },
50
+ "JettonBoostPayload": {
51
+ "opcode": "0x50bbec04",
52
+ "fields": []
53
+ },
54
+ "JettonDepositLiquidityPayload": {
55
+ "opcode": "0x90af0b63",
56
+ "fields": [
57
+ {
58
+ "name": "minLpOut",
59
+ "type": "coins"
60
+ },
61
+ {
62
+ "name": "locked",
63
+ "type": "bool"
64
+ },
65
+ {
66
+ "name": "split",
67
+ "type": "Cell<LpSplit>?"
68
+ }
69
+ ]
70
+ },
71
+ "JettonSwapFulfillPayload": {
72
+ "opcode": "0x9d142643",
73
+ "fields": [
74
+ {
75
+ "name": "swapParams",
76
+ "type": "Cell<JettonSwapParams>?"
77
+ }
78
+ ]
79
+ },
80
+ "JettonSwapParams": {
81
+ "opcode": null,
82
+ "fields": [
83
+ {
84
+ "name": "excess",
85
+ "type": "address"
86
+ },
87
+ {
88
+ "name": "minOut",
89
+ "type": "coins"
90
+ },
91
+ {
92
+ "name": "nextFulfill",
93
+ "type": "cell?"
94
+ },
95
+ {
96
+ "name": "nextReject",
97
+ "type": "cell?"
98
+ }
99
+ ]
100
+ },
101
+ "JettonSwapPayload": {
102
+ "opcode": "0xfa45056b",
103
+ "fields": [
104
+ {
105
+ "name": "swapParams",
106
+ "type": "JettonSwapParams"
107
+ }
108
+ ]
109
+ },
110
+ "LpAccountInitData": {
111
+ "opcode": null,
112
+ "fields": [
113
+ {
114
+ "name": "pool",
115
+ "type": "address"
116
+ },
117
+ {
118
+ "name": "user",
119
+ "type": "address"
120
+ }
121
+ ]
122
+ },
123
+ "LpAccountStorage": {
124
+ "opcode": null,
125
+ "fields": [
126
+ {
127
+ "name": "pool",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "name": "user",
132
+ "type": "address"
133
+ },
134
+ {
135
+ "name": "xAmount",
136
+ "type": "coins"
137
+ },
138
+ {
139
+ "name": "yAmount",
140
+ "type": "coins"
141
+ }
142
+ ]
143
+ },
144
+ "LpPositionContent": {
145
+ "opcode": null,
146
+ "fields": [
147
+ {
148
+ "name": "lp",
149
+ "type": "coins"
150
+ },
151
+ {
152
+ "name": "xFeesLp",
153
+ "type": "uint256"
154
+ },
155
+ {
156
+ "name": "yFeesLp",
157
+ "type": "uint256"
158
+ }
159
+ ]
160
+ },
161
+ "LpPositionInitData": {
162
+ "opcode": null,
163
+ "fields": [
164
+ {
165
+ "name": "pool",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "name": "user",
170
+ "type": "address"
171
+ }
172
+ ]
173
+ },
174
+ "LpPositionStorage": {
175
+ "opcode": null,
176
+ "fields": [
177
+ {
178
+ "name": "pool",
179
+ "type": "address"
180
+ },
181
+ {
182
+ "name": "user",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "name": "data",
187
+ "type": "Cell<LpPositionContent>"
188
+ },
189
+ {
190
+ "name": "frozen",
191
+ "type": "bool"
192
+ },
193
+ {
194
+ "name": "locked",
195
+ "type": "bool"
196
+ }
197
+ ]
198
+ },
199
+ "LpSplit": {
200
+ "opcode": null,
201
+ "fields": [
202
+ {
203
+ "name": "aRecipient",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "name": "aBps",
208
+ "type": "uint16"
209
+ },
210
+ {
211
+ "name": "bRecipient",
212
+ "type": "address"
213
+ }
214
+ ]
215
+ },
216
+ "MsgBoostPool": {
217
+ "opcode": "0x50bbec04",
218
+ "fields": [
219
+ {
220
+ "name": "queryId",
221
+ "type": "uint64"
222
+ }
223
+ ]
224
+ },
225
+ "MsgCancelDeposit": {
226
+ "opcode": "0x1f911dd9",
227
+ "fields": [
228
+ {
229
+ "name": "queryId",
230
+ "type": "uint64"
231
+ },
232
+ {
233
+ "name": "provider",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "name": "xAmount",
238
+ "type": "coins"
239
+ },
240
+ {
241
+ "name": "yAmount",
242
+ "type": "coins"
243
+ }
244
+ ]
245
+ },
246
+ "MsgCollectProtocolFees": {
247
+ "opcode": "0xc492cce9",
248
+ "fields": [
249
+ {
250
+ "name": "queryId",
251
+ "type": "uint64"
252
+ },
253
+ {
254
+ "name": "pool",
255
+ "type": "address"
256
+ },
257
+ {
258
+ "name": "recipient",
259
+ "type": "address"
260
+ }
261
+ ]
262
+ },
263
+ "MsgCreatePool": {
264
+ "opcode": "0xec725c4f",
265
+ "fields": [
266
+ {
267
+ "name": "queryId",
268
+ "type": "uint64"
269
+ },
270
+ {
271
+ "name": "xMaster",
272
+ "type": "address?"
273
+ },
274
+ {
275
+ "name": "yMaster",
276
+ "type": "address?"
277
+ },
278
+ {
279
+ "name": "feeBps",
280
+ "type": "uint8"
281
+ }
282
+ ]
283
+ },
284
+ "MsgDeployPool": {
285
+ "opcode": "0x6ca4cb66",
286
+ "fields": [
287
+ {
288
+ "name": "queryId",
289
+ "type": "uint64"
290
+ },
291
+ {
292
+ "name": "lpFee",
293
+ "type": "uint8"
294
+ },
295
+ {
296
+ "name": "protocolFee",
297
+ "type": "uint8"
298
+ },
299
+ {
300
+ "name": "lpAccCode",
301
+ "type": "cell"
302
+ },
303
+ {
304
+ "name": "lpPositionCode",
305
+ "type": "cell"
306
+ }
307
+ ]
308
+ },
309
+ "MsgDeployPosition": {
310
+ "opcode": "0x7b5ceb3f",
311
+ "fields": [
312
+ {
313
+ "name": "queryId",
314
+ "type": "uint64"
315
+ },
316
+ {
317
+ "name": "content",
318
+ "type": "Cell<LpPositionContent>"
319
+ },
320
+ {
321
+ "name": "locked",
322
+ "type": "bool"
323
+ }
324
+ ]
325
+ },
326
+ "MsgDepositLiquidity": {
327
+ "opcode": "0x90af0b63",
328
+ "fields": [
329
+ {
330
+ "name": "queryId",
331
+ "type": "uint64"
332
+ },
333
+ {
334
+ "name": "minLpOut",
335
+ "type": "coins"
336
+ },
337
+ {
338
+ "name": "locked",
339
+ "type": "bool"
340
+ },
341
+ {
342
+ "name": "split",
343
+ "type": "Cell<LpSplit>?"
344
+ }
345
+ ]
346
+ },
347
+ "MsgDepositLiquidityRecord": {
348
+ "opcode": "0xfda9374a",
349
+ "fields": [
350
+ {
351
+ "name": "queryId",
352
+ "type": "uint64"
353
+ },
354
+ {
355
+ "name": "xIn",
356
+ "type": "bool"
357
+ },
358
+ {
359
+ "name": "amount",
360
+ "type": "coins"
361
+ },
362
+ {
363
+ "name": "minLpOut",
364
+ "type": "coins"
365
+ },
366
+ {
367
+ "name": "locked",
368
+ "type": "bool"
369
+ },
370
+ {
371
+ "name": "split",
372
+ "type": "Cell<LpSplit>?"
373
+ }
374
+ ]
375
+ },
376
+ "MsgInternalCollectProtocolFees": {
377
+ "opcode": "0xa7335450",
378
+ "fields": [
379
+ {
380
+ "name": "queryId",
381
+ "type": "uint64"
382
+ },
383
+ {
384
+ "name": "recipient",
385
+ "type": "address"
386
+ }
387
+ ]
388
+ },
389
+ "MsgInternalUpdatePoolFees": {
390
+ "opcode": "0xbbfa6e0d",
391
+ "fields": [
392
+ {
393
+ "name": "queryId",
394
+ "type": "uint64"
395
+ },
396
+ {
397
+ "name": "newLpFee",
398
+ "type": "uint8"
399
+ },
400
+ {
401
+ "name": "newProtocolFee",
402
+ "type": "uint8"
403
+ }
404
+ ]
405
+ },
406
+ "MsgInternalUpdatePoolWallets": {
407
+ "opcode": "0xc29e72ba",
408
+ "fields": [
409
+ {
410
+ "name": "queryId",
411
+ "type": "uint64"
412
+ },
413
+ {
414
+ "name": "newXWallet",
415
+ "type": "address?"
416
+ },
417
+ {
418
+ "name": "newYWallet",
419
+ "type": "address"
420
+ }
421
+ ]
422
+ },
423
+ "MsgInternalUpgradePool": {
424
+ "opcode": "0x38599428",
425
+ "fields": [
426
+ {
427
+ "name": "queryId",
428
+ "type": "uint64"
429
+ },
430
+ {
431
+ "name": "newCode",
432
+ "type": "cell?"
433
+ },
434
+ {
435
+ "name": "newData",
436
+ "type": "cell?"
437
+ }
438
+ ]
439
+ },
440
+ "MsgInternalWithdrawFees": {
441
+ "opcode": "0xd5c9f8c3",
442
+ "fields": [
443
+ {
444
+ "name": "queryId",
445
+ "type": "uint64"
446
+ },
447
+ {
448
+ "name": "provider",
449
+ "type": "address"
450
+ },
451
+ {
452
+ "name": "lpPos",
453
+ "type": "coins"
454
+ },
455
+ {
456
+ "name": "xFeesPos",
457
+ "type": "uint256"
458
+ },
459
+ {
460
+ "name": "yFeesPos",
461
+ "type": "uint256"
462
+ }
463
+ ]
464
+ },
465
+ "MsgInternalWithdrawFeesUpdate": {
466
+ "opcode": "0x90ad0f98",
467
+ "fields": [
468
+ {
469
+ "name": "queryId",
470
+ "type": "uint64"
471
+ },
472
+ {
473
+ "name": "xFeesLp",
474
+ "type": "uint256"
475
+ },
476
+ {
477
+ "name": "yFeesLp",
478
+ "type": "uint256"
479
+ }
480
+ ]
481
+ },
482
+ "MsgInternalWithdrawLiquidity": {
483
+ "opcode": "0xcbd7f377",
484
+ "fields": [
485
+ {
486
+ "name": "queryId",
487
+ "type": "uint64"
488
+ },
489
+ {
490
+ "name": "provider",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "name": "lpPos",
495
+ "type": "coins"
496
+ },
497
+ {
498
+ "name": "xFeesPos",
499
+ "type": "uint256"
500
+ },
501
+ {
502
+ "name": "yFeesPos",
503
+ "type": "uint256"
504
+ }
505
+ ]
506
+ },
507
+ "MsgJettonTransfer": {
508
+ "opcode": "0x0f8a7ea5",
509
+ "fields": [
510
+ {
511
+ "name": "queryId",
512
+ "type": "uint64"
513
+ },
514
+ {
515
+ "name": "amount",
516
+ "type": "coins"
517
+ },
518
+ {
519
+ "name": "destination",
520
+ "type": "address"
521
+ },
522
+ {
523
+ "name": "responseDestination",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "name": "customPayload",
528
+ "type": "cell? = null"
529
+ },
530
+ {
531
+ "name": "forwardTonAmount",
532
+ "type": "coins"
533
+ },
534
+ {
535
+ "name": "havePayload",
536
+ "type": "bool = false"
537
+ }
538
+ ]
539
+ },
540
+ "MsgJettonTransferWithPayload": {
541
+ "opcode": "0x0f8a7ea5",
542
+ "fields": [
543
+ {
544
+ "name": "queryId",
545
+ "type": "uint64"
546
+ },
547
+ {
548
+ "name": "amount",
549
+ "type": "coins"
550
+ },
551
+ {
552
+ "name": "destination",
553
+ "type": "address"
554
+ },
555
+ {
556
+ "name": "responseDestination",
557
+ "type": "address"
558
+ },
559
+ {
560
+ "name": "customPayload",
561
+ "type": "cell? = null"
562
+ },
563
+ {
564
+ "name": "forwardTonAmount",
565
+ "type": "coins"
566
+ },
567
+ {
568
+ "name": "havePayload",
569
+ "type": "bool = true"
570
+ },
571
+ {
572
+ "name": "forwardPayload",
573
+ "type": "cell"
574
+ }
575
+ ]
576
+ },
577
+ "MsgLockLiquidity": {
578
+ "opcode": "0xb751f838",
579
+ "fields": [
580
+ {
581
+ "name": "queryId",
582
+ "type": "uint64"
583
+ }
584
+ ]
585
+ },
586
+ "MsgProvideLiquidity": {
587
+ "opcode": "0x48a936dd",
588
+ "fields": [
589
+ {
590
+ "name": "queryId",
591
+ "type": "uint64"
592
+ },
593
+ {
594
+ "name": "provider",
595
+ "type": "address"
596
+ },
597
+ {
598
+ "name": "xAmount",
599
+ "type": "coins"
600
+ },
601
+ {
602
+ "name": "yAmount",
603
+ "type": "coins"
604
+ },
605
+ {
606
+ "name": "minLpOut",
607
+ "type": "coins"
608
+ },
609
+ {
610
+ "name": "locked",
611
+ "type": "bool"
612
+ },
613
+ {
614
+ "name": "split",
615
+ "type": "Cell<LpSplit>?"
616
+ }
617
+ ]
618
+ },
619
+ "MsgProvidePoolAddress": {
620
+ "opcode": "0x1d42af37",
621
+ "fields": [
622
+ {
623
+ "name": "queryId",
624
+ "type": "uint64"
625
+ },
626
+ {
627
+ "name": "xMaster",
628
+ "type": "address?"
629
+ },
630
+ {
631
+ "name": "yMaster",
632
+ "type": "address"
633
+ },
634
+ {
635
+ "name": "feeBps",
636
+ "type": "uint8"
637
+ },
638
+ {
639
+ "name": "initiator",
640
+ "type": "address"
641
+ }
642
+ ]
643
+ },
644
+ "MsgProvidePoolReady": {
645
+ "opcode": "0x44daf70f",
646
+ "fields": [
647
+ {
648
+ "name": "queryId",
649
+ "type": "uint64"
650
+ },
651
+ {
652
+ "name": "attempt",
653
+ "type": "uint8"
654
+ }
655
+ ]
656
+ },
657
+ "MsgProvideWalletAddress": {
658
+ "opcode": "0x2c76b973",
659
+ "fields": [
660
+ {
661
+ "name": "queryId",
662
+ "type": "uint64"
663
+ },
664
+ {
665
+ "name": "requestAddress",
666
+ "type": "address"
667
+ },
668
+ {
669
+ "name": "includeAddress",
670
+ "type": "bool = false"
671
+ }
672
+ ]
673
+ },
674
+ "MsgSwap": {
675
+ "opcode": "0xfa45056b",
676
+ "fields": [
677
+ {
678
+ "name": "queryId",
679
+ "type": "uint64"
680
+ },
681
+ {
682
+ "name": "swapParams",
683
+ "type": "TonSwapParams"
684
+ }
685
+ ]
686
+ },
687
+ "MsgSwapFulfill": {
688
+ "opcode": "0x9d142643",
689
+ "fields": [
690
+ {
691
+ "name": "queryId",
692
+ "type": "uint64"
693
+ },
694
+ {
695
+ "name": "amount",
696
+ "type": "coins"
697
+ },
698
+ {
699
+ "name": "swapParams",
700
+ "type": "Cell<TonSwapParams>?"
701
+ }
702
+ ]
703
+ },
704
+ "MsgTakePoolAddress": {
705
+ "opcode": "0x81a58422",
706
+ "fields": [
707
+ {
708
+ "name": "queryId",
709
+ "type": "uint64"
710
+ },
711
+ {
712
+ "name": "pool",
713
+ "type": "address"
714
+ },
715
+ {
716
+ "name": "xMaster",
717
+ "type": "address?"
718
+ },
719
+ {
720
+ "name": "yMaster",
721
+ "type": "address"
722
+ },
723
+ {
724
+ "name": "feeBps",
725
+ "type": "uint8"
726
+ }
727
+ ]
728
+ },
729
+ "MsgTakePoolReady": {
730
+ "opcode": "0x67071f0d",
731
+ "fields": [
732
+ {
733
+ "name": "queryId",
734
+ "type": "uint64"
735
+ },
736
+ {
737
+ "name": "attempt",
738
+ "type": "uint8"
739
+ },
740
+ {
741
+ "name": "isReady",
742
+ "type": "bool"
743
+ }
744
+ ]
745
+ },
746
+ "MsgTakeWalletAddress": {
747
+ "opcode": "0xd1735400",
748
+ "fields": [
749
+ {
750
+ "name": "queryId",
751
+ "type": "uint64"
752
+ },
753
+ {
754
+ "name": "wallet",
755
+ "type": "address"
756
+ }
757
+ ]
758
+ },
759
+ "MsgTransferNotification": {
760
+ "opcode": "0x7362d09c",
761
+ "fields": [
762
+ {
763
+ "name": "queryId",
764
+ "type": "uint64"
765
+ },
766
+ {
767
+ "name": "amount",
768
+ "type": "coins"
769
+ },
770
+ {
771
+ "name": "sender",
772
+ "type": "address"
773
+ },
774
+ {
775
+ "name": "forwardPayload",
776
+ "type": "cell?"
777
+ }
778
+ ]
779
+ },
780
+ "MsgUpdateFactoryFees": {
781
+ "opcode": "0x0f3a90ad",
782
+ "fields": [
783
+ {
784
+ "name": "queryId",
785
+ "type": "uint64"
786
+ },
787
+ {
788
+ "name": "newLpFee",
789
+ "type": "uint8"
790
+ },
791
+ {
792
+ "name": "newProtocolFee",
793
+ "type": "uint8"
794
+ }
795
+ ]
796
+ },
797
+ "MsgUpdatePoolFees": {
798
+ "opcode": "0x834fc9b6",
799
+ "fields": [
800
+ {
801
+ "name": "queryId",
802
+ "type": "uint64"
803
+ },
804
+ {
805
+ "name": "pool",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "name": "newLpFee",
810
+ "type": "uint8"
811
+ },
812
+ {
813
+ "name": "newProtocolFee",
814
+ "type": "uint8"
815
+ }
816
+ ]
817
+ },
818
+ "MsgUpdatePoolWallets": {
819
+ "opcode": "0x51d80e5e",
820
+ "fields": [
821
+ {
822
+ "name": "queryId",
823
+ "type": "uint64"
824
+ },
825
+ {
826
+ "name": "pool",
827
+ "type": "address"
828
+ },
829
+ {
830
+ "name": "xWallet",
831
+ "type": "address?"
832
+ },
833
+ {
834
+ "name": "yWallet",
835
+ "type": "address"
836
+ }
837
+ ]
838
+ },
839
+ "MsgUpgradeFactory": {
840
+ "opcode": "0xbae2139a",
841
+ "fields": [
842
+ {
843
+ "name": "queryId",
844
+ "type": "uint64"
845
+ },
846
+ {
847
+ "name": "newCode",
848
+ "type": "cell?"
849
+ },
850
+ {
851
+ "name": "newData",
852
+ "type": "cell?"
853
+ }
854
+ ]
855
+ },
856
+ "MsgUpgradePool": {
857
+ "opcode": "0x0d730f18",
858
+ "fields": [
859
+ {
860
+ "name": "queryId",
861
+ "type": "uint64"
862
+ },
863
+ {
864
+ "name": "pool",
865
+ "type": "address"
866
+ },
867
+ {
868
+ "name": "newCode",
869
+ "type": "cell?"
870
+ },
871
+ {
872
+ "name": "newData",
873
+ "type": "cell?"
874
+ }
875
+ ]
876
+ },
877
+ "MsgWithdrawFees": {
878
+ "opcode": "0xf325e2f4",
879
+ "fields": [
880
+ {
881
+ "name": "queryId",
882
+ "type": "uint64"
883
+ }
884
+ ]
885
+ },
886
+ "MsgWithdrawLiquidity": {
887
+ "opcode": "0x84548afa",
888
+ "fields": [
889
+ {
890
+ "name": "queryId",
891
+ "type": "uint64"
892
+ },
893
+ {
894
+ "name": "amount",
895
+ "type": "coins"
896
+ }
897
+ ]
898
+ },
899
+ "PoolInitData": {
900
+ "opcode": null,
901
+ "fields": [
902
+ {
903
+ "name": "factory",
904
+ "type": "address"
905
+ },
906
+ {
907
+ "name": "masters",
908
+ "type": "Cell<PoolMasters>"
909
+ },
910
+ {
911
+ "name": "feeBps",
912
+ "type": "uint8"
913
+ }
914
+ ]
915
+ },
916
+ "PoolMasters": {
917
+ "opcode": null,
918
+ "fields": [
919
+ {
920
+ "name": "xMaster",
921
+ "type": "address?"
922
+ },
923
+ {
924
+ "name": "yMaster",
925
+ "type": "address"
926
+ },
927
+ {
928
+ "name": "initiator",
929
+ "type": "address"
930
+ }
931
+ ]
932
+ },
933
+ "PoolReserves": {
934
+ "opcode": null,
935
+ "fields": [
936
+ {
937
+ "name": "xReserve",
938
+ "type": "coins"
939
+ },
940
+ {
941
+ "name": "yReserve",
942
+ "type": "coins"
943
+ },
944
+ {
945
+ "name": "xFeesLp",
946
+ "type": "uint256"
947
+ },
948
+ {
949
+ "name": "yFeesLp",
950
+ "type": "uint256"
951
+ },
952
+ {
953
+ "name": "xFeesProtocol",
954
+ "type": "coins"
955
+ },
956
+ {
957
+ "name": "yFeesProtocol",
958
+ "type": "coins"
959
+ }
960
+ ]
961
+ },
962
+ "PoolStorage": {
963
+ "opcode": null,
964
+ "fields": [
965
+ {
966
+ "name": "factory",
967
+ "type": "address"
968
+ },
969
+ {
970
+ "name": "xWallet",
971
+ "type": "address?"
972
+ },
973
+ {
974
+ "name": "yWallet",
975
+ "type": "address"
976
+ },
977
+ {
978
+ "name": "lpFee",
979
+ "type": "uint8"
980
+ },
981
+ {
982
+ "name": "protocolFee",
983
+ "type": "uint8"
984
+ },
985
+ {
986
+ "name": "lpTotal",
987
+ "type": "coins"
988
+ },
989
+ {
990
+ "name": "reserves",
991
+ "type": "Cell<PoolReserves>"
992
+ },
993
+ {
994
+ "name": "lpAccCode",
995
+ "type": "cell"
996
+ },
997
+ {
998
+ "name": "lpPositionCode",
999
+ "type": "cell"
1000
+ },
1001
+ {
1002
+ "name": "masters",
1003
+ "type": "Cell<PoolMasters>"
1004
+ }
1005
+ ]
1006
+ },
1007
+ "SwapResultJettonBody": {
1008
+ "opcode": null,
1009
+ "fields": [
1010
+ {
1011
+ "name": "op",
1012
+ "type": "uint32"
1013
+ },
1014
+ {
1015
+ "name": "payload",
1016
+ "type": "cell?"
1017
+ }
1018
+ ]
1019
+ },
1020
+ "SwapResultTonBody": {
1021
+ "opcode": null,
1022
+ "fields": [
1023
+ {
1024
+ "name": "op",
1025
+ "type": "uint32"
1026
+ },
1027
+ {
1028
+ "name": "queryId",
1029
+ "type": "uint64"
1030
+ },
1031
+ {
1032
+ "name": "amount",
1033
+ "type": "coins"
1034
+ },
1035
+ {
1036
+ "name": "payload",
1037
+ "type": "cell?"
1038
+ }
1039
+ ]
1040
+ },
1041
+ "TonSwapParams": {
1042
+ "opcode": null,
1043
+ "fields": [
1044
+ {
1045
+ "name": "swapAmount",
1046
+ "type": "coins"
1047
+ },
1048
+ {
1049
+ "name": "excess",
1050
+ "type": "address"
1051
+ },
1052
+ {
1053
+ "name": "minOut",
1054
+ "type": "coins"
1055
+ },
1056
+ {
1057
+ "name": "nextFulfill",
1058
+ "type": "cell?"
1059
+ },
1060
+ {
1061
+ "name": "nextReject",
1062
+ "type": "cell?"
1063
+ }
1064
+ ]
1065
+ }
1066
+ }
1067
+ },
1068
+ "clmm": {
1069
+ "constants": {
1070
+ "BINS_PER_RANGE": "2048",
1071
+ "GAS_LIMIT": "1000000",
1072
+ "RANGE_MAX": "1",
1073
+ "RANGE_MIN": "-1",
1074
+ "RANGE_OFFSET": "1024",
1075
+ "SCALE_BITS": "128",
1076
+ "VALUE_JETTON_TRANSFER": "50000000",
1077
+ "WORKCHAIN": "0"
1078
+ },
1079
+ "errors": {
1080
+ "INVALID_CONTRACT_STATE": 299,
1081
+ "INVALID_PAYLOAD": 700,
1082
+ "LOW_AMOUNT": 510,
1083
+ "LOW_GAS": 500,
1084
+ "OUT_OF_GAS": 490,
1085
+ "UNAUTHORIZED": 300,
1086
+ "ZERO_OUTPUT": 511
1087
+ },
1088
+ "structs": {
1089
+ "Bin": {
1090
+ "opcode": null,
1091
+ "fields": [
1092
+ {
1093
+ "name": "l",
1094
+ "type": "uint256"
1095
+ },
1096
+ {
1097
+ "name": "xFee",
1098
+ "type": "uint256"
1099
+ },
1100
+ {
1101
+ "name": "yFee",
1102
+ "type": "uint256"
1103
+ }
1104
+ ]
1105
+ },
1106
+ "DepositBin": {
1107
+ "opcode": null,
1108
+ "fields": [
1109
+ {
1110
+ "name": "x",
1111
+ "type": "coins"
1112
+ },
1113
+ {
1114
+ "name": "y",
1115
+ "type": "coins"
1116
+ }
1117
+ ]
1118
+ },
1119
+ "FactoryStorage": {
1120
+ "opcode": null,
1121
+ "fields": [
1122
+ {
1123
+ "name": "admin",
1124
+ "type": "address"
1125
+ },
1126
+ {
1127
+ "name": "lpFee",
1128
+ "type": "uint8"
1129
+ },
1130
+ {
1131
+ "name": "protocolFee",
1132
+ "type": "uint8"
1133
+ },
1134
+ {
1135
+ "name": "poolCode",
1136
+ "type": "cell"
1137
+ },
1138
+ {
1139
+ "name": "poolPayloadCode",
1140
+ "type": "cell"
1141
+ }
1142
+ ]
1143
+ },
1144
+ "JettonDepositLiquidityPayload": {
1145
+ "opcode": "0xec401442",
1146
+ "fields": [
1147
+ {
1148
+ "name": "isSingle",
1149
+ "type": "bool"
1150
+ },
1151
+ {
1152
+ "name": "depositBins",
1153
+ "type": "map<int64, DepositBin>"
1154
+ }
1155
+ ]
1156
+ },
1157
+ "JettonSwapFulfillPayload": {
1158
+ "opcode": "0x9d142643",
1159
+ "fields": [
1160
+ {
1161
+ "name": "swapParams",
1162
+ "type": "Cell<JettonSwapParams>?"
1163
+ }
1164
+ ]
1165
+ },
1166
+ "JettonSwapParams": {
1167
+ "opcode": null,
1168
+ "fields": [
1169
+ {
1170
+ "name": "excess",
1171
+ "type": "address"
1172
+ },
1173
+ {
1174
+ "name": "sqrtPriceLimit",
1175
+ "type": "uint256"
1176
+ },
1177
+ {
1178
+ "name": "nextFulfill",
1179
+ "type": "cell?"
1180
+ },
1181
+ {
1182
+ "name": "nextReject",
1183
+ "type": "cell?"
1184
+ }
1185
+ ]
1186
+ },
1187
+ "JettonSwapPayload": {
1188
+ "opcode": "0xd151210f",
1189
+ "fields": [
1190
+ {
1191
+ "name": "swapParams",
1192
+ "type": "JettonSwapParams"
1193
+ }
1194
+ ]
1195
+ },
1196
+ "LpAccInitData": {
1197
+ "opcode": null,
1198
+ "fields": [
1199
+ {
1200
+ "name": "range",
1201
+ "type": "address"
1202
+ },
1203
+ {
1204
+ "name": "user",
1205
+ "type": "address"
1206
+ }
1207
+ ]
1208
+ },
1209
+ "LpAccountInitData": {
1210
+ "opcode": null,
1211
+ "fields": [
1212
+ {
1213
+ "name": "range",
1214
+ "type": "address"
1215
+ },
1216
+ {
1217
+ "name": "user",
1218
+ "type": "address"
1219
+ }
1220
+ ]
1221
+ },
1222
+ "LpAccountStorage": {
1223
+ "opcode": null,
1224
+ "fields": [
1225
+ {
1226
+ "name": "range",
1227
+ "type": "address"
1228
+ },
1229
+ {
1230
+ "name": "user",
1231
+ "type": "address"
1232
+ },
1233
+ {
1234
+ "name": "xAmount",
1235
+ "type": "coins"
1236
+ },
1237
+ {
1238
+ "name": "yAmount",
1239
+ "type": "coins"
1240
+ }
1241
+ ]
1242
+ },
1243
+ "LpPositionInitData": {
1244
+ "opcode": null,
1245
+ "fields": [
1246
+ {
1247
+ "name": "range",
1248
+ "type": "address"
1249
+ },
1250
+ {
1251
+ "name": "nftIndex",
1252
+ "type": "uint64"
1253
+ }
1254
+ ]
1255
+ },
1256
+ "LpPositionStorage": {
1257
+ "opcode": null,
1258
+ "fields": [
1259
+ {
1260
+ "name": "range",
1261
+ "type": "address"
1262
+ },
1263
+ {
1264
+ "name": "nftIndex",
1265
+ "type": "uint64"
1266
+ },
1267
+ {
1268
+ "name": "user",
1269
+ "type": "address"
1270
+ },
1271
+ {
1272
+ "name": "bins",
1273
+ "type": "map<int64, Bin>"
1274
+ },
1275
+ {
1276
+ "name": "locked",
1277
+ "type": "bool"
1278
+ },
1279
+ {
1280
+ "name": "pending",
1281
+ "type": "bool"
1282
+ }
1283
+ ]
1284
+ },
1285
+ "MsgApplyCollectProtocolFees": {
1286
+ "opcode": "0xdbc809b5",
1287
+ "fields": [
1288
+ {
1289
+ "name": "queryId",
1290
+ "type": "uint64"
1291
+ },
1292
+ {
1293
+ "name": "recipient",
1294
+ "type": "address"
1295
+ }
1296
+ ]
1297
+ },
1298
+ "MsgApplyUpdateRangeFees": {
1299
+ "opcode": "0x90be29eb",
1300
+ "fields": [
1301
+ {
1302
+ "name": "queryId",
1303
+ "type": "uint64"
1304
+ },
1305
+ {
1306
+ "name": "lpFee",
1307
+ "type": "uint8"
1308
+ },
1309
+ {
1310
+ "name": "protocolFee",
1311
+ "type": "uint8"
1312
+ }
1313
+ ]
1314
+ },
1315
+ "MsgApplyUpdateRangeWallets": {
1316
+ "opcode": "0xa17882c8",
1317
+ "fields": [
1318
+ {
1319
+ "name": "queryId",
1320
+ "type": "uint64"
1321
+ },
1322
+ {
1323
+ "name": "xWallet",
1324
+ "type": "address?"
1325
+ },
1326
+ {
1327
+ "name": "yWallet",
1328
+ "type": "address"
1329
+ }
1330
+ ]
1331
+ },
1332
+ "MsgApplyUpgradeRange": {
1333
+ "opcode": "0xf0262313",
1334
+ "fields": [
1335
+ {
1336
+ "name": "queryId",
1337
+ "type": "uint64"
1338
+ },
1339
+ {
1340
+ "name": "newCode",
1341
+ "type": "cell?"
1342
+ },
1343
+ {
1344
+ "name": "newData",
1345
+ "type": "cell?"
1346
+ }
1347
+ ]
1348
+ },
1349
+ "MsgCancelDeposit": {
1350
+ "opcode": "0x2dcb38cb",
1351
+ "fields": [
1352
+ {
1353
+ "name": "queryId",
1354
+ "type": "uint64"
1355
+ },
1356
+ {
1357
+ "name": "xAmount",
1358
+ "type": "coins"
1359
+ },
1360
+ {
1361
+ "name": "yAmount",
1362
+ "type": "coins"
1363
+ },
1364
+ {
1365
+ "name": "provider",
1366
+ "type": "address"
1367
+ }
1368
+ ]
1369
+ },
1370
+ "MsgCollectProtocolFees": {
1371
+ "opcode": "0x4b3332cb",
1372
+ "fields": [
1373
+ {
1374
+ "name": "queryId",
1375
+ "type": "uint64"
1376
+ },
1377
+ {
1378
+ "name": "pool",
1379
+ "type": "address"
1380
+ },
1381
+ {
1382
+ "name": "rangeNum",
1383
+ "type": "int16"
1384
+ },
1385
+ {
1386
+ "name": "recipient",
1387
+ "type": "address"
1388
+ }
1389
+ ]
1390
+ },
1391
+ "MsgCreatePool": {
1392
+ "opcode": "0xede56ae4",
1393
+ "fields": [
1394
+ {
1395
+ "name": "queryId",
1396
+ "type": "uint64"
1397
+ },
1398
+ {
1399
+ "name": "xMaster",
1400
+ "type": "address?"
1401
+ },
1402
+ {
1403
+ "name": "yMaster",
1404
+ "type": "address?"
1405
+ },
1406
+ {
1407
+ "name": "binStep",
1408
+ "type": "uint16"
1409
+ },
1410
+ {
1411
+ "name": "initBin",
1412
+ "type": "int64"
1413
+ }
1414
+ ]
1415
+ },
1416
+ "MsgDeployLpPosition": {
1417
+ "opcode": "0x4e5504a9",
1418
+ "fields": [
1419
+ {
1420
+ "name": "queryId",
1421
+ "type": "uint64"
1422
+ },
1423
+ {
1424
+ "name": "provider",
1425
+ "type": "address"
1426
+ },
1427
+ {
1428
+ "name": "positionBins",
1429
+ "type": "map<int64, Bin>"
1430
+ }
1431
+ ]
1432
+ },
1433
+ "MsgDeployPool": {
1434
+ "opcode": "0x6d33fdcd",
1435
+ "fields": [
1436
+ {
1437
+ "name": "queryId",
1438
+ "type": "uint64"
1439
+ },
1440
+ {
1441
+ "name": "initBin",
1442
+ "type": "int64"
1443
+ },
1444
+ {
1445
+ "name": "lpFee",
1446
+ "type": "uint8"
1447
+ },
1448
+ {
1449
+ "name": "protocolFee",
1450
+ "type": "uint8"
1451
+ },
1452
+ {
1453
+ "name": "payloadCode",
1454
+ "type": "cell"
1455
+ }
1456
+ ]
1457
+ },
1458
+ "MsgDeployRange": {
1459
+ "opcode": "0x724b6005",
1460
+ "fields": [
1461
+ {
1462
+ "name": "queryId",
1463
+ "type": "uint64"
1464
+ },
1465
+ {
1466
+ "name": "xMaster",
1467
+ "type": "address?"
1468
+ },
1469
+ {
1470
+ "name": "yMaster",
1471
+ "type": "address"
1472
+ },
1473
+ {
1474
+ "name": "binStep",
1475
+ "type": "uint16"
1476
+ },
1477
+ {
1478
+ "name": "lpFee",
1479
+ "type": "uint8"
1480
+ },
1481
+ {
1482
+ "name": "protocolFee",
1483
+ "type": "uint8"
1484
+ },
1485
+ {
1486
+ "name": "initPrice",
1487
+ "type": "Cell<RangeInitPrice>"
1488
+ },
1489
+ {
1490
+ "name": "lpAccCode",
1491
+ "type": "cell"
1492
+ },
1493
+ {
1494
+ "name": "lpPositionCode",
1495
+ "type": "cell"
1496
+ }
1497
+ ]
1498
+ },
1499
+ "MsgDepositLiquidity": {
1500
+ "opcode": "0xec401442",
1501
+ "fields": [
1502
+ {
1503
+ "name": "queryId",
1504
+ "type": "uint64"
1505
+ },
1506
+ {
1507
+ "name": "depositAmount",
1508
+ "type": "coins"
1509
+ },
1510
+ {
1511
+ "name": "isSingle",
1512
+ "type": "bool"
1513
+ },
1514
+ {
1515
+ "name": "depositBins",
1516
+ "type": "map<int64, DepositBin>"
1517
+ }
1518
+ ]
1519
+ },
1520
+ "MsgDepositLiquidityRecord": {
1521
+ "opcode": "0xed8efa06",
1522
+ "fields": [
1523
+ {
1524
+ "name": "queryId",
1525
+ "type": "uint64"
1526
+ },
1527
+ {
1528
+ "name": "amount",
1529
+ "type": "coins"
1530
+ },
1531
+ {
1532
+ "name": "xIn",
1533
+ "type": "bool"
1534
+ },
1535
+ {
1536
+ "name": "depositBins",
1537
+ "type": "map<int64, DepositBin>"
1538
+ }
1539
+ ]
1540
+ },
1541
+ "MsgInternalCollectProtocolFees": {
1542
+ "opcode": "0xefef86da",
1543
+ "fields": [
1544
+ {
1545
+ "name": "queryId",
1546
+ "type": "uint64"
1547
+ },
1548
+ {
1549
+ "name": "rangeNum",
1550
+ "type": "int16"
1551
+ },
1552
+ {
1553
+ "name": "recipient",
1554
+ "type": "address"
1555
+ }
1556
+ ]
1557
+ },
1558
+ "MsgInternalUpdateRangeFees": {
1559
+ "opcode": "0xd97a5c35",
1560
+ "fields": [
1561
+ {
1562
+ "name": "queryId",
1563
+ "type": "uint64"
1564
+ },
1565
+ {
1566
+ "name": "rangeNum",
1567
+ "type": "int16"
1568
+ },
1569
+ {
1570
+ "name": "lpFee",
1571
+ "type": "uint8"
1572
+ },
1573
+ {
1574
+ "name": "protocolFee",
1575
+ "type": "uint8"
1576
+ }
1577
+ ]
1578
+ },
1579
+ "MsgInternalUpdateRangeWallets": {
1580
+ "opcode": "0xe82e11a1",
1581
+ "fields": [
1582
+ {
1583
+ "name": "queryId",
1584
+ "type": "uint64"
1585
+ },
1586
+ {
1587
+ "name": "rangeNum",
1588
+ "type": "int16"
1589
+ },
1590
+ {
1591
+ "name": "xWallet",
1592
+ "type": "address?"
1593
+ },
1594
+ {
1595
+ "name": "yWallet",
1596
+ "type": "address"
1597
+ }
1598
+ ]
1599
+ },
1600
+ "MsgInternalUpgradePool": {
1601
+ "opcode": "0xb7f86a0a",
1602
+ "fields": [
1603
+ {
1604
+ "name": "queryId",
1605
+ "type": "uint64"
1606
+ },
1607
+ {
1608
+ "name": "newCode",
1609
+ "type": "cell?"
1610
+ },
1611
+ {
1612
+ "name": "newData",
1613
+ "type": "cell?"
1614
+ }
1615
+ ]
1616
+ },
1617
+ "MsgInternalUpgradeRange": {
1618
+ "opcode": "0x7791fc81",
1619
+ "fields": [
1620
+ {
1621
+ "name": "queryId",
1622
+ "type": "uint64"
1623
+ },
1624
+ {
1625
+ "name": "rangeNum",
1626
+ "type": "int16"
1627
+ },
1628
+ {
1629
+ "name": "newCode",
1630
+ "type": "cell?"
1631
+ },
1632
+ {
1633
+ "name": "newData",
1634
+ "type": "cell?"
1635
+ }
1636
+ ]
1637
+ },
1638
+ "MsgInternalWithdrawFees": {
1639
+ "opcode": "0x002618d9",
1640
+ "fields": [
1641
+ {
1642
+ "name": "queryId",
1643
+ "type": "uint64"
1644
+ },
1645
+ {
1646
+ "name": "provider",
1647
+ "type": "address"
1648
+ },
1649
+ {
1650
+ "name": "nftIndex",
1651
+ "type": "uint64"
1652
+ },
1653
+ {
1654
+ "name": "withdrawBins",
1655
+ "type": "map<int64, Bin>"
1656
+ }
1657
+ ]
1658
+ },
1659
+ "MsgInternalWithdrawFeesUpdate": {
1660
+ "opcode": "0xfe49ce3f",
1661
+ "fields": [
1662
+ {
1663
+ "name": "queryId",
1664
+ "type": "uint64"
1665
+ },
1666
+ {
1667
+ "name": "updatedBins",
1668
+ "type": "map<int64, Bin>"
1669
+ }
1670
+ ]
1671
+ },
1672
+ "MsgInternalWithdrawLiquidity": {
1673
+ "opcode": "0x69099bab",
1674
+ "fields": [
1675
+ {
1676
+ "name": "queryId",
1677
+ "type": "uint64"
1678
+ },
1679
+ {
1680
+ "name": "provider",
1681
+ "type": "address"
1682
+ },
1683
+ {
1684
+ "name": "nftIndex",
1685
+ "type": "uint64"
1686
+ },
1687
+ {
1688
+ "name": "withdrawBins",
1689
+ "type": "map<int64, Bin>"
1690
+ }
1691
+ ]
1692
+ },
1693
+ "MsgInternalWithdrawLiquidityUpdate": {
1694
+ "opcode": "0x18256917",
1695
+ "fields": [
1696
+ {
1697
+ "name": "queryId",
1698
+ "type": "uint64"
1699
+ }
1700
+ ]
1701
+ },
1702
+ "MsgJettonTransfer": {
1703
+ "opcode": "0x0f8a7ea5",
1704
+ "fields": [
1705
+ {
1706
+ "name": "queryId",
1707
+ "type": "uint64"
1708
+ },
1709
+ {
1710
+ "name": "amount",
1711
+ "type": "coins"
1712
+ },
1713
+ {
1714
+ "name": "destination",
1715
+ "type": "address"
1716
+ },
1717
+ {
1718
+ "name": "responseDestination",
1719
+ "type": "address"
1720
+ },
1721
+ {
1722
+ "name": "customPayload",
1723
+ "type": "cell? = null"
1724
+ },
1725
+ {
1726
+ "name": "forwardTonAmount",
1727
+ "type": "coins"
1728
+ },
1729
+ {
1730
+ "name": "havePayload",
1731
+ "type": "bool = false"
1732
+ }
1733
+ ]
1734
+ },
1735
+ "MsgJettonTransferWithPayload": {
1736
+ "opcode": "0x0f8a7ea5",
1737
+ "fields": [
1738
+ {
1739
+ "name": "queryId",
1740
+ "type": "uint64"
1741
+ },
1742
+ {
1743
+ "name": "amount",
1744
+ "type": "coins"
1745
+ },
1746
+ {
1747
+ "name": "destination",
1748
+ "type": "address"
1749
+ },
1750
+ {
1751
+ "name": "responseDestination",
1752
+ "type": "address"
1753
+ },
1754
+ {
1755
+ "name": "customPayload",
1756
+ "type": "cell? = null"
1757
+ },
1758
+ {
1759
+ "name": "forwardTonAmount",
1760
+ "type": "coins"
1761
+ },
1762
+ {
1763
+ "name": "havePayload",
1764
+ "type": "bool = true"
1765
+ },
1766
+ {
1767
+ "name": "forwardPayload",
1768
+ "type": "cell"
1769
+ }
1770
+ ]
1771
+ },
1772
+ "MsgLockLiquidity": {
1773
+ "opcode": "0x850bdd2a",
1774
+ "fields": [
1775
+ {
1776
+ "name": "queryId",
1777
+ "type": "uint64"
1778
+ }
1779
+ ]
1780
+ },
1781
+ "MsgProvideLiquidity": {
1782
+ "opcode": "0x344629fc",
1783
+ "fields": [
1784
+ {
1785
+ "name": "queryId",
1786
+ "type": "uint64"
1787
+ },
1788
+ {
1789
+ "name": "provider",
1790
+ "type": "address"
1791
+ },
1792
+ {
1793
+ "name": "xAmount",
1794
+ "type": "coins"
1795
+ },
1796
+ {
1797
+ "name": "yAmount",
1798
+ "type": "coins"
1799
+ },
1800
+ {
1801
+ "name": "depositBins",
1802
+ "type": "map<int64, DepositBin>"
1803
+ }
1804
+ ]
1805
+ },
1806
+ "MsgProvideWalletAddress": {
1807
+ "opcode": "0x2c76b973",
1808
+ "fields": [
1809
+ {
1810
+ "name": "queryId",
1811
+ "type": "uint64"
1812
+ },
1813
+ {
1814
+ "name": "requestAddress",
1815
+ "type": "address"
1816
+ },
1817
+ {
1818
+ "name": "includeAddress",
1819
+ "type": "bool = false"
1820
+ }
1821
+ ]
1822
+ },
1823
+ "MsgSwap": {
1824
+ "opcode": "0xd151210f",
1825
+ "fields": [
1826
+ {
1827
+ "name": "queryId",
1828
+ "type": "uint64"
1829
+ },
1830
+ {
1831
+ "name": "swapParams",
1832
+ "type": "TonSwapParams"
1833
+ }
1834
+ ]
1835
+ },
1836
+ "MsgSwapFulfill": {
1837
+ "opcode": "0x9d142643",
1838
+ "fields": [
1839
+ {
1840
+ "name": "queryId",
1841
+ "type": "uint64"
1842
+ },
1843
+ {
1844
+ "name": "amount",
1845
+ "type": "coins"
1846
+ },
1847
+ {
1848
+ "name": "swapParams",
1849
+ "type": "Cell<TonSwapParams>?"
1850
+ }
1851
+ ]
1852
+ },
1853
+ "MsgTakeWalletAddress": {
1854
+ "opcode": "0xd1735400",
1855
+ "fields": [
1856
+ {
1857
+ "name": "queryId",
1858
+ "type": "uint64"
1859
+ },
1860
+ {
1861
+ "name": "wallet",
1862
+ "type": "address"
1863
+ }
1864
+ ]
1865
+ },
1866
+ "MsgTransferNotification": {
1867
+ "opcode": "0x7362d09c",
1868
+ "fields": [
1869
+ {
1870
+ "name": "queryId",
1871
+ "type": "uint64"
1872
+ },
1873
+ {
1874
+ "name": "amount",
1875
+ "type": "coins"
1876
+ },
1877
+ {
1878
+ "name": "sender",
1879
+ "type": "address"
1880
+ },
1881
+ {
1882
+ "name": "forwardPayload",
1883
+ "type": "cell?"
1884
+ }
1885
+ ]
1886
+ },
1887
+ "MsgUpdateRangeFees": {
1888
+ "opcode": "0x40073294",
1889
+ "fields": [
1890
+ {
1891
+ "name": "queryId",
1892
+ "type": "uint64"
1893
+ },
1894
+ {
1895
+ "name": "pool",
1896
+ "type": "address"
1897
+ },
1898
+ {
1899
+ "name": "rangeNum",
1900
+ "type": "int16"
1901
+ },
1902
+ {
1903
+ "name": "lpFee",
1904
+ "type": "uint8"
1905
+ },
1906
+ {
1907
+ "name": "protocolFee",
1908
+ "type": "uint8"
1909
+ }
1910
+ ]
1911
+ },
1912
+ "MsgUpdateRangeWallets": {
1913
+ "opcode": "0xe55e6dc7",
1914
+ "fields": [
1915
+ {
1916
+ "name": "queryId",
1917
+ "type": "uint64"
1918
+ },
1919
+ {
1920
+ "name": "pool",
1921
+ "type": "address"
1922
+ },
1923
+ {
1924
+ "name": "rangeNum",
1925
+ "type": "int16"
1926
+ },
1927
+ {
1928
+ "name": "xWallet",
1929
+ "type": "address?"
1930
+ },
1931
+ {
1932
+ "name": "yWallet",
1933
+ "type": "address"
1934
+ }
1935
+ ]
1936
+ },
1937
+ "MsgUpgradeFactory": {
1938
+ "opcode": "0x496938f7",
1939
+ "fields": [
1940
+ {
1941
+ "name": "queryId",
1942
+ "type": "uint64"
1943
+ },
1944
+ {
1945
+ "name": "newCode",
1946
+ "type": "cell?"
1947
+ },
1948
+ {
1949
+ "name": "newData",
1950
+ "type": "cell?"
1951
+ }
1952
+ ]
1953
+ },
1954
+ "MsgUpgradePool": {
1955
+ "opcode": "0x4c76e24e",
1956
+ "fields": [
1957
+ {
1958
+ "name": "queryId",
1959
+ "type": "uint64"
1960
+ },
1961
+ {
1962
+ "name": "pool",
1963
+ "type": "address"
1964
+ },
1965
+ {
1966
+ "name": "newCode",
1967
+ "type": "cell?"
1968
+ },
1969
+ {
1970
+ "name": "newData",
1971
+ "type": "cell?"
1972
+ }
1973
+ ]
1974
+ },
1975
+ "MsgUpgradeRange": {
1976
+ "opcode": "0x06dbf780",
1977
+ "fields": [
1978
+ {
1979
+ "name": "queryId",
1980
+ "type": "uint64"
1981
+ },
1982
+ {
1983
+ "name": "pool",
1984
+ "type": "address"
1985
+ },
1986
+ {
1987
+ "name": "rangeNum",
1988
+ "type": "int16"
1989
+ },
1990
+ {
1991
+ "name": "newCode",
1992
+ "type": "cell?"
1993
+ },
1994
+ {
1995
+ "name": "newData",
1996
+ "type": "cell?"
1997
+ }
1998
+ ]
1999
+ },
2000
+ "MsgWithdrawFees": {
2001
+ "opcode": "0x716c13d8",
2002
+ "fields": [
2003
+ {
2004
+ "name": "queryId",
2005
+ "type": "uint64"
2006
+ }
2007
+ ]
2008
+ },
2009
+ "MsgWithdrawLiqudity": {
2010
+ "opcode": "0xc84175bb",
2011
+ "fields": [
2012
+ {
2013
+ "name": "queryId",
2014
+ "type": "uint64"
2015
+ },
2016
+ {
2017
+ "name": "withdrawBins",
2018
+ "type": "map<int64, bool>"
2019
+ }
2020
+ ]
2021
+ },
2022
+ "PayloadCode": {
2023
+ "opcode": null,
2024
+ "fields": [
2025
+ {
2026
+ "name": "rangeCode",
2027
+ "type": "cell"
2028
+ },
2029
+ {
2030
+ "name": "lpAccCode",
2031
+ "type": "cell"
2032
+ },
2033
+ {
2034
+ "name": "lpPositionCode",
2035
+ "type": "cell"
2036
+ }
2037
+ ]
2038
+ },
2039
+ "PoolInitData": {
2040
+ "opcode": null,
2041
+ "fields": [
2042
+ {
2043
+ "name": "factory",
2044
+ "type": "address"
2045
+ },
2046
+ {
2047
+ "name": "xMaster",
2048
+ "type": "address?"
2049
+ },
2050
+ {
2051
+ "name": "yMaster",
2052
+ "type": "address"
2053
+ },
2054
+ {
2055
+ "name": "binStep",
2056
+ "type": "uint16"
2057
+ }
2058
+ ]
2059
+ },
2060
+ "PoolStorage": {
2061
+ "opcode": null,
2062
+ "fields": [
2063
+ {
2064
+ "name": "factory",
2065
+ "type": "address"
2066
+ },
2067
+ {
2068
+ "name": "xMaster",
2069
+ "type": "address?"
2070
+ },
2071
+ {
2072
+ "name": "yMaster",
2073
+ "type": "address"
2074
+ },
2075
+ {
2076
+ "name": "binStep",
2077
+ "type": "uint16"
2078
+ },
2079
+ {
2080
+ "name": "lpFee",
2081
+ "type": "uint8"
2082
+ },
2083
+ {
2084
+ "name": "protocolFee",
2085
+ "type": "uint8"
2086
+ },
2087
+ {
2088
+ "name": "rangeCode",
2089
+ "type": "cell"
2090
+ },
2091
+ {
2092
+ "name": "lpAccCode",
2093
+ "type": "cell"
2094
+ },
2095
+ {
2096
+ "name": "lpPositionCode",
2097
+ "type": "cell"
2098
+ }
2099
+ ]
2100
+ },
2101
+ "RangeInitData": {
2102
+ "opcode": null,
2103
+ "fields": [
2104
+ {
2105
+ "name": "pool",
2106
+ "type": "address"
2107
+ },
2108
+ {
2109
+ "name": "rangeNum",
2110
+ "type": "int16"
2111
+ }
2112
+ ]
2113
+ },
2114
+ "RangeInitPrice": {
2115
+ "opcode": null,
2116
+ "fields": [
2117
+ {
2118
+ "name": "initBin",
2119
+ "type": "int64"
2120
+ },
2121
+ {
2122
+ "name": "initSqrtPrice",
2123
+ "type": "uint256"
2124
+ }
2125
+ ]
2126
+ },
2127
+ "RangeState": {
2128
+ "opcode": null,
2129
+ "fields": [
2130
+ {
2131
+ "name": "currentBin",
2132
+ "type": "int64"
2133
+ },
2134
+ {
2135
+ "name": "currentSqrtP",
2136
+ "type": "uint256"
2137
+ },
2138
+ {
2139
+ "name": "xProtocolFees",
2140
+ "type": "coins"
2141
+ },
2142
+ {
2143
+ "name": "yProtocolFees",
2144
+ "type": "coins"
2145
+ }
2146
+ ]
2147
+ },
2148
+ "RangeStorage": {
2149
+ "opcode": null,
2150
+ "fields": [
2151
+ {
2152
+ "name": "pool",
2153
+ "type": "address"
2154
+ },
2155
+ {
2156
+ "name": "rangeNum",
2157
+ "type": "int16"
2158
+ },
2159
+ {
2160
+ "name": "xWallet",
2161
+ "type": "address?"
2162
+ },
2163
+ {
2164
+ "name": "yWallet",
2165
+ "type": "address"
2166
+ },
2167
+ {
2168
+ "name": "binStep",
2169
+ "type": "uint16"
2170
+ },
2171
+ {
2172
+ "name": "lpFee",
2173
+ "type": "uint8"
2174
+ },
2175
+ {
2176
+ "name": "protocolFee",
2177
+ "type": "uint8"
2178
+ },
2179
+ {
2180
+ "name": "positionIndex",
2181
+ "type": "uint64"
2182
+ },
2183
+ {
2184
+ "name": "rangeState",
2185
+ "type": "Cell<RangeState>"
2186
+ },
2187
+ {
2188
+ "name": "bins",
2189
+ "type": "map<int64, Bin>"
2190
+ },
2191
+ {
2192
+ "name": "lpAccountCode",
2193
+ "type": "cell"
2194
+ },
2195
+ {
2196
+ "name": "lpPositionCode",
2197
+ "type": "cell"
2198
+ }
2199
+ ]
2200
+ },
2201
+ "RangeUninitMasters": {
2202
+ "opcode": null,
2203
+ "fields": [
2204
+ {
2205
+ "name": "xMaster",
2206
+ "type": "address?"
2207
+ },
2208
+ {
2209
+ "name": "yMaster",
2210
+ "type": "address"
2211
+ }
2212
+ ]
2213
+ },
2214
+ "RangeUninitStorage": {
2215
+ "opcode": null,
2216
+ "fields": [
2217
+ {
2218
+ "name": "pool",
2219
+ "type": "address"
2220
+ },
2221
+ {
2222
+ "name": "rangeNum",
2223
+ "type": "int16"
2224
+ },
2225
+ {
2226
+ "name": "xWallet",
2227
+ "type": "address?"
2228
+ },
2229
+ {
2230
+ "name": "yWallet",
2231
+ "type": "address?"
2232
+ },
2233
+ {
2234
+ "name": "binStep",
2235
+ "type": "uint16"
2236
+ },
2237
+ {
2238
+ "name": "lpFee",
2239
+ "type": "uint8"
2240
+ },
2241
+ {
2242
+ "name": "protocolFee",
2243
+ "type": "uint8"
2244
+ },
2245
+ {
2246
+ "name": "nftIndex",
2247
+ "type": "uint64"
2248
+ },
2249
+ {
2250
+ "name": "rangeState",
2251
+ "type": "Cell<RangeState>"
2252
+ },
2253
+ {
2254
+ "name": "masters",
2255
+ "type": "Cell<RangeUninitMasters>"
2256
+ },
2257
+ {
2258
+ "name": "lpAccountCode",
2259
+ "type": "cell"
2260
+ },
2261
+ {
2262
+ "name": "lpPositionCode",
2263
+ "type": "cell"
2264
+ }
2265
+ ]
2266
+ },
2267
+ "SwapOut": {
2268
+ "opcode": null,
2269
+ "fields": [
2270
+ {
2271
+ "name": "totalOut",
2272
+ "type": "coins"
2273
+ },
2274
+ {
2275
+ "name": "newRangeState",
2276
+ "type": "RangeState"
2277
+ },
2278
+ {
2279
+ "name": "newRangeBins",
2280
+ "type": "map<int64, Bin>"
2281
+ }
2282
+ ]
2283
+ },
2284
+ "SwapResultJettonBody": {
2285
+ "opcode": null,
2286
+ "fields": [
2287
+ {
2288
+ "name": "op",
2289
+ "type": "uint32"
2290
+ },
2291
+ {
2292
+ "name": "payload",
2293
+ "type": "cell?"
2294
+ }
2295
+ ]
2296
+ },
2297
+ "SwapResultTonBody": {
2298
+ "opcode": null,
2299
+ "fields": [
2300
+ {
2301
+ "name": "op",
2302
+ "type": "uint32"
2303
+ },
2304
+ {
2305
+ "name": "queryId",
2306
+ "type": "uint64"
2307
+ },
2308
+ {
2309
+ "name": "amount",
2310
+ "type": "coins"
2311
+ },
2312
+ {
2313
+ "name": "payload",
2314
+ "type": "cell?"
2315
+ }
2316
+ ]
2317
+ },
2318
+ "TonSwapParams": {
2319
+ "opcode": null,
2320
+ "fields": [
2321
+ {
2322
+ "name": "swapAmount",
2323
+ "type": "coins"
2324
+ },
2325
+ {
2326
+ "name": "excess",
2327
+ "type": "address"
2328
+ },
2329
+ {
2330
+ "name": "sqrtPriceLimit",
2331
+ "type": "uint256"
2332
+ },
2333
+ {
2334
+ "name": "nextFulfill",
2335
+ "type": "cell?"
2336
+ },
2337
+ {
2338
+ "name": "nextReject",
2339
+ "type": "cell?"
2340
+ }
2341
+ ]
2342
+ }
2343
+ }
2344
+ },
2345
+ "jackpot": {
2346
+ "constants": {
2347
+ "ENTRY_GAS_FEE": "50000000",
2348
+ "MAX_ENTRIES": "100",
2349
+ "PAYOUT_MSG_BITS": "500",
2350
+ "PAYOUT_MSG_CELLS": "1",
2351
+ "PCT_ROLLOVER": "10",
2352
+ "PCT_WINNER": "85",
2353
+ "RESCUE_DELAY": "86400",
2354
+ "REVEAL_GAS_PER_ENTRY": "10000",
2355
+ "ROUND_DURATION": "300",
2356
+ "TICKET_PRICE": "100000000"
2357
+ },
2358
+ "errors": {
2359
+ "BAD_SECRET": 404,
2360
+ "BAD_SIGNATURE": 403,
2361
+ "DEPOSIT_TOO_SMALL": 401,
2362
+ "EXPIRED": 406,
2363
+ "NOTHING_TO_WITHDRAW": 409,
2364
+ "NOT_ADMIN": 402,
2365
+ "RESCUE_TOO_EARLY": 408,
2366
+ "REVEAL_NOT_ALLOWED": 407,
2367
+ "ROUND_CLOSED": 400,
2368
+ "UNKNOWN_OP": 65535,
2369
+ "WRONG_ROUND": 405
2370
+ },
2371
+ "structs": {
2372
+ "AdminConfig": {
2373
+ "opcode": null,
2374
+ "fields": [
2375
+ {
2376
+ "name": "pubKey",
2377
+ "type": "uint256"
2378
+ },
2379
+ {
2380
+ "name": "admin",
2381
+ "type": "address"
2382
+ },
2383
+ {
2384
+ "name": "serviceBalance",
2385
+ "type": "coins"
2386
+ }
2387
+ ]
2388
+ },
2389
+ "AdminForceCancel": {
2390
+ "opcode": "0x4490a04f",
2391
+ "fields": [
2392
+ {
2393
+ "name": "newCommit",
2394
+ "type": "uint256"
2395
+ }
2396
+ ]
2397
+ },
2398
+ "AdminWithdrawExcess": {
2399
+ "opcode": "0x00000778",
2400
+ "fields": [
2401
+ {
2402
+ "name": "recipient",
2403
+ "type": "address"
2404
+ }
2405
+ ]
2406
+ },
2407
+ "AdminWithdrawFees": {
2408
+ "opcode": "0x2695a187",
2409
+ "fields": [
2410
+ {
2411
+ "name": "recipient",
2412
+ "type": "address"
2413
+ }
2414
+ ]
2415
+ },
2416
+ "EntropyCell": {
2417
+ "opcode": null,
2418
+ "fields": [
2419
+ {
2420
+ "name": "secret",
2421
+ "type": "uint256"
2422
+ },
2423
+ {
2424
+ "name": "stateAcc",
2425
+ "type": "uint256"
2426
+ },
2427
+ {
2428
+ "name": "roundId",
2429
+ "type": "uint64"
2430
+ }
2431
+ ]
2432
+ },
2433
+ "Entry": {
2434
+ "opcode": null,
2435
+ "fields": [
2436
+ {
2437
+ "name": "owner",
2438
+ "type": "address"
2439
+ },
2440
+ {
2441
+ "name": "tickets",
2442
+ "type": "uint32"
2443
+ }
2444
+ ]
2445
+ },
2446
+ "JackpotStorage": {
2447
+ "opcode": null,
2448
+ "fields": [
2449
+ {
2450
+ "name": "roundId",
2451
+ "type": "uint64"
2452
+ },
2453
+ {
2454
+ "name": "deadline",
2455
+ "type": "uint32"
2456
+ },
2457
+ {
2458
+ "name": "entriesCount",
2459
+ "type": "uint16"
2460
+ },
2461
+ {
2462
+ "name": "totalTickets",
2463
+ "type": "uint32"
2464
+ },
2465
+ {
2466
+ "name": "commitHash",
2467
+ "type": "uint256"
2468
+ },
2469
+ {
2470
+ "name": "stateAcc",
2471
+ "type": "uint256"
2472
+ },
2473
+ {
2474
+ "name": "pot",
2475
+ "type": "coins"
2476
+ },
2477
+ {
2478
+ "name": "rollover",
2479
+ "type": "coins"
2480
+ },
2481
+ {
2482
+ "name": "entries",
2483
+ "type": "map<uint16, Entry>"
2484
+ },
2485
+ {
2486
+ "name": "admin",
2487
+ "type": "Cell<AdminConfig>"
2488
+ }
2489
+ ]
2490
+ },
2491
+ "JoinRound": {
2492
+ "opcode": "0x59c9180a",
2493
+ "fields": []
2494
+ },
2495
+ "RevealMessage": {
2496
+ "opcode": null,
2497
+ "fields": [
2498
+ {
2499
+ "name": "signature",
2500
+ "type": "bits512"
2501
+ },
2502
+ {
2503
+ "name": "payload",
2504
+ "type": "Cell<RevealPayload>"
2505
+ }
2506
+ ]
2507
+ },
2508
+ "RevealPayload": {
2509
+ "opcode": null,
2510
+ "fields": [
2511
+ {
2512
+ "name": "validUntil",
2513
+ "type": "uint32"
2514
+ },
2515
+ {
2516
+ "name": "roundId",
2517
+ "type": "uint64"
2518
+ },
2519
+ {
2520
+ "name": "secret",
2521
+ "type": "uint256"
2522
+ },
2523
+ {
2524
+ "name": "nextCommit",
2525
+ "type": "uint256"
2526
+ }
2527
+ ]
2528
+ },
2529
+ "SecretCell": {
2530
+ "opcode": null,
2531
+ "fields": [
2532
+ {
2533
+ "name": "secret",
2534
+ "type": "uint256"
2535
+ }
2536
+ ]
2537
+ },
2538
+ "StateMix": {
2539
+ "opcode": null,
2540
+ "fields": [
2541
+ {
2542
+ "name": "prev",
2543
+ "type": "uint256"
2544
+ },
2545
+ {
2546
+ "name": "owner",
2547
+ "type": "address"
2548
+ },
2549
+ {
2550
+ "name": "tickets",
2551
+ "type": "uint32"
2552
+ }
2553
+ ]
2554
+ },
2555
+ "TopUp": {
2556
+ "opcode": "0x00000777",
2557
+ "fields": []
2558
+ }
2559
+ }
2560
+ },
2561
+ "mempad": {
2562
+ "constants": {
2563
+ "FEE_DIVIDER": "10000",
2564
+ "GAS_BUY": "30000",
2565
+ "GAS_CONSUMPTION_BURN_NOTIFICATION": "4071",
2566
+ "GAS_CONSUMPTION_BURN_REQUEST": "4254",
2567
+ "GAS_CONSUMPTION_JETTON_RECEIVE": "7443",
2568
+ "GAS_CONSUMPTION_JETTON_TRANSFER": "6327",
2569
+ "GAS_DEPOSIT_LIQUIDITY": "30000",
2570
+ "LP_SLIT_BPS": "7000",
2571
+ "MESSAGE_SIZE_BURN_NOTIFICATION_BITS": "754",
2572
+ "MESSAGE_SIZE_BURN_NOTIFICATION_CELLS": "1",
2573
+ "METADATA_MAX_CELLS": "32",
2574
+ "META_MAX_DESC_BYTES": "500",
2575
+ "META_MAX_DESC_CELLS": "5",
2576
+ "META_MAX_IMAGE_BYTES": "256",
2577
+ "META_MAX_IMAGE_CELLS": "3",
2578
+ "META_MAX_LINK_BYTES": "64",
2579
+ "META_MAX_NAME_BYTES": "32",
2580
+ "META_MAX_SYMBOL_BYTES": "10",
2581
+ "RENT_FLOOR": "100000000",
2582
+ "SELL_MARKER": "3111818423",
2583
+ "SHARD_DEPTH": "8",
2584
+ "STORAGE_SIZE_INIT_STATE_WALLET_BITS": "812",
2585
+ "STORAGE_SIZE_INIT_STATE_WALLET_CELLS": "3",
2586
+ "STORAGE_SIZE_MAX_WALLET_BITS": "1026",
2587
+ "STORAGE_SIZE_MAX_WALLET_CELLS": "3",
2588
+ "VALUE_CREATE_LAUNCH": "200000000",
2589
+ "VALUE_CREATE_POOL": "1050000000",
2590
+ "VALUE_DEPLOY_POSITION": "60000000",
2591
+ "VALUE_JETTON_TRANSFER": "50000000",
2592
+ "VALUE_MIN_BUY": "10000000",
2593
+ "VALUE_POOL_ADDRESS": "60000000",
2594
+ "VALUE_POOL_READY": "60000000",
2595
+ "WORKCHAIN": "0"
2596
+ },
2597
+ "errors": {
2598
+ "INVALID_METADATA": 701,
2599
+ "INVALID_PAYLOAD": 700,
2600
+ "LOW_AMOUNT": 510,
2601
+ "LOW_GAS": 500,
2602
+ "SLIPPAGE": 505,
2603
+ "TOO_MUCH_ATTEMPTS": 666,
2604
+ "UNAUTHORIZED": 300,
2605
+ "WRONG_STATE": 555
2606
+ },
2607
+ "structs": {
2608
+ "AskToBurn": {
2609
+ "opcode": "0x595f07bc",
2610
+ "fields": [
2611
+ {
2612
+ "name": "queryId",
2613
+ "type": "uint64"
2614
+ },
2615
+ {
2616
+ "name": "jettonAmount",
2617
+ "type": "coins"
2618
+ },
2619
+ {
2620
+ "name": "sendExcessesTo",
2621
+ "type": "address?"
2622
+ },
2623
+ {
2624
+ "name": "customPayload",
2625
+ "type": "cell?"
2626
+ }
2627
+ ]
2628
+ },
2629
+ "AskToTransfer": {
2630
+ "opcode": "0x0f8a7ea5",
2631
+ "fields": [
2632
+ {
2633
+ "name": "queryId",
2634
+ "type": "uint64"
2635
+ },
2636
+ {
2637
+ "name": "jettonAmount",
2638
+ "type": "coins"
2639
+ },
2640
+ {
2641
+ "name": "transferRecipient",
2642
+ "type": "address"
2643
+ },
2644
+ {
2645
+ "name": "sendExcessesTo",
2646
+ "type": "address?"
2647
+ },
2648
+ {
2649
+ "name": "customPayload",
2650
+ "type": "cell?"
2651
+ },
2652
+ {
2653
+ "name": "forwardTonAmount",
2654
+ "type": "coins"
2655
+ },
2656
+ {
2657
+ "name": "forwardPayload",
2658
+ "type": "ForwardPayloadRemainder"
2659
+ }
2660
+ ]
2661
+ },
2662
+ "BurnNotificationForMinter": {
2663
+ "opcode": "0x7bdd97de",
2664
+ "fields": [
2665
+ {
2666
+ "name": "queryId",
2667
+ "type": "uint64"
2668
+ },
2669
+ {
2670
+ "name": "jettonAmount",
2671
+ "type": "coins"
2672
+ },
2673
+ {
2674
+ "name": "burnInitiator",
2675
+ "type": "address"
2676
+ },
2677
+ {
2678
+ "name": "sendExcessesTo",
2679
+ "type": "address?"
2680
+ },
2681
+ {
2682
+ "name": "forwardPayload",
2683
+ "type": "cell"
2684
+ }
2685
+ ]
2686
+ },
2687
+ "ChangeMinterAdmin": {
2688
+ "opcode": "0x6501f354",
2689
+ "fields": [
2690
+ {
2691
+ "name": "queryId",
2692
+ "type": "uint64"
2693
+ },
2694
+ {
2695
+ "name": "newAdminAddress",
2696
+ "type": "address"
2697
+ }
2698
+ ]
2699
+ },
2700
+ "ChangeMinterMetadata": {
2701
+ "opcode": "0xcb862902",
2702
+ "fields": [
2703
+ {
2704
+ "name": "queryId",
2705
+ "type": "uint64"
2706
+ },
2707
+ {
2708
+ "name": "newMetadata",
2709
+ "type": "cell"
2710
+ }
2711
+ ]
2712
+ },
2713
+ "ClaimMinterAdmin": {
2714
+ "opcode": "0xfb88e119",
2715
+ "fields": [
2716
+ {
2717
+ "name": "queryId",
2718
+ "type": "uint64"
2719
+ }
2720
+ ]
2721
+ },
2722
+ "CurveInitData": {
2723
+ "opcode": null,
2724
+ "fields": [
2725
+ {
2726
+ "name": "factory",
2727
+ "type": "address"
2728
+ },
2729
+ {
2730
+ "name": "creator",
2731
+ "type": "address"
2732
+ },
2733
+ {
2734
+ "name": "salt",
2735
+ "type": "uint64"
2736
+ }
2737
+ ]
2738
+ },
2739
+ "CurveStorage": {
2740
+ "opcode": null,
2741
+ "fields": [
2742
+ {
2743
+ "name": "factory",
2744
+ "type": "address"
2745
+ },
2746
+ {
2747
+ "name": "creator",
2748
+ "type": "address"
2749
+ },
2750
+ {
2751
+ "name": "salt",
2752
+ "type": "uint64"
2753
+ },
2754
+ {
2755
+ "name": "state",
2756
+ "type": "CurveState"
2757
+ },
2758
+ {
2759
+ "name": "params",
2760
+ "type": "Cell<Params>"
2761
+ },
2762
+ {
2763
+ "name": "trading",
2764
+ "type": "Cell<TradingState>"
2765
+ },
2766
+ {
2767
+ "name": "grad",
2768
+ "type": "Cell<GradState>"
2769
+ }
2770
+ ]
2771
+ },
2772
+ "DropMinterAdmin": {
2773
+ "opcode": "0x7431f221",
2774
+ "fields": [
2775
+ {
2776
+ "name": "queryId",
2777
+ "type": "uint64"
2778
+ }
2779
+ ]
2780
+ },
2781
+ "EconBase": {
2782
+ "opcode": null,
2783
+ "fields": [
2784
+ {
2785
+ "name": "tokensForSale",
2786
+ "type": "coins"
2787
+ },
2788
+ {
2789
+ "name": "tokensForLp",
2790
+ "type": "coins"
2791
+ },
2792
+ {
2793
+ "name": "virtualGram",
2794
+ "type": "coins"
2795
+ },
2796
+ {
2797
+ "name": "virtualTokens",
2798
+ "type": "coins"
2799
+ },
2800
+ {
2801
+ "name": "targetGram",
2802
+ "type": "coins"
2803
+ }
2804
+ ]
2805
+ },
2806
+ "EconState": {
2807
+ "opcode": null,
2808
+ "fields": [
2809
+ {
2810
+ "name": "tokensForSale",
2811
+ "type": "coins"
2812
+ },
2813
+ {
2814
+ "name": "tokensForLp",
2815
+ "type": "coins"
2816
+ },
2817
+ {
2818
+ "name": "virtualGram",
2819
+ "type": "coins"
2820
+ },
2821
+ {
2822
+ "name": "virtualTokens",
2823
+ "type": "coins"
2824
+ },
2825
+ {
2826
+ "name": "targetGram",
2827
+ "type": "coins"
2828
+ },
2829
+ {
2830
+ "name": "tradeFeeBps",
2831
+ "type": "uint16"
2832
+ },
2833
+ {
2834
+ "name": "creatorFeeBps",
2835
+ "type": "uint16"
2836
+ },
2837
+ {
2838
+ "name": "poolFeeBps",
2839
+ "type": "uint8"
2840
+ }
2841
+ ]
2842
+ },
2843
+ "FactoryConfig": {
2844
+ "opcode": null,
2845
+ "fields": [
2846
+ {
2847
+ "name": "cpmmFactory",
2848
+ "type": "address"
2849
+ },
2850
+ {
2851
+ "name": "protocolRecipient",
2852
+ "type": "address"
2853
+ },
2854
+ {
2855
+ "name": "econ",
2856
+ "type": "Cell<EconBase>"
2857
+ }
2858
+ ]
2859
+ },
2860
+ "FactoryStorage": {
2861
+ "opcode": null,
2862
+ "fields": [
2863
+ {
2864
+ "name": "admin",
2865
+ "type": "address"
2866
+ },
2867
+ {
2868
+ "name": "launchCount",
2869
+ "type": "uint64"
2870
+ },
2871
+ {
2872
+ "name": "launchFee",
2873
+ "type": "coins"
2874
+ },
2875
+ {
2876
+ "name": "config",
2877
+ "type": "Cell<FactoryConfig>"
2878
+ },
2879
+ {
2880
+ "name": "curveCode",
2881
+ "type": "cell"
2882
+ },
2883
+ {
2884
+ "name": "jwCode",
2885
+ "type": "cell"
2886
+ }
2887
+ ]
2888
+ },
2889
+ "GradState": {
2890
+ "opcode": null,
2891
+ "fields": [
2892
+ {
2893
+ "name": "cpmmFactory",
2894
+ "type": "address"
2895
+ },
2896
+ {
2897
+ "name": "protocolRecipient",
2898
+ "type": "address"
2899
+ },
2900
+ {
2901
+ "name": "pool",
2902
+ "type": "address?"
2903
+ },
2904
+ {
2905
+ "name": "state",
2906
+ "type": "Graduation"
2907
+ }
2908
+ ]
2909
+ },
2910
+ "InternalTransferStep": {
2911
+ "opcode": "0x178d4519",
2912
+ "fields": [
2913
+ {
2914
+ "name": "queryId",
2915
+ "type": "uint64"
2916
+ },
2917
+ {
2918
+ "name": "jettonAmount",
2919
+ "type": "coins"
2920
+ },
2921
+ {
2922
+ "name": "transferInitiator",
2923
+ "type": "address?"
2924
+ },
2925
+ {
2926
+ "name": "sendExcessesTo",
2927
+ "type": "address?"
2928
+ },
2929
+ {
2930
+ "name": "forwardTonAmount",
2931
+ "type": "coins"
2932
+ },
2933
+ {
2934
+ "name": "forwardPayload",
2935
+ "type": "ForwardPayloadRemainder"
2936
+ }
2937
+ ]
2938
+ },
2939
+ "JettonDataReply": {
2940
+ "opcode": null,
2941
+ "fields": [
2942
+ {
2943
+ "name": "totalSupply",
2944
+ "type": "int"
2945
+ },
2946
+ {
2947
+ "name": "mintable",
2948
+ "type": "bool"
2949
+ },
2950
+ {
2951
+ "name": "adminAddress",
2952
+ "type": "address?"
2953
+ },
2954
+ {
2955
+ "name": "jettonContent",
2956
+ "type": "Cell<OnchainMetadataReply>"
2957
+ },
2958
+ {
2959
+ "name": "jettonWalletCode",
2960
+ "type": "cell"
2961
+ }
2962
+ ]
2963
+ },
2964
+ "JettonDepositLiquidityPayload": {
2965
+ "opcode": "0x90af0b63",
2966
+ "fields": [
2967
+ {
2968
+ "name": "minLpOut",
2969
+ "type": "coins"
2970
+ },
2971
+ {
2972
+ "name": "locked",
2973
+ "type": "bool"
2974
+ },
2975
+ {
2976
+ "name": "split",
2977
+ "type": "Cell<LpSplit>?"
2978
+ }
2979
+ ]
2980
+ },
2981
+ "JettonWalletDataReply": {
2982
+ "opcode": null,
2983
+ "fields": [
2984
+ {
2985
+ "name": "jettonBalance",
2986
+ "type": "coins"
2987
+ },
2988
+ {
2989
+ "name": "ownerAddress",
2990
+ "type": "address"
2991
+ },
2992
+ {
2993
+ "name": "minterAddress",
2994
+ "type": "address"
2995
+ },
2996
+ {
2997
+ "name": "jettonWalletCode",
2998
+ "type": "cell"
2999
+ }
3000
+ ]
3001
+ },
3002
+ "LaunchContent": {
3003
+ "opcode": null,
3004
+ "fields": [
3005
+ {
3006
+ "name": "name",
3007
+ "type": "cell"
3008
+ },
3009
+ {
3010
+ "name": "symbol",
3011
+ "type": "cell"
3012
+ },
3013
+ {
3014
+ "name": "image",
3015
+ "type": "cell"
3016
+ },
3017
+ {
3018
+ "name": "extra",
3019
+ "type": "Cell<LaunchExtra>?"
3020
+ }
3021
+ ]
3022
+ },
3023
+ "LaunchExtra": {
3024
+ "opcode": null,
3025
+ "fields": [
3026
+ {
3027
+ "name": "description",
3028
+ "type": "cell"
3029
+ },
3030
+ {
3031
+ "name": "links",
3032
+ "type": "Cell<LaunchLinks>?"
3033
+ }
3034
+ ]
3035
+ },
3036
+ "LaunchLinks": {
3037
+ "opcode": null,
3038
+ "fields": [
3039
+ {
3040
+ "name": "website",
3041
+ "type": "cell?"
3042
+ },
3043
+ {
3044
+ "name": "twitter",
3045
+ "type": "cell?"
3046
+ },
3047
+ {
3048
+ "name": "telegram",
3049
+ "type": "cell?"
3050
+ }
3051
+ ]
3052
+ },
3053
+ "LpSplit": {
3054
+ "opcode": null,
3055
+ "fields": [
3056
+ {
3057
+ "name": "aRecipient",
3058
+ "type": "address"
3059
+ },
3060
+ {
3061
+ "name": "aBps",
3062
+ "type": "uint16"
3063
+ },
3064
+ {
3065
+ "name": "bRecipient",
3066
+ "type": "address"
3067
+ }
3068
+ ]
3069
+ },
3070
+ "MintNewJettons": {
3071
+ "opcode": "0x642b7d07",
3072
+ "fields": [
3073
+ {
3074
+ "name": "queryId",
3075
+ "type": "uint64"
3076
+ },
3077
+ {
3078
+ "name": "mintRecipient",
3079
+ "type": "address"
3080
+ },
3081
+ {
3082
+ "name": "tonAmount",
3083
+ "type": "coins"
3084
+ },
3085
+ {
3086
+ "name": "internalTransferMsg",
3087
+ "type": "Cell<InternalTransferStep>"
3088
+ }
3089
+ ]
3090
+ },
3091
+ "MinterStorage": {
3092
+ "opcode": null,
3093
+ "fields": [
3094
+ {
3095
+ "name": "totalSupply",
3096
+ "type": "coins"
3097
+ },
3098
+ {
3099
+ "name": "adminAddress",
3100
+ "type": "address?"
3101
+ },
3102
+ {
3103
+ "name": "nextAdminAddress",
3104
+ "type": "address?"
3105
+ },
3106
+ {
3107
+ "name": "metadata",
3108
+ "type": "cell"
3109
+ }
3110
+ ]
3111
+ },
3112
+ "MsgBuy": {
3113
+ "opcode": "0x29d1f1c1",
3114
+ "fields": [
3115
+ {
3116
+ "name": "queryId",
3117
+ "type": "uint64"
3118
+ },
3119
+ {
3120
+ "name": "minOut",
3121
+ "type": "coins"
3122
+ }
3123
+ ]
3124
+ },
3125
+ "MsgCreateLaunch": {
3126
+ "opcode": "0x7e838abb",
3127
+ "fields": [
3128
+ {
3129
+ "name": "queryId",
3130
+ "type": "uint64"
3131
+ },
3132
+ {
3133
+ "name": "salt",
3134
+ "type": "uint64"
3135
+ },
3136
+ {
3137
+ "name": "feeBps",
3138
+ "type": "uint8"
3139
+ },
3140
+ {
3141
+ "name": "initialBuy",
3142
+ "type": "coins"
3143
+ },
3144
+ {
3145
+ "name": "content",
3146
+ "type": "Cell<LaunchContent>"
3147
+ }
3148
+ ]
3149
+ },
3150
+ "MsgCreatePool": {
3151
+ "opcode": "0xec725c4f",
3152
+ "fields": [
3153
+ {
3154
+ "name": "queryId",
3155
+ "type": "uint64"
3156
+ },
3157
+ {
3158
+ "name": "xMaster",
3159
+ "type": "address?"
3160
+ },
3161
+ {
3162
+ "name": "yMaster",
3163
+ "type": "address?"
3164
+ },
3165
+ {
3166
+ "name": "feeBps",
3167
+ "type": "uint8"
3168
+ }
3169
+ ]
3170
+ },
3171
+ "MsgCreatorClaimFees": {
3172
+ "opcode": "0x6ec846e7",
3173
+ "fields": [
3174
+ {
3175
+ "name": "queryId",
3176
+ "type": "uint64"
3177
+ }
3178
+ ]
3179
+ },
3180
+ "MsgDepositLiquidity": {
3181
+ "opcode": "0x90af0b63",
3182
+ "fields": [
3183
+ {
3184
+ "name": "queryId",
3185
+ "type": "uint64"
3186
+ },
3187
+ {
3188
+ "name": "minLpOut",
3189
+ "type": "coins"
3190
+ },
3191
+ {
3192
+ "name": "locked",
3193
+ "type": "bool"
3194
+ },
3195
+ {
3196
+ "name": "split",
3197
+ "type": "Cell<LpSplit>?"
3198
+ }
3199
+ ]
3200
+ },
3201
+ "MsgFactoryWithdraw": {
3202
+ "opcode": "0x329068a6",
3203
+ "fields": [
3204
+ {
3205
+ "name": "queryId",
3206
+ "type": "uint64"
3207
+ },
3208
+ {
3209
+ "name": "amount",
3210
+ "type": "coins"
3211
+ },
3212
+ {
3213
+ "name": "recipient",
3214
+ "type": "address"
3215
+ }
3216
+ ]
3217
+ },
3218
+ "MsgInitLaunch": {
3219
+ "opcode": "0x61c9641a",
3220
+ "fields": [
3221
+ {
3222
+ "name": "queryId",
3223
+ "type": "uint64"
3224
+ },
3225
+ {
3226
+ "name": "cpmmFactory",
3227
+ "type": "address"
3228
+ },
3229
+ {
3230
+ "name": "protocolRecipient",
3231
+ "type": "address"
3232
+ },
3233
+ {
3234
+ "name": "initialBuy",
3235
+ "type": "coins"
3236
+ },
3237
+ {
3238
+ "name": "econ",
3239
+ "type": "Cell<EconState>"
3240
+ },
3241
+ {
3242
+ "name": "jwCode",
3243
+ "type": "cell"
3244
+ },
3245
+ {
3246
+ "name": "metadata",
3247
+ "type": "cell"
3248
+ }
3249
+ ]
3250
+ },
3251
+ "MsgInternalUpgradeCurve": {
3252
+ "opcode": "0x24293ccc",
3253
+ "fields": [
3254
+ {
3255
+ "name": "queryId",
3256
+ "type": "uint64"
3257
+ },
3258
+ {
3259
+ "name": "newCode",
3260
+ "type": "cell?"
3261
+ },
3262
+ {
3263
+ "name": "newData",
3264
+ "type": "cell?"
3265
+ }
3266
+ ]
3267
+ },
3268
+ "MsgProvidePoolAddress": {
3269
+ "opcode": "0x1d42af37",
3270
+ "fields": [
3271
+ {
3272
+ "name": "queryId",
3273
+ "type": "uint64"
3274
+ },
3275
+ {
3276
+ "name": "xMaster",
3277
+ "type": "address?"
3278
+ },
3279
+ {
3280
+ "name": "yMaster",
3281
+ "type": "address"
3282
+ },
3283
+ {
3284
+ "name": "feeBps",
3285
+ "type": "uint8"
3286
+ },
3287
+ {
3288
+ "name": "initiator",
3289
+ "type": "address"
3290
+ }
3291
+ ]
3292
+ },
3293
+ "MsgProvidePoolReady": {
3294
+ "opcode": "0x44daf70f",
3295
+ "fields": [
3296
+ {
3297
+ "name": "queryId",
3298
+ "type": "uint64"
3299
+ },
3300
+ {
3301
+ "name": "attempt",
3302
+ "type": "uint8"
3303
+ }
3304
+ ]
3305
+ },
3306
+ "MsgTakePoolAddress": {
3307
+ "opcode": "0x81a58422",
3308
+ "fields": [
3309
+ {
3310
+ "name": "queryId",
3311
+ "type": "uint64"
3312
+ },
3313
+ {
3314
+ "name": "pool",
3315
+ "type": "address"
3316
+ },
3317
+ {
3318
+ "name": "xMaster",
3319
+ "type": "address?"
3320
+ },
3321
+ {
3322
+ "name": "yMaster",
3323
+ "type": "address"
3324
+ },
3325
+ {
3326
+ "name": "feeBps",
3327
+ "type": "uint8"
3328
+ }
3329
+ ]
3330
+ },
3331
+ "MsgTakePoolReady": {
3332
+ "opcode": "0x67071f0d",
3333
+ "fields": [
3334
+ {
3335
+ "name": "queryId",
3336
+ "type": "uint64"
3337
+ },
3338
+ {
3339
+ "name": "attempt",
3340
+ "type": "uint8"
3341
+ },
3342
+ {
3343
+ "name": "isReady",
3344
+ "type": "bool"
3345
+ }
3346
+ ]
3347
+ },
3348
+ "MsgTokenSalePayout": {
3349
+ "opcode": "0xdee7a887",
3350
+ "fields": [
3351
+ {
3352
+ "name": "queryId",
3353
+ "type": "uint64"
3354
+ },
3355
+ {
3356
+ "name": "gramOut",
3357
+ "type": "coins"
3358
+ }
3359
+ ]
3360
+ },
3361
+ "MsgUpgradeCurve": {
3362
+ "opcode": "0x9057f56b",
3363
+ "fields": [
3364
+ {
3365
+ "name": "queryId",
3366
+ "type": "uint64"
3367
+ },
3368
+ {
3369
+ "name": "curve",
3370
+ "type": "address"
3371
+ },
3372
+ {
3373
+ "name": "newCode",
3374
+ "type": "cell?"
3375
+ },
3376
+ {
3377
+ "name": "newData",
3378
+ "type": "cell?"
3379
+ }
3380
+ ]
3381
+ },
3382
+ "MsgUpgradeFactory": {
3383
+ "opcode": "0x0eb678fe",
3384
+ "fields": [
3385
+ {
3386
+ "name": "queryId",
3387
+ "type": "uint64"
3388
+ },
3389
+ {
3390
+ "name": "newCode",
3391
+ "type": "cell?"
3392
+ },
3393
+ {
3394
+ "name": "newData",
3395
+ "type": "cell?"
3396
+ }
3397
+ ]
3398
+ },
3399
+ "OnchainMetadataReply": {
3400
+ "opcode": "0x00",
3401
+ "fields": [
3402
+ {
3403
+ "name": "contentDict",
3404
+ "type": "map<uint256, string_prefixed0x>"
3405
+ }
3406
+ ]
3407
+ },
3408
+ "Params": {
3409
+ "opcode": null,
3410
+ "fields": [
3411
+ {
3412
+ "name": "econ",
3413
+ "type": "Cell<EconState>"
3414
+ },
3415
+ {
3416
+ "name": "jwCode",
3417
+ "type": "cell"
3418
+ },
3419
+ {
3420
+ "name": "metadata",
3421
+ "type": "cell"
3422
+ }
3423
+ ]
3424
+ },
3425
+ "RequestWalletAddress": {
3426
+ "opcode": "0x2c76b973",
3427
+ "fields": [
3428
+ {
3429
+ "name": "queryId",
3430
+ "type": "uint64"
3431
+ },
3432
+ {
3433
+ "name": "ownerAddress",
3434
+ "type": "address"
3435
+ },
3436
+ {
3437
+ "name": "includeOwnerAddress",
3438
+ "type": "bool"
3439
+ }
3440
+ ]
3441
+ },
3442
+ "ResponseWalletAddress": {
3443
+ "opcode": "0xd1735400",
3444
+ "fields": [
3445
+ {
3446
+ "name": "queryId",
3447
+ "type": "uint64"
3448
+ },
3449
+ {
3450
+ "name": "jettonWalletAddress",
3451
+ "type": "address?"
3452
+ },
3453
+ {
3454
+ "name": "ownerAddress",
3455
+ "type": "Cell<address>?"
3456
+ }
3457
+ ]
3458
+ },
3459
+ "ReturnExcessesBack": {
3460
+ "opcode": "0xd53276db",
3461
+ "fields": [
3462
+ {
3463
+ "name": "queryId",
3464
+ "type": "uint64"
3465
+ }
3466
+ ]
3467
+ },
3468
+ "TokenSalePayload": {
3469
+ "opcode": null,
3470
+ "fields": [
3471
+ {
3472
+ "name": "op",
3473
+ "type": "uint32"
3474
+ },
3475
+ {
3476
+ "name": "minOut",
3477
+ "type": "coins"
3478
+ }
3479
+ ]
3480
+ },
3481
+ "TopUpTons": {
3482
+ "opcode": "0xd372158c",
3483
+ "fields": []
3484
+ },
3485
+ "TradingState": {
3486
+ "opcode": null,
3487
+ "fields": [
3488
+ {
3489
+ "name": "gramReserve",
3490
+ "type": "coins"
3491
+ },
3492
+ {
3493
+ "name": "supply",
3494
+ "type": "coins"
3495
+ },
3496
+ {
3497
+ "name": "creatorFees",
3498
+ "type": "coins"
3499
+ },
3500
+ {
3501
+ "name": "platformFees",
3502
+ "type": "coins"
3503
+ }
3504
+ ]
3505
+ },
3506
+ "TransferNotificationForRecipient": {
3507
+ "opcode": "0x7362d09c",
3508
+ "fields": [
3509
+ {
3510
+ "name": "queryId",
3511
+ "type": "uint64"
3512
+ },
3513
+ {
3514
+ "name": "jettonAmount",
3515
+ "type": "coins"
3516
+ },
3517
+ {
3518
+ "name": "transferInitiator",
3519
+ "type": "address?"
3520
+ },
3521
+ {
3522
+ "name": "forwardPayload",
3523
+ "type": "ForwardPayloadRemainder"
3524
+ }
3525
+ ]
3526
+ },
3527
+ "UpgradeMinterCode": {
3528
+ "opcode": "0x2508d66a",
3529
+ "fields": [
3530
+ {
3531
+ "name": "queryId",
3532
+ "type": "uint64"
3533
+ },
3534
+ {
3535
+ "name": "newData",
3536
+ "type": "cell"
3537
+ },
3538
+ {
3539
+ "name": "newCode",
3540
+ "type": "cell"
3541
+ }
3542
+ ]
3543
+ },
3544
+ "WalletStorage": {
3545
+ "opcode": null,
3546
+ "fields": [
3547
+ {
3548
+ "name": "jettonBalance",
3549
+ "type": "coins"
3550
+ },
3551
+ {
3552
+ "name": "ownerAddress",
3553
+ "type": "address"
3554
+ },
3555
+ {
3556
+ "name": "minterAddress",
3557
+ "type": "address"
3558
+ }
3559
+ ]
3560
+ }
3561
+ }
3562
+ }
3563
+ };
3564
+ //# sourceMappingURL=generated.js.map