@dripfi/drip-sdk 1.4.28-bridge-perq → 1.4.28-silo-sdk

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 (40) hide show
  1. package/README.md +45 -16
  2. package/dist/PerqSdk.d.ts +6 -7
  3. package/dist/PerqSdk.js +8 -13
  4. package/dist/abi/index.d.ts +0 -286
  5. package/dist/abi/index.js +4 -8
  6. package/dist/contracts/{BasePerqContract.d.ts → BaseContract.d.ts} +1 -1
  7. package/dist/contracts/{BasePerqContract.js → BaseContract.js} +2 -2
  8. package/dist/contracts/index.d.ts +6 -8
  9. package/dist/contracts/index.js +7 -11
  10. package/dist/contracts/{PerqSwapAndRecyclerContract.d.ts → perq/PerqSwapAndRecyclerContract.d.ts} +3 -3
  11. package/dist/contracts/{PerqSwapAndRecyclerContract.js → perq/PerqSwapAndRecyclerContract.js} +3 -3
  12. package/dist/contracts/{PerqTokenContract.d.ts → perq/PerqTokenContract.d.ts} +2 -2
  13. package/dist/contracts/{PerqTokenContract.js → perq/PerqTokenContract.js} +3 -3
  14. package/dist/contracts/{PerqTokenRecyclerContract.d.ts → perq/PerqTokenRecyclerContract.d.ts} +3 -3
  15. package/dist/contracts/{PerqTokenRecyclerContract.js → perq/PerqTokenRecyclerContract.js} +3 -3
  16. package/dist/contracts/{PerqVestingContract.d.ts → perq/PerqVestingContract.d.ts} +3 -3
  17. package/dist/contracts/{PerqVestingContract.js → perq/PerqVestingContract.js} +3 -3
  18. package/dist/subpackages/SiloPackage.d.ts +18 -0
  19. package/dist/subpackages/SiloPackage.js +115 -0
  20. package/dist/subpackages/VaultHandlerPackage.d.ts +37 -0
  21. package/dist/subpackages/VaultHandlerPackage.js +154 -0
  22. package/dist/types/DeployedProject.d.ts +1 -0
  23. package/dist/types/PerqConfig.d.ts +0 -2
  24. package/dist/types/PerqConfig.js +0 -4
  25. package/dist/types/SdkType.d.ts +2 -0
  26. package/dist/types/SdkType.js +2 -0
  27. package/dist/types/VaultData.d.ts +2 -0
  28. package/package.json +2 -1
  29. package/dist/abi/BridgeMainnetPerqToSonicAbi.json +0 -598
  30. package/dist/abi/BridgeSonicPerqToMainnetAbi.json +0 -733
  31. package/dist/contracts/BridgeMainnetPerqToSonicContract.d.ts +0 -26
  32. package/dist/contracts/BridgeMainnetPerqToSonicContract.js +0 -48
  33. package/dist/contracts/BridgeSonicPerqToMainnetContract.d.ts +0 -26
  34. package/dist/contracts/BridgeSonicPerqToMainnetContract.js +0 -48
  35. package/dist/subpackages/BridgePerqPackage.d.ts +0 -33
  36. package/dist/subpackages/BridgePerqPackage.js +0 -201
  37. /package/dist/abi/{PerqSwapAndRecyclerAbi.json → perq/PerqSwapAndRecyclerAbi.json} +0 -0
  38. /package/dist/abi/{PerqTokenAbi.json → perq/PerqTokenAbi.json} +0 -0
  39. /package/dist/abi/{PerqVestingAbi.json → perq/PerqVestingAbi.json} +0 -0
  40. /package/dist/abi/{TokenRecyclerAbi.json → perq/TokenRecyclerAbi.json} +0 -0
