@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "
|
|
4
|
-
"sourceName": "contracts/interfaces/
|
|
3
|
+
"contractName": "IPFixedPricePTAMMV2",
|
|
4
|
+
"sourceName": "contracts/interfaces/IPFixedPricePTAMMV2.sol",
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
7
|
"anonymous": false,
|
|
@@ -9,23 +9,42 @@
|
|
|
9
9
|
{
|
|
10
10
|
"indexed": true,
|
|
11
11
|
"internalType": "address",
|
|
12
|
-
"name": "
|
|
12
|
+
"name": "owner",
|
|
13
13
|
"type": "address"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"indexed": true,
|
|
17
17
|
"internalType": "address",
|
|
18
|
-
"name": "
|
|
18
|
+
"name": "spender",
|
|
19
19
|
"type": "address"
|
|
20
20
|
},
|
|
21
|
+
{
|
|
22
|
+
"indexed": false,
|
|
23
|
+
"internalType": "uint256",
|
|
24
|
+
"name": "value",
|
|
25
|
+
"type": "uint256"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"name": "Approval",
|
|
29
|
+
"type": "event"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"inputs": [
|
|
21
34
|
{
|
|
22
35
|
"indexed": true,
|
|
23
36
|
"internalType": "address",
|
|
24
|
-
"name": "
|
|
37
|
+
"name": "PT",
|
|
25
38
|
"type": "address"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"indexed": false,
|
|
42
|
+
"internalType": "bool",
|
|
43
|
+
"name": "isPaused",
|
|
44
|
+
"type": "bool"
|
|
26
45
|
}
|
|
27
46
|
],
|
|
28
|
-
"name": "
|
|
47
|
+
"name": "PauseStatusUpdated",
|
|
29
48
|
"type": "event"
|
|
30
49
|
},
|
|
31
50
|
{
|
|
@@ -34,17 +53,17 @@
|
|
|
34
53
|
{
|
|
35
54
|
"indexed": true,
|
|
36
55
|
"internalType": "address",
|
|
37
|
-
"name": "
|
|
56
|
+
"name": "PT",
|
|
38
57
|
"type": "address"
|
|
39
58
|
},
|
|
40
59
|
{
|
|
41
|
-
"indexed":
|
|
42
|
-
"internalType": "
|
|
43
|
-
"name": "
|
|
44
|
-
"type": "
|
|
60
|
+
"indexed": true,
|
|
61
|
+
"internalType": "address",
|
|
62
|
+
"name": "priceOracle",
|
|
63
|
+
"type": "address"
|
|
45
64
|
}
|
|
46
65
|
],
|
|
47
|
-
"name": "
|
|
66
|
+
"name": "PriceOracleUpdated",
|
|
48
67
|
"type": "event"
|
|
49
68
|
},
|
|
50
69
|
{
|
|
@@ -76,18 +95,31 @@
|
|
|
76
95
|
},
|
|
77
96
|
{
|
|
78
97
|
"indexed": false,
|
|
98
|
+
"internalType": "uint256",
|
|
99
|
+
"name": "netTokenOut",
|
|
100
|
+
"type": "uint256"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"name": "Swap",
|
|
104
|
+
"type": "event"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"anonymous": false,
|
|
108
|
+
"inputs": [
|
|
109
|
+
{
|
|
110
|
+
"indexed": true,
|
|
79
111
|
"internalType": "address",
|
|
80
|
-
"name": "
|
|
112
|
+
"name": "sender",
|
|
81
113
|
"type": "address"
|
|
82
114
|
},
|
|
83
115
|
{
|
|
84
116
|
"indexed": false,
|
|
85
117
|
"internalType": "uint256",
|
|
86
|
-
"name": "
|
|
118
|
+
"name": "amount",
|
|
87
119
|
"type": "uint256"
|
|
88
120
|
}
|
|
89
121
|
],
|
|
90
|
-
"name": "
|
|
122
|
+
"name": "TokenFunded",
|
|
91
123
|
"type": "event"
|
|
92
124
|
},
|
|
93
125
|
{
|
|
@@ -96,7 +128,7 @@
|
|
|
96
128
|
{
|
|
97
129
|
"indexed": true,
|
|
98
130
|
"internalType": "address",
|
|
99
|
-
"name": "
|
|
131
|
+
"name": "sender",
|
|
100
132
|
"type": "address"
|
|
101
133
|
},
|
|
102
134
|
{
|
|
@@ -106,79 +138,209 @@
|
|
|
106
138
|
"type": "uint256"
|
|
107
139
|
}
|
|
108
140
|
],
|
|
109
|
-
"name": "
|
|
141
|
+
"name": "TokenWithdrawn",
|
|
110
142
|
"type": "event"
|
|
111
143
|
},
|
|
112
144
|
{
|
|
145
|
+
"anonymous": false,
|
|
113
146
|
"inputs": [
|
|
114
147
|
{
|
|
148
|
+
"indexed": true,
|
|
149
|
+
"internalType": "address",
|
|
150
|
+
"name": "from",
|
|
151
|
+
"type": "address"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"indexed": true,
|
|
115
155
|
"internalType": "address",
|
|
116
|
-
"name": "
|
|
156
|
+
"name": "to",
|
|
117
157
|
"type": "address"
|
|
118
158
|
},
|
|
159
|
+
{
|
|
160
|
+
"indexed": false,
|
|
161
|
+
"internalType": "uint256",
|
|
162
|
+
"name": "value",
|
|
163
|
+
"type": "uint256"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"name": "Transfer",
|
|
167
|
+
"type": "event"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"anonymous": false,
|
|
171
|
+
"inputs": [
|
|
172
|
+
{
|
|
173
|
+
"indexed": true,
|
|
174
|
+
"internalType": "address",
|
|
175
|
+
"name": "user",
|
|
176
|
+
"type": "address"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"indexed": false,
|
|
180
|
+
"internalType": "bool",
|
|
181
|
+
"name": "isWhitelisted",
|
|
182
|
+
"type": "bool"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"name": "WhitelistUpdated",
|
|
186
|
+
"type": "event"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"inputs": [
|
|
119
190
|
{
|
|
120
191
|
"internalType": "uint256",
|
|
121
192
|
"name": "amount",
|
|
122
193
|
"type": "uint256"
|
|
123
194
|
}
|
|
124
195
|
],
|
|
125
|
-
"name": "
|
|
196
|
+
"name": "addFundWhitelisted",
|
|
126
197
|
"outputs": [],
|
|
127
|
-
"stateMutability": "
|
|
198
|
+
"stateMutability": "nonpayable",
|
|
128
199
|
"type": "function"
|
|
129
200
|
},
|
|
130
201
|
{
|
|
131
202
|
"inputs": [
|
|
132
203
|
{
|
|
133
204
|
"internalType": "address",
|
|
134
|
-
"name": "
|
|
205
|
+
"name": "owner",
|
|
135
206
|
"type": "address"
|
|
136
207
|
},
|
|
208
|
+
{
|
|
209
|
+
"internalType": "address",
|
|
210
|
+
"name": "spender",
|
|
211
|
+
"type": "address"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"name": "allowance",
|
|
215
|
+
"outputs": [
|
|
137
216
|
{
|
|
138
217
|
"internalType": "uint256",
|
|
139
|
-
"name": "
|
|
218
|
+
"name": "",
|
|
140
219
|
"type": "uint256"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"stateMutability": "view",
|
|
223
|
+
"type": "function"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"inputs": [
|
|
227
|
+
{
|
|
228
|
+
"internalType": "address",
|
|
229
|
+
"name": "spender",
|
|
230
|
+
"type": "address"
|
|
141
231
|
},
|
|
232
|
+
{
|
|
233
|
+
"internalType": "uint256",
|
|
234
|
+
"name": "amount",
|
|
235
|
+
"type": "uint256"
|
|
236
|
+
}
|
|
237
|
+
],
|
|
238
|
+
"name": "approve",
|
|
239
|
+
"outputs": [
|
|
240
|
+
{
|
|
241
|
+
"internalType": "bool",
|
|
242
|
+
"name": "",
|
|
243
|
+
"type": "bool"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"stateMutability": "nonpayable",
|
|
247
|
+
"type": "function"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"inputs": [
|
|
142
251
|
{
|
|
143
252
|
"internalType": "address",
|
|
144
|
-
"name": "
|
|
253
|
+
"name": "account",
|
|
145
254
|
"type": "address"
|
|
146
255
|
}
|
|
147
256
|
],
|
|
148
|
-
"name": "
|
|
257
|
+
"name": "balanceOf",
|
|
149
258
|
"outputs": [
|
|
150
259
|
{
|
|
151
260
|
"internalType": "uint256",
|
|
152
|
-
"name": "
|
|
261
|
+
"name": "",
|
|
153
262
|
"type": "uint256"
|
|
154
263
|
}
|
|
155
264
|
],
|
|
156
265
|
"stateMutability": "view",
|
|
157
266
|
"type": "function"
|
|
158
267
|
},
|
|
268
|
+
{
|
|
269
|
+
"inputs": [],
|
|
270
|
+
"name": "decimals",
|
|
271
|
+
"outputs": [
|
|
272
|
+
{
|
|
273
|
+
"internalType": "uint8",
|
|
274
|
+
"name": "",
|
|
275
|
+
"type": "uint8"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"stateMutability": "view",
|
|
279
|
+
"type": "function"
|
|
280
|
+
},
|
|
159
281
|
{
|
|
160
282
|
"inputs": [
|
|
161
283
|
{
|
|
162
284
|
"internalType": "address",
|
|
163
|
-
"name": "
|
|
285
|
+
"name": "user",
|
|
164
286
|
"type": "address"
|
|
165
|
-
}
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"name": "isWhitelisted",
|
|
290
|
+
"outputs": [
|
|
291
|
+
{
|
|
292
|
+
"internalType": "bool",
|
|
293
|
+
"name": "",
|
|
294
|
+
"type": "bool"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"stateMutability": "view",
|
|
298
|
+
"type": "function"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"inputs": [],
|
|
302
|
+
"name": "name",
|
|
303
|
+
"outputs": [
|
|
304
|
+
{
|
|
305
|
+
"internalType": "string",
|
|
306
|
+
"name": "",
|
|
307
|
+
"type": "string"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"stateMutability": "view",
|
|
311
|
+
"type": "function"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"inputs": [],
|
|
315
|
+
"name": "outputToken",
|
|
316
|
+
"outputs": [
|
|
166
317
|
{
|
|
167
318
|
"internalType": "address",
|
|
168
|
-
"name": "
|
|
319
|
+
"name": "",
|
|
320
|
+
"type": "address"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"stateMutability": "view",
|
|
324
|
+
"type": "function"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"inputs": [
|
|
328
|
+
{
|
|
329
|
+
"internalType": "address",
|
|
330
|
+
"name": "PT",
|
|
169
331
|
"type": "address"
|
|
170
332
|
},
|
|
171
333
|
{
|
|
172
334
|
"internalType": "uint256",
|
|
173
|
-
"name": "
|
|
335
|
+
"name": "exactPtIn",
|
|
174
336
|
"type": "uint256"
|
|
175
337
|
}
|
|
176
338
|
],
|
|
177
|
-
"name": "
|
|
339
|
+
"name": "previewSwapExactPtForToken",
|
|
178
340
|
"outputs": [
|
|
179
341
|
{
|
|
180
342
|
"internalType": "uint256",
|
|
181
|
-
"name": "
|
|
343
|
+
"name": "amountTokenOut",
|
|
182
344
|
"type": "uint256"
|
|
183
345
|
}
|
|
184
346
|
],
|
|
@@ -191,15 +353,15 @@
|
|
|
191
353
|
"internalType": "address",
|
|
192
354
|
"name": "PT",
|
|
193
355
|
"type": "address"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"internalType": "address",
|
|
197
|
-
"name": "token",
|
|
198
|
-
"type": "address"
|
|
199
356
|
}
|
|
200
357
|
],
|
|
201
358
|
"name": "priceOracle",
|
|
202
359
|
"outputs": [
|
|
360
|
+
{
|
|
361
|
+
"internalType": "bool",
|
|
362
|
+
"name": "isPaused",
|
|
363
|
+
"type": "bool"
|
|
364
|
+
},
|
|
203
365
|
{
|
|
204
366
|
"internalType": "contract IPChainlinkOracleEssential",
|
|
205
367
|
"name": "",
|
|
@@ -216,11 +378,6 @@
|
|
|
216
378
|
},
|
|
217
379
|
{
|
|
218
380
|
"inputs": [
|
|
219
|
-
{
|
|
220
|
-
"internalType": "address",
|
|
221
|
-
"name": "token",
|
|
222
|
-
"type": "address"
|
|
223
|
-
},
|
|
224
381
|
{
|
|
225
382
|
"internalType": "uint256",
|
|
226
383
|
"name": "amount",
|
|
@@ -239,9 +396,22 @@
|
|
|
239
396
|
"name": "PT",
|
|
240
397
|
"type": "address"
|
|
241
398
|
},
|
|
399
|
+
{
|
|
400
|
+
"internalType": "bool",
|
|
401
|
+
"name": "isPaused",
|
|
402
|
+
"type": "bool"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"name": "setPausePtTrading",
|
|
406
|
+
"outputs": [],
|
|
407
|
+
"stateMutability": "nonpayable",
|
|
408
|
+
"type": "function"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"inputs": [
|
|
242
412
|
{
|
|
243
413
|
"internalType": "address",
|
|
244
|
-
"name": "
|
|
414
|
+
"name": "PT",
|
|
245
415
|
"type": "address"
|
|
246
416
|
},
|
|
247
417
|
{
|
|
@@ -260,6 +430,24 @@
|
|
|
260
430
|
"stateMutability": "nonpayable",
|
|
261
431
|
"type": "function"
|
|
262
432
|
},
|
|
433
|
+
{
|
|
434
|
+
"inputs": [
|
|
435
|
+
{
|
|
436
|
+
"internalType": "address",
|
|
437
|
+
"name": "user",
|
|
438
|
+
"type": "address"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"internalType": "bool",
|
|
442
|
+
"name": "isWhitelisted",
|
|
443
|
+
"type": "bool"
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
"name": "setWhitelist",
|
|
447
|
+
"outputs": [],
|
|
448
|
+
"stateMutability": "nonpayable",
|
|
449
|
+
"type": "function"
|
|
450
|
+
},
|
|
263
451
|
{
|
|
264
452
|
"inputs": [
|
|
265
453
|
{
|
|
@@ -277,11 +465,6 @@
|
|
|
277
465
|
"name": "exactPtIn",
|
|
278
466
|
"type": "uint256"
|
|
279
467
|
},
|
|
280
|
-
{
|
|
281
|
-
"internalType": "address",
|
|
282
|
-
"name": "token",
|
|
283
|
-
"type": "address"
|
|
284
|
-
},
|
|
285
468
|
{
|
|
286
469
|
"internalType": "bytes",
|
|
287
470
|
"name": "data",
|
|
@@ -300,73 +483,69 @@
|
|
|
300
483
|
"type": "function"
|
|
301
484
|
},
|
|
302
485
|
{
|
|
303
|
-
"inputs": [
|
|
486
|
+
"inputs": [],
|
|
487
|
+
"name": "symbol",
|
|
488
|
+
"outputs": [
|
|
304
489
|
{
|
|
305
|
-
"internalType": "
|
|
306
|
-
"name": "
|
|
307
|
-
"type": "
|
|
308
|
-
}
|
|
490
|
+
"internalType": "string",
|
|
491
|
+
"name": "",
|
|
492
|
+
"type": "string"
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"stateMutability": "view",
|
|
496
|
+
"type": "function"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"inputs": [
|
|
309
500
|
{
|
|
310
501
|
"internalType": "address",
|
|
311
502
|
"name": "PT",
|
|
312
503
|
"type": "address"
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
"type": "address"
|
|
318
|
-
},
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"name": "totalPt",
|
|
507
|
+
"outputs": [
|
|
319
508
|
{
|
|
320
509
|
"internalType": "uint256",
|
|
321
|
-
"name": "
|
|
510
|
+
"name": "",
|
|
322
511
|
"type": "uint256"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"internalType": "bytes",
|
|
326
|
-
"name": "data",
|
|
327
|
-
"type": "bytes"
|
|
328
512
|
}
|
|
329
513
|
],
|
|
330
|
-
"
|
|
514
|
+
"stateMutability": "view",
|
|
515
|
+
"type": "function"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"inputs": [],
|
|
519
|
+
"name": "totalSupply",
|
|
331
520
|
"outputs": [
|
|
332
521
|
{
|
|
333
522
|
"internalType": "uint256",
|
|
334
|
-
"name": "
|
|
523
|
+
"name": "",
|
|
335
524
|
"type": "uint256"
|
|
336
525
|
}
|
|
337
526
|
],
|
|
338
|
-
"stateMutability": "
|
|
527
|
+
"stateMutability": "view",
|
|
339
528
|
"type": "function"
|
|
340
529
|
},
|
|
341
530
|
{
|
|
342
531
|
"inputs": [
|
|
343
532
|
{
|
|
344
533
|
"internalType": "address",
|
|
345
|
-
"name": "
|
|
346
|
-
"type": "address"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"internalType": "address",
|
|
350
|
-
"name": "PT",
|
|
534
|
+
"name": "to",
|
|
351
535
|
"type": "address"
|
|
352
536
|
},
|
|
353
537
|
{
|
|
354
538
|
"internalType": "uint256",
|
|
355
|
-
"name": "
|
|
539
|
+
"name": "amount",
|
|
356
540
|
"type": "uint256"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"internalType": "address",
|
|
360
|
-
"name": "token",
|
|
361
|
-
"type": "address"
|
|
362
541
|
}
|
|
363
542
|
],
|
|
364
|
-
"name": "
|
|
543
|
+
"name": "transfer",
|
|
365
544
|
"outputs": [
|
|
366
545
|
{
|
|
367
|
-
"internalType": "
|
|
368
|
-
"name": "
|
|
369
|
-
"type": "
|
|
546
|
+
"internalType": "bool",
|
|
547
|
+
"name": "",
|
|
548
|
+
"type": "bool"
|
|
370
549
|
}
|
|
371
550
|
],
|
|
372
551
|
"stateMutability": "nonpayable",
|
|
@@ -376,33 +555,46 @@
|
|
|
376
555
|
"inputs": [
|
|
377
556
|
{
|
|
378
557
|
"internalType": "address",
|
|
379
|
-
"name": "
|
|
380
|
-
"type": "address"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"internalType": "address",
|
|
384
|
-
"name": "PT",
|
|
558
|
+
"name": "from",
|
|
385
559
|
"type": "address"
|
|
386
560
|
},
|
|
387
561
|
{
|
|
388
562
|
"internalType": "address",
|
|
389
|
-
"name": "
|
|
563
|
+
"name": "to",
|
|
390
564
|
"type": "address"
|
|
391
565
|
},
|
|
392
566
|
{
|
|
393
567
|
"internalType": "uint256",
|
|
394
|
-
"name": "
|
|
568
|
+
"name": "amount",
|
|
395
569
|
"type": "uint256"
|
|
396
570
|
}
|
|
397
571
|
],
|
|
398
|
-
"name": "
|
|
572
|
+
"name": "transferFrom",
|
|
399
573
|
"outputs": [
|
|
574
|
+
{
|
|
575
|
+
"internalType": "bool",
|
|
576
|
+
"name": "",
|
|
577
|
+
"type": "bool"
|
|
578
|
+
}
|
|
579
|
+
],
|
|
580
|
+
"stateMutability": "nonpayable",
|
|
581
|
+
"type": "function"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"inputs": [
|
|
585
|
+
{
|
|
586
|
+
"internalType": "address",
|
|
587
|
+
"name": "PT",
|
|
588
|
+
"type": "address"
|
|
589
|
+
},
|
|
400
590
|
{
|
|
401
591
|
"internalType": "uint256",
|
|
402
|
-
"name": "
|
|
592
|
+
"name": "amount",
|
|
403
593
|
"type": "uint256"
|
|
404
594
|
}
|
|
405
595
|
],
|
|
596
|
+
"name": "withdrawPt",
|
|
597
|
+
"outputs": [],
|
|
406
598
|
"stateMutability": "nonpayable",
|
|
407
599
|
"type": "function"
|
|
408
600
|
}
|