@layerzerolabs/lz-evm-sdk-v2 2.0.8 → 2.0.10-tron

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.
Files changed (117) hide show
  1. package/deployments/arbitrum-sandbox-local/DVN.json +1896 -0
  2. package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +387 -0
  3. package/deployments/arbitrum-sandbox-local/EndpointV2.json +2955 -0
  4. package/deployments/{ethereum-sandbox-local/Oracle.json → arbitrum-sandbox-local/Executor.json} +656 -398
  5. package/deployments/arbitrum-sandbox-local/ExecutorFeeLib.json +407 -0
  6. package/deployments/arbitrum-sandbox-local/ExecutorProxyAdmin.json +283 -0
  7. package/deployments/arbitrum-sandbox-local/Executor_Implementation.json +1591 -0
  8. package/deployments/{ethereum-sandbox-local/Oracle_Proxy.json → arbitrum-sandbox-local/Executor_Proxy.json} +135 -60
  9. package/deployments/arbitrum-sandbox-local/NonceContractMock.json +163 -0
  10. package/deployments/{polygon-sandbox-local/Relayer.json → arbitrum-sandbox-local/PriceFeed.json} +339 -445
  11. package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +283 -0
  12. package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +912 -0
  13. package/deployments/{ethereum-sandbox-local/Relayer_Proxy.json → arbitrum-sandbox-local/PriceFeed_Proxy.json} +33 -64
  14. package/deployments/arbitrum-sandbox-local/ReceiveUln301.json +1264 -0
  15. package/deployments/arbitrum-sandbox-local/ReceiveUln302.json +954 -0
  16. package/deployments/arbitrum-sandbox-local/SendUln301.json +1569 -0
  17. package/deployments/arbitrum-sandbox-local/SendUln302.json +1527 -0
  18. package/deployments/arbitrum-sandbox-local/SimpleMessageLib.json +708 -0
  19. package/deployments/arbitrum-sandbox-local/Treasury.json +412 -0
  20. package/deployments/arbitrum-sandbox-local/TreasuryFeeHandler.json +125 -0
  21. package/deployments/ethereum-sandbox-local/DVN.json +5 -5
  22. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +2 -2
  23. package/deployments/ethereum-sandbox-local/EndpointV2.json +4 -4
  24. package/deployments/ethereum-sandbox-local/Executor.json +14 -14
  25. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +2 -2
  26. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +3 -3
  27. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +1 -1
  28. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +14 -14
  29. package/deployments/ethereum-sandbox-local/NonceContractMock.json +1 -1
  30. package/deployments/ethereum-sandbox-local/PriceFeed.json +5 -5
  31. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +3 -3
  32. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +1 -1
  33. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
  34. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +2 -2
  35. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +2 -2
  36. package/deployments/ethereum-sandbox-local/SendUln301.json +2 -2
  37. package/deployments/ethereum-sandbox-local/SendUln302.json +2 -2
  38. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +2 -2
  39. package/deployments/ethereum-sandbox-local/Treasury.json +2 -2
  40. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +1 -1
  41. package/deployments/polygon-sandbox-local/DVN.json +5 -5
  42. package/deployments/polygon-sandbox-local/DVNFeeLib.json +2 -2
  43. package/deployments/polygon-sandbox-local/EndpointV2.json +4 -4
  44. package/deployments/polygon-sandbox-local/Executor.json +14 -14
  45. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +2 -2
  46. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +3 -3
  47. package/deployments/polygon-sandbox-local/Executor_Implementation.json +1 -1
  48. package/deployments/polygon-sandbox-local/Executor_Proxy.json +14 -14
  49. package/deployments/polygon-sandbox-local/NonceContractMock.json +1 -1
  50. package/deployments/polygon-sandbox-local/PriceFeed.json +5 -5
  51. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +3 -3
  52. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +1 -1
  53. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +5 -5
  54. package/deployments/polygon-sandbox-local/ReceiveUln301.json +2 -2
  55. package/deployments/polygon-sandbox-local/ReceiveUln302.json +2 -2
  56. package/deployments/polygon-sandbox-local/SendUln301.json +2 -2
  57. package/deployments/polygon-sandbox-local/SendUln302.json +2 -2
  58. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +2 -2
  59. package/deployments/polygon-sandbox-local/Treasury.json +2 -2
  60. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +1 -1
  61. package/deployments/tron-sandbox-local/DVN.json +1896 -0
  62. package/deployments/tron-sandbox-local/DVNFeeLib.json +387 -0
  63. package/deployments/tron-sandbox-local/EndpointV2.json +2955 -0
  64. package/deployments/{polygon-sandbox-local/Oracle.json → tron-sandbox-local/Executor.json} +656 -398
  65. package/deployments/tron-sandbox-local/ExecutorFeeLib.json +407 -0
  66. package/deployments/tron-sandbox-local/ExecutorProxyAdmin.json +283 -0
  67. package/deployments/tron-sandbox-local/Executor_Implementation.json +1591 -0
  68. package/deployments/{polygon-sandbox-local/Oracle_Proxy.json → tron-sandbox-local/Executor_Proxy.json} +135 -60
  69. package/deployments/tron-sandbox-local/NonceContractMock.json +163 -0
  70. package/deployments/{ethereum-sandbox-local/Relayer.json → tron-sandbox-local/PriceFeed.json} +339 -445
  71. package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +283 -0
  72. package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +912 -0
  73. package/deployments/{polygon-sandbox-local/Relayer_Proxy.json → tron-sandbox-local/PriceFeed_Proxy.json} +33 -64
  74. package/deployments/tron-sandbox-local/ReceiveUln301.json +1264 -0
  75. package/deployments/tron-sandbox-local/ReceiveUln302.json +954 -0
  76. package/deployments/tron-sandbox-local/SendUln301.json +1569 -0
  77. package/deployments/tron-sandbox-local/SendUln302.json +1527 -0
  78. package/deployments/tron-sandbox-local/SimpleMessageLib.json +708 -0
  79. package/deployments/tron-sandbox-local/Treasury.json +412 -0
  80. package/deployments/tron-sandbox-local/TreasuryFeeHandler.json +125 -0
  81. package/package.json +9 -20
  82. package/deployments/ethereum-sandbox-local/BlockedMessageLib.json +0 -90
  83. package/deployments/ethereum-sandbox-local/Endpoint.json +0 -2355
  84. package/deployments/ethereum-sandbox-local/MultiSigOracle.json +0 -1448
  85. package/deployments/ethereum-sandbox-local/NonceContract.json +0 -158
  86. package/deployments/ethereum-sandbox-local/OmniCounter.json +0 -1133
  87. package/deployments/ethereum-sandbox-local/OmniCounterPreCrime.json +0 -493
  88. package/deployments/ethereum-sandbox-local/OmniCounterPreCrimeView.json +0 -672
  89. package/deployments/ethereum-sandbox-local/OmniCounterViewer.json +0 -214
  90. package/deployments/ethereum-sandbox-local/OmniCounterWithPreCrime.json +0 -1646
  91. package/deployments/ethereum-sandbox-local/OracleFeeLib.json +0 -166
  92. package/deployments/ethereum-sandbox-local/OracleProxyAdmin.json +0 -272
  93. package/deployments/ethereum-sandbox-local/Oracle_Implementation.json +0 -1326
  94. package/deployments/ethereum-sandbox-local/RelayerFeeLib.json +0 -130
  95. package/deployments/ethereum-sandbox-local/RelayerProxyAdmin.json +0 -272
  96. package/deployments/ethereum-sandbox-local/Relayer_Implementation.json +0 -1014
  97. package/deployments/ethereum-sandbox-local/UlnConfig301.json +0 -1003
  98. package/deployments/ethereum-sandbox-local/UlnConfig302.json +0 -1003
  99. package/deployments/ethereum-sandbox-local/UltraLightNodeE302.json +0 -1696
  100. package/deployments/polygon-sandbox-local/BlockedMessageLib.json +0 -90
  101. package/deployments/polygon-sandbox-local/Endpoint.json +0 -2355
  102. package/deployments/polygon-sandbox-local/MultiSigOracle.json +0 -1448
  103. package/deployments/polygon-sandbox-local/NonceContract.json +0 -158
  104. package/deployments/polygon-sandbox-local/OmniCounter.json +0 -1133
  105. package/deployments/polygon-sandbox-local/OmniCounterPreCrime.json +0 -493
  106. package/deployments/polygon-sandbox-local/OmniCounterPreCrimeView.json +0 -672
  107. package/deployments/polygon-sandbox-local/OmniCounterViewer.json +0 -214
  108. package/deployments/polygon-sandbox-local/OmniCounterWithPreCrime.json +0 -1646
  109. package/deployments/polygon-sandbox-local/OracleFeeLib.json +0 -166
  110. package/deployments/polygon-sandbox-local/OracleProxyAdmin.json +0 -272
  111. package/deployments/polygon-sandbox-local/Oracle_Implementation.json +0 -1326
  112. package/deployments/polygon-sandbox-local/RelayerFeeLib.json +0 -130
  113. package/deployments/polygon-sandbox-local/RelayerProxyAdmin.json +0 -272
  114. package/deployments/polygon-sandbox-local/Relayer_Implementation.json +0 -1014
  115. package/deployments/polygon-sandbox-local/UlnConfig301.json +0 -1003
  116. package/deployments/polygon-sandbox-local/UlnConfig302.json +0 -1003
  117. package/deployments/polygon-sandbox-local/UltraLightNodeE302.json +0 -1696
