@layerzerolabs/oft-evm-contracts 1.2.19 → 1.2.21
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
|
@@ -41,6 +41,11 @@
|
|
|
41
41
|
"name": "InvalidBps",
|
|
42
42
|
"type": "error"
|
|
43
43
|
},
|
|
44
|
+
{
|
|
45
|
+
"inputs": [],
|
|
46
|
+
"name": "InvalidCreditRedirectConfig",
|
|
47
|
+
"type": "error"
|
|
48
|
+
},
|
|
44
49
|
{
|
|
45
50
|
"inputs": [],
|
|
46
51
|
"name": "InvalidDelegate",
|
|
@@ -180,6 +185,56 @@
|
|
|
180
185
|
"name": "SlippageExceeded",
|
|
181
186
|
"type": "error"
|
|
182
187
|
},
|
|
188
|
+
{
|
|
189
|
+
"anonymous": false,
|
|
190
|
+
"inputs": [
|
|
191
|
+
{
|
|
192
|
+
"components": [
|
|
193
|
+
{
|
|
194
|
+
"internalType": "address",
|
|
195
|
+
"name": "allowlist",
|
|
196
|
+
"type": "address"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"internalType": "address",
|
|
200
|
+
"name": "escrow",
|
|
201
|
+
"type": "address"
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"indexed": false,
|
|
205
|
+
"internalType": "struct ICreditRedirect.CreditRedirectConfig",
|
|
206
|
+
"name": "config",
|
|
207
|
+
"type": "tuple"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"name": "CreditRedirectConfigSet",
|
|
211
|
+
"type": "event"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"anonymous": false,
|
|
215
|
+
"inputs": [
|
|
216
|
+
{
|
|
217
|
+
"indexed": true,
|
|
218
|
+
"internalType": "address",
|
|
219
|
+
"name": "from",
|
|
220
|
+
"type": "address"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"indexed": true,
|
|
224
|
+
"internalType": "address",
|
|
225
|
+
"name": "to",
|
|
226
|
+
"type": "address"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"indexed": false,
|
|
230
|
+
"internalType": "uint256",
|
|
231
|
+
"name": "amountLD",
|
|
232
|
+
"type": "uint256"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"name": "CreditRedirected",
|
|
236
|
+
"type": "event"
|
|
237
|
+
},
|
|
183
238
|
{
|
|
184
239
|
"anonymous": false,
|
|
185
240
|
"inputs": [
|
|
@@ -594,6 +649,34 @@
|
|
|
594
649
|
"stateMutability": "view",
|
|
595
650
|
"type": "function"
|
|
596
651
|
},
|
|
652
|
+
{
|
|
653
|
+
"inputs": [
|
|
654
|
+
{
|
|
655
|
+
"internalType": "uint32",
|
|
656
|
+
"name": "_srcEid",
|
|
657
|
+
"type": "uint32"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"internalType": "bytes32",
|
|
661
|
+
"name": "_sender",
|
|
662
|
+
"type": "bytes32"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"internalType": "uint64",
|
|
666
|
+
"name": "_nonce",
|
|
667
|
+
"type": "uint64"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"internalType": "bytes32",
|
|
671
|
+
"name": "_payloadHash",
|
|
672
|
+
"type": "bytes32"
|
|
673
|
+
}
|
|
674
|
+
],
|
|
675
|
+
"name": "burn",
|
|
676
|
+
"outputs": [],
|
|
677
|
+
"stateMutability": "nonpayable",
|
|
678
|
+
"type": "function"
|
|
679
|
+
},
|
|
597
680
|
{
|
|
598
681
|
"inputs": [
|
|
599
682
|
{
|
|
@@ -607,6 +690,46 @@
|
|
|
607
690
|
"stateMutability": "nonpayable",
|
|
608
691
|
"type": "function"
|
|
609
692
|
},
|
|
693
|
+
{
|
|
694
|
+
"inputs": [
|
|
695
|
+
{
|
|
696
|
+
"components": [
|
|
697
|
+
{
|
|
698
|
+
"internalType": "uint32",
|
|
699
|
+
"name": "srcEid",
|
|
700
|
+
"type": "uint32"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"internalType": "bytes32",
|
|
704
|
+
"name": "sender",
|
|
705
|
+
"type": "bytes32"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"internalType": "uint64",
|
|
709
|
+
"name": "nonce",
|
|
710
|
+
"type": "uint64"
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"internalType": "struct Origin",
|
|
714
|
+
"name": "_origin",
|
|
715
|
+
"type": "tuple"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"internalType": "bytes32",
|
|
719
|
+
"name": "_guid",
|
|
720
|
+
"type": "bytes32"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"internalType": "bytes",
|
|
724
|
+
"name": "_message",
|
|
725
|
+
"type": "bytes"
|
|
726
|
+
}
|
|
727
|
+
],
|
|
728
|
+
"name": "clear",
|
|
729
|
+
"outputs": [],
|
|
730
|
+
"stateMutability": "nonpayable",
|
|
731
|
+
"type": "function"
|
|
732
|
+
},
|
|
610
733
|
{
|
|
611
734
|
"inputs": [
|
|
612
735
|
{
|
|
@@ -636,6 +759,31 @@
|
|
|
636
759
|
"stateMutability": "view",
|
|
637
760
|
"type": "function"
|
|
638
761
|
},
|
|
762
|
+
{
|
|
763
|
+
"inputs": [],
|
|
764
|
+
"name": "creditRedirectConfig",
|
|
765
|
+
"outputs": [
|
|
766
|
+
{
|
|
767
|
+
"components": [
|
|
768
|
+
{
|
|
769
|
+
"internalType": "address",
|
|
770
|
+
"name": "allowlist",
|
|
771
|
+
"type": "address"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"internalType": "address",
|
|
775
|
+
"name": "escrow",
|
|
776
|
+
"type": "address"
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
"internalType": "struct ICreditRedirect.CreditRedirectConfig",
|
|
780
|
+
"name": "config",
|
|
781
|
+
"type": "tuple"
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"stateMutability": "view",
|
|
785
|
+
"type": "function"
|
|
786
|
+
},
|
|
639
787
|
{
|
|
640
788
|
"inputs": [],
|
|
641
789
|
"name": "defaultFeeBps",
|
|
@@ -1021,6 +1169,34 @@
|
|
|
1021
1169
|
"stateMutability": "view",
|
|
1022
1170
|
"type": "function"
|
|
1023
1171
|
},
|
|
1172
|
+
{
|
|
1173
|
+
"inputs": [
|
|
1174
|
+
{
|
|
1175
|
+
"internalType": "uint32",
|
|
1176
|
+
"name": "_srcEid",
|
|
1177
|
+
"type": "uint32"
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"internalType": "bytes32",
|
|
1181
|
+
"name": "_sender",
|
|
1182
|
+
"type": "bytes32"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"internalType": "uint64",
|
|
1186
|
+
"name": "_nonce",
|
|
1187
|
+
"type": "uint64"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"internalType": "bytes32",
|
|
1191
|
+
"name": "_payloadHash",
|
|
1192
|
+
"type": "bytes32"
|
|
1193
|
+
}
|
|
1194
|
+
],
|
|
1195
|
+
"name": "nilify",
|
|
1196
|
+
"outputs": [],
|
|
1197
|
+
"stateMutability": "nonpayable",
|
|
1198
|
+
"type": "function"
|
|
1199
|
+
},
|
|
1024
1200
|
{
|
|
1025
1201
|
"inputs": [],
|
|
1026
1202
|
"name": "oAppVersion",
|
|
@@ -1467,6 +1643,31 @@
|
|
|
1467
1643
|
"stateMutability": "payable",
|
|
1468
1644
|
"type": "function"
|
|
1469
1645
|
},
|
|
1646
|
+
{
|
|
1647
|
+
"inputs": [
|
|
1648
|
+
{
|
|
1649
|
+
"components": [
|
|
1650
|
+
{
|
|
1651
|
+
"internalType": "address",
|
|
1652
|
+
"name": "allowlist",
|
|
1653
|
+
"type": "address"
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"internalType": "address",
|
|
1657
|
+
"name": "escrow",
|
|
1658
|
+
"type": "address"
|
|
1659
|
+
}
|
|
1660
|
+
],
|
|
1661
|
+
"internalType": "struct ICreditRedirect.CreditRedirectConfig",
|
|
1662
|
+
"name": "_config",
|
|
1663
|
+
"type": "tuple"
|
|
1664
|
+
}
|
|
1665
|
+
],
|
|
1666
|
+
"name": "setCreditRedirectConfig",
|
|
1667
|
+
"outputs": [],
|
|
1668
|
+
"stateMutability": "nonpayable",
|
|
1669
|
+
"type": "function"
|
|
1670
|
+
},
|
|
1470
1671
|
{
|
|
1471
1672
|
"inputs": [
|
|
1472
1673
|
{
|
|
@@ -1810,6 +2011,29 @@
|
|
|
1810
2011
|
"stateMutability": "view",
|
|
1811
2012
|
"type": "function"
|
|
1812
2013
|
},
|
|
2014
|
+
{
|
|
2015
|
+
"inputs": [
|
|
2016
|
+
{
|
|
2017
|
+
"internalType": "uint32",
|
|
2018
|
+
"name": "_srcEid",
|
|
2019
|
+
"type": "uint32"
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
"internalType": "bytes32",
|
|
2023
|
+
"name": "_sender",
|
|
2024
|
+
"type": "bytes32"
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"internalType": "uint64",
|
|
2028
|
+
"name": "_nonce",
|
|
2029
|
+
"type": "uint64"
|
|
2030
|
+
}
|
|
2031
|
+
],
|
|
2032
|
+
"name": "skip",
|
|
2033
|
+
"outputs": [],
|
|
2034
|
+
"stateMutability": "nonpayable",
|
|
2035
|
+
"type": "function"
|
|
2036
|
+
},
|
|
1813
2037
|
{
|
|
1814
2038
|
"inputs": [],
|
|
1815
2039
|
"name": "token",
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "OFTComposeMsgCodec",
|
|
4
4
|
"sourceName": "contracts/libs/OFTComposeMsgCodec.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea2646970667358221220889d2460e5fb4aef231bf10ea40e607edf6fbd06b8268058059a7a04a08584d364736f6c634300081a0033",
|
|
7
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040525f80fdfea2646970667358221220889d2460e5fb4aef231bf10ea40e607edf6fbd06b8268058059a7a04a08584d364736f6c634300081a0033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "OFTMsgCodec",
|
|
4
4
|
"sourceName": "contracts/libs/OFTMsgCodec.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60556032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea26469706673582212200540f8a80d34d30ab79c60bb81a74a297488dab460aeb2f805f4010dab525d1a64736f6c634300081a0033",
|
|
7
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040525f80fdfea26469706673582212200540f8a80d34d30ab79c60bb81a74a297488dab460aeb2f805f4010dab525d1a64736f6c634300081a0033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -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
|
+
}
|