@layerzerolabs/lz-evm-sdk-v2 2.0.20 → 2.0.21

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