@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.
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.json +99 -0
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +88 -0
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +4 -0
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +99 -0
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- 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 +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/interfaces/IPActionCrossChain.sol +14 -0
- package/contracts/interfaces/IPAllActionV3.sol +3 -1
- package/contracts/router/ActionCrossChain.sol +63 -0
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +7 -1
- package/deployments/1-core.json +3 -2
- package/deployments/10-core.json +3 -2
- package/deployments/130-core.json +14 -2
- package/deployments/130-offchain-helper.json +9 -0
- package/deployments/146-core.json +3 -2
- package/deployments/42161-core.json +3 -2
- package/deployments/5000-core.json +3 -2
- package/deployments/56-core.json +3 -2
- package/deployments/80094-core.json +3 -2
- package/deployments/8453-core.json +3 -2
- package/deployments/9745-core.json +3 -2
- package/deployments/999-core.json +3 -2
- package/package.json +1 -1
- package/typechain-types/IPAllActionV3.ts +54 -0
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/IPAllActionV3__factory.ts +88 -0
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +18 -0
- package/typechain-types/index.ts +4 -0
|
@@ -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
|
+
}
|
|
@@ -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
|
{
|