@layerzerolabs/oft-evm-contracts 1.2.19 → 1.2.20
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.
- package/.turbo/turbo-build.log +140 -33
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +97 -75
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +1 -1
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +1 -1
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +1 -1
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +1 -1
- package/artifacts/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +1 -1
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +1 -1
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +1 -1
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +119 -0
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +4 -0
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +130 -0
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +1 -1
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +1 -1
- package/artifacts/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +1 -1
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +4 -0
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +116 -0
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +1 -1
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +1 -1
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +1 -1
- package/artifacts/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +1 -1
- package/artifacts/build-info/0534f1d5f0d8cd63830d8f134ee75e3e.json +1 -0
- package/artifacts/contracts/interfaces/IOFT.sol/IOFT.dbg.json +1 -1
- package/artifacts/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +1 -1
- package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +1 -1
- package/artifacts/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +224 -0
- package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +1 -1
- package/artifacts/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +2 -2
- package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +1 -1
- package/artifacts/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +2 -2
- package/artifacts/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +119 -0
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +4 -0
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +130 -0
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +4 -0
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +116 -0
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +1 -1
- package/artifacts-tron/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +1 -1
- package/artifacts-tron/build-info/6372fe30cb41b2f9b7315d1272ecb0f3.json +1 -0
- package/artifacts-tron/contracts/interfaces/IOFT.sol/IOFT.dbg.json +1 -1
- package/artifacts-tron/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +1 -1
- package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +1 -1
- package/artifacts-tron/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +224 -0
- package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +1 -1
- package/artifacts-tron/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +2 -2
- package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +1 -1
- package/artifacts-tron/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +2 -2
- package/artifacts-tron/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol/IMessagingContext.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppCore.sol/IOAppCore.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppExtended.sol/IOAppExtended.json +119 -0
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.dbg.json +4 -0
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol/IOAppMessagingChannel.json +131 -0
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMsgInspection.sol/IOAppMsgInspection.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppReceiver.sol/IOAppReceiver.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.dbg.json +4 -0
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol/ICreditRedirect.json +117 -0
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeConfig.sol/IFeeConfig.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IFeeHandler.sol/IFeeHandler.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IPauseByID.sol/IPauseByID.dbg.json +1 -1
- package/artifacts-zk/@layerzerolabs/utils-evm-contracts/contracts/interfaces/IRateLimiter.sol/IRateLimiter.dbg.json +1 -1
- package/artifacts-zk/build-info/d2467fad10cf5fa07f3c4c460f383314.json +1 -0
- package/artifacts-zk/contracts/interfaces/IOFT.sol/IOFT.dbg.json +1 -1
- package/artifacts-zk/contracts/interfaces/IOFTDecimalUtils.sol/IOFTDecimalUtils.dbg.json +1 -1
- package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.dbg.json +1 -1
- package/artifacts-zk/contracts/interfaces/IOFTExtended.sol/IOFTExtended.json +224 -0
- package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.dbg.json +1 -1
- package/artifacts-zk/contracts/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +2 -2
- package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.dbg.json +1 -1
- package/artifacts-zk/contracts/libs/OFTMsgCodec.sol/OFTMsgCodec.json +2 -2
- package/artifacts-zk/contracts/utils/OFTDecimalUtils.sol/OFTDecimalUtils.dbg.json +1 -1
- package/contracts/interfaces/IOFTExtended.sol +17 -4
- package/foundry.toml +2 -2
- package/hardhat.config.js +54 -0
- package/package.json +13 -10
- package/turbo-snapshot.lock.json +144 -96
- package/artifacts/build-info/eba77569fb49f02e67cb445bb3ee5d37.json +0 -1
- package/artifacts-tron/build-info/8846688aca1ca86abc2af4e130f3effa.json +0 -1
- package/artifacts-zk/build-info/be85166c48418856c8b56dff21efc105.json +0 -1
|
@@ -149,6 +149,74 @@
|
|
|
149
149
|
"stateMutability": "view",
|
|
150
150
|
"type": "function"
|
|
151
151
|
},
|
|
152
|
+
{
|
|
153
|
+
"inputs": [
|
|
154
|
+
{
|
|
155
|
+
"internalType": "uint32",
|
|
156
|
+
"name": "_srcEid",
|
|
157
|
+
"type": "uint32"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"internalType": "bytes32",
|
|
161
|
+
"name": "_sender",
|
|
162
|
+
"type": "bytes32"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"internalType": "uint64",
|
|
166
|
+
"name": "_nonce",
|
|
167
|
+
"type": "uint64"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"internalType": "bytes32",
|
|
171
|
+
"name": "_payloadHash",
|
|
172
|
+
"type": "bytes32"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"name": "burn",
|
|
176
|
+
"outputs": [],
|
|
177
|
+
"stateMutability": "nonpayable",
|
|
178
|
+
"type": "function"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"inputs": [
|
|
182
|
+
{
|
|
183
|
+
"components": [
|
|
184
|
+
{
|
|
185
|
+
"internalType": "uint32",
|
|
186
|
+
"name": "srcEid",
|
|
187
|
+
"type": "uint32"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"internalType": "bytes32",
|
|
191
|
+
"name": "sender",
|
|
192
|
+
"type": "bytes32"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"internalType": "uint64",
|
|
196
|
+
"name": "nonce",
|
|
197
|
+
"type": "uint64"
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"internalType": "struct Origin",
|
|
201
|
+
"name": "_origin",
|
|
202
|
+
"type": "tuple"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"internalType": "bytes32",
|
|
206
|
+
"name": "_guid",
|
|
207
|
+
"type": "bytes32"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"internalType": "bytes",
|
|
211
|
+
"name": "_message",
|
|
212
|
+
"type": "bytes"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"name": "clear",
|
|
216
|
+
"outputs": [],
|
|
217
|
+
"stateMutability": "nonpayable",
|
|
218
|
+
"type": "function"
|
|
219
|
+
},
|
|
152
220
|
{
|
|
153
221
|
"inputs": [
|
|
154
222
|
{
|
|
@@ -348,6 +416,34 @@
|
|
|
348
416
|
"stateMutability": "view",
|
|
349
417
|
"type": "function"
|
|
350
418
|
},
|
|
419
|
+
{
|
|
420
|
+
"inputs": [
|
|
421
|
+
{
|
|
422
|
+
"internalType": "uint32",
|
|
423
|
+
"name": "_srcEid",
|
|
424
|
+
"type": "uint32"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"internalType": "bytes32",
|
|
428
|
+
"name": "_sender",
|
|
429
|
+
"type": "bytes32"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"internalType": "uint64",
|
|
433
|
+
"name": "_nonce",
|
|
434
|
+
"type": "uint64"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"internalType": "bytes32",
|
|
438
|
+
"name": "_payloadHash",
|
|
439
|
+
"type": "bytes32"
|
|
440
|
+
}
|
|
441
|
+
],
|
|
442
|
+
"name": "nilify",
|
|
443
|
+
"outputs": [],
|
|
444
|
+
"stateMutability": "nonpayable",
|
|
445
|
+
"type": "function"
|
|
446
|
+
},
|
|
351
447
|
{
|
|
352
448
|
"inputs": [],
|
|
353
449
|
"name": "oAppVersion",
|
|
@@ -458,6 +554,29 @@
|
|
|
458
554
|
"outputs": [],
|
|
459
555
|
"stateMutability": "nonpayable",
|
|
460
556
|
"type": "function"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"inputs": [
|
|
560
|
+
{
|
|
561
|
+
"internalType": "uint32",
|
|
562
|
+
"name": "_srcEid",
|
|
563
|
+
"type": "uint32"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"internalType": "bytes32",
|
|
567
|
+
"name": "_sender",
|
|
568
|
+
"type": "bytes32"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"internalType": "uint64",
|
|
572
|
+
"name": "_nonce",
|
|
573
|
+
"type": "uint64"
|
|
574
|
+
}
|
|
575
|
+
],
|
|
576
|
+
"name": "skip",
|
|
577
|
+
"outputs": [],
|
|
578
|
+
"stateMutability": "nonpayable",
|
|
579
|
+
"type": "function"
|
|
461
580
|
}
|
|
462
581
|
],
|
|
463
582
|
"bytecode": "0x",
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IOAppMessagingChannel",
|
|
4
|
+
"sourceName": "@layerzerolabs/oapp-evm-contracts/contracts/interfaces/IOAppMessagingChannel.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint32",
|
|
10
|
+
"name": "_srcEid",
|
|
11
|
+
"type": "uint32"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes32",
|
|
15
|
+
"name": "_sender",
|
|
16
|
+
"type": "bytes32"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "uint64",
|
|
20
|
+
"name": "_nonce",
|
|
21
|
+
"type": "uint64"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "bytes32",
|
|
25
|
+
"name": "_payloadHash",
|
|
26
|
+
"type": "bytes32"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "burn",
|
|
30
|
+
"outputs": [],
|
|
31
|
+
"stateMutability": "nonpayable",
|
|
32
|
+
"type": "function"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"inputs": [
|
|
36
|
+
{
|
|
37
|
+
"components": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "uint32",
|
|
40
|
+
"name": "srcEid",
|
|
41
|
+
"type": "uint32"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"internalType": "bytes32",
|
|
45
|
+
"name": "sender",
|
|
46
|
+
"type": "bytes32"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"internalType": "uint64",
|
|
50
|
+
"name": "nonce",
|
|
51
|
+
"type": "uint64"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"internalType": "struct Origin",
|
|
55
|
+
"name": "_origin",
|
|
56
|
+
"type": "tuple"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"internalType": "bytes32",
|
|
60
|
+
"name": "_guid",
|
|
61
|
+
"type": "bytes32"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"internalType": "bytes",
|
|
65
|
+
"name": "_message",
|
|
66
|
+
"type": "bytes"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"name": "clear",
|
|
70
|
+
"outputs": [],
|
|
71
|
+
"stateMutability": "nonpayable",
|
|
72
|
+
"type": "function"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"inputs": [
|
|
76
|
+
{
|
|
77
|
+
"internalType": "uint32",
|
|
78
|
+
"name": "_srcEid",
|
|
79
|
+
"type": "uint32"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"internalType": "bytes32",
|
|
83
|
+
"name": "_sender",
|
|
84
|
+
"type": "bytes32"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"internalType": "uint64",
|
|
88
|
+
"name": "_nonce",
|
|
89
|
+
"type": "uint64"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"internalType": "bytes32",
|
|
93
|
+
"name": "_payloadHash",
|
|
94
|
+
"type": "bytes32"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"name": "nilify",
|
|
98
|
+
"outputs": [],
|
|
99
|
+
"stateMutability": "nonpayable",
|
|
100
|
+
"type": "function"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"inputs": [
|
|
104
|
+
{
|
|
105
|
+
"internalType": "uint32",
|
|
106
|
+
"name": "_srcEid",
|
|
107
|
+
"type": "uint32"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"internalType": "bytes32",
|
|
111
|
+
"name": "_sender",
|
|
112
|
+
"type": "bytes32"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"internalType": "uint64",
|
|
116
|
+
"name": "_nonce",
|
|
117
|
+
"type": "uint64"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"name": "skip",
|
|
121
|
+
"outputs": [],
|
|
122
|
+
"stateMutability": "nonpayable",
|
|
123
|
+
"type": "function"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"bytecode": "0x",
|
|
127
|
+
"deployedBytecode": "0x",
|
|
128
|
+
"linkReferences": {},
|
|
129
|
+
"deployedLinkReferences": {}
|
|
130
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ICreditRedirect",
|
|
4
|
+
"sourceName": "@layerzerolabs/utils-evm-contracts/contracts/interfaces/ICreditRedirect.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "InvalidCreditRedirectConfig",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"anonymous": false,
|
|
13
|
+
"inputs": [
|
|
14
|
+
{
|
|
15
|
+
"components": [
|
|
16
|
+
{
|
|
17
|
+
"internalType": "address",
|
|
18
|
+
"name": "allowlist",
|
|
19
|
+
"type": "address"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"internalType": "address",
|
|
23
|
+
"name": "escrow",
|
|
24
|
+
"type": "address"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"indexed": false,
|
|
28
|
+
"internalType": "struct ICreditRedirect.CreditRedirectConfig",
|
|
29
|
+
"name": "config",
|
|
30
|
+
"type": "tuple"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"name": "CreditRedirectConfigSet",
|
|
34
|
+
"type": "event"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"anonymous": false,
|
|
38
|
+
"inputs": [
|
|
39
|
+
{
|
|
40
|
+
"indexed": true,
|
|
41
|
+
"internalType": "address",
|
|
42
|
+
"name": "from",
|
|
43
|
+
"type": "address"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"indexed": true,
|
|
47
|
+
"internalType": "address",
|
|
48
|
+
"name": "to",
|
|
49
|
+
"type": "address"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"indexed": false,
|
|
53
|
+
"internalType": "uint256",
|
|
54
|
+
"name": "amountLD",
|
|
55
|
+
"type": "uint256"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"name": "CreditRedirected",
|
|
59
|
+
"type": "event"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"inputs": [],
|
|
63
|
+
"name": "creditRedirectConfig",
|
|
64
|
+
"outputs": [
|
|
65
|
+
{
|
|
66
|
+
"components": [
|
|
67
|
+
{
|
|
68
|
+
"internalType": "address",
|
|
69
|
+
"name": "allowlist",
|
|
70
|
+
"type": "address"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"internalType": "address",
|
|
74
|
+
"name": "escrow",
|
|
75
|
+
"type": "address"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"internalType": "struct ICreditRedirect.CreditRedirectConfig",
|
|
79
|
+
"name": "config",
|
|
80
|
+
"type": "tuple"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"stateMutability": "view",
|
|
84
|
+
"type": "function"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"inputs": [
|
|
88
|
+
{
|
|
89
|
+
"components": [
|
|
90
|
+
{
|
|
91
|
+
"internalType": "address",
|
|
92
|
+
"name": "allowlist",
|
|
93
|
+
"type": "address"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"internalType": "address",
|
|
97
|
+
"name": "escrow",
|
|
98
|
+
"type": "address"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"internalType": "struct ICreditRedirect.CreditRedirectConfig",
|
|
102
|
+
"name": "_config",
|
|
103
|
+
"type": "tuple"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"name": "setCreditRedirectConfig",
|
|
107
|
+
"outputs": [],
|
|
108
|
+
"stateMutability": "nonpayable",
|
|
109
|
+
"type": "function"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"bytecode": "0x",
|
|
113
|
+
"deployedBytecode": "0x",
|
|
114
|
+
"linkReferences": {},
|
|
115
|
+
"deployedLinkReferences": {}
|
|
116
|
+
}
|