@stargatefinance/stg-evm-sdk-v2 0.0.11

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 (150) hide show
  1. package/artifacts/src/StargateBase.sol/StargateBase.json +1348 -0
  2. package/artifacts/src/StargateOFT.sol/StargateOFT.json +1374 -0
  3. package/artifacts/src/StargatePool.sol/StargatePool.json +1722 -0
  4. package/artifacts/src/StargatePoolNative.sol/StargatePoolNative.json +1717 -0
  5. package/artifacts/src/feelibs/FeeLibBase.sol/FeeLibBase.json +313 -0
  6. package/artifacts/src/feelibs/FeeLibV1.sol/FeeConfigLib.json +10 -0
  7. package/artifacts/src/feelibs/FeeLibV1.sol/FeeLibV1.json +561 -0
  8. package/artifacts/src/intent/IntentBase.sol/IntentBase.json +231 -0
  9. package/artifacts/src/intent/IntentOFT.sol/IntentOFT.json +247 -0
  10. package/artifacts/src/intent/IntentPool.sol/IntentPool.json +350 -0
  11. package/artifacts/src/intent/IntentPoolNative.sol/IWETH.json +24 -0
  12. package/artifacts/src/intent/IntentPoolNative.sol/IntentPoolNative.json +367 -0
  13. package/artifacts/src/interfaces/IBridgedUSDCMinter.sol/IBridgedUSDCMinter.json +48 -0
  14. package/artifacts/src/interfaces/ICreditMessaging.sol/ICreditMessaging.json +113 -0
  15. package/artifacts/src/interfaces/ICreditMessagingHandler.sol/ICreditMessagingHandler.json +71 -0
  16. package/artifacts/src/interfaces/IERC20Minter.sol/IERC20Minter.json +47 -0
  17. package/artifacts/src/interfaces/IStargate.sol/IStargate.json +661 -0
  18. package/artifacts/src/interfaces/IStargateFeeLib.sol/IStargateFeeLib.json +230 -0
  19. package/artifacts/src/interfaces/IStargatePool.sol/IStargatePool.json +939 -0
  20. package/artifacts/src/interfaces/ITokenMessaging.sol/ITokenMessaging.json +494 -0
  21. package/artifacts/src/interfaces/ITokenMessagingHandler.sol/ITokenMessagingHandler.json +78 -0
  22. package/artifacts/src/interfaces/permit2/IAllowanceTransfer.sol/IAllowanceTransfer.json +495 -0
  23. package/artifacts/src/interfaces/permit2/IEIP712.sol/IEIP712.json +24 -0
  24. package/artifacts/src/interfaces/permit2/IPermit2.sol/IPermit2.json +874 -0
  25. package/artifacts/src/interfaces/permit2/ISignatureTransfer.sol/ISignatureTransfer.json +403 -0
  26. package/artifacts/src/libs/AddressCast.sol/AddressCast.json +10 -0
  27. package/artifacts/src/libs/Bus.sol/BusLib.json +92 -0
  28. package/artifacts/src/libs/CreditMsgCodec.sol/CreditMsgCodec.json +16 -0
  29. package/artifacts/src/libs/MessagingHelper.sol/MessagingHelper.json +10 -0
  30. package/artifacts/src/libs/PassengerCodec.sol/PassengerCodec.json +16 -0
  31. package/artifacts/src/libs/Path.sol/PathLib.json +26 -0
  32. package/artifacts/src/libs/RideBusOptionsLibV1.sol/RideBusOptionsLibV1.json +16 -0
  33. package/artifacts/src/libs/TokenMsgCodec.sol/TokenMsgCodec.json +16 -0
  34. package/artifacts/src/libs/Transfer.sol/Transfer.json +21 -0
  35. package/artifacts/src/libs/Transfer.sol/TransferLib.json +21 -0
  36. package/artifacts/src/messaging/CreditMessaging.sol/CreditMessaging.json +1033 -0
  37. package/artifacts/src/messaging/CreditMessagingOptions.sol/CreditMessagingOptions.json +229 -0
  38. package/artifacts/src/messaging/MessagingBase.sol/MessagingBase.json +701 -0
  39. package/artifacts/src/messaging/TokenMessaging.sol/TokenMessaging.json +1692 -0
  40. package/artifacts/src/messaging/TokenMessagingOptions.sol/TokenMessagingOptions.json +239 -0
  41. package/artifacts/src/mocks/ERC20Token.sol/ERC20Token.json +335 -0
  42. package/artifacts/src/mocks/FeeLibMock.sol/FeeLibMock.json +230 -0
  43. package/artifacts/src/mocks/OFTToken.sol/OFTToken.json +380 -0
  44. package/artifacts/src/mocks/PoolToken.sol/PoolToken.json +406 -0
  45. package/artifacts/src/mocks/USDC.sol/USDC.json +381 -0
  46. package/artifacts/src/mocks/WETH.sol/WETH.json +310 -0
  47. package/artifacts/src/peripheral/Planner.sol/Planner.json +212 -0
  48. package/artifacts/src/peripheral/RebateCampaign.sol/RebateCampaign.json +237 -0
  49. package/artifacts/src/peripheral/Treasurer.sol/Treasurer.json +194 -0
  50. package/artifacts/src/usdc/StargateOFTUSDC.sol/StargateOFTUSDC.json +1374 -0
  51. package/artifacts/src/usdc/StargatePoolUSDC.sol/StargatePoolUSDC.json +1748 -0
  52. package/artifacts/src/utils/LPToken.sol/LPToken.json +496 -0
  53. package/deployments/arbsep-testnet/FeeLibV1ETH.json +466 -0
  54. package/deployments/arbsep-testnet/MessagingETH.json +1356 -0
  55. package/deployments/arbsep-testnet/StargatePoolNative.json +1933 -0
  56. package/deployments/avalanche-testnet/FeeLibV1USDT.json +466 -0
  57. package/deployments/avalanche-testnet/MessagingUSDT.json +1356 -0
  58. package/deployments/avalanche-testnet/StargatePoolUSDT.json +1939 -0
  59. package/deployments/bsc-sandbox-local/CreditMessaging.json +1393 -0
  60. package/deployments/bsc-sandbox-local/FeeLibV1BUSD.json +828 -0
  61. package/deployments/bsc-sandbox-local/FeeLibV1ETH.json +828 -0
  62. package/deployments/bsc-sandbox-local/FeeLibV1LUSD.json +828 -0
  63. package/deployments/bsc-sandbox-local/FeeLibV1USDC.json +828 -0
  64. package/deployments/bsc-sandbox-local/FeeLibV1USDT.json +828 -0
  65. package/deployments/bsc-sandbox-local/IntentOFTBUSD.json +337 -0
  66. package/deployments/bsc-sandbox-local/IntentOFTETH.json +337 -0
  67. package/deployments/bsc-sandbox-local/IntentOFTLUSD.json +337 -0
  68. package/deployments/bsc-sandbox-local/IntentOFTUSDC.json +337 -0
  69. package/deployments/bsc-sandbox-local/IntentOFTUSDT.json +337 -0
  70. package/deployments/bsc-sandbox-local/OFTTokenBUSD.json +571 -0
  71. package/deployments/bsc-sandbox-local/OFTTokenETH.json +571 -0
  72. package/deployments/bsc-sandbox-local/OFTTokenLUSD.json +571 -0
  73. package/deployments/bsc-sandbox-local/OFTTokenUSDC.json +558 -0
  74. package/deployments/bsc-sandbox-local/OFTTokenUSDT.json +571 -0
  75. package/deployments/bsc-sandbox-local/Permit2Mock.json +923 -0
  76. package/deployments/bsc-sandbox-local/StargateOFTBUSD.json +1803 -0
  77. package/deployments/bsc-sandbox-local/StargateOFTETH.json +1803 -0
  78. package/deployments/bsc-sandbox-local/StargateOFTLUSD.json +1803 -0
  79. package/deployments/bsc-sandbox-local/StargateOFTUSDC.json +1792 -0
  80. package/deployments/bsc-sandbox-local/StargateOFTUSDT.json +1803 -0
  81. package/deployments/bsc-sandbox-local/TokenMessaging.json +2166 -0
  82. package/deployments/bsc-sandbox-local/WETH.json +453 -0
  83. package/deployments/bsc-testnet/FeeLibV1ETH.json +466 -0
  84. package/deployments/bsc-testnet/FeeLibV1USDT.json +466 -0
  85. package/deployments/bsc-testnet/MessagingETH.json +1356 -0
  86. package/deployments/bsc-testnet/MessagingUSDT.json +1356 -0
  87. package/deployments/bsc-testnet/OFTTokenETH.json +557 -0
  88. package/deployments/bsc-testnet/StargateOFTETH.json +1601 -0
  89. package/deployments/bsc-testnet/StargatePoolUSDT.json +1939 -0
  90. package/deployments/ethereum-sandbox-local/CreditMessaging.json +1393 -0
  91. package/deployments/ethereum-sandbox-local/FeeLibV1BUSD.json +828 -0
  92. package/deployments/ethereum-sandbox-local/FeeLibV1ETH.json +828 -0
  93. package/deployments/ethereum-sandbox-local/FeeLibV1LUSD.json +828 -0
  94. package/deployments/ethereum-sandbox-local/FeeLibV1USDC.json +828 -0
  95. package/deployments/ethereum-sandbox-local/FeeLibV1USDT.json +828 -0
  96. package/deployments/ethereum-sandbox-local/IntentOFTBUSD.json +337 -0
  97. package/deployments/ethereum-sandbox-local/IntentPoolLUSD.json +440 -0
  98. package/deployments/ethereum-sandbox-local/IntentPoolNative.json +444 -0
  99. package/deployments/ethereum-sandbox-local/IntentPoolUSDC.json +440 -0
  100. package/deployments/ethereum-sandbox-local/IntentPoolUSDT.json +440 -0
  101. package/deployments/ethereum-sandbox-local/OFTTokenBUSD.json +571 -0
  102. package/deployments/ethereum-sandbox-local/Permit2Mock.json +923 -0
  103. package/deployments/ethereum-sandbox-local/PoolTokenLUSD.json +597 -0
  104. package/deployments/ethereum-sandbox-local/PoolTokenUSDC.json +597 -0
  105. package/deployments/ethereum-sandbox-local/PoolTokenUSDT.json +597 -0
  106. package/deployments/ethereum-sandbox-local/StargateOFTBUSD.json +1803 -0
  107. package/deployments/ethereum-sandbox-local/StargatePoolLUSD.json +2239 -0
  108. package/deployments/ethereum-sandbox-local/StargatePoolNative.json +2233 -0
  109. package/deployments/ethereum-sandbox-local/StargatePoolUSDC.json +2257 -0
  110. package/deployments/ethereum-sandbox-local/StargatePoolUSDT.json +2239 -0
  111. package/deployments/ethereum-sandbox-local/TokenMessaging.json +2166 -0
  112. package/deployments/ethereum-sandbox-local/WETH.json +453 -0
  113. package/deployments/polygon-sandbox-local/CreditMessaging.json +1393 -0
  114. package/deployments/polygon-sandbox-local/FeeLibV1BUSD.json +828 -0
  115. package/deployments/polygon-sandbox-local/FeeLibV1ETH.json +828 -0
  116. package/deployments/polygon-sandbox-local/FeeLibV1LUSD.json +828 -0
  117. package/deployments/polygon-sandbox-local/FeeLibV1USDC.json +828 -0
  118. package/deployments/polygon-sandbox-local/FeeLibV1USDT.json +828 -0
  119. package/deployments/polygon-sandbox-local/IntentOFTBUSD.json +337 -0
  120. package/deployments/polygon-sandbox-local/IntentOFTETH.json +337 -0
  121. package/deployments/polygon-sandbox-local/IntentOFTLUSD.json +337 -0
  122. package/deployments/polygon-sandbox-local/IntentOFTUSDC.json +337 -0
  123. package/deployments/polygon-sandbox-local/IntentPoolUSDT.json +440 -0
  124. package/deployments/polygon-sandbox-local/OFTTokenBUSD.json +571 -0
  125. package/deployments/polygon-sandbox-local/OFTTokenETH.json +571 -0
  126. package/deployments/polygon-sandbox-local/OFTTokenLUSD.json +571 -0
  127. package/deployments/polygon-sandbox-local/OFTTokenUSDC.json +558 -0
  128. package/deployments/polygon-sandbox-local/Permit2Mock.json +923 -0
  129. package/deployments/polygon-sandbox-local/PoolTokenUSDT.json +597 -0
  130. package/deployments/polygon-sandbox-local/StargateOFTBUSD.json +1803 -0
  131. package/deployments/polygon-sandbox-local/StargateOFTETH.json +1803 -0
  132. package/deployments/polygon-sandbox-local/StargateOFTLUSD.json +1803 -0
  133. package/deployments/polygon-sandbox-local/StargateOFTUSDC.json +1792 -0
  134. package/deployments/polygon-sandbox-local/StargatePoolUSDT.json +2239 -0
  135. package/deployments/polygon-sandbox-local/TokenMessaging.json +2166 -0
  136. package/deployments/polygon-sandbox-local/WETH.json +453 -0
  137. package/deployments/polygon-testnet/FeeLibV1USDT.json +481 -0
  138. package/deployments/polygon-testnet/MessagingUSDT.json +1371 -0
  139. package/deployments/polygon-testnet/OFTTokenUSDT.json +572 -0
  140. package/deployments/polygon-testnet/StargateOFTUSDT.json +1616 -0
  141. package/deployments/sepolia-testnet/FeeLibV1ETH.json +466 -0
  142. package/deployments/sepolia-testnet/MessagingETH.json +1356 -0
  143. package/deployments/sepolia-testnet/StargatePoolNative.json +1933 -0
  144. package/dist/index.cjs +24634 -0
  145. package/dist/index.cjs.map +1 -0
  146. package/dist/index.d.mts +31486 -0
  147. package/dist/index.d.ts +31486 -0
  148. package/dist/index.mjs +24558 -0
  149. package/dist/index.mjs.map +1 -0
  150. package/package.json +42 -0
