@stargatefinance/stg-evm-sdk-v2 2.0.0 → 2.0.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 (138) hide show
  1. package/deployments/gensyn-mainnet/CreditMessaging.json +1501 -0
  2. package/deployments/gensyn-mainnet/FeeLibV1USDC.json +611 -0
  3. package/deployments/gensyn-mainnet/OFTWrapper.json +1506 -0
  4. package/deployments/gensyn-mainnet/StargateOFTUSDC.json +1978 -0
  5. package/deployments/gensyn-mainnet/TokenMessaging.json +2475 -0
  6. package/deployments/gensyn-mainnet/Treasurer.json +450 -0
  7. package/dist/deployed/CreditMessaging.cjs +3 -0
  8. package/dist/deployed/CreditMessaging.cjs.map +1 -1
  9. package/dist/deployed/CreditMessaging.mjs +3 -0
  10. package/dist/deployed/CreditMessaging.mjs.map +1 -1
  11. package/dist/deployed/FeeLibV1USDC.cjs +3 -0
  12. package/dist/deployed/FeeLibV1USDC.cjs.map +1 -1
  13. package/dist/deployed/FeeLibV1USDC.mjs +3 -0
  14. package/dist/deployed/FeeLibV1USDC.mjs.map +1 -1
  15. package/dist/deployed/OFTWrapper.cjs +3 -0
  16. package/dist/deployed/OFTWrapper.cjs.map +1 -1
  17. package/dist/deployed/OFTWrapper.mjs +3 -0
  18. package/dist/deployed/OFTWrapper.mjs.map +1 -1
  19. package/dist/deployed/StargateOFTUSDC.cjs +3 -0
  20. package/dist/deployed/StargateOFTUSDC.cjs.map +1 -1
  21. package/dist/deployed/StargateOFTUSDC.mjs +3 -0
  22. package/dist/deployed/StargateOFTUSDC.mjs.map +1 -1
  23. package/dist/deployed/TokenMessaging.cjs +3 -0
  24. package/dist/deployed/TokenMessaging.cjs.map +1 -1
  25. package/dist/deployed/TokenMessaging.mjs +3 -0
  26. package/dist/deployed/TokenMessaging.mjs.map +1 -1
  27. package/dist/deployed/Treasurer.cjs +3 -0
  28. package/dist/deployed/Treasurer.cjs.map +1 -1
  29. package/dist/deployed/Treasurer.mjs +3 -0
  30. package/dist/deployed/Treasurer.mjs.map +1 -1
  31. package/dist/deployed/contracts.cjs +18 -0
  32. package/dist/deployed/contracts.cjs.map +1 -1
  33. package/dist/deployed/contracts.mjs +18 -0
  34. package/dist/deployed/contracts.mjs.map +1 -1
  35. package/dist/deployed/index.cjs +18 -0
  36. package/dist/deployed/index.cjs.map +1 -1
  37. package/dist/deployed/index.mjs +18 -0
  38. package/dist/deployed/index.mjs.map +1 -1
  39. package/package.json +2 -2
  40. package/dist/deployed/OFTTokenETH.d.ts +0 -1
  41. package/dist/deployed/OFTWrapper-CJkBHR0d.d.mts +0 -1367
  42. package/dist/deployed/OFTWrapper-CJkBHR0d.d.ts +0 -1367
  43. package/dist/deployed/OFTWrapper.d.mts +0 -1
  44. package/dist/deployed/OFTWrapper.d.ts +0 -1
  45. package/dist/deployed/RewardLib-DZPcpNd5.d.mts +0 -115
  46. package/dist/deployed/RewardLib-DZPcpNd5.d.ts +0 -115
  47. package/dist/deployed/RewardLib.d.mts +0 -1
  48. package/dist/deployed/RewardLib.d.ts +0 -1
  49. package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.mts +0 -115
  50. package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.ts +0 -115
  51. package/dist/deployed/RewardRegistryLib.d.mts +0 -1
  52. package/dist/deployed/RewardRegistryLib.d.ts +0 -1
  53. package/dist/deployed/RewardTokenMock-B_bipjnn.d.mts +0 -308
  54. package/dist/deployed/RewardTokenMock-B_bipjnn.d.ts +0 -308
  55. package/dist/deployed/RewardTokenMock.d.mts +0 -1
  56. package/dist/deployed/RewardTokenMock.d.ts +0 -1
  57. package/dist/deployed/StargateMultiRewarder-CI0gdC89.d.mts +0 -622
  58. package/dist/deployed/StargateMultiRewarder-CI0gdC89.d.ts +0 -622
  59. package/dist/deployed/StargateMultiRewarder.d.mts +0 -1
  60. package/dist/deployed/StargateMultiRewarder.d.ts +0 -1
  61. package/dist/deployed/StargateOFTETH-DXRoUssU.d.mts +0 -2514
  62. package/dist/deployed/StargateOFTETH-DXRoUssU.d.ts +0 -2514
  63. package/dist/deployed/StargateOFTETH.d.mts +0 -1
  64. package/dist/deployed/StargateOFTETH.d.ts +0 -1
  65. package/dist/deployed/StargateOFTEURC-DKulPApM.d.mts +0 -3683
  66. package/dist/deployed/StargateOFTEURC-DKulPApM.d.ts +0 -3683
  67. package/dist/deployed/StargateOFTEURC.d.mts +0 -1
  68. package/dist/deployed/StargateOFTEURC.d.ts +0 -1
  69. package/dist/deployed/StargateOFTUSDC-CWrgFwl8.d.mts +0 -4998
  70. package/dist/deployed/StargateOFTUSDC-CWrgFwl8.d.ts +0 -4998
  71. package/dist/deployed/StargateOFTUSDC.d.mts +0 -1
  72. package/dist/deployed/StargateOFTUSDC.d.ts +0 -1
  73. package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.mts +0 -2492
  74. package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.ts +0 -2492
  75. package/dist/deployed/StargateOFTUSDT.d.mts +0 -1
  76. package/dist/deployed/StargateOFTUSDT.d.ts +0 -1
  77. package/dist/deployed/StargatePoolETH-lOsiDbJC.d.mts +0 -1530
  78. package/dist/deployed/StargatePoolETH-lOsiDbJC.d.ts +0 -1530
  79. package/dist/deployed/StargatePoolETH.d.mts +0 -1
  80. package/dist/deployed/StargatePoolETH.d.ts +0 -1
  81. package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.mts +0 -1582
  82. package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.ts +0 -1582
  83. package/dist/deployed/StargatePoolEURC.d.mts +0 -1
  84. package/dist/deployed/StargatePoolEURC.d.ts +0 -1
  85. package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.mts +0 -1519
  86. package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.ts +0 -1519
  87. package/dist/deployed/StargatePoolMETIS.d.mts +0 -1
  88. package/dist/deployed/StargatePoolMETIS.d.ts +0 -1
  89. package/dist/deployed/StargatePoolNative-BKokoo5S.d.mts +0 -1568
  90. package/dist/deployed/StargatePoolNative-BKokoo5S.d.ts +0 -1568
  91. package/dist/deployed/StargatePoolNative.d.mts +0 -1
  92. package/dist/deployed/StargatePoolNative.d.ts +0 -1
  93. package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.mts +0 -1632
  94. package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.ts +0 -1632
  95. package/dist/deployed/StargatePoolUSDC.d.mts +0 -1
  96. package/dist/deployed/StargatePoolUSDC.d.ts +0 -1
  97. package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.mts +0 -1627
  98. package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.ts +0 -1627
  99. package/dist/deployed/StargatePoolUSDT.d.mts +0 -1
  100. package/dist/deployed/StargatePoolUSDT.d.ts +0 -1
  101. package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.mts +0 -1519
  102. package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.ts +0 -1519
  103. package/dist/deployed/StargatePoolmETH.d.mts +0 -1
  104. package/dist/deployed/StargatePoolmETH.d.ts +0 -1
  105. package/dist/deployed/StargateStaking-BL9axih_.d.mts +0 -459
  106. package/dist/deployed/StargateStaking-BL9axih_.d.ts +0 -459
  107. package/dist/deployed/StargateStaking.d.mts +0 -1
  108. package/dist/deployed/StargateStaking.d.ts +0 -1
  109. package/dist/deployed/TokenMessaging-ZthO1qUI.d.mts +0 -3180
  110. package/dist/deployed/TokenMessaging-ZthO1qUI.d.ts +0 -3180
  111. package/dist/deployed/TokenMessaging.d.mts +0 -1
  112. package/dist/deployed/TokenMessaging.d.ts +0 -1
  113. package/dist/deployed/Treasurer-DWulFNwl.d.mts +0 -456
  114. package/dist/deployed/Treasurer-DWulFNwl.d.ts +0 -456
  115. package/dist/deployed/Treasurer.d.mts +0 -1
  116. package/dist/deployed/Treasurer.d.ts +0 -1
  117. package/dist/deployed/USDCImpl-DN89Rpdz.d.mts +0 -1124
  118. package/dist/deployed/USDCImpl-DN89Rpdz.d.ts +0 -1124
  119. package/dist/deployed/USDCImpl.d.mts +0 -1
  120. package/dist/deployed/USDCImpl.d.ts +0 -1
  121. package/dist/deployed/USDCProxy-BsrYumZv.d.mts +0 -141
  122. package/dist/deployed/USDCProxy-BsrYumZv.d.ts +0 -141
  123. package/dist/deployed/USDCProxy.d.mts +0 -1
  124. package/dist/deployed/USDCProxy.d.ts +0 -1
  125. package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.mts +0 -73
  126. package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.ts +0 -73
  127. package/dist/deployed/USDCSignatureLib.d.mts +0 -1
  128. package/dist/deployed/USDCSignatureLib.d.ts +0 -1
  129. package/dist/deployed/USDT-DVAQjDdu.d.mts +0 -690
  130. package/dist/deployed/USDT-DVAQjDdu.d.ts +0 -690
  131. package/dist/deployed/USDT.d.mts +0 -1
  132. package/dist/deployed/USDT.d.ts +0 -1
  133. package/dist/deployed/contracts-B7q2Vree.d.mts +0 -68
  134. package/dist/deployed/contracts-CxuIbE1v.d.ts +0 -68
  135. package/dist/deployed/contracts.d.mts +0 -31
  136. package/dist/deployed/contracts.d.ts +0 -31
  137. package/dist/deployed/index.d.mts +0 -36
  138. package/dist/deployed/index.d.ts +0 -36
