@layerzerolabs/lz-evm-sdk-v2 2.1.9 → 2.1.10
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/exocore-testnet/DVN.json +39 -39
- package/deployments/exocore-testnet/DVNFeeLib.json +5 -5
- package/deployments/exocore-testnet/DefaultProxyAdmin.json +4 -4
- package/deployments/exocore-testnet/EndpointV2.json +23 -23
- package/deployments/exocore-testnet/EndpointV2View.json +8 -8
- package/deployments/exocore-testnet/EndpointV2View_Implementation.json +2 -2
- package/deployments/exocore-testnet/EndpointV2View_Proxy.json +8 -8
- package/deployments/exocore-testnet/Executor.json +26 -26
- package/deployments/exocore-testnet/ExecutorFeeLib.json +5 -5
- package/deployments/exocore-testnet/ExecutorProxyAdmin.json +7 -7
- package/deployments/exocore-testnet/Executor_Implementation.json +17 -17
- package/deployments/exocore-testnet/Executor_Proxy.json +26 -26
- package/deployments/exocore-testnet/LzExecutor.json +10 -10
- package/deployments/exocore-testnet/LzExecutor_Implementation.json +6 -6
- package/deployments/exocore-testnet/LzExecutor_Proxy.json +10 -10
- package/deployments/exocore-testnet/PriceFeed.json +10 -10
- package/deployments/exocore-testnet/PriceFeedProxyAdmin.json +7 -7
- package/deployments/exocore-testnet/PriceFeed_Implementation.json +14 -14
- package/deployments/exocore-testnet/PriceFeed_Proxy.json +10 -10
- package/deployments/exocore-testnet/ReceiveUln301.json +36 -36
- package/deployments/exocore-testnet/ReceiveUln301View.json +15 -15
- package/deployments/exocore-testnet/ReceiveUln301View_Implementation.json +8 -8
- package/deployments/exocore-testnet/ReceiveUln301View_Proxy.json +14 -14
- package/deployments/exocore-testnet/ReceiveUln302.json +29 -29
- package/deployments/exocore-testnet/ReceiveUln302View.json +8 -8
- package/deployments/exocore-testnet/ReceiveUln302View_Implementation.json +7 -7
- package/deployments/exocore-testnet/ReceiveUln302View_Proxy.json +8 -8
- package/deployments/exocore-testnet/SendUln301.json +24 -24
- package/deployments/exocore-testnet/SendUln302.json +18 -18
- package/deployments/exocore-testnet/Treasury.json +5 -5
- package/deployments/exocore-testnet/TreasuryFeeHandler.json +3 -3
- package/deployments/mantle-mainnet/AxelarDVNAdapter.json +1578 -0
- package/deployments/mantle-mainnet/AxelarDVNAdapterFeeLib.json +813 -0
- package/deployments/mantle-mainnet/AxelarDVNAdapterFeeLib_Implementation.json +803 -0
- package/deployments/mantle-mainnet/AxelarDVNAdapterFeeLib_Proxy.json +245 -0
- package/deployments/mantle-mainnet/DVNFeeLibProxyAdmin.json +284 -0
- package/deployments/{avalanche-sandbox-local → mode-testnet}/DVN.json +81 -48
- package/deployments/{avalanche-sandbox-local → mode-testnet}/DVNFeeLib.json +16 -16
- package/deployments/{avalanche-sandbox-local → mode-testnet}/DefaultProxyAdmin.json +17 -17
- package/deployments/{bsc-sandbox-local → mode-testnet}/EndpointV2.json +114 -60
- package/deployments/{avalanche-sandbox-local → mode-testnet}/EndpointV2View.json +32 -32
- package/deployments/{avalanche-sandbox-local → mode-testnet}/EndpointV2View_Implementation.json +9 -9
- package/deployments/{avalanche-sandbox-local → mode-testnet}/EndpointV2View_Proxy.json +30 -30
- package/deployments/{bsc-sandbox-local → mode-testnet}/Executor.json +101 -118
- package/deployments/{bsc-sandbox-local → mode-testnet}/ExecutorFeeLib.json +17 -17
- package/deployments/{bsc-sandbox-local → mode-testnet}/ExecutorProxyAdmin.json +24 -24
- package/deployments/{bsc-sandbox-local → mode-testnet}/Executor_Implementation.json +9 -9
- package/deployments/{bsc-sandbox-local → mode-testnet}/Executor_Proxy.json +92 -107
- package/deployments/{bsc-sandbox-local → mode-testnet}/LzExecutor.json +40 -40
- package/deployments/{bsc-sandbox-local → mode-testnet}/LzExecutor_Implementation.json +9 -9
- package/deployments/{avalanche-sandbox-local/PriceFeed_Proxy.json → mode-testnet/LzExecutor_Proxy.json} +37 -37
- package/deployments/{bsc-sandbox-local → mode-testnet}/PriceFeed.json +39 -39
- package/deployments/{arbitrum-sandbox-local → mode-testnet}/PriceFeedProxyAdmin.json +24 -24
- package/deployments/{arbitrum-sandbox-local → mode-testnet}/PriceFeed_Implementation.json +9 -9
- package/deployments/{bsc-sandbox-local → mode-testnet}/PriceFeed_Proxy.json +37 -37
- package/deployments/{avalanche-sandbox-local → mode-testnet}/ReceiveUln301.json +18 -18
- package/deployments/{avalanche-sandbox-local → mode-testnet}/ReceiveUln301View.json +34 -34
- package/deployments/{avalanche-sandbox-local → mode-testnet}/ReceiveUln301View_Implementation.json +9 -9
- package/deployments/{avalanche-sandbox-local/ReceiveUln302View_Proxy.json → mode-testnet/ReceiveUln301View_Proxy.json} +31 -31
- package/deployments/{avalanche-sandbox-local → mode-testnet}/ReceiveUln302.json +17 -17
- package/deployments/{avalanche-sandbox-local → mode-testnet}/ReceiveUln302View.json +33 -33
- package/deployments/{bsc-sandbox-local → mode-testnet}/ReceiveUln302View_Implementation.json +9 -9
- package/deployments/{bsc-sandbox-local → mode-testnet}/ReceiveUln302View_Proxy.json +30 -30
- package/deployments/{avalanche-sandbox-local → mode-testnet}/SendUln301.json +20 -20
- package/deployments/{bsc-sandbox-local → mode-testnet}/SendUln302.json +17 -17
- package/deployments/{bsc-sandbox-local → mode-testnet}/Treasury.json +16 -16
- package/deployments/{avalanche-sandbox-local → mode-testnet}/TreasuryFeeHandler.json +10 -10
- package/package.json +9 -9
- package/deployments/arbitrum-sandbox-local/DVN.json +0 -1864
- package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +0 -500
- package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +0 -398
- package/deployments/arbitrum-sandbox-local/PriceFeed.json +0 -890
- package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +0 -244
- package/deployments/avalanche-sandbox-local/DVNDecompressor.json +0 -508
- package/deployments/avalanche-sandbox-local/EndpointV2.json +0 -2946
- package/deployments/avalanche-sandbox-local/Executor.json +0 -1549
- package/deployments/avalanche-sandbox-local/ExecutorDecompressor.json +0 -339
- package/deployments/avalanche-sandbox-local/ExecutorFeeLib.json +0 -423
- package/deployments/avalanche-sandbox-local/ExecutorProxyAdmin.json +0 -283
- package/deployments/avalanche-sandbox-local/Executor_Implementation.json +0 -1591
- package/deployments/avalanche-sandbox-local/Executor_Proxy.json +0 -380
- package/deployments/avalanche-sandbox-local/LzExecutor.json +0 -757
- package/deployments/avalanche-sandbox-local/LzExecutor_Implementation.json +0 -703
- package/deployments/avalanche-sandbox-local/LzExecutor_Proxy.json +0 -244
- package/deployments/avalanche-sandbox-local/NonceContractMock.json +0 -163
- package/deployments/avalanche-sandbox-local/PriceFeed.json +0 -890
- package/deployments/avalanche-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/avalanche-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/avalanche-sandbox-local/ReceiveUln301View_Proxy.json +0 -230
- package/deployments/avalanche-sandbox-local/ReceiveUln302View_Implementation.json +0 -384
- package/deployments/avalanche-sandbox-local/SendUln302.json +0 -1527
- package/deployments/avalanche-sandbox-local/SimpleMessageLib.json +0 -708
- package/deployments/avalanche-sandbox-local/Treasury.json +0 -412
- package/deployments/bsc-sandbox-local/DVN.json +0 -1896
- package/deployments/bsc-sandbox-local/DVNDecompressor.json +0 -508
- package/deployments/bsc-sandbox-local/DVNFeeLib.json +0 -398
- package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +0 -258
- package/deployments/bsc-sandbox-local/EndpointV2View.json +0 -435
- package/deployments/bsc-sandbox-local/EndpointV2View_Implementation.json +0 -313
- package/deployments/bsc-sandbox-local/EndpointV2View_Proxy.json +0 -230
- package/deployments/bsc-sandbox-local/ExecutorDecompressor.json +0 -339
- package/deployments/bsc-sandbox-local/LzExecutor_Proxy.json +0 -244
- package/deployments/bsc-sandbox-local/NonceContractMock.json +0 -163
- package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/bsc-sandbox-local/ReceiveUln301.json +0 -1292
- package/deployments/bsc-sandbox-local/ReceiveUln301View.json +0 -354
- package/deployments/bsc-sandbox-local/ReceiveUln301View_Implementation.json +0 -231
- package/deployments/bsc-sandbox-local/ReceiveUln301View_Proxy.json +0 -230
- package/deployments/bsc-sandbox-local/ReceiveUln302.json +0 -1006
- package/deployments/bsc-sandbox-local/ReceiveUln302View.json +0 -478
- package/deployments/bsc-sandbox-local/SendUln301.json +0 -1569
- package/deployments/bsc-sandbox-local/SimpleMessageLib.json +0 -708
- package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +0 -125
- package/deployments/tron-sandbox-local/DVN.json +0 -1864
- package/deployments/tron-sandbox-local/DVNDecompressor.json +0 -500
- package/deployments/tron-sandbox-local/DVNFeeLib.json +0 -398
- package/deployments/tron-sandbox-local/PriceFeed.json +0 -890
- package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +0 -244
|
@@ -1,412 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"address": "0xC6bA8C3233eCF65B761049ef63466945c362EdD2",
|
|
3
|
-
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"inputs": [],
|
|
6
|
-
"name": "LZ_Treasury_LzTokenNotEnabled",
|
|
7
|
-
"type": "error"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"inputs": [
|
|
11
|
-
{
|
|
12
|
-
"internalType": "address",
|
|
13
|
-
"name": "_to",
|
|
14
|
-
"type": "address"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"internalType": "uint256",
|
|
18
|
-
"name": "_value",
|
|
19
|
-
"type": "uint256"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"name": "Transfer_NativeFailed",
|
|
23
|
-
"type": "error"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"inputs": [],
|
|
27
|
-
"name": "Transfer_ToAddressIsZero",
|
|
28
|
-
"type": "error"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"anonymous": false,
|
|
32
|
-
"inputs": [
|
|
33
|
-
{
|
|
34
|
-
"indexed": true,
|
|
35
|
-
"internalType": "address",
|
|
36
|
-
"name": "previousOwner",
|
|
37
|
-
"type": "address"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"indexed": true,
|
|
41
|
-
"internalType": "address",
|
|
42
|
-
"name": "newOwner",
|
|
43
|
-
"type": "address"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"name": "OwnershipTransferred",
|
|
47
|
-
"type": "event"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"inputs": [
|
|
51
|
-
{
|
|
52
|
-
"internalType": "address",
|
|
53
|
-
"name": "",
|
|
54
|
-
"type": "address"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"internalType": "uint32",
|
|
58
|
-
"name": "",
|
|
59
|
-
"type": "uint32"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"internalType": "uint256",
|
|
63
|
-
"name": "_totalFee",
|
|
64
|
-
"type": "uint256"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"internalType": "bool",
|
|
68
|
-
"name": "_payInLzToken",
|
|
69
|
-
"type": "bool"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"name": "getFee",
|
|
73
|
-
"outputs": [
|
|
74
|
-
{
|
|
75
|
-
"internalType": "uint256",
|
|
76
|
-
"name": "",
|
|
77
|
-
"type": "uint256"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"stateMutability": "view",
|
|
81
|
-
"type": "function"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"inputs": [],
|
|
85
|
-
"name": "lzTokenEnabled",
|
|
86
|
-
"outputs": [
|
|
87
|
-
{
|
|
88
|
-
"internalType": "bool",
|
|
89
|
-
"name": "",
|
|
90
|
-
"type": "bool"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"stateMutability": "view",
|
|
94
|
-
"type": "function"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"inputs": [],
|
|
98
|
-
"name": "lzTokenFee",
|
|
99
|
-
"outputs": [
|
|
100
|
-
{
|
|
101
|
-
"internalType": "uint256",
|
|
102
|
-
"name": "",
|
|
103
|
-
"type": "uint256"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"stateMutability": "view",
|
|
107
|
-
"type": "function"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"inputs": [],
|
|
111
|
-
"name": "nativeBP",
|
|
112
|
-
"outputs": [
|
|
113
|
-
{
|
|
114
|
-
"internalType": "uint256",
|
|
115
|
-
"name": "",
|
|
116
|
-
"type": "uint256"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"stateMutability": "view",
|
|
120
|
-
"type": "function"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"inputs": [],
|
|
124
|
-
"name": "owner",
|
|
125
|
-
"outputs": [
|
|
126
|
-
{
|
|
127
|
-
"internalType": "address",
|
|
128
|
-
"name": "",
|
|
129
|
-
"type": "address"
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"stateMutability": "view",
|
|
133
|
-
"type": "function"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"inputs": [
|
|
137
|
-
{
|
|
138
|
-
"internalType": "address",
|
|
139
|
-
"name": "",
|
|
140
|
-
"type": "address"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"internalType": "uint32",
|
|
144
|
-
"name": "",
|
|
145
|
-
"type": "uint32"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"internalType": "uint256",
|
|
149
|
-
"name": "_totalFee",
|
|
150
|
-
"type": "uint256"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"internalType": "bool",
|
|
154
|
-
"name": "_payInLzToken",
|
|
155
|
-
"type": "bool"
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
"name": "payFee",
|
|
159
|
-
"outputs": [
|
|
160
|
-
{
|
|
161
|
-
"internalType": "uint256",
|
|
162
|
-
"name": "",
|
|
163
|
-
"type": "uint256"
|
|
164
|
-
}
|
|
165
|
-
],
|
|
166
|
-
"stateMutability": "payable",
|
|
167
|
-
"type": "function"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"inputs": [],
|
|
171
|
-
"name": "renounceOwnership",
|
|
172
|
-
"outputs": [],
|
|
173
|
-
"stateMutability": "nonpayable",
|
|
174
|
-
"type": "function"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"inputs": [
|
|
178
|
-
{
|
|
179
|
-
"internalType": "bool",
|
|
180
|
-
"name": "_lzTokenEnabled",
|
|
181
|
-
"type": "bool"
|
|
182
|
-
}
|
|
183
|
-
],
|
|
184
|
-
"name": "setLzTokenEnabled",
|
|
185
|
-
"outputs": [],
|
|
186
|
-
"stateMutability": "nonpayable",
|
|
187
|
-
"type": "function"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"inputs": [
|
|
191
|
-
{
|
|
192
|
-
"internalType": "uint256",
|
|
193
|
-
"name": "_lzTokenFee",
|
|
194
|
-
"type": "uint256"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"name": "setLzTokenFee",
|
|
198
|
-
"outputs": [],
|
|
199
|
-
"stateMutability": "nonpayable",
|
|
200
|
-
"type": "function"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"inputs": [
|
|
204
|
-
{
|
|
205
|
-
"internalType": "uint256",
|
|
206
|
-
"name": "_nativeBP",
|
|
207
|
-
"type": "uint256"
|
|
208
|
-
}
|
|
209
|
-
],
|
|
210
|
-
"name": "setNativeFeeBP",
|
|
211
|
-
"outputs": [],
|
|
212
|
-
"stateMutability": "nonpayable",
|
|
213
|
-
"type": "function"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"inputs": [
|
|
217
|
-
{
|
|
218
|
-
"internalType": "address",
|
|
219
|
-
"name": "newOwner",
|
|
220
|
-
"type": "address"
|
|
221
|
-
}
|
|
222
|
-
],
|
|
223
|
-
"name": "transferOwnership",
|
|
224
|
-
"outputs": [],
|
|
225
|
-
"stateMutability": "nonpayable",
|
|
226
|
-
"type": "function"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"inputs": [
|
|
230
|
-
{
|
|
231
|
-
"internalType": "address",
|
|
232
|
-
"name": "_messageLib",
|
|
233
|
-
"type": "address"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"internalType": "address",
|
|
237
|
-
"name": "_lzToken",
|
|
238
|
-
"type": "address"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"internalType": "address",
|
|
242
|
-
"name": "_to",
|
|
243
|
-
"type": "address"
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"internalType": "uint256",
|
|
247
|
-
"name": "_amount",
|
|
248
|
-
"type": "uint256"
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
|
-
"name": "withdrawLzToken",
|
|
252
|
-
"outputs": [],
|
|
253
|
-
"stateMutability": "nonpayable",
|
|
254
|
-
"type": "function"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"inputs": [
|
|
258
|
-
{
|
|
259
|
-
"internalType": "address",
|
|
260
|
-
"name": "_messageLib",
|
|
261
|
-
"type": "address"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"internalType": "address payable",
|
|
265
|
-
"name": "_to",
|
|
266
|
-
"type": "address"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"internalType": "uint256",
|
|
270
|
-
"name": "_amount",
|
|
271
|
-
"type": "uint256"
|
|
272
|
-
}
|
|
273
|
-
],
|
|
274
|
-
"name": "withdrawNativeFee",
|
|
275
|
-
"outputs": [],
|
|
276
|
-
"stateMutability": "nonpayable",
|
|
277
|
-
"type": "function"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"inputs": [
|
|
281
|
-
{
|
|
282
|
-
"internalType": "address",
|
|
283
|
-
"name": "_token",
|
|
284
|
-
"type": "address"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"internalType": "address",
|
|
288
|
-
"name": "_to",
|
|
289
|
-
"type": "address"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"internalType": "uint256",
|
|
293
|
-
"name": "_amount",
|
|
294
|
-
"type": "uint256"
|
|
295
|
-
}
|
|
296
|
-
],
|
|
297
|
-
"name": "withdrawToken",
|
|
298
|
-
"outputs": [],
|
|
299
|
-
"stateMutability": "nonpayable",
|
|
300
|
-
"type": "function"
|
|
301
|
-
}
|
|
302
|
-
],
|
|
303
|
-
"transactionHash": "0x91adc0a45da351eb657c1d447b4376e94bd78f387ae72556c0a465ac99692941",
|
|
304
|
-
"receipt": {
|
|
305
|
-
"to": null,
|
|
306
|
-
"from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
307
|
-
"contractAddress": "0xC6bA8C3233eCF65B761049ef63466945c362EdD2",
|
|
308
|
-
"transactionIndex": 0,
|
|
309
|
-
"gasUsed": "839184",
|
|
310
|
-
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000400000000000001000000000000000000000000000000000800020000000000000000000800000000000000000000000000000000400000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000000000000000000000000000000",
|
|
311
|
-
"blockHash": "0xbac81b746809582df2936decdeb6e54fffa8372564804fda99a3e2df5264eb9e",
|
|
312
|
-
"transactionHash": "0x91adc0a45da351eb657c1d447b4376e94bd78f387ae72556c0a465ac99692941",
|
|
313
|
-
"logs": [
|
|
314
|
-
{
|
|
315
|
-
"transactionIndex": 0,
|
|
316
|
-
"blockNumber": 13,
|
|
317
|
-
"transactionHash": "0x91adc0a45da351eb657c1d447b4376e94bd78f387ae72556c0a465ac99692941",
|
|
318
|
-
"address": "0xC6bA8C3233eCF65B761049ef63466945c362EdD2",
|
|
319
|
-
"topics": [
|
|
320
|
-
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
321
|
-
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
322
|
-
"0x00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8"
|
|
323
|
-
],
|
|
324
|
-
"data": "0x",
|
|
325
|
-
"logIndex": 0,
|
|
326
|
-
"blockHash": "0xbac81b746809582df2936decdeb6e54fffa8372564804fda99a3e2df5264eb9e"
|
|
327
|
-
}
|
|
328
|
-
],
|
|
329
|
-
"blockNumber": 13,
|
|
330
|
-
"cumulativeGasUsed": "839184",
|
|
331
|
-
"status": 1,
|
|
332
|
-
"byzantium": true
|
|
333
|
-
},
|
|
334
|
-
"args": [],
|
|
335
|
-
"numDeployments": 1,
|
|
336
|
-
"solcInputHash": "a02895da4e26717c8c5ac06356be07de",
|
|
337
|
-
"bytecode": "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610ddb8061007e6000396000f3fe6080604052600436106100dd5760003560e01c80638ee643a61161007f578063bf6e753611610059578063bf6e753614610237578063d424422114610257578063d51c548614610277578063f2fde38b1461028557600080fd5b80638ee643a6146101dd57806390953238146101fd57806396a141a01461022157600080fd5b80633972d46c116100bb5780633972d46c14610153578063715018a6146101735780637e8a0699146101885780638da5cb5b146101a857600080fd5b806301d9c2cb146100e257806301e336671461011157806301f1f6e814610133575b600080fd5b3480156100ee57600080fd5b506003546100fc9060ff1681565b60405190151581526020015b60405180910390f35b34801561011d57600080fd5b5061013161012c366004610b28565b6102a5565b005b34801561013f57600080fd5b5061013161014e366004610b77565b6102bd565b34801561015f57600080fd5b5061013161016e366004610b9b565b6102f6565b34801561017f57600080fd5b50610131610303565b34801561019457600080fd5b506101316101a3366004610bb4565b610317565b3480156101b457600080fd5b5060005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610108565b3480156101e957600080fd5b506101316101f8366004610b9b565b6103b5565b34801561020957600080fd5b5061021360025481565b604051908152602001610108565b34801561022d57600080fd5b5061021360015481565b34801561024357600080fd5b50610131610252366004610b28565b6103c2565b34801561026357600080fd5b50610213610272366004610c05565b610457565b610213610272366004610c05565b34801561029157600080fd5b506101316102a0366004610c61565b61046e565b6102ad61052a565b6102b88383836105ab565b505050565b6102c561052a565b600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6102fe61052a565b600155565b61030b61052a565b61031560006105db565b565b61031f61052a565b6040517f200175f700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015283811660248301526044820183905285169063200175f790606401600060405180830381600087803b15801561039757600080fd5b505af11580156103ab573d6000803e3d6000fd5b5050505050505050565b6103bd61052a565b600255565b6103ca61052a565b6040517ffd9be52200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301526024820183905284169063fd9be52290604401600060405180830381600087803b15801561043a57600080fd5b505af115801561044e573d6000803e3d6000fd5b50505050505050565b60006104638383610650565b90505b949350505050565b61047661052a565b73ffffffffffffffffffffffffffffffffffffffff811661051e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610527816105db565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610515565b73ffffffffffffffffffffffffffffffffffffffff83166105d0576102b882826106c1565b6102b88383836107c7565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000811561069d5760035460ff16610694576040517f1cf849b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506002546106bb565b612710600154846106ae9190610c7e565b6106b89190610cbc565b90505b92915050565b73ffffffffffffffffffffffffffffffffffffffff821661070e576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610768576040519150601f19603f3d011682016040523d82523d6000602084013e61076d565b606091505b50509050806102b8576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610515565b73ffffffffffffffffffffffffffffffffffffffff8216610814576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff848116602483015260448083018590528351808403909101815260649092018352602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908401526102b892908616918591859185918591906000906108e89084908490610995565b90508051600014806109095750808060200190518101906109099190610cf7565b6102b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610515565b60606104668484600085856000808673ffffffffffffffffffffffffffffffffffffffff1685876040516109c99190610d38565b60006040518083038185875af1925050503d8060008114610a06576040519150601f19603f3d011682016040523d82523d6000602084013e610a0b565b606091505b5091509150610a1c87838387610a27565b979650505050505050565b60608315610abd578251600003610ab65773ffffffffffffffffffffffffffffffffffffffff85163b610ab6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610515565b5081610466565b6104668383815115610ad25781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105159190610d54565b73ffffffffffffffffffffffffffffffffffffffff8116811461052757600080fd5b600080600060608486031215610b3d57600080fd5b8335610b4881610b06565b92506020840135610b5881610b06565b929592945050506040919091013590565b801515811461052757600080fd5b600060208284031215610b8957600080fd5b8135610b9481610b69565b9392505050565b600060208284031215610bad57600080fd5b5035919050565b60008060008060808587031215610bca57600080fd5b8435610bd581610b06565b93506020850135610be581610b06565b92506040850135610bf581610b06565b9396929550929360600135925050565b60008060008060808587031215610c1b57600080fd5b8435610c2681610b06565b9350602085013563ffffffff81168114610c3f57600080fd5b9250604085013591506060850135610c5681610b69565b939692955090935050565b600060208284031215610c7357600080fd5b8135610b9481610b06565b80820281158282048414176106bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082610cf2577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600060208284031215610d0957600080fd5b8151610b9481610b69565b60005b83811015610d2f578181015183820152602001610d17565b50506000910152565b60008251610d4a818460208701610d14565b9190910192915050565b6020815260008251806020840152610d73816040850160208701610d14565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220803c59959558d9c73d67e5b249e0df5a1bf7cb0887ff41b5c2149b2b0c07195364736f6c63430008160033",
|
|
338
|
-
"deployedBytecode": "0x6080604052600436106100dd5760003560e01c80638ee643a61161007f578063bf6e753611610059578063bf6e753614610237578063d424422114610257578063d51c548614610277578063f2fde38b1461028557600080fd5b80638ee643a6146101dd57806390953238146101fd57806396a141a01461022157600080fd5b80633972d46c116100bb5780633972d46c14610153578063715018a6146101735780637e8a0699146101885780638da5cb5b146101a857600080fd5b806301d9c2cb146100e257806301e336671461011157806301f1f6e814610133575b600080fd5b3480156100ee57600080fd5b506003546100fc9060ff1681565b60405190151581526020015b60405180910390f35b34801561011d57600080fd5b5061013161012c366004610b28565b6102a5565b005b34801561013f57600080fd5b5061013161014e366004610b77565b6102bd565b34801561015f57600080fd5b5061013161016e366004610b9b565b6102f6565b34801561017f57600080fd5b50610131610303565b34801561019457600080fd5b506101316101a3366004610bb4565b610317565b3480156101b457600080fd5b5060005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610108565b3480156101e957600080fd5b506101316101f8366004610b9b565b6103b5565b34801561020957600080fd5b5061021360025481565b604051908152602001610108565b34801561022d57600080fd5b5061021360015481565b34801561024357600080fd5b50610131610252366004610b28565b6103c2565b34801561026357600080fd5b50610213610272366004610c05565b610457565b610213610272366004610c05565b34801561029157600080fd5b506101316102a0366004610c61565b61046e565b6102ad61052a565b6102b88383836105ab565b505050565b6102c561052a565b600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6102fe61052a565b600155565b61030b61052a565b61031560006105db565b565b61031f61052a565b6040517f200175f700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015283811660248301526044820183905285169063200175f790606401600060405180830381600087803b15801561039757600080fd5b505af11580156103ab573d6000803e3d6000fd5b5050505050505050565b6103bd61052a565b600255565b6103ca61052a565b6040517ffd9be52200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301526024820183905284169063fd9be52290604401600060405180830381600087803b15801561043a57600080fd5b505af115801561044e573d6000803e3d6000fd5b50505050505050565b60006104638383610650565b90505b949350505050565b61047661052a565b73ffffffffffffffffffffffffffffffffffffffff811661051e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610527816105db565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610515565b73ffffffffffffffffffffffffffffffffffffffff83166105d0576102b882826106c1565b6102b88383836107c7565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000811561069d5760035460ff16610694576040517f1cf849b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506002546106bb565b612710600154846106ae9190610c7e565b6106b89190610cbc565b90505b92915050565b73ffffffffffffffffffffffffffffffffffffffff821661070e576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610768576040519150601f19603f3d011682016040523d82523d6000602084013e61076d565b606091505b50509050806102b8576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610515565b73ffffffffffffffffffffffffffffffffffffffff8216610814576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff848116602483015260448083018590528351808403909101815260649092018352602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908401526102b892908616918591859185918591906000906108e89084908490610995565b90508051600014806109095750808060200190518101906109099190610cf7565b6102b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610515565b60606104668484600085856000808673ffffffffffffffffffffffffffffffffffffffff1685876040516109c99190610d38565b60006040518083038185875af1925050503d8060008114610a06576040519150601f19603f3d011682016040523d82523d6000602084013e610a0b565b606091505b5091509150610a1c87838387610a27565b979650505050505050565b60608315610abd578251600003610ab65773ffffffffffffffffffffffffffffffffffffffff85163b610ab6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610515565b5081610466565b6104668383815115610ad25781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105159190610d54565b73ffffffffffffffffffffffffffffffffffffffff8116811461052757600080fd5b600080600060608486031215610b3d57600080fd5b8335610b4881610b06565b92506020840135610b5881610b06565b929592945050506040919091013590565b801515811461052757600080fd5b600060208284031215610b8957600080fd5b8135610b9481610b69565b9392505050565b600060208284031215610bad57600080fd5b5035919050565b60008060008060808587031215610bca57600080fd5b8435610bd581610b06565b93506020850135610be581610b06565b92506040850135610bf581610b06565b9396929550929360600135925050565b60008060008060808587031215610c1b57600080fd5b8435610c2681610b06565b9350602085013563ffffffff81168114610c3f57600080fd5b9250604085013591506060850135610c5681610b69565b939692955090935050565b600060208284031215610c7357600080fd5b8135610b9481610b06565b80820281158282048414176106bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082610cf2577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600060208284031215610d0957600080fd5b8151610b9481610b69565b60005b83811015610d2f578181015183820152602001610d17565b50506000910152565b60008251610d4a818460208701610d14565b9190910192915050565b6020815260008251806020840152610d73816040850160208701610d14565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220803c59959558d9c73d67e5b249e0df5a1bf7cb0887ff41b5c2149b2b0c07195364736f6c63430008160033",
|
|
339
|
-
"devdoc": {
|
|
340
|
-
"kind": "dev",
|
|
341
|
-
"methods": {
|
|
342
|
-
"owner()": {
|
|
343
|
-
"details": "Returns the address of the current owner."
|
|
344
|
-
},
|
|
345
|
-
"renounceOwnership()": {
|
|
346
|
-
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."
|
|
347
|
-
},
|
|
348
|
-
"transferOwnership(address)": {
|
|
349
|
-
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
"version": 1
|
|
353
|
-
},
|
|
354
|
-
"userdoc": {
|
|
355
|
-
"kind": "user",
|
|
356
|
-
"methods": {},
|
|
357
|
-
"version": 1
|
|
358
|
-
},
|
|
359
|
-
"storageLayout": {
|
|
360
|
-
"storage": [
|
|
361
|
-
{
|
|
362
|
-
"astId": 7797,
|
|
363
|
-
"contract": "contracts/Treasury.sol:Treasury",
|
|
364
|
-
"label": "_owner",
|
|
365
|
-
"offset": 0,
|
|
366
|
-
"slot": "0",
|
|
367
|
-
"type": "t_address"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"astId": 15612,
|
|
371
|
-
"contract": "contracts/Treasury.sol:Treasury",
|
|
372
|
-
"label": "nativeBP",
|
|
373
|
-
"offset": 0,
|
|
374
|
-
"slot": "1",
|
|
375
|
-
"type": "t_uint256"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"astId": 15614,
|
|
379
|
-
"contract": "contracts/Treasury.sol:Treasury",
|
|
380
|
-
"label": "lzTokenFee",
|
|
381
|
-
"offset": 0,
|
|
382
|
-
"slot": "2",
|
|
383
|
-
"type": "t_uint256"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"astId": 15616,
|
|
387
|
-
"contract": "contracts/Treasury.sol:Treasury",
|
|
388
|
-
"label": "lzTokenEnabled",
|
|
389
|
-
"offset": 0,
|
|
390
|
-
"slot": "3",
|
|
391
|
-
"type": "t_bool"
|
|
392
|
-
}
|
|
393
|
-
],
|
|
394
|
-
"types": {
|
|
395
|
-
"t_address": {
|
|
396
|
-
"encoding": "inplace",
|
|
397
|
-
"label": "address",
|
|
398
|
-
"numberOfBytes": "20"
|
|
399
|
-
},
|
|
400
|
-
"t_bool": {
|
|
401
|
-
"encoding": "inplace",
|
|
402
|
-
"label": "bool",
|
|
403
|
-
"numberOfBytes": "1"
|
|
404
|
-
},
|
|
405
|
-
"t_uint256": {
|
|
406
|
-
"encoding": "inplace",
|
|
407
|
-
"label": "uint256",
|
|
408
|
-
"numberOfBytes": "32"
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|