@pendle/core-v2 4.5.1-beta-1 → 4.5.1-beta-3
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.
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.json +1049 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.json +1039 -0
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +805 -80
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +958 -233
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +60 -0
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.json +25 -0
- package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.json +207 -0
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +401 -0
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +707 -140
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +4 -0
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +39 -0
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol +6 -1
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol +56 -0
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol +111 -0
- package/contracts/interfaces/IPActionMiscV3.sol +85 -25
- package/contracts/interfaces/IPGovernanceProxy.sol +14 -0
- package/contracts/interfaces/IPPausingInterface.sol +8 -0
- package/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol +66 -0
- package/contracts/offchain-helpers/PendleGovernanceProxy.sol +84 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +12 -4
- package/contracts/router/ActionMiscV3.sol +140 -167
- package/contracts/router/Reflector.sol +61 -0
- package/contracts/router/base/ActionBase.sol +0 -16
- package/deployments/1-markets/EZETH-MAINNET-SEP2024.json +11 -0
- package/deployments/1-markets/PUFETH-MAINNET-SEP2024.json +11 -0
- package/deployments/1-markets/RSETH-MAINNET-SEP2024.json +11 -0
- package/deployments/1-markets/RSWETH-SWELL-STAKING-MAINNET-JUL2024.json +11 -0
- package/deployments/1-markets/SUSDE-MAINNET-SEP2024.json +13 -0
- package/deployments/1-markets/UNIETH-MAINNET-SEP2024.json +13 -0
- package/deployments/1-markets/WEETH-MAINNET-SEP2024.json +11 -0
- package/deployments/42161-core.json +1 -1
- package/deployments/42161-markets/EZETH-ARB-SEP2024.json +11 -0
- package/deployments/42161-markets/RSETH-ARBITRUM-SEP2024.json +11 -0
- package/deployments/42161-markets/SILO-PTEETH-ARBITRUM-JUNE2024.json +11 -0
- package/deployments/42161-markets/SILO-PTEZETH-ARBITRUM-JUNE2024.json +11 -0
- package/deployments/42161-markets/WEETH-ARB-SEP2024.json +11 -0
- package/deployments/56-markets/WEETH-BSC-SEP2024.json +11 -0
- package/package.json +2 -2
- package/typechain-types/ActionMiscV3.ts +358 -120
- package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
- package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
- package/typechain-types/IPActionMiscV3.ts +408 -40
- package/typechain-types/IPAllActionV3.ts +408 -40
- package/typechain-types/IPGovernanceProxy.ts +142 -0
- package/typechain-types/IPPYLpOracle.ts +379 -0
- package/typechain-types/IPPausingInterface.ts +112 -0
- package/typechain-types/IPossibleSupplyCapInterface.ts +142 -0
- package/typechain-types/PendleGovernanceProxy.ts +603 -0
- package/typechain-types/PendlePYLpOracle.ts +612 -0
- package/typechain-types/Reflector.ts +98 -0
- package/typechain-types/SupplyCapReader.ts +105 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +705 -138
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
- package/typechain-types/factories/IPActionMiscV3__factory.ts +805 -80
- package/typechain-types/factories/IPAllActionV3__factory.ts +958 -233
- package/typechain-types/factories/IPGovernanceProxy__factory.ts +75 -0
- package/typechain-types/factories/IPPYLpOracle__factory.ts +214 -0
- package/typechain-types/factories/IPPausingInterface__factory.ts +40 -0
- package/typechain-types/factories/IPossibleSupplyCapInterface__factory.ts +82 -0
- package/typechain-types/factories/PendleERC20WithSupplyCapSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGovernanceProxy__factory.ts +458 -0
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +487 -0
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +89 -0
- package/typechain-types/factories/SupplyCapReader__factory.ts +88 -0
- package/typechain-types/hardhat.d.ts +54 -0
- package/typechain-types/index.ts +12 -0
- /package/deployments/1-markets/{EZETH-JUNE2024.json → EZETH-APR2024.json} +0 -0
- /package/deployments/42161-markets/{RSETH-MAY2024.json → RSETH-JUNE2024.json} +0 -0
- /package/deployments/42161-markets/{WEETH-MAY2024.json → WEETH-JUNE2024.json} +0 -0
|
@@ -350,29 +350,56 @@ const _abi = [
|
|
|
350
350
|
{
|
|
351
351
|
indexed: true,
|
|
352
352
|
internalType: "address",
|
|
353
|
-
name: "
|
|
353
|
+
name: "market",
|
|
354
354
|
type: "address",
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
indexed: true,
|
|
358
358
|
internalType: "address",
|
|
359
|
-
name: "
|
|
359
|
+
name: "receiver",
|
|
360
360
|
type: "address",
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
indexed: false,
|
|
364
364
|
internalType: "uint256",
|
|
365
|
-
name: "
|
|
365
|
+
name: "netLpIn",
|
|
366
366
|
type: "uint256",
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
|
+
components: [
|
|
370
|
+
{
|
|
371
|
+
internalType: "uint256",
|
|
372
|
+
name: "netPtFromRemove",
|
|
373
|
+
type: "uint256",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
internalType: "uint256",
|
|
377
|
+
name: "netSyFromRemove",
|
|
378
|
+
type: "uint256",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
internalType: "uint256",
|
|
382
|
+
name: "netPtRedeem",
|
|
383
|
+
type: "uint256",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
internalType: "uint256",
|
|
387
|
+
name: "netSyFromRedeem",
|
|
388
|
+
type: "uint256",
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
internalType: "uint256",
|
|
392
|
+
name: "totalSyOut",
|
|
393
|
+
type: "uint256",
|
|
394
|
+
},
|
|
395
|
+
],
|
|
369
396
|
indexed: false,
|
|
370
|
-
internalType: "
|
|
371
|
-
name: "
|
|
372
|
-
type: "
|
|
397
|
+
internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
|
|
398
|
+
name: "params",
|
|
399
|
+
type: "tuple",
|
|
373
400
|
},
|
|
374
401
|
],
|
|
375
|
-
name: "
|
|
402
|
+
name: "ExitPostExpToSy",
|
|
376
403
|
type: "event",
|
|
377
404
|
},
|
|
378
405
|
{
|
|
@@ -387,13 +414,13 @@ const _abi = [
|
|
|
387
414
|
{
|
|
388
415
|
indexed: true,
|
|
389
416
|
internalType: "address",
|
|
390
|
-
name: "
|
|
417
|
+
name: "market",
|
|
391
418
|
type: "address",
|
|
392
419
|
},
|
|
393
420
|
{
|
|
394
421
|
indexed: true,
|
|
395
422
|
internalType: "address",
|
|
396
|
-
name: "
|
|
423
|
+
name: "token",
|
|
397
424
|
type: "address",
|
|
398
425
|
},
|
|
399
426
|
{
|
|
@@ -405,23 +432,50 @@ const _abi = [
|
|
|
405
432
|
{
|
|
406
433
|
indexed: false,
|
|
407
434
|
internalType: "uint256",
|
|
408
|
-
name: "
|
|
435
|
+
name: "netLpIn",
|
|
409
436
|
type: "uint256",
|
|
410
437
|
},
|
|
411
438
|
{
|
|
412
439
|
indexed: false,
|
|
413
440
|
internalType: "uint256",
|
|
414
|
-
name: "
|
|
441
|
+
name: "totalTokenOut",
|
|
415
442
|
type: "uint256",
|
|
416
443
|
},
|
|
417
444
|
{
|
|
445
|
+
components: [
|
|
446
|
+
{
|
|
447
|
+
internalType: "uint256",
|
|
448
|
+
name: "netPtFromRemove",
|
|
449
|
+
type: "uint256",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
internalType: "uint256",
|
|
453
|
+
name: "netSyFromRemove",
|
|
454
|
+
type: "uint256",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
internalType: "uint256",
|
|
458
|
+
name: "netPtRedeem",
|
|
459
|
+
type: "uint256",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
internalType: "uint256",
|
|
463
|
+
name: "netSyFromRedeem",
|
|
464
|
+
type: "uint256",
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
internalType: "uint256",
|
|
468
|
+
name: "totalSyOut",
|
|
469
|
+
type: "uint256",
|
|
470
|
+
},
|
|
471
|
+
],
|
|
418
472
|
indexed: false,
|
|
419
|
-
internalType: "
|
|
420
|
-
name: "
|
|
421
|
-
type: "
|
|
473
|
+
internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
|
|
474
|
+
name: "params",
|
|
475
|
+
type: "tuple",
|
|
422
476
|
},
|
|
423
477
|
],
|
|
424
|
-
name: "
|
|
478
|
+
name: "ExitPostExpToToken",
|
|
425
479
|
type: "event",
|
|
426
480
|
},
|
|
427
481
|
{
|
|
@@ -436,35 +490,76 @@ const _abi = [
|
|
|
436
490
|
{
|
|
437
491
|
indexed: true,
|
|
438
492
|
internalType: "address",
|
|
439
|
-
name: "
|
|
493
|
+
name: "market",
|
|
440
494
|
type: "address",
|
|
441
495
|
},
|
|
442
496
|
{
|
|
443
497
|
indexed: true,
|
|
444
498
|
internalType: "address",
|
|
445
|
-
name: "SY",
|
|
446
|
-
type: "address",
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
indexed: false,
|
|
450
|
-
internalType: "address",
|
|
451
499
|
name: "receiver",
|
|
452
500
|
type: "address",
|
|
453
501
|
},
|
|
454
502
|
{
|
|
455
503
|
indexed: false,
|
|
456
504
|
internalType: "uint256",
|
|
457
|
-
name: "
|
|
505
|
+
name: "netLpIn",
|
|
458
506
|
type: "uint256",
|
|
459
507
|
},
|
|
460
508
|
{
|
|
509
|
+
components: [
|
|
510
|
+
{
|
|
511
|
+
internalType: "uint256",
|
|
512
|
+
name: "netPtFromRemove",
|
|
513
|
+
type: "uint256",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
internalType: "uint256",
|
|
517
|
+
name: "netSyFromRemove",
|
|
518
|
+
type: "uint256",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
internalType: "uint256",
|
|
522
|
+
name: "netPyRedeem",
|
|
523
|
+
type: "uint256",
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
internalType: "uint256",
|
|
527
|
+
name: "netSyFromRedeem",
|
|
528
|
+
type: "uint256",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
internalType: "uint256",
|
|
532
|
+
name: "netPtSwap",
|
|
533
|
+
type: "uint256",
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
internalType: "uint256",
|
|
537
|
+
name: "netYtSwap",
|
|
538
|
+
type: "uint256",
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
internalType: "uint256",
|
|
542
|
+
name: "netSyFromSwap",
|
|
543
|
+
type: "uint256",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
internalType: "uint256",
|
|
547
|
+
name: "netSyFee",
|
|
548
|
+
type: "uint256",
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
internalType: "uint256",
|
|
552
|
+
name: "totalSyOut",
|
|
553
|
+
type: "uint256",
|
|
554
|
+
},
|
|
555
|
+
],
|
|
461
556
|
indexed: false,
|
|
462
|
-
internalType: "
|
|
463
|
-
name: "
|
|
464
|
-
type: "
|
|
557
|
+
internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
|
|
558
|
+
name: "params",
|
|
559
|
+
type: "tuple",
|
|
465
560
|
},
|
|
466
561
|
],
|
|
467
|
-
name: "
|
|
562
|
+
name: "ExitPreExpToSy",
|
|
468
563
|
type: "event",
|
|
469
564
|
},
|
|
470
565
|
{
|
|
@@ -473,17 +568,94 @@ const _abi = [
|
|
|
473
568
|
{
|
|
474
569
|
indexed: true,
|
|
475
570
|
internalType: "address",
|
|
476
|
-
name: "
|
|
571
|
+
name: "caller",
|
|
477
572
|
type: "address",
|
|
478
573
|
},
|
|
479
574
|
{
|
|
480
575
|
indexed: true,
|
|
481
576
|
internalType: "address",
|
|
482
|
-
name: "
|
|
577
|
+
name: "market",
|
|
578
|
+
type: "address",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
indexed: true,
|
|
582
|
+
internalType: "address",
|
|
583
|
+
name: "token",
|
|
584
|
+
type: "address",
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
indexed: false,
|
|
588
|
+
internalType: "address",
|
|
589
|
+
name: "receiver",
|
|
483
590
|
type: "address",
|
|
484
591
|
},
|
|
592
|
+
{
|
|
593
|
+
indexed: false,
|
|
594
|
+
internalType: "uint256",
|
|
595
|
+
name: "netLpIn",
|
|
596
|
+
type: "uint256",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
indexed: false,
|
|
600
|
+
internalType: "uint256",
|
|
601
|
+
name: "totalTokenOut",
|
|
602
|
+
type: "uint256",
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
components: [
|
|
606
|
+
{
|
|
607
|
+
internalType: "uint256",
|
|
608
|
+
name: "netPtFromRemove",
|
|
609
|
+
type: "uint256",
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
internalType: "uint256",
|
|
613
|
+
name: "netSyFromRemove",
|
|
614
|
+
type: "uint256",
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
internalType: "uint256",
|
|
618
|
+
name: "netPyRedeem",
|
|
619
|
+
type: "uint256",
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
internalType: "uint256",
|
|
623
|
+
name: "netSyFromRedeem",
|
|
624
|
+
type: "uint256",
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
internalType: "uint256",
|
|
628
|
+
name: "netPtSwap",
|
|
629
|
+
type: "uint256",
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
internalType: "uint256",
|
|
633
|
+
name: "netYtSwap",
|
|
634
|
+
type: "uint256",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
internalType: "uint256",
|
|
638
|
+
name: "netSyFromSwap",
|
|
639
|
+
type: "uint256",
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
internalType: "uint256",
|
|
643
|
+
name: "netSyFee",
|
|
644
|
+
type: "uint256",
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
internalType: "uint256",
|
|
648
|
+
name: "totalSyOut",
|
|
649
|
+
type: "uint256",
|
|
650
|
+
},
|
|
651
|
+
],
|
|
652
|
+
indexed: false,
|
|
653
|
+
internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
|
|
654
|
+
name: "params",
|
|
655
|
+
type: "tuple",
|
|
656
|
+
},
|
|
485
657
|
],
|
|
486
|
-
name: "
|
|
658
|
+
name: "ExitPreExpToToken",
|
|
487
659
|
type: "event",
|
|
488
660
|
},
|
|
489
661
|
{
|
|
@@ -510,17 +682,17 @@ const _abi = [
|
|
|
510
682
|
{
|
|
511
683
|
indexed: false,
|
|
512
684
|
internalType: "uint256",
|
|
513
|
-
name: "
|
|
685
|
+
name: "netSyIn",
|
|
514
686
|
type: "uint256",
|
|
515
687
|
},
|
|
516
688
|
{
|
|
517
689
|
indexed: false,
|
|
518
690
|
internalType: "uint256",
|
|
519
|
-
name: "
|
|
691
|
+
name: "netPyOut",
|
|
520
692
|
type: "uint256",
|
|
521
693
|
},
|
|
522
694
|
],
|
|
523
|
-
name: "
|
|
695
|
+
name: "MintPyFromSy",
|
|
524
696
|
type: "event",
|
|
525
697
|
},
|
|
526
698
|
{
|
|
@@ -535,7 +707,7 @@ const _abi = [
|
|
|
535
707
|
{
|
|
536
708
|
indexed: true,
|
|
537
709
|
internalType: "address",
|
|
538
|
-
name: "
|
|
710
|
+
name: "tokenIn",
|
|
539
711
|
type: "address",
|
|
540
712
|
},
|
|
541
713
|
{
|
|
@@ -553,13 +725,13 @@ const _abi = [
|
|
|
553
725
|
{
|
|
554
726
|
indexed: false,
|
|
555
727
|
internalType: "uint256",
|
|
556
|
-
name: "
|
|
728
|
+
name: "netTokenIn",
|
|
557
729
|
type: "uint256",
|
|
558
730
|
},
|
|
559
731
|
{
|
|
560
732
|
indexed: false,
|
|
561
733
|
internalType: "uint256",
|
|
562
|
-
name: "
|
|
734
|
+
name: "netPyOut",
|
|
563
735
|
type: "uint256",
|
|
564
736
|
},
|
|
565
737
|
{
|
|
@@ -569,7 +741,7 @@ const _abi = [
|
|
|
569
741
|
type: "uint256",
|
|
570
742
|
},
|
|
571
743
|
],
|
|
572
|
-
name: "
|
|
744
|
+
name: "MintPyFromToken",
|
|
573
745
|
type: "event",
|
|
574
746
|
},
|
|
575
747
|
{
|
|
@@ -584,7 +756,7 @@ const _abi = [
|
|
|
584
756
|
{
|
|
585
757
|
indexed: true,
|
|
586
758
|
internalType: "address",
|
|
587
|
-
name: "
|
|
759
|
+
name: "tokenIn",
|
|
588
760
|
type: "address",
|
|
589
761
|
},
|
|
590
762
|
{
|
|
@@ -602,17 +774,17 @@ const _abi = [
|
|
|
602
774
|
{
|
|
603
775
|
indexed: false,
|
|
604
776
|
internalType: "uint256",
|
|
605
|
-
name: "
|
|
777
|
+
name: "netTokenIn",
|
|
606
778
|
type: "uint256",
|
|
607
779
|
},
|
|
608
780
|
{
|
|
609
781
|
indexed: false,
|
|
610
782
|
internalType: "uint256",
|
|
611
|
-
name: "
|
|
783
|
+
name: "netSyOut",
|
|
612
784
|
type: "uint256",
|
|
613
785
|
},
|
|
614
786
|
],
|
|
615
|
-
name: "
|
|
787
|
+
name: "MintSyFromToken",
|
|
616
788
|
type: "event",
|
|
617
789
|
},
|
|
618
790
|
{
|
|
@@ -621,13 +793,26 @@ const _abi = [
|
|
|
621
793
|
{
|
|
622
794
|
indexed: true,
|
|
623
795
|
internalType: "address",
|
|
624
|
-
name: "
|
|
796
|
+
name: "previousOwner",
|
|
625
797
|
type: "address",
|
|
626
798
|
},
|
|
627
799
|
{
|
|
628
800
|
indexed: true,
|
|
629
801
|
internalType: "address",
|
|
630
|
-
name: "
|
|
802
|
+
name: "newOwner",
|
|
803
|
+
type: "address",
|
|
804
|
+
},
|
|
805
|
+
],
|
|
806
|
+
name: "OwnershipTransferred",
|
|
807
|
+
type: "event",
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
anonymous: false,
|
|
811
|
+
inputs: [
|
|
812
|
+
{
|
|
813
|
+
indexed: true,
|
|
814
|
+
internalType: "address",
|
|
815
|
+
name: "caller",
|
|
631
816
|
type: "address",
|
|
632
817
|
},
|
|
633
818
|
{
|
|
@@ -637,15 +822,15 @@ const _abi = [
|
|
|
637
822
|
type: "address",
|
|
638
823
|
},
|
|
639
824
|
{
|
|
640
|
-
indexed:
|
|
641
|
-
internalType: "
|
|
642
|
-
name: "
|
|
643
|
-
type: "
|
|
825
|
+
indexed: true,
|
|
826
|
+
internalType: "address",
|
|
827
|
+
name: "YT",
|
|
828
|
+
type: "address",
|
|
644
829
|
},
|
|
645
830
|
{
|
|
646
831
|
indexed: false,
|
|
647
832
|
internalType: "uint256",
|
|
648
|
-
name: "
|
|
833
|
+
name: "netPyIn",
|
|
649
834
|
type: "uint256",
|
|
650
835
|
},
|
|
651
836
|
{
|
|
@@ -655,7 +840,7 @@ const _abi = [
|
|
|
655
840
|
type: "uint256",
|
|
656
841
|
},
|
|
657
842
|
],
|
|
658
|
-
name: "
|
|
843
|
+
name: "RedeemPyToSy",
|
|
659
844
|
type: "event",
|
|
660
845
|
},
|
|
661
846
|
{
|
|
@@ -670,13 +855,13 @@ const _abi = [
|
|
|
670
855
|
{
|
|
671
856
|
indexed: true,
|
|
672
857
|
internalType: "address",
|
|
673
|
-
name: "
|
|
858
|
+
name: "tokenOut",
|
|
674
859
|
type: "address",
|
|
675
860
|
},
|
|
676
861
|
{
|
|
677
862
|
indexed: true,
|
|
678
863
|
internalType: "address",
|
|
679
|
-
name: "
|
|
864
|
+
name: "YT",
|
|
680
865
|
type: "address",
|
|
681
866
|
},
|
|
682
867
|
{
|
|
@@ -688,13 +873,7 @@ const _abi = [
|
|
|
688
873
|
{
|
|
689
874
|
indexed: false,
|
|
690
875
|
internalType: "uint256",
|
|
691
|
-
name: "
|
|
692
|
-
type: "uint256",
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
indexed: false,
|
|
696
|
-
internalType: "uint256",
|
|
697
|
-
name: "netPtOut",
|
|
876
|
+
name: "netPyIn",
|
|
698
877
|
type: "uint256",
|
|
699
878
|
},
|
|
700
879
|
{
|
|
@@ -710,7 +889,7 @@ const _abi = [
|
|
|
710
889
|
type: "uint256",
|
|
711
890
|
},
|
|
712
891
|
],
|
|
713
|
-
name: "
|
|
892
|
+
name: "RedeemPyToToken",
|
|
714
893
|
type: "event",
|
|
715
894
|
},
|
|
716
895
|
{
|
|
@@ -725,7 +904,148 @@ const _abi = [
|
|
|
725
904
|
{
|
|
726
905
|
indexed: true,
|
|
727
906
|
internalType: "address",
|
|
728
|
-
name: "
|
|
907
|
+
name: "tokenOut",
|
|
908
|
+
type: "address",
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
indexed: true,
|
|
912
|
+
internalType: "address",
|
|
913
|
+
name: "SY",
|
|
914
|
+
type: "address",
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
indexed: false,
|
|
918
|
+
internalType: "address",
|
|
919
|
+
name: "receiver",
|
|
920
|
+
type: "address",
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
indexed: false,
|
|
924
|
+
internalType: "uint256",
|
|
925
|
+
name: "netSyIn",
|
|
926
|
+
type: "uint256",
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
indexed: false,
|
|
930
|
+
internalType: "uint256",
|
|
931
|
+
name: "netTokenOut",
|
|
932
|
+
type: "uint256",
|
|
933
|
+
},
|
|
934
|
+
],
|
|
935
|
+
name: "RedeemSyToToken",
|
|
936
|
+
type: "event",
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
anonymous: false,
|
|
940
|
+
inputs: [
|
|
941
|
+
{
|
|
942
|
+
indexed: true,
|
|
943
|
+
internalType: "address",
|
|
944
|
+
name: "caller",
|
|
945
|
+
type: "address",
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
indexed: true,
|
|
949
|
+
internalType: "address",
|
|
950
|
+
name: "market",
|
|
951
|
+
type: "address",
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
indexed: true,
|
|
955
|
+
internalType: "address",
|
|
956
|
+
name: "receiver",
|
|
957
|
+
type: "address",
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
indexed: false,
|
|
961
|
+
internalType: "uint256",
|
|
962
|
+
name: "netLpToRemove",
|
|
963
|
+
type: "uint256",
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
indexed: false,
|
|
967
|
+
internalType: "uint256",
|
|
968
|
+
name: "netPtOut",
|
|
969
|
+
type: "uint256",
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
indexed: false,
|
|
973
|
+
internalType: "uint256",
|
|
974
|
+
name: "netSyOut",
|
|
975
|
+
type: "uint256",
|
|
976
|
+
},
|
|
977
|
+
],
|
|
978
|
+
name: "RemoveLiquidityDualSyAndPt",
|
|
979
|
+
type: "event",
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
anonymous: false,
|
|
983
|
+
inputs: [
|
|
984
|
+
{
|
|
985
|
+
indexed: true,
|
|
986
|
+
internalType: "address",
|
|
987
|
+
name: "caller",
|
|
988
|
+
type: "address",
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
indexed: true,
|
|
992
|
+
internalType: "address",
|
|
993
|
+
name: "market",
|
|
994
|
+
type: "address",
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
indexed: true,
|
|
998
|
+
internalType: "address",
|
|
999
|
+
name: "tokenOut",
|
|
1000
|
+
type: "address",
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
indexed: false,
|
|
1004
|
+
internalType: "address",
|
|
1005
|
+
name: "receiver",
|
|
1006
|
+
type: "address",
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
indexed: false,
|
|
1010
|
+
internalType: "uint256",
|
|
1011
|
+
name: "netLpToRemove",
|
|
1012
|
+
type: "uint256",
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
indexed: false,
|
|
1016
|
+
internalType: "uint256",
|
|
1017
|
+
name: "netPtOut",
|
|
1018
|
+
type: "uint256",
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
indexed: false,
|
|
1022
|
+
internalType: "uint256",
|
|
1023
|
+
name: "netTokenOut",
|
|
1024
|
+
type: "uint256",
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
indexed: false,
|
|
1028
|
+
internalType: "uint256",
|
|
1029
|
+
name: "netSyInterm",
|
|
1030
|
+
type: "uint256",
|
|
1031
|
+
},
|
|
1032
|
+
],
|
|
1033
|
+
name: "RemoveLiquidityDualTokenAndPt",
|
|
1034
|
+
type: "event",
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
anonymous: false,
|
|
1038
|
+
inputs: [
|
|
1039
|
+
{
|
|
1040
|
+
indexed: true,
|
|
1041
|
+
internalType: "address",
|
|
1042
|
+
name: "caller",
|
|
1043
|
+
type: "address",
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
indexed: true,
|
|
1047
|
+
internalType: "address",
|
|
1048
|
+
name: "market",
|
|
729
1049
|
type: "address",
|
|
730
1050
|
},
|
|
731
1051
|
{
|
|
@@ -2169,162 +2489,521 @@ const _abi = [
|
|
|
2169
2489
|
type: "tuple",
|
|
2170
2490
|
},
|
|
2171
2491
|
],
|
|
2172
|
-
internalType: "struct TokenInput",
|
|
2173
|
-
name: "input",
|
|
2492
|
+
internalType: "struct TokenInput",
|
|
2493
|
+
name: "input",
|
|
2494
|
+
type: "tuple",
|
|
2495
|
+
},
|
|
2496
|
+
],
|
|
2497
|
+
name: "addLiquiditySingleTokenKeepYt",
|
|
2498
|
+
outputs: [
|
|
2499
|
+
{
|
|
2500
|
+
internalType: "uint256",
|
|
2501
|
+
name: "netLpOut",
|
|
2502
|
+
type: "uint256",
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
internalType: "uint256",
|
|
2506
|
+
name: "netYtOut",
|
|
2507
|
+
type: "uint256",
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
internalType: "uint256",
|
|
2511
|
+
name: "netSyMintPy",
|
|
2512
|
+
type: "uint256",
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
internalType: "uint256",
|
|
2516
|
+
name: "netSyInterm",
|
|
2517
|
+
type: "uint256",
|
|
2518
|
+
},
|
|
2519
|
+
],
|
|
2520
|
+
stateMutability: "payable",
|
|
2521
|
+
type: "function",
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
inputs: [
|
|
2525
|
+
{
|
|
2526
|
+
internalType: "address[]",
|
|
2527
|
+
name: "markets",
|
|
2528
|
+
type: "address[]",
|
|
2529
|
+
},
|
|
2530
|
+
],
|
|
2531
|
+
name: "boostMarkets",
|
|
2532
|
+
outputs: [],
|
|
2533
|
+
stateMutability: "nonpayable",
|
|
2534
|
+
type: "function",
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
inputs: [],
|
|
2538
|
+
name: "claimOwnership",
|
|
2539
|
+
outputs: [],
|
|
2540
|
+
stateMutability: "nonpayable",
|
|
2541
|
+
type: "function",
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
inputs: [
|
|
2545
|
+
{
|
|
2546
|
+
internalType: "address",
|
|
2547
|
+
name: "receiver",
|
|
2548
|
+
type: "address",
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
internalType: "address",
|
|
2552
|
+
name: "market",
|
|
2553
|
+
type: "address",
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
internalType: "uint256",
|
|
2557
|
+
name: "netPtIn",
|
|
2558
|
+
type: "uint256",
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
internalType: "uint256",
|
|
2562
|
+
name: "netLpIn",
|
|
2563
|
+
type: "uint256",
|
|
2564
|
+
},
|
|
2565
|
+
{
|
|
2566
|
+
internalType: "uint256",
|
|
2567
|
+
name: "minSyOut",
|
|
2568
|
+
type: "uint256",
|
|
2569
|
+
},
|
|
2570
|
+
],
|
|
2571
|
+
name: "exitPostExpToSy",
|
|
2572
|
+
outputs: [
|
|
2573
|
+
{
|
|
2574
|
+
components: [
|
|
2575
|
+
{
|
|
2576
|
+
internalType: "uint256",
|
|
2577
|
+
name: "netPtFromRemove",
|
|
2578
|
+
type: "uint256",
|
|
2579
|
+
},
|
|
2580
|
+
{
|
|
2581
|
+
internalType: "uint256",
|
|
2582
|
+
name: "netSyFromRemove",
|
|
2583
|
+
type: "uint256",
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
internalType: "uint256",
|
|
2587
|
+
name: "netPtRedeem",
|
|
2588
|
+
type: "uint256",
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
internalType: "uint256",
|
|
2592
|
+
name: "netSyFromRedeem",
|
|
2593
|
+
type: "uint256",
|
|
2594
|
+
},
|
|
2595
|
+
{
|
|
2596
|
+
internalType: "uint256",
|
|
2597
|
+
name: "totalSyOut",
|
|
2598
|
+
type: "uint256",
|
|
2599
|
+
},
|
|
2600
|
+
],
|
|
2601
|
+
internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
|
|
2602
|
+
name: "params",
|
|
2603
|
+
type: "tuple",
|
|
2604
|
+
},
|
|
2605
|
+
],
|
|
2606
|
+
stateMutability: "nonpayable",
|
|
2607
|
+
type: "function",
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
inputs: [
|
|
2611
|
+
{
|
|
2612
|
+
internalType: "address",
|
|
2613
|
+
name: "receiver",
|
|
2614
|
+
type: "address",
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
internalType: "address",
|
|
2618
|
+
name: "market",
|
|
2619
|
+
type: "address",
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
internalType: "uint256",
|
|
2623
|
+
name: "netPtIn",
|
|
2624
|
+
type: "uint256",
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
internalType: "uint256",
|
|
2628
|
+
name: "netLpIn",
|
|
2629
|
+
type: "uint256",
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
components: [
|
|
2633
|
+
{
|
|
2634
|
+
internalType: "address",
|
|
2635
|
+
name: "tokenOut",
|
|
2636
|
+
type: "address",
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
internalType: "uint256",
|
|
2640
|
+
name: "minTokenOut",
|
|
2641
|
+
type: "uint256",
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
internalType: "address",
|
|
2645
|
+
name: "tokenRedeemSy",
|
|
2646
|
+
type: "address",
|
|
2647
|
+
},
|
|
2648
|
+
{
|
|
2649
|
+
internalType: "address",
|
|
2650
|
+
name: "pendleSwap",
|
|
2651
|
+
type: "address",
|
|
2652
|
+
},
|
|
2653
|
+
{
|
|
2654
|
+
components: [
|
|
2655
|
+
{
|
|
2656
|
+
internalType: "enum SwapType",
|
|
2657
|
+
name: "swapType",
|
|
2658
|
+
type: "uint8",
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
internalType: "address",
|
|
2662
|
+
name: "extRouter",
|
|
2663
|
+
type: "address",
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
internalType: "bytes",
|
|
2667
|
+
name: "extCalldata",
|
|
2668
|
+
type: "bytes",
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
internalType: "bool",
|
|
2672
|
+
name: "needScale",
|
|
2673
|
+
type: "bool",
|
|
2674
|
+
},
|
|
2675
|
+
],
|
|
2676
|
+
internalType: "struct SwapData",
|
|
2677
|
+
name: "swapData",
|
|
2678
|
+
type: "tuple",
|
|
2679
|
+
},
|
|
2680
|
+
],
|
|
2681
|
+
internalType: "struct TokenOutput",
|
|
2682
|
+
name: "output",
|
|
2683
|
+
type: "tuple",
|
|
2684
|
+
},
|
|
2685
|
+
],
|
|
2686
|
+
name: "exitPostExpToToken",
|
|
2687
|
+
outputs: [
|
|
2688
|
+
{
|
|
2689
|
+
internalType: "uint256",
|
|
2690
|
+
name: "netTokenOut",
|
|
2691
|
+
type: "uint256",
|
|
2692
|
+
},
|
|
2693
|
+
{
|
|
2694
|
+
components: [
|
|
2695
|
+
{
|
|
2696
|
+
internalType: "uint256",
|
|
2697
|
+
name: "netPtFromRemove",
|
|
2698
|
+
type: "uint256",
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
internalType: "uint256",
|
|
2702
|
+
name: "netSyFromRemove",
|
|
2703
|
+
type: "uint256",
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
internalType: "uint256",
|
|
2707
|
+
name: "netPtRedeem",
|
|
2708
|
+
type: "uint256",
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
internalType: "uint256",
|
|
2712
|
+
name: "netSyFromRedeem",
|
|
2713
|
+
type: "uint256",
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
internalType: "uint256",
|
|
2717
|
+
name: "totalSyOut",
|
|
2718
|
+
type: "uint256",
|
|
2719
|
+
},
|
|
2720
|
+
],
|
|
2721
|
+
internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
|
|
2722
|
+
name: "params",
|
|
2723
|
+
type: "tuple",
|
|
2724
|
+
},
|
|
2725
|
+
],
|
|
2726
|
+
stateMutability: "nonpayable",
|
|
2727
|
+
type: "function",
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
inputs: [
|
|
2731
|
+
{
|
|
2732
|
+
internalType: "address",
|
|
2733
|
+
name: "receiver",
|
|
2734
|
+
type: "address",
|
|
2735
|
+
},
|
|
2736
|
+
{
|
|
2737
|
+
internalType: "address",
|
|
2738
|
+
name: "market",
|
|
2739
|
+
type: "address",
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
internalType: "uint256",
|
|
2743
|
+
name: "netPtIn",
|
|
2744
|
+
type: "uint256",
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
internalType: "uint256",
|
|
2748
|
+
name: "netYtIn",
|
|
2749
|
+
type: "uint256",
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
internalType: "uint256",
|
|
2753
|
+
name: "netLpIn",
|
|
2754
|
+
type: "uint256",
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
internalType: "uint256",
|
|
2758
|
+
name: "minSyOut",
|
|
2759
|
+
type: "uint256",
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
components: [
|
|
2763
|
+
{
|
|
2764
|
+
internalType: "address",
|
|
2765
|
+
name: "limitRouter",
|
|
2766
|
+
type: "address",
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
internalType: "uint256",
|
|
2770
|
+
name: "epsSkipMarket",
|
|
2771
|
+
type: "uint256",
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
components: [
|
|
2775
|
+
{
|
|
2776
|
+
components: [
|
|
2777
|
+
{
|
|
2778
|
+
internalType: "uint256",
|
|
2779
|
+
name: "salt",
|
|
2780
|
+
type: "uint256",
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
internalType: "uint256",
|
|
2784
|
+
name: "expiry",
|
|
2785
|
+
type: "uint256",
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
internalType: "uint256",
|
|
2789
|
+
name: "nonce",
|
|
2790
|
+
type: "uint256",
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
2794
|
+
name: "orderType",
|
|
2795
|
+
type: "uint8",
|
|
2796
|
+
},
|
|
2797
|
+
{
|
|
2798
|
+
internalType: "address",
|
|
2799
|
+
name: "token",
|
|
2800
|
+
type: "address",
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
internalType: "address",
|
|
2804
|
+
name: "YT",
|
|
2805
|
+
type: "address",
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
internalType: "address",
|
|
2809
|
+
name: "maker",
|
|
2810
|
+
type: "address",
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
internalType: "address",
|
|
2814
|
+
name: "receiver",
|
|
2815
|
+
type: "address",
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
internalType: "uint256",
|
|
2819
|
+
name: "makingAmount",
|
|
2820
|
+
type: "uint256",
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
internalType: "uint256",
|
|
2824
|
+
name: "lnImpliedRate",
|
|
2825
|
+
type: "uint256",
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
internalType: "uint256",
|
|
2829
|
+
name: "failSafeRate",
|
|
2830
|
+
type: "uint256",
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
internalType: "bytes",
|
|
2834
|
+
name: "permit",
|
|
2835
|
+
type: "bytes",
|
|
2836
|
+
},
|
|
2837
|
+
],
|
|
2838
|
+
internalType: "struct Order",
|
|
2839
|
+
name: "order",
|
|
2840
|
+
type: "tuple",
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
internalType: "bytes",
|
|
2844
|
+
name: "signature",
|
|
2845
|
+
type: "bytes",
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
internalType: "uint256",
|
|
2849
|
+
name: "makingAmount",
|
|
2850
|
+
type: "uint256",
|
|
2851
|
+
},
|
|
2852
|
+
],
|
|
2853
|
+
internalType: "struct FillOrderParams[]",
|
|
2854
|
+
name: "normalFills",
|
|
2855
|
+
type: "tuple[]",
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
components: [
|
|
2859
|
+
{
|
|
2860
|
+
components: [
|
|
2861
|
+
{
|
|
2862
|
+
internalType: "uint256",
|
|
2863
|
+
name: "salt",
|
|
2864
|
+
type: "uint256",
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
internalType: "uint256",
|
|
2868
|
+
name: "expiry",
|
|
2869
|
+
type: "uint256",
|
|
2870
|
+
},
|
|
2871
|
+
{
|
|
2872
|
+
internalType: "uint256",
|
|
2873
|
+
name: "nonce",
|
|
2874
|
+
type: "uint256",
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
internalType: "enum IPLimitOrderType.OrderType",
|
|
2878
|
+
name: "orderType",
|
|
2879
|
+
type: "uint8",
|
|
2880
|
+
},
|
|
2881
|
+
{
|
|
2882
|
+
internalType: "address",
|
|
2883
|
+
name: "token",
|
|
2884
|
+
type: "address",
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
internalType: "address",
|
|
2888
|
+
name: "YT",
|
|
2889
|
+
type: "address",
|
|
2890
|
+
},
|
|
2891
|
+
{
|
|
2892
|
+
internalType: "address",
|
|
2893
|
+
name: "maker",
|
|
2894
|
+
type: "address",
|
|
2895
|
+
},
|
|
2896
|
+
{
|
|
2897
|
+
internalType: "address",
|
|
2898
|
+
name: "receiver",
|
|
2899
|
+
type: "address",
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
internalType: "uint256",
|
|
2903
|
+
name: "makingAmount",
|
|
2904
|
+
type: "uint256",
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
internalType: "uint256",
|
|
2908
|
+
name: "lnImpliedRate",
|
|
2909
|
+
type: "uint256",
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
internalType: "uint256",
|
|
2913
|
+
name: "failSafeRate",
|
|
2914
|
+
type: "uint256",
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
internalType: "bytes",
|
|
2918
|
+
name: "permit",
|
|
2919
|
+
type: "bytes",
|
|
2920
|
+
},
|
|
2921
|
+
],
|
|
2922
|
+
internalType: "struct Order",
|
|
2923
|
+
name: "order",
|
|
2924
|
+
type: "tuple",
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
internalType: "bytes",
|
|
2928
|
+
name: "signature",
|
|
2929
|
+
type: "bytes",
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
internalType: "uint256",
|
|
2933
|
+
name: "makingAmount",
|
|
2934
|
+
type: "uint256",
|
|
2935
|
+
},
|
|
2936
|
+
],
|
|
2937
|
+
internalType: "struct FillOrderParams[]",
|
|
2938
|
+
name: "flashFills",
|
|
2939
|
+
type: "tuple[]",
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
internalType: "bytes",
|
|
2943
|
+
name: "optData",
|
|
2944
|
+
type: "bytes",
|
|
2945
|
+
},
|
|
2946
|
+
],
|
|
2947
|
+
internalType: "struct LimitOrderData",
|
|
2948
|
+
name: "limit",
|
|
2174
2949
|
type: "tuple",
|
|
2175
2950
|
},
|
|
2176
2951
|
],
|
|
2177
|
-
name: "
|
|
2952
|
+
name: "exitPreExpToSy",
|
|
2178
2953
|
outputs: [
|
|
2179
|
-
{
|
|
2180
|
-
internalType: "uint256",
|
|
2181
|
-
name: "netLpOut",
|
|
2182
|
-
type: "uint256",
|
|
2183
|
-
},
|
|
2184
|
-
{
|
|
2185
|
-
internalType: "uint256",
|
|
2186
|
-
name: "netYtOut",
|
|
2187
|
-
type: "uint256",
|
|
2188
|
-
},
|
|
2189
|
-
{
|
|
2190
|
-
internalType: "uint256",
|
|
2191
|
-
name: "netSyMintPy",
|
|
2192
|
-
type: "uint256",
|
|
2193
|
-
},
|
|
2194
|
-
{
|
|
2195
|
-
internalType: "uint256",
|
|
2196
|
-
name: "netSyInterm",
|
|
2197
|
-
type: "uint256",
|
|
2198
|
-
},
|
|
2199
|
-
],
|
|
2200
|
-
stateMutability: "payable",
|
|
2201
|
-
type: "function",
|
|
2202
|
-
},
|
|
2203
|
-
{
|
|
2204
|
-
inputs: [
|
|
2205
|
-
{
|
|
2206
|
-
internalType: "address[]",
|
|
2207
|
-
name: "markets",
|
|
2208
|
-
type: "address[]",
|
|
2209
|
-
},
|
|
2210
|
-
],
|
|
2211
|
-
name: "boostMarkets",
|
|
2212
|
-
outputs: [],
|
|
2213
|
-
stateMutability: "nonpayable",
|
|
2214
|
-
type: "function",
|
|
2215
|
-
},
|
|
2216
|
-
{
|
|
2217
|
-
inputs: [],
|
|
2218
|
-
name: "claimOwnership",
|
|
2219
|
-
outputs: [],
|
|
2220
|
-
stateMutability: "nonpayable",
|
|
2221
|
-
type: "function",
|
|
2222
|
-
},
|
|
2223
|
-
{
|
|
2224
|
-
inputs: [
|
|
2225
|
-
{
|
|
2226
|
-
internalType: "address",
|
|
2227
|
-
name: "receiver",
|
|
2228
|
-
type: "address",
|
|
2229
|
-
},
|
|
2230
|
-
{
|
|
2231
|
-
internalType: "address",
|
|
2232
|
-
name: "market",
|
|
2233
|
-
type: "address",
|
|
2234
|
-
},
|
|
2235
|
-
{
|
|
2236
|
-
internalType: "uint256",
|
|
2237
|
-
name: "netPtIn",
|
|
2238
|
-
type: "uint256",
|
|
2239
|
-
},
|
|
2240
|
-
{
|
|
2241
|
-
internalType: "uint256",
|
|
2242
|
-
name: "netLpIn",
|
|
2243
|
-
type: "uint256",
|
|
2244
|
-
},
|
|
2245
2954
|
{
|
|
2246
2955
|
components: [
|
|
2247
2956
|
{
|
|
2248
|
-
internalType: "
|
|
2249
|
-
name: "
|
|
2250
|
-
type: "
|
|
2957
|
+
internalType: "uint256",
|
|
2958
|
+
name: "netPtFromRemove",
|
|
2959
|
+
type: "uint256",
|
|
2251
2960
|
},
|
|
2252
2961
|
{
|
|
2253
2962
|
internalType: "uint256",
|
|
2254
|
-
name: "
|
|
2963
|
+
name: "netSyFromRemove",
|
|
2255
2964
|
type: "uint256",
|
|
2256
2965
|
},
|
|
2257
2966
|
{
|
|
2258
|
-
internalType: "
|
|
2259
|
-
name: "
|
|
2260
|
-
type: "
|
|
2967
|
+
internalType: "uint256",
|
|
2968
|
+
name: "netPyRedeem",
|
|
2969
|
+
type: "uint256",
|
|
2261
2970
|
},
|
|
2262
2971
|
{
|
|
2263
|
-
internalType: "
|
|
2264
|
-
name: "
|
|
2265
|
-
type: "
|
|
2972
|
+
internalType: "uint256",
|
|
2973
|
+
name: "netSyFromRedeem",
|
|
2974
|
+
type: "uint256",
|
|
2266
2975
|
},
|
|
2267
2976
|
{
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
name: "swapData",
|
|
2292
|
-
type: "tuple",
|
|
2977
|
+
internalType: "uint256",
|
|
2978
|
+
name: "netPtSwap",
|
|
2979
|
+
type: "uint256",
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
internalType: "uint256",
|
|
2983
|
+
name: "netYtSwap",
|
|
2984
|
+
type: "uint256",
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
internalType: "uint256",
|
|
2988
|
+
name: "netSyFromSwap",
|
|
2989
|
+
type: "uint256",
|
|
2990
|
+
},
|
|
2991
|
+
{
|
|
2992
|
+
internalType: "uint256",
|
|
2993
|
+
name: "netSyFee",
|
|
2994
|
+
type: "uint256",
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
internalType: "uint256",
|
|
2998
|
+
name: "totalSyOut",
|
|
2999
|
+
type: "uint256",
|
|
2293
3000
|
},
|
|
2294
3001
|
],
|
|
2295
|
-
internalType: "struct
|
|
2296
|
-
name: "
|
|
3002
|
+
internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
|
|
3003
|
+
name: "params",
|
|
2297
3004
|
type: "tuple",
|
|
2298
3005
|
},
|
|
2299
3006
|
],
|
|
2300
|
-
name: "exitMultiplePostExpiry",
|
|
2301
|
-
outputs: [
|
|
2302
|
-
{
|
|
2303
|
-
internalType: "uint256",
|
|
2304
|
-
name: "netTokenOut",
|
|
2305
|
-
type: "uint256",
|
|
2306
|
-
},
|
|
2307
|
-
{
|
|
2308
|
-
internalType: "uint256",
|
|
2309
|
-
name: "netPtFromRemove",
|
|
2310
|
-
type: "uint256",
|
|
2311
|
-
},
|
|
2312
|
-
{
|
|
2313
|
-
internalType: "uint256",
|
|
2314
|
-
name: "netSyFromRemove",
|
|
2315
|
-
type: "uint256",
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
internalType: "uint256",
|
|
2319
|
-
name: "netPtRedeem",
|
|
2320
|
-
type: "uint256",
|
|
2321
|
-
},
|
|
2322
|
-
{
|
|
2323
|
-
internalType: "uint256",
|
|
2324
|
-
name: "netSyFromRedeem",
|
|
2325
|
-
type: "uint256",
|
|
2326
|
-
},
|
|
2327
|
-
],
|
|
2328
3007
|
stateMutability: "nonpayable",
|
|
2329
3008
|
type: "function",
|
|
2330
3009
|
},
|
|
@@ -2600,7 +3279,7 @@ const _abi = [
|
|
|
2600
3279
|
type: "tuple",
|
|
2601
3280
|
},
|
|
2602
3281
|
],
|
|
2603
|
-
name: "
|
|
3282
|
+
name: "exitPreExpToToken",
|
|
2604
3283
|
outputs: [
|
|
2605
3284
|
{
|
|
2606
3285
|
internalType: "uint256",
|
|
@@ -2608,44 +3287,56 @@ const _abi = [
|
|
|
2608
3287
|
type: "uint256",
|
|
2609
3288
|
},
|
|
2610
3289
|
{
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
3290
|
+
components: [
|
|
3291
|
+
{
|
|
3292
|
+
internalType: "uint256",
|
|
3293
|
+
name: "netPtFromRemove",
|
|
3294
|
+
type: "uint256",
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
internalType: "uint256",
|
|
3298
|
+
name: "netSyFromRemove",
|
|
3299
|
+
type: "uint256",
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
internalType: "uint256",
|
|
3303
|
+
name: "netPyRedeem",
|
|
3304
|
+
type: "uint256",
|
|
3305
|
+
},
|
|
3306
|
+
{
|
|
3307
|
+
internalType: "uint256",
|
|
3308
|
+
name: "netSyFromRedeem",
|
|
3309
|
+
type: "uint256",
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
internalType: "uint256",
|
|
3313
|
+
name: "netPtSwap",
|
|
3314
|
+
type: "uint256",
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
internalType: "uint256",
|
|
3318
|
+
name: "netYtSwap",
|
|
3319
|
+
type: "uint256",
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
internalType: "uint256",
|
|
3323
|
+
name: "netSyFromSwap",
|
|
3324
|
+
type: "uint256",
|
|
3325
|
+
},
|
|
3326
|
+
{
|
|
3327
|
+
internalType: "uint256",
|
|
3328
|
+
name: "netSyFee",
|
|
3329
|
+
type: "uint256",
|
|
3330
|
+
},
|
|
3331
|
+
{
|
|
3332
|
+
internalType: "uint256",
|
|
3333
|
+
name: "totalSyOut",
|
|
3334
|
+
type: "uint256",
|
|
3335
|
+
},
|
|
3336
|
+
],
|
|
3337
|
+
internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
|
|
3338
|
+
name: "params",
|
|
3339
|
+
type: "tuple",
|
|
2649
3340
|
},
|
|
2650
3341
|
],
|
|
2651
3342
|
stateMutability: "nonpayable",
|
|
@@ -2933,6 +3624,40 @@ const _abi = [
|
|
|
2933
3624
|
stateMutability: "payable",
|
|
2934
3625
|
type: "function",
|
|
2935
3626
|
},
|
|
3627
|
+
{
|
|
3628
|
+
inputs: [
|
|
3629
|
+
{
|
|
3630
|
+
internalType: "address payable",
|
|
3631
|
+
name: "reflector",
|
|
3632
|
+
type: "address",
|
|
3633
|
+
},
|
|
3634
|
+
{
|
|
3635
|
+
internalType: "bytes",
|
|
3636
|
+
name: "selfCall",
|
|
3637
|
+
type: "bytes",
|
|
3638
|
+
},
|
|
3639
|
+
{
|
|
3640
|
+
internalType: "bytes",
|
|
3641
|
+
name: "reflectCall",
|
|
3642
|
+
type: "bytes",
|
|
3643
|
+
},
|
|
3644
|
+
],
|
|
3645
|
+
name: "multicallAlpha",
|
|
3646
|
+
outputs: [
|
|
3647
|
+
{
|
|
3648
|
+
internalType: "bytes",
|
|
3649
|
+
name: "selfRes",
|
|
3650
|
+
type: "bytes",
|
|
3651
|
+
},
|
|
3652
|
+
{
|
|
3653
|
+
internalType: "bytes",
|
|
3654
|
+
name: "reflectRes",
|
|
3655
|
+
type: "bytes",
|
|
3656
|
+
},
|
|
3657
|
+
],
|
|
3658
|
+
stateMutability: "payable",
|
|
3659
|
+
type: "function",
|
|
3660
|
+
},
|
|
2936
3661
|
{
|
|
2937
3662
|
inputs: [],
|
|
2938
3663
|
name: "owner",
|