@pendle/core-v2 5.12.2-cross-chain-pt → 6.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 (55) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  7. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  8. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  9. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.json +2 -2
  10. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  11. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
  12. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +4 -0
  13. package/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol +1 -3
  14. package/deployments/1-core.json +1 -2
  15. package/deployments/999-core.json +52 -0
  16. package/deployments/999-offchain-helper.json +7 -0
  17. package/package.json +6 -6
  18. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  19. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  20. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
  21. package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +1 -1
  22. package/typechain-types/hardhat.d.ts +0 -108
  23. package/typechain-types/index.ts +0 -24
  24. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +0 -4
  25. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +0 -466
  26. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +0 -4
  27. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +0 -191
  28. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +0 -4
  29. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +0 -1265
  30. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/BasePendleBridgedPrincipalToken.dbg.json +0 -4
  31. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/BasePendleBridgedPrincipalToken.json +0 -1527
  32. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken_18Decimals.dbg.json +0 -4
  33. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken_18Decimals.json +0 -1558
  34. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken_6Decimals.dbg.json +0 -4
  35. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken_6Decimals.json +0 -1558
  36. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken_8Decimals.dbg.json +0 -4
  37. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken_8Decimals.json +0 -1558
  38. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +0 -4
  39. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +0 -928
  40. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +0 -4
  41. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.json +0 -57
  42. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +0 -4
  43. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.json +0 -302
  44. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +0 -4
  45. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.json +0 -34
  46. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +0 -4
  47. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.json +0 -81
  48. package/contracts/cross-chain/FixedPricePTAMM.sol +0 -121
  49. package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -33
  50. package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +0 -12
  51. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +0 -61
  52. package/contracts/interfaces/IPBridgedPrincipalToken.sol +0 -11
  53. package/contracts/interfaces/IPChainlinkOracleEssential.sol +0 -11
  54. package/contracts/interfaces/IPFixedPricePTAMM.sol +0 -54
  55. package/contracts/interfaces/IPPTOFTAdapterFactory.sol +0 -12
