@pendle/core-v2 6.6.0 → 6.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.json +766 -0
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +99 -0
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.json +210 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +1294 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +1602 -0
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +0 -88
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.json +85 -0
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol → IPFixedPricePTAMMV2.sol}/IPFixedPricePTAMMSwapCallback.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol/IPFixedPricePTAMM.json → IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.json} +285 -93
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +156 -0
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPActionCrossChain.sol/IPActionCrossChain.json → IPSwapHelper.sol/IPSwapHelper.json} +2 -2
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +258 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +265 -3
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +4 -0
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.json +156 -0
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.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/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +33 -2
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.json +171 -0
- 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/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.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/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.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/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- 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/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.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/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.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/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- package/contracts/cross-chain/FixedPricePTAMMV2.sol +162 -0
- package/contracts/{router/ActionCrossChain.sol → cross-chain/PendleSwapHelper.sol} +11 -7
- package/contracts/cross-chain/funder/BridgeFunder.sol +61 -0
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +55 -0
- package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +64 -0
- package/contracts/interfaces/IPAllActionTypeV3.sol +1 -0
- package/contracts/interfaces/IPAllActionV3.sol +1 -3
- package/contracts/interfaces/IPBridgeFunder.sol +17 -0
- package/contracts/interfaces/IPFixedPricePTAMMV2.sol +58 -0
- package/contracts/interfaces/IPLimitRouter.sol +22 -0
- package/contracts/interfaces/{IPActionCrossChain.sol → IPSwapHelper.sol} +1 -1
- package/contracts/limit/LimitRouterBase.sol +101 -47
- package/contracts/limit/PendleLimitRouter.sol +1 -1
- package/contracts/limit/helpers/MintSyHelper.sol +114 -0
- package/contracts/offchain-helpers/PendleFeeSetter.sol +19 -1
- package/contracts/offchain-helpers/PendleProxyAdmin.sol +11 -0
- package/contracts/router/base/ActionBase.sol +16 -2
- package/deployments/1-core.json +1 -0
- package/deployments/1-offchain-helper.json +1 -1
- package/deployments/10-core.json +1 -0
- package/deployments/10-offchain-helper.json +1 -1
- package/deployments/130-core.json +1 -0
- package/deployments/143-core.json +1 -0
- package/deployments/146-core.json +1 -0
- package/deployments/146-offchain-helper.json +1 -1
- package/deployments/42161-core.json +1 -0
- package/deployments/42161-offchain-helper.json +1 -1
- package/deployments/4217-core.json +14 -0
- package/deployments/43114-core.json +1 -0
- package/deployments/5000-core.json +1 -0
- package/deployments/5000-offchain-helper.json +1 -1
- package/deployments/56-core.json +1 -0
- package/deployments/56-offchain-helper.json +1 -1
- package/deployments/57073-core.json +1 -0
- package/deployments/747474-core.json +1 -0
- package/deployments/80094-core.json +1 -0
- package/deployments/80094-offchain-helper.json +1 -1
- package/deployments/8453-core.json +1 -0
- package/deployments/8453-offchain-helper.json +1 -1
- package/deployments/9745-core.json +1 -0
- package/deployments/9745-offchain-helper.json +1 -1
- package/deployments/999-core.json +1 -0
- package/deployments/999-offchain-helper.json +1 -1
- package/package.json +1 -1
- package/typechain-types/BridgeFunder.ts +344 -0
- package/typechain-types/FixedPricePTAMMV2.ts +1104 -0
- package/typechain-types/IPAllActionV3.ts +0 -54
- package/typechain-types/IPBridgeFunder.ts +165 -0
- package/typechain-types/IPFixedPricePTAMMV2.ts +864 -0
- package/typechain-types/IPLimitRouter.ts +104 -0
- package/typechain-types/IPSwapHelper.ts +161 -0
- package/typechain-types/LimitRouterBase.ts +233 -5
- package/typechain-types/MintSyHelper.ts +230 -0
- package/typechain-types/OFTAdapterAltImpl.ts +1350 -0
- package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +1708 -0
- package/typechain-types/PendleFeeSetter.ts +53 -0
- package/typechain-types/PendleLimitRouter.ts +233 -5
- package/typechain-types/PendleProxyAdmin.ts +341 -0
- package/typechain-types/PendleSwapHelper.ts +161 -0
- package/typechain-types/ProxyAdmin.ts +341 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__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/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__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/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/BridgeFunder__factory.ts +265 -0
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMMV2__factory.ts +824 -0
- package/typechain-types/factories/IPAllActionV3__factory.ts +0 -88
- package/typechain-types/factories/IPBridgeFunder__factory.ts +100 -0
- package/typechain-types/factories/IPFixedPricePTAMMV2__factory.ts +621 -0
- package/typechain-types/factories/IPLimitRouter__factory.ts +156 -0
- package/typechain-types/factories/IPSwapHelper__factory.ts +111 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/LimitRouterBase__factory.ts +258 -1
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/MintSyHelper__factory.ts +168 -0
- package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +1363 -0
- package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +1702 -0
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeSetter__factory.ts +36 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +268 -3
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleProxyAdmin__factory.ts +229 -0
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapHelper__factory.ts +152 -0
- package/typechain-types/factories/ProxyAdmin__factory.ts +210 -0
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +108 -0
- package/typechain-types/index.ts +22 -0
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +0 -667
- package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +0 -99
- package/contracts/cross-chain/FixedPricePTAMM.sol +0 -200
- package/contracts/interfaces/IPFixedPricePTAMM.sol +0 -69
|
@@ -22,6 +22,25 @@
|
|
|
22
22
|
"name": "LnFeeRateRootsSet",
|
|
23
23
|
"type": "event"
|
|
24
24
|
},
|
|
25
|
+
{
|
|
26
|
+
"anonymous": false,
|
|
27
|
+
"inputs": [
|
|
28
|
+
{
|
|
29
|
+
"indexed": false,
|
|
30
|
+
"internalType": "address",
|
|
31
|
+
"name": "signer1",
|
|
32
|
+
"type": "address"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"indexed": false,
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "signer2",
|
|
38
|
+
"type": "address"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"name": "MintSySignersSet",
|
|
42
|
+
"type": "event"
|
|
43
|
+
},
|
|
25
44
|
{
|
|
26
45
|
"anonymous": false,
|
|
27
46
|
"inputs": [
|
|
@@ -270,6 +289,19 @@
|
|
|
270
289
|
"stateMutability": "view",
|
|
271
290
|
"type": "function"
|
|
272
291
|
},
|
|
292
|
+
{
|
|
293
|
+
"inputs": [],
|
|
294
|
+
"name": "ROUTER",
|
|
295
|
+
"outputs": [
|
|
296
|
+
{
|
|
297
|
+
"internalType": "address",
|
|
298
|
+
"name": "",
|
|
299
|
+
"type": "address"
|
|
300
|
+
}
|
|
301
|
+
],
|
|
302
|
+
"stateMutability": "view",
|
|
303
|
+
"type": "function"
|
|
304
|
+
},
|
|
273
305
|
{
|
|
274
306
|
"inputs": [],
|
|
275
307
|
"name": "WNATIVE",
|
|
@@ -694,6 +726,104 @@
|
|
|
694
726
|
"stateMutability": "view",
|
|
695
727
|
"type": "function"
|
|
696
728
|
},
|
|
729
|
+
{
|
|
730
|
+
"inputs": [
|
|
731
|
+
{
|
|
732
|
+
"components": [
|
|
733
|
+
{
|
|
734
|
+
"components": [
|
|
735
|
+
{
|
|
736
|
+
"internalType": "uint256",
|
|
737
|
+
"name": "salt",
|
|
738
|
+
"type": "uint256"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"internalType": "uint256",
|
|
742
|
+
"name": "expiry",
|
|
743
|
+
"type": "uint256"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"internalType": "uint256",
|
|
747
|
+
"name": "nonce",
|
|
748
|
+
"type": "uint256"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
752
|
+
"name": "orderType",
|
|
753
|
+
"type": "uint8"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"internalType": "address",
|
|
757
|
+
"name": "token",
|
|
758
|
+
"type": "address"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"internalType": "address",
|
|
762
|
+
"name": "YT",
|
|
763
|
+
"type": "address"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"internalType": "address",
|
|
767
|
+
"name": "maker",
|
|
768
|
+
"type": "address"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"internalType": "address",
|
|
772
|
+
"name": "receiver",
|
|
773
|
+
"type": "address"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"internalType": "uint256",
|
|
777
|
+
"name": "makingAmount",
|
|
778
|
+
"type": "uint256"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"internalType": "uint256",
|
|
782
|
+
"name": "lnImpliedRate",
|
|
783
|
+
"type": "uint256"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"internalType": "uint256",
|
|
787
|
+
"name": "failSafeRate",
|
|
788
|
+
"type": "uint256"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"internalType": "bytes",
|
|
792
|
+
"name": "permit",
|
|
793
|
+
"type": "bytes"
|
|
794
|
+
}
|
|
795
|
+
],
|
|
796
|
+
"internalType": "struct Order",
|
|
797
|
+
"name": "order",
|
|
798
|
+
"type": "tuple"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"internalType": "bytes",
|
|
802
|
+
"name": "signature",
|
|
803
|
+
"type": "bytes"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"internalType": "uint256",
|
|
807
|
+
"name": "makingAmount",
|
|
808
|
+
"type": "uint256"
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
"internalType": "struct FillOrderParams[]",
|
|
812
|
+
"name": "params",
|
|
813
|
+
"type": "tuple[]"
|
|
814
|
+
}
|
|
815
|
+
],
|
|
816
|
+
"name": "hashFillParams",
|
|
817
|
+
"outputs": [
|
|
818
|
+
{
|
|
819
|
+
"internalType": "bytes32",
|
|
820
|
+
"name": "",
|
|
821
|
+
"type": "bytes32"
|
|
822
|
+
}
|
|
823
|
+
],
|
|
824
|
+
"stateMutability": "pure",
|
|
825
|
+
"type": "function"
|
|
826
|
+
},
|
|
697
827
|
{
|
|
698
828
|
"inputs": [
|
|
699
829
|
{
|
|
@@ -775,6 +905,32 @@
|
|
|
775
905
|
"stateMutability": "view",
|
|
776
906
|
"type": "function"
|
|
777
907
|
},
|
|
908
|
+
{
|
|
909
|
+
"inputs": [],
|
|
910
|
+
"name": "mintSySigner1",
|
|
911
|
+
"outputs": [
|
|
912
|
+
{
|
|
913
|
+
"internalType": "address",
|
|
914
|
+
"name": "",
|
|
915
|
+
"type": "address"
|
|
916
|
+
}
|
|
917
|
+
],
|
|
918
|
+
"stateMutability": "view",
|
|
919
|
+
"type": "function"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"inputs": [],
|
|
923
|
+
"name": "mintSySigner2",
|
|
924
|
+
"outputs": [
|
|
925
|
+
{
|
|
926
|
+
"internalType": "address",
|
|
927
|
+
"name": "",
|
|
928
|
+
"type": "address"
|
|
929
|
+
}
|
|
930
|
+
],
|
|
931
|
+
"stateMutability": "view",
|
|
932
|
+
"type": "function"
|
|
933
|
+
},
|
|
778
934
|
{
|
|
779
935
|
"inputs": [
|
|
780
936
|
{
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "LimitMathCore",
|
|
4
4
|
"sourceName": "contracts/limit/LimitMathCore.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f5ffdfea26469706673582212202dcd9d4bc3d40450d92d664e7661a6d5f5f841591170e7969de77ea11005b02764736f6c634300081e0033",
|
|
7
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040525f5ffdfea26469706673582212202dcd9d4bc3d40450d92d664e7661a6d5f5f841591170e7969de77ea11005b02764736f6c634300081e0033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -41,6 +41,25 @@
|
|
|
41
41
|
"name": "LnFeeRateRootsSet",
|
|
42
42
|
"type": "event"
|
|
43
43
|
},
|
|
44
|
+
{
|
|
45
|
+
"anonymous": false,
|
|
46
|
+
"inputs": [
|
|
47
|
+
{
|
|
48
|
+
"indexed": false,
|
|
49
|
+
"internalType": "address",
|
|
50
|
+
"name": "signer1",
|
|
51
|
+
"type": "address"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"indexed": false,
|
|
55
|
+
"internalType": "address",
|
|
56
|
+
"name": "signer2",
|
|
57
|
+
"type": "address"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"name": "MintSySignersSet",
|
|
61
|
+
"type": "event"
|
|
62
|
+
},
|
|
44
63
|
{
|
|
45
64
|
"anonymous": false,
|
|
46
65
|
"inputs": [
|
|
@@ -333,6 +352,19 @@
|
|
|
333
352
|
"stateMutability": "view",
|
|
334
353
|
"type": "function"
|
|
335
354
|
},
|
|
355
|
+
{
|
|
356
|
+
"inputs": [],
|
|
357
|
+
"name": "ROUTER",
|
|
358
|
+
"outputs": [
|
|
359
|
+
{
|
|
360
|
+
"internalType": "address",
|
|
361
|
+
"name": "",
|
|
362
|
+
"type": "address"
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
"stateMutability": "view",
|
|
366
|
+
"type": "function"
|
|
367
|
+
},
|
|
336
368
|
{
|
|
337
369
|
"inputs": [],
|
|
338
370
|
"name": "WNATIVE",
|
|
@@ -766,7 +798,7 @@
|
|
|
766
798
|
},
|
|
767
799
|
{
|
|
768
800
|
"internalType": "bytes",
|
|
769
|
-
"name": "",
|
|
801
|
+
"name": "optData",
|
|
770
802
|
"type": "bytes"
|
|
771
803
|
},
|
|
772
804
|
{
|
|
@@ -820,6 +852,187 @@
|
|
|
820
852
|
"stateMutability": "view",
|
|
821
853
|
"type": "function"
|
|
822
854
|
},
|
|
855
|
+
{
|
|
856
|
+
"inputs": [
|
|
857
|
+
{
|
|
858
|
+
"components": [
|
|
859
|
+
{
|
|
860
|
+
"components": [
|
|
861
|
+
{
|
|
862
|
+
"internalType": "uint256",
|
|
863
|
+
"name": "salt",
|
|
864
|
+
"type": "uint256"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"internalType": "uint256",
|
|
868
|
+
"name": "expiry",
|
|
869
|
+
"type": "uint256"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"internalType": "uint256",
|
|
873
|
+
"name": "nonce",
|
|
874
|
+
"type": "uint256"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"internalType": "enum IPLimitOrderType.OrderType",
|
|
878
|
+
"name": "orderType",
|
|
879
|
+
"type": "uint8"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"internalType": "address",
|
|
883
|
+
"name": "token",
|
|
884
|
+
"type": "address"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"internalType": "address",
|
|
888
|
+
"name": "YT",
|
|
889
|
+
"type": "address"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"internalType": "address",
|
|
893
|
+
"name": "maker",
|
|
894
|
+
"type": "address"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"internalType": "address",
|
|
898
|
+
"name": "receiver",
|
|
899
|
+
"type": "address"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"internalType": "uint256",
|
|
903
|
+
"name": "makingAmount",
|
|
904
|
+
"type": "uint256"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"internalType": "uint256",
|
|
908
|
+
"name": "lnImpliedRate",
|
|
909
|
+
"type": "uint256"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"internalType": "uint256",
|
|
913
|
+
"name": "failSafeRate",
|
|
914
|
+
"type": "uint256"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"internalType": "bytes",
|
|
918
|
+
"name": "permit",
|
|
919
|
+
"type": "bytes"
|
|
920
|
+
}
|
|
921
|
+
],
|
|
922
|
+
"internalType": "struct Order",
|
|
923
|
+
"name": "order",
|
|
924
|
+
"type": "tuple"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"internalType": "bytes",
|
|
928
|
+
"name": "signature",
|
|
929
|
+
"type": "bytes"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"internalType": "uint256",
|
|
933
|
+
"name": "makingAmount",
|
|
934
|
+
"type": "uint256"
|
|
935
|
+
}
|
|
936
|
+
],
|
|
937
|
+
"internalType": "struct FillOrderParams[]",
|
|
938
|
+
"name": "params",
|
|
939
|
+
"type": "tuple[]"
|
|
940
|
+
}
|
|
941
|
+
],
|
|
942
|
+
"name": "hashFillParams",
|
|
943
|
+
"outputs": [
|
|
944
|
+
{
|
|
945
|
+
"internalType": "bytes32",
|
|
946
|
+
"name": "",
|
|
947
|
+
"type": "bytes32"
|
|
948
|
+
}
|
|
949
|
+
],
|
|
950
|
+
"stateMutability": "pure",
|
|
951
|
+
"type": "function"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"inputs": [
|
|
955
|
+
{
|
|
956
|
+
"components": [
|
|
957
|
+
{
|
|
958
|
+
"internalType": "address",
|
|
959
|
+
"name": "tokenIn",
|
|
960
|
+
"type": "address"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"internalType": "uint256",
|
|
964
|
+
"name": "netTokenIn",
|
|
965
|
+
"type": "uint256"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"internalType": "address",
|
|
969
|
+
"name": "tokenMintSy",
|
|
970
|
+
"type": "address"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"internalType": "address",
|
|
974
|
+
"name": "pendleSwap",
|
|
975
|
+
"type": "address"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"components": [
|
|
979
|
+
{
|
|
980
|
+
"internalType": "enum SwapType",
|
|
981
|
+
"name": "swapType",
|
|
982
|
+
"type": "uint8"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"internalType": "address",
|
|
986
|
+
"name": "extRouter",
|
|
987
|
+
"type": "address"
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"internalType": "bytes",
|
|
991
|
+
"name": "extCalldata",
|
|
992
|
+
"type": "bytes"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"internalType": "bool",
|
|
996
|
+
"name": "needScale",
|
|
997
|
+
"type": "bool"
|
|
998
|
+
}
|
|
999
|
+
],
|
|
1000
|
+
"internalType": "struct SwapData",
|
|
1001
|
+
"name": "swapData",
|
|
1002
|
+
"type": "tuple"
|
|
1003
|
+
}
|
|
1004
|
+
],
|
|
1005
|
+
"internalType": "struct TokenInput[]",
|
|
1006
|
+
"name": "inps",
|
|
1007
|
+
"type": "tuple[]"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"internalType": "uint256[]",
|
|
1011
|
+
"name": "minSyOuts",
|
|
1012
|
+
"type": "uint256[]"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"internalType": "uint256",
|
|
1016
|
+
"name": "expiry",
|
|
1017
|
+
"type": "uint256"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"internalType": "bytes32",
|
|
1021
|
+
"name": "fillParamsHash",
|
|
1022
|
+
"type": "bytes32"
|
|
1023
|
+
}
|
|
1024
|
+
],
|
|
1025
|
+
"name": "hashMintSyPayload",
|
|
1026
|
+
"outputs": [
|
|
1027
|
+
{
|
|
1028
|
+
"internalType": "bytes32",
|
|
1029
|
+
"name": "",
|
|
1030
|
+
"type": "bytes32"
|
|
1031
|
+
}
|
|
1032
|
+
],
|
|
1033
|
+
"stateMutability": "view",
|
|
1034
|
+
"type": "function"
|
|
1035
|
+
},
|
|
823
1036
|
{
|
|
824
1037
|
"inputs": [
|
|
825
1038
|
{
|
|
@@ -926,6 +1139,32 @@
|
|
|
926
1139
|
"stateMutability": "nonpayable",
|
|
927
1140
|
"type": "function"
|
|
928
1141
|
},
|
|
1142
|
+
{
|
|
1143
|
+
"inputs": [],
|
|
1144
|
+
"name": "mintSySigner1",
|
|
1145
|
+
"outputs": [
|
|
1146
|
+
{
|
|
1147
|
+
"internalType": "address",
|
|
1148
|
+
"name": "",
|
|
1149
|
+
"type": "address"
|
|
1150
|
+
}
|
|
1151
|
+
],
|
|
1152
|
+
"stateMutability": "view",
|
|
1153
|
+
"type": "function"
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"inputs": [],
|
|
1157
|
+
"name": "mintSySigner2",
|
|
1158
|
+
"outputs": [
|
|
1159
|
+
{
|
|
1160
|
+
"internalType": "address",
|
|
1161
|
+
"name": "",
|
|
1162
|
+
"type": "address"
|
|
1163
|
+
}
|
|
1164
|
+
],
|
|
1165
|
+
"stateMutability": "view",
|
|
1166
|
+
"type": "function"
|
|
1167
|
+
},
|
|
929
1168
|
{
|
|
930
1169
|
"inputs": [
|
|
931
1170
|
{
|
|
@@ -1229,6 +1468,24 @@
|
|
|
1229
1468
|
"stateMutability": "nonpayable",
|
|
1230
1469
|
"type": "function"
|
|
1231
1470
|
},
|
|
1471
|
+
{
|
|
1472
|
+
"inputs": [
|
|
1473
|
+
{
|
|
1474
|
+
"internalType": "address",
|
|
1475
|
+
"name": "_signer1",
|
|
1476
|
+
"type": "address"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"internalType": "address",
|
|
1480
|
+
"name": "_signer2",
|
|
1481
|
+
"type": "address"
|
|
1482
|
+
}
|
|
1483
|
+
],
|
|
1484
|
+
"name": "setMintSySigners",
|
|
1485
|
+
"outputs": [],
|
|
1486
|
+
"stateMutability": "nonpayable",
|
|
1487
|
+
"type": "function"
|
|
1488
|
+
},
|
|
1232
1489
|
{
|
|
1233
1490
|
"inputs": [
|
|
1234
1491
|
{
|