@@ -1,3180 +0,0 @@
1
- declare const addresses: {
2
- "abstract-mainnet": string;
3
- "ape-mainnet": string;
4
- "apexfusionnexus-mainnet": string;
5
- "arbitrum-mainnet": string;
6
- "arbsep-testnet": string;
7
- "aurora-mainnet": string;
8
- "avalanche-mainnet": string;
9
- "avalanche-testnet": string;
10
- "base-mainnet": string;
11
- "bera-mainnet": string;
12
- "bl3-testnet": string;
13
- "botanix-mainnet": string;
14
- "bsc-mainnet": string;
15
- "bsc-sandbox-local": string;
16
- "bsc-testnet": string;
17
- "camp-mainnet": string;
18
- "coredao-mainnet": string;
19
- "cronosevm-mainnet": string;
20
- "degen-mainnet": string;
21
- "doma-mainnet": string;
22
- "edu-mainnet": string;
23
- "ethereum-mainnet": string;
24
- "ethereum-sandbox-local": string;
25
- "flare-mainnet": string;
26
- "flow-mainnet": string;
27
- "fuse-mainnet": string;
28
- "gatelayer-mainnet": string;
29
- "glue-mainnet": string;
30
- "gnosis-mainnet": string;
31
- "goat-mainnet": string;
32
- "gravity-mainnet": string;
33
- "hedera-mainnet": string;
34
- "hemi-mainnet": string;
35
- "horizen-mainnet": string;
36
- "injectiveevm-mainnet": string;
37
- "ink-mainnet": string;
38
- "iota-mainnet": string;
39
- "islander-mainnet": string;
40
- "kava-mainnet": string;
41
- "klaytn-mainnet": string;
42
- "klaytn-testnet": string;
43
- "lightlink-mainnet": string;
44
- "manta-mainnet": string;
45
- "mantle-mainnet": string;
46
- "mantlesep-testnet": string;
47
- "metis-mainnet": string;
48
- "moca-mainnet": string;
49
- "moderato-testnet": string;
50
- "monad-testnet": string;
51
- "nibiru-mainnet": string;
52
- "odyssey-testnet": string;
53
- "og-mainnet": string;
54
- "optimism-mainnet": string;
55
- "optsep-testnet": string;
56
- "orderly-mainnet": string;
57
- "peaq-mainnet": string;
58
- "plasma-mainnet": string;
59
- "plumephoenix-mainnet": string;
60
- "polygon-mainnet": string;
61
- "polygon-sandbox-local": string;
62
- "rarible-mainnet": string;
63
- "redbelly-mainnet": string;
64
- "rootstock-mainnet": string;
65
- "scroll-mainnet": string;
66
- "sei-mainnet": string;
67
- "sepolia-testnet": string;
68
- "somnia-mainnet": string;
69
- "soneium-mainnet": string;
70
- "sonic-mainnet": string;
71
- "sophon-mainnet": string;
72
- "stable-mainnet": string;
73
- "story-mainnet": string;
74
- "superposition-mainnet": string;
75
- "swell-mainnet": string;
76
- "taiko-mainnet": string;
77
- "telos-mainnet": string;
78
- "tempo-mainnet": string;
79
- "unichain-mainnet": string;
80
- "xdc-mainnet": string;
81
- "zkconsensys-mainnet": string;
82
- };
83
- declare const transactionHashes: {
84
- "ape-mainnet": string;
85
- "apexfusionnexus-mainnet": string;
86
- "arbitrum-mainnet": string;
87
- "arbsep-testnet": string;
88
- "aurora-mainnet": string;
89
- "avalanche-mainnet": string;
90
- "avalanche-testnet": string;
91
- "base-mainnet": string;
92
- "bera-mainnet": string;
93
- "bl3-testnet": string;
94
- "botanix-mainnet": string;
95
- "bsc-mainnet": string;
96
- "bsc-sandbox-local": string;
97
- "bsc-testnet": string;
98
- "camp-mainnet": string;
99
- "coredao-mainnet": string;
100
- "cronosevm-mainnet": string;
101
- "degen-mainnet": string;
102
- "doma-mainnet": string;
103
- "edu-mainnet": string;
104
- "ethereum-mainnet": string;
105
- "ethereum-sandbox-local": string;
106
- "flare-mainnet": string;
107
- "flow-mainnet": string;
108
- "fuse-mainnet": string;
109
- "gatelayer-mainnet": string;
110
- "glue-mainnet": string;
111
- "gnosis-mainnet": string;
112
- "goat-mainnet": string;
113
- "gravity-mainnet": string;
114
- "hedera-mainnet": string;
115
- "hemi-mainnet": string;
116
- "horizen-mainnet": string;
117
- "injectiveevm-mainnet": string;
118
- "ink-mainnet": string;
119
- "iota-mainnet": string;
120
- "islander-mainnet": string;
121
- "kava-mainnet": string;
122
- "klaytn-mainnet": string;
123
- "klaytn-testnet": string;
124
- "lightlink-mainnet": string;
125
- "manta-mainnet": string;
126
- "mantle-mainnet": string;
127
- "mantlesep-testnet": string;
128
- "metis-mainnet": string;
129
- "moca-mainnet": string;
130
- "moderato-testnet": string;
131
- "monad-testnet": string;
132
- "nibiru-mainnet": string;
133
- "odyssey-testnet": string;
134
- "og-mainnet": string;
135
- "optimism-mainnet": string;
136
- "optsep-testnet": string;
137
- "orderly-mainnet": string;
138
- "peaq-mainnet": string;
139
- "plasma-mainnet": string;
140
- "plumephoenix-mainnet": string;
141
- "polygon-mainnet": string;
142
- "polygon-sandbox-local": string;
143
- "rarible-mainnet": string;
144
- "redbelly-mainnet": string;
145
- "rootstock-mainnet": string;
146
- "scroll-mainnet": string;
147
- "sei-mainnet": string;
148
- "sepolia-testnet": string;
149
- "somnia-mainnet": string;
150
- "soneium-mainnet": string;
151
- "sonic-mainnet": string;
152
- "stable-mainnet": string;
153
- "story-mainnet": string;
154
- "superposition-mainnet": string;
155
- "swell-mainnet": string;
156
- "taiko-mainnet": string;
157
- "telos-mainnet": string;
158
- "tempo-mainnet": string;
159
- "unichain-mainnet": string;
160
- "xdc-mainnet": string;
161
- "zkconsensys-mainnet": string;
162
- };
163
- declare const abi0: readonly [{
164
- readonly inputs: readonly [{
165
- readonly internalType: "address";
166
- readonly name: "_endpoint";
167
- readonly type: "address";
168
- }, {
169
- readonly internalType: "address";
170
- readonly name: "_owner";
171
- readonly type: "address";
172
- }, {
173
- readonly internalType: "uint16";
174
- readonly name: "_queueCapacity";
175
- readonly type: "uint16";
176
- }];
177
- readonly stateMutability: "nonpayable";
178
- readonly type: "constructor";
179
- }, {
180
- readonly inputs: readonly [];
181
- readonly name: "BusCodec_InvalidBusBytesLength";
182
- readonly type: "error";
183
- }, {
184
- readonly inputs: readonly [];
185
- readonly name: "BusCodec_InvalidMessage";
186
- readonly type: "error";
187
- }, {
188
- readonly inputs: readonly [];
189
- readonly name: "BusCodec_InvalidPassengersBytesLength";
190
- readonly type: "error";
191
- }, {
192
- readonly inputs: readonly [{
193
- readonly internalType: "bool";
194
- readonly name: "nativeDrop";
195
- readonly type: "bool";
196
- }];
197
- readonly name: "Bus_InvalidFare";
198
- readonly type: "error";
199
- }, {
200
- readonly inputs: readonly [{
201
- readonly internalType: "uint8";
202
- readonly name: "numPassengers";
203
- readonly type: "uint8";
204
- }];
205
- readonly name: "Bus_InvalidNumPassengers";
206
- readonly type: "error";
207
- }, {
208
- readonly inputs: readonly [];
209
- readonly name: "Bus_InvalidPassenger";
210
- readonly type: "error";
211
- }, {
212
- readonly inputs: readonly [];
213
- readonly name: "Bus_QueueFull";
214
- readonly type: "error";
215
- }, {
216
- readonly inputs: readonly [];
217
- readonly name: "InvalidDelegate";
218
- readonly type: "error";
219
- }, {
220
- readonly inputs: readonly [];
221
- readonly name: "InvalidEndpointCall";
222
- readonly type: "error";
223
- }, {
224
- readonly inputs: readonly [{
225
- readonly internalType: "bytes";
226
- readonly name: "options";
227
- readonly type: "bytes";
228
- }];
229
- readonly name: "InvalidOptions";
230
- readonly type: "error";
231
- }, {
232
- readonly inputs: readonly [];
233
- readonly name: "LzTokenUnavailable";
234
- readonly type: "error";
235
- }, {
236
- readonly inputs: readonly [];
237
- readonly name: "MessagingOptions_ZeroGasLimit";
238
- readonly type: "error";
239
- }, {
240
- readonly inputs: readonly [];
241
- readonly name: "Messaging_InvalidAssetId";
242
- readonly type: "error";
243
- }, {
244
- readonly inputs: readonly [];
245
- readonly name: "Messaging_InvalidEid";
246
- readonly type: "error";
247
- }, {
248
- readonly inputs: readonly [];
249
- readonly name: "Messaging_InvalidMsgValue";
250
- readonly type: "error";
251
- }, {
252
- readonly inputs: readonly [];
253
- readonly name: "Messaging_InvalidQueueCapacity";
254
- readonly type: "error";
255
- }, {
256
- readonly inputs: readonly [];
257
- readonly name: "Messaging_MaxNumPassengersExceedsQueueCapacity";
258
- readonly type: "error";
259
- }, {
260
- readonly inputs: readonly [];
261
- readonly name: "Messaging_NotEnoughPassengers";
262
- readonly type: "error";
263
- }, {
264
- readonly inputs: readonly [];
265
- readonly name: "Messaging_Unauthorized";
266
- readonly type: "error";
267
- }, {
268
- readonly inputs: readonly [];
269
- readonly name: "Messaging_Unavailable";
270
- readonly type: "error";
271
- }, {
272
- readonly inputs: readonly [{
273
- readonly internalType: "uint32";
274
- readonly name: "eid";
275
- readonly type: "uint32";
276
- }];
277
- readonly name: "NoPeer";
278
- readonly type: "error";
279
- }, {
280
- readonly inputs: readonly [{
281
- readonly internalType: "uint256";
282
- readonly name: "msgValue";
283
- readonly type: "uint256";
284
- }];
285
- readonly name: "NotEnoughNative";
286
- readonly type: "error";
287
- }, {
288
- readonly inputs: readonly [{
289
- readonly internalType: "address";
290
- readonly name: "addr";
291
- readonly type: "address";
292
- }];
293
- readonly name: "OnlyEndpoint";
294
- readonly type: "error";
295
- }, {
296
- readonly inputs: readonly [{
297
- readonly internalType: "uint32";
298
- readonly name: "eid";
299
- readonly type: "uint32";
300
- }, {
301
- readonly internalType: "bytes32";
302
- readonly name: "sender";
303
- readonly type: "bytes32";
304
- }];
305
- readonly name: "OnlyPeer";
306
- readonly type: "error";
307
- }, {
308
- readonly inputs: readonly [];
309
- readonly name: "OnlySelf";
310
- readonly type: "error";
311
- }, {
312
- readonly inputs: readonly [{
313
- readonly internalType: "bytes";
314
- readonly name: "result";
315
- readonly type: "bytes";
316
- }];
317
- readonly name: "SimulationResult";
318
- readonly type: "error";
319
- }, {
320
- readonly inputs: readonly [];
321
- readonly name: "TaxiCodec_InvalidMessage";
322
- readonly type: "error";
323
- }, {
324
- readonly inputs: readonly [];
325
- readonly name: "Transfer_ApproveFailed";
326
- readonly type: "error";
327
- }, {
328
- readonly inputs: readonly [];
329
- readonly name: "Transfer_TransferFailed";
330
- readonly type: "error";
331
- }, {
332
- readonly anonymous: false;
333
- readonly inputs: readonly [{
334
- readonly indexed: false;
335
- readonly internalType: "address";
336
- readonly name: "stargateImpl";
337
- readonly type: "address";
338
- }, {
339
- readonly indexed: false;
340
- readonly internalType: "uint16";
341
- readonly name: "assetId";
342
- readonly type: "uint16";
343
- }];
344
- readonly name: "AssetIdSet";
345
- readonly type: "event";
346
- }, {
347
- readonly anonymous: false;
348
- readonly inputs: readonly [{
349
- readonly indexed: false;
350
- readonly internalType: "uint32";
351
- readonly name: "dstEid";
352
- readonly type: "uint32";
353
- }, {
354
- readonly indexed: false;
355
- readonly internalType: "uint72";
356
- readonly name: "startTicketId";
357
- readonly type: "uint72";
358
- }, {
359
- readonly indexed: false;
360
- readonly internalType: "uint8";
361
- readonly name: "numPassengers";
362
- readonly type: "uint8";
363
- }, {
364
- readonly indexed: false;
365
- readonly internalType: "bytes32";
366
- readonly name: "guid";
367
- readonly type: "bytes32";
368
- }];
369
- readonly name: "BusDriven";
370
- readonly type: "event";
371
- }, {
372
- readonly anonymous: false;
373
- readonly inputs: readonly [{
374
- readonly indexed: false;
375
- readonly internalType: "uint32";
376
- readonly name: "dstEid";
377
- readonly type: "uint32";
378
- }, {
379
- readonly indexed: false;
380
- readonly internalType: "uint16";
381
- readonly name: "startSlot";
382
- readonly type: "uint16";
383
- }, {
384
- readonly indexed: false;
385
- readonly internalType: "uint16";
386
- readonly name: "endSlot";
387
- readonly type: "uint16";
388
- }];
389
- readonly name: "BusQueueStorageInitialized";
390
- readonly type: "event";
391
- }, {
392
- readonly anonymous: false;
393
- readonly inputs: readonly [{
394
- readonly indexed: false;
395
- readonly internalType: "uint32";
396
- readonly name: "dstEid";
397
- readonly type: "uint32";
398
- }, {
399
- readonly indexed: false;
400
- readonly internalType: "uint72";
401
- readonly name: "ticketId";
402
- readonly type: "uint72";
403
- }, {
404
- readonly indexed: false;
405
- readonly internalType: "uint80";
406
- readonly name: "fare";
407
- readonly type: "uint80";
408
- }, {
409
- readonly indexed: false;
410
- readonly internalType: "bytes";
411
- readonly name: "passenger";
412
- readonly type: "bytes";
413
- }];
414
- readonly name: "BusRode";
415
- readonly type: "event";
416
- }, {
417
- readonly anonymous: false;
418
- readonly inputs: readonly [{
419
- readonly components: readonly [{
420
- readonly internalType: "uint32";
421
- readonly name: "eid";
422
- readonly type: "uint32";
423
- }, {
424
- readonly internalType: "uint16";
425
- readonly name: "msgType";
426
- readonly type: "uint16";
427
- }, {
428
- readonly internalType: "bytes";
429
- readonly name: "options";
430
- readonly type: "bytes";
431
- }];
432
- readonly indexed: false;
433
- readonly internalType: "struct EnforcedOptionParam[]";
434
- readonly name: "_enforcedOptions";
435
- readonly type: "tuple[]";
436
- }];
437
- readonly name: "EnforcedOptionSet";
438
- readonly type: "event";
439
- }, {
440
- readonly anonymous: false;
441
- readonly inputs: readonly [{
442
- readonly indexed: false;
443
- readonly internalType: "uint32";
444
- readonly name: "dstEid";
445
- readonly type: "uint32";
446
- }, {
447
- readonly indexed: false;
448
- readonly internalType: "uint80";
449
- readonly name: "busFare";
450
- readonly type: "uint80";
451
- }, {
452
- readonly indexed: false;
453
- readonly internalType: "uint80";
454
- readonly name: "busAndNativeDropFare";
455
- readonly type: "uint80";
456
- }];
457
- readonly name: "FaresSet";
458
- readonly type: "event";
459
- }, {
460
- readonly anonymous: false;
461
- readonly inputs: readonly [{
462
- readonly indexed: false;
463
- readonly internalType: "uint32";
464
- readonly name: "eid";
465
- readonly type: "uint32";
466
- }, {
467
- readonly indexed: false;
468
- readonly internalType: "uint128";
469
- readonly name: "gasLimit";
470
- readonly type: "uint128";
471
- }, {
472
- readonly indexed: false;
473
- readonly internalType: "uint128";
474
- readonly name: "nativeDropGasLimit";
475
- readonly type: "uint128";
476
- }];
477
- readonly name: "GasLimitSet";
478
- readonly type: "event";
479
- }, {
480
- readonly anonymous: false;
481
- readonly inputs: readonly [{
482
- readonly indexed: false;
483
- readonly internalType: "uint16";
484
- readonly name: "maxAssetId";
485
- readonly type: "uint16";
486
- }];
487
- readonly name: "MaxAssetIdSet";
488
- readonly type: "event";
489
- }, {
490
- readonly anonymous: false;
491
- readonly inputs: readonly [{
492
- readonly indexed: false;
493
- readonly internalType: "uint32";
494
- readonly name: "dstEid";
495
- readonly type: "uint32";
496
- }, {
497
- readonly indexed: false;
498
- readonly internalType: "uint8";
499
- readonly name: "maxNumPassengers";
500
- readonly type: "uint8";
501
- }];
502
- readonly name: "MaxNumPassengersSet";
503
- readonly type: "event";
504
- }, {
505
- readonly anonymous: false;
506
- readonly inputs: readonly [{
507
- readonly indexed: false;
508
- readonly internalType: "uint32";
509
- readonly name: "dstEid";
510
- readonly type: "uint32";
511
- }, {
512
- readonly indexed: false;
513
- readonly internalType: "uint128";
514
- readonly name: "nativeDropAmount";
515
- readonly type: "uint128";
516
- }];
517
- readonly name: "NativeDropAmountSet";
518
- readonly type: "event";
519
- }, {
520
- readonly anonymous: false;
521
- readonly inputs: readonly [{
522
- readonly indexed: false;
523
- readonly internalType: "address";
524
- readonly name: "receiver";
525
- readonly type: "address";
526
- }, {
527
- readonly indexed: false;
528
- readonly internalType: "uint128";
529
- readonly name: "amount";
530
- readonly type: "uint128";
531
- }];
532
- readonly name: "NativeDropApplied";
533
- readonly type: "event";
534
- }, {
535
- readonly anonymous: false;
536
- readonly inputs: readonly [{
537
- readonly indexed: false;
538
- readonly internalType: "address";
539
- readonly name: "receiver";
540
- readonly type: "address";
541
- }, {
542
- readonly indexed: false;
543
- readonly internalType: "uint128";
544
- readonly name: "amount";
545
- readonly type: "uint128";
546
- }];
547
- readonly name: "NativeDropFailed";
548
- readonly type: "event";
549
- }, {
550
- readonly anonymous: false;
551
- readonly inputs: readonly [{
552
- readonly indexed: true;
553
- readonly internalType: "address";
554
- readonly name: "previousOwner";
555
- readonly type: "address";
556
- }, {
557
- readonly indexed: true;
558
- readonly internalType: "address";
559
- readonly name: "newOwner";
560
- readonly type: "address";
561
- }];
562
- readonly name: "OwnershipTransferred";
563
- readonly type: "event";
564
- }, {
565
- readonly anonymous: false;
566
- readonly inputs: readonly [{
567
- readonly indexed: false;
568
- readonly internalType: "uint32";
569
- readonly name: "eid";
570
- readonly type: "uint32";
571
- }, {
572
- readonly indexed: false;
573
- readonly internalType: "bytes32";
574
- readonly name: "peer";
575
- readonly type: "bytes32";
576
- }];
577
- readonly name: "PeerSet";
578
- readonly type: "event";
579
- }, {
580
- readonly anonymous: false;
581
- readonly inputs: readonly [{
582
- readonly indexed: false;
583
- readonly internalType: "address";
584
- readonly name: "planner";
585
- readonly type: "address";
586
- }];
587
- readonly name: "PlannerSet";
588
- readonly type: "event";
589
- }, {
590
- readonly anonymous: false;
591
- readonly inputs: readonly [{
592
- readonly indexed: false;
593
- readonly internalType: "address";
594
- readonly name: "preCrimeAddress";
595
- readonly type: "address";
596
- }];
597
- readonly name: "PreCrimeSet";
598
- readonly type: "event";
599
- }, {
600
- readonly inputs: readonly [];
601
- readonly name: "MSG_TYPE_BUS";
602
- readonly outputs: readonly [{
603
- readonly internalType: "uint8";
604
- readonly name: "";
605
- readonly type: "uint8";
606
- }];
607
- readonly stateMutability: "view";
608
- readonly type: "function";
609
- }, {
610
- readonly inputs: readonly [];
611
- readonly name: "MSG_TYPE_TAXI";
612
- readonly outputs: readonly [{
613
- readonly internalType: "uint8";
614
- readonly name: "";
615
- readonly type: "uint8";
616
- }];
617
- readonly stateMutability: "view";
618
- readonly type: "function";
619
- }, {
620
- readonly inputs: readonly [{
621
- readonly components: readonly [{
622
- readonly internalType: "uint32";
623
- readonly name: "srcEid";
624
- readonly type: "uint32";
625
- }, {
626
- readonly internalType: "bytes32";
627
- readonly name: "sender";
628
- readonly type: "bytes32";
629
- }, {
630
- readonly internalType: "uint64";
631
- readonly name: "nonce";
632
- readonly type: "uint64";
633
- }];
634
- readonly internalType: "struct Origin";
635
- readonly name: "origin";
636
- readonly type: "tuple";
637
- }];
638
- readonly name: "allowInitializePath";
639
- readonly outputs: readonly [{
640
- readonly internalType: "bool";
641
- readonly name: "";
642
- readonly type: "bool";
643
- }];
644
- readonly stateMutability: "view";
645
- readonly type: "function";
646
- }, {
647
- readonly inputs: readonly [{
648
- readonly internalType: "address";
649
- readonly name: "stargateImpl";
650
- readonly type: "address";
651
- }];
652
- readonly name: "assetIds";
653
- readonly outputs: readonly [{
654
- readonly internalType: "uint16";
655
- readonly name: "assetId";
656
- readonly type: "uint16";
657
- }];
658
- readonly stateMutability: "view";
659
- readonly type: "function";
660
- }, {
661
- readonly inputs: readonly [{
662
- readonly internalType: "uint32";
663
- readonly name: "dstEid";
664
- readonly type: "uint32";
665
- }];
666
- readonly name: "busQueues";
667
- readonly outputs: readonly [{
668
- readonly internalType: "uint8";
669
- readonly name: "maxNumPassengers";
670
- readonly type: "uint8";
671
- }, {
672
- readonly internalType: "uint80";
673
- readonly name: "busFare";
674
- readonly type: "uint80";
675
- }, {
676
- readonly internalType: "uint80";
677
- readonly name: "busAndNativeDropFare";
678
- readonly type: "uint80";
679
- }, {
680
- readonly internalType: "uint16";
681
- readonly name: "qLength";
682
- readonly type: "uint16";
683
- }, {
684
- readonly internalType: "uint72";
685
- readonly name: "nextTicketId";
686
- readonly type: "uint72";
687
- }];
688
- readonly stateMutability: "view";
689
- readonly type: "function";
690
- }, {
691
- readonly inputs: readonly [{
692
- readonly internalType: "uint32";
693
- readonly name: "_eid";
694
- readonly type: "uint32";
695
- }, {
696
- readonly internalType: "uint16";
697
- readonly name: "_msgType";
698
- readonly type: "uint16";
699
- }, {
700
- readonly internalType: "bytes";
701
- readonly name: "_extraOptions";
702
- readonly type: "bytes";
703
- }];
704
- readonly name: "combineOptions";
705
- readonly outputs: readonly [{
706
- readonly internalType: "bytes";
707
- readonly name: "";
708
- readonly type: "bytes";
709
- }];
710
- readonly stateMutability: "view";
711
- readonly type: "function";
712
- }, {
713
- readonly inputs: readonly [{
714
- readonly internalType: "uint32";
715
- readonly name: "_dstEid";
716
- readonly type: "uint32";
717
- }, {
718
- readonly internalType: "bytes";
719
- readonly name: "_passengers";
720
- readonly type: "bytes";
721
- }];
722
- readonly name: "driveBus";
723
- readonly outputs: readonly [{
724
- readonly components: readonly [{
725
- readonly internalType: "bytes32";
726
- readonly name: "guid";
727
- readonly type: "bytes32";
728
- }, {
729
- readonly internalType: "uint64";
730
- readonly name: "nonce";
731
- readonly type: "uint64";
732
- }, {
733
- readonly components: readonly [{
734
- readonly internalType: "uint256";
735
- readonly name: "nativeFee";
736
- readonly type: "uint256";
737
- }, {
738
- readonly internalType: "uint256";
739
- readonly name: "lzTokenFee";
740
- readonly type: "uint256";
741
- }];
742
- readonly internalType: "struct MessagingFee";
743
- readonly name: "fee";
744
- readonly type: "tuple";
745
- }];
746
- readonly internalType: "struct MessagingReceipt";
747
- readonly name: "receipt";
748
- readonly type: "tuple";
749
- }];
750
- readonly stateMutability: "payable";
751
- readonly type: "function";
752
- }, {
753
- readonly inputs: readonly [];
754
- readonly name: "endpoint";
755
- readonly outputs: readonly [{
756
- readonly internalType: "contract ILayerZeroEndpointV2";
757
- readonly name: "";
758
- readonly type: "address";
759
- }];
760
- readonly stateMutability: "view";
761
- readonly type: "function";
762
- }, {
763
- readonly inputs: readonly [{
764
- readonly internalType: "uint32";
765
- readonly name: "eid";
766
- readonly type: "uint32";
767
- }, {
768
- readonly internalType: "uint16";
769
- readonly name: "msgType";
770
- readonly type: "uint16";
771
- }];
772
- readonly name: "enforcedOptions";
773
- readonly outputs: readonly [{
774
- readonly internalType: "bytes";
775
- readonly name: "enforcedOption";
776
- readonly type: "bytes";
777
- }];
778
- readonly stateMutability: "view";
779
- readonly type: "function";
780
- }, {
781
- readonly inputs: readonly [{
782
- readonly internalType: "uint32";
783
- readonly name: "eid";
784
- readonly type: "uint32";
785
- }];
786
- readonly name: "gasLimits";
787
- readonly outputs: readonly [{
788
- readonly internalType: "uint128";
789
- readonly name: "gasLimit";
790
- readonly type: "uint128";
791
- }, {
792
- readonly internalType: "uint128";
793
- readonly name: "nativeDropGasLimit";
794
- readonly type: "uint128";
795
- }];
796
- readonly stateMutability: "view";
797
- readonly type: "function";
798
- }, {
799
- readonly inputs: readonly [{
800
- readonly internalType: "uint32";
801
- readonly name: "_dstEid";
802
- readonly type: "uint32";
803
- }, {
804
- readonly internalType: "uint16";
805
- readonly name: "_index";
806
- readonly type: "uint16";
807
- }];
808
- readonly name: "getPassengerHash";
809
- readonly outputs: readonly [{
810
- readonly internalType: "bytes32";
811
- readonly name: "hash";
812
- readonly type: "bytes32";
813
- }];
814
- readonly stateMutability: "view";
815
- readonly type: "function";
816
- }, {
817
- readonly inputs: readonly [];
818
- readonly name: "getTransferGasLimit";
819
- readonly outputs: readonly [{
820
- readonly internalType: "uint256";
821
- readonly name: "";
822
- readonly type: "uint256";
823
- }];
824
- readonly stateMutability: "view";
825
- readonly type: "function";
826
- }, {
827
- readonly inputs: readonly [{
828
- readonly internalType: "uint32[]";
829
- readonly name: "_dstEids";
830
- readonly type: "uint32[]";
831
- }, {
832
- readonly internalType: "uint16";
833
- readonly name: "_startSlot";
834
- readonly type: "uint16";
835
- }, {
836
- readonly internalType: "uint16";
837
- readonly name: "_endSlot";
838
- readonly type: "uint16";
839
- }];
840
- readonly name: "initializeBusQueueStorage";
841
- readonly outputs: readonly [];
842
- readonly stateMutability: "nonpayable";
843
- readonly type: "function";
844
- }, {
845
- readonly inputs: readonly [{
846
- readonly components: readonly [{
847
- readonly internalType: "uint32";
848
- readonly name: "srcEid";
849
- readonly type: "uint32";
850
- }, {
851
- readonly internalType: "bytes32";
852
- readonly name: "sender";
853
- readonly type: "bytes32";
854
- }, {
855
- readonly internalType: "uint64";
856
- readonly name: "nonce";
857
- readonly type: "uint64";
858
- }];
859
- readonly internalType: "struct Origin";
860
- readonly name: "";
861
- readonly type: "tuple";
862
- }, {
863
- readonly internalType: "bytes";
864
- readonly name: "_message";
865
- readonly type: "bytes";
866
- }, {
867
- readonly internalType: "address";
868
- readonly name: "_sender";
869
- readonly type: "address";
870
- }];
871
- readonly name: "isComposeMsgSender";
872
- readonly outputs: readonly [{
873
- readonly internalType: "bool";
874
- readonly name: "";
875
- readonly type: "bool";
876
- }];
877
- readonly stateMutability: "view";
878
- readonly type: "function";
879
- }, {
880
- readonly inputs: readonly [{
881
- readonly internalType: "uint32";
882
- readonly name: "_eid";
883
- readonly type: "uint32";
884
- }, {
885
- readonly internalType: "bytes32";
886
- readonly name: "_peer";
887
- readonly type: "bytes32";
888
- }];
889
- readonly name: "isPeer";
890
- readonly outputs: readonly [{
891
- readonly internalType: "bool";
892
- readonly name: "";
893
- readonly type: "bool";
894
- }];
895
- readonly stateMutability: "view";
896
- readonly type: "function";
897
- }, {
898
- readonly inputs: readonly [{
899
- readonly components: readonly [{
900
- readonly internalType: "uint32";
901
- readonly name: "srcEid";
902
- readonly type: "uint32";
903
- }, {
904
- readonly internalType: "bytes32";
905
- readonly name: "sender";
906
- readonly type: "bytes32";
907
- }, {
908
- readonly internalType: "uint64";
909
- readonly name: "nonce";
910
- readonly type: "uint64";
911
- }];
912
- readonly internalType: "struct Origin";
913
- readonly name: "_origin";
914
- readonly type: "tuple";
915
- }, {
916
- readonly internalType: "bytes32";
917
- readonly name: "_guid";
918
- readonly type: "bytes32";
919
- }, {
920
- readonly internalType: "bytes";
921
- readonly name: "_message";
922
- readonly type: "bytes";
923
- }, {
924
- readonly internalType: "address";
925
- readonly name: "_executor";
926
- readonly type: "address";
927
- }, {
928
- readonly internalType: "bytes";
929
- readonly name: "_extraData";
930
- readonly type: "bytes";
931
- }];
932
- readonly name: "lzReceive";
933
- readonly outputs: readonly [];
934
- readonly stateMutability: "payable";
935
- readonly type: "function";
936
- }, {
937
- readonly inputs: readonly [{
938
- readonly components: readonly [{
939
- readonly components: readonly [{
940
- readonly internalType: "uint32";
941
- readonly name: "srcEid";
942
- readonly type: "uint32";
943
- }, {
944
- readonly internalType: "bytes32";
945
- readonly name: "sender";
946
- readonly type: "bytes32";
947
- }, {
948
- readonly internalType: "uint64";
949
- readonly name: "nonce";
950
- readonly type: "uint64";
951
- }];
952
- readonly internalType: "struct Origin";
953
- readonly name: "origin";
954
- readonly type: "tuple";
955
- }, {
956
- readonly internalType: "uint32";
957
- readonly name: "dstEid";
958
- readonly type: "uint32";
959
- }, {
960
- readonly internalType: "address";
961
- readonly name: "receiver";
962
- readonly type: "address";
963
- }, {
964
- readonly internalType: "bytes32";
965
- readonly name: "guid";
966
- readonly type: "bytes32";
967
- }, {
968
- readonly internalType: "uint256";
969
- readonly name: "value";
970
- readonly type: "uint256";
971
- }, {
972
- readonly internalType: "address";
973
- readonly name: "executor";
974
- readonly type: "address";
975
- }, {
976
- readonly internalType: "bytes";
977
- readonly name: "message";
978
- readonly type: "bytes";
979
- }, {
980
- readonly internalType: "bytes";
981
- readonly name: "extraData";
982
- readonly type: "bytes";
983
- }];
984
- readonly internalType: "struct InboundPacket[]";
985
- readonly name: "_packets";
986
- readonly type: "tuple[]";
987
- }];
988
- readonly name: "lzReceiveAndRevert";
989
- readonly outputs: readonly [];
990
- readonly stateMutability: "payable";
991
- readonly type: "function";
992
- }, {
993
- readonly inputs: readonly [{
994
- readonly components: readonly [{
995
- readonly internalType: "uint32";
996
- readonly name: "srcEid";
997
- readonly type: "uint32";
998
- }, {
999
- readonly internalType: "bytes32";
1000
- readonly name: "sender";
1001
- readonly type: "bytes32";
1002
- }, {
1003
- readonly internalType: "uint64";
1004
- readonly name: "nonce";
1005
- readonly type: "uint64";
1006
- }];
1007
- readonly internalType: "struct Origin";
1008
- readonly name: "_origin";
1009
- readonly type: "tuple";
1010
- }, {
1011
- readonly internalType: "bytes32";
1012
- readonly name: "_guid";
1013
- readonly type: "bytes32";
1014
- }, {
1015
- readonly internalType: "bytes";
1016
- readonly name: "_message";
1017
- readonly type: "bytes";
1018
- }, {
1019
- readonly internalType: "address";
1020
- readonly name: "_executor";
1021
- readonly type: "address";
1022
- }, {
1023
- readonly internalType: "bytes";
1024
- readonly name: "_extraData";
1025
- readonly type: "bytes";
1026
- }];
1027
- readonly name: "lzReceiveSimulate";
1028
- readonly outputs: readonly [];
1029
- readonly stateMutability: "payable";
1030
- readonly type: "function";
1031
- }, {
1032
- readonly inputs: readonly [];
1033
- readonly name: "maxAssetId";
1034
- readonly outputs: readonly [{
1035
- readonly internalType: "uint16";
1036
- readonly name: "";
1037
- readonly type: "uint16";
1038
- }];
1039
- readonly stateMutability: "view";
1040
- readonly type: "function";
1041
- }, {
1042
- readonly inputs: readonly [{
1043
- readonly internalType: "uint32";
1044
- readonly name: "dstEid";
1045
- readonly type: "uint32";
1046
- }];
1047
- readonly name: "nativeDropAmounts";
1048
- readonly outputs: readonly [{
1049
- readonly internalType: "uint128";
1050
- readonly name: "nativeDropAmount";
1051
- readonly type: "uint128";
1052
- }];
1053
- readonly stateMutability: "view";
1054
- readonly type: "function";
1055
- }, {
1056
- readonly inputs: readonly [{
1057
- readonly internalType: "uint32";
1058
- readonly name: "";
1059
- readonly type: "uint32";
1060
- }, {
1061
- readonly internalType: "bytes32";
1062
- readonly name: "";
1063
- readonly type: "bytes32";
1064
- }];
1065
- readonly name: "nextNonce";
1066
- readonly outputs: readonly [{
1067
- readonly internalType: "uint64";
1068
- readonly name: "nonce";
1069
- readonly type: "uint64";
1070
- }];
1071
- readonly stateMutability: "view";
1072
- readonly type: "function";
1073
- }, {
1074
- readonly inputs: readonly [];
1075
- readonly name: "oApp";
1076
- readonly outputs: readonly [{
1077
- readonly internalType: "address";
1078
- readonly name: "";
1079
- readonly type: "address";
1080
- }];
1081
- readonly stateMutability: "view";
1082
- readonly type: "function";
1083
- }, {
1084
- readonly inputs: readonly [];
1085
- readonly name: "oAppVersion";
1086
- readonly outputs: readonly [{
1087
- readonly internalType: "uint64";
1088
- readonly name: "senderVersion";
1089
- readonly type: "uint64";
1090
- }, {
1091
- readonly internalType: "uint64";
1092
- readonly name: "receiverVersion";
1093
- readonly type: "uint64";
1094
- }];
1095
- readonly stateMutability: "pure";
1096
- readonly type: "function";
1097
- }, {
1098
- readonly inputs: readonly [];
1099
- readonly name: "owner";
1100
- readonly outputs: readonly [{
1101
- readonly internalType: "address";
1102
- readonly name: "";
1103
- readonly type: "address";
1104
- }];
1105
- readonly stateMutability: "view";
1106
- readonly type: "function";
1107
- }, {
1108
- readonly inputs: readonly [{
1109
- readonly internalType: "uint32";
1110
- readonly name: "eid";
1111
- readonly type: "uint32";
1112
- }];
1113
- readonly name: "peers";
1114
- readonly outputs: readonly [{
1115
- readonly internalType: "bytes32";
1116
- readonly name: "peer";
1117
- readonly type: "bytes32";
1118
- }];
1119
- readonly stateMutability: "view";
1120
- readonly type: "function";
1121
- }, {
1122
- readonly inputs: readonly [];
1123
- readonly name: "planner";
1124
- readonly outputs: readonly [{
1125
- readonly internalType: "address";
1126
- readonly name: "";
1127
- readonly type: "address";
1128
- }];
1129
- readonly stateMutability: "view";
1130
- readonly type: "function";
1131
- }, {
1132
- readonly inputs: readonly [];
1133
- readonly name: "preCrime";
1134
- readonly outputs: readonly [{
1135
- readonly internalType: "address";
1136
- readonly name: "";
1137
- readonly type: "address";
1138
- }];
1139
- readonly stateMutability: "view";
1140
- readonly type: "function";
1141
- }, {
1142
- readonly inputs: readonly [];
1143
- readonly name: "queueCapacity";
1144
- readonly outputs: readonly [{
1145
- readonly internalType: "uint16";
1146
- readonly name: "";
1147
- readonly type: "uint16";
1148
- }];
1149
- readonly stateMutability: "view";
1150
- readonly type: "function";
1151
- }, {
1152
- readonly inputs: readonly [{
1153
- readonly internalType: "uint32";
1154
- readonly name: "_dstEid";
1155
- readonly type: "uint32";
1156
- }, {
1157
- readonly internalType: "bytes";
1158
- readonly name: "_passengers";
1159
- readonly type: "bytes";
1160
- }];
1161
- readonly name: "quoteDriveBus";
1162
- readonly outputs: readonly [{
1163
- readonly components: readonly [{
1164
- readonly internalType: "uint256";
1165
- readonly name: "nativeFee";
1166
- readonly type: "uint256";
1167
- }, {
1168
- readonly internalType: "uint256";
1169
- readonly name: "lzTokenFee";
1170
- readonly type: "uint256";
1171
- }];
1172
- readonly internalType: "struct MessagingFee";
1173
- readonly name: "fee";
1174
- readonly type: "tuple";
1175
- }];
1176
- readonly stateMutability: "view";
1177
- readonly type: "function";
1178
- }, {
1179
- readonly inputs: readonly [{
1180
- readonly internalType: "uint32";
1181
- readonly name: "_dstEid";
1182
- readonly type: "uint32";
1183
- }, {
1184
- readonly internalType: "uint8";
1185
- readonly name: "_numPassengers";
1186
- readonly type: "uint8";
1187
- }];
1188
- readonly name: "quoteFares";
1189
- readonly outputs: readonly [{
1190
- readonly internalType: "uint256";
1191
- readonly name: "busFare";
1192
- readonly type: "uint256";
1193
- }, {
1194
- readonly internalType: "uint256";
1195
- readonly name: "busAndNativeDropFare";
1196
- readonly type: "uint256";
1197
- }];
1198
- readonly stateMutability: "view";
1199
- readonly type: "function";
1200
- }, {
1201
- readonly inputs: readonly [{
1202
- readonly internalType: "uint32";
1203
- readonly name: "_dstEid";
1204
- readonly type: "uint32";
1205
- }, {
1206
- readonly internalType: "bool";
1207
- readonly name: "_airdrop";
1208
- readonly type: "bool";
1209
- }];
1210
- readonly name: "quoteRideBus";
1211
- readonly outputs: readonly [{
1212
- readonly components: readonly [{
1213
- readonly internalType: "uint256";
1214
- readonly name: "nativeFee";
1215
- readonly type: "uint256";
1216
- }, {
1217
- readonly internalType: "uint256";
1218
- readonly name: "lzTokenFee";
1219
- readonly type: "uint256";
1220
- }];
1221
- readonly internalType: "struct MessagingFee";
1222
- readonly name: "fee";
1223
- readonly type: "tuple";
1224
- }];
1225
- readonly stateMutability: "view";
1226
- readonly type: "function";
1227
- }, {
1228
- readonly inputs: readonly [{
1229
- readonly components: readonly [{
1230
- readonly internalType: "address";
1231
- readonly name: "sender";
1232
- readonly type: "address";
1233
- }, {
1234
- readonly internalType: "uint32";
1235
- readonly name: "dstEid";
1236
- readonly type: "uint32";
1237
- }, {
1238
- readonly internalType: "bytes32";
1239
- readonly name: "receiver";
1240
- readonly type: "bytes32";
1241
- }, {
1242
- readonly internalType: "uint64";
1243
- readonly name: "amountSD";
1244
- readonly type: "uint64";
1245
- }, {
1246
- readonly internalType: "bytes";
1247
- readonly name: "composeMsg";
1248
- readonly type: "bytes";
1249
- }, {
1250
- readonly internalType: "bytes";
1251
- readonly name: "extraOptions";
1252
- readonly type: "bytes";
1253
- }];
1254
- readonly internalType: "struct TaxiParams";
1255
- readonly name: "_params";
1256
- readonly type: "tuple";
1257
- }, {
1258
- readonly internalType: "bool";
1259
- readonly name: "_payInLzToken";
1260
- readonly type: "bool";
1261
- }];
1262
- readonly name: "quoteTaxi";
1263
- readonly outputs: readonly [{
1264
- readonly components: readonly [{
1265
- readonly internalType: "uint256";
1266
- readonly name: "nativeFee";
1267
- readonly type: "uint256";
1268
- }, {
1269
- readonly internalType: "uint256";
1270
- readonly name: "lzTokenFee";
1271
- readonly type: "uint256";
1272
- }];
1273
- readonly internalType: "struct MessagingFee";
1274
- readonly name: "fee";
1275
- readonly type: "tuple";
1276
- }];
1277
- readonly stateMutability: "view";
1278
- readonly type: "function";
1279
- }, {
1280
- readonly inputs: readonly [];
1281
- readonly name: "renounceOwnership";
1282
- readonly outputs: readonly [];
1283
- readonly stateMutability: "nonpayable";
1284
- readonly type: "function";
1285
- }, {
1286
- readonly inputs: readonly [{
1287
- readonly components: readonly [{
1288
- readonly internalType: "address";
1289
- readonly name: "sender";
1290
- readonly type: "address";
1291
- }, {
1292
- readonly internalType: "uint32";
1293
- readonly name: "dstEid";
1294
- readonly type: "uint32";
1295
- }, {
1296
- readonly internalType: "bytes32";
1297
- readonly name: "receiver";
1298
- readonly type: "bytes32";
1299
- }, {
1300
- readonly internalType: "uint64";
1301
- readonly name: "amountSD";
1302
- readonly type: "uint64";
1303
- }, {
1304
- readonly internalType: "bool";
1305
- readonly name: "nativeDrop";
1306
- readonly type: "bool";
1307
- }];
1308
- readonly internalType: "struct RideBusParams";
1309
- readonly name: "_params";
1310
- readonly type: "tuple";
1311
- }];
1312
- readonly name: "rideBus";
1313
- readonly outputs: readonly [{
1314
- readonly components: readonly [{
1315
- readonly internalType: "bytes32";
1316
- readonly name: "guid";
1317
- readonly type: "bytes32";
1318
- }, {
1319
- readonly internalType: "uint64";
1320
- readonly name: "nonce";
1321
- readonly type: "uint64";
1322
- }, {
1323
- readonly components: readonly [{
1324
- readonly internalType: "uint256";
1325
- readonly name: "nativeFee";
1326
- readonly type: "uint256";
1327
- }, {
1328
- readonly internalType: "uint256";
1329
- readonly name: "lzTokenFee";
1330
- readonly type: "uint256";
1331
- }];
1332
- readonly internalType: "struct MessagingFee";
1333
- readonly name: "fee";
1334
- readonly type: "tuple";
1335
- }];
1336
- readonly internalType: "struct MessagingReceipt";
1337
- readonly name: "receipt";
1338
- readonly type: "tuple";
1339
- }, {
1340
- readonly components: readonly [{
1341
- readonly internalType: "uint72";
1342
- readonly name: "ticketId";
1343
- readonly type: "uint72";
1344
- }, {
1345
- readonly internalType: "bytes";
1346
- readonly name: "passengerBytes";
1347
- readonly type: "bytes";
1348
- }];
1349
- readonly internalType: "struct Ticket";
1350
- readonly name: "ticket";
1351
- readonly type: "tuple";
1352
- }];
1353
- readonly stateMutability: "nonpayable";
1354
- readonly type: "function";
1355
- }, {
1356
- readonly inputs: readonly [{
1357
- readonly internalType: "address";
1358
- readonly name: "_stargateImpl";
1359
- readonly type: "address";
1360
- }, {
1361
- readonly internalType: "uint16";
1362
- readonly name: "_assetId";
1363
- readonly type: "uint16";
1364
- }];
1365
- readonly name: "setAssetId";
1366
- readonly outputs: readonly [];
1367
- readonly stateMutability: "nonpayable";
1368
- readonly type: "function";
1369
- }, {
1370
- readonly inputs: readonly [{
1371
- readonly internalType: "address";
1372
- readonly name: "_delegate";
1373
- readonly type: "address";
1374
- }];
1375
- readonly name: "setDelegate";
1376
- readonly outputs: readonly [];
1377
- readonly stateMutability: "nonpayable";
1378
- readonly type: "function";
1379
- }, {
1380
- readonly inputs: readonly [{
1381
- readonly components: readonly [{
1382
- readonly internalType: "uint32";
1383
- readonly name: "eid";
1384
- readonly type: "uint32";
1385
- }, {
1386
- readonly internalType: "uint16";
1387
- readonly name: "msgType";
1388
- readonly type: "uint16";
1389
- }, {
1390
- readonly internalType: "bytes";
1391
- readonly name: "options";
1392
- readonly type: "bytes";
1393
- }];
1394
- readonly internalType: "struct EnforcedOptionParam[]";
1395
- readonly name: "_enforcedOptions";
1396
- readonly type: "tuple[]";
1397
- }];
1398
- readonly name: "setEnforcedOptions";
1399
- readonly outputs: readonly [];
1400
- readonly stateMutability: "nonpayable";
1401
- readonly type: "function";
1402
- }, {
1403
- readonly inputs: readonly [{
1404
- readonly internalType: "uint32";
1405
- readonly name: "_dstEid";
1406
- readonly type: "uint32";
1407
- }, {
1408
- readonly internalType: "uint80";
1409
- readonly name: "_busFare";
1410
- readonly type: "uint80";
1411
- }, {
1412
- readonly internalType: "uint80";
1413
- readonly name: "_busAndNativeDropFare";
1414
- readonly type: "uint80";
1415
- }];
1416
- readonly name: "setFares";
1417
- readonly outputs: readonly [];
1418
- readonly stateMutability: "nonpayable";
1419
- readonly type: "function";
1420
- }, {
1421
- readonly inputs: readonly [{
1422
- readonly internalType: "uint32";
1423
- readonly name: "_eid";
1424
- readonly type: "uint32";
1425
- }, {
1426
- readonly internalType: "uint128";
1427
- readonly name: "_gasLimit";
1428
- readonly type: "uint128";
1429
- }, {
1430
- readonly internalType: "uint128";
1431
- readonly name: "_nativeDropGasLimit";
1432
- readonly type: "uint128";
1433
- }];
1434
- readonly name: "setGasLimit";
1435
- readonly outputs: readonly [];
1436
- readonly stateMutability: "nonpayable";
1437
- readonly type: "function";
1438
- }, {
1439
- readonly inputs: readonly [{
1440
- readonly internalType: "uint16";
1441
- readonly name: "_maxAssetId";
1442
- readonly type: "uint16";
1443
- }];
1444
- readonly name: "setMaxAssetId";
1445
- readonly outputs: readonly [];
1446
- readonly stateMutability: "nonpayable";
1447
- readonly type: "function";
1448
- }, {
1449
- readonly inputs: readonly [{
1450
- readonly internalType: "uint32";
1451
- readonly name: "_dstEid";
1452
- readonly type: "uint32";
1453
- }, {
1454
- readonly internalType: "uint8";
1455
- readonly name: "_maxNumPassengers";
1456
- readonly type: "uint8";
1457
- }];
1458
- readonly name: "setMaxNumPassengers";
1459
- readonly outputs: readonly [];
1460
- readonly stateMutability: "nonpayable";
1461
- readonly type: "function";
1462
- }, {
1463
- readonly inputs: readonly [{
1464
- readonly internalType: "uint32";
1465
- readonly name: "_dstEid";
1466
- readonly type: "uint32";
1467
- }, {
1468
- readonly internalType: "uint128";
1469
- readonly name: "_nativeDropAmount";
1470
- readonly type: "uint128";
1471
- }];
1472
- readonly name: "setNativeDropAmount";
1473
- readonly outputs: readonly [];
1474
- readonly stateMutability: "nonpayable";
1475
- readonly type: "function";
1476
- }, {
1477
- readonly inputs: readonly [{
1478
- readonly internalType: "uint32";
1479
- readonly name: "_eid";
1480
- readonly type: "uint32";
1481
- }, {
1482
- readonly internalType: "bytes32";
1483
- readonly name: "_peer";
1484
- readonly type: "bytes32";
1485
- }];
1486
- readonly name: "setPeer";
1487
- readonly outputs: readonly [];
1488
- readonly stateMutability: "nonpayable";
1489
- readonly type: "function";
1490
- }, {
1491
- readonly inputs: readonly [{
1492
- readonly internalType: "address";
1493
- readonly name: "_planner";
1494
- readonly type: "address";
1495
- }];
1496
- readonly name: "setPlanner";
1497
- readonly outputs: readonly [];
1498
- readonly stateMutability: "nonpayable";
1499
- readonly type: "function";
1500
- }, {
1501
- readonly inputs: readonly [{
1502
- readonly internalType: "address";
1503
- readonly name: "_preCrime";
1504
- readonly type: "address";
1505
- }];
1506
- readonly name: "setPreCrime";
1507
- readonly outputs: readonly [];
1508
- readonly stateMutability: "nonpayable";
1509
- readonly type: "function";
1510
- }, {
1511
- readonly inputs: readonly [{
1512
- readonly internalType: "uint256";
1513
- readonly name: "_gasLimit";
1514
- readonly type: "uint256";
1515
- }];
1516
- readonly name: "setTransferGasLimit";
1517
- readonly outputs: readonly [];
1518
- readonly stateMutability: "nonpayable";
1519
- readonly type: "function";
1520
- }, {
1521
- readonly inputs: readonly [{
1522
- readonly internalType: "uint16";
1523
- readonly name: "assetId";
1524
- readonly type: "uint16";
1525
- }];
1526
- readonly name: "stargateImpls";
1527
- readonly outputs: readonly [{
1528
- readonly internalType: "address";
1529
- readonly name: "stargateImpl";
1530
- readonly type: "address";
1531
- }];
1532
- readonly stateMutability: "view";
1533
- readonly type: "function";
1534
- }, {
1535
- readonly inputs: readonly [{
1536
- readonly components: readonly [{
1537
- readonly internalType: "address";
1538
- readonly name: "sender";
1539
- readonly type: "address";
1540
- }, {
1541
- readonly internalType: "uint32";
1542
- readonly name: "dstEid";
1543
- readonly type: "uint32";
1544
- }, {
1545
- readonly internalType: "bytes32";
1546
- readonly name: "receiver";
1547
- readonly type: "bytes32";
1548
- }, {
1549
- readonly internalType: "uint64";
1550
- readonly name: "amountSD";
1551
- readonly type: "uint64";
1552
- }, {
1553
- readonly internalType: "bytes";
1554
- readonly name: "composeMsg";
1555
- readonly type: "bytes";
1556
- }, {
1557
- readonly internalType: "bytes";
1558
- readonly name: "extraOptions";
1559
- readonly type: "bytes";
1560
- }];
1561
- readonly internalType: "struct TaxiParams";
1562
- readonly name: "_params";
1563
- readonly type: "tuple";
1564
- }, {
1565
- readonly components: readonly [{
1566
- readonly internalType: "uint256";
1567
- readonly name: "nativeFee";
1568
- readonly type: "uint256";
1569
- }, {
1570
- readonly internalType: "uint256";
1571
- readonly name: "lzTokenFee";
1572
- readonly type: "uint256";
1573
- }];
1574
- readonly internalType: "struct MessagingFee";
1575
- readonly name: "_messagingFee";
1576
- readonly type: "tuple";
1577
- }, {
1578
- readonly internalType: "address";
1579
- readonly name: "_refundAddress";
1580
- readonly type: "address";
1581
- }];
1582
- readonly name: "taxi";
1583
- readonly outputs: readonly [{
1584
- readonly components: readonly [{
1585
- readonly internalType: "bytes32";
1586
- readonly name: "guid";
1587
- readonly type: "bytes32";
1588
- }, {
1589
- readonly internalType: "uint64";
1590
- readonly name: "nonce";
1591
- readonly type: "uint64";
1592
- }, {
1593
- readonly components: readonly [{
1594
- readonly internalType: "uint256";
1595
- readonly name: "nativeFee";
1596
- readonly type: "uint256";
1597
- }, {
1598
- readonly internalType: "uint256";
1599
- readonly name: "lzTokenFee";
1600
- readonly type: "uint256";
1601
- }];
1602
- readonly internalType: "struct MessagingFee";
1603
- readonly name: "fee";
1604
- readonly type: "tuple";
1605
- }];
1606
- readonly internalType: "struct MessagingReceipt";
1607
- readonly name: "receipt";
1608
- readonly type: "tuple";
1609
- }];
1610
- readonly stateMutability: "payable";
1611
- readonly type: "function";
1612
- }, {
1613
- readonly inputs: readonly [{
1614
- readonly internalType: "address";
1615
- readonly name: "newOwner";
1616
- readonly type: "address";
1617
- }];
1618
- readonly name: "transferOwnership";
1619
- readonly outputs: readonly [];
1620
- readonly stateMutability: "nonpayable";
1621
- readonly type: "function";
1622
- }];
1623
- declare const abi1: readonly [{
1624
- readonly inputs: readonly [{
1625
- readonly internalType: "address";
1626
- readonly name: "_endpoint";
1627
- readonly type: "address";
1628
- }, {
1629
- readonly internalType: "address";
1630
- readonly name: "_owner";
1631
- readonly type: "address";
1632
- }, {
1633
- readonly internalType: "uint16";
1634
- readonly name: "_queueCapacity";
1635
- readonly type: "uint16";
1636
- }];
1637
- readonly stateMutability: "nonpayable";
1638
- readonly type: "constructor";
1639
- }, {
1640
- readonly inputs: readonly [];
1641
- readonly name: "BusCodec_InvalidBusBytesLength";
1642
- readonly type: "error";
1643
- }, {
1644
- readonly inputs: readonly [];
1645
- readonly name: "BusCodec_InvalidMessage";
1646
- readonly type: "error";
1647
- }, {
1648
- readonly inputs: readonly [];
1649
- readonly name: "BusCodec_InvalidPassengersBytesLength";
1650
- readonly type: "error";
1651
- }, {
1652
- readonly inputs: readonly [{
1653
- readonly internalType: "bool";
1654
- readonly name: "nativeDrop";
1655
- readonly type: "bool";
1656
- }];
1657
- readonly name: "Bus_InvalidFare";
1658
- readonly type: "error";
1659
- }, {
1660
- readonly inputs: readonly [{
1661
- readonly internalType: "uint8";
1662
- readonly name: "numPassengers";
1663
- readonly type: "uint8";
1664
- }];
1665
- readonly name: "Bus_InvalidNumPassengers";
1666
- readonly type: "error";
1667
- }, {
1668
- readonly inputs: readonly [];
1669
- readonly name: "Bus_InvalidPassenger";
1670
- readonly type: "error";
1671
- }, {
1672
- readonly inputs: readonly [];
1673
- readonly name: "Bus_QueueFull";
1674
- readonly type: "error";
1675
- }, {
1676
- readonly inputs: readonly [];
1677
- readonly name: "InvalidDelegate";
1678
- readonly type: "error";
1679
- }, {
1680
- readonly inputs: readonly [];
1681
- readonly name: "InvalidEndpointCall";
1682
- readonly type: "error";
1683
- }, {
1684
- readonly inputs: readonly [{
1685
- readonly internalType: "bytes";
1686
- readonly name: "options";
1687
- readonly type: "bytes";
1688
- }];
1689
- readonly name: "InvalidOptions";
1690
- readonly type: "error";
1691
- }, {
1692
- readonly inputs: readonly [];
1693
- readonly name: "LzTokenUnavailable";
1694
- readonly type: "error";
1695
- }, {
1696
- readonly inputs: readonly [];
1697
- readonly name: "MessagingOptions_ZeroGasLimit";
1698
- readonly type: "error";
1699
- }, {
1700
- readonly inputs: readonly [];
1701
- readonly name: "Messaging_InvalidAssetId";
1702
- readonly type: "error";
1703
- }, {
1704
- readonly inputs: readonly [];
1705
- readonly name: "Messaging_InvalidEid";
1706
- readonly type: "error";
1707
- }, {
1708
- readonly inputs: readonly [];
1709
- readonly name: "Messaging_InvalidMsgValue";
1710
- readonly type: "error";
1711
- }, {
1712
- readonly inputs: readonly [];
1713
- readonly name: "Messaging_InvalidQueueCapacity";
1714
- readonly type: "error";
1715
- }, {
1716
- readonly inputs: readonly [];
1717
- readonly name: "Messaging_MaxNumPassengersExceedsQueueCapacity";
1718
- readonly type: "error";
1719
- }, {
1720
- readonly inputs: readonly [];
1721
- readonly name: "Messaging_NotEnoughPassengers";
1722
- readonly type: "error";
1723
- }, {
1724
- readonly inputs: readonly [];
1725
- readonly name: "Messaging_Unauthorized";
1726
- readonly type: "error";
1727
- }, {
1728
- readonly inputs: readonly [];
1729
- readonly name: "Messaging_Unavailable";
1730
- readonly type: "error";
1731
- }, {
1732
- readonly inputs: readonly [{
1733
- readonly internalType: "uint32";
1734
- readonly name: "eid";
1735
- readonly type: "uint32";
1736
- }];
1737
- readonly name: "NoPeer";
1738
- readonly type: "error";
1739
- }, {
1740
- readonly inputs: readonly [{
1741
- readonly internalType: "uint256";
1742
- readonly name: "msgValue";
1743
- readonly type: "uint256";
1744
- }];
1745
- readonly name: "NotEnoughNative";
1746
- readonly type: "error";
1747
- }, {
1748
- readonly inputs: readonly [{
1749
- readonly internalType: "address";
1750
- readonly name: "addr";
1751
- readonly type: "address";
1752
- }];
1753
- readonly name: "OnlyEndpoint";
1754
- readonly type: "error";
1755
- }, {
1756
- readonly inputs: readonly [{
1757
- readonly internalType: "uint32";
1758
- readonly name: "eid";
1759
- readonly type: "uint32";
1760
- }, {
1761
- readonly internalType: "bytes32";
1762
- readonly name: "sender";
1763
- readonly type: "bytes32";
1764
- }];
1765
- readonly name: "OnlyPeer";
1766
- readonly type: "error";
1767
- }, {
1768
- readonly inputs: readonly [];
1769
- readonly name: "OnlySelf";
1770
- readonly type: "error";
1771
- }, {
1772
- readonly inputs: readonly [{
1773
- readonly internalType: "bytes";
1774
- readonly name: "result";
1775
- readonly type: "bytes";
1776
- }];
1777
- readonly name: "SimulationResult";
1778
- readonly type: "error";
1779
- }, {
1780
- readonly inputs: readonly [];
1781
- readonly name: "TaxiCodec_InvalidMessage";
1782
- readonly type: "error";
1783
- }, {
1784
- readonly inputs: readonly [];
1785
- readonly name: "TokenMessaging_OnlyAltToken";
1786
- readonly type: "error";
1787
- }, {
1788
- readonly inputs: readonly [];
1789
- readonly name: "Transfer_ApproveFailed";
1790
- readonly type: "error";
1791
- }, {
1792
- readonly inputs: readonly [];
1793
- readonly name: "Transfer_TransferFailed";
1794
- readonly type: "error";
1795
- }, {
1796
- readonly anonymous: false;
1797
- readonly inputs: readonly [{
1798
- readonly indexed: false;
1799
- readonly internalType: "address";
1800
- readonly name: "stargateImpl";
1801
- readonly type: "address";
1802
- }, {
1803
- readonly indexed: false;
1804
- readonly internalType: "uint16";
1805
- readonly name: "assetId";
1806
- readonly type: "uint16";
1807
- }];
1808
- readonly name: "AssetIdSet";
1809
- readonly type: "event";
1810
- }, {
1811
- readonly anonymous: false;
1812
- readonly inputs: readonly [{
1813
- readonly indexed: false;
1814
- readonly internalType: "uint32";
1815
- readonly name: "dstEid";
1816
- readonly type: "uint32";
1817
- }, {
1818
- readonly indexed: false;
1819
- readonly internalType: "uint72";
1820
- readonly name: "startTicketId";
1821
- readonly type: "uint72";
1822
- }, {
1823
- readonly indexed: false;
1824
- readonly internalType: "uint8";
1825
- readonly name: "numPassengers";
1826
- readonly type: "uint8";
1827
- }, {
1828
- readonly indexed: false;
1829
- readonly internalType: "bytes32";
1830
- readonly name: "guid";
1831
- readonly type: "bytes32";
1832
- }];
1833
- readonly name: "BusDriven";
1834
- readonly type: "event";
1835
- }, {
1836
- readonly anonymous: false;
1837
- readonly inputs: readonly [{
1838
- readonly indexed: false;
1839
- readonly internalType: "uint32";
1840
- readonly name: "dstEid";
1841
- readonly type: "uint32";
1842
- }, {
1843
- readonly indexed: false;
1844
- readonly internalType: "uint16";
1845
- readonly name: "startSlot";
1846
- readonly type: "uint16";
1847
- }, {
1848
- readonly indexed: false;
1849
- readonly internalType: "uint16";
1850
- readonly name: "endSlot";
1851
- readonly type: "uint16";
1852
- }];
1853
- readonly name: "BusQueueStorageInitialized";
1854
- readonly type: "event";
1855
- }, {
1856
- readonly anonymous: false;
1857
- readonly inputs: readonly [{
1858
- readonly indexed: false;
1859
- readonly internalType: "uint32";
1860
- readonly name: "dstEid";
1861
- readonly type: "uint32";
1862
- }, {
1863
- readonly indexed: false;
1864
- readonly internalType: "uint72";
1865
- readonly name: "ticketId";
1866
- readonly type: "uint72";
1867
- }, {
1868
- readonly indexed: false;
1869
- readonly internalType: "uint80";
1870
- readonly name: "fare";
1871
- readonly type: "uint80";
1872
- }, {
1873
- readonly indexed: false;
1874
- readonly internalType: "bytes";
1875
- readonly name: "passenger";
1876
- readonly type: "bytes";
1877
- }];
1878
- readonly name: "BusRode";
1879
- readonly type: "event";
1880
- }, {
1881
- readonly anonymous: false;
1882
- readonly inputs: readonly [{
1883
- readonly components: readonly [{
1884
- readonly internalType: "uint32";
1885
- readonly name: "eid";
1886
- readonly type: "uint32";
1887
- }, {
1888
- readonly internalType: "uint16";
1889
- readonly name: "msgType";
1890
- readonly type: "uint16";
1891
- }, {
1892
- readonly internalType: "bytes";
1893
- readonly name: "options";
1894
- readonly type: "bytes";
1895
- }];
1896
- readonly indexed: false;
1897
- readonly internalType: "struct EnforcedOptionParam[]";
1898
- readonly name: "_enforcedOptions";
1899
- readonly type: "tuple[]";
1900
- }];
1901
- readonly name: "EnforcedOptionSet";
1902
- readonly type: "event";
1903
- }, {
1904
- readonly anonymous: false;
1905
- readonly inputs: readonly [{
1906
- readonly indexed: false;
1907
- readonly internalType: "uint32";
1908
- readonly name: "dstEid";
1909
- readonly type: "uint32";
1910
- }, {
1911
- readonly indexed: false;
1912
- readonly internalType: "uint80";
1913
- readonly name: "busFare";
1914
- readonly type: "uint80";
1915
- }, {
1916
- readonly indexed: false;
1917
- readonly internalType: "uint80";
1918
- readonly name: "busAndNativeDropFare";
1919
- readonly type: "uint80";
1920
- }];
1921
- readonly name: "FaresSet";
1922
- readonly type: "event";
1923
- }, {
1924
- readonly anonymous: false;
1925
- readonly inputs: readonly [{
1926
- readonly indexed: false;
1927
- readonly internalType: "uint32";
1928
- readonly name: "eid";
1929
- readonly type: "uint32";
1930
- }, {
1931
- readonly indexed: false;
1932
- readonly internalType: "uint128";
1933
- readonly name: "gasLimit";
1934
- readonly type: "uint128";
1935
- }, {
1936
- readonly indexed: false;
1937
- readonly internalType: "uint128";
1938
- readonly name: "nativeDropGasLimit";
1939
- readonly type: "uint128";
1940
- }];
1941
- readonly name: "GasLimitSet";
1942
- readonly type: "event";
1943
- }, {
1944
- readonly anonymous: false;
1945
- readonly inputs: readonly [{
1946
- readonly indexed: false;
1947
- readonly internalType: "uint16";
1948
- readonly name: "maxAssetId";
1949
- readonly type: "uint16";
1950
- }];
1951
- readonly name: "MaxAssetIdSet";
1952
- readonly type: "event";
1953
- }, {
1954
- readonly anonymous: false;
1955
- readonly inputs: readonly [{
1956
- readonly indexed: false;
1957
- readonly internalType: "uint32";
1958
- readonly name: "dstEid";
1959
- readonly type: "uint32";
1960
- }, {
1961
- readonly indexed: false;
1962
- readonly internalType: "uint8";
1963
- readonly name: "maxNumPassengers";
1964
- readonly type: "uint8";
1965
- }];
1966
- readonly name: "MaxNumPassengersSet";
1967
- readonly type: "event";
1968
- }, {
1969
- readonly anonymous: false;
1970
- readonly inputs: readonly [{
1971
- readonly indexed: false;
1972
- readonly internalType: "uint32";
1973
- readonly name: "dstEid";
1974
- readonly type: "uint32";
1975
- }, {
1976
- readonly indexed: false;
1977
- readonly internalType: "uint128";
1978
- readonly name: "nativeDropAmount";
1979
- readonly type: "uint128";
1980
- }];
1981
- readonly name: "NativeDropAmountSet";
1982
- readonly type: "event";
1983
- }, {
1984
- readonly anonymous: false;
1985
- readonly inputs: readonly [{
1986
- readonly indexed: false;
1987
- readonly internalType: "address";
1988
- readonly name: "receiver";
1989
- readonly type: "address";
1990
- }, {
1991
- readonly indexed: false;
1992
- readonly internalType: "uint128";
1993
- readonly name: "amount";
1994
- readonly type: "uint128";
1995
- }];
1996
- readonly name: "NativeDropApplied";
1997
- readonly type: "event";
1998
- }, {
1999
- readonly anonymous: false;
2000
- readonly inputs: readonly [{
2001
- readonly indexed: false;
2002
- readonly internalType: "address";
2003
- readonly name: "receiver";
2004
- readonly type: "address";
2005
- }, {
2006
- readonly indexed: false;
2007
- readonly internalType: "uint128";
2008
- readonly name: "amount";
2009
- readonly type: "uint128";
2010
- }];
2011
- readonly name: "NativeDropFailed";
2012
- readonly type: "event";
2013
- }, {
2014
- readonly anonymous: false;
2015
- readonly inputs: readonly [{
2016
- readonly indexed: true;
2017
- readonly internalType: "address";
2018
- readonly name: "previousOwner";
2019
- readonly type: "address";
2020
- }, {
2021
- readonly indexed: true;
2022
- readonly internalType: "address";
2023
- readonly name: "newOwner";
2024
- readonly type: "address";
2025
- }];
2026
- readonly name: "OwnershipTransferred";
2027
- readonly type: "event";
2028
- }, {
2029
- readonly anonymous: false;
2030
- readonly inputs: readonly [{
2031
- readonly indexed: false;
2032
- readonly internalType: "uint32";
2033
- readonly name: "eid";
2034
- readonly type: "uint32";
2035
- }, {
2036
- readonly indexed: false;
2037
- readonly internalType: "bytes32";
2038
- readonly name: "peer";
2039
- readonly type: "bytes32";
2040
- }];
2041
- readonly name: "PeerSet";
2042
- readonly type: "event";
2043
- }, {
2044
- readonly anonymous: false;
2045
- readonly inputs: readonly [{
2046
- readonly indexed: false;
2047
- readonly internalType: "address";
2048
- readonly name: "planner";
2049
- readonly type: "address";
2050
- }];
2051
- readonly name: "PlannerSet";
2052
- readonly type: "event";
2053
- }, {
2054
- readonly anonymous: false;
2055
- readonly inputs: readonly [{
2056
- readonly indexed: false;
2057
- readonly internalType: "address";
2058
- readonly name: "preCrimeAddress";
2059
- readonly type: "address";
2060
- }];
2061
- readonly name: "PreCrimeSet";
2062
- readonly type: "event";
2063
- }, {
2064
- readonly inputs: readonly [];
2065
- readonly name: "MSG_TYPE_BUS";
2066
- readonly outputs: readonly [{
2067
- readonly internalType: "uint8";
2068
- readonly name: "";
2069
- readonly type: "uint8";
2070
- }];
2071
- readonly stateMutability: "view";
2072
- readonly type: "function";
2073
- }, {
2074
- readonly inputs: readonly [];
2075
- readonly name: "MSG_TYPE_TAXI";
2076
- readonly outputs: readonly [{
2077
- readonly internalType: "uint8";
2078
- readonly name: "";
2079
- readonly type: "uint8";
2080
- }];
2081
- readonly stateMutability: "view";
2082
- readonly type: "function";
2083
- }, {
2084
- readonly inputs: readonly [{
2085
- readonly components: readonly [{
2086
- readonly internalType: "uint32";
2087
- readonly name: "srcEid";
2088
- readonly type: "uint32";
2089
- }, {
2090
- readonly internalType: "bytes32";
2091
- readonly name: "sender";
2092
- readonly type: "bytes32";
2093
- }, {
2094
- readonly internalType: "uint64";
2095
- readonly name: "nonce";
2096
- readonly type: "uint64";
2097
- }];
2098
- readonly internalType: "struct Origin";
2099
- readonly name: "origin";
2100
- readonly type: "tuple";
2101
- }];
2102
- readonly name: "allowInitializePath";
2103
- readonly outputs: readonly [{
2104
- readonly internalType: "bool";
2105
- readonly name: "";
2106
- readonly type: "bool";
2107
- }];
2108
- readonly stateMutability: "view";
2109
- readonly type: "function";
2110
- }, {
2111
- readonly inputs: readonly [{
2112
- readonly internalType: "address";
2113
- readonly name: "stargateImpl";
2114
- readonly type: "address";
2115
- }];
2116
- readonly name: "assetIds";
2117
- readonly outputs: readonly [{
2118
- readonly internalType: "uint16";
2119
- readonly name: "assetId";
2120
- readonly type: "uint16";
2121
- }];
2122
- readonly stateMutability: "view";
2123
- readonly type: "function";
2124
- }, {
2125
- readonly inputs: readonly [{
2126
- readonly internalType: "uint32";
2127
- readonly name: "dstEid";
2128
- readonly type: "uint32";
2129
- }];
2130
- readonly name: "busQueues";
2131
- readonly outputs: readonly [{
2132
- readonly internalType: "uint8";
2133
- readonly name: "maxNumPassengers";
2134
- readonly type: "uint8";
2135
- }, {
2136
- readonly internalType: "uint80";
2137
- readonly name: "busFare";
2138
- readonly type: "uint80";
2139
- }, {
2140
- readonly internalType: "uint80";
2141
- readonly name: "busAndNativeDropFare";
2142
- readonly type: "uint80";
2143
- }, {
2144
- readonly internalType: "uint16";
2145
- readonly name: "qLength";
2146
- readonly type: "uint16";
2147
- }, {
2148
- readonly internalType: "uint72";
2149
- readonly name: "nextTicketId";
2150
- readonly type: "uint72";
2151
- }];
2152
- readonly stateMutability: "view";
2153
- readonly type: "function";
2154
- }, {
2155
- readonly inputs: readonly [{
2156
- readonly internalType: "uint32";
2157
- readonly name: "_eid";
2158
- readonly type: "uint32";
2159
- }, {
2160
- readonly internalType: "uint16";
2161
- readonly name: "_msgType";
2162
- readonly type: "uint16";
2163
- }, {
2164
- readonly internalType: "bytes";
2165
- readonly name: "_extraOptions";
2166
- readonly type: "bytes";
2167
- }];
2168
- readonly name: "combineOptions";
2169
- readonly outputs: readonly [{
2170
- readonly internalType: "bytes";
2171
- readonly name: "";
2172
- readonly type: "bytes";
2173
- }];
2174
- readonly stateMutability: "view";
2175
- readonly type: "function";
2176
- }, {
2177
- readonly inputs: readonly [{
2178
- readonly internalType: "uint32";
2179
- readonly name: "_dstEid";
2180
- readonly type: "uint32";
2181
- }, {
2182
- readonly internalType: "bytes";
2183
- readonly name: "_passengers";
2184
- readonly type: "bytes";
2185
- }];
2186
- readonly name: "driveBus";
2187
- readonly outputs: readonly [{
2188
- readonly components: readonly [{
2189
- readonly internalType: "bytes32";
2190
- readonly name: "guid";
2191
- readonly type: "bytes32";
2192
- }, {
2193
- readonly internalType: "uint64";
2194
- readonly name: "nonce";
2195
- readonly type: "uint64";
2196
- }, {
2197
- readonly components: readonly [{
2198
- readonly internalType: "uint256";
2199
- readonly name: "nativeFee";
2200
- readonly type: "uint256";
2201
- }, {
2202
- readonly internalType: "uint256";
2203
- readonly name: "lzTokenFee";
2204
- readonly type: "uint256";
2205
- }];
2206
- readonly internalType: "struct MessagingFee";
2207
- readonly name: "fee";
2208
- readonly type: "tuple";
2209
- }];
2210
- readonly internalType: "struct MessagingReceipt";
2211
- readonly name: "receipt";
2212
- readonly type: "tuple";
2213
- }];
2214
- readonly stateMutability: "payable";
2215
- readonly type: "function";
2216
- }, {
2217
- readonly inputs: readonly [];
2218
- readonly name: "endpoint";
2219
- readonly outputs: readonly [{
2220
- readonly internalType: "contract ILayerZeroEndpointV2";
2221
- readonly name: "";
2222
- readonly type: "address";
2223
- }];
2224
- readonly stateMutability: "view";
2225
- readonly type: "function";
2226
- }, {
2227
- readonly inputs: readonly [{
2228
- readonly internalType: "uint32";
2229
- readonly name: "eid";
2230
- readonly type: "uint32";
2231
- }, {
2232
- readonly internalType: "uint16";
2233
- readonly name: "msgType";
2234
- readonly type: "uint16";
2235
- }];
2236
- readonly name: "enforcedOptions";
2237
- readonly outputs: readonly [{
2238
- readonly internalType: "bytes";
2239
- readonly name: "enforcedOption";
2240
- readonly type: "bytes";
2241
- }];
2242
- readonly stateMutability: "view";
2243
- readonly type: "function";
2244
- }, {
2245
- readonly inputs: readonly [{
2246
- readonly internalType: "uint32";
2247
- readonly name: "eid";
2248
- readonly type: "uint32";
2249
- }];
2250
- readonly name: "gasLimits";
2251
- readonly outputs: readonly [{
2252
- readonly internalType: "uint128";
2253
- readonly name: "gasLimit";
2254
- readonly type: "uint128";
2255
- }, {
2256
- readonly internalType: "uint128";
2257
- readonly name: "nativeDropGasLimit";
2258
- readonly type: "uint128";
2259
- }];
2260
- readonly stateMutability: "view";
2261
- readonly type: "function";
2262
- }, {
2263
- readonly inputs: readonly [{
2264
- readonly internalType: "uint32";
2265
- readonly name: "_dstEid";
2266
- readonly type: "uint32";
2267
- }, {
2268
- readonly internalType: "uint16";
2269
- readonly name: "_index";
2270
- readonly type: "uint16";
2271
- }];
2272
- readonly name: "getPassengerHash";
2273
- readonly outputs: readonly [{
2274
- readonly internalType: "bytes32";
2275
- readonly name: "hash";
2276
- readonly type: "bytes32";
2277
- }];
2278
- readonly stateMutability: "view";
2279
- readonly type: "function";
2280
- }, {
2281
- readonly inputs: readonly [];
2282
- readonly name: "getTransferGasLimit";
2283
- readonly outputs: readonly [{
2284
- readonly internalType: "uint256";
2285
- readonly name: "";
2286
- readonly type: "uint256";
2287
- }];
2288
- readonly stateMutability: "view";
2289
- readonly type: "function";
2290
- }, {
2291
- readonly inputs: readonly [{
2292
- readonly internalType: "uint32[]";
2293
- readonly name: "_dstEids";
2294
- readonly type: "uint32[]";
2295
- }, {
2296
- readonly internalType: "uint16";
2297
- readonly name: "_startSlot";
2298
- readonly type: "uint16";
2299
- }, {
2300
- readonly internalType: "uint16";
2301
- readonly name: "_endSlot";
2302
- readonly type: "uint16";
2303
- }];
2304
- readonly name: "initializeBusQueueStorage";
2305
- readonly outputs: readonly [];
2306
- readonly stateMutability: "nonpayable";
2307
- readonly type: "function";
2308
- }, {
2309
- readonly inputs: readonly [{
2310
- readonly components: readonly [{
2311
- readonly internalType: "uint32";
2312
- readonly name: "srcEid";
2313
- readonly type: "uint32";
2314
- }, {
2315
- readonly internalType: "bytes32";
2316
- readonly name: "sender";
2317
- readonly type: "bytes32";
2318
- }, {
2319
- readonly internalType: "uint64";
2320
- readonly name: "nonce";
2321
- readonly type: "uint64";
2322
- }];
2323
- readonly internalType: "struct Origin";
2324
- readonly name: "";
2325
- readonly type: "tuple";
2326
- }, {
2327
- readonly internalType: "bytes";
2328
- readonly name: "_message";
2329
- readonly type: "bytes";
2330
- }, {
2331
- readonly internalType: "address";
2332
- readonly name: "_sender";
2333
- readonly type: "address";
2334
- }];
2335
- readonly name: "isComposeMsgSender";
2336
- readonly outputs: readonly [{
2337
- readonly internalType: "bool";
2338
- readonly name: "";
2339
- readonly type: "bool";
2340
- }];
2341
- readonly stateMutability: "view";
2342
- readonly type: "function";
2343
- }, {
2344
- readonly inputs: readonly [{
2345
- readonly internalType: "uint32";
2346
- readonly name: "_eid";
2347
- readonly type: "uint32";
2348
- }, {
2349
- readonly internalType: "bytes32";
2350
- readonly name: "_peer";
2351
- readonly type: "bytes32";
2352
- }];
2353
- readonly name: "isPeer";
2354
- readonly outputs: readonly [{
2355
- readonly internalType: "bool";
2356
- readonly name: "";
2357
- readonly type: "bool";
2358
- }];
2359
- readonly stateMutability: "view";
2360
- readonly type: "function";
2361
- }, {
2362
- readonly inputs: readonly [{
2363
- readonly components: readonly [{
2364
- readonly internalType: "uint32";
2365
- readonly name: "srcEid";
2366
- readonly type: "uint32";
2367
- }, {
2368
- readonly internalType: "bytes32";
2369
- readonly name: "sender";
2370
- readonly type: "bytes32";
2371
- }, {
2372
- readonly internalType: "uint64";
2373
- readonly name: "nonce";
2374
- readonly type: "uint64";
2375
- }];
2376
- readonly internalType: "struct Origin";
2377
- readonly name: "_origin";
2378
- readonly type: "tuple";
2379
- }, {
2380
- readonly internalType: "bytes32";
2381
- readonly name: "_guid";
2382
- readonly type: "bytes32";
2383
- }, {
2384
- readonly internalType: "bytes";
2385
- readonly name: "_message";
2386
- readonly type: "bytes";
2387
- }, {
2388
- readonly internalType: "address";
2389
- readonly name: "_executor";
2390
- readonly type: "address";
2391
- }, {
2392
- readonly internalType: "bytes";
2393
- readonly name: "_extraData";
2394
- readonly type: "bytes";
2395
- }];
2396
- readonly name: "lzReceive";
2397
- readonly outputs: readonly [];
2398
- readonly stateMutability: "payable";
2399
- readonly type: "function";
2400
- }, {
2401
- readonly inputs: readonly [{
2402
- readonly components: readonly [{
2403
- readonly components: readonly [{
2404
- readonly internalType: "uint32";
2405
- readonly name: "srcEid";
2406
- readonly type: "uint32";
2407
- }, {
2408
- readonly internalType: "bytes32";
2409
- readonly name: "sender";
2410
- readonly type: "bytes32";
2411
- }, {
2412
- readonly internalType: "uint64";
2413
- readonly name: "nonce";
2414
- readonly type: "uint64";
2415
- }];
2416
- readonly internalType: "struct Origin";
2417
- readonly name: "origin";
2418
- readonly type: "tuple";
2419
- }, {
2420
- readonly internalType: "uint32";
2421
- readonly name: "dstEid";
2422
- readonly type: "uint32";
2423
- }, {
2424
- readonly internalType: "address";
2425
- readonly name: "receiver";
2426
- readonly type: "address";
2427
- }, {
2428
- readonly internalType: "bytes32";
2429
- readonly name: "guid";
2430
- readonly type: "bytes32";
2431
- }, {
2432
- readonly internalType: "uint256";
2433
- readonly name: "value";
2434
- readonly type: "uint256";
2435
- }, {
2436
- readonly internalType: "address";
2437
- readonly name: "executor";
2438
- readonly type: "address";
2439
- }, {
2440
- readonly internalType: "bytes";
2441
- readonly name: "message";
2442
- readonly type: "bytes";
2443
- }, {
2444
- readonly internalType: "bytes";
2445
- readonly name: "extraData";
2446
- readonly type: "bytes";
2447
- }];
2448
- readonly internalType: "struct InboundPacket[]";
2449
- readonly name: "_packets";
2450
- readonly type: "tuple[]";
2451
- }];
2452
- readonly name: "lzReceiveAndRevert";
2453
- readonly outputs: readonly [];
2454
- readonly stateMutability: "payable";
2455
- readonly type: "function";
2456
- }, {
2457
- readonly inputs: readonly [{
2458
- readonly components: readonly [{
2459
- readonly internalType: "uint32";
2460
- readonly name: "srcEid";
2461
- readonly type: "uint32";
2462
- }, {
2463
- readonly internalType: "bytes32";
2464
- readonly name: "sender";
2465
- readonly type: "bytes32";
2466
- }, {
2467
- readonly internalType: "uint64";
2468
- readonly name: "nonce";
2469
- readonly type: "uint64";
2470
- }];
2471
- readonly internalType: "struct Origin";
2472
- readonly name: "_origin";
2473
- readonly type: "tuple";
2474
- }, {
2475
- readonly internalType: "bytes32";
2476
- readonly name: "_guid";
2477
- readonly type: "bytes32";
2478
- }, {
2479
- readonly internalType: "bytes";
2480
- readonly name: "_message";
2481
- readonly type: "bytes";
2482
- }, {
2483
- readonly internalType: "address";
2484
- readonly name: "_executor";
2485
- readonly type: "address";
2486
- }, {
2487
- readonly internalType: "bytes";
2488
- readonly name: "_extraData";
2489
- readonly type: "bytes";
2490
- }];
2491
- readonly name: "lzReceiveSimulate";
2492
- readonly outputs: readonly [];
2493
- readonly stateMutability: "payable";
2494
- readonly type: "function";
2495
- }, {
2496
- readonly inputs: readonly [];
2497
- readonly name: "maxAssetId";
2498
- readonly outputs: readonly [{
2499
- readonly internalType: "uint16";
2500
- readonly name: "";
2501
- readonly type: "uint16";
2502
- }];
2503
- readonly stateMutability: "view";
2504
- readonly type: "function";
2505
- }, {
2506
- readonly inputs: readonly [{
2507
- readonly internalType: "uint32";
2508
- readonly name: "dstEid";
2509
- readonly type: "uint32";
2510
- }];
2511
- readonly name: "nativeDropAmounts";
2512
- readonly outputs: readonly [{
2513
- readonly internalType: "uint128";
2514
- readonly name: "nativeDropAmount";
2515
- readonly type: "uint128";
2516
- }];
2517
- readonly stateMutability: "view";
2518
- readonly type: "function";
2519
- }, {
2520
- readonly inputs: readonly [{
2521
- readonly internalType: "uint32";
2522
- readonly name: "";
2523
- readonly type: "uint32";
2524
- }, {
2525
- readonly internalType: "bytes32";
2526
- readonly name: "";
2527
- readonly type: "bytes32";
2528
- }];
2529
- readonly name: "nextNonce";
2530
- readonly outputs: readonly [{
2531
- readonly internalType: "uint64";
2532
- readonly name: "nonce";
2533
- readonly type: "uint64";
2534
- }];
2535
- readonly stateMutability: "view";
2536
- readonly type: "function";
2537
- }, {
2538
- readonly inputs: readonly [];
2539
- readonly name: "oApp";
2540
- readonly outputs: readonly [{
2541
- readonly internalType: "address";
2542
- readonly name: "";
2543
- readonly type: "address";
2544
- }];
2545
- readonly stateMutability: "view";
2546
- readonly type: "function";
2547
- }, {
2548
- readonly inputs: readonly [];
2549
- readonly name: "oAppVersion";
2550
- readonly outputs: readonly [{
2551
- readonly internalType: "uint64";
2552
- readonly name: "senderVersion";
2553
- readonly type: "uint64";
2554
- }, {
2555
- readonly internalType: "uint64";
2556
- readonly name: "receiverVersion";
2557
- readonly type: "uint64";
2558
- }];
2559
- readonly stateMutability: "pure";
2560
- readonly type: "function";
2561
- }, {
2562
- readonly inputs: readonly [];
2563
- readonly name: "owner";
2564
- readonly outputs: readonly [{
2565
- readonly internalType: "address";
2566
- readonly name: "";
2567
- readonly type: "address";
2568
- }];
2569
- readonly stateMutability: "view";
2570
- readonly type: "function";
2571
- }, {
2572
- readonly inputs: readonly [{
2573
- readonly internalType: "uint32";
2574
- readonly name: "eid";
2575
- readonly type: "uint32";
2576
- }];
2577
- readonly name: "peers";
2578
- readonly outputs: readonly [{
2579
- readonly internalType: "bytes32";
2580
- readonly name: "peer";
2581
- readonly type: "bytes32";
2582
- }];
2583
- readonly stateMutability: "view";
2584
- readonly type: "function";
2585
- }, {
2586
- readonly inputs: readonly [];
2587
- readonly name: "planner";
2588
- readonly outputs: readonly [{
2589
- readonly internalType: "address";
2590
- readonly name: "";
2591
- readonly type: "address";
2592
- }];
2593
- readonly stateMutability: "view";
2594
- readonly type: "function";
2595
- }, {
2596
- readonly inputs: readonly [];
2597
- readonly name: "preCrime";
2598
- readonly outputs: readonly [{
2599
- readonly internalType: "address";
2600
- readonly name: "";
2601
- readonly type: "address";
2602
- }];
2603
- readonly stateMutability: "view";
2604
- readonly type: "function";
2605
- }, {
2606
- readonly inputs: readonly [];
2607
- readonly name: "queueCapacity";
2608
- readonly outputs: readonly [{
2609
- readonly internalType: "uint16";
2610
- readonly name: "";
2611
- readonly type: "uint16";
2612
- }];
2613
- readonly stateMutability: "view";
2614
- readonly type: "function";
2615
- }, {
2616
- readonly inputs: readonly [{
2617
- readonly internalType: "uint32";
2618
- readonly name: "_dstEid";
2619
- readonly type: "uint32";
2620
- }, {
2621
- readonly internalType: "bytes";
2622
- readonly name: "_passengers";
2623
- readonly type: "bytes";
2624
- }];
2625
- readonly name: "quoteDriveBus";
2626
- readonly outputs: readonly [{
2627
- readonly components: readonly [{
2628
- readonly internalType: "uint256";
2629
- readonly name: "nativeFee";
2630
- readonly type: "uint256";
2631
- }, {
2632
- readonly internalType: "uint256";
2633
- readonly name: "lzTokenFee";
2634
- readonly type: "uint256";
2635
- }];
2636
- readonly internalType: "struct MessagingFee";
2637
- readonly name: "fee";
2638
- readonly type: "tuple";
2639
- }];
2640
- readonly stateMutability: "view";
2641
- readonly type: "function";
2642
- }, {
2643
- readonly inputs: readonly [{
2644
- readonly internalType: "uint32";
2645
- readonly name: "_dstEid";
2646
- readonly type: "uint32";
2647
- }, {
2648
- readonly internalType: "uint8";
2649
- readonly name: "_numPassengers";
2650
- readonly type: "uint8";
2651
- }];
2652
- readonly name: "quoteFares";
2653
- readonly outputs: readonly [{
2654
- readonly internalType: "uint256";
2655
- readonly name: "busFare";
2656
- readonly type: "uint256";
2657
- }, {
2658
- readonly internalType: "uint256";
2659
- readonly name: "busAndNativeDropFare";
2660
- readonly type: "uint256";
2661
- }];
2662
- readonly stateMutability: "view";
2663
- readonly type: "function";
2664
- }, {
2665
- readonly inputs: readonly [{
2666
- readonly internalType: "uint32";
2667
- readonly name: "_dstEid";
2668
- readonly type: "uint32";
2669
- }, {
2670
- readonly internalType: "bool";
2671
- readonly name: "_airdrop";
2672
- readonly type: "bool";
2673
- }];
2674
- readonly name: "quoteRideBus";
2675
- readonly outputs: readonly [{
2676
- readonly components: readonly [{
2677
- readonly internalType: "uint256";
2678
- readonly name: "nativeFee";
2679
- readonly type: "uint256";
2680
- }, {
2681
- readonly internalType: "uint256";
2682
- readonly name: "lzTokenFee";
2683
- readonly type: "uint256";
2684
- }];
2685
- readonly internalType: "struct MessagingFee";
2686
- readonly name: "fee";
2687
- readonly type: "tuple";
2688
- }];
2689
- readonly stateMutability: "view";
2690
- readonly type: "function";
2691
- }, {
2692
- readonly inputs: readonly [{
2693
- readonly components: readonly [{
2694
- readonly internalType: "address";
2695
- readonly name: "sender";
2696
- readonly type: "address";
2697
- }, {
2698
- readonly internalType: "uint32";
2699
- readonly name: "dstEid";
2700
- readonly type: "uint32";
2701
- }, {
2702
- readonly internalType: "bytes32";
2703
- readonly name: "receiver";
2704
- readonly type: "bytes32";
2705
- }, {
2706
- readonly internalType: "uint64";
2707
- readonly name: "amountSD";
2708
- readonly type: "uint64";
2709
- }, {
2710
- readonly internalType: "bytes";
2711
- readonly name: "composeMsg";
2712
- readonly type: "bytes";
2713
- }, {
2714
- readonly internalType: "bytes";
2715
- readonly name: "extraOptions";
2716
- readonly type: "bytes";
2717
- }];
2718
- readonly internalType: "struct TaxiParams";
2719
- readonly name: "_params";
2720
- readonly type: "tuple";
2721
- }, {
2722
- readonly internalType: "bool";
2723
- readonly name: "_payInLzToken";
2724
- readonly type: "bool";
2725
- }];
2726
- readonly name: "quoteTaxi";
2727
- readonly outputs: readonly [{
2728
- readonly components: readonly [{
2729
- readonly internalType: "uint256";
2730
- readonly name: "nativeFee";
2731
- readonly type: "uint256";
2732
- }, {
2733
- readonly internalType: "uint256";
2734
- readonly name: "lzTokenFee";
2735
- readonly type: "uint256";
2736
- }];
2737
- readonly internalType: "struct MessagingFee";
2738
- readonly name: "fee";
2739
- readonly type: "tuple";
2740
- }];
2741
- readonly stateMutability: "view";
2742
- readonly type: "function";
2743
- }, {
2744
- readonly inputs: readonly [];
2745
- readonly name: "renounceOwnership";
2746
- readonly outputs: readonly [];
2747
- readonly stateMutability: "nonpayable";
2748
- readonly type: "function";
2749
- }, {
2750
- readonly inputs: readonly [{
2751
- readonly components: readonly [{
2752
- readonly internalType: "address";
2753
- readonly name: "sender";
2754
- readonly type: "address";
2755
- }, {
2756
- readonly internalType: "uint32";
2757
- readonly name: "dstEid";
2758
- readonly type: "uint32";
2759
- }, {
2760
- readonly internalType: "bytes32";
2761
- readonly name: "receiver";
2762
- readonly type: "bytes32";
2763
- }, {
2764
- readonly internalType: "uint64";
2765
- readonly name: "amountSD";
2766
- readonly type: "uint64";
2767
- }, {
2768
- readonly internalType: "bool";
2769
- readonly name: "nativeDrop";
2770
- readonly type: "bool";
2771
- }];
2772
- readonly internalType: "struct RideBusParams";
2773
- readonly name: "_params";
2774
- readonly type: "tuple";
2775
- }];
2776
- readonly name: "rideBus";
2777
- readonly outputs: readonly [{
2778
- readonly components: readonly [{
2779
- readonly internalType: "bytes32";
2780
- readonly name: "guid";
2781
- readonly type: "bytes32";
2782
- }, {
2783
- readonly internalType: "uint64";
2784
- readonly name: "nonce";
2785
- readonly type: "uint64";
2786
- }, {
2787
- readonly components: readonly [{
2788
- readonly internalType: "uint256";
2789
- readonly name: "nativeFee";
2790
- readonly type: "uint256";
2791
- }, {
2792
- readonly internalType: "uint256";
2793
- readonly name: "lzTokenFee";
2794
- readonly type: "uint256";
2795
- }];
2796
- readonly internalType: "struct MessagingFee";
2797
- readonly name: "fee";
2798
- readonly type: "tuple";
2799
- }];
2800
- readonly internalType: "struct MessagingReceipt";
2801
- readonly name: "receipt";
2802
- readonly type: "tuple";
2803
- }, {
2804
- readonly components: readonly [{
2805
- readonly internalType: "uint72";
2806
- readonly name: "ticketId";
2807
- readonly type: "uint72";
2808
- }, {
2809
- readonly internalType: "bytes";
2810
- readonly name: "passengerBytes";
2811
- readonly type: "bytes";
2812
- }];
2813
- readonly internalType: "struct Ticket";
2814
- readonly name: "ticket";
2815
- readonly type: "tuple";
2816
- }];
2817
- readonly stateMutability: "nonpayable";
2818
- readonly type: "function";
2819
- }, {
2820
- readonly inputs: readonly [{
2821
- readonly internalType: "address";
2822
- readonly name: "_stargateImpl";
2823
- readonly type: "address";
2824
- }, {
2825
- readonly internalType: "uint16";
2826
- readonly name: "_assetId";
2827
- readonly type: "uint16";
2828
- }];
2829
- readonly name: "setAssetId";
2830
- readonly outputs: readonly [];
2831
- readonly stateMutability: "nonpayable";
2832
- readonly type: "function";
2833
- }, {
2834
- readonly inputs: readonly [{
2835
- readonly internalType: "address";
2836
- readonly name: "_delegate";
2837
- readonly type: "address";
2838
- }];
2839
- readonly name: "setDelegate";
2840
- readonly outputs: readonly [];
2841
- readonly stateMutability: "nonpayable";
2842
- readonly type: "function";
2843
- }, {
2844
- readonly inputs: readonly [{
2845
- readonly components: readonly [{
2846
- readonly internalType: "uint32";
2847
- readonly name: "eid";
2848
- readonly type: "uint32";
2849
- }, {
2850
- readonly internalType: "uint16";
2851
- readonly name: "msgType";
2852
- readonly type: "uint16";
2853
- }, {
2854
- readonly internalType: "bytes";
2855
- readonly name: "options";
2856
- readonly type: "bytes";
2857
- }];
2858
- readonly internalType: "struct EnforcedOptionParam[]";
2859
- readonly name: "_enforcedOptions";
2860
- readonly type: "tuple[]";
2861
- }];
2862
- readonly name: "setEnforcedOptions";
2863
- readonly outputs: readonly [];
2864
- readonly stateMutability: "nonpayable";
2865
- readonly type: "function";
2866
- }, {
2867
- readonly inputs: readonly [{
2868
- readonly internalType: "uint32";
2869
- readonly name: "_dstEid";
2870
- readonly type: "uint32";
2871
- }, {
2872
- readonly internalType: "uint80";
2873
- readonly name: "_busFare";
2874
- readonly type: "uint80";
2875
- }, {
2876
- readonly internalType: "uint80";
2877
- readonly name: "_busAndNativeDropFare";
2878
- readonly type: "uint80";
2879
- }];
2880
- readonly name: "setFares";
2881
- readonly outputs: readonly [];
2882
- readonly stateMutability: "nonpayable";
2883
- readonly type: "function";
2884
- }, {
2885
- readonly inputs: readonly [{
2886
- readonly internalType: "uint32";
2887
- readonly name: "_eid";
2888
- readonly type: "uint32";
2889
- }, {
2890
- readonly internalType: "uint128";
2891
- readonly name: "_gasLimit";
2892
- readonly type: "uint128";
2893
- }, {
2894
- readonly internalType: "uint128";
2895
- readonly name: "_nativeDropGasLimit";
2896
- readonly type: "uint128";
2897
- }];
2898
- readonly name: "setGasLimit";
2899
- readonly outputs: readonly [];
2900
- readonly stateMutability: "nonpayable";
2901
- readonly type: "function";
2902
- }, {
2903
- readonly inputs: readonly [{
2904
- readonly internalType: "uint16";
2905
- readonly name: "_maxAssetId";
2906
- readonly type: "uint16";
2907
- }];
2908
- readonly name: "setMaxAssetId";
2909
- readonly outputs: readonly [];
2910
- readonly stateMutability: "nonpayable";
2911
- readonly type: "function";
2912
- }, {
2913
- readonly inputs: readonly [{
2914
- readonly internalType: "uint32";
2915
- readonly name: "_dstEid";
2916
- readonly type: "uint32";
2917
- }, {
2918
- readonly internalType: "uint8";
2919
- readonly name: "_maxNumPassengers";
2920
- readonly type: "uint8";
2921
- }];
2922
- readonly name: "setMaxNumPassengers";
2923
- readonly outputs: readonly [];
2924
- readonly stateMutability: "nonpayable";
2925
- readonly type: "function";
2926
- }, {
2927
- readonly inputs: readonly [{
2928
- readonly internalType: "uint32";
2929
- readonly name: "_dstEid";
2930
- readonly type: "uint32";
2931
- }, {
2932
- readonly internalType: "uint128";
2933
- readonly name: "_nativeDropAmount";
2934
- readonly type: "uint128";
2935
- }];
2936
- readonly name: "setNativeDropAmount";
2937
- readonly outputs: readonly [];
2938
- readonly stateMutability: "nonpayable";
2939
- readonly type: "function";
2940
- }, {
2941
- readonly inputs: readonly [{
2942
- readonly internalType: "uint32";
2943
- readonly name: "_eid";
2944
- readonly type: "uint32";
2945
- }, {
2946
- readonly internalType: "bytes32";
2947
- readonly name: "_peer";
2948
- readonly type: "bytes32";
2949
- }];
2950
- readonly name: "setPeer";
2951
- readonly outputs: readonly [];
2952
- readonly stateMutability: "nonpayable";
2953
- readonly type: "function";
2954
- }, {
2955
- readonly inputs: readonly [{
2956
- readonly internalType: "address";
2957
- readonly name: "_planner";
2958
- readonly type: "address";
2959
- }];
2960
- readonly name: "setPlanner";
2961
- readonly outputs: readonly [];
2962
- readonly stateMutability: "nonpayable";
2963
- readonly type: "function";
2964
- }, {
2965
- readonly inputs: readonly [{
2966
- readonly internalType: "address";
2967
- readonly name: "_preCrime";
2968
- readonly type: "address";
2969
- }];
2970
- readonly name: "setPreCrime";
2971
- readonly outputs: readonly [];
2972
- readonly stateMutability: "nonpayable";
2973
- readonly type: "function";
2974
- }, {
2975
- readonly inputs: readonly [{
2976
- readonly internalType: "uint256";
2977
- readonly name: "_gasLimit";
2978
- readonly type: "uint256";
2979
- }];
2980
- readonly name: "setTransferGasLimit";
2981
- readonly outputs: readonly [];
2982
- readonly stateMutability: "nonpayable";
2983
- readonly type: "function";
2984
- }, {
2985
- readonly inputs: readonly [{
2986
- readonly internalType: "uint16";
2987
- readonly name: "assetId";
2988
- readonly type: "uint16";
2989
- }];
2990
- readonly name: "stargateImpls";
2991
- readonly outputs: readonly [{
2992
- readonly internalType: "address";
2993
- readonly name: "stargateImpl";
2994
- readonly type: "address";
2995
- }];
2996
- readonly stateMutability: "view";
2997
- readonly type: "function";
2998
- }, {
2999
- readonly inputs: readonly [{
3000
- readonly components: readonly [{
3001
- readonly internalType: "address";
3002
- readonly name: "sender";
3003
- readonly type: "address";
3004
- }, {
3005
- readonly internalType: "uint32";
3006
- readonly name: "dstEid";
3007
- readonly type: "uint32";
3008
- }, {
3009
- readonly internalType: "bytes32";
3010
- readonly name: "receiver";
3011
- readonly type: "bytes32";
3012
- }, {
3013
- readonly internalType: "uint64";
3014
- readonly name: "amountSD";
3015
- readonly type: "uint64";
3016
- }, {
3017
- readonly internalType: "bytes";
3018
- readonly name: "composeMsg";
3019
- readonly type: "bytes";
3020
- }, {
3021
- readonly internalType: "bytes";
3022
- readonly name: "extraOptions";
3023
- readonly type: "bytes";
3024
- }];
3025
- readonly internalType: "struct TaxiParams";
3026
- readonly name: "_params";
3027
- readonly type: "tuple";
3028
- }, {
3029
- readonly components: readonly [{
3030
- readonly internalType: "uint256";
3031
- readonly name: "nativeFee";
3032
- readonly type: "uint256";
3033
- }, {
3034
- readonly internalType: "uint256";
3035
- readonly name: "lzTokenFee";
3036
- readonly type: "uint256";
3037
- }];
3038
- readonly internalType: "struct MessagingFee";
3039
- readonly name: "_messagingFee";
3040
- readonly type: "tuple";
3041
- }, {
3042
- readonly internalType: "address";
3043
- readonly name: "_refundAddress";
3044
- readonly type: "address";
3045
- }];
3046
- readonly name: "taxi";
3047
- readonly outputs: readonly [{
3048
- readonly components: readonly [{
3049
- readonly internalType: "bytes32";
3050
- readonly name: "guid";
3051
- readonly type: "bytes32";
3052
- }, {
3053
- readonly internalType: "uint64";
3054
- readonly name: "nonce";
3055
- readonly type: "uint64";
3056
- }, {
3057
- readonly components: readonly [{
3058
- readonly internalType: "uint256";
3059
- readonly name: "nativeFee";
3060
- readonly type: "uint256";
3061
- }, {
3062
- readonly internalType: "uint256";
3063
- readonly name: "lzTokenFee";
3064
- readonly type: "uint256";
3065
- }];
3066
- readonly internalType: "struct MessagingFee";
3067
- readonly name: "fee";
3068
- readonly type: "tuple";
3069
- }];
3070
- readonly internalType: "struct MessagingReceipt";
3071
- readonly name: "receipt";
3072
- readonly type: "tuple";
3073
- }];
3074
- readonly stateMutability: "payable";
3075
- readonly type: "function";
3076
- }, {
3077
- readonly inputs: readonly [{
3078
- readonly internalType: "address";
3079
- readonly name: "newOwner";
3080
- readonly type: "address";
3081
- }];
3082
- readonly name: "transferOwnership";
3083
- readonly outputs: readonly [];
3084
- readonly stateMutability: "nonpayable";
3085
- readonly type: "function";
3086
- }];
3087
- type Abi0 = typeof abi0;
3088
- type Abi1 = typeof abi1;
3089
- type Abis = {
3090
- "abstract-mainnet": Abi0;
3091
- "ape-mainnet": Abi0;
3092
- "apexfusionnexus-mainnet": Abi0;
3093
- "arbitrum-mainnet": Abi0;
3094
- "arbsep-testnet": Abi0;
3095
- "aurora-mainnet": Abi0;
3096
- "avalanche-mainnet": Abi0;
3097
- "avalanche-testnet": Abi0;
3098
- "base-mainnet": Abi0;
3099
- "bera-mainnet": Abi0;
3100
- "bl3-testnet": Abi0;
3101
- "botanix-mainnet": Abi0;
3102
- "bsc-mainnet": Abi0;
3103
- "bsc-sandbox-local": Abi0;
3104
- "bsc-testnet": Abi0;
3105
- "camp-mainnet": Abi0;
3106
- "coredao-mainnet": Abi0;
3107
- "cronosevm-mainnet": Abi0;
3108
- "degen-mainnet": Abi0;
3109
- "doma-mainnet": Abi0;
3110
- "edu-mainnet": Abi0;
3111
- "ethereum-mainnet": Abi0;
3112
- "ethereum-sandbox-local": Abi0;
3113
- "flare-mainnet": Abi0;
3114
- "flow-mainnet": Abi0;
3115
- "fuse-mainnet": Abi0;
3116
- "gatelayer-mainnet": Abi0;
3117
- "glue-mainnet": Abi0;
3118
- "gnosis-mainnet": Abi0;
3119
- "goat-mainnet": Abi0;
3120
- "gravity-mainnet": Abi0;
3121
- "hedera-mainnet": Abi0;
3122
- "hemi-mainnet": Abi0;
3123
- "horizen-mainnet": Abi0;
3124
- "injectiveevm-mainnet": Abi0;
3125
- "ink-mainnet": Abi0;
3126
- "iota-mainnet": Abi0;
3127
- "islander-mainnet": Abi0;
3128
- "kava-mainnet": Abi0;
3129
- "klaytn-mainnet": Abi0;
3130
- "klaytn-testnet": Abi0;
3131
- "lightlink-mainnet": Abi0;
3132
- "manta-mainnet": Abi0;
3133
- "mantle-mainnet": Abi0;
3134
- "mantlesep-testnet": Abi0;
3135
- "metis-mainnet": Abi0;
3136
- "moca-mainnet": Abi0;
3137
- "moderato-testnet": Abi1;
3138
- "monad-testnet": Abi0;
3139
- "nibiru-mainnet": Abi0;
3140
- "odyssey-testnet": Abi0;
3141
- "og-mainnet": Abi0;
3142
- "optimism-mainnet": Abi0;
3143
- "optsep-testnet": Abi0;
3144
- "orderly-mainnet": Abi0;
3145
- "peaq-mainnet": Abi0;
3146
- "plasma-mainnet": Abi0;
3147
- "plumephoenix-mainnet": Abi0;
3148
- "polygon-mainnet": Abi0;
3149
- "polygon-sandbox-local": Abi0;
3150
- "rarible-mainnet": Abi0;
3151
- "redbelly-mainnet": Abi0;
3152
- "rootstock-mainnet": Abi0;
3153
- "scroll-mainnet": Abi0;
3154
- "sei-mainnet": Abi0;
3155
- "sepolia-testnet": Abi0;
3156
- "somnia-mainnet": Abi0;
3157
- "soneium-mainnet": Abi0;
3158
- "sonic-mainnet": Abi0;
3159
- "sophon-mainnet": Abi0;
3160
- "stable-mainnet": Abi0;
3161
- "story-mainnet": Abi0;
3162
- "superposition-mainnet": Abi0;
3163
- "swell-mainnet": Abi0;
3164
- "taiko-mainnet": Abi0;
3165
- "telos-mainnet": Abi0;
3166
- "tempo-mainnet": Abi0;
3167
- "unichain-mainnet": Abi0;
3168
- "xdc-mainnet": Abi0;
3169
- "zkconsensys-mainnet": Abi0;
3170
- };
3171
- declare const abis: Abis;
3172
-
3173
- declare const TokenMessaging_abis: typeof abis;
3174
- declare const TokenMessaging_addresses: typeof addresses;
3175
- declare const TokenMessaging_transactionHashes: typeof transactionHashes;
3176
- declare namespace TokenMessaging {
3177
- export { TokenMessaging_abis as abis, TokenMessaging_addresses as addresses, TokenMessaging_transactionHashes as transactionHashes };
3178
- }
3179
-
3180
- export { TokenMessaging as T, addresses as a, abis as b, transactionHashes as t };