@layerzerolabs/protocol-v2-evm-contracts 1.2.96 → 1.2.97
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/README.md +1 -1
- package/artifacts/contracts/EndpointV2.sol/EndpointV2.json +2361 -0
- package/artifacts/contracts/EndpointV2Alt.sol/EndpointV2Alt.json +2376 -0
- package/artifacts/contracts/EndpointV2View.sol/EndpointV2View.json +209 -0
- package/artifacts/contracts/EndpointV2ViewUpgradeable.sol/EndpointV2ViewUpgradeable.json +196 -0
- package/artifacts/contracts/MessageLibManager.sol/MessageLibManager.json +771 -0
- package/artifacts/contracts/MessagingChannel.sol/MessagingChannel.json +426 -0
- package/artifacts/contracts/MessagingComposer.sol/MessagingComposer.json +320 -0
- package/artifacts/contracts/MessagingContext.sol/MessagingContext.json +42 -0
- package/artifacts/contracts/interfaces/ILayerZeroComposer.sol/ILayerZeroComposer.json +44 -0
- package/artifacts/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +1899 -0
- package/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +121 -0
- package/artifacts/contracts/interfaces/IMessageLib.sol/IMessageLib.json +149 -0
- package/artifacts/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +646 -0
- package/artifacts/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +373 -0
- package/artifacts/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +246 -0
- package/artifacts/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +42 -0
- package/artifacts/contracts/interfaces/ISendLib.sol/ISendLib.json +364 -0
- package/artifacts/contracts/libs/AddressCast.sol/AddressCast.json +21 -0
- package/artifacts/contracts/libs/CalldataBytesLib.sol/CalldataBytesLib.json +10 -0
- package/artifacts/contracts/libs/Errors.sol/Errors.json +211 -0
- package/artifacts/contracts/libs/GUID.sol/GUID.json +10 -0
- package/artifacts/contracts/libs/Transfer.sol/Transfer.json +32 -0
- package/artifacts/contracts/messagelib/BlockedMessageLib.sol/BlockedMessageLib.json +94 -0
- package/artifacts/contracts/messagelib/SimpleMessageLib.sol/SimpleMessageLib.json +591 -0
- package/artifacts/contracts/messagelib/libs/BitMaps.sol/BitMaps.json +10 -0
- package/artifacts/contracts/messagelib/libs/ExecutorOptions.sol/ExecutorOptions.json +26 -0
- package/artifacts/contracts/messagelib/libs/PacketV1Codec.sol/PacketV1Codec.json +10 -0
- package/artifacts/contracts/proxy/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +160 -0
- package/artifacts-tron/contracts/EndpointV2.sol/EndpointV2.json +2361 -0
- package/artifacts-tron/contracts/EndpointV2Alt.sol/EndpointV2Alt.json +2376 -0
- package/artifacts-tron/contracts/EndpointV2View.sol/EndpointV2View.json +209 -0
- package/artifacts-tron/contracts/EndpointV2ViewUpgradeable.sol/EndpointV2ViewUpgradeable.json +196 -0
- package/artifacts-tron/contracts/MessageLibManager.sol/MessageLibManager.json +771 -0
- package/artifacts-tron/contracts/MessagingChannel.sol/MessagingChannel.json +426 -0
- package/artifacts-tron/contracts/MessagingComposer.sol/MessagingComposer.json +320 -0
- package/artifacts-tron/contracts/MessagingContext.sol/MessagingContext.json +42 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroComposer.sol/ILayerZeroComposer.json +44 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +1899 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +121 -0
- package/artifacts-tron/contracts/interfaces/IMessageLib.sol/IMessageLib.json +149 -0
- package/artifacts-tron/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +646 -0
- package/artifacts-tron/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +373 -0
- package/artifacts-tron/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +246 -0
- package/artifacts-tron/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +42 -0
- package/artifacts-tron/contracts/interfaces/ISendLib.sol/ISendLib.json +364 -0
- package/artifacts-tron/contracts/libs/AddressCast.sol/AddressCast.json +21 -0
- package/artifacts-tron/contracts/libs/CalldataBytesLib.sol/CalldataBytesLib.json +10 -0
- package/artifacts-tron/contracts/libs/Errors.sol/Errors.json +211 -0
- package/artifacts-tron/contracts/libs/GUID.sol/GUID.json +10 -0
- package/artifacts-tron/contracts/libs/Transfer.sol/Transfer.json +32 -0
- package/artifacts-tron/contracts/messagelib/BlockedMessageLib.sol/BlockedMessageLib.json +94 -0
- package/artifacts-tron/contracts/messagelib/SimpleMessageLib.sol/SimpleMessageLib.json +591 -0
- package/artifacts-tron/contracts/messagelib/libs/BitMaps.sol/BitMaps.json +10 -0
- package/artifacts-tron/contracts/messagelib/libs/ExecutorOptions.sol/ExecutorOptions.json +26 -0
- package/artifacts-tron/contracts/messagelib/libs/PacketV1Codec.sol/PacketV1Codec.json +10 -0
- package/artifacts-tron/contracts/proxy/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +160 -0
- package/artifacts-zk/contracts/EndpointV2.sol/EndpointV2.json +2364 -0
- package/artifacts-zk/contracts/EndpointV2Alt.sol/EndpointV2Alt.json +2379 -0
- package/artifacts-zk/contracts/EndpointV2View.sol/EndpointV2View.json +210 -0
- package/artifacts-zk/contracts/EndpointV2ViewUpgradeable.sol/EndpointV2ViewUpgradeable.json +197 -0
- package/artifacts-zk/contracts/MessageLibManager.sol/MessageLibManager.json +772 -0
- package/artifacts-zk/contracts/MessagingChannel.sol/MessagingChannel.json +427 -0
- package/artifacts-zk/contracts/MessagingComposer.sol/MessagingComposer.json +321 -0
- package/artifacts-zk/contracts/MessagingContext.sol/MessagingContext.json +43 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroComposer.sol/ILayerZeroComposer.json +45 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroEndpointV2.sol/ILayerZeroEndpointV2.json +1900 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +122 -0
- package/artifacts-zk/contracts/interfaces/IMessageLib.sol/IMessageLib.json +150 -0
- package/artifacts-zk/contracts/interfaces/IMessageLibManager.sol/IMessageLibManager.json +647 -0
- package/artifacts-zk/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +374 -0
- package/artifacts-zk/contracts/interfaces/IMessagingComposer.sol/IMessagingComposer.json +247 -0
- package/artifacts-zk/contracts/interfaces/IMessagingContext.sol/IMessagingContext.json +43 -0
- package/artifacts-zk/contracts/interfaces/ISendLib.sol/ISendLib.json +365 -0
- package/artifacts-zk/contracts/libs/AddressCast.sol/AddressCast.json +22 -0
- package/artifacts-zk/contracts/libs/CalldataBytesLib.sol/CalldataBytesLib.json +11 -0
- package/artifacts-zk/contracts/libs/Errors.sol/Errors.json +212 -0
- package/artifacts-zk/contracts/libs/GUID.sol/GUID.json +11 -0
- package/artifacts-zk/contracts/libs/Transfer.sol/Transfer.json +33 -0
- package/artifacts-zk/contracts/messagelib/BlockedMessageLib.sol/BlockedMessageLib.json +95 -0
- package/artifacts-zk/contracts/messagelib/SimpleMessageLib.sol/SimpleMessageLib.json +592 -0
- package/artifacts-zk/contracts/messagelib/libs/BitMaps.sol/BitMaps.json +11 -0
- package/artifacts-zk/contracts/messagelib/libs/ExecutorOptions.sol/ExecutorOptions.json +27 -0
- package/artifacts-zk/contracts/messagelib/libs/PacketV1Codec.sol/PacketV1Codec.json +11 -0
- package/artifacts-zk/contracts/proxy/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +161 -0
- package/package.json +4 -4
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "ILayerZeroReceiver",
|
|
4
|
+
"sourceName": "contracts/interfaces/ILayerZeroReceiver.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"components": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint32",
|
|
12
|
+
"name": "srcEid",
|
|
13
|
+
"type": "uint32"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "bytes32",
|
|
17
|
+
"name": "sender",
|
|
18
|
+
"type": "bytes32"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"internalType": "uint64",
|
|
22
|
+
"name": "nonce",
|
|
23
|
+
"type": "uint64"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"internalType": "struct Origin",
|
|
27
|
+
"name": "_origin",
|
|
28
|
+
"type": "tuple"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"name": "allowInitializePath",
|
|
32
|
+
"outputs": [
|
|
33
|
+
{
|
|
34
|
+
"internalType": "bool",
|
|
35
|
+
"name": "",
|
|
36
|
+
"type": "bool"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"stateMutability": "view",
|
|
40
|
+
"type": "function"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputs": [
|
|
44
|
+
{
|
|
45
|
+
"components": [
|
|
46
|
+
{
|
|
47
|
+
"internalType": "uint32",
|
|
48
|
+
"name": "srcEid",
|
|
49
|
+
"type": "uint32"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"internalType": "bytes32",
|
|
53
|
+
"name": "sender",
|
|
54
|
+
"type": "bytes32"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"internalType": "uint64",
|
|
58
|
+
"name": "nonce",
|
|
59
|
+
"type": "uint64"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"internalType": "struct Origin",
|
|
63
|
+
"name": "_origin",
|
|
64
|
+
"type": "tuple"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "bytes32",
|
|
68
|
+
"name": "_guid",
|
|
69
|
+
"type": "bytes32"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"internalType": "bytes",
|
|
73
|
+
"name": "_message",
|
|
74
|
+
"type": "bytes"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"internalType": "address",
|
|
78
|
+
"name": "_executor",
|
|
79
|
+
"type": "address"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"internalType": "bytes",
|
|
83
|
+
"name": "_extraData",
|
|
84
|
+
"type": "bytes"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"name": "lzReceive",
|
|
88
|
+
"outputs": [],
|
|
89
|
+
"stateMutability": "payable",
|
|
90
|
+
"type": "function"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"inputs": [
|
|
94
|
+
{
|
|
95
|
+
"internalType": "uint32",
|
|
96
|
+
"name": "_eid",
|
|
97
|
+
"type": "uint32"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"internalType": "bytes32",
|
|
101
|
+
"name": "_sender",
|
|
102
|
+
"type": "bytes32"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"name": "nextNonce",
|
|
106
|
+
"outputs": [
|
|
107
|
+
{
|
|
108
|
+
"internalType": "uint64",
|
|
109
|
+
"name": "",
|
|
110
|
+
"type": "uint64"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"stateMutability": "view",
|
|
114
|
+
"type": "function"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"bytecode": "0x",
|
|
118
|
+
"deployedBytecode": "0x",
|
|
119
|
+
"linkReferences": {},
|
|
120
|
+
"deployedLinkReferences": {},
|
|
121
|
+
"factoryDeps": {}
|
|
122
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "IMessageLib",
|
|
4
|
+
"sourceName": "contracts/interfaces/IMessageLib.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint32",
|
|
10
|
+
"name": "_eid",
|
|
11
|
+
"type": "uint32"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "_oapp",
|
|
16
|
+
"type": "address"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "uint32",
|
|
20
|
+
"name": "_configType",
|
|
21
|
+
"type": "uint32"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"name": "getConfig",
|
|
25
|
+
"outputs": [
|
|
26
|
+
{
|
|
27
|
+
"internalType": "bytes",
|
|
28
|
+
"name": "config",
|
|
29
|
+
"type": "bytes"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"stateMutability": "view",
|
|
33
|
+
"type": "function"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"inputs": [
|
|
37
|
+
{
|
|
38
|
+
"internalType": "uint32",
|
|
39
|
+
"name": "_eid",
|
|
40
|
+
"type": "uint32"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"name": "isSupportedEid",
|
|
44
|
+
"outputs": [
|
|
45
|
+
{
|
|
46
|
+
"internalType": "bool",
|
|
47
|
+
"name": "",
|
|
48
|
+
"type": "bool"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"stateMutability": "view",
|
|
52
|
+
"type": "function"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"inputs": [],
|
|
56
|
+
"name": "messageLibType",
|
|
57
|
+
"outputs": [
|
|
58
|
+
{
|
|
59
|
+
"internalType": "enum MessageLibType",
|
|
60
|
+
"name": "",
|
|
61
|
+
"type": "uint8"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"stateMutability": "view",
|
|
65
|
+
"type": "function"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"inputs": [
|
|
69
|
+
{
|
|
70
|
+
"internalType": "address",
|
|
71
|
+
"name": "_oapp",
|
|
72
|
+
"type": "address"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"components": [
|
|
76
|
+
{
|
|
77
|
+
"internalType": "uint32",
|
|
78
|
+
"name": "eid",
|
|
79
|
+
"type": "uint32"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"internalType": "uint32",
|
|
83
|
+
"name": "configType",
|
|
84
|
+
"type": "uint32"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"internalType": "bytes",
|
|
88
|
+
"name": "config",
|
|
89
|
+
"type": "bytes"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"internalType": "struct SetConfigParam[]",
|
|
93
|
+
"name": "_config",
|
|
94
|
+
"type": "tuple[]"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"name": "setConfig",
|
|
98
|
+
"outputs": [],
|
|
99
|
+
"stateMutability": "nonpayable",
|
|
100
|
+
"type": "function"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"inputs": [
|
|
104
|
+
{
|
|
105
|
+
"internalType": "bytes4",
|
|
106
|
+
"name": "interfaceId",
|
|
107
|
+
"type": "bytes4"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"name": "supportsInterface",
|
|
111
|
+
"outputs": [
|
|
112
|
+
{
|
|
113
|
+
"internalType": "bool",
|
|
114
|
+
"name": "",
|
|
115
|
+
"type": "bool"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"stateMutability": "view",
|
|
119
|
+
"type": "function"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"inputs": [],
|
|
123
|
+
"name": "version",
|
|
124
|
+
"outputs": [
|
|
125
|
+
{
|
|
126
|
+
"internalType": "uint64",
|
|
127
|
+
"name": "major",
|
|
128
|
+
"type": "uint64"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"internalType": "uint8",
|
|
132
|
+
"name": "minor",
|
|
133
|
+
"type": "uint8"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"internalType": "uint8",
|
|
137
|
+
"name": "endpointVersion",
|
|
138
|
+
"type": "uint8"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"stateMutability": "view",
|
|
142
|
+
"type": "function"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"bytecode": "0x",
|
|
146
|
+
"deployedBytecode": "0x",
|
|
147
|
+
"linkReferences": {},
|
|
148
|
+
"deployedLinkReferences": {},
|
|
149
|
+
"factoryDeps": {}
|
|
150
|
+
}
|