@layerzerolabs/lz-evm-sdk-v2 2.0.15 → 2.0.16

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 (107) hide show
  1. package/artifacts/contracts/Executor.sol/Executor.json +2 -2
  2. package/artifacts/contracts/ExecutorFeeLib.sol/ExecutorFeeLib.json +7 -2
  3. package/artifacts/contracts/interfaces/IExecutorFeeLib.sol/IExecutorFeeLib.json +5 -0
  4. package/deployments/avalanche-testnet/AxelarDVNAdapterFeeLib.json +10 -10
  5. package/deployments/avalanche-testnet/AxelarDVNAdapterFeeLib_Implementation.json +40 -40
  6. package/deployments/ethereum-sandbox-local/DVN.json +76 -76
  7. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +23 -23
  8. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +258 -0
  9. package/deployments/ethereum-sandbox-local/EndpointV2.json +141 -150
  10. package/deployments/{blast-testnet/Executor_Proxy.json → ethereum-sandbox-local/EndpointV2View.json} +259 -189
  11. package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +313 -0
  12. package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +230 -0
  13. package/deployments/ethereum-sandbox-local/Executor.json +86 -86
  14. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +38 -33
  15. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +17 -17
  16. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +61 -61
  17. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +66 -66
  18. package/deployments/{blast-testnet/PriceFeed.json → ethereum-sandbox-local/LzExecutor.json} +275 -408
  19. package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +703 -0
  20. package/deployments/{blast-testnet/PriceFeed_Proxy.json → ethereum-sandbox-local/LzExecutor_Proxy.json} +37 -37
  21. package/deployments/ethereum-sandbox-local/NonceContractMock.json +6 -6
  22. package/deployments/ethereum-sandbox-local/PriceFeed.json +18 -18
  23. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +5 -5
  24. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +44 -44
  25. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
  26. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +126 -98
  27. package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +354 -0
  28. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +231 -0
  29. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +230 -0
  30. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +114 -62
  31. package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +478 -0
  32. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +384 -0
  33. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +230 -0
  34. package/deployments/ethereum-sandbox-local/SendUln301.json +112 -112
  35. package/deployments/ethereum-sandbox-local/SendUln302.json +109 -109
  36. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +23 -23
  37. package/deployments/ethereum-sandbox-local/Treasury.json +21 -21
  38. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +12 -12
  39. package/deployments/polygon-sandbox-local/DVN.json +76 -76
  40. package/deployments/polygon-sandbox-local/DVNFeeLib.json +23 -23
  41. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +258 -0
  42. package/deployments/polygon-sandbox-local/EndpointV2.json +141 -150
  43. package/deployments/polygon-sandbox-local/EndpointV2View.json +435 -0
  44. package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +313 -0
  45. package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +230 -0
  46. package/deployments/polygon-sandbox-local/Executor.json +86 -86
  47. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +38 -33
  48. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +17 -17
  49. package/deployments/polygon-sandbox-local/Executor_Implementation.json +61 -61
  50. package/deployments/polygon-sandbox-local/Executor_Proxy.json +66 -66
  51. package/deployments/{joc-testnet/PriceFeed.json → polygon-sandbox-local/LzExecutor.json} +275 -408
  52. package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +703 -0
  53. package/deployments/{joc-testnet/PriceFeed_Proxy.json → polygon-sandbox-local/LzExecutor_Proxy.json} +37 -37
  54. package/deployments/polygon-sandbox-local/NonceContractMock.json +6 -6
  55. package/deployments/polygon-sandbox-local/PriceFeed.json +18 -18
  56. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +5 -5
  57. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +44 -44
  58. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +5 -5
  59. package/deployments/polygon-sandbox-local/ReceiveUln301.json +126 -98
  60. package/deployments/polygon-sandbox-local/ReceiveUln301View.json +354 -0
  61. package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +231 -0
  62. package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +230 -0
  63. package/deployments/polygon-sandbox-local/ReceiveUln302.json +114 -62
  64. package/deployments/polygon-sandbox-local/ReceiveUln302View.json +478 -0
  65. package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +384 -0
  66. package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +230 -0
  67. package/deployments/polygon-sandbox-local/SendUln301.json +112 -112
  68. package/deployments/polygon-sandbox-local/SendUln302.json +109 -109
  69. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +23 -23
  70. package/deployments/polygon-sandbox-local/Treasury.json +21 -21
  71. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +12 -12
  72. package/dist/{index-htDjTX1I.d.mts → index-3seuukWJ.d.mts} +10 -2
  73. package/dist/{index-htDjTX1I.d.ts → index-3seuukWJ.d.ts} +10 -2
  74. package/dist/index.browser.cjs +12 -2
  75. package/dist/index.browser.cjs.map +1 -1
  76. package/dist/index.browser.d.mts +1 -1
  77. package/dist/index.browser.d.ts +1 -1
  78. package/dist/index.browser.mjs +12 -2
  79. package/dist/index.browser.mjs.map +1 -1
  80. package/dist/index.cjs +12 -2
  81. package/dist/index.cjs.map +1 -1
  82. package/dist/index.d.mts +1 -1
  83. package/dist/index.d.ts +1 -1
  84. package/dist/index.mjs +12 -2
  85. package/dist/index.mjs.map +1 -1
  86. package/package.json +8 -8
  87. package/deployments/blast-testnet/DVN.json +0 -1929
  88. package/deployments/blast-testnet/DVNFeeLib.json +0 -387
  89. package/deployments/blast-testnet/EndpointV2.json +0 -3000
  90. package/deployments/blast-testnet/Executor.json +0 -1532
  91. package/deployments/blast-testnet/ExecutorFeeLib.json +0 -407
  92. package/deployments/blast-testnet/ExecutorProxyAdmin.json +0 -283
  93. package/deployments/blast-testnet/Executor_Implementation.json +0 -1591
  94. package/deployments/blast-testnet/PriceFeedProxyAdmin.json +0 -283
  95. package/deployments/blast-testnet/PriceFeed_Implementation.json +0 -912
  96. package/deployments/blast-testnet/ReceiveUln301.json +0 -1292
  97. package/deployments/blast-testnet/ReceiveUln302.json +0 -1006
  98. package/deployments/blast-testnet/SendUln301.json +0 -1569
  99. package/deployments/blast-testnet/SendUln302.json +0 -1527
  100. package/deployments/blast-testnet/Treasury.json +0 -412
  101. package/deployments/blast-testnet/TreasuryFeeHandler.json +0 -125
  102. package/deployments/joc-testnet/PriceFeedProxyAdmin.json +0 -283
  103. package/deployments/joc-testnet/PriceFeed_Implementation.json +0 -912
  104. package/deployments/rarible-mainnet/PriceFeed.json +0 -891
  105. package/deployments/rarible-mainnet/PriceFeedProxyAdmin.json +0 -284
  106. package/deployments/rarible-mainnet/PriceFeed_Implementation.json +0 -913
  107. package/deployments/rarible-mainnet/PriceFeed_Proxy.json +0 -245
