@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,1283 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ OFTCoreUpgradeable,
9
+ OFTCoreUpgradeableInterface,
10
+ } from "../OFTCoreUpgradeable";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "uint256",
17
+ name: "amountSD",
18
+ type: "uint256",
19
+ },
20
+ ],
21
+ name: "AmountSDOverflowed",
22
+ type: "error",
23
+ },
24
+ {
25
+ inputs: [],
26
+ name: "InvalidDelegate",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: "InvalidEndpointCall",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: "InvalidLocalDecimals",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [
41
+ {
42
+ internalType: "bytes",
43
+ name: "options",
44
+ type: "bytes",
45
+ },
46
+ ],
47
+ name: "InvalidOptions",
48
+ type: "error",
49
+ },
50
+ {
51
+ inputs: [],
52
+ name: "LzTokenUnavailable",
53
+ type: "error",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "uint32",
59
+ name: "eid",
60
+ type: "uint32",
61
+ },
62
+ ],
63
+ name: "NoPeer",
64
+ type: "error",
65
+ },
66
+ {
67
+ inputs: [
68
+ {
69
+ internalType: "uint256",
70
+ name: "msgValue",
71
+ type: "uint256",
72
+ },
73
+ ],
74
+ name: "NotEnoughNative",
75
+ type: "error",
76
+ },
77
+ {
78
+ inputs: [
79
+ {
80
+ internalType: "address",
81
+ name: "addr",
82
+ type: "address",
83
+ },
84
+ ],
85
+ name: "OnlyEndpoint",
86
+ type: "error",
87
+ },
88
+ {
89
+ inputs: [
90
+ {
91
+ internalType: "uint32",
92
+ name: "eid",
93
+ type: "uint32",
94
+ },
95
+ {
96
+ internalType: "bytes32",
97
+ name: "sender",
98
+ type: "bytes32",
99
+ },
100
+ ],
101
+ name: "OnlyPeer",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [],
106
+ name: "OnlySelf",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [
111
+ {
112
+ internalType: "bytes",
113
+ name: "result",
114
+ type: "bytes",
115
+ },
116
+ ],
117
+ name: "SimulationResult",
118
+ type: "error",
119
+ },
120
+ {
121
+ inputs: [
122
+ {
123
+ internalType: "uint256",
124
+ name: "amountLD",
125
+ type: "uint256",
126
+ },
127
+ {
128
+ internalType: "uint256",
129
+ name: "minAmountLD",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ name: "SlippageExceeded",
134
+ type: "error",
135
+ },
136
+ {
137
+ anonymous: false,
138
+ inputs: [
139
+ {
140
+ components: [
141
+ {
142
+ internalType: "uint32",
143
+ name: "eid",
144
+ type: "uint32",
145
+ },
146
+ {
147
+ internalType: "uint16",
148
+ name: "msgType",
149
+ type: "uint16",
150
+ },
151
+ {
152
+ internalType: "bytes",
153
+ name: "options",
154
+ type: "bytes",
155
+ },
156
+ ],
157
+ indexed: false,
158
+ internalType: "struct EnforcedOptionParam[]",
159
+ name: "_enforcedOptions",
160
+ type: "tuple[]",
161
+ },
162
+ ],
163
+ name: "EnforcedOptionSet",
164
+ type: "event",
165
+ },
166
+ {
167
+ anonymous: false,
168
+ inputs: [
169
+ {
170
+ indexed: false,
171
+ internalType: "uint8",
172
+ name: "version",
173
+ type: "uint8",
174
+ },
175
+ ],
176
+ name: "Initialized",
177
+ type: "event",
178
+ },
179
+ {
180
+ anonymous: false,
181
+ inputs: [
182
+ {
183
+ indexed: false,
184
+ internalType: "address",
185
+ name: "inspector",
186
+ type: "address",
187
+ },
188
+ ],
189
+ name: "MsgInspectorSet",
190
+ type: "event",
191
+ },
192
+ {
193
+ anonymous: false,
194
+ inputs: [
195
+ {
196
+ indexed: true,
197
+ internalType: "bytes32",
198
+ name: "guid",
199
+ type: "bytes32",
200
+ },
201
+ {
202
+ indexed: false,
203
+ internalType: "uint32",
204
+ name: "srcEid",
205
+ type: "uint32",
206
+ },
207
+ {
208
+ indexed: true,
209
+ internalType: "address",
210
+ name: "toAddress",
211
+ type: "address",
212
+ },
213
+ {
214
+ indexed: false,
215
+ internalType: "uint256",
216
+ name: "amountReceivedLD",
217
+ type: "uint256",
218
+ },
219
+ ],
220
+ name: "OFTReceived",
221
+ type: "event",
222
+ },
223
+ {
224
+ anonymous: false,
225
+ inputs: [
226
+ {
227
+ indexed: true,
228
+ internalType: "bytes32",
229
+ name: "guid",
230
+ type: "bytes32",
231
+ },
232
+ {
233
+ indexed: false,
234
+ internalType: "uint32",
235
+ name: "dstEid",
236
+ type: "uint32",
237
+ },
238
+ {
239
+ indexed: true,
240
+ internalType: "address",
241
+ name: "fromAddress",
242
+ type: "address",
243
+ },
244
+ {
245
+ indexed: false,
246
+ internalType: "uint256",
247
+ name: "amountSentLD",
248
+ type: "uint256",
249
+ },
250
+ {
251
+ indexed: false,
252
+ internalType: "uint256",
253
+ name: "amountReceivedLD",
254
+ type: "uint256",
255
+ },
256
+ ],
257
+ name: "OFTSent",
258
+ type: "event",
259
+ },
260
+ {
261
+ anonymous: false,
262
+ inputs: [
263
+ {
264
+ indexed: true,
265
+ internalType: "address",
266
+ name: "previousOwner",
267
+ type: "address",
268
+ },
269
+ {
270
+ indexed: true,
271
+ internalType: "address",
272
+ name: "newOwner",
273
+ type: "address",
274
+ },
275
+ ],
276
+ name: "OwnershipTransferred",
277
+ type: "event",
278
+ },
279
+ {
280
+ anonymous: false,
281
+ inputs: [
282
+ {
283
+ indexed: false,
284
+ internalType: "uint32",
285
+ name: "eid",
286
+ type: "uint32",
287
+ },
288
+ {
289
+ indexed: false,
290
+ internalType: "bytes32",
291
+ name: "peer",
292
+ type: "bytes32",
293
+ },
294
+ ],
295
+ name: "PeerSet",
296
+ type: "event",
297
+ },
298
+ {
299
+ anonymous: false,
300
+ inputs: [
301
+ {
302
+ indexed: false,
303
+ internalType: "address",
304
+ name: "preCrimeAddress",
305
+ type: "address",
306
+ },
307
+ ],
308
+ name: "PreCrimeSet",
309
+ type: "event",
310
+ },
311
+ {
312
+ inputs: [],
313
+ name: "SEND",
314
+ outputs: [
315
+ {
316
+ internalType: "uint16",
317
+ name: "",
318
+ type: "uint16",
319
+ },
320
+ ],
321
+ stateMutability: "view",
322
+ type: "function",
323
+ },
324
+ {
325
+ inputs: [],
326
+ name: "SEND_AND_CALL",
327
+ outputs: [
328
+ {
329
+ internalType: "uint16",
330
+ name: "",
331
+ type: "uint16",
332
+ },
333
+ ],
334
+ stateMutability: "view",
335
+ type: "function",
336
+ },
337
+ {
338
+ inputs: [
339
+ {
340
+ components: [
341
+ {
342
+ internalType: "uint32",
343
+ name: "srcEid",
344
+ type: "uint32",
345
+ },
346
+ {
347
+ internalType: "bytes32",
348
+ name: "sender",
349
+ type: "bytes32",
350
+ },
351
+ {
352
+ internalType: "uint64",
353
+ name: "nonce",
354
+ type: "uint64",
355
+ },
356
+ ],
357
+ internalType: "struct Origin",
358
+ name: "origin",
359
+ type: "tuple",
360
+ },
361
+ ],
362
+ name: "allowInitializePath",
363
+ outputs: [
364
+ {
365
+ internalType: "bool",
366
+ name: "",
367
+ type: "bool",
368
+ },
369
+ ],
370
+ stateMutability: "view",
371
+ type: "function",
372
+ },
373
+ {
374
+ inputs: [],
375
+ name: "approvalRequired",
376
+ outputs: [
377
+ {
378
+ internalType: "bool",
379
+ name: "",
380
+ type: "bool",
381
+ },
382
+ ],
383
+ stateMutability: "view",
384
+ type: "function",
385
+ },
386
+ {
387
+ inputs: [
388
+ {
389
+ internalType: "uint32",
390
+ name: "_eid",
391
+ type: "uint32",
392
+ },
393
+ {
394
+ internalType: "uint16",
395
+ name: "_msgType",
396
+ type: "uint16",
397
+ },
398
+ {
399
+ internalType: "bytes",
400
+ name: "_extraOptions",
401
+ type: "bytes",
402
+ },
403
+ ],
404
+ name: "combineOptions",
405
+ outputs: [
406
+ {
407
+ internalType: "bytes",
408
+ name: "",
409
+ type: "bytes",
410
+ },
411
+ ],
412
+ stateMutability: "view",
413
+ type: "function",
414
+ },
415
+ {
416
+ inputs: [],
417
+ name: "decimalConversionRate",
418
+ outputs: [
419
+ {
420
+ internalType: "uint256",
421
+ name: "",
422
+ type: "uint256",
423
+ },
424
+ ],
425
+ stateMutability: "view",
426
+ type: "function",
427
+ },
428
+ {
429
+ inputs: [],
430
+ name: "endpoint",
431
+ outputs: [
432
+ {
433
+ internalType: "contract ILayerZeroEndpointV2",
434
+ name: "",
435
+ type: "address",
436
+ },
437
+ ],
438
+ stateMutability: "view",
439
+ type: "function",
440
+ },
441
+ {
442
+ inputs: [
443
+ {
444
+ internalType: "uint32",
445
+ name: "_eid",
446
+ type: "uint32",
447
+ },
448
+ {
449
+ internalType: "uint16",
450
+ name: "_msgType",
451
+ type: "uint16",
452
+ },
453
+ ],
454
+ name: "enforcedOptions",
455
+ outputs: [
456
+ {
457
+ internalType: "bytes",
458
+ name: "",
459
+ type: "bytes",
460
+ },
461
+ ],
462
+ stateMutability: "view",
463
+ type: "function",
464
+ },
465
+ {
466
+ inputs: [
467
+ {
468
+ components: [
469
+ {
470
+ internalType: "uint32",
471
+ name: "srcEid",
472
+ type: "uint32",
473
+ },
474
+ {
475
+ internalType: "bytes32",
476
+ name: "sender",
477
+ type: "bytes32",
478
+ },
479
+ {
480
+ internalType: "uint64",
481
+ name: "nonce",
482
+ type: "uint64",
483
+ },
484
+ ],
485
+ internalType: "struct Origin",
486
+ name: "",
487
+ type: "tuple",
488
+ },
489
+ {
490
+ internalType: "bytes",
491
+ name: "",
492
+ type: "bytes",
493
+ },
494
+ {
495
+ internalType: "address",
496
+ name: "_sender",
497
+ type: "address",
498
+ },
499
+ ],
500
+ name: "isComposeMsgSender",
501
+ outputs: [
502
+ {
503
+ internalType: "bool",
504
+ name: "",
505
+ type: "bool",
506
+ },
507
+ ],
508
+ stateMutability: "view",
509
+ type: "function",
510
+ },
511
+ {
512
+ inputs: [
513
+ {
514
+ internalType: "uint32",
515
+ name: "_eid",
516
+ type: "uint32",
517
+ },
518
+ {
519
+ internalType: "bytes32",
520
+ name: "_peer",
521
+ type: "bytes32",
522
+ },
523
+ ],
524
+ name: "isPeer",
525
+ outputs: [
526
+ {
527
+ internalType: "bool",
528
+ name: "",
529
+ type: "bool",
530
+ },
531
+ ],
532
+ stateMutability: "view",
533
+ type: "function",
534
+ },
535
+ {
536
+ inputs: [
537
+ {
538
+ components: [
539
+ {
540
+ internalType: "uint32",
541
+ name: "srcEid",
542
+ type: "uint32",
543
+ },
544
+ {
545
+ internalType: "bytes32",
546
+ name: "sender",
547
+ type: "bytes32",
548
+ },
549
+ {
550
+ internalType: "uint64",
551
+ name: "nonce",
552
+ type: "uint64",
553
+ },
554
+ ],
555
+ internalType: "struct Origin",
556
+ name: "_origin",
557
+ type: "tuple",
558
+ },
559
+ {
560
+ internalType: "bytes32",
561
+ name: "_guid",
562
+ type: "bytes32",
563
+ },
564
+ {
565
+ internalType: "bytes",
566
+ name: "_message",
567
+ type: "bytes",
568
+ },
569
+ {
570
+ internalType: "address",
571
+ name: "_executor",
572
+ type: "address",
573
+ },
574
+ {
575
+ internalType: "bytes",
576
+ name: "_extraData",
577
+ type: "bytes",
578
+ },
579
+ ],
580
+ name: "lzReceive",
581
+ outputs: [],
582
+ stateMutability: "payable",
583
+ type: "function",
584
+ },
585
+ {
586
+ inputs: [
587
+ {
588
+ components: [
589
+ {
590
+ components: [
591
+ {
592
+ internalType: "uint32",
593
+ name: "srcEid",
594
+ type: "uint32",
595
+ },
596
+ {
597
+ internalType: "bytes32",
598
+ name: "sender",
599
+ type: "bytes32",
600
+ },
601
+ {
602
+ internalType: "uint64",
603
+ name: "nonce",
604
+ type: "uint64",
605
+ },
606
+ ],
607
+ internalType: "struct Origin",
608
+ name: "origin",
609
+ type: "tuple",
610
+ },
611
+ {
612
+ internalType: "uint32",
613
+ name: "dstEid",
614
+ type: "uint32",
615
+ },
616
+ {
617
+ internalType: "address",
618
+ name: "receiver",
619
+ type: "address",
620
+ },
621
+ {
622
+ internalType: "bytes32",
623
+ name: "guid",
624
+ type: "bytes32",
625
+ },
626
+ {
627
+ internalType: "uint256",
628
+ name: "value",
629
+ type: "uint256",
630
+ },
631
+ {
632
+ internalType: "address",
633
+ name: "executor",
634
+ type: "address",
635
+ },
636
+ {
637
+ internalType: "bytes",
638
+ name: "message",
639
+ type: "bytes",
640
+ },
641
+ {
642
+ internalType: "bytes",
643
+ name: "extraData",
644
+ type: "bytes",
645
+ },
646
+ ],
647
+ internalType: "struct InboundPacket[]",
648
+ name: "_packets",
649
+ type: "tuple[]",
650
+ },
651
+ ],
652
+ name: "lzReceiveAndRevert",
653
+ outputs: [],
654
+ stateMutability: "payable",
655
+ type: "function",
656
+ },
657
+ {
658
+ inputs: [
659
+ {
660
+ components: [
661
+ {
662
+ internalType: "uint32",
663
+ name: "srcEid",
664
+ type: "uint32",
665
+ },
666
+ {
667
+ internalType: "bytes32",
668
+ name: "sender",
669
+ type: "bytes32",
670
+ },
671
+ {
672
+ internalType: "uint64",
673
+ name: "nonce",
674
+ type: "uint64",
675
+ },
676
+ ],
677
+ internalType: "struct Origin",
678
+ name: "_origin",
679
+ type: "tuple",
680
+ },
681
+ {
682
+ internalType: "bytes32",
683
+ name: "_guid",
684
+ type: "bytes32",
685
+ },
686
+ {
687
+ internalType: "bytes",
688
+ name: "_message",
689
+ type: "bytes",
690
+ },
691
+ {
692
+ internalType: "address",
693
+ name: "_executor",
694
+ type: "address",
695
+ },
696
+ {
697
+ internalType: "bytes",
698
+ name: "_extraData",
699
+ type: "bytes",
700
+ },
701
+ ],
702
+ name: "lzReceiveSimulate",
703
+ outputs: [],
704
+ stateMutability: "payable",
705
+ type: "function",
706
+ },
707
+ {
708
+ inputs: [],
709
+ name: "msgInspector",
710
+ outputs: [
711
+ {
712
+ internalType: "address",
713
+ name: "",
714
+ type: "address",
715
+ },
716
+ ],
717
+ stateMutability: "view",
718
+ type: "function",
719
+ },
720
+ {
721
+ inputs: [
722
+ {
723
+ internalType: "uint32",
724
+ name: "",
725
+ type: "uint32",
726
+ },
727
+ {
728
+ internalType: "bytes32",
729
+ name: "",
730
+ type: "bytes32",
731
+ },
732
+ ],
733
+ name: "nextNonce",
734
+ outputs: [
735
+ {
736
+ internalType: "uint64",
737
+ name: "nonce",
738
+ type: "uint64",
739
+ },
740
+ ],
741
+ stateMutability: "view",
742
+ type: "function",
743
+ },
744
+ {
745
+ inputs: [],
746
+ name: "oApp",
747
+ outputs: [
748
+ {
749
+ internalType: "address",
750
+ name: "",
751
+ type: "address",
752
+ },
753
+ ],
754
+ stateMutability: "view",
755
+ type: "function",
756
+ },
757
+ {
758
+ inputs: [],
759
+ name: "oAppVersion",
760
+ outputs: [
761
+ {
762
+ internalType: "uint64",
763
+ name: "senderVersion",
764
+ type: "uint64",
765
+ },
766
+ {
767
+ internalType: "uint64",
768
+ name: "receiverVersion",
769
+ type: "uint64",
770
+ },
771
+ ],
772
+ stateMutability: "pure",
773
+ type: "function",
774
+ },
775
+ {
776
+ inputs: [],
777
+ name: "oftVersion",
778
+ outputs: [
779
+ {
780
+ internalType: "bytes4",
781
+ name: "interfaceId",
782
+ type: "bytes4",
783
+ },
784
+ {
785
+ internalType: "uint64",
786
+ name: "version",
787
+ type: "uint64",
788
+ },
789
+ ],
790
+ stateMutability: "pure",
791
+ type: "function",
792
+ },
793
+ {
794
+ inputs: [],
795
+ name: "owner",
796
+ outputs: [
797
+ {
798
+ internalType: "address",
799
+ name: "",
800
+ type: "address",
801
+ },
802
+ ],
803
+ stateMutability: "view",
804
+ type: "function",
805
+ },
806
+ {
807
+ inputs: [
808
+ {
809
+ internalType: "uint32",
810
+ name: "_eid",
811
+ type: "uint32",
812
+ },
813
+ ],
814
+ name: "peers",
815
+ outputs: [
816
+ {
817
+ internalType: "bytes32",
818
+ name: "",
819
+ type: "bytes32",
820
+ },
821
+ ],
822
+ stateMutability: "view",
823
+ type: "function",
824
+ },
825
+ {
826
+ inputs: [],
827
+ name: "preCrime",
828
+ outputs: [
829
+ {
830
+ internalType: "address",
831
+ name: "",
832
+ type: "address",
833
+ },
834
+ ],
835
+ stateMutability: "view",
836
+ type: "function",
837
+ },
838
+ {
839
+ inputs: [
840
+ {
841
+ components: [
842
+ {
843
+ internalType: "uint32",
844
+ name: "dstEid",
845
+ type: "uint32",
846
+ },
847
+ {
848
+ internalType: "bytes32",
849
+ name: "to",
850
+ type: "bytes32",
851
+ },
852
+ {
853
+ internalType: "uint256",
854
+ name: "amountLD",
855
+ type: "uint256",
856
+ },
857
+ {
858
+ internalType: "uint256",
859
+ name: "minAmountLD",
860
+ type: "uint256",
861
+ },
862
+ {
863
+ internalType: "bytes",
864
+ name: "extraOptions",
865
+ type: "bytes",
866
+ },
867
+ {
868
+ internalType: "bytes",
869
+ name: "composeMsg",
870
+ type: "bytes",
871
+ },
872
+ {
873
+ internalType: "bytes",
874
+ name: "oftCmd",
875
+ type: "bytes",
876
+ },
877
+ ],
878
+ internalType: "struct SendParam",
879
+ name: "_sendParam",
880
+ type: "tuple",
881
+ },
882
+ ],
883
+ name: "quoteOFT",
884
+ outputs: [
885
+ {
886
+ components: [
887
+ {
888
+ internalType: "uint256",
889
+ name: "minAmountLD",
890
+ type: "uint256",
891
+ },
892
+ {
893
+ internalType: "uint256",
894
+ name: "maxAmountLD",
895
+ type: "uint256",
896
+ },
897
+ ],
898
+ internalType: "struct OFTLimit",
899
+ name: "oftLimit",
900
+ type: "tuple",
901
+ },
902
+ {
903
+ components: [
904
+ {
905
+ internalType: "int256",
906
+ name: "feeAmountLD",
907
+ type: "int256",
908
+ },
909
+ {
910
+ internalType: "string",
911
+ name: "description",
912
+ type: "string",
913
+ },
914
+ ],
915
+ internalType: "struct OFTFeeDetail[]",
916
+ name: "oftFeeDetails",
917
+ type: "tuple[]",
918
+ },
919
+ {
920
+ components: [
921
+ {
922
+ internalType: "uint256",
923
+ name: "amountSentLD",
924
+ type: "uint256",
925
+ },
926
+ {
927
+ internalType: "uint256",
928
+ name: "amountReceivedLD",
929
+ type: "uint256",
930
+ },
931
+ ],
932
+ internalType: "struct OFTReceipt",
933
+ name: "oftReceipt",
934
+ type: "tuple",
935
+ },
936
+ ],
937
+ stateMutability: "view",
938
+ type: "function",
939
+ },
940
+ {
941
+ inputs: [
942
+ {
943
+ components: [
944
+ {
945
+ internalType: "uint32",
946
+ name: "dstEid",
947
+ type: "uint32",
948
+ },
949
+ {
950
+ internalType: "bytes32",
951
+ name: "to",
952
+ type: "bytes32",
953
+ },
954
+ {
955
+ internalType: "uint256",
956
+ name: "amountLD",
957
+ type: "uint256",
958
+ },
959
+ {
960
+ internalType: "uint256",
961
+ name: "minAmountLD",
962
+ type: "uint256",
963
+ },
964
+ {
965
+ internalType: "bytes",
966
+ name: "extraOptions",
967
+ type: "bytes",
968
+ },
969
+ {
970
+ internalType: "bytes",
971
+ name: "composeMsg",
972
+ type: "bytes",
973
+ },
974
+ {
975
+ internalType: "bytes",
976
+ name: "oftCmd",
977
+ type: "bytes",
978
+ },
979
+ ],
980
+ internalType: "struct SendParam",
981
+ name: "_sendParam",
982
+ type: "tuple",
983
+ },
984
+ {
985
+ internalType: "bool",
986
+ name: "_payInLzToken",
987
+ type: "bool",
988
+ },
989
+ ],
990
+ name: "quoteSend",
991
+ outputs: [
992
+ {
993
+ components: [
994
+ {
995
+ internalType: "uint256",
996
+ name: "nativeFee",
997
+ type: "uint256",
998
+ },
999
+ {
1000
+ internalType: "uint256",
1001
+ name: "lzTokenFee",
1002
+ type: "uint256",
1003
+ },
1004
+ ],
1005
+ internalType: "struct MessagingFee",
1006
+ name: "msgFee",
1007
+ type: "tuple",
1008
+ },
1009
+ ],
1010
+ stateMutability: "view",
1011
+ type: "function",
1012
+ },
1013
+ {
1014
+ inputs: [],
1015
+ name: "renounceOwnership",
1016
+ outputs: [],
1017
+ stateMutability: "nonpayable",
1018
+ type: "function",
1019
+ },
1020
+ {
1021
+ inputs: [
1022
+ {
1023
+ components: [
1024
+ {
1025
+ internalType: "uint32",
1026
+ name: "dstEid",
1027
+ type: "uint32",
1028
+ },
1029
+ {
1030
+ internalType: "bytes32",
1031
+ name: "to",
1032
+ type: "bytes32",
1033
+ },
1034
+ {
1035
+ internalType: "uint256",
1036
+ name: "amountLD",
1037
+ type: "uint256",
1038
+ },
1039
+ {
1040
+ internalType: "uint256",
1041
+ name: "minAmountLD",
1042
+ type: "uint256",
1043
+ },
1044
+ {
1045
+ internalType: "bytes",
1046
+ name: "extraOptions",
1047
+ type: "bytes",
1048
+ },
1049
+ {
1050
+ internalType: "bytes",
1051
+ name: "composeMsg",
1052
+ type: "bytes",
1053
+ },
1054
+ {
1055
+ internalType: "bytes",
1056
+ name: "oftCmd",
1057
+ type: "bytes",
1058
+ },
1059
+ ],
1060
+ internalType: "struct SendParam",
1061
+ name: "_sendParam",
1062
+ type: "tuple",
1063
+ },
1064
+ {
1065
+ components: [
1066
+ {
1067
+ internalType: "uint256",
1068
+ name: "nativeFee",
1069
+ type: "uint256",
1070
+ },
1071
+ {
1072
+ internalType: "uint256",
1073
+ name: "lzTokenFee",
1074
+ type: "uint256",
1075
+ },
1076
+ ],
1077
+ internalType: "struct MessagingFee",
1078
+ name: "_fee",
1079
+ type: "tuple",
1080
+ },
1081
+ {
1082
+ internalType: "address",
1083
+ name: "_refundAddress",
1084
+ type: "address",
1085
+ },
1086
+ ],
1087
+ name: "send",
1088
+ outputs: [
1089
+ {
1090
+ components: [
1091
+ {
1092
+ internalType: "bytes32",
1093
+ name: "guid",
1094
+ type: "bytes32",
1095
+ },
1096
+ {
1097
+ internalType: "uint64",
1098
+ name: "nonce",
1099
+ type: "uint64",
1100
+ },
1101
+ {
1102
+ components: [
1103
+ {
1104
+ internalType: "uint256",
1105
+ name: "nativeFee",
1106
+ type: "uint256",
1107
+ },
1108
+ {
1109
+ internalType: "uint256",
1110
+ name: "lzTokenFee",
1111
+ type: "uint256",
1112
+ },
1113
+ ],
1114
+ internalType: "struct MessagingFee",
1115
+ name: "fee",
1116
+ type: "tuple",
1117
+ },
1118
+ ],
1119
+ internalType: "struct MessagingReceipt",
1120
+ name: "msgReceipt",
1121
+ type: "tuple",
1122
+ },
1123
+ {
1124
+ components: [
1125
+ {
1126
+ internalType: "uint256",
1127
+ name: "amountSentLD",
1128
+ type: "uint256",
1129
+ },
1130
+ {
1131
+ internalType: "uint256",
1132
+ name: "amountReceivedLD",
1133
+ type: "uint256",
1134
+ },
1135
+ ],
1136
+ internalType: "struct OFTReceipt",
1137
+ name: "oftReceipt",
1138
+ type: "tuple",
1139
+ },
1140
+ ],
1141
+ stateMutability: "payable",
1142
+ type: "function",
1143
+ },
1144
+ {
1145
+ inputs: [
1146
+ {
1147
+ internalType: "address",
1148
+ name: "_delegate",
1149
+ type: "address",
1150
+ },
1151
+ ],
1152
+ name: "setDelegate",
1153
+ outputs: [],
1154
+ stateMutability: "nonpayable",
1155
+ type: "function",
1156
+ },
1157
+ {
1158
+ inputs: [
1159
+ {
1160
+ components: [
1161
+ {
1162
+ internalType: "uint32",
1163
+ name: "eid",
1164
+ type: "uint32",
1165
+ },
1166
+ {
1167
+ internalType: "uint16",
1168
+ name: "msgType",
1169
+ type: "uint16",
1170
+ },
1171
+ {
1172
+ internalType: "bytes",
1173
+ name: "options",
1174
+ type: "bytes",
1175
+ },
1176
+ ],
1177
+ internalType: "struct EnforcedOptionParam[]",
1178
+ name: "_enforcedOptions",
1179
+ type: "tuple[]",
1180
+ },
1181
+ ],
1182
+ name: "setEnforcedOptions",
1183
+ outputs: [],
1184
+ stateMutability: "nonpayable",
1185
+ type: "function",
1186
+ },
1187
+ {
1188
+ inputs: [
1189
+ {
1190
+ internalType: "address",
1191
+ name: "_msgInspector",
1192
+ type: "address",
1193
+ },
1194
+ ],
1195
+ name: "setMsgInspector",
1196
+ outputs: [],
1197
+ stateMutability: "nonpayable",
1198
+ type: "function",
1199
+ },
1200
+ {
1201
+ inputs: [
1202
+ {
1203
+ internalType: "uint32",
1204
+ name: "_eid",
1205
+ type: "uint32",
1206
+ },
1207
+ {
1208
+ internalType: "bytes32",
1209
+ name: "_peer",
1210
+ type: "bytes32",
1211
+ },
1212
+ ],
1213
+ name: "setPeer",
1214
+ outputs: [],
1215
+ stateMutability: "nonpayable",
1216
+ type: "function",
1217
+ },
1218
+ {
1219
+ inputs: [
1220
+ {
1221
+ internalType: "address",
1222
+ name: "_preCrime",
1223
+ type: "address",
1224
+ },
1225
+ ],
1226
+ name: "setPreCrime",
1227
+ outputs: [],
1228
+ stateMutability: "nonpayable",
1229
+ type: "function",
1230
+ },
1231
+ {
1232
+ inputs: [],
1233
+ name: "sharedDecimals",
1234
+ outputs: [
1235
+ {
1236
+ internalType: "uint8",
1237
+ name: "",
1238
+ type: "uint8",
1239
+ },
1240
+ ],
1241
+ stateMutability: "pure",
1242
+ type: "function",
1243
+ },
1244
+ {
1245
+ inputs: [],
1246
+ name: "token",
1247
+ outputs: [
1248
+ {
1249
+ internalType: "address",
1250
+ name: "",
1251
+ type: "address",
1252
+ },
1253
+ ],
1254
+ stateMutability: "view",
1255
+ type: "function",
1256
+ },
1257
+ {
1258
+ inputs: [
1259
+ {
1260
+ internalType: "address",
1261
+ name: "newOwner",
1262
+ type: "address",
1263
+ },
1264
+ ],
1265
+ name: "transferOwnership",
1266
+ outputs: [],
1267
+ stateMutability: "nonpayable",
1268
+ type: "function",
1269
+ },
1270
+ ];
1271
+
1272
+ export class OFTCoreUpgradeable__factory {
1273
+ static readonly abi = _abi;
1274
+ static createInterface(): OFTCoreUpgradeableInterface {
1275
+ return new utils.Interface(_abi) as OFTCoreUpgradeableInterface;
1276
+ }
1277
+ static connect(
1278
+ address: string,
1279
+ signerOrProvider: Signer | Provider
1280
+ ): OFTCoreUpgradeable {
1281
+ return new Contract(address, _abi, signerOrProvider) as OFTCoreUpgradeable;
1282
+ }
1283
+ }