@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.
- package/deployments/arbitrum-sandbox-local/DVN.json +1896 -0
- package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +387 -0
- package/deployments/arbitrum-sandbox-local/EndpointV2.json +2955 -0
- package/deployments/{ethereum-sandbox-local/Oracle.json → arbitrum-sandbox-local/Executor.json} +656 -398
- package/deployments/arbitrum-sandbox-local/ExecutorFeeLib.json +407 -0
- package/deployments/arbitrum-sandbox-local/ExecutorProxyAdmin.json +283 -0
- package/deployments/arbitrum-sandbox-local/Executor_Implementation.json +1591 -0
- package/deployments/{ethereum-sandbox-local/Oracle_Proxy.json → arbitrum-sandbox-local/Executor_Proxy.json} +135 -60
- package/deployments/arbitrum-sandbox-local/NonceContractMock.json +163 -0
- package/deployments/{polygon-sandbox-local/Relayer.json → arbitrum-sandbox-local/PriceFeed.json} +339 -445
- package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +283 -0
- package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +912 -0
- package/deployments/{ethereum-sandbox-local/Relayer_Proxy.json → arbitrum-sandbox-local/PriceFeed_Proxy.json} +33 -64
- package/deployments/arbitrum-sandbox-local/ReceiveUln301.json +1264 -0
- package/deployments/arbitrum-sandbox-local/ReceiveUln302.json +954 -0
- package/deployments/arbitrum-sandbox-local/SendUln301.json +1569 -0
- package/deployments/arbitrum-sandbox-local/SendUln302.json +1527 -0
- package/deployments/arbitrum-sandbox-local/SimpleMessageLib.json +708 -0
- package/deployments/arbitrum-sandbox-local/Treasury.json +412 -0
- package/deployments/arbitrum-sandbox-local/TreasuryFeeHandler.json +125 -0
- package/deployments/ethereum-sandbox-local/DVN.json +5 -5
- package/deployments/ethereum-sandbox-local/DVNFeeLib.json +2 -2
- package/deployments/ethereum-sandbox-local/EndpointV2.json +4 -4
- package/deployments/ethereum-sandbox-local/Executor.json +14 -14
- package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +2 -2
- package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +3 -3
- package/deployments/ethereum-sandbox-local/Executor_Implementation.json +1 -1
- package/deployments/ethereum-sandbox-local/Executor_Proxy.json +14 -14
- package/deployments/ethereum-sandbox-local/NonceContractMock.json +1 -1
- package/deployments/ethereum-sandbox-local/PriceFeed.json +5 -5
- package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +3 -3
- package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +1 -1
- package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/ethereum-sandbox-local/ReceiveUln301.json +2 -2
- package/deployments/ethereum-sandbox-local/ReceiveUln302.json +2 -2
- package/deployments/ethereum-sandbox-local/SendUln301.json +2 -2
- package/deployments/ethereum-sandbox-local/SendUln302.json +2 -2
- package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +2 -2
- package/deployments/ethereum-sandbox-local/Treasury.json +2 -2
- package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +1 -1
- package/deployments/polygon-sandbox-local/DVN.json +5 -5
- package/deployments/polygon-sandbox-local/DVNFeeLib.json +2 -2
- package/deployments/polygon-sandbox-local/EndpointV2.json +4 -4
- package/deployments/polygon-sandbox-local/Executor.json +14 -14
- package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +2 -2
- package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +3 -3
- package/deployments/polygon-sandbox-local/Executor_Implementation.json +1 -1
- package/deployments/polygon-sandbox-local/Executor_Proxy.json +14 -14
- package/deployments/polygon-sandbox-local/NonceContractMock.json +1 -1
- package/deployments/polygon-sandbox-local/PriceFeed.json +5 -5
- package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +3 -3
- package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +1 -1
- package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/polygon-sandbox-local/ReceiveUln301.json +2 -2
- package/deployments/polygon-sandbox-local/ReceiveUln302.json +2 -2
- package/deployments/polygon-sandbox-local/SendUln301.json +2 -2
- package/deployments/polygon-sandbox-local/SendUln302.json +2 -2
- package/deployments/polygon-sandbox-local/SimpleMessageLib.json +2 -2
- package/deployments/polygon-sandbox-local/Treasury.json +2 -2
- package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +1 -1
- package/deployments/tron-sandbox-local/DVN.json +1896 -0
- package/deployments/tron-sandbox-local/DVNFeeLib.json +387 -0
- package/deployments/tron-sandbox-local/EndpointV2.json +2955 -0
- package/deployments/{polygon-sandbox-local/Oracle.json → tron-sandbox-local/Executor.json} +656 -398
- package/deployments/tron-sandbox-local/ExecutorFeeLib.json +407 -0
- package/deployments/tron-sandbox-local/ExecutorProxyAdmin.json +283 -0
- package/deployments/tron-sandbox-local/Executor_Implementation.json +1591 -0
- package/deployments/{polygon-sandbox-local/Oracle_Proxy.json → tron-sandbox-local/Executor_Proxy.json} +135 -60
- package/deployments/tron-sandbox-local/NonceContractMock.json +163 -0
- package/deployments/{ethereum-sandbox-local/Relayer.json → tron-sandbox-local/PriceFeed.json} +339 -445
- package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +283 -0
- package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +912 -0
- package/deployments/{polygon-sandbox-local/Relayer_Proxy.json → tron-sandbox-local/PriceFeed_Proxy.json} +33 -64
- package/deployments/tron-sandbox-local/ReceiveUln301.json +1264 -0
- package/deployments/tron-sandbox-local/ReceiveUln302.json +954 -0
- package/deployments/tron-sandbox-local/SendUln301.json +1569 -0
- package/deployments/tron-sandbox-local/SendUln302.json +1527 -0
- package/deployments/tron-sandbox-local/SimpleMessageLib.json +708 -0
- package/deployments/tron-sandbox-local/Treasury.json +412 -0
- package/deployments/tron-sandbox-local/TreasuryFeeHandler.json +125 -0
- package/package.json +9 -20
- package/deployments/ethereum-sandbox-local/BlockedMessageLib.json +0 -90
- package/deployments/ethereum-sandbox-local/Endpoint.json +0 -2355
- package/deployments/ethereum-sandbox-local/MultiSigOracle.json +0 -1448
- package/deployments/ethereum-sandbox-local/NonceContract.json +0 -158
- package/deployments/ethereum-sandbox-local/OmniCounter.json +0 -1133
- package/deployments/ethereum-sandbox-local/OmniCounterPreCrime.json +0 -493
- package/deployments/ethereum-sandbox-local/OmniCounterPreCrimeView.json +0 -672
- package/deployments/ethereum-sandbox-local/OmniCounterViewer.json +0 -214
- package/deployments/ethereum-sandbox-local/OmniCounterWithPreCrime.json +0 -1646
- package/deployments/ethereum-sandbox-local/OracleFeeLib.json +0 -166
- package/deployments/ethereum-sandbox-local/OracleProxyAdmin.json +0 -272
- package/deployments/ethereum-sandbox-local/Oracle_Implementation.json +0 -1326
- package/deployments/ethereum-sandbox-local/RelayerFeeLib.json +0 -130
- package/deployments/ethereum-sandbox-local/RelayerProxyAdmin.json +0 -272
- package/deployments/ethereum-sandbox-local/Relayer_Implementation.json +0 -1014
- package/deployments/ethereum-sandbox-local/UlnConfig301.json +0 -1003
- package/deployments/ethereum-sandbox-local/UlnConfig302.json +0 -1003
- package/deployments/ethereum-sandbox-local/UltraLightNodeE302.json +0 -1696
- package/deployments/polygon-sandbox-local/BlockedMessageLib.json +0 -90
- package/deployments/polygon-sandbox-local/Endpoint.json +0 -2355
- package/deployments/polygon-sandbox-local/MultiSigOracle.json +0 -1448
- package/deployments/polygon-sandbox-local/NonceContract.json +0 -158
- package/deployments/polygon-sandbox-local/OmniCounter.json +0 -1133
- package/deployments/polygon-sandbox-local/OmniCounterPreCrime.json +0 -493
- package/deployments/polygon-sandbox-local/OmniCounterPreCrimeView.json +0 -672
- package/deployments/polygon-sandbox-local/OmniCounterViewer.json +0 -214
- package/deployments/polygon-sandbox-local/OmniCounterWithPreCrime.json +0 -1646
- package/deployments/polygon-sandbox-local/OracleFeeLib.json +0 -166
- package/deployments/polygon-sandbox-local/OracleProxyAdmin.json +0 -272
- package/deployments/polygon-sandbox-local/Oracle_Implementation.json +0 -1326
- package/deployments/polygon-sandbox-local/RelayerFeeLib.json +0 -130
- package/deployments/polygon-sandbox-local/RelayerProxyAdmin.json +0 -272
- package/deployments/polygon-sandbox-local/Relayer_Implementation.json +0 -1014
- package/deployments/polygon-sandbox-local/UlnConfig301.json +0 -1003
- package/deployments/polygon-sandbox-local/UlnConfig302.json +0 -1003
- package/deployments/polygon-sandbox-local/UltraLightNodeE302.json +0 -1696
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x27Ccfba71aee7C76734B159b62b91cEf92451b1b",
|
|
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": "InvalidDVNOptions",
|
|
24
|
+
"type": "error"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"inputs": [],
|
|
28
|
+
"name": "ToAddressIsZero",
|
|
29
|
+
"type": "error"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"inputs": [
|
|
33
|
+
{
|
|
34
|
+
"internalType": "address",
|
|
35
|
+
"name": "_to",
|
|
36
|
+
"type": "address"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"internalType": "uint256",
|
|
40
|
+
"name": "_value",
|
|
41
|
+
"type": "uint256"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"name": "TransferNativeFailed",
|
|
45
|
+
"type": "error"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"internalType": "uint8",
|
|
51
|
+
"name": "optionType",
|
|
52
|
+
"type": "uint8"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"name": "UnsupportedOptionType",
|
|
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": "0xb06de031c611d6285583f94c13efdd824bb3ef8b759189232417a5adb525b07d",
|
|
295
|
+
"receipt": {
|
|
296
|
+
"to": null,
|
|
297
|
+
"from": "0xBcd4042DE499D14e55001CcbB24a551F3b954096",
|
|
298
|
+
"contractAddress": "0x27Ccfba71aee7C76734B159b62b91cEf92451b1b",
|
|
299
|
+
"transactionIndex": 0,
|
|
300
|
+
"gasUsed": "942218",
|
|
301
|
+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
302
|
+
"blockHash": "0x000000000000002707fd51f3bfe43134016cdab14d745727aace8d68c1fd964f",
|
|
303
|
+
"transactionHash": "0xb06de031c611d6285583f94c13efdd824bb3ef8b759189232417a5adb525b07d",
|
|
304
|
+
"logs": [
|
|
305
|
+
{
|
|
306
|
+
"transactionIndex": 0,
|
|
307
|
+
"blockNumber": 39,
|
|
308
|
+
"transactionHash": "0xb06de031c611d6285583f94c13efdd824bb3ef8b759189232417a5adb525b07d",
|
|
309
|
+
"address": "0x27Ccfba71aee7C76734B159b62b91cEf92451b1b",
|
|
310
|
+
"topics": [
|
|
311
|
+
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
312
|
+
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
313
|
+
"0x000000000000000000000000bcd4042de499d14e55001ccbb24a551f3b954096"
|
|
314
|
+
],
|
|
315
|
+
"data": "0x",
|
|
316
|
+
"logIndex": 0,
|
|
317
|
+
"blockHash": "0x000000000000002707fd51f3bfe43134016cdab14d745727aace8d68c1fd964f"
|
|
318
|
+
}
|
|
319
|
+
],
|
|
320
|
+
"blockNumber": 39,
|
|
321
|
+
"cumulativeGasUsed": "942218",
|
|
322
|
+
"status": 1,
|
|
323
|
+
"byzantium": true
|
|
324
|
+
},
|
|
325
|
+
"args": [
|
|
326
|
+
"1000000000000000000"
|
|
327
|
+
],
|
|
328
|
+
"numDeployments": 1,
|
|
329
|
+
"solcInputHash": "1262ed55793b895b5a9d8c9d2ccdbaf9",
|
|
330
|
+
"bytecode": "0x60a060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b506040516112d33803806112d3833981016040819052610049916100aa565b6100523361005a565b6080526100c3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100bc57600080fd5b5051919050565b6080516111f56100de60003960006107b301526111f56000f3fe6080604052600436106100695760003560e01c80638da5cb5b116100435780638da5cb5b1461012d578063df2b057e1461017c578063f2fde38b1461018f57600080fd5b806301e3366714610075578063715018a6146100b15780637bfa20a9146100e057600080fd5b3661007057005b600080fd5b34801561008157600080fd5b50d3801561008e57600080fd5b50d2801561009b57600080fd5b506100af6100aa366004610d8d565b6101c9565b005b3480156100bd57600080fd5b50d380156100ca57600080fd5b50d280156100d757600080fd5b506100af6101e1565b3480156100ec57600080fd5b50d380156100f957600080fd5b50d2801561010657600080fd5b5061011a610115366004610dc9565b6101f5565b6040519081526020015b60405180910390f35b34801561013957600080fd5b50d3801561014657600080fd5b50d2801561015357600080fd5b5060005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b61011a61018a366004610dc9565b610357565b34801561019b57600080fd5b50d380156101a857600080fd5b50d280156101b557600080fd5b506100af6101c4366004610e89565b610437565b6101d16104f3565b6101dc838383610574565b505050565b6101e96104f3565b6101f360006105a4565b565b60006102018383610619565b50600061022661021760a0880160808901610ea4565b67ffffffffffffffff166106bd565b90506000806102386020890189610e89565b73ffffffffffffffffffffffffffffffffffffffff166388a4124c61026360408b0160208c01610ece565b8561027160208c018c610ea4565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815263ffffffff939093166004840152602483019190915267ffffffffffffffff166044820152606401608060405180830381865afa1580156102e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103069190610f12565b935050509150610349828860200160208101906103239190610f67565b61033360c08c0160a08d01610f67565b61034360608c0160408d01610f8b565b85610729565b93505050505b949350505050565b60006103638383610619565b50600061037961021760a0880160808901610ea4565b905060008061038b6020890189610e89565b73ffffffffffffffffffffffffffffffffffffffff1663c1723a1d6103b660408b0160208c01610ece565b856103c460208c018c610ea4565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815263ffffffff939093166004840152602483019190915267ffffffffffffffff1660448201526064016080604051808303816000875af11580156102e2573d6000803e3d6000fd5b61043f6104f3565b73ffffffffffffffffffffffffffffffffffffffff81166104e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104f0816105a4565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104de565b73ffffffffffffffffffffffffffffffffffffffff8316610599576101dc8282610823565b6101dc838383610929565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080821561067557600080610630868685610997565b6040517f3d6c5c7000000000000000000000000000000000000000000000000000000000815260ff8516600482015290965092945085935050602490910190506104de565b8083146106b1576040517f9af41d33000000000000000000000000000000000000000000000000000000008152600481018290526024016104de565b60009150505b92915050565b6000806106cb604184610fd7565b90506106d860208261101d565b15610700576106e860208261101d565b6106f29082611031565b6106fd906020611044565b90505b8061070d60e06044611044565b6107179190611044565b610722906040611044565b9392505050565b60008061ffff86161561073c578561073e565b845b9050600061271061075361ffff84168a610fd7565b61075d9190611057565b90506fffffffffffffffffffffffffffffffff8416158061078e57506fffffffffffffffffffffffffffffffff8516155b1561079c57915061081a9050565b6000846fffffffffffffffffffffffffffffffff167f0000000000000000000000000000000000000000000000000000000000000000876fffffffffffffffffffffffffffffffff166107ef9190610fd7565b6107f99190611057565b610803908a611044565b90508181116108125781610814565b805b93505050505b95945050505050565b73ffffffffffffffffffffffffffffffffffffffff8216610870576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146108ca576040519150601f19603f3d011682016040523d82523d6000602084013e6108cf565b606091505b50509050806101dc576040517f2c024f9200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84166004820152602481018390526044016104de565b73ffffffffffffffffffffffffffffffffffffffff8216610976576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6101dc73ffffffffffffffffffffffffffffffffffffffff841683836109f1565b6000368160018401816109ab888884610a7e565b60028301929091506109c39089908990600301610aa5565b94506002820161ffff821683016109dc81838b8d61106b565b979b909a50969850505061ffff160193505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526101dc908490610aca565b600060028201610a908184868861106b565b610a9991611095565b60f01c95945050505050565b6000838383818110610ab957610ab96110dd565b919091013560f81c95945050505050565b6000610b2c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610bd99092919063ffffffff16565b9050805160001480610b4d575080806020019051810190610b4d919061110c565b6101dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016104de565b606061034f8484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051610c0d9190611152565b60006040518083038185875af1925050503d8060008114610c4a576040519150601f19603f3d011682016040523d82523d6000602084013e610c4f565b606091505b5091509150610c6087838387610c6b565b979650505050505050565b60608315610d01578251600003610cfa5773ffffffffffffffffffffffffffffffffffffffff85163b610cfa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104de565b508161034f565b61034f8383815115610d165781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104de919061116e565b6000813574ffffffffffffffffffffffffffffffffffffffffff81168114610d7157600080fd5b73ffffffffffffffffffffffffffffffffffffffff1692915050565b600080600060608486031215610da257600080fd5b610dab84610d4a565b9250610db960208501610d4a565b9150604084013590509250925092565b600080600080848603610140811215610de157600080fd5b60c0811215610def57600080fd5b85945060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4082011215610e2257600080fd5b5060c08501925061012085013567ffffffffffffffff80821115610e4557600080fd5b818701915087601f830112610e5957600080fd5b813581811115610e6857600080fd5b886020828501011115610e7a57600080fd5b95989497505060200194505050565b600060208284031215610e9b57600080fd5b61072282610d4a565b600060208284031215610eb657600080fd5b813567ffffffffffffffff8116811461072257600080fd5b600060208284031215610ee057600080fd5b813563ffffffff8116811461072257600080fd5b6fffffffffffffffffffffffffffffffff811681146104f057600080fd5b60008060008060808587031215610f2857600080fd5b845193506020850151610f3a81610ef4565b6040860151909350610f4b81610ef4565b6060860151909250610f5c81610ef4565b939692955090935050565b600060208284031215610f7957600080fd5b813561ffff8116811461072257600080fd5b600060208284031215610f9d57600080fd5b813561072281610ef4565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820281158282048414176106b7576106b7610fa8565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261102c5761102c610fee565b500690565b818103818111156106b7576106b7610fa8565b808201808211156106b7576106b7610fa8565b60008261106657611066610fee565b500490565b6000808585111561107b57600080fd5b8386111561108857600080fd5b5050820193919092039150565b7fffff00000000000000000000000000000000000000000000000000000000000081358181169160028510156110d55780818660020360031b1b83161692505b505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561111e57600080fd5b8151801515811461072257600080fd5b60005b83811015611149578181015183820152602001611131565b50506000910152565b6000825161116481846020870161112e565b9190910192915050565b602081526000825180602084015261118d81604085016020870161112e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26474726f6e58221220587466dcd8a168433f2deab2a9e450d941a50fa5d7a08ea2df8740a6fe5acb5364736f6c63430008140033",
|
|
331
|
+
"deployedBytecode": "0x6080604052600436106100695760003560e01c80638da5cb5b116100435780638da5cb5b1461012d578063df2b057e1461017c578063f2fde38b1461018f57600080fd5b806301e3366714610075578063715018a6146100b15780637bfa20a9146100e057600080fd5b3661007057005b600080fd5b34801561008157600080fd5b50d3801561008e57600080fd5b50d2801561009b57600080fd5b506100af6100aa366004610d8d565b6101c9565b005b3480156100bd57600080fd5b50d380156100ca57600080fd5b50d280156100d757600080fd5b506100af6101e1565b3480156100ec57600080fd5b50d380156100f957600080fd5b50d2801561010657600080fd5b5061011a610115366004610dc9565b6101f5565b6040519081526020015b60405180910390f35b34801561013957600080fd5b50d3801561014657600080fd5b50d2801561015357600080fd5b5060005460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b61011a61018a366004610dc9565b610357565b34801561019b57600080fd5b50d380156101a857600080fd5b50d280156101b557600080fd5b506100af6101c4366004610e89565b610437565b6101d16104f3565b6101dc838383610574565b505050565b6101e96104f3565b6101f360006105a4565b565b60006102018383610619565b50600061022661021760a0880160808901610ea4565b67ffffffffffffffff166106bd565b90506000806102386020890189610e89565b73ffffffffffffffffffffffffffffffffffffffff166388a4124c61026360408b0160208c01610ece565b8561027160208c018c610ea4565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815263ffffffff939093166004840152602483019190915267ffffffffffffffff166044820152606401608060405180830381865afa1580156102e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103069190610f12565b935050509150610349828860200160208101906103239190610f67565b61033360c08c0160a08d01610f67565b61034360608c0160408d01610f8b565b85610729565b93505050505b949350505050565b60006103638383610619565b50600061037961021760a0880160808901610ea4565b905060008061038b6020890189610e89565b73ffffffffffffffffffffffffffffffffffffffff1663c1723a1d6103b660408b0160208c01610ece565b856103c460208c018c610ea4565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815263ffffffff939093166004840152602483019190915267ffffffffffffffff1660448201526064016080604051808303816000875af11580156102e2573d6000803e3d6000fd5b61043f6104f3565b73ffffffffffffffffffffffffffffffffffffffff81166104e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104f0816105a4565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104de565b73ffffffffffffffffffffffffffffffffffffffff8316610599576101dc8282610823565b6101dc838383610929565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080821561067557600080610630868685610997565b6040517f3d6c5c7000000000000000000000000000000000000000000000000000000000815260ff8516600482015290965092945085935050602490910190506104de565b8083146106b1576040517f9af41d33000000000000000000000000000000000000000000000000000000008152600481018290526024016104de565b60009150505b92915050565b6000806106cb604184610fd7565b90506106d860208261101d565b15610700576106e860208261101d565b6106f29082611031565b6106fd906020611044565b90505b8061070d60e06044611044565b6107179190611044565b610722906040611044565b9392505050565b60008061ffff86161561073c578561073e565b845b9050600061271061075361ffff84168a610fd7565b61075d9190611057565b90506fffffffffffffffffffffffffffffffff8416158061078e57506fffffffffffffffffffffffffffffffff8516155b1561079c57915061081a9050565b6000846fffffffffffffffffffffffffffffffff167f0000000000000000000000000000000000000000000000000000000000000000876fffffffffffffffffffffffffffffffff166107ef9190610fd7565b6107f99190611057565b610803908a611044565b90508181116108125781610814565b805b93505050505b95945050505050565b73ffffffffffffffffffffffffffffffffffffffff8216610870576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146108ca576040519150601f19603f3d011682016040523d82523d6000602084013e6108cf565b606091505b50509050806101dc576040517f2c024f9200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84166004820152602481018390526044016104de565b73ffffffffffffffffffffffffffffffffffffffff8216610976576040517f32fa6a1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6101dc73ffffffffffffffffffffffffffffffffffffffff841683836109f1565b6000368160018401816109ab888884610a7e565b60028301929091506109c39089908990600301610aa5565b94506002820161ffff821683016109dc81838b8d61106b565b979b909a50969850505061ffff160193505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526101dc908490610aca565b600060028201610a908184868861106b565b610a9991611095565b60f01c95945050505050565b6000838383818110610ab957610ab96110dd565b919091013560f81c95945050505050565b6000610b2c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610bd99092919063ffffffff16565b9050805160001480610b4d575080806020019051810190610b4d919061110c565b6101dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016104de565b606061034f8484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051610c0d9190611152565b60006040518083038185875af1925050503d8060008114610c4a576040519150601f19603f3d011682016040523d82523d6000602084013e610c4f565b606091505b5091509150610c6087838387610c6b565b979650505050505050565b60608315610d01578251600003610cfa5773ffffffffffffffffffffffffffffffffffffffff85163b610cfa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104de565b508161034f565b61034f8383815115610d165781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104de919061116e565b6000813574ffffffffffffffffffffffffffffffffffffffffff81168114610d7157600080fd5b73ffffffffffffffffffffffffffffffffffffffff1692915050565b600080600060608486031215610da257600080fd5b610dab84610d4a565b9250610db960208501610d4a565b9150604084013590509250925092565b600080600080848603610140811215610de157600080fd5b60c0811215610def57600080fd5b85945060607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4082011215610e2257600080fd5b5060c08501925061012085013567ffffffffffffffff80821115610e4557600080fd5b818701915087601f830112610e5957600080fd5b813581811115610e6857600080fd5b886020828501011115610e7a57600080fd5b95989497505060200194505050565b600060208284031215610e9b57600080fd5b61072282610d4a565b600060208284031215610eb657600080fd5b813567ffffffffffffffff8116811461072257600080fd5b600060208284031215610ee057600080fd5b813563ffffffff8116811461072257600080fd5b6fffffffffffffffffffffffffffffffff811681146104f057600080fd5b60008060008060808587031215610f2857600080fd5b845193506020850151610f3a81610ef4565b6040860151909350610f4b81610ef4565b6060860151909250610f5c81610ef4565b939692955090935050565b600060208284031215610f7957600080fd5b813561ffff8116811461072257600080fd5b600060208284031215610f9d57600080fd5b813561072281610ef4565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820281158282048414176106b7576106b7610fa8565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261102c5761102c610fee565b500690565b818103818111156106b7576106b7610fa8565b808201808211156106b7576106b7610fa8565b60008261106657611066610fee565b500490565b6000808585111561107b57600080fd5b8386111561108857600080fd5b5050820193919092039150565b7fffff00000000000000000000000000000000000000000000000000000000000081358181169160028510156110d55780818660020360031b1b83161692505b505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561111e57600080fd5b8151801515811461072257600080fd5b60005b83811015611149578181015183820152602001611131565b50506000910152565b6000825161116481846020870161112e565b9190910192915050565b602081526000825180602084015261118d81604085016020870161112e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26474726f6e58221220587466dcd8a168433f2deab2a9e450d941a50fa5d7a08ea2df8740a6fe5acb5364736f6c63430008140033",
|
|
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": 6813,
|
|
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
|
+
}
|