@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
|
@@ -1,61 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
3
|
-
"transactionHash": "
|
|
2
|
+
"address": "0x4514FC667a944752ee8A29F544c1B20b1A315f25",
|
|
3
|
+
"transactionHash": "0xc8ae52faf1992800727e15bc04d1898ee9c5520abe43736aafe172f55323f9b8",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
|
-
"inputs": [
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"name": "_vid",
|
|
10
|
-
"type": "uint32"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"components": [
|
|
14
|
-
{
|
|
15
|
-
"internalType": "uint16",
|
|
16
|
-
"name": "idx",
|
|
17
|
-
"type": "uint16"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"internalType": "address",
|
|
21
|
-
"name": "addr",
|
|
22
|
-
"type": "address"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"internalType": "struct DVNParam[]",
|
|
26
|
-
"name": "_dvns",
|
|
27
|
-
"type": "tuple[]"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"components": [
|
|
31
|
-
{
|
|
32
|
-
"internalType": "uint8",
|
|
33
|
-
"name": "idx",
|
|
34
|
-
"type": "uint8"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"internalType": "address",
|
|
38
|
-
"name": "addr",
|
|
39
|
-
"type": "address"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"internalType": "struct TargetParam[]",
|
|
43
|
-
"name": "_targets",
|
|
44
|
-
"type": "tuple[]"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"stateMutability": "nonpayable",
|
|
48
|
-
"type": "constructor"
|
|
6
|
+
"inputs": [],
|
|
7
|
+
"name": "LZ_Treasury_LzTokenNotEnabled",
|
|
8
|
+
"type": "error"
|
|
49
9
|
},
|
|
50
10
|
{
|
|
51
11
|
"inputs": [
|
|
12
|
+
{
|
|
13
|
+
"internalType": "address",
|
|
14
|
+
"name": "_to",
|
|
15
|
+
"type": "address"
|
|
16
|
+
},
|
|
52
17
|
{
|
|
53
18
|
"internalType": "uint256",
|
|
54
|
-
"name": "
|
|
19
|
+
"name": "_value",
|
|
55
20
|
"type": "uint256"
|
|
56
21
|
}
|
|
57
22
|
],
|
|
58
|
-
"name": "
|
|
23
|
+
"name": "Transfer_NativeFailed",
|
|
24
|
+
"type": "error"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"inputs": [],
|
|
28
|
+
"name": "Transfer_ToAddressIsZero",
|
|
59
29
|
"type": "error"
|
|
60
30
|
},
|
|
61
31
|
{
|
|
@@ -78,21 +48,29 @@
|
|
|
78
48
|
"type": "event"
|
|
79
49
|
},
|
|
80
50
|
{
|
|
81
|
-
"inputs": [
|
|
82
|
-
"name": "MAX_DICT_LEN",
|
|
83
|
-
"outputs": [
|
|
51
|
+
"inputs": [
|
|
84
52
|
{
|
|
85
|
-
"internalType": "
|
|
53
|
+
"internalType": "address",
|
|
86
54
|
"name": "",
|
|
55
|
+
"type": "address"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"internalType": "uint32",
|
|
59
|
+
"name": "",
|
|
60
|
+
"type": "uint32"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint256",
|
|
64
|
+
"name": "_totalFee",
|
|
87
65
|
"type": "uint256"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"internalType": "bool",
|
|
69
|
+
"name": "_payInLzToken",
|
|
70
|
+
"type": "bool"
|
|
88
71
|
}
|
|
89
72
|
],
|
|
90
|
-
"
|
|
91
|
-
"type": "function"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"inputs": [],
|
|
95
|
-
"name": "RESERVE_DICT_LEN",
|
|
73
|
+
"name": "getFee",
|
|
96
74
|
"outputs": [
|
|
97
75
|
{
|
|
98
76
|
"internalType": "uint256",
|
|
@@ -104,88 +82,51 @@
|
|
|
104
82
|
"type": "function"
|
|
105
83
|
},
|
|
106
84
|
{
|
|
107
|
-
"inputs": [
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"name": "lzTokenEnabled",
|
|
87
|
+
"outputs": [
|
|
108
88
|
{
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"name": "idx",
|
|
113
|
-
"type": "uint16"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"internalType": "address",
|
|
117
|
-
"name": "addr",
|
|
118
|
-
"type": "address"
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"internalType": "struct DVNParam[]",
|
|
122
|
-
"name": "_dvns",
|
|
123
|
-
"type": "tuple[]"
|
|
89
|
+
"internalType": "bool",
|
|
90
|
+
"name": "",
|
|
91
|
+
"type": "bool"
|
|
124
92
|
}
|
|
125
93
|
],
|
|
126
|
-
"
|
|
127
|
-
"outputs": [],
|
|
128
|
-
"stateMutability": "nonpayable",
|
|
94
|
+
"stateMutability": "view",
|
|
129
95
|
"type": "function"
|
|
130
96
|
},
|
|
131
97
|
{
|
|
132
|
-
"inputs": [
|
|
98
|
+
"inputs": [],
|
|
99
|
+
"name": "lzTokenFee",
|
|
100
|
+
"outputs": [
|
|
133
101
|
{
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"name": "idx",
|
|
138
|
-
"type": "uint8"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"internalType": "address",
|
|
142
|
-
"name": "addr",
|
|
143
|
-
"type": "address"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"internalType": "struct TargetParam[]",
|
|
147
|
-
"name": "_targets",
|
|
148
|
-
"type": "tuple[]"
|
|
102
|
+
"internalType": "uint256",
|
|
103
|
+
"name": "",
|
|
104
|
+
"type": "uint256"
|
|
149
105
|
}
|
|
150
106
|
],
|
|
151
|
-
"
|
|
152
|
-
"outputs": [],
|
|
153
|
-
"stateMutability": "nonpayable",
|
|
154
|
-
"type": "function"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"inputs": [],
|
|
158
|
-
"name": "decompress",
|
|
159
|
-
"outputs": [],
|
|
160
|
-
"stateMutability": "payable",
|
|
107
|
+
"stateMutability": "view",
|
|
161
108
|
"type": "function"
|
|
162
109
|
},
|
|
163
110
|
{
|
|
164
111
|
"inputs": [],
|
|
165
|
-
"name": "
|
|
112
|
+
"name": "nativeBP",
|
|
166
113
|
"outputs": [
|
|
167
114
|
{
|
|
168
|
-
"internalType": "
|
|
169
|
-
"name": "
|
|
170
|
-
"type": "
|
|
115
|
+
"internalType": "uint256",
|
|
116
|
+
"name": "",
|
|
117
|
+
"type": "uint256"
|
|
171
118
|
}
|
|
172
119
|
],
|
|
173
120
|
"stateMutability": "view",
|
|
174
121
|
"type": "function"
|
|
175
122
|
},
|
|
176
123
|
{
|
|
177
|
-
"inputs": [
|
|
178
|
-
|
|
179
|
-
"internalType": "uint16",
|
|
180
|
-
"name": "index",
|
|
181
|
-
"type": "uint16"
|
|
182
|
-
}
|
|
183
|
-
],
|
|
184
|
-
"name": "dvns",
|
|
124
|
+
"inputs": [],
|
|
125
|
+
"name": "owner",
|
|
185
126
|
"outputs": [
|
|
186
127
|
{
|
|
187
128
|
"internalType": "address",
|
|
188
|
-
"name": "
|
|
129
|
+
"name": "",
|
|
189
130
|
"type": "address"
|
|
190
131
|
}
|
|
191
132
|
],
|
|
@@ -195,62 +136,66 @@
|
|
|
195
136
|
{
|
|
196
137
|
"inputs": [
|
|
197
138
|
{
|
|
198
|
-
"internalType": "
|
|
199
|
-
"name": "
|
|
200
|
-
"type": "
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
"name": "execute",
|
|
204
|
-
"outputs": [],
|
|
205
|
-
"stateMutability": "nonpayable",
|
|
206
|
-
"type": "function"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"inputs": [
|
|
139
|
+
"internalType": "address",
|
|
140
|
+
"name": "",
|
|
141
|
+
"type": "address"
|
|
142
|
+
},
|
|
210
143
|
{
|
|
211
|
-
"internalType": "
|
|
212
|
-
"name": "
|
|
213
|
-
"type": "
|
|
144
|
+
"internalType": "uint32",
|
|
145
|
+
"name": "",
|
|
146
|
+
"type": "uint32"
|
|
214
147
|
},
|
|
215
148
|
{
|
|
216
149
|
"internalType": "uint256",
|
|
217
|
-
"name": "
|
|
150
|
+
"name": "_totalFee",
|
|
218
151
|
"type": "uint256"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"internalType": "bool",
|
|
155
|
+
"name": "_payInLzToken",
|
|
156
|
+
"type": "bool"
|
|
219
157
|
}
|
|
220
158
|
],
|
|
221
|
-
"name": "
|
|
159
|
+
"name": "payFee",
|
|
222
160
|
"outputs": [
|
|
223
161
|
{
|
|
224
|
-
"internalType": "
|
|
225
|
-
"name": "
|
|
226
|
-
"type": "
|
|
162
|
+
"internalType": "uint256",
|
|
163
|
+
"name": "",
|
|
164
|
+
"type": "uint256"
|
|
227
165
|
}
|
|
228
166
|
],
|
|
229
|
-
"stateMutability": "
|
|
167
|
+
"stateMutability": "payable",
|
|
230
168
|
"type": "function"
|
|
231
169
|
},
|
|
232
170
|
{
|
|
233
171
|
"inputs": [],
|
|
234
|
-
"name": "
|
|
235
|
-
"outputs": [
|
|
172
|
+
"name": "renounceOwnership",
|
|
173
|
+
"outputs": [],
|
|
174
|
+
"stateMutability": "nonpayable",
|
|
175
|
+
"type": "function"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"inputs": [
|
|
236
179
|
{
|
|
237
|
-
"internalType": "
|
|
238
|
-
"name": "",
|
|
239
|
-
"type": "
|
|
180
|
+
"internalType": "bool",
|
|
181
|
+
"name": "_lzTokenEnabled",
|
|
182
|
+
"type": "bool"
|
|
240
183
|
}
|
|
241
184
|
],
|
|
242
|
-
"
|
|
185
|
+
"name": "setLzTokenEnabled",
|
|
186
|
+
"outputs": [],
|
|
187
|
+
"stateMutability": "nonpayable",
|
|
243
188
|
"type": "function"
|
|
244
189
|
},
|
|
245
190
|
{
|
|
246
191
|
"inputs": [
|
|
247
192
|
{
|
|
248
|
-
"internalType": "
|
|
249
|
-
"name": "
|
|
250
|
-
"type": "
|
|
193
|
+
"internalType": "uint256",
|
|
194
|
+
"name": "_lzTokenFee",
|
|
195
|
+
"type": "uint256"
|
|
251
196
|
}
|
|
252
197
|
],
|
|
253
|
-
"name": "
|
|
198
|
+
"name": "setLzTokenFee",
|
|
254
199
|
"outputs": [],
|
|
255
200
|
"stateMutability": "nonpayable",
|
|
256
201
|
"type": "function"
|
|
@@ -258,19 +203,25 @@
|
|
|
258
203
|
{
|
|
259
204
|
"inputs": [
|
|
260
205
|
{
|
|
261
|
-
"internalType": "
|
|
262
|
-
"name": "
|
|
263
|
-
"type": "
|
|
206
|
+
"internalType": "uint256",
|
|
207
|
+
"name": "_nativeBP",
|
|
208
|
+
"type": "uint256"
|
|
264
209
|
}
|
|
265
210
|
],
|
|
266
|
-
"name": "
|
|
211
|
+
"name": "setNativeFeeBP",
|
|
267
212
|
"outputs": [],
|
|
268
213
|
"stateMutability": "nonpayable",
|
|
269
214
|
"type": "function"
|
|
270
215
|
},
|
|
271
216
|
{
|
|
272
|
-
"inputs": [
|
|
273
|
-
|
|
217
|
+
"inputs": [
|
|
218
|
+
{
|
|
219
|
+
"internalType": "address",
|
|
220
|
+
"name": "newOwner",
|
|
221
|
+
"type": "address"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"name": "transferOwnership",
|
|
274
225
|
"outputs": [],
|
|
275
226
|
"stateMutability": "nonpayable",
|
|
276
227
|
"type": "function"
|
|
@@ -278,46 +229,75 @@
|
|
|
278
229
|
{
|
|
279
230
|
"inputs": [
|
|
280
231
|
{
|
|
281
|
-
"internalType": "
|
|
282
|
-
"name": "
|
|
283
|
-
"type": "
|
|
284
|
-
}
|
|
285
|
-
],
|
|
286
|
-
"name": "targets",
|
|
287
|
-
"outputs": [
|
|
232
|
+
"internalType": "address",
|
|
233
|
+
"name": "_messageLib",
|
|
234
|
+
"type": "address"
|
|
235
|
+
},
|
|
288
236
|
{
|
|
289
237
|
"internalType": "address",
|
|
290
|
-
"name": "
|
|
238
|
+
"name": "_lzToken",
|
|
291
239
|
"type": "address"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"internalType": "address",
|
|
243
|
+
"name": "_to",
|
|
244
|
+
"type": "address"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"internalType": "uint256",
|
|
248
|
+
"name": "_amount",
|
|
249
|
+
"type": "uint256"
|
|
292
250
|
}
|
|
293
251
|
],
|
|
294
|
-
"
|
|
252
|
+
"name": "withdrawLzToken",
|
|
253
|
+
"outputs": [],
|
|
254
|
+
"stateMutability": "nonpayable",
|
|
295
255
|
"type": "function"
|
|
296
256
|
},
|
|
297
257
|
{
|
|
298
258
|
"inputs": [
|
|
299
259
|
{
|
|
300
260
|
"internalType": "address",
|
|
301
|
-
"name": "
|
|
261
|
+
"name": "_messageLib",
|
|
302
262
|
"type": "address"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"internalType": "address payable",
|
|
266
|
+
"name": "_to",
|
|
267
|
+
"type": "address"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"internalType": "uint256",
|
|
271
|
+
"name": "_amount",
|
|
272
|
+
"type": "uint256"
|
|
303
273
|
}
|
|
304
274
|
],
|
|
305
|
-
"name": "
|
|
275
|
+
"name": "withdrawNativeFee",
|
|
306
276
|
"outputs": [],
|
|
307
277
|
"stateMutability": "nonpayable",
|
|
308
278
|
"type": "function"
|
|
309
279
|
},
|
|
310
280
|
{
|
|
311
|
-
"inputs": [
|
|
312
|
-
"name": "vid",
|
|
313
|
-
"outputs": [
|
|
281
|
+
"inputs": [
|
|
314
282
|
{
|
|
315
|
-
"internalType": "
|
|
316
|
-
"name": "",
|
|
317
|
-
"type": "
|
|
283
|
+
"internalType": "address",
|
|
284
|
+
"name": "_token",
|
|
285
|
+
"type": "address"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"internalType": "address",
|
|
289
|
+
"name": "_to",
|
|
290
|
+
"type": "address"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"internalType": "uint256",
|
|
294
|
+
"name": "_amount",
|
|
295
|
+
"type": "uint256"
|
|
318
296
|
}
|
|
319
297
|
],
|
|
320
|
-
"
|
|
298
|
+
"name": "withdrawToken",
|
|
299
|
+
"outputs": [],
|
|
300
|
+
"stateMutability": "nonpayable",
|
|
321
301
|
"type": "function"
|
|
322
302
|
}
|
|
323
303
|
]
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x8bC1e36F015b9902B54b1387A4d733cebc2f5A4e",
|
|
3
|
+
"transactionHash": "0x2b90d20ca0e28d6a7355287e91312020ded17afb3f6d3f59182b7d02f0720ca4",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"internalType": "address",
|
|
9
|
+
"name": "_endpoint",
|
|
10
|
+
"type": "address"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"stateMutability": "nonpayable",
|
|
14
|
+
"type": "constructor"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputs": [
|
|
18
|
+
{
|
|
19
|
+
"internalType": "uint256",
|
|
20
|
+
"name": "required",
|
|
21
|
+
"type": "uint256"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint256",
|
|
25
|
+
"name": "supplied",
|
|
26
|
+
"type": "uint256"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "LZ_TreasuryFeeHandler_InvalidAmount",
|
|
30
|
+
"type": "error"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "LZ_TreasuryFeeHandler_OnlyOnSending",
|
|
35
|
+
"type": "error"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"inputs": [],
|
|
39
|
+
"name": "LZ_TreasuryFeeHandler_OnlySendLibrary",
|
|
40
|
+
"type": "error"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputs": [],
|
|
44
|
+
"name": "endpoint",
|
|
45
|
+
"outputs": [
|
|
46
|
+
{
|
|
47
|
+
"internalType": "contract ILayerZeroEndpoint",
|
|
48
|
+
"name": "",
|
|
49
|
+
"type": "address"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"stateMutability": "view",
|
|
53
|
+
"type": "function"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"inputs": [
|
|
57
|
+
{
|
|
58
|
+
"internalType": "address",
|
|
59
|
+
"name": "_lzToken",
|
|
60
|
+
"type": "address"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"internalType": "address",
|
|
64
|
+
"name": "_sender",
|
|
65
|
+
"type": "address"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"internalType": "uint256",
|
|
69
|
+
"name": "_required",
|
|
70
|
+
"type": "uint256"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"internalType": "uint256",
|
|
74
|
+
"name": "_supplied",
|
|
75
|
+
"type": "uint256"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"internalType": "address",
|
|
79
|
+
"name": "_treasury",
|
|
80
|
+
"type": "address"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"name": "payFee",
|
|
84
|
+
"outputs": [],
|
|
85
|
+
"stateMutability": "nonpayable",
|
|
86
|
+
"type": "function"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|