@@ -0,0 +1,701 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "MessagingBase",
4
+ "sourceName": "src/messaging/MessagingBase.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
+ "name": "LzTokenUnavailable",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "Messaging_Unauthorized",
24
+ "type": "error"
25
+ },
26
+ {
27
+ "inputs": [],
28
+ "name": "Messaging_Unavailable",
29
+ "type": "error"
30
+ },
31
+ {
32
+ "inputs": [
33
+ {
34
+ "internalType": "uint32",
35
+ "name": "eid",
36
+ "type": "uint32"
37
+ }
38
+ ],
39
+ "name": "NoPeer",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [
44
+ {
45
+ "internalType": "uint256",
46
+ "name": "msgValue",
47
+ "type": "uint256"
48
+ }
49
+ ],
50
+ "name": "NotEnoughNative",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [
55
+ {
56
+ "internalType": "address",
57
+ "name": "addr",
58
+ "type": "address"
59
+ }
60
+ ],
61
+ "name": "OnlyEndpoint",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "uint32",
68
+ "name": "eid",
69
+ "type": "uint32"
70
+ },
71
+ {
72
+ "internalType": "bytes32",
73
+ "name": "sender",
74
+ "type": "bytes32"
75
+ }
76
+ ],
77
+ "name": "OnlyPeer",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "OnlySelf",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [
87
+ {
88
+ "internalType": "bytes",
89
+ "name": "result",
90
+ "type": "bytes"
91
+ }
92
+ ],
93
+ "name": "SimulationResult",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "anonymous": false,
98
+ "inputs": [
99
+ {
100
+ "indexed": false,
101
+ "internalType": "address",
102
+ "name": "stargateImpl",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "indexed": false,
107
+ "internalType": "uint16",
108
+ "name": "assetId",
109
+ "type": "uint16"
110
+ }
111
+ ],
112
+ "name": "AssetIdSet",
113
+ "type": "event"
114
+ },
115
+ {
116
+ "anonymous": false,
117
+ "inputs": [
118
+ {
119
+ "indexed": true,
120
+ "internalType": "address",
121
+ "name": "previousOwner",
122
+ "type": "address"
123
+ },
124
+ {
125
+ "indexed": true,
126
+ "internalType": "address",
127
+ "name": "newOwner",
128
+ "type": "address"
129
+ }
130
+ ],
131
+ "name": "OwnershipTransferred",
132
+ "type": "event"
133
+ },
134
+ {
135
+ "anonymous": false,
136
+ "inputs": [
137
+ {
138
+ "indexed": false,
139
+ "internalType": "uint32",
140
+ "name": "eid",
141
+ "type": "uint32"
142
+ },
143
+ {
144
+ "indexed": false,
145
+ "internalType": "bytes32",
146
+ "name": "peer",
147
+ "type": "bytes32"
148
+ }
149
+ ],
150
+ "name": "PeerSet",
151
+ "type": "event"
152
+ },
153
+ {
154
+ "anonymous": false,
155
+ "inputs": [
156
+ {
157
+ "indexed": false,
158
+ "internalType": "address",
159
+ "name": "preCrimeAddress",
160
+ "type": "address"
161
+ }
162
+ ],
163
+ "name": "PreCrimeSet",
164
+ "type": "event"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "components": [
170
+ {
171
+ "internalType": "uint32",
172
+ "name": "srcEid",
173
+ "type": "uint32"
174
+ },
175
+ {
176
+ "internalType": "bytes32",
177
+ "name": "sender",
178
+ "type": "bytes32"
179
+ },
180
+ {
181
+ "internalType": "uint64",
182
+ "name": "nonce",
183
+ "type": "uint64"
184
+ }
185
+ ],
186
+ "internalType": "struct Origin",
187
+ "name": "origin",
188
+ "type": "tuple"
189
+ }
190
+ ],
191
+ "name": "allowInitializePath",
192
+ "outputs": [
193
+ {
194
+ "internalType": "bool",
195
+ "name": "",
196
+ "type": "bool"
197
+ }
198
+ ],
199
+ "stateMutability": "view",
200
+ "type": "function"
201
+ },
202
+ {
203
+ "inputs": [
204
+ {
205
+ "internalType": "address",
206
+ "name": "stargateImpl",
207
+ "type": "address"
208
+ }
209
+ ],
210
+ "name": "assetIds",
211
+ "outputs": [
212
+ {
213
+ "internalType": "uint16",
214
+ "name": "assetId",
215
+ "type": "uint16"
216
+ }
217
+ ],
218
+ "stateMutability": "view",
219
+ "type": "function"
220
+ },
221
+ {
222
+ "inputs": [],
223
+ "name": "composeMsgSender",
224
+ "outputs": [
225
+ {
226
+ "internalType": "address",
227
+ "name": "sender",
228
+ "type": "address"
229
+ }
230
+ ],
231
+ "stateMutability": "view",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [],
236
+ "name": "endpoint",
237
+ "outputs": [
238
+ {
239
+ "internalType": "contract ILayerZeroEndpointV2",
240
+ "name": "",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "stateMutability": "view",
245
+ "type": "function"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "uint32",
251
+ "name": "_eid",
252
+ "type": "uint32"
253
+ },
254
+ {
255
+ "internalType": "bytes32",
256
+ "name": "_peer",
257
+ "type": "bytes32"
258
+ }
259
+ ],
260
+ "name": "isPeer",
261
+ "outputs": [
262
+ {
263
+ "internalType": "bool",
264
+ "name": "",
265
+ "type": "bool"
266
+ }
267
+ ],
268
+ "stateMutability": "view",
269
+ "type": "function"
270
+ },
271
+ {
272
+ "inputs": [
273
+ {
274
+ "components": [
275
+ {
276
+ "internalType": "uint32",
277
+ "name": "srcEid",
278
+ "type": "uint32"
279
+ },
280
+ {
281
+ "internalType": "bytes32",
282
+ "name": "sender",
283
+ "type": "bytes32"
284
+ },
285
+ {
286
+ "internalType": "uint64",
287
+ "name": "nonce",
288
+ "type": "uint64"
289
+ }
290
+ ],
291
+ "internalType": "struct Origin",
292
+ "name": "_origin",
293
+ "type": "tuple"
294
+ },
295
+ {
296
+ "internalType": "bytes32",
297
+ "name": "_guid",
298
+ "type": "bytes32"
299
+ },
300
+ {
301
+ "internalType": "bytes",
302
+ "name": "_message",
303
+ "type": "bytes"
304
+ },
305
+ {
306
+ "internalType": "address",
307
+ "name": "_executor",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "internalType": "bytes",
312
+ "name": "_extraData",
313
+ "type": "bytes"
314
+ }
315
+ ],
316
+ "name": "lzReceive",
317
+ "outputs": [],
318
+ "stateMutability": "payable",
319
+ "type": "function"
320
+ },
321
+ {
322
+ "inputs": [
323
+ {
324
+ "components": [
325
+ {
326
+ "components": [
327
+ {
328
+ "internalType": "uint32",
329
+ "name": "srcEid",
330
+ "type": "uint32"
331
+ },
332
+ {
333
+ "internalType": "bytes32",
334
+ "name": "sender",
335
+ "type": "bytes32"
336
+ },
337
+ {
338
+ "internalType": "uint64",
339
+ "name": "nonce",
340
+ "type": "uint64"
341
+ }
342
+ ],
343
+ "internalType": "struct Origin",
344
+ "name": "origin",
345
+ "type": "tuple"
346
+ },
347
+ {
348
+ "internalType": "uint32",
349
+ "name": "dstEid",
350
+ "type": "uint32"
351
+ },
352
+ {
353
+ "internalType": "address",
354
+ "name": "receiver",
355
+ "type": "address"
356
+ },
357
+ {
358
+ "internalType": "bytes32",
359
+ "name": "guid",
360
+ "type": "bytes32"
361
+ },
362
+ {
363
+ "internalType": "uint256",
364
+ "name": "value",
365
+ "type": "uint256"
366
+ },
367
+ {
368
+ "internalType": "address",
369
+ "name": "executor",
370
+ "type": "address"
371
+ },
372
+ {
373
+ "internalType": "bytes",
374
+ "name": "message",
375
+ "type": "bytes"
376
+ },
377
+ {
378
+ "internalType": "bytes",
379
+ "name": "extraData",
380
+ "type": "bytes"
381
+ }
382
+ ],
383
+ "internalType": "struct InboundPacket[]",
384
+ "name": "_packets",
385
+ "type": "tuple[]"
386
+ }
387
+ ],
388
+ "name": "lzReceiveAndRevert",
389
+ "outputs": [],
390
+ "stateMutability": "payable",
391
+ "type": "function"
392
+ },
393
+ {
394
+ "inputs": [
395
+ {
396
+ "components": [
397
+ {
398
+ "internalType": "uint32",
399
+ "name": "srcEid",
400
+ "type": "uint32"
401
+ },
402
+ {
403
+ "internalType": "bytes32",
404
+ "name": "sender",
405
+ "type": "bytes32"
406
+ },
407
+ {
408
+ "internalType": "uint64",
409
+ "name": "nonce",
410
+ "type": "uint64"
411
+ }
412
+ ],
413
+ "internalType": "struct Origin",
414
+ "name": "_origin",
415
+ "type": "tuple"
416
+ },
417
+ {
418
+ "internalType": "bytes32",
419
+ "name": "_guid",
420
+ "type": "bytes32"
421
+ },
422
+ {
423
+ "internalType": "bytes",
424
+ "name": "_message",
425
+ "type": "bytes"
426
+ },
427
+ {
428
+ "internalType": "address",
429
+ "name": "_executor",
430
+ "type": "address"
431
+ },
432
+ {
433
+ "internalType": "bytes",
434
+ "name": "_extraData",
435
+ "type": "bytes"
436
+ }
437
+ ],
438
+ "name": "lzReceiveSimulate",
439
+ "outputs": [],
440
+ "stateMutability": "payable",
441
+ "type": "function"
442
+ },
443
+ {
444
+ "inputs": [],
445
+ "name": "maxAssetId",
446
+ "outputs": [
447
+ {
448
+ "internalType": "uint16",
449
+ "name": "",
450
+ "type": "uint16"
451
+ }
452
+ ],
453
+ "stateMutability": "view",
454
+ "type": "function"
455
+ },
456
+ {
457
+ "inputs": [
458
+ {
459
+ "internalType": "uint32",
460
+ "name": "",
461
+ "type": "uint32"
462
+ },
463
+ {
464
+ "internalType": "bytes32",
465
+ "name": "",
466
+ "type": "bytes32"
467
+ }
468
+ ],
469
+ "name": "nextNonce",
470
+ "outputs": [
471
+ {
472
+ "internalType": "uint64",
473
+ "name": "nonce",
474
+ "type": "uint64"
475
+ }
476
+ ],
477
+ "stateMutability": "view",
478
+ "type": "function"
479
+ },
480
+ {
481
+ "inputs": [],
482
+ "name": "oApp",
483
+ "outputs": [
484
+ {
485
+ "internalType": "address",
486
+ "name": "",
487
+ "type": "address"
488
+ }
489
+ ],
490
+ "stateMutability": "view",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [],
495
+ "name": "oAppVersion",
496
+ "outputs": [
497
+ {
498
+ "internalType": "uint64",
499
+ "name": "senderVersion",
500
+ "type": "uint64"
501
+ },
502
+ {
503
+ "internalType": "uint64",
504
+ "name": "receiverVersion",
505
+ "type": "uint64"
506
+ }
507
+ ],
508
+ "stateMutability": "pure",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "owner",
514
+ "outputs": [
515
+ {
516
+ "internalType": "address",
517
+ "name": "",
518
+ "type": "address"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [
526
+ {
527
+ "internalType": "uint32",
528
+ "name": "eid",
529
+ "type": "uint32"
530
+ }
531
+ ],
532
+ "name": "peers",
533
+ "outputs": [
534
+ {
535
+ "internalType": "bytes32",
536
+ "name": "peer",
537
+ "type": "bytes32"
538
+ }
539
+ ],
540
+ "stateMutability": "view",
541
+ "type": "function"
542
+ },
543
+ {
544
+ "inputs": [],
545
+ "name": "planner",
546
+ "outputs": [
547
+ {
548
+ "internalType": "address",
549
+ "name": "",
550
+ "type": "address"
551
+ }
552
+ ],
553
+ "stateMutability": "view",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [],
558
+ "name": "preCrime",
559
+ "outputs": [
560
+ {
561
+ "internalType": "address",
562
+ "name": "",
563
+ "type": "address"
564
+ }
565
+ ],
566
+ "stateMutability": "view",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [],
571
+ "name": "renounceOwnership",
572
+ "outputs": [],
573
+ "stateMutability": "nonpayable",
574
+ "type": "function"
575
+ },
576
+ {
577
+ "inputs": [
578
+ {
579
+ "internalType": "address",
580
+ "name": "_stargateImpl",
581
+ "type": "address"
582
+ },
583
+ {
584
+ "internalType": "uint16",
585
+ "name": "_assetId",
586
+ "type": "uint16"
587
+ }
588
+ ],
589
+ "name": "setAssetId",
590
+ "outputs": [],
591
+ "stateMutability": "nonpayable",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [
596
+ {
597
+ "internalType": "address",
598
+ "name": "_delegate",
599
+ "type": "address"
600
+ }
601
+ ],
602
+ "name": "setDelegate",
603
+ "outputs": [],
604
+ "stateMutability": "nonpayable",
605
+ "type": "function"
606
+ },
607
+ {
608
+ "inputs": [
609
+ {
610
+ "internalType": "uint16",
611
+ "name": "_maxAssetId",
612
+ "type": "uint16"
613
+ }
614
+ ],
615
+ "name": "setMaxAssetId",
616
+ "outputs": [],
617
+ "stateMutability": "nonpayable",
618
+ "type": "function"
619
+ },
620
+ {
621
+ "inputs": [
622
+ {
623
+ "internalType": "uint32",
624
+ "name": "_eid",
625
+ "type": "uint32"
626
+ },
627
+ {
628
+ "internalType": "bytes32",
629
+ "name": "_peer",
630
+ "type": "bytes32"
631
+ }
632
+ ],
633
+ "name": "setPeer",
634
+ "outputs": [],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "address",
642
+ "name": "_planner",
643
+ "type": "address"
644
+ }
645
+ ],
646
+ "name": "setPlanner",
647
+ "outputs": [],
648
+ "stateMutability": "nonpayable",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [
653
+ {
654
+ "internalType": "address",
655
+ "name": "_preCrime",
656
+ "type": "address"
657
+ }
658
+ ],
659
+ "name": "setPreCrime",
660
+ "outputs": [],
661
+ "stateMutability": "nonpayable",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [
666
+ {
667
+ "internalType": "uint16",
668
+ "name": "assetId",
669
+ "type": "uint16"
670
+ }
671
+ ],
672
+ "name": "stargateImpls",
673
+ "outputs": [
674
+ {
675
+ "internalType": "address",
676
+ "name": "stargateImpl",
677
+ "type": "address"
678
+ }
679
+ ],
680
+ "stateMutability": "view",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "address",
687
+ "name": "newOwner",
688
+ "type": "address"
689
+ }
690
+ ],
691
+ "name": "transferOwnership",
692
+ "outputs": [],
693
+ "stateMutability": "nonpayable",
694
+ "type": "function"
695
+ }
696
+ ],
697
+ "bytecode": "0x",
698
+ "deployedBytecode": "0x",
699
+ "linkReferences": {},
700
+ "deployedLinkReferences": {}
701
+ }