@@ -1,928 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IPBridgedPrincipalToken",
4
- "sourceName": "contracts/interfaces/IPBridgedPrincipalToken.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "name": "InvalidDelegate",
9
- "type": "error"
10
- },
11
- {
12
- "inputs": [],
13
- "name": "InvalidEndpointCall",
14
- "type": "error"
15
- },
16
- {
17
- "inputs": [],
18
- "name": "InvalidLocalDecimals",
19
- "type": "error"
20
- },
21
- {
22
- "inputs": [
23
- {
24
- "internalType": "bytes",
25
- "name": "options",
26
- "type": "bytes"
27
- }
28
- ],
29
- "name": "InvalidOptions",
30
- "type": "error"
31
- },
32
- {
33
- "inputs": [
34
- {
35
- "internalType": "uint32",
36
- "name": "eid",
37
- "type": "uint32"
38
- }
39
- ],
40
- "name": "NoPeer",
41
- "type": "error"
42
- },
43
- {
44
- "inputs": [
45
- {
46
- "internalType": "uint32",
47
- "name": "eid",
48
- "type": "uint32"
49
- },
50
- {
51
- "internalType": "bytes32",
52
- "name": "sender",
53
- "type": "bytes32"
54
- }
55
- ],
56
- "name": "OnlyPeer",
57
- "type": "error"
58
- },
59
- {
60
- "inputs": [
61
- {
62
- "internalType": "uint256",
63
- "name": "amountLD",
64
- "type": "uint256"
65
- },
66
- {
67
- "internalType": "uint256",
68
- "name": "minAmountLD",
69
- "type": "uint256"
70
- }
71
- ],
72
- "name": "SlippageExceeded",
73
- "type": "error"
74
- },
75
- {
76
- "anonymous": false,
77
- "inputs": [
78
- {
79
- "indexed": true,
80
- "internalType": "address",
81
- "name": "owner",
82
- "type": "address"
83
- },
84
- {
85
- "indexed": true,
86
- "internalType": "address",
87
- "name": "spender",
88
- "type": "address"
89
- },
90
- {
91
- "indexed": false,
92
- "internalType": "uint256",
93
- "name": "value",
94
- "type": "uint256"
95
- }
96
- ],
97
- "name": "Approval",
98
- "type": "event"
99
- },
100
- {
101
- "anonymous": false,
102
- "inputs": [
103
- {
104
- "components": [
105
- {
106
- "internalType": "uint32",
107
- "name": "eid",
108
- "type": "uint32"
109
- },
110
- {
111
- "internalType": "uint16",
112
- "name": "msgType",
113
- "type": "uint16"
114
- },
115
- {
116
- "internalType": "bytes",
117
- "name": "options",
118
- "type": "bytes"
119
- }
120
- ],
121
- "indexed": false,
122
- "internalType": "struct EnforcedOptionParam[]",
123
- "name": "_enforcedOptions",
124
- "type": "tuple[]"
125
- }
126
- ],
127
- "name": "EnforcedOptionSet",
128
- "type": "event"
129
- },
130
- {
131
- "anonymous": false,
132
- "inputs": [
133
- {
134
- "indexed": true,
135
- "internalType": "bytes32",
136
- "name": "guid",
137
- "type": "bytes32"
138
- },
139
- {
140
- "indexed": false,
141
- "internalType": "uint32",
142
- "name": "srcEid",
143
- "type": "uint32"
144
- },
145
- {
146
- "indexed": true,
147
- "internalType": "address",
148
- "name": "toAddress",
149
- "type": "address"
150
- },
151
- {
152
- "indexed": false,
153
- "internalType": "uint256",
154
- "name": "amountReceivedLD",
155
- "type": "uint256"
156
- }
157
- ],
158
- "name": "OFTReceived",
159
- "type": "event"
160
- },
161
- {
162
- "anonymous": false,
163
- "inputs": [
164
- {
165
- "indexed": true,
166
- "internalType": "bytes32",
167
- "name": "guid",
168
- "type": "bytes32"
169
- },
170
- {
171
- "indexed": false,
172
- "internalType": "uint32",
173
- "name": "dstEid",
174
- "type": "uint32"
175
- },
176
- {
177
- "indexed": true,
178
- "internalType": "address",
179
- "name": "fromAddress",
180
- "type": "address"
181
- },
182
- {
183
- "indexed": false,
184
- "internalType": "uint256",
185
- "name": "amountSentLD",
186
- "type": "uint256"
187
- },
188
- {
189
- "indexed": false,
190
- "internalType": "uint256",
191
- "name": "amountReceivedLD",
192
- "type": "uint256"
193
- }
194
- ],
195
- "name": "OFTSent",
196
- "type": "event"
197
- },
198
- {
199
- "anonymous": false,
200
- "inputs": [
201
- {
202
- "indexed": false,
203
- "internalType": "uint32",
204
- "name": "eid",
205
- "type": "uint32"
206
- },
207
- {
208
- "indexed": false,
209
- "internalType": "bytes32",
210
- "name": "peer",
211
- "type": "bytes32"
212
- }
213
- ],
214
- "name": "PeerSet",
215
- "type": "event"
216
- },
217
- {
218
- "anonymous": false,
219
- "inputs": [
220
- {
221
- "indexed": true,
222
- "internalType": "address",
223
- "name": "from",
224
- "type": "address"
225
- },
226
- {
227
- "indexed": true,
228
- "internalType": "address",
229
- "name": "to",
230
- "type": "address"
231
- },
232
- {
233
- "indexed": false,
234
- "internalType": "uint256",
235
- "name": "value",
236
- "type": "uint256"
237
- }
238
- ],
239
- "name": "Transfer",
240
- "type": "event"
241
- },
242
- {
243
- "inputs": [
244
- {
245
- "internalType": "address",
246
- "name": "owner",
247
- "type": "address"
248
- },
249
- {
250
- "internalType": "address",
251
- "name": "spender",
252
- "type": "address"
253
- }
254
- ],
255
- "name": "allowance",
256
- "outputs": [
257
- {
258
- "internalType": "uint256",
259
- "name": "",
260
- "type": "uint256"
261
- }
262
- ],
263
- "stateMutability": "view",
264
- "type": "function"
265
- },
266
- {
267
- "inputs": [],
268
- "name": "approvalRequired",
269
- "outputs": [
270
- {
271
- "internalType": "bool",
272
- "name": "",
273
- "type": "bool"
274
- }
275
- ],
276
- "stateMutability": "view",
277
- "type": "function"
278
- },
279
- {
280
- "inputs": [
281
- {
282
- "internalType": "address",
283
- "name": "spender",
284
- "type": "address"
285
- },
286
- {
287
- "internalType": "uint256",
288
- "name": "amount",
289
- "type": "uint256"
290
- }
291
- ],
292
- "name": "approve",
293
- "outputs": [
294
- {
295
- "internalType": "bool",
296
- "name": "",
297
- "type": "bool"
298
- }
299
- ],
300
- "stateMutability": "nonpayable",
301
- "type": "function"
302
- },
303
- {
304
- "inputs": [
305
- {
306
- "internalType": "address",
307
- "name": "account",
308
- "type": "address"
309
- }
310
- ],
311
- "name": "balanceOf",
312
- "outputs": [
313
- {
314
- "internalType": "uint256",
315
- "name": "",
316
- "type": "uint256"
317
- }
318
- ],
319
- "stateMutability": "view",
320
- "type": "function"
321
- },
322
- {
323
- "inputs": [
324
- {
325
- "internalType": "uint32",
326
- "name": "_eid",
327
- "type": "uint32"
328
- },
329
- {
330
- "internalType": "uint16",
331
- "name": "_msgType",
332
- "type": "uint16"
333
- },
334
- {
335
- "internalType": "bytes",
336
- "name": "_extraOptions",
337
- "type": "bytes"
338
- }
339
- ],
340
- "name": "combineOptions",
341
- "outputs": [
342
- {
343
- "internalType": "bytes",
344
- "name": "options",
345
- "type": "bytes"
346
- }
347
- ],
348
- "stateMutability": "view",
349
- "type": "function"
350
- },
351
- {
352
- "inputs": [],
353
- "name": "decimals",
354
- "outputs": [
355
- {
356
- "internalType": "uint8",
357
- "name": "",
358
- "type": "uint8"
359
- }
360
- ],
361
- "stateMutability": "view",
362
- "type": "function"
363
- },
364
- {
365
- "inputs": [],
366
- "name": "endpoint",
367
- "outputs": [
368
- {
369
- "internalType": "contract ILayerZeroEndpointV2",
370
- "name": "iEndpoint",
371
- "type": "address"
372
- }
373
- ],
374
- "stateMutability": "view",
375
- "type": "function"
376
- },
377
- {
378
- "inputs": [],
379
- "name": "expiry",
380
- "outputs": [
381
- {
382
- "internalType": "uint256",
383
- "name": "",
384
- "type": "uint256"
385
- }
386
- ],
387
- "stateMutability": "view",
388
- "type": "function"
389
- },
390
- {
391
- "inputs": [],
392
- "name": "name",
393
- "outputs": [
394
- {
395
- "internalType": "string",
396
- "name": "",
397
- "type": "string"
398
- }
399
- ],
400
- "stateMutability": "view",
401
- "type": "function"
402
- },
403
- {
404
- "inputs": [],
405
- "name": "oAppVersion",
406
- "outputs": [
407
- {
408
- "internalType": "uint64",
409
- "name": "senderVersion",
410
- "type": "uint64"
411
- },
412
- {
413
- "internalType": "uint64",
414
- "name": "receiverVersion",
415
- "type": "uint64"
416
- }
417
- ],
418
- "stateMutability": "view",
419
- "type": "function"
420
- },
421
- {
422
- "inputs": [],
423
- "name": "oftVersion",
424
- "outputs": [
425
- {
426
- "internalType": "bytes4",
427
- "name": "interfaceId",
428
- "type": "bytes4"
429
- },
430
- {
431
- "internalType": "uint64",
432
- "name": "version",
433
- "type": "uint64"
434
- }
435
- ],
436
- "stateMutability": "view",
437
- "type": "function"
438
- },
439
- {
440
- "inputs": [
441
- {
442
- "internalType": "uint32",
443
- "name": "_eid",
444
- "type": "uint32"
445
- }
446
- ],
447
- "name": "peers",
448
- "outputs": [
449
- {
450
- "internalType": "bytes32",
451
- "name": "peer",
452
- "type": "bytes32"
453
- }
454
- ],
455
- "stateMutability": "view",
456
- "type": "function"
457
- },
458
- {
459
- "inputs": [
460
- {
461
- "components": [
462
- {
463
- "internalType": "uint32",
464
- "name": "dstEid",
465
- "type": "uint32"
466
- },
467
- {
468
- "internalType": "bytes32",
469
- "name": "to",
470
- "type": "bytes32"
471
- },
472
- {
473
- "internalType": "uint256",
474
- "name": "amountLD",
475
- "type": "uint256"
476
- },
477
- {
478
- "internalType": "uint256",
479
- "name": "minAmountLD",
480
- "type": "uint256"
481
- },
482
- {
483
- "internalType": "bytes",
484
- "name": "extraOptions",
485
- "type": "bytes"
486
- },
487
- {
488
- "internalType": "bytes",
489
- "name": "composeMsg",
490
- "type": "bytes"
491
- },
492
- {
493
- "internalType": "bytes",
494
- "name": "oftCmd",
495
- "type": "bytes"
496
- }
497
- ],
498
- "internalType": "struct SendParam",
499
- "name": "_sendParam",
500
- "type": "tuple"
501
- }
502
- ],
503
- "name": "quoteOFT",
504
- "outputs": [
505
- {
506
- "components": [
507
- {
508
- "internalType": "uint256",
509
- "name": "minAmountLD",
510
- "type": "uint256"
511
- },
512
- {
513
- "internalType": "uint256",
514
- "name": "maxAmountLD",
515
- "type": "uint256"
516
- }
517
- ],
518
- "internalType": "struct OFTLimit",
519
- "name": "",
520
- "type": "tuple"
521
- },
522
- {
523
- "components": [
524
- {
525
- "internalType": "int256",
526
- "name": "feeAmountLD",
527
- "type": "int256"
528
- },
529
- {
530
- "internalType": "string",
531
- "name": "description",
532
- "type": "string"
533
- }
534
- ],
535
- "internalType": "struct OFTFeeDetail[]",
536
- "name": "oftFeeDetails",
537
- "type": "tuple[]"
538
- },
539
- {
540
- "components": [
541
- {
542
- "internalType": "uint256",
543
- "name": "amountSentLD",
544
- "type": "uint256"
545
- },
546
- {
547
- "internalType": "uint256",
548
- "name": "amountReceivedLD",
549
- "type": "uint256"
550
- }
551
- ],
552
- "internalType": "struct OFTReceipt",
553
- "name": "",
554
- "type": "tuple"
555
- }
556
- ],
557
- "stateMutability": "view",
558
- "type": "function"
559
- },
560
- {
561
- "inputs": [
562
- {
563
- "components": [
564
- {
565
- "internalType": "uint32",
566
- "name": "dstEid",
567
- "type": "uint32"
568
- },
569
- {
570
- "internalType": "bytes32",
571
- "name": "to",
572
- "type": "bytes32"
573
- },
574
- {
575
- "internalType": "uint256",
576
- "name": "amountLD",
577
- "type": "uint256"
578
- },
579
- {
580
- "internalType": "uint256",
581
- "name": "minAmountLD",
582
- "type": "uint256"
583
- },
584
- {
585
- "internalType": "bytes",
586
- "name": "extraOptions",
587
- "type": "bytes"
588
- },
589
- {
590
- "internalType": "bytes",
591
- "name": "composeMsg",
592
- "type": "bytes"
593
- },
594
- {
595
- "internalType": "bytes",
596
- "name": "oftCmd",
597
- "type": "bytes"
598
- }
599
- ],
600
- "internalType": "struct SendParam",
601
- "name": "_sendParam",
602
- "type": "tuple"
603
- },
604
- {
605
- "internalType": "bool",
606
- "name": "_payInLzToken",
607
- "type": "bool"
608
- }
609
- ],
610
- "name": "quoteSend",
611
- "outputs": [
612
- {
613
- "components": [
614
- {
615
- "internalType": "uint256",
616
- "name": "nativeFee",
617
- "type": "uint256"
618
- },
619
- {
620
- "internalType": "uint256",
621
- "name": "lzTokenFee",
622
- "type": "uint256"
623
- }
624
- ],
625
- "internalType": "struct MessagingFee",
626
- "name": "",
627
- "type": "tuple"
628
- }
629
- ],
630
- "stateMutability": "view",
631
- "type": "function"
632
- },
633
- {
634
- "inputs": [
635
- {
636
- "components": [
637
- {
638
- "internalType": "uint32",
639
- "name": "dstEid",
640
- "type": "uint32"
641
- },
642
- {
643
- "internalType": "bytes32",
644
- "name": "to",
645
- "type": "bytes32"
646
- },
647
- {
648
- "internalType": "uint256",
649
- "name": "amountLD",
650
- "type": "uint256"
651
- },
652
- {
653
- "internalType": "uint256",
654
- "name": "minAmountLD",
655
- "type": "uint256"
656
- },
657
- {
658
- "internalType": "bytes",
659
- "name": "extraOptions",
660
- "type": "bytes"
661
- },
662
- {
663
- "internalType": "bytes",
664
- "name": "composeMsg",
665
- "type": "bytes"
666
- },
667
- {
668
- "internalType": "bytes",
669
- "name": "oftCmd",
670
- "type": "bytes"
671
- }
672
- ],
673
- "internalType": "struct SendParam",
674
- "name": "_sendParam",
675
- "type": "tuple"
676
- },
677
- {
678
- "components": [
679
- {
680
- "internalType": "uint256",
681
- "name": "nativeFee",
682
- "type": "uint256"
683
- },
684
- {
685
- "internalType": "uint256",
686
- "name": "lzTokenFee",
687
- "type": "uint256"
688
- }
689
- ],
690
- "internalType": "struct MessagingFee",
691
- "name": "_fee",
692
- "type": "tuple"
693
- },
694
- {
695
- "internalType": "address",
696
- "name": "_refundAddress",
697
- "type": "address"
698
- }
699
- ],
700
- "name": "send",
701
- "outputs": [
702
- {
703
- "components": [
704
- {
705
- "internalType": "bytes32",
706
- "name": "guid",
707
- "type": "bytes32"
708
- },
709
- {
710
- "internalType": "uint64",
711
- "name": "nonce",
712
- "type": "uint64"
713
- },
714
- {
715
- "components": [
716
- {
717
- "internalType": "uint256",
718
- "name": "nativeFee",
719
- "type": "uint256"
720
- },
721
- {
722
- "internalType": "uint256",
723
- "name": "lzTokenFee",
724
- "type": "uint256"
725
- }
726
- ],
727
- "internalType": "struct MessagingFee",
728
- "name": "fee",
729
- "type": "tuple"
730
- }
731
- ],
732
- "internalType": "struct MessagingReceipt",
733
- "name": "",
734
- "type": "tuple"
735
- },
736
- {
737
- "components": [
738
- {
739
- "internalType": "uint256",
740
- "name": "amountSentLD",
741
- "type": "uint256"
742
- },
743
- {
744
- "internalType": "uint256",
745
- "name": "amountReceivedLD",
746
- "type": "uint256"
747
- }
748
- ],
749
- "internalType": "struct OFTReceipt",
750
- "name": "",
751
- "type": "tuple"
752
- }
753
- ],
754
- "stateMutability": "payable",
755
- "type": "function"
756
- },
757
- {
758
- "inputs": [
759
- {
760
- "internalType": "address",
761
- "name": "_delegate",
762
- "type": "address"
763
- }
764
- ],
765
- "name": "setDelegate",
766
- "outputs": [],
767
- "stateMutability": "nonpayable",
768
- "type": "function"
769
- },
770
- {
771
- "inputs": [
772
- {
773
- "components": [
774
- {
775
- "internalType": "uint32",
776
- "name": "eid",
777
- "type": "uint32"
778
- },
779
- {
780
- "internalType": "uint16",
781
- "name": "msgType",
782
- "type": "uint16"
783
- },
784
- {
785
- "internalType": "bytes",
786
- "name": "options",
787
- "type": "bytes"
788
- }
789
- ],
790
- "internalType": "struct EnforcedOptionParam[]",
791
- "name": "_enforcedOptions",
792
- "type": "tuple[]"
793
- }
794
- ],
795
- "name": "setEnforcedOptions",
796
- "outputs": [],
797
- "stateMutability": "nonpayable",
798
- "type": "function"
799
- },
800
- {
801
- "inputs": [
802
- {
803
- "internalType": "uint32",
804
- "name": "_eid",
805
- "type": "uint32"
806
- },
807
- {
808
- "internalType": "bytes32",
809
- "name": "_peer",
810
- "type": "bytes32"
811
- }
812
- ],
813
- "name": "setPeer",
814
- "outputs": [],
815
- "stateMutability": "nonpayable",
816
- "type": "function"
817
- },
818
- {
819
- "inputs": [],
820
- "name": "sharedDecimals",
821
- "outputs": [
822
- {
823
- "internalType": "uint8",
824
- "name": "",
825
- "type": "uint8"
826
- }
827
- ],
828
- "stateMutability": "view",
829
- "type": "function"
830
- },
831
- {
832
- "inputs": [],
833
- "name": "symbol",
834
- "outputs": [
835
- {
836
- "internalType": "string",
837
- "name": "",
838
- "type": "string"
839
- }
840
- ],
841
- "stateMutability": "view",
842
- "type": "function"
843
- },
844
- {
845
- "inputs": [],
846
- "name": "token",
847
- "outputs": [
848
- {
849
- "internalType": "address",
850
- "name": "",
851
- "type": "address"
852
- }
853
- ],
854
- "stateMutability": "view",
855
- "type": "function"
856
- },
857
- {
858
- "inputs": [],
859
- "name": "totalSupply",
860
- "outputs": [
861
- {
862
- "internalType": "uint256",
863
- "name": "",
864
- "type": "uint256"
865
- }
866
- ],
867
- "stateMutability": "view",
868
- "type": "function"
869
- },
870
- {
871
- "inputs": [
872
- {
873
- "internalType": "address",
874
- "name": "to",
875
- "type": "address"
876
- },
877
- {
878
- "internalType": "uint256",
879
- "name": "amount",
880
- "type": "uint256"
881
- }
882
- ],
883
- "name": "transfer",
884
- "outputs": [
885
- {
886
- "internalType": "bool",
887
- "name": "",
888
- "type": "bool"
889
- }
890
- ],
891
- "stateMutability": "nonpayable",
892
- "type": "function"
893
- },
894
- {
895
- "inputs": [
896
- {
897
- "internalType": "address",
898
- "name": "from",
899
- "type": "address"
900
- },
901
- {
902
- "internalType": "address",
903
- "name": "to",
904
- "type": "address"
905
- },
906
- {
907
- "internalType": "uint256",
908
- "name": "amount",
909
- "type": "uint256"
910
- }
911
- ],
912
- "name": "transferFrom",
913
- "outputs": [
914
- {
915
- "internalType": "bool",
916
- "name": "",
917
- "type": "bool"
918
- }
919
- ],
920
- "stateMutability": "nonpayable",
921
- "type": "function"
922
- }
923
- ],
924
- "bytecode": "0x",
925
- "deployedBytecode": "0x",
926
- "linkReferences": {},
927
- "deployedLinkReferences": {}
928
- }