@layerzerolabs/lz-evm-sdk-v2 2.0.21 → 2.0.22
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/deployments/joc-testnet/DVN.json +1929 -0
- package/deployments/joc-testnet/DVNFeeLib.json +398 -0
- package/deployments/joc-testnet/DefaultProxyAdmin.json +258 -0
- package/deployments/joc-testnet/EndpointV2.json +3000 -0
- package/deployments/joc-testnet/EndpointV2View.json +435 -0
- package/deployments/joc-testnet/EndpointV2View_Implementation.json +313 -0
- package/deployments/joc-testnet/EndpointV2View_Proxy.json +230 -0
- package/deployments/joc-testnet/Executor.json +1532 -0
- package/deployments/joc-testnet/ExecutorFeeLib.json +423 -0
- package/deployments/joc-testnet/ExecutorProxyAdmin.json +283 -0
- package/deployments/joc-testnet/Executor_Implementation.json +1591 -0
- package/deployments/joc-testnet/Executor_Proxy.json +365 -0
- package/deployments/joc-testnet/LzExecutor.json +757 -0
- package/deployments/joc-testnet/LzExecutor_Implementation.json +703 -0
- package/deployments/joc-testnet/LzExecutor_Proxy.json +244 -0
- package/deployments/joc-testnet/ReceiveUln301.json +1292 -0
- package/deployments/joc-testnet/ReceiveUln301View.json +354 -0
- package/deployments/joc-testnet/ReceiveUln301View_Implementation.json +231 -0
- package/deployments/joc-testnet/ReceiveUln301View_Proxy.json +230 -0
- package/deployments/joc-testnet/ReceiveUln302.json +1006 -0
- package/deployments/joc-testnet/ReceiveUln302View.json +478 -0
- package/deployments/joc-testnet/ReceiveUln302View_Implementation.json +384 -0
- package/deployments/joc-testnet/ReceiveUln302View_Proxy.json +230 -0
- package/deployments/joc-testnet/SendUln301.json +1569 -0
- package/deployments/joc-testnet/SendUln302.json +1527 -0
- package/deployments/joc-testnet/Treasury.json +412 -0
- package/deployments/joc-testnet/TreasuryFeeHandler.json +125 -0
- package/package.json +8 -8
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x55c175DD5b039331dB251424538169D8495C18d1",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"anonymous": false,
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"indexed": false,
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "previousAdmin",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"indexed": false,
|
|
15
|
+
"internalType": "address",
|
|
16
|
+
"name": "newAdmin",
|
|
17
|
+
"type": "address"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"name": "AdminChanged",
|
|
21
|
+
"type": "event"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"anonymous": false,
|
|
25
|
+
"inputs": [
|
|
26
|
+
{
|
|
27
|
+
"indexed": true,
|
|
28
|
+
"internalType": "address",
|
|
29
|
+
"name": "beacon",
|
|
30
|
+
"type": "address"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"name": "BeaconUpgraded",
|
|
34
|
+
"type": "event"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"anonymous": false,
|
|
38
|
+
"inputs": [
|
|
39
|
+
{
|
|
40
|
+
"indexed": true,
|
|
41
|
+
"internalType": "address",
|
|
42
|
+
"name": "implementation",
|
|
43
|
+
"type": "address"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"name": "Upgraded",
|
|
47
|
+
"type": "event"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"stateMutability": "payable",
|
|
51
|
+
"type": "fallback"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"inputs": [],
|
|
55
|
+
"name": "admin",
|
|
56
|
+
"outputs": [
|
|
57
|
+
{
|
|
58
|
+
"internalType": "address",
|
|
59
|
+
"name": "admin_",
|
|
60
|
+
"type": "address"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"stateMutability": "nonpayable",
|
|
64
|
+
"type": "function"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"inputs": [],
|
|
68
|
+
"name": "implementation",
|
|
69
|
+
"outputs": [
|
|
70
|
+
{
|
|
71
|
+
"internalType": "address",
|
|
72
|
+
"name": "implementation_",
|
|
73
|
+
"type": "address"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"stateMutability": "nonpayable",
|
|
77
|
+
"type": "function"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"inputs": [
|
|
81
|
+
{
|
|
82
|
+
"internalType": "address",
|
|
83
|
+
"name": "newImplementation",
|
|
84
|
+
"type": "address"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"name": "upgradeTo",
|
|
88
|
+
"outputs": [],
|
|
89
|
+
"stateMutability": "nonpayable",
|
|
90
|
+
"type": "function"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"inputs": [
|
|
94
|
+
{
|
|
95
|
+
"internalType": "address",
|
|
96
|
+
"name": "newImplementation",
|
|
97
|
+
"type": "address"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"internalType": "bytes",
|
|
101
|
+
"name": "data",
|
|
102
|
+
"type": "bytes"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"name": "upgradeToAndCall",
|
|
106
|
+
"outputs": [],
|
|
107
|
+
"stateMutability": "payable",
|
|
108
|
+
"type": "function"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"stateMutability": "payable",
|
|
112
|
+
"type": "receive"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"inputs": [],
|
|
116
|
+
"name": "AddressCast_InvalidSizeForAddress",
|
|
117
|
+
"type": "error"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"anonymous": false,
|
|
121
|
+
"inputs": [
|
|
122
|
+
{
|
|
123
|
+
"indexed": false,
|
|
124
|
+
"internalType": "uint8",
|
|
125
|
+
"name": "version",
|
|
126
|
+
"type": "uint8"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"name": "Initialized",
|
|
130
|
+
"type": "event"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"inputs": [],
|
|
134
|
+
"name": "endpoint",
|
|
135
|
+
"outputs": [
|
|
136
|
+
{
|
|
137
|
+
"internalType": "contract ILayerZeroEndpoint",
|
|
138
|
+
"name": "",
|
|
139
|
+
"type": "address"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"stateMutability": "view",
|
|
143
|
+
"type": "function"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"inputs": [
|
|
147
|
+
{
|
|
148
|
+
"internalType": "bytes",
|
|
149
|
+
"name": "_packetHeader",
|
|
150
|
+
"type": "bytes"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"internalType": "bytes32",
|
|
154
|
+
"name": "_payloadHash",
|
|
155
|
+
"type": "bytes32"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"name": "executable",
|
|
159
|
+
"outputs": [
|
|
160
|
+
{
|
|
161
|
+
"internalType": "enum ExecutionState",
|
|
162
|
+
"name": "",
|
|
163
|
+
"type": "uint8"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"stateMutability": "view",
|
|
167
|
+
"type": "function"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"inputs": [
|
|
171
|
+
{
|
|
172
|
+
"internalType": "address",
|
|
173
|
+
"name": "_endpoint",
|
|
174
|
+
"type": "address"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"internalType": "uint32",
|
|
178
|
+
"name": "_localEid",
|
|
179
|
+
"type": "uint32"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"internalType": "address",
|
|
183
|
+
"name": "_receiveUln301",
|
|
184
|
+
"type": "address"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"name": "initialize",
|
|
188
|
+
"outputs": [],
|
|
189
|
+
"stateMutability": "nonpayable",
|
|
190
|
+
"type": "function"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"inputs": [],
|
|
194
|
+
"name": "receiveUln301",
|
|
195
|
+
"outputs": [
|
|
196
|
+
{
|
|
197
|
+
"internalType": "contract IReceiveUln301",
|
|
198
|
+
"name": "",
|
|
199
|
+
"type": "address"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"stateMutability": "view",
|
|
203
|
+
"type": "function"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"inputs": [
|
|
207
|
+
{
|
|
208
|
+
"internalType": "bytes",
|
|
209
|
+
"name": "_packetHeader",
|
|
210
|
+
"type": "bytes"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"internalType": "bytes32",
|
|
214
|
+
"name": "_payloadHash",
|
|
215
|
+
"type": "bytes32"
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"name": "verifiable",
|
|
219
|
+
"outputs": [
|
|
220
|
+
{
|
|
221
|
+
"internalType": "enum VerificationState",
|
|
222
|
+
"name": "",
|
|
223
|
+
"type": "uint8"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"stateMutability": "view",
|
|
227
|
+
"type": "function"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"inputs": [
|
|
231
|
+
{
|
|
232
|
+
"internalType": "address",
|
|
233
|
+
"name": "_logic",
|
|
234
|
+
"type": "address"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"internalType": "address",
|
|
238
|
+
"name": "admin_",
|
|
239
|
+
"type": "address"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"internalType": "bytes",
|
|
243
|
+
"name": "_data",
|
|
244
|
+
"type": "bytes"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"stateMutability": "payable",
|
|
248
|
+
"type": "constructor"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"transactionHash": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
|
|
252
|
+
"receipt": {
|
|
253
|
+
"to": null,
|
|
254
|
+
"from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
|
|
255
|
+
"contractAddress": "0x55c175DD5b039331dB251424538169D8495C18d1",
|
|
256
|
+
"transactionIndex": 1,
|
|
257
|
+
"gasUsed": "671371",
|
|
258
|
+
"logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000002000000000000000000000001000000000000000000000000000000000000000000000000800000000000000000000000000000000000000020000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000040000000000000400000000000000000080000000000000000000000000000000000000000000000000000000000004004000",
|
|
259
|
+
"blockHash": "0xea0f0352c3e2a2aa082c3023f99b120f17ce99e0f37061c3e2e2cc400adbc910",
|
|
260
|
+
"transactionHash": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
|
|
261
|
+
"logs": [
|
|
262
|
+
{
|
|
263
|
+
"transactionIndex": 1,
|
|
264
|
+
"blockNumber": 2936539,
|
|
265
|
+
"transactionHash": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
|
|
266
|
+
"address": "0x55c175DD5b039331dB251424538169D8495C18d1",
|
|
267
|
+
"topics": [
|
|
268
|
+
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
269
|
+
"0x00000000000000000000000012523de19dc41c91f7d2093e0cfbb76b17012c8d"
|
|
270
|
+
],
|
|
271
|
+
"data": "0x",
|
|
272
|
+
"logIndex": 0,
|
|
273
|
+
"blockHash": "0xea0f0352c3e2a2aa082c3023f99b120f17ce99e0f37061c3e2e2cc400adbc910"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"transactionIndex": 1,
|
|
277
|
+
"blockNumber": 2936539,
|
|
278
|
+
"transactionHash": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
|
|
279
|
+
"address": "0x55c175DD5b039331dB251424538169D8495C18d1",
|
|
280
|
+
"topics": [
|
|
281
|
+
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
|
|
282
|
+
],
|
|
283
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
284
|
+
"logIndex": 1,
|
|
285
|
+
"blockHash": "0xea0f0352c3e2a2aa082c3023f99b120f17ce99e0f37061c3e2e2cc400adbc910"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"transactionIndex": 1,
|
|
289
|
+
"blockNumber": 2936539,
|
|
290
|
+
"transactionHash": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
|
|
291
|
+
"address": "0x55c175DD5b039331dB251424538169D8495C18d1",
|
|
292
|
+
"topics": [
|
|
293
|
+
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
294
|
+
],
|
|
295
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000073f5b4fdf17bbc16b0980d49f6c56123477bb51",
|
|
296
|
+
"logIndex": 2,
|
|
297
|
+
"blockHash": "0xea0f0352c3e2a2aa082c3023f99b120f17ce99e0f37061c3e2e2cc400adbc910"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"blockNumber": 2936539,
|
|
301
|
+
"cumulativeGasUsed": "692371",
|
|
302
|
+
"status": 1,
|
|
303
|
+
"byzantium": true
|
|
304
|
+
},
|
|
305
|
+
"args": [
|
|
306
|
+
"0x12523de19dc41c91F7d2093E0CFbB76b17012C8d",
|
|
307
|
+
"0x073f5b4FdF17BBC16b0980d49f6C56123477bb51",
|
|
308
|
+
"0xc1554a4b00000000000000000000000083c73da98cf733b03315afa8758834b36a195b870000000000000000000000000000000000000000000000000000000000002802000000000000000000000000c1868e054425d378095a003ecba3823a5d0135c9"
|
|
309
|
+
],
|
|
310
|
+
"numDeployments": 1,
|
|
311
|
+
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
312
|
+
"bytecode": "0x60a060405260405162000f5f38038062000f5f83398101604081905262000026916200044a565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6200052a565b60008051602062000f188339815191521462000075576200007562000550565b62000083828260006200013c565b50620000b3905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61046200052a565b60008051602062000ef883398151915214620000d357620000d362000550565b6001600160a01b038216608081905260008051602062000ef88339815191528381556040805160008152602081019390935290917f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a150505050620005b9565b620001478362000179565b600082511180620001555750805b156200017457620001728383620001bb60201b620002a91760201c565b505b505050565b6200018481620001ea565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001e3838360405180606001604052806027815260200162000f3860279139620002b2565b9392505050565b62000200816200039860201b620002d51760201c565b620002685760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806200029160008051602062000f1883398151915260001b620003a760201b620002411760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606001600160a01b0384163b6200031c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200025f565b600080856001600160a01b03168560405162000339919062000566565b600060405180830381855af49150503d806000811462000376576040519150601f19603f3d011682016040523d82523d6000602084013e6200037b565b606091505b5090925090506200038e828286620003aa565b9695505050505050565b6001600160a01b03163b151590565b90565b60608315620003bb575081620001e3565b825115620003cc5782518084602001fd5b8160405162461bcd60e51b81526004016200025f919062000584565b80516001600160a01b03811681146200040057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004385781810151838201526020016200041e565b83811115620001725750506000910152565b6000806000606084860312156200046057600080fd5b6200046b84620003e8565b92506200047b60208501620003e8565b60408501519092506001600160401b03808211156200049957600080fd5b818601915086601f830112620004ae57600080fd5b815181811115620004c357620004c362000405565b604051601f8201601f19908116603f01168101908382118183101715620004ee57620004ee62000405565b816040528281528960208487010111156200050857600080fd5b6200051b8360208301602088016200041b565b80955050505050509250925092565b6000828210156200054b57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b600082516200057a8184602087016200041b565b9190910192915050565b6020815260008251806020840152620005a58160408501602087016200041b565b601f01601f19169190910160400192915050565b608051610900620005f86000396000818161011201528181610176015281816102060152818161025e01528181610287015261030901526109006000f3fe6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
|
|
313
|
+
"deployedBytecode": "0x6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033",
|
|
314
|
+
"execute": {
|
|
315
|
+
"methodName": "initialize",
|
|
316
|
+
"args": [
|
|
317
|
+
"0x83c73Da98cf733B03315aFa8758834b36a195b87",
|
|
318
|
+
10242,
|
|
319
|
+
"0xC1868e054425D378095A003EcbA3823a5D0135C9"
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
"implementation": "0x12523de19dc41c91F7d2093E0CFbB76b17012C8d",
|
|
323
|
+
"devdoc": {
|
|
324
|
+
"details": "This contract implements a proxy that is upgradeable by an admin. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches one of the admin functions exposed by the proxy itself. 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error that says \"admin cannot fallback to proxy target\". These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.",
|
|
325
|
+
"kind": "dev",
|
|
326
|
+
"methods": {
|
|
327
|
+
"admin()": {
|
|
328
|
+
"details": "Returns the current admin. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`"
|
|
329
|
+
},
|
|
330
|
+
"constructor": {
|
|
331
|
+
"details": "Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}."
|
|
332
|
+
},
|
|
333
|
+
"implementation()": {
|
|
334
|
+
"details": "Returns the current implementation. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`"
|
|
335
|
+
},
|
|
336
|
+
"upgradeTo(address)": {
|
|
337
|
+
"details": "Upgrade the implementation of the proxy. NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}."
|
|
338
|
+
},
|
|
339
|
+
"upgradeToAndCall(address,bytes)": {
|
|
340
|
+
"details": "Upgrade the implementation of the proxy, and then call a function from the new implementation as specified by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the proxied contract. NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}."
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"version": 1
|
|
344
|
+
},
|
|
345
|
+
"userdoc": {
|
|
346
|
+
"kind": "user",
|
|
347
|
+
"methods": {},
|
|
348
|
+
"version": 1
|
|
349
|
+
},
|
|
350
|
+
"storageLayout": {
|
|
351
|
+
"storage": [],
|
|
352
|
+
"types": null
|
|
353
|
+
}
|
|
354
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x12523de19dc41c91F7d2093E0CFbB76b17012C8d",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"inputs": [],
|
|
6
|
+
"name": "AddressCast_InvalidSizeForAddress",
|
|
7
|
+
"type": "error"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"anonymous": false,
|
|
11
|
+
"inputs": [
|
|
12
|
+
{
|
|
13
|
+
"indexed": false,
|
|
14
|
+
"internalType": "uint8",
|
|
15
|
+
"name": "version",
|
|
16
|
+
"type": "uint8"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "Initialized",
|
|
20
|
+
"type": "event"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [],
|
|
24
|
+
"name": "endpoint",
|
|
25
|
+
"outputs": [
|
|
26
|
+
{
|
|
27
|
+
"internalType": "contract ILayerZeroEndpoint",
|
|
28
|
+
"name": "",
|
|
29
|
+
"type": "address"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"stateMutability": "view",
|
|
33
|
+
"type": "function"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"inputs": [
|
|
37
|
+
{
|
|
38
|
+
"internalType": "bytes",
|
|
39
|
+
"name": "_packetHeader",
|
|
40
|
+
"type": "bytes"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"internalType": "bytes32",
|
|
44
|
+
"name": "_payloadHash",
|
|
45
|
+
"type": "bytes32"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"name": "executable",
|
|
49
|
+
"outputs": [
|
|
50
|
+
{
|
|
51
|
+
"internalType": "enum ExecutionState",
|
|
52
|
+
"name": "",
|
|
53
|
+
"type": "uint8"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"stateMutability": "view",
|
|
57
|
+
"type": "function"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"inputs": [
|
|
61
|
+
{
|
|
62
|
+
"internalType": "address",
|
|
63
|
+
"name": "_endpoint",
|
|
64
|
+
"type": "address"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "uint32",
|
|
68
|
+
"name": "_localEid",
|
|
69
|
+
"type": "uint32"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"internalType": "address",
|
|
73
|
+
"name": "_receiveUln301",
|
|
74
|
+
"type": "address"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"name": "initialize",
|
|
78
|
+
"outputs": [],
|
|
79
|
+
"stateMutability": "nonpayable",
|
|
80
|
+
"type": "function"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"inputs": [],
|
|
84
|
+
"name": "receiveUln301",
|
|
85
|
+
"outputs": [
|
|
86
|
+
{
|
|
87
|
+
"internalType": "contract IReceiveUln301",
|
|
88
|
+
"name": "",
|
|
89
|
+
"type": "address"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"stateMutability": "view",
|
|
93
|
+
"type": "function"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"inputs": [
|
|
97
|
+
{
|
|
98
|
+
"internalType": "bytes",
|
|
99
|
+
"name": "_packetHeader",
|
|
100
|
+
"type": "bytes"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"internalType": "bytes32",
|
|
104
|
+
"name": "_payloadHash",
|
|
105
|
+
"type": "bytes32"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"name": "verifiable",
|
|
109
|
+
"outputs": [
|
|
110
|
+
{
|
|
111
|
+
"internalType": "enum VerificationState",
|
|
112
|
+
"name": "",
|
|
113
|
+
"type": "uint8"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"stateMutability": "view",
|
|
117
|
+
"type": "function"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"transactionHash": "0x354b529c38f97d5f86713b29b69cd2e904e22c44a582aea88fdc86457421569d",
|
|
121
|
+
"receipt": {
|
|
122
|
+
"to": null,
|
|
123
|
+
"from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
|
|
124
|
+
"contractAddress": "0x12523de19dc41c91F7d2093E0CFbB76b17012C8d",
|
|
125
|
+
"transactionIndex": 1,
|
|
126
|
+
"gasUsed": "996776",
|
|
127
|
+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
128
|
+
"blockHash": "0x8fa7af1c4ef27b222ee93d7651f03c6c78a8da8706a522e4534ff9b0f5184823",
|
|
129
|
+
"transactionHash": "0x354b529c38f97d5f86713b29b69cd2e904e22c44a582aea88fdc86457421569d",
|
|
130
|
+
"logs": [],
|
|
131
|
+
"blockNumber": 2936538,
|
|
132
|
+
"cumulativeGasUsed": "1017776",
|
|
133
|
+
"status": 1,
|
|
134
|
+
"byzantium": true
|
|
135
|
+
},
|
|
136
|
+
"args": [],
|
|
137
|
+
"numDeployments": 1,
|
|
138
|
+
"solcInputHash": "c1348614bdca535ead27abf9de3062c9",
|
|
139
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061112c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80637401fccc116100505780637401fccc146100e0578063c1554a4b14610100578063c2803b2c1461011557600080fd5b806327d12cd91461006c5780635e280f1114610095575b600080fd5b61007f61007a366004610a0d565b610135565b60405161008c9190610ab4565b60405180910390f35b6000546100bb9062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161008c565b6100f36100ee366004610a0d565b61016c565b60405161008c9190610ace565b61011361010e366004610b07565b610579565b005b6001546100bb9073ffffffffffffffffffffffffffffffffffffffff1681565b60008061014385858561016c565b600381111561015457610154610a85565b0361016157506000610165565b5060025b9392505050565b6001546040517fc40ff83500000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff81169163c40ff835916101e691889188917401000000000000000000000000000000000000000090910463ffffffff1690600401610b5b565b60006040518083038186803b1580156101fe57600080fd5b505afa158015610212573d6000803e3d6000fd5b505050506000610222858561084a565b9050600061023e6102338787610865565b63ffffffff16610888565b9050600061024c8787610920565b6001546040517f0f8355c000000000000000000000000000000000000000000000000000000000815261ffff851660048201529192506000916102fa9173ffffffffffffffffffffffffffffffffffffffff1690630f8355c090602401602060405180830381865afa1580156102c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ea9190610bb8565b6102f48a8a610943565b9061095c565b8460405160200161030c929190610bf5565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018152908290526000547ffdc07c7000000000000000000000000000000000000000000000000000000000835290925062010000900473ffffffffffffffffffffffffffffffffffffffff169063fdc07c70906103979086908590600401610c3f565b602060405180830381865afa1580156103b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d89190610cb8565b67ffffffffffffffff168267ffffffffffffffff16116103ff576003945050505050610165565b6001546040517f43ea4fa900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015261ffff861660248301529091169063e084d9529082906343ea4fa990604401600060405180830381865afa158015610481573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526104c79190810190610e01565b8a8a6040516104d7929190610ed6565b6040519081900381207fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16825261051892918b90600401610f38565b602060405180830381865afa158015610535573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105599190610fe0565b1561056b576002945050505050610165565b506000979650505050505050565b60006105a37fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff81166105fc5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035561061e565b3373ffffffffffffffffffffffffffffffffffffffff82161461061e57600080fd5b600054610100900460ff161580801561063e5750600054600160ff909116105b806106585750303b158015610658575060005460ff166001145b6106e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561074757600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180546000805473ffffffffffffffffffffffffffffffffffffffff89811662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff9092169190911790915563ffffffff871674010000000000000000000000000000000000000000027fffffffffffffffff00000000000000000000000000000000000000000000000090921690861617179055801561084357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b600061085c61085984846109fd565b90565b90505b92915050565b6000610875600d60098486611002565b61087e9161102c565b60e01c9392505050565b600061ffff82111561091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203160448201527f362062697473000000000000000000000000000000000000000000000000000060648201526084016106e0565b5090565b6000610930600960018486611002565b61093991611074565b60c01c9392505050565b6000610953602d600d8486611002565b61085c916110ba565b606081158061096b5750602082115b156109a2576040517f18456c9b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8167ffffffffffffffff8111156109bb576109bb610cd3565b6040519080825280601f01601f1916602001820160405280156109e5576020820181803683370190505b506008909202610100039290921b6020820152919050565b6000610953605160318486611002565b600080600060408486031215610a2257600080fd5b833567ffffffffffffffff80821115610a3a57600080fd5b818601915086601f830112610a4e57600080fd5b813581811115610a5d57600080fd5b876020828501011115610a6f57600080fd5b6020928301989097509590910135949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310610ac857610ac8610a85565b91905290565b6020810160048310610ac857610ac8610a85565b73ffffffffffffffffffffffffffffffffffffffff81168114610b0457600080fd5b50565b600080600060608486031215610b1c57600080fd5b8335610b2781610ae2565b9250602084013563ffffffff81168114610b4057600080fd5b91506040840135610b5081610ae2565b809150509250925092565b6040815282604082015282846060830137600060608483010152600060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116830101905063ffffffff83166020830152949350505050565b600060208284031215610bca57600080fd5b5051919050565b60005b83811015610bec578181015183820152602001610bd4565b50506000910152565b60008351610c07818460208801610bd1565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b61ffff831681526040602082015260008251806040840152610c68816060850160208701610bd1565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b805167ffffffffffffffff81168114610cb357600080fd5b919050565b600060208284031215610cca57600080fd5b61085c82610c9b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610d2557610d25610cd3565b60405290565b805160ff81168114610cb357600080fd5b600082601f830112610d4d57600080fd5b8151602067ffffffffffffffff80831115610d6a57610d6a610cd3565b8260051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108482111715610dad57610dad610cd3565b6040529384526020818701810194908101925087851115610dcd57600080fd5b6020870191505b84821015610df6578151610de781610ae2565b83529183019190830190610dd4565b979650505050505050565b600060208284031215610e1357600080fd5b815167ffffffffffffffff80821115610e2b57600080fd5b9083019060c08286031215610e3f57600080fd5b610e47610d02565b610e5083610c9b565b8152610e5e60208401610d2b565b6020820152610e6f60408401610d2b565b6040820152610e8060608401610d2b565b6060820152608083015182811115610e9757600080fd5b610ea387828601610d3c565b60808301525060a083015182811115610ebb57600080fd5b610ec787828601610d3c565b60a08301525095945050505050565b8183823760009101908152919050565b60008151808452602080850194506020840160005b83811015610f2d57815173ffffffffffffffffffffffffffffffffffffffff1687529582019590820190600101610efb565b509495945050505050565b6060815267ffffffffffffffff845116606082015260ff602085015116608082015260ff60408501511660a082015260ff60608501511660c08201526000608085015160c060e0840152610f90610120840182610ee6565b905060a08601517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa084830301610100850152610fcc8282610ee6565b602085019690965250505060400152919050565b600060208284031215610ff257600080fd5b8151801515811461016557600080fd5b6000808585111561101257600080fd5b8386111561101f57600080fd5b5050820193919092039150565b7fffffffff00000000000000000000000000000000000000000000000000000000813581811691600485101561106c5780818660040360031b1b83161692505b505092915050565b7fffffffffffffffff000000000000000000000000000000000000000000000000813581811691600885101561106c5760089490940360031b84901b1690921692915050565b8035602083101561085f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602084900360031b1b169291505056fea26469706673582212205d9662f02b64cb81b43a88215ac1c2370cbf2d7a8788590f7bd6e83d1f87b5e664736f6c63430008160033",
|
|
140
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100675760003560e01c80637401fccc116100505780637401fccc146100e0578063c1554a4b14610100578063c2803b2c1461011557600080fd5b806327d12cd91461006c5780635e280f1114610095575b600080fd5b61007f61007a366004610a0d565b610135565b60405161008c9190610ab4565b60405180910390f35b6000546100bb9062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161008c565b6100f36100ee366004610a0d565b61016c565b60405161008c9190610ace565b61011361010e366004610b07565b610579565b005b6001546100bb9073ffffffffffffffffffffffffffffffffffffffff1681565b60008061014385858561016c565b600381111561015457610154610a85565b0361016157506000610165565b5060025b9392505050565b6001546040517fc40ff83500000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff81169163c40ff835916101e691889188917401000000000000000000000000000000000000000090910463ffffffff1690600401610b5b565b60006040518083038186803b1580156101fe57600080fd5b505afa158015610212573d6000803e3d6000fd5b505050506000610222858561084a565b9050600061023e6102338787610865565b63ffffffff16610888565b9050600061024c8787610920565b6001546040517f0f8355c000000000000000000000000000000000000000000000000000000000815261ffff851660048201529192506000916102fa9173ffffffffffffffffffffffffffffffffffffffff1690630f8355c090602401602060405180830381865afa1580156102c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ea9190610bb8565b6102f48a8a610943565b9061095c565b8460405160200161030c929190610bf5565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018152908290526000547ffdc07c7000000000000000000000000000000000000000000000000000000000835290925062010000900473ffffffffffffffffffffffffffffffffffffffff169063fdc07c70906103979086908590600401610c3f565b602060405180830381865afa1580156103b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d89190610cb8565b67ffffffffffffffff168267ffffffffffffffff16116103ff576003945050505050610165565b6001546040517f43ea4fa900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015261ffff861660248301529091169063e084d9529082906343ea4fa990604401600060405180830381865afa158015610481573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526104c79190810190610e01565b8a8a6040516104d7929190610ed6565b6040519081900381207fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16825261051892918b90600401610f38565b602060405180830381865afa158015610535573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105599190610fe0565b1561056b576002945050505050610165565b506000979650505050505050565b60006105a37fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff81166105fc5773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035561061e565b3373ffffffffffffffffffffffffffffffffffffffff82161461061e57600080fd5b600054610100900460ff161580801561063e5750600054600160ff909116105b806106585750303b158015610658575060005460ff166001145b6106e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561074757600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b600180546000805473ffffffffffffffffffffffffffffffffffffffff89811662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff9092169190911790915563ffffffff871674010000000000000000000000000000000000000000027fffffffffffffffff00000000000000000000000000000000000000000000000090921690861617179055801561084357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b600061085c61085984846109fd565b90565b90505b92915050565b6000610875600d60098486611002565b61087e9161102c565b60e01c9392505050565b600061ffff82111561091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203160448201527f362062697473000000000000000000000000000000000000000000000000000060648201526084016106e0565b5090565b6000610930600960018486611002565b61093991611074565b60c01c9392505050565b6000610953602d600d8486611002565b61085c916110ba565b606081158061096b5750602082115b156109a2576040517f18456c9b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8167ffffffffffffffff8111156109bb576109bb610cd3565b6040519080825280601f01601f1916602001820160405280156109e5576020820181803683370190505b506008909202610100039290921b6020820152919050565b6000610953605160318486611002565b600080600060408486031215610a2257600080fd5b833567ffffffffffffffff80821115610a3a57600080fd5b818601915086601f830112610a4e57600080fd5b813581811115610a5d57600080fd5b876020828501011115610a6f57600080fd5b6020928301989097509590910135949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310610ac857610ac8610a85565b91905290565b6020810160048310610ac857610ac8610a85565b73ffffffffffffffffffffffffffffffffffffffff81168114610b0457600080fd5b50565b600080600060608486031215610b1c57600080fd5b8335610b2781610ae2565b9250602084013563ffffffff81168114610b4057600080fd5b91506040840135610b5081610ae2565b809150509250925092565b6040815282604082015282846060830137600060608483010152600060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116830101905063ffffffff83166020830152949350505050565b600060208284031215610bca57600080fd5b5051919050565b60005b83811015610bec578181015183820152602001610bd4565b50506000910152565b60008351610c07818460208801610bd1565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b61ffff831681526040602082015260008251806040840152610c68816060850160208701610bd1565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b805167ffffffffffffffff81168114610cb357600080fd5b919050565b600060208284031215610cca57600080fd5b61085c82610c9b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160c0810167ffffffffffffffff81118282101715610d2557610d25610cd3565b60405290565b805160ff81168114610cb357600080fd5b600082601f830112610d4d57600080fd5b8151602067ffffffffffffffff80831115610d6a57610d6a610cd3565b8260051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108482111715610dad57610dad610cd3565b6040529384526020818701810194908101925087851115610dcd57600080fd5b6020870191505b84821015610df6578151610de781610ae2565b83529183019190830190610dd4565b979650505050505050565b600060208284031215610e1357600080fd5b815167ffffffffffffffff80821115610e2b57600080fd5b9083019060c08286031215610e3f57600080fd5b610e47610d02565b610e5083610c9b565b8152610e5e60208401610d2b565b6020820152610e6f60408401610d2b565b6040820152610e8060608401610d2b565b6060820152608083015182811115610e9757600080fd5b610ea387828601610d3c565b60808301525060a083015182811115610ebb57600080fd5b610ec787828601610d3c565b60a08301525095945050505050565b8183823760009101908152919050565b60008151808452602080850194506020840160005b83811015610f2d57815173ffffffffffffffffffffffffffffffffffffffff1687529582019590820190600101610efb565b509495945050505050565b6060815267ffffffffffffffff845116606082015260ff602085015116608082015260ff60408501511660a082015260ff60608501511660c08201526000608085015160c060e0840152610f90610120840182610ee6565b905060a08601517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa084830301610100850152610fcc8282610ee6565b602085019690965250505060400152919050565b600060208284031215610ff257600080fd5b8151801515811461016557600080fd5b6000808585111561101257600080fd5b8386111561101f57600080fd5b5050820193919092039150565b7fffffffff00000000000000000000000000000000000000000000000000000000813581811691600485101561106c5780818660040360031b1b83161692505b505092915050565b7fffffffffffffffff000000000000000000000000000000000000000000000000813581811691600885101561106c5760089490940360031b84901b1690921692915050565b8035602083101561085f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602084900360031b1b169291505056fea26469706673582212205d9662f02b64cb81b43a88215ac1c2370cbf2d7a8788590f7bd6e83d1f87b5e664736f6c63430008160033",
|
|
141
|
+
"devdoc": {
|
|
142
|
+
"events": {
|
|
143
|
+
"Initialized(uint8)": {
|
|
144
|
+
"details": "Triggered when the contract has been initialized or reinitialized."
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"kind": "dev",
|
|
148
|
+
"methods": {
|
|
149
|
+
"verifiable(bytes,bytes32)": {
|
|
150
|
+
"details": "keeping the same interface as 302a verifiable message requires it to be ULN verifiable only, excluding the endpoint verifiable check"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"version": 1
|
|
154
|
+
},
|
|
155
|
+
"userdoc": {
|
|
156
|
+
"kind": "user",
|
|
157
|
+
"methods": {},
|
|
158
|
+
"version": 1
|
|
159
|
+
},
|
|
160
|
+
"storageLayout": {
|
|
161
|
+
"storage": [
|
|
162
|
+
{
|
|
163
|
+
"astId": 5385,
|
|
164
|
+
"contract": "contracts/uln/uln301/ReceiveUln301View.sol:ReceiveUln301View",
|
|
165
|
+
"label": "_initialized",
|
|
166
|
+
"offset": 0,
|
|
167
|
+
"slot": "0",
|
|
168
|
+
"type": "t_uint8"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"astId": 5388,
|
|
172
|
+
"contract": "contracts/uln/uln301/ReceiveUln301View.sol:ReceiveUln301View",
|
|
173
|
+
"label": "_initializing",
|
|
174
|
+
"offset": 1,
|
|
175
|
+
"slot": "0",
|
|
176
|
+
"type": "t_bool"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"astId": 24702,
|
|
180
|
+
"contract": "contracts/uln/uln301/ReceiveUln301View.sol:ReceiveUln301View",
|
|
181
|
+
"label": "endpoint",
|
|
182
|
+
"offset": 2,
|
|
183
|
+
"slot": "0",
|
|
184
|
+
"type": "t_contract(ILayerZeroEndpoint)4544"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"astId": 24705,
|
|
188
|
+
"contract": "contracts/uln/uln301/ReceiveUln301View.sol:ReceiveUln301View",
|
|
189
|
+
"label": "receiveUln301",
|
|
190
|
+
"offset": 0,
|
|
191
|
+
"slot": "1",
|
|
192
|
+
"type": "t_contract(IReceiveUln301)24686"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"astId": 24707,
|
|
196
|
+
"contract": "contracts/uln/uln301/ReceiveUln301View.sol:ReceiveUln301View",
|
|
197
|
+
"label": "localEid",
|
|
198
|
+
"offset": 20,
|
|
199
|
+
"slot": "1",
|
|
200
|
+
"type": "t_uint32"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"types": {
|
|
204
|
+
"t_bool": {
|
|
205
|
+
"encoding": "inplace",
|
|
206
|
+
"label": "bool",
|
|
207
|
+
"numberOfBytes": "1"
|
|
208
|
+
},
|
|
209
|
+
"t_contract(ILayerZeroEndpoint)4544": {
|
|
210
|
+
"encoding": "inplace",
|
|
211
|
+
"label": "contract ILayerZeroEndpoint",
|
|
212
|
+
"numberOfBytes": "20"
|
|
213
|
+
},
|
|
214
|
+
"t_contract(IReceiveUln301)24686": {
|
|
215
|
+
"encoding": "inplace",
|
|
216
|
+
"label": "contract IReceiveUln301",
|
|
217
|
+
"numberOfBytes": "20"
|
|
218
|
+
},
|
|
219
|
+
"t_uint32": {
|
|
220
|
+
"encoding": "inplace",
|
|
221
|
+
"label": "uint32",
|
|
222
|
+
"numberOfBytes": "4"
|
|
223
|
+
},
|
|
224
|
+
"t_uint8": {
|
|
225
|
+
"encoding": "inplace",
|
|
226
|
+
"label": "uint8",
|
|
227
|
+
"numberOfBytes": "1"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|