@layerzerolabs/lz-evm-protocol-v2 2.0.2
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/artifacts/contracts/EndpointV2.sol/EndpointV2.json +2364 -0
- package/artifacts/contracts/EndpointV2Alt.sol/EndpointV2Alt.json +2379 -0
- package/artifacts/contracts/MessageLibManager.sol/MessageLibManager.json +783 -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 +1844 -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 +629 -0
- package/artifacts/contracts/interfaces/IMessagingChannel.sol/IMessagingChannel.json +344 -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 +10 -0
- package/artifacts/contracts/libs/CalldataBytesLib.sol/CalldataBytesLib.json +10 -0
- package/artifacts/contracts/libs/Errors.sol/Errors.json +226 -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/contracts/EndpointV2.sol +403 -0
- package/contracts/EndpointV2Alt.sol +50 -0
- package/contracts/MessageLibManager.sol +326 -0
- package/contracts/MessagingChannel.sol +161 -0
- package/contracts/MessagingComposer.sol +80 -0
- package/contracts/MessagingContext.sol +36 -0
- package/contracts/interfaces/ILayerZeroComposer.sol +24 -0
- package/contracts/interfaces/ILayerZeroEndpointV2.sol +98 -0
- package/contracts/interfaces/ILayerZeroReceiver.sol +20 -0
- package/contracts/interfaces/IMessageLib.sol +26 -0
- package/contracts/interfaces/IMessageLibManager.sol +68 -0
- package/contracts/interfaces/IMessagingChannel.sol +32 -0
- package/contracts/interfaces/IMessagingComposer.sol +38 -0
- package/contracts/interfaces/IMessagingContext.sol +9 -0
- package/contracts/interfaces/ISendLib.sol +36 -0
- package/contracts/libs/AddressCast.sol +40 -0
- package/contracts/libs/CalldataBytesLib.sol +58 -0
- package/contracts/libs/Errors.sol +42 -0
- package/contracts/libs/GUID.sol +19 -0
- package/contracts/libs/Transfer.sol +34 -0
- package/contracts/messagelib/BlockedMessageLib.sol +30 -0
- package/contracts/messagelib/SimpleMessageLib.sol +149 -0
- package/contracts/messagelib/libs/BitMaps.sol +26 -0
- package/contracts/messagelib/libs/ExecutorOptions.sol +85 -0
- package/contracts/messagelib/libs/PacketV1Codec.sol +108 -0
- package/package.json +27 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "BlockedMessageLib",
|
|
4
|
+
"sourceName": "contracts/messagelib/BlockedMessageLib.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "NotImplemented",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"stateMutability": "nonpayable",
|
|
13
|
+
"type": "fallback"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"inputs": [
|
|
17
|
+
{
|
|
18
|
+
"internalType": "uint32",
|
|
19
|
+
"name": "",
|
|
20
|
+
"type": "uint32"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"name": "isSupportedEid",
|
|
24
|
+
"outputs": [
|
|
25
|
+
{
|
|
26
|
+
"internalType": "bool",
|
|
27
|
+
"name": "",
|
|
28
|
+
"type": "bool"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"stateMutability": "pure",
|
|
32
|
+
"type": "function"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"inputs": [],
|
|
36
|
+
"name": "messageLibType",
|
|
37
|
+
"outputs": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "enum MessageLibType",
|
|
40
|
+
"name": "",
|
|
41
|
+
"type": "uint8"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"stateMutability": "pure",
|
|
45
|
+
"type": "function"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"internalType": "bytes4",
|
|
51
|
+
"name": "interfaceId",
|
|
52
|
+
"type": "bytes4"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"name": "supportsInterface",
|
|
56
|
+
"outputs": [
|
|
57
|
+
{
|
|
58
|
+
"internalType": "bool",
|
|
59
|
+
"name": "",
|
|
60
|
+
"type": "bool"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"stateMutability": "view",
|
|
64
|
+
"type": "function"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"inputs": [],
|
|
68
|
+
"name": "version",
|
|
69
|
+
"outputs": [
|
|
70
|
+
{
|
|
71
|
+
"internalType": "uint64",
|
|
72
|
+
"name": "major",
|
|
73
|
+
"type": "uint64"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"internalType": "uint8",
|
|
77
|
+
"name": "minor",
|
|
78
|
+
"type": "uint8"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"internalType": "uint8",
|
|
82
|
+
"name": "endpointVersion",
|
|
83
|
+
"type": "uint8"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"stateMutability": "pure",
|
|
87
|
+
"type": "function"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061026f806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806301ffc9a71461007e5780631881d94d146100a657806354fd4d50146100b55780636750cd4c146100dc575b6040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61009161008c366004610189565b6100f0565b60405190151581526020015b60405180910390f35b600260405161009d91906101d2565b6040805167ffffffffffffffff815260ff602082015260029181019190915260600161009d565b6100916100ea366004610213565b50600190565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f97f0258400000000000000000000000000000000000000000000000000000000148061018357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60006020828403121561019b57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146101cb57600080fd5b9392505050565b602081016003831061020d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60006020828403121561022557600080fd5b813563ffffffff811681146101cb57600080fdfea2646970667358221220a6ad9f312e44936ecdde655ebda4210a494542118313e126828fec0807900cf264736f6c63430008160033",
|
|
91
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806301ffc9a71461007e5780631881d94d146100a657806354fd4d50146100b55780636750cd4c146100dc575b6040517fd623472500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61009161008c366004610189565b6100f0565b60405190151581526020015b60405180910390f35b600260405161009d91906101d2565b6040805167ffffffffffffffff815260ff602082015260029181019190915260600161009d565b6100916100ea366004610213565b50600190565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f97f0258400000000000000000000000000000000000000000000000000000000148061018357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60006020828403121561019b57600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146101cb57600080fd5b9392505050565b602081016003831061020d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b60006020828403121561022557600080fd5b813563ffffffff811681146101cb57600080fdfea2646970667358221220a6ad9f312e44936ecdde655ebda4210a494542118313e126828fec0807900cf264736f6c63430008160033",
|
|
92
|
+
"linkReferences": {},
|
|
93
|
+
"deployedLinkReferences": {}
|
|
94
|
+
}
|