@pendle/core-v2 6.6.1 → 6.7.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.
Files changed (180) hide show
  1. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -88
  3. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -122
  5. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +4 -0
  6. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.json +99 -0
  7. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +4 -0
  8. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +1388 -0
  9. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
  10. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
  11. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +46 -14
  12. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  13. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +46 -14
  14. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +4 -0
  15. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +1541 -0
  16. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +4 -0
  17. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +1570 -0
  18. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  19. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +57 -35
  20. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
  21. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +57 -35
  22. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  24. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  25. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  26. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  28. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  29. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  30. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  31. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  32. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  33. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  34. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  35. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  36. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  37. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  38. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  39. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
  40. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +4 -0
  41. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.json +1026 -0
  42. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  43. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +11 -0
  44. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  45. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  46. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  47. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  48. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +0 -67
  49. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  50. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.json +0 -120
  51. package/build/artifacts/contracts/interfaces/IPOFTPTSwapper.sol/IPOFTPTSwapper.dbg.json +4 -0
  52. package/build/artifacts/contracts/interfaces/{IPSwapHelper.sol/IPSwapHelper.json → IPOFTPTSwapper.sol/IPOFTPTSwapper.json} +2 -2
  53. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  54. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  55. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  56. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  57. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  58. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
  59. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  60. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  61. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  62. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  63. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  64. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  65. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  66. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  69. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  72. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  73. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  74. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  75. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  76. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  77. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  78. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  79. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  80. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  81. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  82. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  83. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  84. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  85. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  86. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  87. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  88. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  89. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  90. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  91. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  92. package/contracts/LiquidityMining/PendleMerkleDistributor.sol +1 -28
  93. package/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol +1 -36
  94. package/contracts/cross-chain/{PendleSwapHelper.sol → OFTPTSwapper.sol} +4 -3
  95. package/contracts/cross-chain/factory/PendleBridgePTFactory.sol +495 -0
  96. package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +5 -4
  97. package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +14 -6
  98. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol +11 -0
  99. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol +52 -0
  100. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +33 -24
  101. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +4 -13
  102. package/contracts/interfaces/IPBridgePTFactory.sol +129 -0
  103. package/contracts/interfaces/IPBridgedPrincipalToken.sol +4 -2
  104. package/contracts/interfaces/IPMerkleDistributor.sol +0 -7
  105. package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +0 -10
  106. package/contracts/interfaces/{IPSwapHelper.sol → IPOFTPTSwapper.sol} +1 -1
  107. package/contracts/limit/LimitRouterBase.sol +1 -1
  108. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
  109. package/deployments/1-core.json +2 -1
  110. package/deployments/130-core.json +2 -1
  111. package/deployments/143-core.json +38 -1
  112. package/deployments/143-offchain-helper.json +11 -0
  113. package/deployments/42161-core.json +2 -1
  114. package/deployments/4217-core.json +3 -1
  115. package/deployments/43114-core.json +3 -1
  116. package/deployments/56-core.json +2 -1
  117. package/deployments/57073-core.json +4 -1
  118. package/deployments/747474-core.json +4 -1
  119. package/deployments/8453-core.json +2 -1
  120. package/deployments/9745-core.json +2 -1
  121. package/deployments/999-core.json +2 -1
  122. package/package.json +12 -9
  123. package/typechain-types/DVNOptions.ts +57 -0
  124. package/typechain-types/ExecutorOptions.ts +57 -0
  125. package/typechain-types/IPBridgePTFactory.ts +936 -0
  126. package/typechain-types/IPMerkleDistributor.ts +0 -90
  127. package/typechain-types/IPMultiTokenMerkleDistributor.ts +0 -158
  128. package/typechain-types/IPOFTPTSwapper.ts +161 -0
  129. package/typechain-types/OAppPreCrimeSimulatorUpgradeable.ts +410 -0
  130. package/typechain-types/OFTAdapterAltImpl.ts +50 -19
  131. package/typechain-types/OFTAdapterImpl.ts +50 -19
  132. package/typechain-types/OFTAdapterUpgradeable.ts +1337 -0
  133. package/typechain-types/OFTCoreUpgradeable.ts +1337 -0
  134. package/typechain-types/OFTPTSwapper.ts +161 -0
  135. package/typechain-types/OFTUpgradeable.ts +1681 -0
  136. package/typechain-types/OptionsBuilder.ts +57 -0
  137. package/typechain-types/PendleBridgePTFactory.ts +1311 -0
  138. package/typechain-types/PendleBridgedPrincipalToken.ts +67 -20
  139. package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +67 -20
  140. package/typechain-types/PendleMerkleDistributor.ts +0 -106
  141. package/typechain-types/PendleMultiTokenMerkleDistributor.ts +0 -158
  142. package/typechain-types/PendleOFT.ts +1675 -0
  143. package/typechain-types/PendleOFTAlt.ts +1694 -0
  144. package/typechain-types/factories/DVNOptions__factory.ts +77 -0
  145. package/typechain-types/factories/ExecutorOptions__factory.ts +84 -0
  146. package/typechain-types/factories/IOFT__factory.ts +11 -0
  147. package/typechain-types/factories/IPBridgePTFactory__factory.ts +1041 -0
  148. package/typechain-types/factories/IPBridgedPrincipalToken__factory.ts +11 -0
  149. package/typechain-types/factories/IPMerkleDistributor__factory.ts +0 -67
  150. package/typechain-types/factories/IPMultiTokenMerkleDistributor__factory.ts +0 -120
  151. package/typechain-types/factories/IPOFTPTSwapper__factory.ts +114 -0
  152. package/typechain-types/factories/OAppPreCrimeSimulatorUpgradeable__factory.ts +311 -0
  153. package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +49 -25
  154. package/typechain-types/factories/OFTAdapterImpl__factory.ts +49 -25
  155. package/typechain-types/factories/OFTAdapterUpgradeable__factory.ts +1287 -0
  156. package/typechain-types/factories/OFTAdapter__factory.ts +11 -0
  157. package/typechain-types/factories/OFTCoreUpgradeable__factory.ts +1283 -0
  158. package/typechain-types/factories/OFTCore__factory.ts +11 -0
  159. package/typechain-types/factories/OFTPTSwapper__factory.ts +149 -0
  160. package/typechain-types/factories/OFTUpgradeable__factory.ts +1553 -0
  161. package/typechain-types/factories/OFT__factory.ts +11 -0
  162. package/typechain-types/factories/OptionsBuilder__factory.ts +91 -0
  163. package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1481 -0
  164. package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +60 -58
  165. package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +60 -58
  166. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  167. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -87
  168. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -121
  169. package/typechain-types/factories/PendleOFTAlt__factory.ts +1628 -0
  170. package/typechain-types/factories/PendleOFT__factory.ts +1599 -0
  171. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
  172. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  173. package/typechain-types/hardhat.d.ts +107 -53
  174. package/typechain-types/index.ts +26 -12
  175. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +0 -4
  176. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +0 -99
  177. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +0 -4
  178. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +0 -280
  179. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +0 -4
  180. package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -38