@@ -1,598 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- { "internalType": "address", "name": "_token", "type": "address" },
5
- { "internalType": "address", "name": "_lzEndpoint", "type": "address" },
6
- { "internalType": "address", "name": "_owner", "type": "address" }
7
- ],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
- { "inputs": [], "name": "InvalidDelegate", "type": "error" },
12
- { "inputs": [], "name": "InvalidEndpointCall", "type": "error" },
13
- { "inputs": [], "name": "InvalidLocalDecimals", "type": "error" },
14
- {
15
- "inputs": [{ "internalType": "bytes", "name": "options", "type": "bytes" }],
16
- "name": "InvalidOptions",
17
- "type": "error"
18
- },
19
- { "inputs": [], "name": "LzTokenUnavailable", "type": "error" },
20
- { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "NoPeer", "type": "error" },
21
- {
22
- "inputs": [{ "internalType": "uint256", "name": "msgValue", "type": "uint256" }],
23
- "name": "NotEnoughNative",
24
- "type": "error"
25
- },
26
- {
27
- "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }],
28
- "name": "OnlyEndpoint",
29
- "type": "error"
30
- },
31
- {
32
- "inputs": [
33
- { "internalType": "uint32", "name": "eid", "type": "uint32" },
34
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" }
35
- ],
36
- "name": "OnlyPeer",
37
- "type": "error"
38
- },
39
- { "inputs": [], "name": "OnlySelf", "type": "error" },
40
- {
41
- "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }],
42
- "name": "OwnableInvalidOwner",
43
- "type": "error"
44
- },
45
- {
46
- "inputs": [{ "internalType": "address", "name": "account", "type": "address" }],
47
- "name": "OwnableUnauthorizedAccount",
48
- "type": "error"
49
- },
50
- {
51
- "inputs": [{ "internalType": "address", "name": "token", "type": "address" }],
52
- "name": "SafeERC20FailedOperation",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [{ "internalType": "bytes", "name": "result", "type": "bytes" }],
57
- "name": "SimulationResult",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [
62
- { "internalType": "uint256", "name": "amountLD", "type": "uint256" },
63
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }
64
- ],
65
- "name": "SlippageExceeded",
66
- "type": "error"
67
- },
68
- {
69
- "anonymous": false,
70
- "inputs": [
71
- {
72
- "components": [
73
- { "internalType": "uint32", "name": "eid", "type": "uint32" },
74
- { "internalType": "uint16", "name": "msgType", "type": "uint16" },
75
- { "internalType": "bytes", "name": "options", "type": "bytes" }
76
- ],
77
- "indexed": false,
78
- "internalType": "struct EnforcedOptionParam[]",
79
- "name": "_enforcedOptions",
80
- "type": "tuple[]"
81
- }
82
- ],
83
- "name": "EnforcedOptionSet",
84
- "type": "event"
85
- },
86
- {
87
- "anonymous": false,
88
- "inputs": [{ "indexed": false, "internalType": "address", "name": "inspector", "type": "address" }],
89
- "name": "MsgInspectorSet",
90
- "type": "event"
91
- },
92
- {
93
- "anonymous": false,
94
- "inputs": [
95
- { "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" },
96
- { "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" },
97
- { "indexed": true, "internalType": "address", "name": "toAddress", "type": "address" },
98
- { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }
99
- ],
100
- "name": "OFTReceived",
101
- "type": "event"
102
- },
103
- {
104
- "anonymous": false,
105
- "inputs": [
106
- { "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" },
107
- { "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" },
108
- { "indexed": true, "internalType": "address", "name": "fromAddress", "type": "address" },
109
- { "indexed": false, "internalType": "uint256", "name": "amountSentLD", "type": "uint256" },
110
- { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }
111
- ],
112
- "name": "OFTSent",
113
- "type": "event"
114
- },
115
- {
116
- "anonymous": false,
117
- "inputs": [
118
- { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
119
- { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
120
- ],
121
- "name": "OwnershipTransferred",
122
- "type": "event"
123
- },
124
- {
125
- "anonymous": false,
126
- "inputs": [
127
- { "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" },
128
- { "indexed": false, "internalType": "bytes32", "name": "peer", "type": "bytes32" }
129
- ],
130
- "name": "PeerSet",
131
- "type": "event"
132
- },
133
- {
134
- "anonymous": false,
135
- "inputs": [{ "indexed": false, "internalType": "address", "name": "preCrimeAddress", "type": "address" }],
136
- "name": "PreCrimeSet",
137
- "type": "event"
138
- },
139
- {
140
- "inputs": [],
141
- "name": "SEND",
142
- "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
143
- "stateMutability": "view",
144
- "type": "function"
145
- },
146
- {
147
- "inputs": [],
148
- "name": "SEND_AND_CALL",
149
- "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
150
- "stateMutability": "view",
151
- "type": "function"
152
- },
153
- {
154
- "inputs": [
155
- {
156
- "components": [
157
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
158
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
159
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
160
- ],
161
- "internalType": "struct Origin",
162
- "name": "origin",
163
- "type": "tuple"
164
- }
165
- ],
166
- "name": "allowInitializePath",
167
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
168
- "stateMutability": "view",
169
- "type": "function"
170
- },
171
- {
172
- "inputs": [],
173
- "name": "approvalRequired",
174
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
175
- "stateMutability": "pure",
176
- "type": "function"
177
- },
178
- {
179
- "inputs": [
180
- { "internalType": "uint32", "name": "_eid", "type": "uint32" },
181
- { "internalType": "uint16", "name": "_msgType", "type": "uint16" },
182
- { "internalType": "bytes", "name": "_extraOptions", "type": "bytes" }
183
- ],
184
- "name": "combineOptions",
185
- "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
186
- "stateMutability": "view",
187
- "type": "function"
188
- },
189
- {
190
- "inputs": [],
191
- "name": "decimalConversionRate",
192
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
193
- "stateMutability": "view",
194
- "type": "function"
195
- },
196
- {
197
- "inputs": [],
198
- "name": "endpoint",
199
- "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }],
200
- "stateMutability": "view",
201
- "type": "function"
202
- },
203
- {
204
- "inputs": [
205
- { "internalType": "uint32", "name": "eid", "type": "uint32" },
206
- { "internalType": "uint16", "name": "msgType", "type": "uint16" }
207
- ],
208
- "name": "enforcedOptions",
209
- "outputs": [{ "internalType": "bytes", "name": "enforcedOption", "type": "bytes" }],
210
- "stateMutability": "view",
211
- "type": "function"
212
- },
213
- {
214
- "inputs": [
215
- {
216
- "components": [
217
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
218
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
219
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
220
- ],
221
- "internalType": "struct Origin",
222
- "name": "",
223
- "type": "tuple"
224
- },
225
- { "internalType": "bytes", "name": "", "type": "bytes" },
226
- { "internalType": "address", "name": "_sender", "type": "address" }
227
- ],
228
- "name": "isComposeMsgSender",
229
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
230
- "stateMutability": "view",
231
- "type": "function"
232
- },
233
- {
234
- "inputs": [
235
- { "internalType": "uint32", "name": "_eid", "type": "uint32" },
236
- { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }
237
- ],
238
- "name": "isPeer",
239
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
240
- "stateMutability": "view",
241
- "type": "function"
242
- },
243
- {
244
- "inputs": [
245
- {
246
- "components": [
247
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
248
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
249
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
250
- ],
251
- "internalType": "struct Origin",
252
- "name": "_origin",
253
- "type": "tuple"
254
- },
255
- { "internalType": "bytes32", "name": "_guid", "type": "bytes32" },
256
- { "internalType": "bytes", "name": "_message", "type": "bytes" },
257
- { "internalType": "address", "name": "_executor", "type": "address" },
258
- { "internalType": "bytes", "name": "_extraData", "type": "bytes" }
259
- ],
260
- "name": "lzReceive",
261
- "outputs": [],
262
- "stateMutability": "payable",
263
- "type": "function"
264
- },
265
- {
266
- "inputs": [
267
- {
268
- "components": [
269
- {
270
- "components": [
271
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
272
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
273
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
274
- ],
275
- "internalType": "struct Origin",
276
- "name": "origin",
277
- "type": "tuple"
278
- },
279
- { "internalType": "uint32", "name": "dstEid", "type": "uint32" },
280
- { "internalType": "address", "name": "receiver", "type": "address" },
281
- { "internalType": "bytes32", "name": "guid", "type": "bytes32" },
282
- { "internalType": "uint256", "name": "value", "type": "uint256" },
283
- { "internalType": "address", "name": "executor", "type": "address" },
284
- { "internalType": "bytes", "name": "message", "type": "bytes" },
285
- { "internalType": "bytes", "name": "extraData", "type": "bytes" }
286
- ],
287
- "internalType": "struct InboundPacket[]",
288
- "name": "_packets",
289
- "type": "tuple[]"
290
- }
291
- ],
292
- "name": "lzReceiveAndRevert",
293
- "outputs": [],
294
- "stateMutability": "payable",
295
- "type": "function"
296
- },
297
- {
298
- "inputs": [
299
- {
300
- "components": [
301
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
302
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
303
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
304
- ],
305
- "internalType": "struct Origin",
306
- "name": "_origin",
307
- "type": "tuple"
308
- },
309
- { "internalType": "bytes32", "name": "_guid", "type": "bytes32" },
310
- { "internalType": "bytes", "name": "_message", "type": "bytes" },
311
- { "internalType": "address", "name": "_executor", "type": "address" },
312
- { "internalType": "bytes", "name": "_extraData", "type": "bytes" }
313
- ],
314
- "name": "lzReceiveSimulate",
315
- "outputs": [],
316
- "stateMutability": "payable",
317
- "type": "function"
318
- },
319
- {
320
- "inputs": [],
321
- "name": "msgInspector",
322
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
323
- "stateMutability": "view",
324
- "type": "function"
325
- },
326
- {
327
- "inputs": [
328
- { "internalType": "uint32", "name": "", "type": "uint32" },
329
- { "internalType": "bytes32", "name": "", "type": "bytes32" }
330
- ],
331
- "name": "nextNonce",
332
- "outputs": [{ "internalType": "uint64", "name": "nonce", "type": "uint64" }],
333
- "stateMutability": "view",
334
- "type": "function"
335
- },
336
- {
337
- "inputs": [],
338
- "name": "oApp",
339
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
340
- "stateMutability": "view",
341
- "type": "function"
342
- },
343
- {
344
- "inputs": [],
345
- "name": "oAppVersion",
346
- "outputs": [
347
- { "internalType": "uint64", "name": "senderVersion", "type": "uint64" },
348
- { "internalType": "uint64", "name": "receiverVersion", "type": "uint64" }
349
- ],
350
- "stateMutability": "pure",
351
- "type": "function"
352
- },
353
- {
354
- "inputs": [],
355
- "name": "oftVersion",
356
- "outputs": [
357
- { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" },
358
- { "internalType": "uint64", "name": "version", "type": "uint64" }
359
- ],
360
- "stateMutability": "pure",
361
- "type": "function"
362
- },
363
- {
364
- "inputs": [],
365
- "name": "owner",
366
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
367
- "stateMutability": "view",
368
- "type": "function"
369
- },
370
- {
371
- "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }],
372
- "name": "peers",
373
- "outputs": [{ "internalType": "bytes32", "name": "peer", "type": "bytes32" }],
374
- "stateMutability": "view",
375
- "type": "function"
376
- },
377
- {
378
- "inputs": [],
379
- "name": "preCrime",
380
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
381
- "stateMutability": "view",
382
- "type": "function"
383
- },
384
- {
385
- "inputs": [
386
- {
387
- "components": [
388
- { "internalType": "uint32", "name": "dstEid", "type": "uint32" },
389
- { "internalType": "bytes32", "name": "to", "type": "bytes32" },
390
- { "internalType": "uint256", "name": "amountLD", "type": "uint256" },
391
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" },
392
- { "internalType": "bytes", "name": "extraOptions", "type": "bytes" },
393
- { "internalType": "bytes", "name": "composeMsg", "type": "bytes" },
394
- { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }
395
- ],
396
- "internalType": "struct SendParam",
397
- "name": "_sendParam",
398
- "type": "tuple"
399
- }
400
- ],
401
- "name": "quoteOFT",
402
- "outputs": [
403
- {
404
- "components": [
405
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" },
406
- { "internalType": "uint256", "name": "maxAmountLD", "type": "uint256" }
407
- ],
408
- "internalType": "struct OFTLimit",
409
- "name": "oftLimit",
410
- "type": "tuple"
411
- },
412
- {
413
- "components": [
414
- { "internalType": "int256", "name": "feeAmountLD", "type": "int256" },
415
- { "internalType": "string", "name": "description", "type": "string" }
416
- ],
417
- "internalType": "struct OFTFeeDetail[]",
418
- "name": "oftFeeDetails",
419
- "type": "tuple[]"
420
- },
421
- {
422
- "components": [
423
- { "internalType": "uint256", "name": "amountSentLD", "type": "uint256" },
424
- { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }
425
- ],
426
- "internalType": "struct OFTReceipt",
427
- "name": "oftReceipt",
428
- "type": "tuple"
429
- }
430
- ],
431
- "stateMutability": "view",
432
- "type": "function"
433
- },
434
- {
435
- "inputs": [
436
- {
437
- "components": [
438
- { "internalType": "uint32", "name": "dstEid", "type": "uint32" },
439
- { "internalType": "bytes32", "name": "to", "type": "bytes32" },
440
- { "internalType": "uint256", "name": "amountLD", "type": "uint256" },
441
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" },
442
- { "internalType": "bytes", "name": "extraOptions", "type": "bytes" },
443
- { "internalType": "bytes", "name": "composeMsg", "type": "bytes" },
444
- { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }
445
- ],
446
- "internalType": "struct SendParam",
447
- "name": "_sendParam",
448
- "type": "tuple"
449
- },
450
- { "internalType": "bool", "name": "_payInLzToken", "type": "bool" }
451
- ],
452
- "name": "quoteSend",
453
- "outputs": [
454
- {
455
- "components": [
456
- { "internalType": "uint256", "name": "nativeFee", "type": "uint256" },
457
- { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }
458
- ],
459
- "internalType": "struct MessagingFee",
460
- "name": "msgFee",
461
- "type": "tuple"
462
- }
463
- ],
464
- "stateMutability": "view",
465
- "type": "function"
466
- },
467
- { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
468
- {
469
- "inputs": [
470
- {
471
- "components": [
472
- { "internalType": "uint32", "name": "dstEid", "type": "uint32" },
473
- { "internalType": "bytes32", "name": "to", "type": "bytes32" },
474
- { "internalType": "uint256", "name": "amountLD", "type": "uint256" },
475
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" },
476
- { "internalType": "bytes", "name": "extraOptions", "type": "bytes" },
477
- { "internalType": "bytes", "name": "composeMsg", "type": "bytes" },
478
- { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }
479
- ],
480
- "internalType": "struct SendParam",
481
- "name": "_sendParam",
482
- "type": "tuple"
483
- },
484
- {
485
- "components": [
486
- { "internalType": "uint256", "name": "nativeFee", "type": "uint256" },
487
- { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }
488
- ],
489
- "internalType": "struct MessagingFee",
490
- "name": "_fee",
491
- "type": "tuple"
492
- },
493
- { "internalType": "address", "name": "_refundAddress", "type": "address" }
494
- ],
495
- "name": "send",
496
- "outputs": [
497
- {
498
- "components": [
499
- { "internalType": "bytes32", "name": "guid", "type": "bytes32" },
500
- { "internalType": "uint64", "name": "nonce", "type": "uint64" },
501
- {
502
- "components": [
503
- { "internalType": "uint256", "name": "nativeFee", "type": "uint256" },
504
- { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }
505
- ],
506
- "internalType": "struct MessagingFee",
507
- "name": "fee",
508
- "type": "tuple"
509
- }
510
- ],
511
- "internalType": "struct MessagingReceipt",
512
- "name": "msgReceipt",
513
- "type": "tuple"
514
- },
515
- {
516
- "components": [
517
- { "internalType": "uint256", "name": "amountSentLD", "type": "uint256" },
518
- { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }
519
- ],
520
- "internalType": "struct OFTReceipt",
521
- "name": "oftReceipt",
522
- "type": "tuple"
523
- }
524
- ],
525
- "stateMutability": "payable",
526
- "type": "function"
527
- },
528
- {
529
- "inputs": [{ "internalType": "address", "name": "_delegate", "type": "address" }],
530
- "name": "setDelegate",
531
- "outputs": [],
532
- "stateMutability": "nonpayable",
533
- "type": "function"
534
- },
535
- {
536
- "inputs": [
537
- {
538
- "components": [
539
- { "internalType": "uint32", "name": "eid", "type": "uint32" },
540
- { "internalType": "uint16", "name": "msgType", "type": "uint16" },
541
- { "internalType": "bytes", "name": "options", "type": "bytes" }
542
- ],
543
- "internalType": "struct EnforcedOptionParam[]",
544
- "name": "_enforcedOptions",
545
- "type": "tuple[]"
546
- }
547
- ],
548
- "name": "setEnforcedOptions",
549
- "outputs": [],
550
- "stateMutability": "nonpayable",
551
- "type": "function"
552
- },
553
- {
554
- "inputs": [{ "internalType": "address", "name": "_msgInspector", "type": "address" }],
555
- "name": "setMsgInspector",
556
- "outputs": [],
557
- "stateMutability": "nonpayable",
558
- "type": "function"
559
- },
560
- {
561
- "inputs": [
562
- { "internalType": "uint32", "name": "_eid", "type": "uint32" },
563
- { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }
564
- ],
565
- "name": "setPeer",
566
- "outputs": [],
567
- "stateMutability": "nonpayable",
568
- "type": "function"
569
- },
570
- {
571
- "inputs": [{ "internalType": "address", "name": "_preCrime", "type": "address" }],
572
- "name": "setPreCrime",
573
- "outputs": [],
574
- "stateMutability": "nonpayable",
575
- "type": "function"
576
- },
577
- {
578
- "inputs": [],
579
- "name": "sharedDecimals",
580
- "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
581
- "stateMutability": "view",
582
- "type": "function"
583
- },
584
- {
585
- "inputs": [],
586
- "name": "token",
587
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
588
- "stateMutability": "view",
589
- "type": "function"
590
- },
591
- {
592
- "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
593
- "name": "transferOwnership",
594
- "outputs": [],
595
- "stateMutability": "nonpayable",
596
- "type": "function"
597
- }
598
- ]