@layerzerolabs/lz-evm-sdk-v2 3.1.1 → 3.1.3
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/CHANGELOG.md +12 -0
- package/deployments/{zksync-sandbox-local → adi-mainnet}/DVN.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/DVNFeeLib.json +2 -2
- package/deployments/adi-mainnet/DeadDVN.json +159 -0
- package/deployments/adi-mainnet/DefaultProxyAdmin.json +166 -0
- package/deployments/{zksync-sandbox-local → adi-mainnet}/EndpointV2.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/EndpointV2View.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/EndpointV2View_Implementation.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/EndpointV2View_Proxy.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/Executor.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ExecutorFeeLib.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ExecutorProxyAdmin.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/Executor_Implementation.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/Executor_Proxy.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/LzExecutor.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/LzExecutor_Implementation.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/LzExecutor_Proxy.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/MultiCall.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/PriceFeed.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/PriceFeedProxyAdmin.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/PriceFeed_Implementation.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/PriceFeed_Proxy.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ReceiveUln301.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ReceiveUln301View.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ReceiveUln301View_Implementation.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ReceiveUln301View_Proxy.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ReceiveUln302.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ReceiveUln302View.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ReceiveUln302View_Implementation.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/ReceiveUln302View_Proxy.json +2 -20
- package/deployments/{zksync-sandbox-local → adi-mainnet}/SendUln301.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/SendUln302.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/Treasury.json +2 -2
- package/deployments/{zksync-sandbox-local → adi-mainnet}/TreasuryFeeHandler.json +2 -2
- package/deployments/arbsep-testnet/EndpointV2.json +0 -1
- package/deployments/arc-mainnet/DVN.json +1504 -0
- package/deployments/arc-mainnet/DVNFeeLib.json +690 -0
- package/deployments/arc-mainnet/DeadDVN.json +159 -0
- package/deployments/arc-mainnet/DefaultProxyAdmin.json +166 -0
- package/deployments/arc-mainnet/EndpointV2.json +2356 -0
- package/deployments/arc-mainnet/EndpointV2View.json +335 -0
- package/deployments/arc-mainnet/EndpointV2View_Implementation.json +204 -0
- package/deployments/arc-mainnet/EndpointV2View_Proxy.json +137 -0
- package/deployments/arc-mainnet/Executor.json +1476 -0
- package/deployments/arc-mainnet/ExecutorFeeLib.json +541 -0
- package/deployments/{zksync-sandbox-local/ReadLib1002ViewProxyAdmin.json → arc-mainnet/ExecutorProxyAdmin.json} +2 -2
- package/deployments/arc-mainnet/Executor_Implementation.json +1345 -0
- package/deployments/arc-mainnet/Executor_Proxy.json +137 -0
- package/deployments/{zksync-sandbox-local/SimpleMessageLib.json → arc-mainnet/LzExecutor.json} +340 -285
- package/deployments/arc-mainnet/LzExecutor_Implementation.json +510 -0
- package/deployments/arc-mainnet/LzExecutor_Proxy.json +137 -0
- package/deployments/arc-mainnet/MultiCall.json +115 -0
- package/deployments/arc-mainnet/PriceFeed.json +820 -0
- package/deployments/arc-mainnet/PriceFeedProxyAdmin.json +176 -0
- package/deployments/arc-mainnet/PriceFeed_Implementation.json +689 -0
- package/deployments/arc-mainnet/PriceFeed_Proxy.json +137 -0
- package/deployments/arc-mainnet/ReceiveUln301.json +995 -0
- package/deployments/arc-mainnet/ReceiveUln301View.json +252 -0
- package/deployments/arc-mainnet/ReceiveUln301View_Implementation.json +121 -0
- package/deployments/arc-mainnet/ReceiveUln301View_Proxy.json +137 -0
- package/deployments/arc-mainnet/ReceiveUln302.json +752 -0
- package/deployments/{zksync-sandbox-local/ReadLib1002View.json → arc-mainnet/ReceiveUln302View.json} +7 -59
- package/deployments/{zksync-sandbox-local/ReadLib1002View_Implementation.json → arc-mainnet/ReceiveUln302View_Implementation.json} +7 -41
- package/deployments/arc-mainnet/ReceiveUln302View_Proxy.json +137 -0
- package/deployments/arc-mainnet/SendUln301.json +1273 -0
- package/deployments/{zksync-sandbox-local/ReadLib1002.json → arc-mainnet/SendUln302.json} +242 -271
- package/deployments/{zksync-sandbox-local/DVNDecompressor.json → arc-mainnet/Treasury.json} +150 -170
- package/deployments/arc-mainnet/TreasuryFeeHandler.json +89 -0
- package/deployments/bsc-mainnet/EndpointV2.json +0 -1
- package/deployments/klaytn-mainnet/EndpointV2.json +0 -1
- package/package.json +1 -1
- package/deployments/zksync-sandbox-local/ExecutorDecompressor.json +0 -215
- package/deployments/zksync-sandbox-local/NonceContractMock.json +0 -88
- package/deployments/zksync-sandbox-local/ReadLib1002View_Proxy.json +0 -155
package/deployments/{zksync-sandbox-local/ReadLib1002View.json → arc-mainnet/ReceiveUln302View.json}
RENAMED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
3
|
-
"transactionHash": "
|
|
2
|
+
"address": "0x377530cdA84DFb2673bF4d145DCF0C4D7fdcB5b6",
|
|
3
|
+
"transactionHash": "0xf46bfa0b20d4642d817c0e6a39ba2f79b65c3bbf09620f78dabe983c0752e05a",
|
|
4
4
|
"abi": [
|
|
5
|
-
{
|
|
6
|
-
"inputs": [],
|
|
7
|
-
"name": "AdminAccessDenied",
|
|
8
|
-
"type": "error"
|
|
9
|
-
},
|
|
10
5
|
{
|
|
11
6
|
"anonymous": false,
|
|
12
7
|
"inputs": [
|
|
@@ -69,19 +64,6 @@
|
|
|
69
64
|
"stateMutability": "nonpayable",
|
|
70
65
|
"type": "function"
|
|
71
66
|
},
|
|
72
|
-
{
|
|
73
|
-
"inputs": [
|
|
74
|
-
{
|
|
75
|
-
"internalType": "address",
|
|
76
|
-
"name": "newAdmin",
|
|
77
|
-
"type": "address"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"name": "changeAdmin",
|
|
81
|
-
"outputs": [],
|
|
82
|
-
"stateMutability": "nonpayable",
|
|
83
|
-
"type": "function"
|
|
84
|
-
},
|
|
85
67
|
{
|
|
86
68
|
"inputs": [],
|
|
87
69
|
"name": "implementation",
|
|
@@ -223,40 +205,6 @@
|
|
|
223
205
|
"stateMutability": "view",
|
|
224
206
|
"type": "function"
|
|
225
207
|
},
|
|
226
|
-
{
|
|
227
|
-
"inputs": [
|
|
228
|
-
{
|
|
229
|
-
"internalType": "address",
|
|
230
|
-
"name": "_receiver",
|
|
231
|
-
"type": "address"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"internalType": "uint32",
|
|
235
|
-
"name": "_srcEid",
|
|
236
|
-
"type": "uint32"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"internalType": "bytes32",
|
|
240
|
-
"name": "_headerHash",
|
|
241
|
-
"type": "bytes32"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"internalType": "bytes32",
|
|
245
|
-
"name": "_cmdHash",
|
|
246
|
-
"type": "bytes32"
|
|
247
|
-
}
|
|
248
|
-
],
|
|
249
|
-
"name": "getVerifiablePayloadHash",
|
|
250
|
-
"outputs": [
|
|
251
|
-
{
|
|
252
|
-
"internalType": "bytes32",
|
|
253
|
-
"name": "",
|
|
254
|
-
"type": "bytes32"
|
|
255
|
-
}
|
|
256
|
-
],
|
|
257
|
-
"stateMutability": "view",
|
|
258
|
-
"type": "function"
|
|
259
|
-
},
|
|
260
208
|
{
|
|
261
209
|
"inputs": [
|
|
262
210
|
{
|
|
@@ -306,8 +254,8 @@
|
|
|
306
254
|
"type": "address"
|
|
307
255
|
},
|
|
308
256
|
{
|
|
309
|
-
"internalType": "address
|
|
310
|
-
"name": "
|
|
257
|
+
"internalType": "address",
|
|
258
|
+
"name": "_receiveUln302",
|
|
311
259
|
"type": "address"
|
|
312
260
|
}
|
|
313
261
|
],
|
|
@@ -318,10 +266,10 @@
|
|
|
318
266
|
},
|
|
319
267
|
{
|
|
320
268
|
"inputs": [],
|
|
321
|
-
"name": "
|
|
269
|
+
"name": "receiveUln302",
|
|
322
270
|
"outputs": [
|
|
323
271
|
{
|
|
324
|
-
"internalType": "contract
|
|
272
|
+
"internalType": "contract IReceiveUln302",
|
|
325
273
|
"name": "",
|
|
326
274
|
"type": "address"
|
|
327
275
|
}
|
|
@@ -338,7 +286,7 @@
|
|
|
338
286
|
},
|
|
339
287
|
{
|
|
340
288
|
"internalType": "bytes32",
|
|
341
|
-
"name": "
|
|
289
|
+
"name": "_payloadHash",
|
|
342
290
|
"type": "bytes32"
|
|
343
291
|
}
|
|
344
292
|
],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
3
|
-
"transactionHash": "
|
|
2
|
+
"address": "0xc1B621b18187F74c8F6D52a6F709Dd2780C09821",
|
|
3
|
+
"transactionHash": "0x842f5008380ddc223a504ead74c471fa6cc7e41302d44408aa8b68a22c8aa3d5",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"anonymous": false,
|
|
@@ -95,40 +95,6 @@
|
|
|
95
95
|
"stateMutability": "view",
|
|
96
96
|
"type": "function"
|
|
97
97
|
},
|
|
98
|
-
{
|
|
99
|
-
"inputs": [
|
|
100
|
-
{
|
|
101
|
-
"internalType": "address",
|
|
102
|
-
"name": "_receiver",
|
|
103
|
-
"type": "address"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"internalType": "uint32",
|
|
107
|
-
"name": "_srcEid",
|
|
108
|
-
"type": "uint32"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"internalType": "bytes32",
|
|
112
|
-
"name": "_headerHash",
|
|
113
|
-
"type": "bytes32"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"internalType": "bytes32",
|
|
117
|
-
"name": "_cmdHash",
|
|
118
|
-
"type": "bytes32"
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"name": "getVerifiablePayloadHash",
|
|
122
|
-
"outputs": [
|
|
123
|
-
{
|
|
124
|
-
"internalType": "bytes32",
|
|
125
|
-
"name": "",
|
|
126
|
-
"type": "bytes32"
|
|
127
|
-
}
|
|
128
|
-
],
|
|
129
|
-
"stateMutability": "view",
|
|
130
|
-
"type": "function"
|
|
131
|
-
},
|
|
132
98
|
{
|
|
133
99
|
"inputs": [
|
|
134
100
|
{
|
|
@@ -178,8 +144,8 @@
|
|
|
178
144
|
"type": "address"
|
|
179
145
|
},
|
|
180
146
|
{
|
|
181
|
-
"internalType": "address
|
|
182
|
-
"name": "
|
|
147
|
+
"internalType": "address",
|
|
148
|
+
"name": "_receiveUln302",
|
|
183
149
|
"type": "address"
|
|
184
150
|
}
|
|
185
151
|
],
|
|
@@ -190,10 +156,10 @@
|
|
|
190
156
|
},
|
|
191
157
|
{
|
|
192
158
|
"inputs": [],
|
|
193
|
-
"name": "
|
|
159
|
+
"name": "receiveUln302",
|
|
194
160
|
"outputs": [
|
|
195
161
|
{
|
|
196
|
-
"internalType": "contract
|
|
162
|
+
"internalType": "contract IReceiveUln302",
|
|
197
163
|
"name": "",
|
|
198
164
|
"type": "address"
|
|
199
165
|
}
|
|
@@ -210,7 +176,7 @@
|
|
|
210
176
|
},
|
|
211
177
|
{
|
|
212
178
|
"internalType": "bytes32",
|
|
213
|
-
"name": "
|
|
179
|
+
"name": "_payloadHash",
|
|
214
180
|
"type": "bytes32"
|
|
215
181
|
}
|
|
216
182
|
],
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x377530cdA84DFb2673bF4d145DCF0C4D7fdcB5b6",
|
|
3
|
+
"transactionHash": "0xf46bfa0b20d4642d817c0e6a39ba2f79b65c3bbf09620f78dabe983c0752e05a",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"internalType": "address",
|
|
9
|
+
"name": "_logic",
|
|
10
|
+
"type": "address"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"internalType": "address",
|
|
14
|
+
"name": "admin_",
|
|
15
|
+
"type": "address"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"internalType": "bytes",
|
|
19
|
+
"name": "_data",
|
|
20
|
+
"type": "bytes"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"stateMutability": "payable",
|
|
24
|
+
"type": "constructor"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"anonymous": false,
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"indexed": false,
|
|
31
|
+
"internalType": "address",
|
|
32
|
+
"name": "previousAdmin",
|
|
33
|
+
"type": "address"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"indexed": false,
|
|
37
|
+
"internalType": "address",
|
|
38
|
+
"name": "newAdmin",
|
|
39
|
+
"type": "address"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"name": "AdminChanged",
|
|
43
|
+
"type": "event"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"anonymous": false,
|
|
47
|
+
"inputs": [
|
|
48
|
+
{
|
|
49
|
+
"indexed": true,
|
|
50
|
+
"internalType": "address",
|
|
51
|
+
"name": "beacon",
|
|
52
|
+
"type": "address"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"name": "BeaconUpgraded",
|
|
56
|
+
"type": "event"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"anonymous": false,
|
|
60
|
+
"inputs": [
|
|
61
|
+
{
|
|
62
|
+
"indexed": true,
|
|
63
|
+
"internalType": "address",
|
|
64
|
+
"name": "implementation",
|
|
65
|
+
"type": "address"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"name": "Upgraded",
|
|
69
|
+
"type": "event"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"stateMutability": "payable",
|
|
73
|
+
"type": "fallback"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"inputs": [],
|
|
77
|
+
"name": "admin",
|
|
78
|
+
"outputs": [
|
|
79
|
+
{
|
|
80
|
+
"internalType": "address",
|
|
81
|
+
"name": "admin_",
|
|
82
|
+
"type": "address"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"stateMutability": "nonpayable",
|
|
86
|
+
"type": "function"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"inputs": [],
|
|
90
|
+
"name": "implementation",
|
|
91
|
+
"outputs": [
|
|
92
|
+
{
|
|
93
|
+
"internalType": "address",
|
|
94
|
+
"name": "implementation_",
|
|
95
|
+
"type": "address"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"stateMutability": "nonpayable",
|
|
99
|
+
"type": "function"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"inputs": [
|
|
103
|
+
{
|
|
104
|
+
"internalType": "address",
|
|
105
|
+
"name": "newImplementation",
|
|
106
|
+
"type": "address"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"name": "upgradeTo",
|
|
110
|
+
"outputs": [],
|
|
111
|
+
"stateMutability": "nonpayable",
|
|
112
|
+
"type": "function"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"inputs": [
|
|
116
|
+
{
|
|
117
|
+
"internalType": "address",
|
|
118
|
+
"name": "newImplementation",
|
|
119
|
+
"type": "address"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"internalType": "bytes",
|
|
123
|
+
"name": "data",
|
|
124
|
+
"type": "bytes"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"name": "upgradeToAndCall",
|
|
128
|
+
"outputs": [],
|
|
129
|
+
"stateMutability": "payable",
|
|
130
|
+
"type": "function"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"stateMutability": "payable",
|
|
134
|
+
"type": "receive"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|