@@ -0,0 +1,412 @@
1
+ {
2
+ "address": "0x9b70c84a6963a403885605E4fC8FD659e274Ff9A",
3
+ "abi": [
4
+ {
5
+ "inputs": [],
6
+ "name": "LzTokenNotEnabled",
7
+ "type": "error"
8
+ },
9
+ {
10
+ "inputs": [],
11
+ "name": "ToAddressIsZero",
12
+ "type": "error"
13
+ },
14
+ {
15
+ "inputs": [
16
+ {
17
+ "internalType": "address",
18
+ "name": "_to",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "internalType": "uint256",
23
+ "name": "_value",
24
+ "type": "uint256"
25
+ }
26
+ ],
27
+ "name": "TransferNativeFailed",
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": "0xd48d8653f309e93e4652e69cab59043dd661bf249e01a2713828604367fbdb0a",
304
+ "receipt": {
305
+ "to": null,
306
+ "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
307
+ "contractAddress": "0x9b70c84a6963a403885605E4fC8FD659e274Ff9A",
308
+ "transactionIndex": 0,
309
+ "gasUsed": "821363",
310
+ "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
311
+ "blockHash": "0x00000000000000200373f2464f542d21f629e8b4dd4e2e715c32efc04fe3e46f",
312
+ "transactionHash": "0xd48d8653f309e93e4652e69cab59043dd661bf249e01a2713828604367fbdb0a",
313
+ "logs": [
314
+ {
315
+ "transactionIndex": 0,
316
+ "blockNumber": 32,
317
+ "transactionHash": "0xd48d8653f309e93e4652e69cab59043dd661bf249e01a2713828604367fbdb0a",
318
+ "address": "0x9b70c84a6963a403885605E4fC8FD659e274Ff9A",
319
+ "topics": [
320
+ "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
321
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
322
+ "0x00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8"
323
+ ],
324
+ "data": "0x",
325
+ "logIndex": 0,
326
+ "blockHash": "0x00000000000000200373f2464f542d21f629e8b4dd4e2e715c32efc04fe3e46f"
327
+ }
328
+ ],
329
+ "blockNumber": 32,
330
+ "cumulativeGasUsed": "821363",
331
+ "status": 1,
332
+ "byzantium": true
333
+ },
334
+ "args": [],
335
+ "numDeployments": 1,
336
+ "solcInputHash": "1262ed55793b895b5a9d8c9d2ccdbaf9",
337
+ "bytecode": "0x608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b5061003433610039565b610089565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f9a806100986000396000f3fe6080604052600436106100dd5760003560e01c80638ee643a61161007f578063bf6e753611610059578063bf6e75361461033b578063d424422114610375578063d51c5486146103af578063f2fde38b146103bd57600080fd5b80638ee643a61461029357806390953238146102cd57806396a141a01461030b57600080fd5b80633972d46c116100bb5780633972d46c146101a1578063715018a6146101db5780637e8a06991461020a5780638da5cb5b1461024457600080fd5b806301d9c2cb146100e257806301e336671461012b57806301f1f6e814610167575b600080fd5b3480156100ee57600080fd5b50d380156100fb57600080fd5b50d2801561010857600080fd5b506003546101169060ff1681565b60405190151581526020015b60405180910390f35b34801561013757600080fd5b50d3801561014457600080fd5b50d2801561015157600080fd5b50610165610160366004610c7b565b6103f7565b005b34801561017357600080fd5b50d3801561018057600080fd5b50d2801561018d57600080fd5b5061016561019c366004610ce4565b61040f565b3480156101ad57600080fd5b50d380156101ba57600080fd5b50d280156101c757600080fd5b506101656101d6366004610d08565b610448565b3480156101e757600080fd5b50d380156101f457600080fd5b50d2801561020157600080fd5b50610165610455565b34801561021657600080fd5b50d3801561022357600080fd5b50d2801561023057600080fd5b5061016561023f366004610d21565b610469565b34801561025057600080fd5b50d3801561025d57600080fd5b50d2801561026a57600080fd5b5060005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b34801561029f57600080fd5b50d380156102ac57600080fd5b50d280156102b957600080fd5b506101656102c8366004610d08565b610507565b3480156102d957600080fd5b50d380156102e657600080fd5b50d280156102f357600080fd5b506102fd60025481565b604051908152602001610122565b34801561031757600080fd5b50d3801561032457600080fd5b50d2801561033157600080fd5b506102fd60015481565b34801561034757600080fd5b50d3801561035457600080fd5b50d2801561036157600080fd5b50610165610370366004610c7b565b610514565b34801561038157600080fd5b50d3801561038e57600080fd5b50d2801561039b57600080fd5b506102fd6103aa366004610d91565b6105a9565b6102fd6103aa366004610d91565b3480156103c957600080fd5b50d380156103d657600080fd5b50d280156103e357600080fd5b506101656103f2366004610e03565b6105c0565b6103ff61067c565b61040a8383836106fd565b505050565b61041761067c565b600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b61045061067c565b600155565b61045d61067c565b610467600061072d565b565b61047161067c565b6040517f200175f700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015283811660248301526044820183905285169063200175f790606401600060405180830381600087803b1580156104e957600080fd5b505af11580156104fd573d6000803e3d6000fd5b5050505050505050565b61050f61067c565b600255565b61051c61067c565b6040517ffd9be52200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301526024820183905284169063fd9be52290604401600060405180830381600087803b15801561058c57600080fd5b505af11580156105a0573d6000803e3d6000fd5b50505050505050565b60006105b583836107a2565b90505b949350505050565b6105c861067c565b73ffffffffffffffffffffffffffffffffffffffff8116610670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6106798161072d565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610667565b73ffffffffffffffffffffffffffffffffffffffff83166107225761040a8282610813565b61040a838383610919565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081156107ef5760035460ff166107e6576040517fd22af88c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060025461080d565b612710600154846108009190610e3d565b61080a9190610e7b565b90505b92915050565b73ffffffffffffffffffffffffffffffffffffffff8216610860576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146108ba576040519150601f19603f3d011682016040523d82523d6000602084013e6108bf565b606091505b505090508061040a576040517f2c024f9200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610667565b73ffffffffffffffffffffffffffffffffffffffff8216610966576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff848116602483015260448083018590528351808403909101815260649092018352602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261040a9290861691859185918591859190600090610a3a9084908490610ae7565b9050805160001480610a5b575080806020019051810190610a5b9190610eb6565b61040a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610667565b60606105b88484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051610b1b9190610ef7565b60006040518083038185875af1925050503d8060008114610b58576040519150601f19603f3d011682016040523d82523d6000602084013e610b5d565b606091505b5091509150610b6e87838387610b79565b979650505050505050565b60608315610c0f578251600003610c085773ffffffffffffffffffffffffffffffffffffffff85163b610c08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610667565b50816105b8565b6105b88383815115610c245781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106679190610f13565b74ffffffffffffffffffffffffffffffffffffffffff8116811461067957600080fd5b600080600060608486031215610c9057600080fd5b8335610c9b81610c58565b73ffffffffffffffffffffffffffffffffffffffff9081169350602085013590610cc482610c58565b93969316945050506040919091013590565b801515811461067957600080fd5b600060208284031215610cf657600080fd5b8135610d0181610cd6565b9392505050565b600060208284031215610d1a57600080fd5b5035919050565b60008060008060808587031215610d3757600080fd5b8435610d4281610c58565b73ffffffffffffffffffffffffffffffffffffffff9081169450602086013590610d6b82610c58565b9081169350604086013590610d7f82610c58565b94979396509093169360600135925050565b60008060008060808587031215610da757600080fd5b8435610db281610c58565b73ffffffffffffffffffffffffffffffffffffffff169350602085013563ffffffff81168114610de157600080fd5b9250604085013591506060850135610df881610cd6565b939692955090935050565b600060208284031215610e1557600080fd5b8135610e2081610c58565b73ffffffffffffffffffffffffffffffffffffffff169392505050565b808202811582820484141761080d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082610eb1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600060208284031215610ec857600080fd5b8151610d0181610cd6565b60005b83811015610eee578181015183820152602001610ed6565b50506000910152565b60008251610f09818460208701610ed3565b9190910192915050565b6020815260008251806020840152610f32816040850160208701610ed3565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26474726f6e582212203c4a3590036048f6cd7347543d99f0fd10d68da87a742a44717c58ca89637dd664736f6c63430008140033",
338
+ "deployedBytecode": "0x6080604052600436106100dd5760003560e01c80638ee643a61161007f578063bf6e753611610059578063bf6e75361461033b578063d424422114610375578063d51c5486146103af578063f2fde38b146103bd57600080fd5b80638ee643a61461029357806390953238146102cd57806396a141a01461030b57600080fd5b80633972d46c116100bb5780633972d46c146101a1578063715018a6146101db5780637e8a06991461020a5780638da5cb5b1461024457600080fd5b806301d9c2cb146100e257806301e336671461012b57806301f1f6e814610167575b600080fd5b3480156100ee57600080fd5b50d380156100fb57600080fd5b50d2801561010857600080fd5b506003546101169060ff1681565b60405190151581526020015b60405180910390f35b34801561013757600080fd5b50d3801561014457600080fd5b50d2801561015157600080fd5b50610165610160366004610c7b565b6103f7565b005b34801561017357600080fd5b50d3801561018057600080fd5b50d2801561018d57600080fd5b5061016561019c366004610ce4565b61040f565b3480156101ad57600080fd5b50d380156101ba57600080fd5b50d280156101c757600080fd5b506101656101d6366004610d08565b610448565b3480156101e757600080fd5b50d380156101f457600080fd5b50d2801561020157600080fd5b50610165610455565b34801561021657600080fd5b50d3801561022357600080fd5b50d2801561023057600080fd5b5061016561023f366004610d21565b610469565b34801561025057600080fd5b50d3801561025d57600080fd5b50d2801561026a57600080fd5b5060005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610122565b34801561029f57600080fd5b50d380156102ac57600080fd5b50d280156102b957600080fd5b506101656102c8366004610d08565b610507565b3480156102d957600080fd5b50d380156102e657600080fd5b50d280156102f357600080fd5b506102fd60025481565b604051908152602001610122565b34801561031757600080fd5b50d3801561032457600080fd5b50d2801561033157600080fd5b506102fd60015481565b34801561034757600080fd5b50d3801561035457600080fd5b50d2801561036157600080fd5b50610165610370366004610c7b565b610514565b34801561038157600080fd5b50d3801561038e57600080fd5b50d2801561039b57600080fd5b506102fd6103aa366004610d91565b6105a9565b6102fd6103aa366004610d91565b3480156103c957600080fd5b50d380156103d657600080fd5b50d280156103e357600080fd5b506101656103f2366004610e03565b6105c0565b6103ff61067c565b61040a8383836106fd565b505050565b61041761067c565b600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b61045061067c565b600155565b61045d61067c565b610467600061072d565b565b61047161067c565b6040517f200175f700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015283811660248301526044820183905285169063200175f790606401600060405180830381600087803b1580156104e957600080fd5b505af11580156104fd573d6000803e3d6000fd5b5050505050505050565b61050f61067c565b600255565b61051c61067c565b6040517ffd9be52200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301526024820183905284169063fd9be52290604401600060405180830381600087803b15801561058c57600080fd5b505af11580156105a0573d6000803e3d6000fd5b50505050505050565b60006105b583836107a2565b90505b949350505050565b6105c861067c565b73ffffffffffffffffffffffffffffffffffffffff8116610670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6106798161072d565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610667565b73ffffffffffffffffffffffffffffffffffffffff83166107225761040a8282610813565b61040a838383610919565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081156107ef5760035460ff166107e6576040517fd22af88c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5060025461080d565b612710600154846108009190610e3d565b61080a9190610e7b565b90505b92915050565b73ffffffffffffffffffffffffffffffffffffffff8216610860576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146108ba576040519150601f19603f3d011682016040523d82523d6000602084013e6108bf565b606091505b505090508061040a576040517f2c024f9200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101839052604401610667565b73ffffffffffffffffffffffffffffffffffffffff8216610966576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff848116602483015260448083018590528351808403909101815260649092018352602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261040a9290861691859185918591859190600090610a3a9084908490610ae7565b9050805160001480610a5b575080806020019051810190610a5b9190610eb6565b61040a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610667565b60606105b88484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051610b1b9190610ef7565b60006040518083038185875af1925050503d8060008114610b58576040519150601f19603f3d011682016040523d82523d6000602084013e610b5d565b606091505b5091509150610b6e87838387610b79565b979650505050505050565b60608315610c0f578251600003610c085773ffffffffffffffffffffffffffffffffffffffff85163b610c08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610667565b50816105b8565b6105b88383815115610c245781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106679190610f13565b74ffffffffffffffffffffffffffffffffffffffffff8116811461067957600080fd5b600080600060608486031215610c9057600080fd5b8335610c9b81610c58565b73ffffffffffffffffffffffffffffffffffffffff9081169350602085013590610cc482610c58565b93969316945050506040919091013590565b801515811461067957600080fd5b600060208284031215610cf657600080fd5b8135610d0181610cd6565b9392505050565b600060208284031215610d1a57600080fd5b5035919050565b60008060008060808587031215610d3757600080fd5b8435610d4281610c58565b73ffffffffffffffffffffffffffffffffffffffff9081169450602086013590610d6b82610c58565b9081169350604086013590610d7f82610c58565b94979396509093169360600135925050565b60008060008060808587031215610da757600080fd5b8435610db281610c58565b73ffffffffffffffffffffffffffffffffffffffff169350602085013563ffffffff81168114610de157600080fd5b9250604085013591506060850135610df881610cd6565b939692955090935050565b600060208284031215610e1557600080fd5b8135610e2081610c58565b73ffffffffffffffffffffffffffffffffffffffff169392505050565b808202811582820484141761080d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082610eb1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600060208284031215610ec857600080fd5b8151610d0181610cd6565b60005b83811015610eee578181015183820152602001610ed6565b50506000910152565b60008251610f09818460208701610ed3565b9190910192915050565b6020815260008251806020840152610f32816040850160208701610ed3565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26474726f6e582212203c4a3590036048f6cd7347543d99f0fd10d68da87a742a44717c58ca89637dd664736f6c63430008140033",
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": 6813,
363
+ "contract": "contracts/Treasury.sol:Treasury",
364
+ "label": "_owner",
365
+ "offset": 0,
366
+ "slot": "0",
367
+ "type": "t_address"
368
+ },
369
+ {
370
+ "astId": 14170,
371
+ "contract": "contracts/Treasury.sol:Treasury",
372
+ "label": "nativeBP",
373
+ "offset": 0,
374
+ "slot": "1",
375
+ "type": "t_uint256"
376
+ },
377
+ {
378
+ "astId": 14172,
379
+ "contract": "contracts/Treasury.sol:Treasury",
380
+ "label": "lzTokenFee",
381
+ "offset": 0,
382
+ "slot": "2",
383
+ "type": "t_uint256"
384
+ },
385
+ {
386
+ "astId": 14174,
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
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "address": "0x401560bcD9175de08d27548040028300764a162A",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "address",
8
+ "name": "_endpoint",
9
+ "type": "address"
10
+ }
11
+ ],
12
+ "stateMutability": "nonpayable",
13
+ "type": "constructor"
14
+ },
15
+ {
16
+ "inputs": [
17
+ {
18
+ "internalType": "uint256",
19
+ "name": "required",
20
+ "type": "uint256"
21
+ },
22
+ {
23
+ "internalType": "uint256",
24
+ "name": "supplied",
25
+ "type": "uint256"
26
+ }
27
+ ],
28
+ "name": "InvalidAmount",
29
+ "type": "error"
30
+ },
31
+ {
32
+ "inputs": [],
33
+ "name": "OnlyOnSending",
34
+ "type": "error"
35
+ },
36
+ {
37
+ "inputs": [],
38
+ "name": "OnlySendLibrary",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "endpoint",
44
+ "outputs": [
45
+ {
46
+ "internalType": "contract ILayerZeroEndpoint",
47
+ "name": "",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "_lzToken",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "internalType": "address",
63
+ "name": "_sender",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "internalType": "uint256",
68
+ "name": "_required",
69
+ "type": "uint256"
70
+ },
71
+ {
72
+ "internalType": "uint256",
73
+ "name": "_supplied",
74
+ "type": "uint256"
75
+ },
76
+ {
77
+ "internalType": "address",
78
+ "name": "_treasury",
79
+ "type": "address"
80
+ }
81
+ ],
82
+ "name": "payFee",
83
+ "outputs": [],
84
+ "stateMutability": "nonpayable",
85
+ "type": "function"
86
+ }
87
+ ],
88
+ "transactionHash": "0x9a0e398e771bd6d1657dc00725f0fde24539ddc0129fcd466fc2bfd2b7989b4f",
89
+ "receipt": {
90
+ "to": null,
91
+ "from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
92
+ "contractAddress": "0x401560bcD9175de08d27548040028300764a162A",
93
+ "transactionIndex": 0,
94
+ "gasUsed": "435762",
95
+ "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
96
+ "blockHash": "0x0000000000000021c5b452d4059689ae2009746450bdb171ac3aaf9c9018da77",
97
+ "transactionHash": "0x9a0e398e771bd6d1657dc00725f0fde24539ddc0129fcd466fc2bfd2b7989b4f",
98
+ "logs": [],
99
+ "blockNumber": 33,
100
+ "cumulativeGasUsed": "435762",
101
+ "status": 1,
102
+ "byzantium": true
103
+ },
104
+ "args": [
105
+ "0x7dbadFE3e55cE6F52bB4468E74F475fe90D4770E"
106
+ ],
107
+ "numDeployments": 1,
108
+ "solcInputHash": "1262ed55793b895b5a9d8c9d2ccdbaf9",
109
+ "bytecode": "0x60a060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b5060405161093a38038061093a8339810160408190526100499161005a565b6001600160a01b0316608052610093565b60006020828403121561006c57600080fd5b81516001600160a81b038116811461008357600080fd5b6001600160a01b03169392505050565b60805161087f6100bb60003960008181605a0152818161010101526101bd015261087f6000f3fe608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b50600436106100505760003560e01c80635e280f11146100555780637da56b4b146100a5575b600080fd5b61007c7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100b86100b33660046106d6565b6100ba565b005b6040517f9c729da100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015233917f000000000000000000000000000000000000000000000000000000000000000090911690639c729da190602401602060405180830381865afa15801561014a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016e9190610755565b73ffffffffffffffffffffffffffffffffffffffff16146101bb576040517f94cfb9e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e97a448a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024a919061078f565b610280576040517f0a98f1a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818311156102c9576040517f7c83fcf000000000000000000000000000000000000000000000000000000000815260048101849052602481018390526044015b60405180910390fd5b6102eb73ffffffffffffffffffffffffffffffffffffffff86168583866102f2565b5050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261038790859061038d565b50505050565b60006103ef826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166104a19092919063ffffffff16565b9050805160001480610410575080806020019051810190610410919061078f565b61049c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016102c0565b505050565b60606104b084846000856104b8565b949350505050565b60608247101561054a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016102c0565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161057391906107dc565b60006040518083038185875af1925050503d80600081146105b0576040519150601f19603f3d011682016040523d82523d6000602084013e6105b5565b606091505b50915091506105c6878383876105d1565b979650505050505050565b606083156106675782516000036106605773ffffffffffffffffffffffffffffffffffffffff85163b610660576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102c0565b50816104b0565b6104b0838381511561067c5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c091906107f8565b74ffffffffffffffffffffffffffffffffffffffffff811681146106d357600080fd5b50565b600080600080600060a086880312156106ee57600080fd5b85356106f9816106b0565b73ffffffffffffffffffffffffffffffffffffffff9081169550602087013590610722826106b0565b90811694506040870135935060608701359250608087013590610744826106b0565b808216925050509295509295909350565b60006020828403121561076757600080fd5b8151610772816106b0565b73ffffffffffffffffffffffffffffffffffffffff169392505050565b6000602082840312156107a157600080fd5b815180151581146107b157600080fd5b9392505050565b60005b838110156107d35781810151838201526020016107bb565b50506000910152565b600082516107ee8184602087016107b8565b9190910192915050565b60208152600082518060208401526108178160408501602087016107b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26474726f6e58221220c9e1e1724d555afd1f71c7947898cc3040a9263ec294fde951edb3603acc8d4764736f6c63430008140033",
110
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b50600436106100505760003560e01c80635e280f11146100555780637da56b4b146100a5575b600080fd5b61007c7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100b86100b33660046106d6565b6100ba565b005b6040517f9c729da100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015233917f000000000000000000000000000000000000000000000000000000000000000090911690639c729da190602401602060405180830381865afa15801561014a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016e9190610755565b73ffffffffffffffffffffffffffffffffffffffff16146101bb576040517f94cfb9e700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e97a448a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024a919061078f565b610280576040517f0a98f1a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818311156102c9576040517f7c83fcf000000000000000000000000000000000000000000000000000000000815260048101849052602481018390526044015b60405180910390fd5b6102eb73ffffffffffffffffffffffffffffffffffffffff86168583866102f2565b5050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261038790859061038d565b50505050565b60006103ef826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166104a19092919063ffffffff16565b9050805160001480610410575080806020019051810190610410919061078f565b61049c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016102c0565b505050565b60606104b084846000856104b8565b949350505050565b60608247101561054a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016102c0565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161057391906107dc565b60006040518083038185875af1925050503d80600081146105b0576040519150601f19603f3d011682016040523d82523d6000602084013e6105b5565b606091505b50915091506105c6878383876105d1565b979650505050505050565b606083156106675782516000036106605773ffffffffffffffffffffffffffffffffffffffff85163b610660576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102c0565b50816104b0565b6104b0838381511561067c5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c091906107f8565b74ffffffffffffffffffffffffffffffffffffffffff811681146106d357600080fd5b50565b600080600080600060a086880312156106ee57600080fd5b85356106f9816106b0565b73ffffffffffffffffffffffffffffffffffffffff9081169550602087013590610722826106b0565b90811694506040870135935060608701359250608087013590610744826106b0565b808216925050509295509295909350565b60006020828403121561076757600080fd5b8151610772816106b0565b73ffffffffffffffffffffffffffffffffffffffff169392505050565b6000602082840312156107a157600080fd5b815180151581146107b157600080fd5b9392505050565b60005b838110156107d35781810151838201526020016107bb565b50506000910152565b600082516107ee8184602087016107b8565b9190910192915050565b60208152600082518060208401526108178160408501602087016107b8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26474726f6e58221220c9e1e1724d555afd1f71c7947898cc3040a9263ec294fde951edb3603acc8d4764736f6c63430008140033",
111
+ "devdoc": {
112
+ "kind": "dev",
113
+ "methods": {},
114
+ "version": 1
115
+ },
116
+ "userdoc": {
117
+ "kind": "user",
118
+ "methods": {},
119
+ "version": 1
120
+ },
121
+ "storageLayout": {
122
+ "storage": [],
123
+ "types": null
124
+ }
125
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/lz-evm-sdk-v2",
3
- "version": "2.0.8",
3
+ "version": "2.0.10-tron",
4
4
  "license": "LZBL-1.2",