@@ -0,0 +1,1026 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPBridgePTFactory",
4
+ "sourceName": "contracts/interfaces/IPBridgePTFactory.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "InvalidDelegate",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "InvalidEndpointCall",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "uint32",
20
+ "name": "eid",
21
+ "type": "uint32"
22
+ }
23
+ ],
24
+ "name": "NoPeer",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "uint32",
31
+ "name": "eid",
32
+ "type": "uint32"
33
+ },
34
+ {
35
+ "internalType": "bytes32",
36
+ "name": "sender",
37
+ "type": "bytes32"
38
+ }
39
+ ],
40
+ "name": "OnlyPeer",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "anonymous": false,
45
+ "inputs": [
46
+ {
47
+ "indexed": true,
48
+ "internalType": "uint32",
49
+ "name": "peerEid",
50
+ "type": "uint32"
51
+ },
52
+ {
53
+ "indexed": true,
54
+ "internalType": "address",
55
+ "name": "peer",
56
+ "type": "address"
57
+ }
58
+ ],
59
+ "name": "FactoryWired",
60
+ "type": "event"
61
+ },
62
+ {
63
+ "anonymous": false,
64
+ "inputs": [
65
+ {
66
+ "indexed": true,
67
+ "internalType": "uint32",
68
+ "name": "lzEid",
69
+ "type": "uint32"
70
+ },
71
+ {
72
+ "indexed": true,
73
+ "internalType": "bytes32",
74
+ "name": "originalPt",
75
+ "type": "bytes32"
76
+ },
77
+ {
78
+ "indexed": true,
79
+ "internalType": "address",
80
+ "name": "oft",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "PTOFTDeployed",
85
+ "type": "event"
86
+ },
87
+ {
88
+ "anonymous": false,
89
+ "inputs": [
90
+ {
91
+ "indexed": true,
92
+ "internalType": "uint32",
93
+ "name": "hubLzEid",
94
+ "type": "uint32"
95
+ },
96
+ {
97
+ "indexed": true,
98
+ "internalType": "address",
99
+ "name": "hubPt",
100
+ "type": "address"
101
+ },
102
+ {
103
+ "indexed": false,
104
+ "internalType": "uint32[]",
105
+ "name": "toPeerEids",
106
+ "type": "uint32[]"
107
+ }
108
+ ],
109
+ "name": "PTOFTWired",
110
+ "type": "event"
111
+ },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ {
116
+ "indexed": false,
117
+ "internalType": "uint32",
118
+ "name": "eid",
119
+ "type": "uint32"
120
+ },
121
+ {
122
+ "indexed": false,
123
+ "internalType": "bytes32",
124
+ "name": "peer",
125
+ "type": "bytes32"
126
+ }
127
+ ],
128
+ "name": "PeerSet",
129
+ "type": "event"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "GOV_PROXY",
134
+ "outputs": [
135
+ {
136
+ "internalType": "contract IPGovernanceProxy",
137
+ "name": "",
138
+ "type": "address"
139
+ }
140
+ ],
141
+ "stateMutability": "view",
142
+ "type": "function"
143
+ },
144
+ {
145
+ "inputs": [],
146
+ "name": "HUB_PT_OFT_ADAPTER_CREATION_CODE",
147
+ "outputs": [
148
+ {
149
+ "internalType": "address",
150
+ "name": "",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "stateMutability": "view",
155
+ "type": "function"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "LZ_EID",
160
+ "outputs": [
161
+ {
162
+ "internalType": "uint32",
163
+ "name": "",
164
+ "type": "uint32"
165
+ }
166
+ ],
167
+ "stateMutability": "view",
168
+ "type": "function"
169
+ },
170
+ {
171
+ "inputs": [],
172
+ "name": "OFT_PROXY_ADMIN",
173
+ "outputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "",
177
+ "type": "address"
178
+ }
179
+ ],
180
+ "stateMutability": "view",
181
+ "type": "function"
182
+ },
183
+ {
184
+ "inputs": [],
185
+ "name": "SELF_CHAIN_SHORT_NAME",
186
+ "outputs": [
187
+ {
188
+ "internalType": "string",
189
+ "name": "",
190
+ "type": "string"
191
+ }
192
+ ],
193
+ "stateMutability": "view",
194
+ "type": "function"
195
+ },
196
+ {
197
+ "inputs": [],
198
+ "name": "SPOKE_PT_OFT_CREATION_CODE",
199
+ "outputs": [
200
+ {
201
+ "internalType": "address",
202
+ "name": "",
203
+ "type": "address"
204
+ }
205
+ ],
206
+ "stateMutability": "view",
207
+ "type": "function"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "hubPt",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "deployHubPtOftAdapter",
218
+ "outputs": [
219
+ {
220
+ "internalType": "address",
221
+ "name": "oft",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "stateMutability": "nonpayable",
226
+ "type": "function"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "internalType": "address",
232
+ "name": "hubPt",
233
+ "type": "address"
234
+ },
235
+ {
236
+ "internalType": "uint32",
237
+ "name": "toPeerEid",
238
+ "type": "uint32"
239
+ },
240
+ {
241
+ "internalType": "bytes",
242
+ "name": "options",
243
+ "type": "bytes"
244
+ },
245
+ {
246
+ "components": [
247
+ {
248
+ "internalType": "uint256",
249
+ "name": "nativeFee",
250
+ "type": "uint256"
251
+ },
252
+ {
253
+ "internalType": "uint256",
254
+ "name": "lzTokenFee",
255
+ "type": "uint256"
256
+ }
257
+ ],
258
+ "internalType": "struct MessagingFee",
259
+ "name": "fee",
260
+ "type": "tuple"
261
+ }
262
+ ],
263
+ "name": "deploySpokePtOft",
264
+ "outputs": [
265
+ {
266
+ "components": [
267
+ {
268
+ "internalType": "bytes32",
269
+ "name": "guid",
270
+ "type": "bytes32"
271
+ },
272
+ {
273
+ "internalType": "uint64",
274
+ "name": "nonce",
275
+ "type": "uint64"
276
+ },
277
+ {
278
+ "components": [
279
+ {
280
+ "internalType": "uint256",
281
+ "name": "nativeFee",
282
+ "type": "uint256"
283
+ },
284
+ {
285
+ "internalType": "uint256",
286
+ "name": "lzTokenFee",
287
+ "type": "uint256"
288
+ }
289
+ ],
290
+ "internalType": "struct MessagingFee",
291
+ "name": "fee",
292
+ "type": "tuple"
293
+ }
294
+ ],
295
+ "internalType": "struct MessagingReceipt",
296
+ "name": "msgReceipt",
297
+ "type": "tuple"
298
+ }
299
+ ],
300
+ "stateMutability": "payable",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "inputs": [
305
+ {
306
+ "internalType": "uint32",
307
+ "name": "peerLzEid",
308
+ "type": "uint32"
309
+ },
310
+ {
311
+ "internalType": "uint32",
312
+ "name": "hubLzEid",
313
+ "type": "uint32"
314
+ },
315
+ {
316
+ "internalType": "address",
317
+ "name": "hubPt",
318
+ "type": "address"
319
+ }
320
+ ],
321
+ "name": "derivePtOftAddress",
322
+ "outputs": [
323
+ {
324
+ "internalType": "address",
325
+ "name": "oft",
326
+ "type": "address"
327
+ }
328
+ ],
329
+ "stateMutability": "view",
330
+ "type": "function"
331
+ },
332
+ {
333
+ "inputs": [],
334
+ "name": "endpoint",
335
+ "outputs": [
336
+ {
337
+ "internalType": "contract ILayerZeroEndpointV2",
338
+ "name": "iEndpoint",
339
+ "type": "address"
340
+ }
341
+ ],
342
+ "stateMutability": "view",
343
+ "type": "function"
344
+ },
345
+ {
346
+ "inputs": [],
347
+ "name": "oAppVersion",
348
+ "outputs": [
349
+ {
350
+ "internalType": "uint64",
351
+ "name": "senderVersion",
352
+ "type": "uint64"
353
+ },
354
+ {
355
+ "internalType": "uint64",
356
+ "name": "receiverVersion",
357
+ "type": "uint64"
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [
365
+ {
366
+ "internalType": "uint32",
367
+ "name": "_eid",
368
+ "type": "uint32"
369
+ }
370
+ ],
371
+ "name": "peers",
372
+ "outputs": [
373
+ {
374
+ "internalType": "bytes32",
375
+ "name": "peer",
376
+ "type": "bytes32"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "address",
386
+ "name": "hubPt",
387
+ "type": "address"
388
+ },
389
+ {
390
+ "internalType": "uint32",
391
+ "name": "toPeerEid",
392
+ "type": "uint32"
393
+ },
394
+ {
395
+ "internalType": "bytes",
396
+ "name": "options",
397
+ "type": "bytes"
398
+ },
399
+ {
400
+ "internalType": "bool",
401
+ "name": "payInLzToken",
402
+ "type": "bool"
403
+ }
404
+ ],
405
+ "name": "quoteDeploySpokePtOft",
406
+ "outputs": [
407
+ {
408
+ "components": [
409
+ {
410
+ "internalType": "uint256",
411
+ "name": "nativeFee",
412
+ "type": "uint256"
413
+ },
414
+ {
415
+ "internalType": "uint256",
416
+ "name": "lzTokenFee",
417
+ "type": "uint256"
418
+ }
419
+ ],
420
+ "internalType": "struct MessagingFee",
421
+ "name": "fee",
422
+ "type": "tuple"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [
430
+ {
431
+ "internalType": "uint32",
432
+ "name": "peerEid",
433
+ "type": "uint32"
434
+ },
435
+ {
436
+ "components": [
437
+ {
438
+ "internalType": "uint32",
439
+ "name": "peerEid",
440
+ "type": "uint32"
441
+ },
442
+ {
443
+ "internalType": "address",
444
+ "name": "peer",
445
+ "type": "address"
446
+ },
447
+ {
448
+ "components": [
449
+ {
450
+ "internalType": "uint32",
451
+ "name": "eid",
452
+ "type": "uint32"
453
+ },
454
+ {
455
+ "internalType": "uint32",
456
+ "name": "configType",
457
+ "type": "uint32"
458
+ },
459
+ {
460
+ "internalType": "bytes",
461
+ "name": "config",
462
+ "type": "bytes"
463
+ }
464
+ ],
465
+ "internalType": "struct SetConfigParam[]",
466
+ "name": "sendConfigParam",
467
+ "type": "tuple[]"
468
+ },
469
+ {
470
+ "components": [
471
+ {
472
+ "internalType": "uint32",
473
+ "name": "eid",
474
+ "type": "uint32"
475
+ },
476
+ {
477
+ "internalType": "uint32",
478
+ "name": "configType",
479
+ "type": "uint32"
480
+ },
481
+ {
482
+ "internalType": "bytes",
483
+ "name": "config",
484
+ "type": "bytes"
485
+ }
486
+ ],
487
+ "internalType": "struct SetConfigParam[]",
488
+ "name": "receiveConfigParam",
489
+ "type": "tuple[]"
490
+ },
491
+ {
492
+ "internalType": "bool",
493
+ "name": "setSendLib",
494
+ "type": "bool"
495
+ },
496
+ {
497
+ "internalType": "bool",
498
+ "name": "setReceiveLib",
499
+ "type": "bool"
500
+ }
501
+ ],
502
+ "internalType": "struct IPBridgePTFactory.SelfWireParams",
503
+ "name": "wireParams",
504
+ "type": "tuple"
505
+ },
506
+ {
507
+ "internalType": "bytes",
508
+ "name": "options",
509
+ "type": "bytes"
510
+ },
511
+ {
512
+ "internalType": "bool",
513
+ "name": "payInLzToken",
514
+ "type": "bool"
515
+ }
516
+ ],
517
+ "name": "quoteRemoteSelfWire",
518
+ "outputs": [
519
+ {
520
+ "components": [
521
+ {
522
+ "internalType": "uint256",
523
+ "name": "nativeFee",
524
+ "type": "uint256"
525
+ },
526
+ {
527
+ "internalType": "uint256",
528
+ "name": "lzTokenFee",
529
+ "type": "uint256"
530
+ }
531
+ ],
532
+ "internalType": "struct MessagingFee",
533
+ "name": "fee",
534
+ "type": "tuple"
535
+ }
536
+ ],
537
+ "stateMutability": "view",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [
542
+ {
543
+ "internalType": "uint32",
544
+ "name": "peerEid",
545
+ "type": "uint32"
546
+ },
547
+ {
548
+ "components": [
549
+ {
550
+ "internalType": "uint32",
551
+ "name": "hubLzEid",
552
+ "type": "uint32"
553
+ },
554
+ {
555
+ "internalType": "address",
556
+ "name": "hubPt",
557
+ "type": "address"
558
+ },
559
+ {
560
+ "internalType": "uint32[]",
561
+ "name": "toPeerEids",
562
+ "type": "uint32[]"
563
+ },
564
+ {
565
+ "internalType": "uint128[]",
566
+ "name": "enforcedReceiveGas",
567
+ "type": "uint128[]"
568
+ },
569
+ {
570
+ "internalType": "bool",
571
+ "name": "setSendLib",
572
+ "type": "bool"
573
+ },
574
+ {
575
+ "internalType": "bool",
576
+ "name": "setReceiveLib",
577
+ "type": "bool"
578
+ }
579
+ ],
580
+ "internalType": "struct IPBridgePTFactory.WirePtOftParams",
581
+ "name": "wireParams",
582
+ "type": "tuple"
583
+ },
584
+ {
585
+ "internalType": "bytes",
586
+ "name": "options",
587
+ "type": "bytes"
588
+ },
589
+ {
590
+ "internalType": "bool",
591
+ "name": "payInLzToken",
592
+ "type": "bool"
593
+ }
594
+ ],
595
+ "name": "quoteRemoteWirePtOft",
596
+ "outputs": [
597
+ {
598
+ "components": [
599
+ {
600
+ "internalType": "uint256",
601
+ "name": "nativeFee",
602
+ "type": "uint256"
603
+ },
604
+ {
605
+ "internalType": "uint256",
606
+ "name": "lzTokenFee",
607
+ "type": "uint256"
608
+ }
609
+ ],
610
+ "internalType": "struct MessagingFee",
611
+ "name": "fee",
612
+ "type": "tuple"
613
+ }
614
+ ],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "uint32",
622
+ "name": "peerEid",
623
+ "type": "uint32"
624
+ },
625
+ {
626
+ "components": [
627
+ {
628
+ "internalType": "uint32",
629
+ "name": "peerEid",
630
+ "type": "uint32"
631
+ },
632
+ {
633
+ "internalType": "address",
634
+ "name": "peer",
635
+ "type": "address"
636
+ },
637
+ {
638
+ "components": [
639
+ {
640
+ "internalType": "uint32",
641
+ "name": "eid",
642
+ "type": "uint32"
643
+ },
644
+ {
645
+ "internalType": "uint32",
646
+ "name": "configType",
647
+ "type": "uint32"
648
+ },
649
+ {
650
+ "internalType": "bytes",
651
+ "name": "config",
652
+ "type": "bytes"
653
+ }
654
+ ],
655
+ "internalType": "struct SetConfigParam[]",
656
+ "name": "sendConfigParam",
657
+ "type": "tuple[]"
658
+ },
659
+ {
660
+ "components": [
661
+ {
662
+ "internalType": "uint32",
663
+ "name": "eid",
664
+ "type": "uint32"
665
+ },
666
+ {
667
+ "internalType": "uint32",
668
+ "name": "configType",
669
+ "type": "uint32"
670
+ },
671
+ {
672
+ "internalType": "bytes",
673
+ "name": "config",
674
+ "type": "bytes"
675
+ }
676
+ ],
677
+ "internalType": "struct SetConfigParam[]",
678
+ "name": "receiveConfigParam",
679
+ "type": "tuple[]"
680
+ },
681
+ {
682
+ "internalType": "bool",
683
+ "name": "setSendLib",
684
+ "type": "bool"
685
+ },
686
+ {
687
+ "internalType": "bool",
688
+ "name": "setReceiveLib",
689
+ "type": "bool"
690
+ }
691
+ ],
692
+ "internalType": "struct IPBridgePTFactory.SelfWireParams",
693
+ "name": "wireParams",
694
+ "type": "tuple"
695
+ },
696
+ {
697
+ "internalType": "bytes",
698
+ "name": "options",
699
+ "type": "bytes"
700
+ },
701
+ {
702
+ "components": [
703
+ {
704
+ "internalType": "uint256",
705
+ "name": "nativeFee",
706
+ "type": "uint256"
707
+ },
708
+ {
709
+ "internalType": "uint256",
710
+ "name": "lzTokenFee",
711
+ "type": "uint256"
712
+ }
713
+ ],
714
+ "internalType": "struct MessagingFee",
715
+ "name": "fee",
716
+ "type": "tuple"
717
+ }
718
+ ],
719
+ "name": "remoteSelfWire",
720
+ "outputs": [
721
+ {
722
+ "components": [
723
+ {
724
+ "internalType": "bytes32",
725
+ "name": "guid",
726
+ "type": "bytes32"
727
+ },
728
+ {
729
+ "internalType": "uint64",
730
+ "name": "nonce",
731
+ "type": "uint64"
732
+ },
733
+ {
734
+ "components": [
735
+ {
736
+ "internalType": "uint256",
737
+ "name": "nativeFee",
738
+ "type": "uint256"
739
+ },
740
+ {
741
+ "internalType": "uint256",
742
+ "name": "lzTokenFee",
743
+ "type": "uint256"
744
+ }
745
+ ],
746
+ "internalType": "struct MessagingFee",
747
+ "name": "fee",
748
+ "type": "tuple"
749
+ }
750
+ ],
751
+ "internalType": "struct MessagingReceipt",
752
+ "name": "msgReceipt",
753
+ "type": "tuple"
754
+ }
755
+ ],
756
+ "stateMutability": "payable",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [
761
+ {
762
+ "internalType": "uint32",
763
+ "name": "peerEid",
764
+ "type": "uint32"
765
+ },
766
+ {
767
+ "components": [
768
+ {
769
+ "internalType": "uint32",
770
+ "name": "hubLzEid",
771
+ "type": "uint32"
772
+ },
773
+ {
774
+ "internalType": "address",
775
+ "name": "hubPt",
776
+ "type": "address"
777
+ },
778
+ {
779
+ "internalType": "uint32[]",
780
+ "name": "toPeerEids",
781
+ "type": "uint32[]"
782
+ },
783
+ {
784
+ "internalType": "uint128[]",
785
+ "name": "enforcedReceiveGas",
786
+ "type": "uint128[]"
787
+ },
788
+ {
789
+ "internalType": "bool",
790
+ "name": "setSendLib",
791
+ "type": "bool"
792
+ },
793
+ {
794
+ "internalType": "bool",
795
+ "name": "setReceiveLib",
796
+ "type": "bool"
797
+ }
798
+ ],
799
+ "internalType": "struct IPBridgePTFactory.WirePtOftParams",
800
+ "name": "wireParams",
801
+ "type": "tuple"
802
+ },
803
+ {
804
+ "internalType": "bytes",
805
+ "name": "options",
806
+ "type": "bytes"
807
+ },
808
+ {
809
+ "components": [
810
+ {
811
+ "internalType": "uint256",
812
+ "name": "nativeFee",
813
+ "type": "uint256"
814
+ },
815
+ {
816
+ "internalType": "uint256",
817
+ "name": "lzTokenFee",
818
+ "type": "uint256"
819
+ }
820
+ ],
821
+ "internalType": "struct MessagingFee",
822
+ "name": "fee",
823
+ "type": "tuple"
824
+ }
825
+ ],
826
+ "name": "remoteWirePtOft",
827
+ "outputs": [
828
+ {
829
+ "components": [
830
+ {
831
+ "internalType": "bytes32",
832
+ "name": "guid",
833
+ "type": "bytes32"
834
+ },
835
+ {
836
+ "internalType": "uint64",
837
+ "name": "nonce",
838
+ "type": "uint64"
839
+ },
840
+ {
841
+ "components": [
842
+ {
843
+ "internalType": "uint256",
844
+ "name": "nativeFee",
845
+ "type": "uint256"
846
+ },
847
+ {
848
+ "internalType": "uint256",
849
+ "name": "lzTokenFee",
850
+ "type": "uint256"
851
+ }
852
+ ],
853
+ "internalType": "struct MessagingFee",
854
+ "name": "fee",
855
+ "type": "tuple"
856
+ }
857
+ ],
858
+ "internalType": "struct MessagingReceipt",
859
+ "name": "msgReceipt",
860
+ "type": "tuple"
861
+ }
862
+ ],
863
+ "stateMutability": "payable",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [
868
+ {
869
+ "components": [
870
+ {
871
+ "internalType": "uint32",
872
+ "name": "peerEid",
873
+ "type": "uint32"
874
+ },
875
+ {
876
+ "internalType": "address",
877
+ "name": "peer",
878
+ "type": "address"
879
+ },
880
+ {
881
+ "components": [
882
+ {
883
+ "internalType": "uint32",
884
+ "name": "eid",
885
+ "type": "uint32"
886
+ },
887
+ {
888
+ "internalType": "uint32",
889
+ "name": "configType",
890
+ "type": "uint32"
891
+ },
892
+ {
893
+ "internalType": "bytes",
894
+ "name": "config",
895
+ "type": "bytes"
896
+ }
897
+ ],
898
+ "internalType": "struct SetConfigParam[]",
899
+ "name": "sendConfigParam",
900
+ "type": "tuple[]"
901
+ },
902
+ {
903
+ "components": [
904
+ {
905
+ "internalType": "uint32",
906
+ "name": "eid",
907
+ "type": "uint32"
908
+ },
909
+ {
910
+ "internalType": "uint32",
911
+ "name": "configType",
912
+ "type": "uint32"
913
+ },
914
+ {
915
+ "internalType": "bytes",
916
+ "name": "config",
917
+ "type": "bytes"
918
+ }
919
+ ],
920
+ "internalType": "struct SetConfigParam[]",
921
+ "name": "receiveConfigParam",
922
+ "type": "tuple[]"
923
+ },
924
+ {
925
+ "internalType": "bool",
926
+ "name": "setSendLib",
927
+ "type": "bool"
928
+ },
929
+ {
930
+ "internalType": "bool",
931
+ "name": "setReceiveLib",
932
+ "type": "bool"
933
+ }
934
+ ],
935
+ "internalType": "struct IPBridgePTFactory.SelfWireParams",
936
+ "name": "params",
937
+ "type": "tuple"
938
+ }
939
+ ],
940
+ "name": "selfWire",
941
+ "outputs": [],
942
+ "stateMutability": "nonpayable",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "inputs": [
947
+ {
948
+ "internalType": "address",
949
+ "name": "_delegate",
950
+ "type": "address"
951
+ }
952
+ ],
953
+ "name": "setDelegate",
954
+ "outputs": [],
955
+ "stateMutability": "nonpayable",
956
+ "type": "function"
957
+ },
958
+ {
959
+ "inputs": [
960
+ {
961
+ "internalType": "uint32",
962
+ "name": "_eid",
963
+ "type": "uint32"
964
+ },
965
+ {
966
+ "internalType": "bytes32",
967
+ "name": "_peer",
968
+ "type": "bytes32"
969
+ }
970
+ ],
971
+ "name": "setPeer",
972
+ "outputs": [],
973
+ "stateMutability": "nonpayable",
974
+ "type": "function"
975
+ },
976
+ {
977
+ "inputs": [
978
+ {
979
+ "components": [
980
+ {
981
+ "internalType": "uint32",
982
+ "name": "hubLzEid",
983
+ "type": "uint32"
984
+ },
985
+ {
986
+ "internalType": "address",
987
+ "name": "hubPt",
988
+ "type": "address"
989
+ },
990
+ {
991
+ "internalType": "uint32[]",
992
+ "name": "toPeerEids",
993
+ "type": "uint32[]"
994
+ },
995
+ {
996
+ "internalType": "uint128[]",
997
+ "name": "enforcedReceiveGas",
998
+ "type": "uint128[]"
999
+ },
1000
+ {
1001
+ "internalType": "bool",
1002
+ "name": "setSendLib",
1003
+ "type": "bool"
1004
+ },
1005
+ {
1006
+ "internalType": "bool",
1007
+ "name": "setReceiveLib",
1008
+ "type": "bool"
1009
+ }
1010
+ ],
1011
+ "internalType": "struct IPBridgePTFactory.WirePtOftParams",
1012
+ "name": "params",
1013
+ "type": "tuple"
1014
+ }
1015
+ ],
1016
+ "name": "wirePtOft",
1017
+ "outputs": [],
1018
+ "stateMutability": "nonpayable",
1019
+ "type": "function"
1020
+ }
1021
+ ],
1022
+ "bytecode": "0x",
1023
+ "deployedBytecode": "0x",
1024
+ "linkReferences": {},
1025
+ "deployedLinkReferences": {}
1026
+ }