@pendle/core-v2 6.4.0-unichain → 6.4.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 (69) hide show
  1. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +4 -0
  3. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.json +99 -0
  4. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +88 -0
  6. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  7. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  8. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  9. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  10. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  11. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  12. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  13. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  14. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  15. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  16. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  17. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  18. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +4 -0
  19. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +99 -0
  20. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  21. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  22. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  23. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  24. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  25. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  26. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  27. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  28. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  29. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  30. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  31. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  32. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  33. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  34. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  35. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  36. package/contracts/interfaces/IPActionCrossChain.sol +14 -0
  37. package/contracts/interfaces/IPAllActionV3.sol +3 -1
  38. package/contracts/router/ActionCrossChain.sol +63 -0
  39. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +7 -1
  40. package/deployments/1-core.json +3 -2
  41. package/deployments/10-core.json +3 -2
  42. package/deployments/130-core.json +14 -2
  43. package/deployments/130-offchain-helper.json +9 -0
  44. package/deployments/146-core.json +3 -2
  45. package/deployments/42161-core.json +3 -2
  46. package/deployments/5000-core.json +3 -2
  47. package/deployments/56-core.json +3 -2
  48. package/deployments/80094-core.json +3 -2
  49. package/deployments/8453-core.json +3 -2
  50. package/deployments/9745-core.json +3 -2
  51. package/deployments/999-core.json +3 -2
  52. package/package.json +1 -1
  53. package/typechain-types/IPAllActionV3.ts +54 -0
  54. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  55. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  56. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  57. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  58. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  59. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  60. package/typechain-types/factories/IPAllActionV3__factory.ts +88 -0
  61. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  62. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  63. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  64. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  65. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  66. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  67. package/typechain-types/factories/Reflector__factory.ts +1 -1
  68. package/typechain-types/hardhat.d.ts +18 -0
  69. package/typechain-types/index.ts +4 -0
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
3
+ "buildInfo": "../../../build-info/e206b407d1a48a4ff598db9474a06b82.json"
4
4
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/e206b407d1a48a4ff598db9474a06b82.json"
4
+ }
@@ -0,0 +1,99 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPActionCrossChain",
4
+ "sourceName": "contracts/interfaces/IPActionCrossChain.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "receiver",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "fixedPricePTAMM",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "PT",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "uint256",
25
+ "name": "exactPtIn",
26
+ "type": "uint256"
27
+ },
28
+ {
29
+ "components": [
30
+ {
31
+ "internalType": "address",
32
+ "name": "tokenOut",
33
+ "type": "address"
34
+ },
35
+ {
36
+ "internalType": "uint256",
37
+ "name": "minTokenOut",
38
+ "type": "uint256"
39
+ },
40
+ {
41
+ "internalType": "address",
42
+ "name": "tokenRedeemSy",
43
+ "type": "address"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "pendleSwap",
48
+ "type": "address"
49
+ },
50
+ {
51
+ "components": [
52
+ {
53
+ "internalType": "enum SwapType",
54
+ "name": "swapType",
55
+ "type": "uint8"
56
+ },
57
+ {
58
+ "internalType": "address",
59
+ "name": "extRouter",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "bytes",
64
+ "name": "extCalldata",
65
+ "type": "bytes"
66
+ },
67
+ {
68
+ "internalType": "bool",
69
+ "name": "needScale",
70
+ "type": "bool"
71
+ }
72
+ ],
73
+ "internalType": "struct SwapData",
74
+ "name": "swapData",
75
+ "type": "tuple"
76
+ }
77
+ ],
78
+ "internalType": "struct TokenOutput",
79
+ "name": "out",
80
+ "type": "tuple"
81
+ }
82
+ ],
83
+ "name": "swapWithFixedPricePTAMM",
84
+ "outputs": [
85
+ {
86
+ "internalType": "uint256",
87
+ "name": "netTokenOut",
88
+ "type": "uint256"
89
+ }
90
+ ],
91
+ "stateMutability": "nonpayable",
92
+ "type": "function"
93
+ }
94
+ ],
95
+ "bytecode": "0x",
96
+ "deployedBytecode": "0x",
97
+ "linkReferences": {},
98
+ "deployedLinkReferences": {}
99
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/588cbe9a611ad674652ebd3cf8aedb68.json"
3
+ "buildInfo": "../../../build-info/e206b407d1a48a4ff598db9474a06b82.json"
4
4
  }
@@ -7817,6 +7817,94 @@
7817
7817
  "stateMutability": "payable",
7818
7818
  "type": "function"
7819
7819
  },
7820
+ {
7821
+ "inputs": [
7822
+ {
7823
+ "internalType": "address",
7824
+ "name": "receiver",
7825
+ "type": "address"
7826
+ },
7827
+ {
7828
+ "internalType": "address",
7829
+ "name": "fixedPricePTAMM",
7830
+ "type": "address"
7831
+ },
7832
+ {
7833
+ "internalType": "address",
7834
+ "name": "PT",
7835
+ "type": "address"
7836
+ },
7837
+ {
7838
+ "internalType": "uint256",
7839
+ "name": "exactPtIn",
7840
+ "type": "uint256"
7841
+ },
7842
+ {
7843
+ "components": [
7844
+ {
7845
+ "internalType": "address",
7846
+ "name": "tokenOut",
7847
+ "type": "address"
7848
+ },
7849
+ {
7850
+ "internalType": "uint256",
7851
+ "name": "minTokenOut",
7852
+ "type": "uint256"
7853
+ },
7854
+ {
7855
+ "internalType": "address",
7856
+ "name": "tokenRedeemSy",
7857
+ "type": "address"
7858
+ },
7859
+ {
7860
+ "internalType": "address",
7861
+ "name": "pendleSwap",
7862
+ "type": "address"
7863
+ },
7864
+ {
7865
+ "components": [
7866
+ {
7867
+ "internalType": "enum SwapType",
7868
+ "name": "swapType",
7869
+ "type": "uint8"
7870
+ },
7871
+ {
7872
+ "internalType": "address",
7873
+ "name": "extRouter",
7874
+ "type": "address"
7875
+ },
7876
+ {
7877
+ "internalType": "bytes",
7878
+ "name": "extCalldata",
7879
+ "type": "bytes"
7880
+ },
7881
+ {
7882
+ "internalType": "bool",
7883
+ "name": "needScale",
7884
+ "type": "bool"
7885
+ }
7886
+ ],
7887
+ "internalType": "struct SwapData",
7888
+ "name": "swapData",
7889
+ "type": "tuple"
7890
+ }
7891
+ ],
7892
+ "internalType": "struct TokenOutput",
7893
+ "name": "out",
7894
+ "type": "tuple"
7895
+ }
7896
+ ],
7897
+ "name": "swapWithFixedPricePTAMM",
7898
+ "outputs": [
7899
+ {
7900
+ "internalType": "uint256",
7901
+ "name": "netTokenOut",
7902
+ "type": "uint256"
7903
+ }
7904
+ ],
7905
+ "stateMutability": "nonpayable",
7906
+ "type": "function"
7907
+ },
7820
7908
  {
7821
7909
  "inputs": [
7822
7910
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/e8d6d6417c0dbfe8dd0b3d6d240b70e2.json"
3
+ "buildInfo": "../../../build-info/f13bffc064ebbd5fee6d446cceef3366.json"
4
4
  }