5
5
  "type": "module",
6
6
  "exports": {
@@ -34,34 +34,22 @@
34
34
  "postpack": "rsync --delete -avc ./.backup/ ./deployments/ && rimraf ./.backup/"
35
35
  },
36
36
  "dependencies": {
37
- "dotenv": "^16.3.1",
38
37
  "ethers": "^5.7.2"
39
38
  },
40
39
  "devDependencies": {
41
40
  "@ethersproject/abi": "^5.7.0",
42
41
  "@ethersproject/providers": "^5.7.0",
43
- "@layerzerolabs/hardhat-collect-outcomes": "^2.0.8",
44
- "@layerzerolabs/hardhat-config": "^0.0.0",
45
- "@layerzerolabs/lz-definitions": "^2.0.8",
46
- "@layerzerolabs/lz-evm-messagelib-v2": "^2.0.8",
47
- "@layerzerolabs/lz-evm-oapp-v2": "^2.0.8",
48
- "@layerzerolabs/lz-evm-protocol-v2": "^2.0.8",
42
+ "@layerzerolabs/lz-definitions": "^2.0.10-tron",
43
+ "@layerzerolabs/lz-evm-messagelib-v2": "^2.0.10-tron",
44
+ "@layerzerolabs/lz-evm-oapp-v2": "^2.0.10-tron",
45
+ "@layerzerolabs/lz-evm-protocol-v2": "^2.0.10-tron",
49
46
  "@layerzerolabs/monorepo-utilities": "^0.0.0",
50
- "@layerzerolabs/tsup-config-next": "^2.0.8",
51
- "@layerzerolabs/typescript-config-next": "^2.0.8",
52
- "@nomiclabs/hardhat-ethers": "^2.2.3",
47
+ "@layerzerolabs/tsup-config-next": "^2.0.10-tron",
48
+ "@layerzerolabs/typescript-config-next": "^2.0.10-tron",
53
49
  "@typechain/ethers-v5": "^10.2.1",
54
- "@typechain/hardhat": "^6.1.6",
55
50
  "@types/glob": "^8.1.0",
56
51
  "@types/node": "^20.10.5",
57
- "eslint": "^8.55.0",
58
- "hardhat": "^2.19.0",
59
- "hardhat-deploy": "^0.11.44",
60
- "hardhat-deploy-ethers": "^0.3.0-beta.13",
61
- "prettier": "^3.1.0",
62
- "prettier-plugin-solidity": "^1.2.0",
63
52
  "rimraf": "^5.0.5",
64
- "solhint": "^4.0.0",
65
53
  "tsup": "^8.0.1",
66
54
  "typechain": "^8.3.2",
67
55
  "typescript": "~5.2.2"
@@ -105,5 +93,6 @@
105
93
  "ReceiveUln302",
106
94
  "Treasury"
107
95
  ]
108
- }
96
+ },
97
+ "stableVersion": "2.0.10"
109
98
  }