@pendle/core-v2 5.7.0 → 5.7.2

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 (23) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  7. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +4 -0
  8. package/build/artifacts/contracts/interfaces/{IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.json → IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.json} +2 -2
  9. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +8 -0
  10. package/contracts/interfaces/{IPendleCommonPoolDeployHelperV2.sol → IPCommonPoolDeployHelperV2.sol} +1 -1
  11. package/deployments/1-core.json +11 -7
  12. package/deployments/146-core.json +1 -1
  13. package/deployments/56-core.json +8 -5
  14. package/package.json +1 -1
  15. package/typechain-types/IPCommonPoolDeployHelperV2.ts +390 -0
  16. package/typechain-types/PendleMsgReceiveEndpointUpg.ts +558 -0
  17. package/typechain-types/PendleMsgSendEndpointUpg.ts +650 -0
  18. package/typechain-types/factories/IPCommonPoolDeployHelperV2__factory.ts +445 -0
  19. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +452 -0
  20. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +459 -0
  21. package/typechain-types/hardhat.d.ts +9 -0
  22. package/typechain-types/index.ts +2 -0
  23. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.dbg.json +0 -4
@@ -0,0 +1,452 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ Signer,
6
+ utils,
7
+ Contract,
8
+ ContractFactory,
9
+ Overrides,
10
+ BigNumberish,
11
+ } from "ethers";
12
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
13
+ import type {
14
+ PendleMsgReceiveEndpointUpg,
15
+ PendleMsgReceiveEndpointUpgInterface,
16
+ } from "../PendleMsgReceiveEndpointUpg";
17
+
18
+ const _abi = [
19
+ {
20
+ inputs: [
21
+ {
22
+ internalType: "address",
23
+ name: "_lzEndpoint",
24
+ type: "address",
25
+ },
26
+ {
27
+ internalType: "address",
28
+ name: "_sendEndpointAddr",
29
+ type: "address",
30
+ },
31
+ {
32
+ internalType: "uint64",
33
+ name: "_sendEndpointChainId",
34
+ type: "uint64",
35
+ },
36
+ ],
37
+ stateMutability: "nonpayable",
38
+ type: "constructor",
39
+ },
40
+ {
41
+ inputs: [
42
+ {
43
+ internalType: "uint16",
44
+ name: "srcChainId",
45
+ type: "uint16",
46
+ },
47
+ {
48
+ internalType: "bytes",
49
+ name: "path",
50
+ type: "bytes",
51
+ },
52
+ ],
53
+ name: "MsgNotFromSendEndpoint",
54
+ type: "error",
55
+ },
56
+ {
57
+ inputs: [],
58
+ name: "OnlyLayerZeroEndpoint",
59
+ type: "error",
60
+ },
61
+ {
62
+ anonymous: false,
63
+ inputs: [
64
+ {
65
+ indexed: false,
66
+ internalType: "address",
67
+ name: "previousAdmin",
68
+ type: "address",
69
+ },
70
+ {
71
+ indexed: false,
72
+ internalType: "address",
73
+ name: "newAdmin",
74
+ type: "address",
75
+ },
76
+ ],
77
+ name: "AdminChanged",
78
+ type: "event",
79
+ },
80
+ {
81
+ anonymous: false,
82
+ inputs: [
83
+ {
84
+ indexed: true,
85
+ internalType: "address",
86
+ name: "beacon",
87
+ type: "address",
88
+ },
89
+ ],
90
+ name: "BeaconUpgraded",
91
+ type: "event",
92
+ },
93
+ {
94
+ anonymous: false,
95
+ inputs: [
96
+ {
97
+ indexed: false,
98
+ internalType: "uint8",
99
+ name: "version",
100
+ type: "uint8",
101
+ },
102
+ ],
103
+ name: "Initialized",
104
+ type: "event",
105
+ },
106
+ {
107
+ anonymous: false,
108
+ inputs: [
109
+ {
110
+ indexed: false,
111
+ internalType: "uint16",
112
+ name: "_srcChainId",
113
+ type: "uint16",
114
+ },
115
+ {
116
+ indexed: false,
117
+ internalType: "bytes",
118
+ name: "_path",
119
+ type: "bytes",
120
+ },
121
+ {
122
+ indexed: false,
123
+ internalType: "uint64",
124
+ name: "_nonce",
125
+ type: "uint64",
126
+ },
127
+ {
128
+ indexed: false,
129
+ internalType: "bytes",
130
+ name: "_payload",
131
+ type: "bytes",
132
+ },
133
+ {
134
+ indexed: false,
135
+ internalType: "bytes",
136
+ name: "_reason",
137
+ type: "bytes",
138
+ },
139
+ ],
140
+ name: "MessageFailed",
141
+ type: "event",
142
+ },
143
+ {
144
+ anonymous: false,
145
+ inputs: [
146
+ {
147
+ indexed: true,
148
+ internalType: "address",
149
+ name: "previousOwner",
150
+ type: "address",
151
+ },
152
+ {
153
+ indexed: true,
154
+ internalType: "address",
155
+ name: "newOwner",
156
+ type: "address",
157
+ },
158
+ ],
159
+ name: "OwnershipTransferred",
160
+ type: "event",
161
+ },
162
+ {
163
+ anonymous: false,
164
+ inputs: [
165
+ {
166
+ indexed: true,
167
+ internalType: "address",
168
+ name: "implementation",
169
+ type: "address",
170
+ },
171
+ ],
172
+ name: "Upgraded",
173
+ type: "event",
174
+ },
175
+ {
176
+ inputs: [],
177
+ name: "claimOwnership",
178
+ outputs: [],
179
+ stateMutability: "nonpayable",
180
+ type: "function",
181
+ },
182
+ {
183
+ inputs: [
184
+ {
185
+ internalType: "address",
186
+ name: "receiver",
187
+ type: "address",
188
+ },
189
+ {
190
+ internalType: "bytes",
191
+ name: "message",
192
+ type: "bytes",
193
+ },
194
+ ],
195
+ name: "govExecuteMessage",
196
+ outputs: [],
197
+ stateMutability: "payable",
198
+ type: "function",
199
+ },
200
+ {
201
+ inputs: [],
202
+ name: "initialize",
203
+ outputs: [],
204
+ stateMutability: "nonpayable",
205
+ type: "function",
206
+ },
207
+ {
208
+ inputs: [],
209
+ name: "lzEndpoint",
210
+ outputs: [
211
+ {
212
+ internalType: "address",
213
+ name: "",
214
+ type: "address",
215
+ },
216
+ ],
217
+ stateMutability: "view",
218
+ type: "function",
219
+ },
220
+ {
221
+ inputs: [
222
+ {
223
+ internalType: "uint16",
224
+ name: "_srcChainId",
225
+ type: "uint16",
226
+ },
227
+ {
228
+ internalType: "bytes",
229
+ name: "_path",
230
+ type: "bytes",
231
+ },
232
+ {
233
+ internalType: "uint64",
234
+ name: "_nonce",
235
+ type: "uint64",
236
+ },
237
+ {
238
+ internalType: "bytes",
239
+ name: "_payload",
240
+ type: "bytes",
241
+ },
242
+ ],
243
+ name: "lzReceive",
244
+ outputs: [],
245
+ stateMutability: "nonpayable",
246
+ type: "function",
247
+ },
248
+ {
249
+ inputs: [],
250
+ name: "owner",
251
+ outputs: [
252
+ {
253
+ internalType: "address",
254
+ name: "",
255
+ type: "address",
256
+ },
257
+ ],
258
+ stateMutability: "view",
259
+ type: "function",
260
+ },
261
+ {
262
+ inputs: [],
263
+ name: "pendingOwner",
264
+ outputs: [
265
+ {
266
+ internalType: "address",
267
+ name: "",
268
+ type: "address",
269
+ },
270
+ ],
271
+ stateMutability: "view",
272
+ type: "function",
273
+ },
274
+ {
275
+ inputs: [],
276
+ name: "proxiableUUID",
277
+ outputs: [
278
+ {
279
+ internalType: "bytes32",
280
+ name: "",
281
+ type: "bytes32",
282
+ },
283
+ ],
284
+ stateMutability: "view",
285
+ type: "function",
286
+ },
287
+ {
288
+ inputs: [],
289
+ name: "sendEndpointAddr",
290
+ outputs: [
291
+ {
292
+ internalType: "address",
293
+ name: "",
294
+ type: "address",
295
+ },
296
+ ],
297
+ stateMutability: "view",
298
+ type: "function",
299
+ },
300
+ {
301
+ inputs: [],
302
+ name: "sendEndpointChainId",
303
+ outputs: [
304
+ {
305
+ internalType: "uint64",
306
+ name: "",
307
+ type: "uint64",
308
+ },
309
+ ],
310
+ stateMutability: "view",
311
+ type: "function",
312
+ },
313
+ {
314
+ inputs: [
315
+ {
316
+ internalType: "uint16",
317
+ name: "_newVersion",
318
+ type: "uint16",
319
+ },
320
+ ],
321
+ name: "setLzReceiveVersion",
322
+ outputs: [],
323
+ stateMutability: "nonpayable",
324
+ type: "function",
325
+ },
326
+ {
327
+ inputs: [
328
+ {
329
+ internalType: "address",
330
+ name: "newOwner",
331
+ type: "address",
332
+ },
333
+ {
334
+ internalType: "bool",
335
+ name: "direct",
336
+ type: "bool",
337
+ },
338
+ {
339
+ internalType: "bool",
340
+ name: "renounce",
341
+ type: "bool",
342
+ },
343
+ ],
344
+ name: "transferOwnership",
345
+ outputs: [],
346
+ stateMutability: "nonpayable",
347
+ type: "function",
348
+ },
349
+ {
350
+ inputs: [
351
+ {
352
+ internalType: "address",
353
+ name: "newImplementation",
354
+ type: "address",
355
+ },
356
+ ],
357
+ name: "upgradeTo",
358
+ outputs: [],
359
+ stateMutability: "nonpayable",
360
+ type: "function",
361
+ },
362
+ {
363
+ inputs: [
364
+ {
365
+ internalType: "address",
366
+ name: "newImplementation",
367
+ type: "address",
368
+ },
369
+ {
370
+ internalType: "bytes",
371
+ name: "data",
372
+ type: "bytes",
373
+ },
374
+ ],
375
+ name: "upgradeToAndCall",
376
+ outputs: [],
377
+ stateMutability: "payable",
378
+ type: "function",
379
+ },
380
+ ];
381
+
382
+ const _bytecode =
383
+ "0x610100604052306080523480156200001657600080fd5b5060405162001929380380620019298339810160408190526200003991620001a7565b600154600160a81b900460ff161580801562000060575060018054600160a01b900460ff16105b80620000825750303b15801562000082575060018054600160a01b900460ff16145b620000ea5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b179055801562000118576001805460ff60a81b1916600160a81b1790555b6001600160a01b0380851660a052831660c0526001600160401b03821660e052801562000180576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505062000201565b80516001600160a01b0381168114620001a257600080fd5b919050565b600080600060608486031215620001bd57600080fd5b620001c8846200018a565b9250620001d8602085016200018a565b60408501519092506001600160401b0381168114620001f657600080fd5b809150509250925092565b60805160a05160c05160e0516116b6620002736000396000818161022901526103890152600081816101f5015261034e015260008181610275015281816102c2015261081e0152600081816105b9015281816105f90152818161072c0152818161076c015261089201526116b66000f3fe6080604052600436106100ac5760003560e01c80621d3567146100b1578063078dfbe7146100d35780633659cfe6146100f35780634e71e0c8146101135780634f1ef28614610128578063510653ea1461013b57806352d1902d1461015b5780637efec77a146101835780638129fc1c146101965780638da5cb5b146101ab5780638e0dec4d146101e3578063931a11d914610217578063b353aaa714610263578063e30c397814610297575b600080fd5b3480156100bd57600080fd5b506100d16100cc366004611166565b6102b7565b005b3480156100df57600080fd5b506100d16100ee366004611224565b6104b3565b3480156100ff57600080fd5b506100d161010e366004611269565b6105af565b34801561011f57600080fd5b506100d1610677565b6100d1610136366004611328565b610722565b34801561014757600080fd5b506100d1610156366004611377565b6107db565b34801561016757600080fd5b50610170610885565b6040519081526020015b60405180910390f35b6100d1610191366004611392565b610933565b3480156101a257600080fd5b506100d16109c2565b3480156101b757600080fd5b506000546101cb906001600160a01b031681565b6040516001600160a01b03909116815260200161017a565b3480156101ef57600080fd5b506101cb7f000000000000000000000000000000000000000000000000000000000000000081565b34801561022357600080fd5b5061024b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160401b03909116815260200161017a565b34801561026f57600080fd5b506101cb7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102a357600080fd5b506001546101cb906001600160a01b031681565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461030057604051632ec667eb60e01b815260040160405180910390fd5b8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506103439250839150610af09050565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161415806103b4575061038782610af7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160401b031614155b156103df578181604051634b5e187360e11b81526004016103d6929190611436565b60405180910390fd5b6000806103ee85870187611328565b915091506000806104585a609663e0299bf560e01b866040516024016104149190611453565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526001600160a01b038816929190610bef565b91509150816104a5577fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c8c8c8c8c8c8c8760405161049c979695949392919061148f565b60405180910390a15b505050505050505050505050565b6000546001600160a01b031633146104dd5760405162461bcd60e51b81526004016103d6906114f1565b811561058e576001600160a01b0383161515806104f75750805b61053b5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016103d6565b600080546040516001600160a01b038087169392169160008051602061163a83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036105f75760405162461bcd60e51b81526004016103d690611526565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610629610c79565b6001600160a01b03161461064f5760405162461bcd60e51b81526004016103d690611560565b61065881610c95565b6040805160008082526020820190925261067491839190610cbf565b50565b6001546001600160a01b03163381146106d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016103d6565b600080546040516001600160a01b038085169392169160008051602061163a83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361076a5760405162461bcd60e51b81526004016103d690611526565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661079c610c79565b6001600160a01b0316146107c25760405162461bcd60e51b81526004016103d690611560565b6107cb82610c95565b6107d782826001610cbf565b5050565b6000546001600160a01b031633146108055760405162461bcd60e51b81526004016103d6906114f1565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401600060405180830381600087803b15801561086a57600080fd5b505af115801561087e573d6000803e3d6000fd5b5050505050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109205760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016103d6565b5060008051602061161a83398151915290565b6000546001600160a01b0316331461095d5760405162461bcd60e51b81526004016103d6906114f1565b60405163e0299bf560e01b81526001600160a01b0384169063e0299bf59061098b908590859060040161159a565b600060405180830381600087803b1580156109a557600080fd5b505af11580156109b9573d6000803e3d6000fd5b50505050505050565b600154600160a81b900460ff16158080156109e8575060018054600160a01b900460ff16105b80610a0f57506109f730610e2a565b158015610a0f575060018054600160a01b900460ff16145b610a725760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103d6565b6001805460ff60a01b1916600160a01b1790558015610a9f576001805460ff60a81b1916600160a81b1790555b610aa7610e39565b8015610674576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b6014015190565b60008161ffff1661277a03610b0f575061a869919050565b8161ffff1661277d03610b26575062013881919050565b8161ffff16606a03610b3b575061a86a919050565b8161ffff16606e03610b50575061a4b1919050565b8161ffff16606603610b6457506038919050565b8161ffff16606503610b7857506001919050565b8161ffff1660b503610b8d5750611388919050565b8161ffff16606f03610ba15750600a919050565b8161ffff1660b803610bb65750612105919050565b8161ffff1661014c03610bcb57506092919050565b8161ffff1661016a03610be25750620138de919050565b610bea6115ae565b919050565b6000606060008060008661ffff166001600160401b03811115610c1457610c14611286565b6040519080825280601f01601f191660200182016040528015610c3e576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115610c60578692505b828152826000602083013e909890975095505050505050565b60008051602061161a833981519152546001600160a01b031690565b6000546001600160a01b031633146106745760405162461bcd60e51b81526004016103d6906114f1565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610cf2576105aa83610eba565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d4c575060408051601f3d908101601f19168201909252610d49918101906115c4565b60015b610daf5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016103d6565b60008051602061161a8339815191528114610e1e5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016103d6565b506105aa838383610f54565b6001600160a01b03163b151590565b600154600160a81b900460ff16610ea65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016103d6565b600080546001600160a01b03191633179055565b610ec381610e2a565b610f255760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016103d6565b60008051602061161a83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b610f5d83610f7f565b600082511180610f6a5750805b156105aa57610f798383610fbf565b50505050565b610f8881610eba565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060610fe4838360405180606001604052806027815260200161165a60279139610feb565b9392505050565b6060600080856001600160a01b03168560405161100891906115dd565b600060405180830381855af49150503d8060008114611043576040519150601f19603f3d011682016040523d82523d6000602084013e611048565b606091505b509150915061105986838387611063565b9695505050505050565b606083156110d05782516000036110c95761107d85610e2a565b6110c95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103d6565b50816110da565b6110da83836110e2565b949350505050565b8151156110f25781518083602001fd5b8060405162461bcd60e51b81526004016103d69190611453565b803561ffff81168114610bea57600080fd5b60008083601f84011261113057600080fd5b5081356001600160401b0381111561114757600080fd5b60208301915083602082850101111561115f57600080fd5b9250929050565b6000806000806000806080878903121561117f57600080fd5b6111888761110c565b955060208701356001600160401b03808211156111a457600080fd5b6111b08a838b0161111e565b90975095506040890135915080821682146111ca57600080fd5b909350606088013590808211156111e057600080fd5b506111ed89828a0161111e565b979a9699509497509295939492505050565b6001600160a01b038116811461067457600080fd5b80358015158114610bea57600080fd5b60008060006060848603121561123957600080fd5b8335611244816111ff565b925061125260208501611214565b915061126060408501611214565b90509250925092565b60006020828403121561127b57600080fd5b8135610fe4816111ff565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126112ad57600080fd5b81356001600160401b03808211156112c7576112c7611286565b604051601f8301601f19908116603f011681019082821181831017156112ef576112ef611286565b8160405283815286602085880101111561130857600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561133b57600080fd5b8235611346816111ff565b915060208301356001600160401b0381111561136157600080fd5b61136d8582860161129c565b9150509250929050565b60006020828403121561138957600080fd5b610fe48261110c565b6000806000604084860312156113a757600080fd5b83356113b2816111ff565b925060208401356001600160401b038111156113cd57600080fd5b6113d98682870161111e565b9497909650939450505050565b60005b838110156114015781810151838201526020016113e9565b50506000910152565b600081518084526114228160208601602086016113e6565b601f01601f19169290920160200192915050565b61ffff831681526040602082015260006110da604083018461140a565b602081526000610fe4602083018461140a565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff8816815260a0602082015260006114ad60a08301888a611466565b6001600160401b038716604084015282810360608401526114cf818688611466565b905082810360808401526114e3818561140a565b9a9950505050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201526000805160206115fa83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206115fa83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b6020815260006110da602083018486611466565b634e487b7160e01b600052600160045260246000fd5b6000602082840312156115d657600080fd5b5051919050565b600082516115ef8184602087016113e6565b919091019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212202d5103e7ff0880cac1074127edd9c7a9d826f8c2778e6e39db3191bf399a3cfc64736f6c63430008170033";
384
+
385
+ type PendleMsgReceiveEndpointUpgConstructorParams =
386
+ | [signer?: Signer]
387
+ | ConstructorParameters<typeof ContractFactory>;
388
+
389
+ const isSuperArgs = (
390
+ xs: PendleMsgReceiveEndpointUpgConstructorParams
391
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
392
+
393
+ export class PendleMsgReceiveEndpointUpg__factory extends ContractFactory {
394
+ constructor(...args: PendleMsgReceiveEndpointUpgConstructorParams) {
395
+ if (isSuperArgs(args)) {
396
+ super(...args);
397
+ } else {
398
+ super(_abi, _bytecode, args[0]);
399
+ }
400
+ this.contractName = "PendleMsgReceiveEndpointUpg";
401
+ }
402
+
403
+ deploy(
404
+ _lzEndpoint: string,
405
+ _sendEndpointAddr: string,
406
+ _sendEndpointChainId: BigNumberish,
407
+ overrides?: Overrides & { from?: string | Promise<string> }
408
+ ): Promise<PendleMsgReceiveEndpointUpg> {
409
+ return super.deploy(
410
+ _lzEndpoint,
411
+ _sendEndpointAddr,
412
+ _sendEndpointChainId,
413
+ overrides || {}
414
+ ) as Promise<PendleMsgReceiveEndpointUpg>;
415
+ }
416
+ getDeployTransaction(
417
+ _lzEndpoint: string,
418
+ _sendEndpointAddr: string,
419
+ _sendEndpointChainId: BigNumberish,
420
+ overrides?: Overrides & { from?: string | Promise<string> }
421
+ ): TransactionRequest {
422
+ return super.getDeployTransaction(
423
+ _lzEndpoint,
424
+ _sendEndpointAddr,
425
+ _sendEndpointChainId,
426
+ overrides || {}
427
+ );
428
+ }
429
+ attach(address: string): PendleMsgReceiveEndpointUpg {
430
+ return super.attach(address) as PendleMsgReceiveEndpointUpg;
431
+ }
432
+ connect(signer: Signer): PendleMsgReceiveEndpointUpg__factory {
433
+ return super.connect(signer) as PendleMsgReceiveEndpointUpg__factory;
434
+ }
435
+ static readonly contractName: "PendleMsgReceiveEndpointUpg";
436
+ public readonly contractName: "PendleMsgReceiveEndpointUpg";
437
+ static readonly bytecode = _bytecode;
438
+ static readonly abi = _abi;
439
+ static createInterface(): PendleMsgReceiveEndpointUpgInterface {
440
+ return new utils.Interface(_abi) as PendleMsgReceiveEndpointUpgInterface;
441
+ }
442
+ static connect(
443
+ address: string,
444
+ signerOrProvider: Signer | Provider
445
+ ): PendleMsgReceiveEndpointUpg {
446
+ return new Contract(
447
+ address,
448
+ _abi,
449
+ signerOrProvider
450
+ ) as PendleMsgReceiveEndpointUpg;
451
+ }
452
+ }