@@ -1,387 +0,0 @@
1
- {
2
- "address": "0xcF1B0F4106B0324F96fEfcC31bA9498caa80701C",
3
- "abi": [
4
- {
5
- "inputs": [
6
- {
7
- "internalType": "uint256",
8
- "name": "_nativeDecimalsRate",
9
- "type": "uint256"
10
- }
11
- ],
12
- "stateMutability": "nonpayable",
13
- "type": "constructor"
14
- },
15
- {
16
- "inputs": [
17
- {
18
- "internalType": "uint256",
19
- "name": "cursor",
20
- "type": "uint256"
21
- }
22
- ],
23
- "name": "DVN_InvalidDVNOptions",
24
- "type": "error"
25
- },
26
- {
27
- "inputs": [
28
- {
29
- "internalType": "uint8",
30
- "name": "optionType",
31
- "type": "uint8"
32
- }
33
- ],
34
- "name": "DVN_UnsupportedOptionType",
35
- "type": "error"
36
- },
37
- {
38
- "inputs": [
39
- {
40
- "internalType": "address",
41
- "name": "_to",
42
- "type": "address"
43
- },
44
- {
45
- "internalType": "uint256",
46
- "name": "_value",
47
- "type": "uint256"
48
- }
49
- ],
50
- "name": "Transfer_NativeFailed",
51
- "type": "error"
52
- },
53
- {
54
- "inputs": [],
55
- "name": "Transfer_ToAddressIsZero",
56
- "type": "error"
57
- },
58
- {
59
- "anonymous": false,
60
- "inputs": [
61
- {
62
- "indexed": true,
63
- "internalType": "address",
64
- "name": "previousOwner",
65
- "type": "address"
66
- },
67
- {
68
- "indexed": true,
69
- "internalType": "address",
70
- "name": "newOwner",
71
- "type": "address"
72
- }
73
- ],
74
- "name": "OwnershipTransferred",
75
- "type": "event"
76
- },
77
- {
78
- "inputs": [
79
- {
80
- "components": [
81
- {
82
- "internalType": "address",
83
- "name": "priceFeed",
84
- "type": "address"
85
- },
86
- {
87
- "internalType": "uint32",
88
- "name": "dstEid",
89
- "type": "uint32"
90
- },
91
- {
92
- "internalType": "uint64",
93
- "name": "confirmations",
94
- "type": "uint64"
95
- },
96
- {
97
- "internalType": "address",
98
- "name": "sender",
99
- "type": "address"
100
- },
101
- {
102
- "internalType": "uint64",
103
- "name": "quorum",
104
- "type": "uint64"
105
- },
106
- {
107
- "internalType": "uint16",
108
- "name": "defaultMultiplierBps",
109
- "type": "uint16"
110
- }
111
- ],
112
- "internalType": "struct IDVNFeeLib.FeeParams",
113
- "name": "_params",
114
- "type": "tuple"
115
- },
116
- {
117
- "components": [
118
- {
119
- "internalType": "uint64",
120
- "name": "gas",
121
- "type": "uint64"
122
- },
123
- {
124
- "internalType": "uint16",
125
- "name": "multiplierBps",
126
- "type": "uint16"
127
- },
128
- {
129
- "internalType": "uint128",
130
- "name": "floorMarginUSD",
131
- "type": "uint128"
132
- }
133
- ],
134
- "internalType": "struct IDVN.DstConfig",
135
- "name": "_dstConfig",
136
- "type": "tuple"
137
- },
138
- {
139
- "internalType": "bytes",
140
- "name": "_options",
141
- "type": "bytes"
142
- }
143
- ],
144
- "name": "getFee",
145
- "outputs": [
146
- {
147
- "internalType": "uint256",
148
- "name": "",
149
- "type": "uint256"
150
- }
151
- ],
152
- "stateMutability": "view",
153
- "type": "function"
154
- },
155
- {
156
- "inputs": [
157
- {
158
- "components": [
159
- {
160
- "internalType": "address",
161
- "name": "priceFeed",
162
- "type": "address"
163
- },
164
- {
165
- "internalType": "uint32",
166
- "name": "dstEid",
167
- "type": "uint32"
168
- },
169
- {
170
- "internalType": "uint64",
171
- "name": "confirmations",
172
- "type": "uint64"
173
- },
174
- {
175
- "internalType": "address",
176
- "name": "sender",
177
- "type": "address"
178
- },
179
- {
180
- "internalType": "uint64",
181
- "name": "quorum",
182
- "type": "uint64"
183
- },
184
- {
185
- "internalType": "uint16",
186
- "name": "defaultMultiplierBps",
187
- "type": "uint16"
188
- }
189
- ],
190
- "internalType": "struct IDVNFeeLib.FeeParams",
191
- "name": "_params",
192
- "type": "tuple"
193
- },
194
- {
195
- "components": [
196
- {
197
- "internalType": "uint64",
198
- "name": "gas",
199
- "type": "uint64"
200
- },
201
- {
202
- "internalType": "uint16",
203
- "name": "multiplierBps",
204
- "type": "uint16"
205
- },
206
- {
207
- "internalType": "uint128",
208
- "name": "floorMarginUSD",
209
- "type": "uint128"
210
- }
211
- ],
212
- "internalType": "struct IDVN.DstConfig",
213
- "name": "_dstConfig",
214
- "type": "tuple"
215
- },
216
- {
217
- "internalType": "bytes",
218
- "name": "_options",
219
- "type": "bytes"
220
- }
221
- ],
222
- "name": "getFeeOnSend",
223
- "outputs": [
224
- {
225
- "internalType": "uint256",
226
- "name": "",
227
- "type": "uint256"
228
- }
229
- ],
230
- "stateMutability": "payable",
231
- "type": "function"
232
- },
233
- {
234
- "inputs": [],
235
- "name": "owner",
236
- "outputs": [
237
- {
238
- "internalType": "address",
239
- "name": "",
240
- "type": "address"
241
- }
242
- ],
243
- "stateMutability": "view",
244
- "type": "function"
245
- },
246
- {
247
- "inputs": [],
248
- "name": "renounceOwnership",
249
- "outputs": [],
250
- "stateMutability": "nonpayable",
251
- "type": "function"
252
- },
253
- {
254
- "inputs": [
255
- {
256
- "internalType": "address",
257
- "name": "newOwner",
258
- "type": "address"
259
- }
260
- ],
261
- "name": "transferOwnership",
262
- "outputs": [],
263
- "stateMutability": "nonpayable",
264
- "type": "function"
265
- },
266
- {
267
- "inputs": [
268
- {
269
- "internalType": "address",
270
- "name": "_token",
271
- "type": "address"
272
- },
273
- {
274
- "internalType": "address",
275
- "name": "_to",
276
- "type": "address"
277
- },
278
- {
279
- "internalType": "uint256",
280
- "name": "_amount",
281
- "type": "uint256"
282
- }
283
- ],
284
- "name": "withdrawToken",
285
- "outputs": [],
286
- "stateMutability": "nonpayable",
287
- "type": "function"
288
- },
289
- {
290
- "stateMutability": "payable",
291
- "type": "receive"
292
- }
293
- ],
294
- "transactionHash": "0x15ef24463ab5a9ce9a676ede28a2f80f310cf5affe3420b02b90cd79d7f4101c",
295
- "receipt": {
296
- "to": null,
297
- "from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
298
- "contractAddress": "0xcF1B0F4106B0324F96fEfcC31bA9498caa80701C",
299
- "transactionIndex": 2,
300
- "gasUsed": "1032137",
301
- "logsBloom": "0x00000000000000200000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000020000000000000400000000000000000000000000000001000000000000000000000000000000000000030000000000000000000800000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
302
- "blockHash": "0x3269bd20fe1cb92fca9a98e64df23bbb22ba858644c7c9705aadd9e2d05ce6e2",
303
- "transactionHash": "0x15ef24463ab5a9ce9a676ede28a2f80f310cf5affe3420b02b90cd79d7f4101c",
304
- "logs": [
305
- {
306
- "transactionIndex": 2,
307
- "blockNumber": 639677,
308
- "transactionHash": "0x15ef24463ab5a9ce9a676ede28a2f80f310cf5affe3420b02b90cd79d7f4101c",
309
- "address": "0xcF1B0F4106B0324F96fEfcC31bA9498caa80701C",
310
- "topics": [
311
- "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
312
- "0x0000000000000000000000000000000000000000000000000000000000000000",
313
- "0x000000000000000000000000c13b65f7c53cd6db2ea205a4b574b4a0858720a6"
314
- ],
315
- "data": "0x",
316
- "logIndex": 0,
317
- "blockHash": "0x3269bd20fe1cb92fca9a98e64df23bbb22ba858644c7c9705aadd9e2d05ce6e2"
318
- }
319
- ],
320
- "blockNumber": 639677,
321
- "cumulativeGasUsed": "1105047",
322
- "status": 1,
323
- "byzantium": true
324
- },
325
- "args": [
326
- "1000000000000000000"
327
- ],
328
- "numDeployments": 1,
329
- "solcInputHash": "75e7f9cf5f95452bd03e6f5a21ad7ccd",
330
- "bytecode": "0x60a060405234801561001057600080fd5b5060405161121d38038061121d83398101604081905261002f91610090565b61003833610040565b6080526100a9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100a257600080fd5b5051919050565b6080516111596100c4600039600061073101526111596000f3fe6080604052600436106100695760003560e01c80638da5cb5b116100435780638da5cb5b146100df578063df2b057e14610114578063f2fde38b1461012757600080fd5b806301e3366714610075578063715018a6146100975780637bfa20a9146100ac57600080fd5b3661007057005b600080fd5b34801561008157600080fd5b50610095610090366004610cf1565b610147565b005b3480156100a357600080fd5b5061009561015f565b3480156100b857600080fd5b506100cc6100c7366004610d2d565b610173565b6040519081526020015b60405180910390f35b3480156100eb57600080fd5b5060005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100d6565b6100cc610122366004610d2d565b6102d5565b34801561013357600080fd5b50610095610142366004610ded565b6103b5565b61014f610471565b61015a8383836104f2565b505050565b610167610471565b6101716000610522565b565b600061017f8383610597565b5060006101a461019560a0880160808901610e08565b67ffffffffffffffff1661063b565b90506000806101b66020890189610ded565b73ffffffffffffffffffffffffffffffffffffffff166388a4124c6101e160408b0160208c01610e32565b856101ef60208c018c610e08565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815263ffffffff939093166004840152602483019190915267ffffffffffffffff166044820152606401608060405180830381865afa158015610260573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102849190610e76565b9350505091506102c7828860200160208101906102a19190610ecb565b6102b160c08c0160a08d01610ecb565b6102c160608c0160408d01610eef565b856106a7565b93505050505b949350505050565b60006102e18383610597565b5060006102f761019560a0880160808901610e08565b90506000806103096020890189610ded565b73ffffffffffffffffffffffffffffffffffffffff1663c1723a1d61033460408b0160208c01610e32565b8561034260208c018c610e08565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815263ffffffff939093166004840152602483019190915267ffffffffffffffff1660448201526064016080604051808303816000875af1158015610260573d6000803e3d6000fd5b6103bd610471565b73ffffffffffffffffffffffffffffffffffffffff8116610465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61046e81610522565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045c565b73ffffffffffffffffffffffffffffffffffffffff83166105175761015a82826107a1565b61015a8383836108a7565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008082156105f3576000806105ae868685610915565b6040517f7085244b00000000000000000000000000000000000000000000000000000000815260ff85166004820152909650929450859350506024909101905061045c565b80831461062f576040517f04eb6e0c0000000000000000000000000000000000000000000000000000000081526004810182905260240161045c565b60009150505b92915050565b600080610649604184610f3b565b9050610656602082610f81565b1561067e57610666602082610f81565b6106709082610f95565b61067b906020610fa8565b90505b8061068b60e06044610fa8565b6106959190610fa8565b6106a0906040610fa8565b9392505050565b60008061ffff8616156106ba57856106bc565b845b905060006127106106d161ffff84168a610f3b565b6106db9190610fbb565b90506fffffffffffffffffffffffffffffffff8416158061070c57506fffffffffffffffffffffffffffffffff8516155b1561071a5791506107989050565b6000846fffffffffffffffffffffffffffffffff167f0000000000000000000000000000000000000000000000000000000000000000876fffffffffffffffffffffffffffffffff1661076d9190610f3b565b6107779190610fbb565b610781908a610fa8565b90508181116107905781610792565b805b93505050505b95945050505050565b73ffffffffffffffffffffffffffffffffffffffff82166107ee576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610848576040519150601f19603f3d011682016040523d82523d6000602084013e61084d565b606091505b505090508061015a576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810183905260440161045c565b73ffffffffffffffffffffffffffffffffffffffff82166108f4576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61015a73ffffffffffffffffffffffffffffffffffffffff8416838361096f565b6000368160018401816109298888846109fc565b60028301929091506109419089908990600301610a23565b94506002820161ffff8216830161095a81838b8d610fcf565b979b909a50969850505061ffff160193505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261015a908490610a48565b600060028201610a0e81848688610fcf565b610a1791610ff9565b60f01c95945050505050565b6000838383818110610a3757610a37611041565b919091013560f81c95945050505050565b6000610aaa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610b579092919063ffffffff16565b9050805160001480610acb575080806020019051810190610acb9190611070565b61015a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161045c565b60606102cd8484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051610b8b91906110b6565b60006040518083038185875af1925050503d8060008114610bc8576040519150601f19603f3d011682016040523d82523d6000602084013e610bcd565b606091505b5091509150610bde87838387610be9565b979650505050505050565b60608315610c7f578251600003610c785773ffffffffffffffffffffffffffffffffffffffff85163b610c78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161045c565b50816102cd565b6102cd8383815115610c945781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045c91906110d2565b803573ffffffffffffffffffffffffffffffffffffffff81168114610cec57600080fd5b919050565b600080600060608486031215610d0657600080fd5b610d0f84610cc8565b9250610d1d60208501610cc8565b9150604084013590509250925092565b600080600080848603610140811215610d4557600080fd5b60c0811215610d5357600080fd5b85945060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4082011215610d8657600080fd5b5060c08501925061012085013567ffffffffffffffff80821115610da957600080fd5b818701915087601f830112610dbd57600080fd5b813581811115610dcc57600080fd5b886020828501011115610dde57600080fd5b95989497505060200194505050565b600060208284031215610dff57600080fd5b6106a082610cc8565b600060208284031215610e1a57600080fd5b813567ffffffffffffffff811681146106a057600080fd5b600060208284031215610e4457600080fd5b813563ffffffff811681146106a057600080fd5b6fffffffffffffffffffffffffffffffff8116811461046e57600080fd5b60008060008060808587031215610e8c57600080fd5b845193506020850151610e9e81610e58565b6040860151909350610eaf81610e58565b6060860151909250610ec081610e58565b939692955090935050565b600060208284031215610edd57600080fd5b813561ffff811681146106a057600080fd5b600060208284031215610f0157600080fd5b81356106a081610e58565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761063557610635610f0c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082610f9057610f90610f52565b500690565b8181038181111561063557610635610f0c565b8082018082111561063557610635610f0c565b600082610fca57610fca610f52565b500490565b60008085851115610fdf57600080fd5b83861115610fec57600080fd5b5050820193919092039150565b7fffff00000000000000000000000000000000000000000000000000000000000081358181169160028510156110395780818660020360031b1b83161692505b505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561108257600080fd5b815180151581146106a057600080fd5b60005b838110156110ad578181015183820152602001611095565b50506000910152565b600082516110c8818460208701611092565b9190910192915050565b60208152600082518060208401526110f1816040850160208701611092565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220ebeae36480a45180be328fe22188381c9619f78101a69faca5f1a268fef9e98264736f6c63430008160033",
331
- "deployedBytecode": "0x6080604052600436106100695760003560e01c80638da5cb5b116100435780638da5cb5b146100df578063df2b057e14610114578063f2fde38b1461012757600080fd5b806301e3366714610075578063715018a6146100975780637bfa20a9146100ac57600080fd5b3661007057005b600080fd5b34801561008157600080fd5b50610095610090366004610cf1565b610147565b005b3480156100a357600080fd5b5061009561015f565b3480156100b857600080fd5b506100cc6100c7366004610d2d565b610173565b6040519081526020015b60405180910390f35b3480156100eb57600080fd5b5060005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100d6565b6100cc610122366004610d2d565b6102d5565b34801561013357600080fd5b50610095610142366004610ded565b6103b5565b61014f610471565b61015a8383836104f2565b505050565b610167610471565b6101716000610522565b565b600061017f8383610597565b5060006101a461019560a0880160808901610e08565b67ffffffffffffffff1661063b565b90506000806101b66020890189610ded565b73ffffffffffffffffffffffffffffffffffffffff166388a4124c6101e160408b0160208c01610e32565b856101ef60208c018c610e08565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815263ffffffff939093166004840152602483019190915267ffffffffffffffff166044820152606401608060405180830381865afa158015610260573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102849190610e76565b9350505091506102c7828860200160208101906102a19190610ecb565b6102b160c08c0160a08d01610ecb565b6102c160608c0160408d01610eef565b856106a7565b93505050505b949350505050565b60006102e18383610597565b5060006102f761019560a0880160808901610e08565b90506000806103096020890189610ded565b73ffffffffffffffffffffffffffffffffffffffff1663c1723a1d61033460408b0160208c01610e32565b8561034260208c018c610e08565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815263ffffffff939093166004840152602483019190915267ffffffffffffffff1660448201526064016080604051808303816000875af1158015610260573d6000803e3d6000fd5b6103bd610471565b73ffffffffffffffffffffffffffffffffffffffff8116610465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61046e81610522565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045c565b73ffffffffffffffffffffffffffffffffffffffff83166105175761015a82826107a1565b61015a8383836108a7565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008082156105f3576000806105ae868685610915565b6040517f7085244b00000000000000000000000000000000000000000000000000000000815260ff85166004820152909650929450859350506024909101905061045c565b80831461062f576040517f04eb6e0c0000000000000000000000000000000000000000000000000000000081526004810182905260240161045c565b60009150505b92915050565b600080610649604184610f3b565b9050610656602082610f81565b1561067e57610666602082610f81565b6106709082610f95565b61067b906020610fa8565b90505b8061068b60e06044610fa8565b6106959190610fa8565b6106a0906040610fa8565b9392505050565b60008061ffff8616156106ba57856106bc565b845b905060006127106106d161ffff84168a610f3b565b6106db9190610fbb565b90506fffffffffffffffffffffffffffffffff8416158061070c57506fffffffffffffffffffffffffffffffff8516155b1561071a5791506107989050565b6000846fffffffffffffffffffffffffffffffff167f0000000000000000000000000000000000000000000000000000000000000000876fffffffffffffffffffffffffffffffff1661076d9190610f3b565b6107779190610fbb565b610781908a610fa8565b90508181116107905781610792565b805b93505050505b95945050505050565b73ffffffffffffffffffffffffffffffffffffffff82166107ee576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610848576040519150601f19603f3d011682016040523d82523d6000602084013e61084d565b606091505b505090508061015a576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810183905260440161045c565b73ffffffffffffffffffffffffffffffffffffffff82166108f4576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61015a73ffffffffffffffffffffffffffffffffffffffff8416838361096f565b6000368160018401816109298888846109fc565b60028301929091506109419089908990600301610a23565b94506002820161ffff8216830161095a81838b8d610fcf565b979b909a50969850505061ffff160193505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261015a908490610a48565b600060028201610a0e81848688610fcf565b610a1791610ff9565b60f01c95945050505050565b6000838383818110610a3757610a37611041565b919091013560f81c95945050505050565b6000610aaa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610b579092919063ffffffff16565b9050805160001480610acb575080806020019051810190610acb9190611070565b61015a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161045c565b60606102cd8484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051610b8b91906110b6565b60006040518083038185875af1925050503d8060008114610bc8576040519150601f19603f3d011682016040523d82523d6000602084013e610bcd565b606091505b5091509150610bde87838387610be9565b979650505050505050565b60608315610c7f578251600003610c785773ffffffffffffffffffffffffffffffffffffffff85163b610c78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161045c565b50816102cd565b6102cd8383815115610c945781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045c91906110d2565b803573ffffffffffffffffffffffffffffffffffffffff81168114610cec57600080fd5b919050565b600080600060608486031215610d0657600080fd5b610d0f84610cc8565b9250610d1d60208501610cc8565b9150604084013590509250925092565b600080600080848603610140811215610d4557600080fd5b60c0811215610d5357600080fd5b85945060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4082011215610d8657600080fd5b5060c08501925061012085013567ffffffffffffffff80821115610da957600080fd5b818701915087601f830112610dbd57600080fd5b813581811115610dcc57600080fd5b886020828501011115610dde57600080fd5b95989497505060200194505050565b600060208284031215610dff57600080fd5b6106a082610cc8565b600060208284031215610e1a57600080fd5b813567ffffffffffffffff811681146106a057600080fd5b600060208284031215610e4457600080fd5b813563ffffffff811681146106a057600080fd5b6fffffffffffffffffffffffffffffffff8116811461046e57600080fd5b60008060008060808587031215610e8c57600080fd5b845193506020850151610e9e81610e58565b6040860151909350610eaf81610e58565b6060860151909250610ec081610e58565b939692955090935050565b600060208284031215610edd57600080fd5b813561ffff811681146106a057600080fd5b600060208284031215610f0157600080fd5b81356106a081610e58565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761063557610635610f0c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082610f9057610f90610f52565b500690565b8181038181111561063557610635610f0c565b8082018082111561063557610635610f0c565b600082610fca57610fca610f52565b500490565b60008085851115610fdf57600080fd5b83861115610fec57600080fd5b5050820193919092039150565b7fffff00000000000000000000000000000000000000000000000000000000000081358181169160028510156110395780818660020360031b1b83161692505b505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561108257600080fd5b815180151581146106a057600080fd5b60005b838110156110ad578181015183820152602001611095565b50506000910152565b600082516110c8818460208701611092565b9190910192915050565b60208152600082518060208401526110f1816040850160208701611092565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220ebeae36480a45180be328fe22188381c9619f78101a69faca5f1a268fef9e98264736f6c63430008160033",
332
- "devdoc": {
333
- "kind": "dev",
334
- "methods": {
335
- "getFee((address,uint32,uint64,address,uint64,uint16),(uint64,uint16,uint128),bytes)": {
336
- "details": "get fee view function",
337
- "params": {
338
- "": "//_options options",
339
- "_dstConfig": "dst config",
340
- "_params": "fee params"
341
- }
342
- },
343
- "getFeeOnSend((address,uint32,uint64,address,uint64,uint16),(uint64,uint16,uint128),bytes)": {
344
- "details": "get fee function that can change state. e.g. paying priceFeed",
345
- "params": {
346
- "": "//_options options",
347
- "_dstConfig": "dst config",
348
- "_params": "fee params"
349
- }
350
- },
351
- "owner()": {
352
- "details": "Returns the address of the current owner."
353
- },
354
- "renounceOwnership()": {
355
- "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."
356
- },
357
- "transferOwnership(address)": {
358
- "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
359
- }
360
- },
361
- "version": 1
362
- },
363
- "userdoc": {
364
- "kind": "user",
365
- "methods": {},
366
- "version": 1
367
- },
368
- "storageLayout": {
369
- "storage": [
370
- {
371
- "astId": 7779,
372
- "contract": "contracts/uln/dvn/DVNFeeLib.sol:DVNFeeLib",
373
- "label": "_owner",
374
- "offset": 0,
375
- "slot": "0",
376
- "type": "t_address"
377
- }
378
- ],
379
- "types": {
380
- "t_address": {
381
- "encoding": "inplace",
382
- "label": "address",
383
- "numberOfBytes": "20"
384
- }
385
- }
386
- }
387
- }