@venusprotocol/oracle 1.2.3 → 1.3.0
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/artifacts/build-info/442613ba0e31d357bb61ad07d3e9ccb5.json +1 -0
- package/artifacts/build-info/e79aa95060bbee82bc36063535db4019.json +1 -0
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +4 -0
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.json +545 -0
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.json +130 -15
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.json +2 -2
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.json +2 -2
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.json +22 -3
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.json +2 -2
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +1 -1
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.json +305 -212
- package/contracts/interfaces/PythInterface.sol +147 -75
- package/contracts/oracles/PythOracle.sol +1 -1
- package/contracts/oracles/mocks/MockBinanceOracle.sol +5 -1
- package/contracts/test/MockPyth.sol +90 -55
- package/deploy/oracles.d.ts +1 -0
- package/deploy/oracles.d.ts.map +1 -1
- package/deploy/oracles.js +16 -1
- package/deploy/oracles.js.map +1 -1
- package/deployments/localhost/.chainId +1 -0
- package/deployments/localhost/BinanceOracle.json +393 -0
- package/deployments/localhost/BinanceOracle_Implementation.json +305 -0
- package/deployments/localhost/BinanceOracle_Proxy.json +241 -0
- package/deployments/localhost/BoundValidator.json +457 -0
- package/deployments/localhost/BoundValidator_Implementation.json +428 -0
- package/deployments/localhost/BoundValidator_Proxy.json +237 -0
- package/deployments/localhost/ChainlinkOracle.json +370 -0
- package/deployments/localhost/ChainlinkOracle_Implementation.json +273 -0
- package/deployments/localhost/ChainlinkOracle_Proxy.json +237 -0
- package/deployments/localhost/DefaultProxyAdmin.json +257 -0
- package/deployments/localhost/PivotTwapOracle.json +393 -0
- package/deployments/localhost/PivotTwapOracle_Implementation.json +304 -0
- package/deployments/localhost/PivotTwapOracle_Proxy.json +241 -0
- package/deployments/localhost/PythOracle.json +393 -0
- package/deployments/localhost/PythOracle_Implementation.json +309 -0
- package/deployments/localhost/PythOracle_Proxy.json +241 -0
- package/deployments/localhost/ResilientOracle.json +700 -0
- package/deployments/localhost/ResilientOracle_Implementation.json +746 -0
- package/deployments/localhost/ResilientOracle_Proxy.json +241 -0
- package/deployments/localhost/solcInputs/0e89febeebc7444140de8e67c9067d2c.json +78 -0
- package/deployments/localhost/solcInputs/468ec7a31e2db8855c82fb8141193271.json +54 -0
- package/deployments/localhost/solcInputs/50629170e50dc9fec79dac585e95ac05.json +138 -0
- package/package.json +1 -1
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
"contractName": "MockPyth",
|
|
4
4
|
"sourceName": "contracts/test/MockPyth.sol",
|
|
5
5
|
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint256",
|
|
10
|
+
"name": "_validTimePeriod",
|
|
11
|
+
"type": "uint256"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "uint256",
|
|
15
|
+
"name": "_singleUpdateFeeInWei",
|
|
16
|
+
"type": "uint256"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"stateMutability": "nonpayable",
|
|
20
|
+
"type": "constructor"
|
|
21
|
+
},
|
|
6
22
|
{
|
|
7
23
|
"anonymous": false,
|
|
8
24
|
"inputs": [
|
|
@@ -63,15 +79,15 @@
|
|
|
63
79
|
},
|
|
64
80
|
{
|
|
65
81
|
"indexed": false,
|
|
66
|
-
"internalType": "
|
|
82
|
+
"internalType": "uint256",
|
|
67
83
|
"name": "lastPublishTime",
|
|
68
|
-
"type": "
|
|
84
|
+
"type": "uint256"
|
|
69
85
|
},
|
|
70
86
|
{
|
|
71
87
|
"indexed": false,
|
|
72
|
-
"internalType": "
|
|
88
|
+
"internalType": "uint256",
|
|
73
89
|
"name": "publishTime",
|
|
74
|
-
"type": "
|
|
90
|
+
"type": "uint256"
|
|
75
91
|
},
|
|
76
92
|
{
|
|
77
93
|
"indexed": false,
|
|
@@ -114,6 +130,55 @@
|
|
|
114
130
|
"name": "UpdatePriceFeeds",
|
|
115
131
|
"type": "event"
|
|
116
132
|
},
|
|
133
|
+
{
|
|
134
|
+
"inputs": [
|
|
135
|
+
{
|
|
136
|
+
"internalType": "bytes32",
|
|
137
|
+
"name": "id",
|
|
138
|
+
"type": "bytes32"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"internalType": "int64",
|
|
142
|
+
"name": "price",
|
|
143
|
+
"type": "int64"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"internalType": "uint64",
|
|
147
|
+
"name": "conf",
|
|
148
|
+
"type": "uint64"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"internalType": "int32",
|
|
152
|
+
"name": "expo",
|
|
153
|
+
"type": "int32"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"internalType": "int64",
|
|
157
|
+
"name": "emaPrice",
|
|
158
|
+
"type": "int64"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"internalType": "uint64",
|
|
162
|
+
"name": "emaConf",
|
|
163
|
+
"type": "uint64"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"internalType": "uint64",
|
|
167
|
+
"name": "publishTime",
|
|
168
|
+
"type": "uint64"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"name": "createPriceFeedUpdateData",
|
|
172
|
+
"outputs": [
|
|
173
|
+
{
|
|
174
|
+
"internalType": "bytes",
|
|
175
|
+
"name": "priceFeedData",
|
|
176
|
+
"type": "bytes"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"stateMutability": "pure",
|
|
180
|
+
"type": "function"
|
|
181
|
+
},
|
|
117
182
|
{
|
|
118
183
|
"inputs": [
|
|
119
184
|
{
|
|
@@ -122,7 +187,7 @@
|
|
|
122
187
|
"type": "bytes32"
|
|
123
188
|
}
|
|
124
189
|
],
|
|
125
|
-
"name": "
|
|
190
|
+
"name": "getEmaPrice",
|
|
126
191
|
"outputs": [
|
|
127
192
|
{
|
|
128
193
|
"components": [
|
|
@@ -140,6 +205,11 @@
|
|
|
140
205
|
"internalType": "int32",
|
|
141
206
|
"name": "expo",
|
|
142
207
|
"type": "int32"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"internalType": "uint256",
|
|
211
|
+
"name": "publishTime",
|
|
212
|
+
"type": "uint256"
|
|
143
213
|
}
|
|
144
214
|
],
|
|
145
215
|
"internalType": "struct PythStructs.Price",
|
|
@@ -147,7 +217,7 @@
|
|
|
147
217
|
"type": "tuple"
|
|
148
218
|
}
|
|
149
219
|
],
|
|
150
|
-
"stateMutability": "
|
|
220
|
+
"stateMutability": "view",
|
|
151
221
|
"type": "function"
|
|
152
222
|
},
|
|
153
223
|
{
|
|
@@ -156,9 +226,14 @@
|
|
|
156
226
|
"internalType": "bytes32",
|
|
157
227
|
"name": "id",
|
|
158
228
|
"type": "bytes32"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"internalType": "uint256",
|
|
232
|
+
"name": "age",
|
|
233
|
+
"type": "uint256"
|
|
159
234
|
}
|
|
160
235
|
],
|
|
161
|
-
"name": "
|
|
236
|
+
"name": "getEmaPriceNoOlderThan",
|
|
162
237
|
"outputs": [
|
|
163
238
|
{
|
|
164
239
|
"components": [
|
|
@@ -176,6 +251,11 @@
|
|
|
176
251
|
"internalType": "int32",
|
|
177
252
|
"name": "expo",
|
|
178
253
|
"type": "int32"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"internalType": "uint256",
|
|
257
|
+
"name": "publishTime",
|
|
258
|
+
"type": "uint256"
|
|
179
259
|
}
|
|
180
260
|
],
|
|
181
261
|
"internalType": "struct PythStructs.Price",
|
|
@@ -183,7 +263,7 @@
|
|
|
183
263
|
"type": "tuple"
|
|
184
264
|
}
|
|
185
265
|
],
|
|
186
|
-
"stateMutability": "
|
|
266
|
+
"stateMutability": "view",
|
|
187
267
|
"type": "function"
|
|
188
268
|
},
|
|
189
269
|
{
|
|
@@ -194,7 +274,7 @@
|
|
|
194
274
|
"type": "bytes32"
|
|
195
275
|
}
|
|
196
276
|
],
|
|
197
|
-
"name": "
|
|
277
|
+
"name": "getEmaPriceUnsafe",
|
|
198
278
|
"outputs": [
|
|
199
279
|
{
|
|
200
280
|
"components": [
|
|
@@ -212,19 +292,60 @@
|
|
|
212
292
|
"internalType": "int32",
|
|
213
293
|
"name": "expo",
|
|
214
294
|
"type": "int32"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"internalType": "uint256",
|
|
298
|
+
"name": "publishTime",
|
|
299
|
+
"type": "uint256"
|
|
215
300
|
}
|
|
216
301
|
],
|
|
217
302
|
"internalType": "struct PythStructs.Price",
|
|
218
303
|
"name": "price",
|
|
219
304
|
"type": "tuple"
|
|
220
|
-
}
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"stateMutability": "view",
|
|
308
|
+
"type": "function"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"inputs": [
|
|
221
312
|
{
|
|
222
|
-
"internalType": "
|
|
223
|
-
"name": "
|
|
224
|
-
"type": "
|
|
313
|
+
"internalType": "bytes32",
|
|
314
|
+
"name": "id",
|
|
315
|
+
"type": "bytes32"
|
|
225
316
|
}
|
|
226
317
|
],
|
|
227
|
-
"
|
|
318
|
+
"name": "getPrice",
|
|
319
|
+
"outputs": [
|
|
320
|
+
{
|
|
321
|
+
"components": [
|
|
322
|
+
{
|
|
323
|
+
"internalType": "int64",
|
|
324
|
+
"name": "price",
|
|
325
|
+
"type": "int64"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"internalType": "uint64",
|
|
329
|
+
"name": "conf",
|
|
330
|
+
"type": "uint64"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"internalType": "int32",
|
|
334
|
+
"name": "expo",
|
|
335
|
+
"type": "int32"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"internalType": "uint256",
|
|
339
|
+
"name": "publishTime",
|
|
340
|
+
"type": "uint256"
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"internalType": "struct PythStructs.Price",
|
|
344
|
+
"name": "price",
|
|
345
|
+
"type": "tuple"
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"stateMutability": "view",
|
|
228
349
|
"type": "function"
|
|
229
350
|
},
|
|
230
351
|
{
|
|
@@ -235,12 +356,53 @@
|
|
|
235
356
|
"type": "bytes32"
|
|
236
357
|
},
|
|
237
358
|
{
|
|
238
|
-
"internalType": "
|
|
239
|
-
"name": "
|
|
240
|
-
"type": "
|
|
359
|
+
"internalType": "uint256",
|
|
360
|
+
"name": "age",
|
|
361
|
+
"type": "uint256"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"name": "getPriceNoOlderThan",
|
|
365
|
+
"outputs": [
|
|
366
|
+
{
|
|
367
|
+
"components": [
|
|
368
|
+
{
|
|
369
|
+
"internalType": "int64",
|
|
370
|
+
"name": "price",
|
|
371
|
+
"type": "int64"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"internalType": "uint64",
|
|
375
|
+
"name": "conf",
|
|
376
|
+
"type": "uint64"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"internalType": "int32",
|
|
380
|
+
"name": "expo",
|
|
381
|
+
"type": "int32"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"internalType": "uint256",
|
|
385
|
+
"name": "publishTime",
|
|
386
|
+
"type": "uint256"
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"internalType": "struct PythStructs.Price",
|
|
390
|
+
"name": "price",
|
|
391
|
+
"type": "tuple"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"stateMutability": "view",
|
|
395
|
+
"type": "function"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"inputs": [
|
|
399
|
+
{
|
|
400
|
+
"internalType": "bytes32",
|
|
401
|
+
"name": "id",
|
|
402
|
+
"type": "bytes32"
|
|
241
403
|
}
|
|
242
404
|
],
|
|
243
|
-
"name": "
|
|
405
|
+
"name": "getPriceUnsafe",
|
|
244
406
|
"outputs": [
|
|
245
407
|
{
|
|
246
408
|
"components": [
|
|
@@ -258,6 +420,11 @@
|
|
|
258
420
|
"internalType": "int32",
|
|
259
421
|
"name": "expo",
|
|
260
422
|
"type": "int32"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"internalType": "uint256",
|
|
426
|
+
"name": "publishTime",
|
|
427
|
+
"type": "uint256"
|
|
261
428
|
}
|
|
262
429
|
],
|
|
263
430
|
"internalType": "struct PythStructs.Price",
|
|
@@ -284,88 +451,36 @@
|
|
|
284
451
|
"type": "uint256"
|
|
285
452
|
}
|
|
286
453
|
],
|
|
287
|
-
"stateMutability": "
|
|
454
|
+
"stateMutability": "view",
|
|
288
455
|
"type": "function"
|
|
289
456
|
},
|
|
290
457
|
{
|
|
291
|
-
"inputs": [
|
|
458
|
+
"inputs": [],
|
|
459
|
+
"name": "getValidTimePeriod",
|
|
460
|
+
"outputs": [
|
|
292
461
|
{
|
|
293
|
-
"internalType": "
|
|
462
|
+
"internalType": "uint256",
|
|
294
463
|
"name": "",
|
|
295
|
-
"type": "
|
|
464
|
+
"type": "uint256"
|
|
296
465
|
}
|
|
297
466
|
],
|
|
298
|
-
"
|
|
299
|
-
"
|
|
467
|
+
"stateMutability": "view",
|
|
468
|
+
"type": "function"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"inputs": [
|
|
300
472
|
{
|
|
301
473
|
"internalType": "bytes32",
|
|
302
474
|
"name": "id",
|
|
303
475
|
"type": "bytes32"
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
"type": "bytes32"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"internalType": "int64",
|
|
312
|
-
"name": "price",
|
|
313
|
-
"type": "int64"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"internalType": "uint64",
|
|
317
|
-
"name": "conf",
|
|
318
|
-
"type": "uint64"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"internalType": "int32",
|
|
322
|
-
"name": "expo",
|
|
323
|
-
"type": "int32"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"internalType": "enum PythStructs.PriceStatus",
|
|
327
|
-
"name": "status",
|
|
328
|
-
"type": "uint8"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"internalType": "uint32",
|
|
332
|
-
"name": "maxNumPublishers",
|
|
333
|
-
"type": "uint32"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"internalType": "uint32",
|
|
337
|
-
"name": "numPublishers",
|
|
338
|
-
"type": "uint32"
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"internalType": "int64",
|
|
342
|
-
"name": "emaPrice",
|
|
343
|
-
"type": "int64"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"internalType": "uint64",
|
|
347
|
-
"name": "emaConf",
|
|
348
|
-
"type": "uint64"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"internalType": "uint64",
|
|
352
|
-
"name": "publishTime",
|
|
353
|
-
"type": "uint64"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"internalType": "int64",
|
|
357
|
-
"name": "prevPrice",
|
|
358
|
-
"type": "int64"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"internalType": "uint64",
|
|
362
|
-
"name": "prevConf",
|
|
363
|
-
"type": "uint64"
|
|
364
|
-
},
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"name": "priceFeedExists",
|
|
479
|
+
"outputs": [
|
|
365
480
|
{
|
|
366
|
-
"internalType": "
|
|
367
|
-
"name": "
|
|
368
|
-
"type": "
|
|
481
|
+
"internalType": "bool",
|
|
482
|
+
"name": "",
|
|
483
|
+
"type": "bool"
|
|
369
484
|
}
|
|
370
485
|
],
|
|
371
486
|
"stateMutability": "view",
|
|
@@ -389,69 +504,58 @@
|
|
|
389
504
|
"type": "bytes32"
|
|
390
505
|
},
|
|
391
506
|
{
|
|
392
|
-
"
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
507
|
+
"components": [
|
|
508
|
+
{
|
|
509
|
+
"internalType": "int64",
|
|
510
|
+
"name": "price",
|
|
511
|
+
"type": "int64"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"internalType": "uint64",
|
|
515
|
+
"name": "conf",
|
|
516
|
+
"type": "uint64"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"internalType": "int32",
|
|
520
|
+
"name": "expo",
|
|
521
|
+
"type": "int32"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"internalType": "uint256",
|
|
525
|
+
"name": "publishTime",
|
|
526
|
+
"type": "uint256"
|
|
527
|
+
}
|
|
528
|
+
],
|
|
529
|
+
"internalType": "struct PythStructs.Price",
|
|
398
530
|
"name": "price",
|
|
399
|
-
"type": "
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"internalType": "int64",
|
|
531
|
+
"type": "tuple"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"components": [
|
|
535
|
+
{
|
|
536
|
+
"internalType": "int64",
|
|
537
|
+
"name": "price",
|
|
538
|
+
"type": "int64"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"internalType": "uint64",
|
|
542
|
+
"name": "conf",
|
|
543
|
+
"type": "uint64"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"internalType": "int32",
|
|
547
|
+
"name": "expo",
|
|
548
|
+
"type": "int32"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"internalType": "uint256",
|
|
552
|
+
"name": "publishTime",
|
|
553
|
+
"type": "uint256"
|
|
554
|
+
}
|
|
555
|
+
],
|
|
556
|
+
"internalType": "struct PythStructs.Price",
|
|
428
557
|
"name": "emaPrice",
|
|
429
|
-
"type": "
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"internalType": "uint64",
|
|
433
|
-
"name": "emaConf",
|
|
434
|
-
"type": "uint64"
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
"internalType": "uint64",
|
|
438
|
-
"name": "publishTime",
|
|
439
|
-
"type": "uint64"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"internalType": "int64",
|
|
443
|
-
"name": "prevPrice",
|
|
444
|
-
"type": "int64"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"internalType": "uint64",
|
|
448
|
-
"name": "prevConf",
|
|
449
|
-
"type": "uint64"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"internalType": "uint64",
|
|
453
|
-
"name": "prevPublishTime",
|
|
454
|
-
"type": "uint64"
|
|
558
|
+
"type": "tuple"
|
|
455
559
|
}
|
|
456
560
|
],
|
|
457
561
|
"internalType": "struct PythStructs.PriceFeed",
|
|
@@ -485,69 +589,58 @@
|
|
|
485
589
|
"type": "bytes32"
|
|
486
590
|
},
|
|
487
591
|
{
|
|
488
|
-
"
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
592
|
+
"components": [
|
|
593
|
+
{
|
|
594
|
+
"internalType": "int64",
|
|
595
|
+
"name": "price",
|
|
596
|
+
"type": "int64"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"internalType": "uint64",
|
|
600
|
+
"name": "conf",
|
|
601
|
+
"type": "uint64"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"internalType": "int32",
|
|
605
|
+
"name": "expo",
|
|
606
|
+
"type": "int32"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"internalType": "uint256",
|
|
610
|
+
"name": "publishTime",
|
|
611
|
+
"type": "uint256"
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"internalType": "struct PythStructs.Price",
|
|
494
615
|
"name": "price",
|
|
495
|
-
"type": "
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"internalType": "int64",
|
|
616
|
+
"type": "tuple"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"components": [
|
|
620
|
+
{
|
|
621
|
+
"internalType": "int64",
|
|
622
|
+
"name": "price",
|
|
623
|
+
"type": "int64"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"internalType": "uint64",
|
|
627
|
+
"name": "conf",
|
|
628
|
+
"type": "uint64"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"internalType": "int32",
|
|
632
|
+
"name": "expo",
|
|
633
|
+
"type": "int32"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"internalType": "uint256",
|
|
637
|
+
"name": "publishTime",
|
|
638
|
+
"type": "uint256"
|
|
639
|
+
}
|
|
640
|
+
],
|
|
641
|
+
"internalType": "struct PythStructs.Price",
|
|
524
642
|
"name": "emaPrice",
|
|
525
|
-
"type": "
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"internalType": "uint64",
|
|
529
|
-
"name": "emaConf",
|
|
530
|
-
"type": "uint64"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"internalType": "uint64",
|
|
534
|
-
"name": "publishTime",
|
|
535
|
-
"type": "uint64"
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"internalType": "int64",
|
|
539
|
-
"name": "prevPrice",
|
|
540
|
-
"type": "int64"
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"internalType": "uint64",
|
|
544
|
-
"name": "prevConf",
|
|
545
|
-
"type": "uint64"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"internalType": "uint64",
|
|
549
|
-
"name": "prevPublishTime",
|
|
550
|
-
"type": "uint64"
|
|
643
|
+
"type": "tuple"
|
|
551
644
|
}
|
|
552
645
|
],
|
|
553
646
|
"internalType": "struct PythStructs.PriceFeed[]",
|
|
@@ -584,8 +677,8 @@
|
|
|
584
677
|
"type": "function"
|
|
585
678
|
}
|
|
586
679
|
],
|
|
587
|
-
"bytecode": "0x608060405234801561001057600080fd5b50610fed806100206000396000f3fe6080604052600436106100915760003560e01c8063c52935fc11610059578063c52935fc146101c6578063c6c3f71e146101e6578063caaf43f1146102b3578063e17efd48146102e0578063ef9e5e281461030f57600080fd5b8063161e444e146100965780632b69ad3f146100fd578063706dd32f14610191578063b5dcc91114610096578063b9256d28146101b3575b600080fd5b3480156100a257600080fd5b506100e76100b13660046106d3565b50604080516060808201835260008083526020808401829052928401819052835191820184528082529181018290529182015290565b6040516100f491906106ec565b60405180910390f35b34801561010957600080fd5b506101516101183660046106d3565b50604080516060808201835260008083526020808401829052928401819052835191820184528082529181018290529182018190529091565b60408051835160070b81526020808501516001600160401b03908116918301919091529382015160030b91810191909152911660608201526080016100f4565b34801561019d57600080fd5b506101b16101ac36600461071c565b610320565b005b6101b16101c1366004610966565b505050565b3480156101d257600080fd5b506100e76101e1366004610a41565b6103db565b3480156101f257600080fd5b506102996102013660046106d3565b600060208190529081526040902080546001820154600283015460038085015460049095015493949293600783810b946001600160401b03600160401b808704821696600160801b80820490970b9660ff600160a01b8304169663ffffffff600160a81b8404811697600160c81b909404169580840b95858204811695938204811694600160c01b90920490910b928282169204168e565b6040516100f49e9d9c9b9a99989796959493929190610aa9565b3480156102bf57600080fd5b506102d36102ce3660046106d3565b6104b2565b6040516100f49190610b78565b3480156102ec57600080fd5b506103016102fb3660046106d3565b50600090565b6040519081526020016100f4565b6101b161031d366004610ca4565b50565b8061036a5760405162461bcd60e51b815260206004820152601560248201527406665656473206c656e677468206d757374203e203605c1b60448201526064015b60405180910390fd5b60005b818110156101c15782828281811061038757610387610ce0565b90506101c002016000808585858181106103a3576103a3610ce0565b90506101c0020160000135815260200190815260200160002081816103c89190610d8b565b506103d4905081610f87565b905061036d565b6040805160608101825260008082526020820181905291810182905290610401846104b2565b60408082015160070b845260608201516001600160401b039081166020860152608083015160030b918501919091526101408201519192508481169061044a90429084166106ae565b11156104a95760405162461bcd60e51b815260206004820152602860248201527f4e6f20617661696c61626c652070726963652077697468696e20676976656e20604482015267323ab930ba34b7b760c11b6064820152608401610361565b50505b92915050565b604080516101c08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052610100830182905261012083018290526101408301829052610160830182905261018083018290526101a083018290528482528190529182205490910361058f5760405162461bcd60e51b815260206004820152602a60248201527f6e6f207072696365206665656420666f756e6420666f722074686520676976656044820152691b881c1c9a58d9481a5960b21b6064820152608401610361565b6000828152602081815260409182902082516101c081018452815481526001820154928101929092526002810154600781900b93830193909352600160401b83046001600160401b03166060830152600160801b8304600390810b60808401529192909160a0840191600160a01b900460ff169081111561061257610612610a71565b600381111561062357610623610a71565b8152600282015463ffffffff600160a81b820481166020840152600160c81b9091041660408201526003820154600781810b60608401526001600160401b03600160401b80840482166080860152600160801b8404821660a0860152600160c01b90930490910b60c084015260049093015480841660e0840152049091166101009091015292915050565b6000818311156106c9576106c28284610fa0565b90506104ac565b6106c28383610fa0565b6000602082840312156106e557600080fd5b5035919050565b815160070b81526020808301516001600160401b03169082015260408083015160030b90820152606081016104ac565b6000806020838503121561072f57600080fd5b82356001600160401b038082111561074657600080fd5b818501915085601f83011261075a57600080fd5b81358181111561076957600080fd5b8660206101c08302850101111561077f57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156107cf576107cf610791565b604052919050565b60006001600160401b038211156107f0576107f0610791565b5060051b60200190565b6000601f838184011261080c57600080fd5b8235602061082161081c836107d7565b6107a7565b82815260059290921b8501810191818101908784111561084057600080fd5b8287015b848110156108d65780356001600160401b03808211156108645760008081fd5b818a0191508a603f8301126108795760008081fd5b8582013560408282111561088f5761088f610791565b6108a0828b01601f191689016107a7565b92508183528c818386010111156108b75760008081fd5b8181850189850137506000908201870152845250918301918301610844565b50979650505050505050565b6001600160401b038116811461031d57600080fd5b600082601f83011261090857600080fd5b8135602061091861081c836107d7565b82815260059290921b8401810191818101908684111561093757600080fd5b8286015b8481101561095b57803561094e816108e2565b835291830191830161093b565b509695505050505050565b60008060006060848603121561097b57600080fd5b83356001600160401b038082111561099257600080fd5b61099e878388016107fa565b94506020915081860135818111156109b557600080fd5b8601601f810188136109c657600080fd5b80356109d461081c826107d7565b81815260059190911b8201840190848101908a8311156109f357600080fd5b928501925b82841015610a11578335825292850192908501906109f8565b96505050506040860135915080821115610a2a57600080fd5b50610a37868287016108f7565b9150509250925092565b60008060408385031215610a5457600080fd5b823591506020830135610a66816108e2565b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b60048110610aa557634e487b7160e01b600052602160045260246000fd5b9052565b8e8152602081018e905260078d900b60408201526001600160401b038c1660608201526101c08101610ae0608083018d60030b9052565b610aed60a083018c610a87565b63ffffffff8a1660c083015263ffffffff891660e0830152610b1561010083018960070b9052565b6001600160401b0387166101208301526001600160401b038616610140830152610b4561016083018660070b9052565b6001600160401b0384166101808301526001600160401b0383166101a08301529f9e505050505050505050505050505050565b60006101c08201905082518252602083015160208301526040830151610ba3604084018260070b9052565b506060830151610bbe60608401826001600160401b03169052565b506080830151610bd3608084018260030b9052565b5060a0830151610be660a0840182610a87565b5060c0830151610bfe60c084018263ffffffff169052565b5060e0830151610c1660e084018263ffffffff169052565b5061010080840151610c2c8285018260070b9052565b5050610120838101516001600160401b038116848301525050610140838101516001600160401b03811684830152505061016080840151610c718285018260070b9052565b5050610180838101516001600160401b0381168483015250506101a0838101516001600160401b038116848301526104a9565b600060208284031215610cb657600080fd5b81356001600160401b03811115610ccc57600080fd5b610cd8848285016107fa565b949350505050565b634e487b7160e01b600052603260045260246000fd5b600081358060070b81146104ac57600080fd5b600081356104ac816108e2565b600081358060030b81146104ac57600080fd5b60008135600481106104ac57600080fd5b60048210610d5857634e487b7160e01b600052602160045260246000fd5b805460ff60a01b191660a09290921b60ff60a01b16919091179055565b6000813563ffffffff811681146104ac57600080fd5b813581556020820135600182015560028101610dca610dac60408501610cf6565b825467ffffffffffffffff19166001600160401b0391909116178255565b610e0b610dd960608501610d09565b82546fffffffffffffffff0000000000000000191660409190911b6fffffffffffffffff000000000000000016178255565b610e3c610e1a60808501610d16565b825460809190911b63ffffffff60801b1663ffffffff60801b19909116178255565b610e51610e4b60a08501610d29565b82610d3a565b610e84610e6060c08501610d75565b82805463ffffffff60a81b191660a89290921b63ffffffff60a81b16919091179055565b610eb7610e9360e08501610d75565b82805463ffffffff60c81b191660c89290921b63ffffffff60c81b16919091179055565b5060038101610ecc610dac6101008501610cf6565b610edc610dd96101208501610d09565b610f18610eec6101408501610d09565b82805467ffffffffffffffff60801b191660809290921b67ffffffffffffffff60801b16919091179055565b610f4c610f286101608501610cf6565b8280546001600160c01b031660c09290921b6001600160c01b031916919091179055565b5060048101610f61610dac6101808501610d09565b6101c1610dd96101a08501610d09565b634e487b7160e01b600052601160045260246000fd5b600060018201610f9957610f99610f71565b5060010190565b600082821015610fb257610fb2610f71565b50039056fea2646970667358221220d59c77737826d2a35565c191850e2dde4bf23da4d5bb08cb50f50a9b4cdc629764736f6c634300080d0033",
|
|
588
|
-
"deployedBytecode": "0x6080604052600436106100915760003560e01c8063c52935fc11610059578063c52935fc146101c6578063c6c3f71e146101e6578063caaf43f1146102b3578063e17efd48146102e0578063ef9e5e281461030f57600080fd5b8063161e444e146100965780632b69ad3f146100fd578063706dd32f14610191578063b5dcc91114610096578063b9256d28146101b3575b600080fd5b3480156100a257600080fd5b506100e76100b13660046106d3565b50604080516060808201835260008083526020808401829052928401819052835191820184528082529181018290529182015290565b6040516100f491906106ec565b60405180910390f35b34801561010957600080fd5b506101516101183660046106d3565b50604080516060808201835260008083526020808401829052928401819052835191820184528082529181018290529182018190529091565b60408051835160070b81526020808501516001600160401b03908116918301919091529382015160030b91810191909152911660608201526080016100f4565b34801561019d57600080fd5b506101b16101ac36600461071c565b610320565b005b6101b16101c1366004610966565b505050565b3480156101d257600080fd5b506100e76101e1366004610a41565b6103db565b3480156101f257600080fd5b506102996102013660046106d3565b600060208190529081526040902080546001820154600283015460038085015460049095015493949293600783810b946001600160401b03600160401b808704821696600160801b80820490970b9660ff600160a01b8304169663ffffffff600160a81b8404811697600160c81b909404169580840b95858204811695938204811694600160c01b90920490910b928282169204168e565b6040516100f49e9d9c9b9a99989796959493929190610aa9565b3480156102bf57600080fd5b506102d36102ce3660046106d3565b6104b2565b6040516100f49190610b78565b3480156102ec57600080fd5b506103016102fb3660046106d3565b50600090565b6040519081526020016100f4565b6101b161031d366004610ca4565b50565b8061036a5760405162461bcd60e51b815260206004820152601560248201527406665656473206c656e677468206d757374203e203605c1b60448201526064015b60405180910390fd5b60005b818110156101c15782828281811061038757610387610ce0565b90506101c002016000808585858181106103a3576103a3610ce0565b90506101c0020160000135815260200190815260200160002081816103c89190610d8b565b506103d4905081610f87565b905061036d565b6040805160608101825260008082526020820181905291810182905290610401846104b2565b60408082015160070b845260608201516001600160401b039081166020860152608083015160030b918501919091526101408201519192508481169061044a90429084166106ae565b11156104a95760405162461bcd60e51b815260206004820152602860248201527f4e6f20617661696c61626c652070726963652077697468696e20676976656e20604482015267323ab930ba34b7b760c11b6064820152608401610361565b50505b92915050565b604080516101c08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052610100830182905261012083018290526101408301829052610160830182905261018083018290526101a083018290528482528190529182205490910361058f5760405162461bcd60e51b815260206004820152602a60248201527f6e6f207072696365206665656420666f756e6420666f722074686520676976656044820152691b881c1c9a58d9481a5960b21b6064820152608401610361565b6000828152602081815260409182902082516101c081018452815481526001820154928101929092526002810154600781900b93830193909352600160401b83046001600160401b03166060830152600160801b8304600390810b60808401529192909160a0840191600160a01b900460ff169081111561061257610612610a71565b600381111561062357610623610a71565b8152600282015463ffffffff600160a81b820481166020840152600160c81b9091041660408201526003820154600781810b60608401526001600160401b03600160401b80840482166080860152600160801b8404821660a0860152600160c01b90930490910b60c084015260049093015480841660e0840152049091166101009091015292915050565b6000818311156106c9576106c28284610fa0565b90506104ac565b6106c28383610fa0565b6000602082840312156106e557600080fd5b5035919050565b815160070b81526020808301516001600160401b03169082015260408083015160030b90820152606081016104ac565b6000806020838503121561072f57600080fd5b82356001600160401b038082111561074657600080fd5b818501915085601f83011261075a57600080fd5b81358181111561076957600080fd5b8660206101c08302850101111561077f57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156107cf576107cf610791565b604052919050565b60006001600160401b038211156107f0576107f0610791565b5060051b60200190565b6000601f838184011261080c57600080fd5b8235602061082161081c836107d7565b6107a7565b82815260059290921b8501810191818101908784111561084057600080fd5b8287015b848110156108d65780356001600160401b03808211156108645760008081fd5b818a0191508a603f8301126108795760008081fd5b8582013560408282111561088f5761088f610791565b6108a0828b01601f191689016107a7565b92508183528c818386010111156108b75760008081fd5b8181850189850137506000908201870152845250918301918301610844565b50979650505050505050565b6001600160401b038116811461031d57600080fd5b600082601f83011261090857600080fd5b8135602061091861081c836107d7565b82815260059290921b8401810191818101908684111561093757600080fd5b8286015b8481101561095b57803561094e816108e2565b835291830191830161093b565b509695505050505050565b60008060006060848603121561097b57600080fd5b83356001600160401b038082111561099257600080fd5b61099e878388016107fa565b94506020915081860135818111156109b557600080fd5b8601601f810188136109c657600080fd5b80356109d461081c826107d7565b81815260059190911b8201840190848101908a8311156109f357600080fd5b928501925b82841015610a11578335825292850192908501906109f8565b96505050506040860135915080821115610a2a57600080fd5b50610a37868287016108f7565b9150509250925092565b60008060408385031215610a5457600080fd5b823591506020830135610a66816108e2565b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b60048110610aa557634e487b7160e01b600052602160045260246000fd5b9052565b8e8152602081018e905260078d900b60408201526001600160401b038c1660608201526101c08101610ae0608083018d60030b9052565b610aed60a083018c610a87565b63ffffffff8a1660c083015263ffffffff891660e0830152610b1561010083018960070b9052565b6001600160401b0387166101208301526001600160401b038616610140830152610b4561016083018660070b9052565b6001600160401b0384166101808301526001600160401b0383166101a08301529f9e505050505050505050505050505050565b60006101c08201905082518252602083015160208301526040830151610ba3604084018260070b9052565b506060830151610bbe60608401826001600160401b03169052565b506080830151610bd3608084018260030b9052565b5060a0830151610be660a0840182610a87565b5060c0830151610bfe60c084018263ffffffff169052565b5060e0830151610c1660e084018263ffffffff169052565b5061010080840151610c2c8285018260070b9052565b5050610120838101516001600160401b038116848301525050610140838101516001600160401b03811684830152505061016080840151610c718285018260070b9052565b5050610180838101516001600160401b0381168483015250506101a0838101516001600160401b038116848301526104a9565b600060208284031215610cb657600080fd5b81356001600160401b03811115610ccc57600080fd5b610cd8848285016107fa565b949350505050565b634e487b7160e01b600052603260045260246000fd5b600081358060070b81146104ac57600080fd5b600081356104ac816108e2565b600081358060030b81146104ac57600080fd5b60008135600481106104ac57600080fd5b60048210610d5857634e487b7160e01b600052602160045260246000fd5b805460ff60a01b191660a09290921b60ff60a01b16919091179055565b6000813563ffffffff811681146104ac57600080fd5b813581556020820135600182015560028101610dca610dac60408501610cf6565b825467ffffffffffffffff19166001600160401b0391909116178255565b610e0b610dd960608501610d09565b82546fffffffffffffffff0000000000000000191660409190911b6fffffffffffffffff000000000000000016178255565b610e3c610e1a60808501610d16565b825460809190911b63ffffffff60801b1663ffffffff60801b19909116178255565b610e51610e4b60a08501610d29565b82610d3a565b610e84610e6060c08501610d75565b82805463ffffffff60a81b191660a89290921b63ffffffff60a81b16919091179055565b610eb7610e9360e08501610d75565b82805463ffffffff60c81b191660c89290921b63ffffffff60c81b16919091179055565b5060038101610ecc610dac6101008501610cf6565b610edc610dd96101208501610d09565b610f18610eec6101408501610d09565b82805467ffffffffffffffff60801b191660809290921b67ffffffffffffffff60801b16919091179055565b610f4c610f286101608501610cf6565b8280546001600160c01b031660c09290921b6001600160c01b031916919091179055565b5060048101610f61610dac6101808501610d09565b6101c1610dd96101a08501610d09565b634e487b7160e01b600052601160045260246000fd5b600060018201610f9957610f99610f71565b5060010190565b600082821015610fb257610fb2610f71565b50039056fea2646970667358221220d59c77737826d2a35565c191850e2dde4bf23da4d5bb08cb50f50a9b4cdc629764736f6c634300080d0033",
|
|
680
|
+
"bytecode": "0x608060405234801561001057600080fd5b5060405161141d38038061141d83398101604081905261002f9161003a565b60025560035561005e565b6000806040838503121561004d57600080fd5b505080516020909101519092909150565b6113b08061006d6000396000f3fe6080604052600436106100dd5760003560e01c8063b5dcc9111161007f578063caaf43f111610059578063caaf43f114610259578063e17efd4814610286578063e18910a3146102b4578063ef9e5e28146102c957600080fd5b8063b5dcc911146101e7578063b5ec026114610207578063b9256d281461024657600080fd5b80639474f45b116100bb5780639474f45b1461015a57806396834ad31461017a57806396db63271461019a578063a4ae35e0146101c757600080fd5b806331d98b3f146100e257806361eac3c114610118578063711a2e281461013a575b600080fd5b3480156100ee57600080fd5b506101026100fd366004610cfc565b6102dc565b60405161010f9190610d4a565b60405180910390f35b34801561012457600080fd5b50610138610133366004610d58565b6102f7565b005b34801561014657600080fd5b50610102610155366004610dcd565b6103b7565b34801561016657600080fd5b50610102610175366004610cfc565b61043d565b34801561018657600080fd5b50610102610195366004610cfc565b61045b565b3480156101a657600080fd5b506101ba6101b5366004610e25565b610479565b60405161010f9190610eb2565b3480156101d357600080fd5b506101026101e2366004610dcd565b610518565b3480156101f357600080fd5b50610102610202366004610cfc565b61059a565b34801561021357600080fd5b50610236610222366004610cfc565b600090815260208190526040902054151590565b604051901515815260200161010f565b610138610254366004610f52565b6105af565b34801561026557600080fd5b50610279610274366004610cfc565b610788565b60405161010f9190610feb565b34801561029257600080fd5b506102a66102a1366004610cfc565b6108a3565b60405190815260200161010f565b3480156102c057600080fd5b506003546102a6565b6101386102d7366004611021565b6108b3565b6102e4610ca8565b6102f1826101e260035490565b92915050565b806103415760405162461bcd60e51b815260206004820152601560248201527406665656473206c656e677468206d757374203e203605c1b60448201526064015b60405180910390fd5b60005b818110156103b25782828281811061035e5761035e611062565b9050610120020160008085858581811061037a5761037a611062565b90506101200201600001358152602001908152602001600020818161039f9190611078565b506103ab90508161117d565b9050610344565b505050565b6103bf610ca8565b6103c88361043d565b9050816103d9428360600151610c83565b11156102f15760405162461bcd60e51b815260206004820152602d60248201527f6e6f20656d6120707269636520617661696c61626c652077686963682069732060448201526c0e4cac6cadce840cadcdeeaced609b1b6064820152608401610338565b610445610ca8565b600061045083610788565b604001519392505050565b610463610ca8565b600061046e83610788565b602001519392505050565b6060610483610ccf565b8881526020808201805160078b810b90915281516001600160401b03808c1691850191909152825160038b900b6040918201819052935188831660609182018190528288018051958d900b9095528451938b16938701939093528351820194909452915190920191909152516104fb91839101610feb565b604051602081830303815290604052915050979650505050505050565b610520610ca8565b6105298361045b565b90508161053a428360600151610c83565b11156102f15760405162461bcd60e51b815260206004820152602960248201527f6e6f20707269636520617661696c61626c6520776869636820697320726563656044820152680dce840cadcdeeaced60bb1b6064820152608401610338565b6105a2610ca8565b6102f18261015560035490565b8281146106245760405162461bcd60e51b815260206004820152603860248201527f707269636549647320616e64207075626c69736854696d65732061727261797360448201527f2073686f756c6420686176652073616d65206c656e67746800000000000000006064820152608401610338565b6000805b848110156106e25761066086868381811061064557610645611062565b90506020020135600090815260208190526040902054151590565b15806106c2575083838281811061067957610679611062565b905060200201602081019061068e9190611196565b6001600160401b03166106b88787848181106106ac576106ac611062565b90506020020135610788565b6020015160600151105b156106d057600191506106e2565b806106da8161117d565b915050610628565b50806107755760405162461bcd60e51b815260206004820152605660248201527f6e6f2070726963657320696e20746865207375626d697474656420626174636860448201527f2068617665206672657368207072696365732c20736f207468697320757064616064820152751d19481dda5b1b081a185d99481b9bc81959999958dd60521b608482015260a401610338565b61077f87876108b3565b50505050505050565b610790610ccf565b60008281526020819052604081205490036108005760405162461bcd60e51b815260206004820152602a60248201527f6e6f207072696365206665656420666f756e6420666f722074686520676976656044820152691b881c1c9a58d9481a5960b21b6064820152608401610338565b5060009081526020818152604091829020825160608082018552825482528451608080820187526001850154600781810b84526001600160401b03600160401b8084048216868b0152600160801b93849004600390810b878d015260028a015487890152888b01969096528a519485018b52858901549283900b855282041697830197909752909504900b84860152600490920154918301919091529182015290565b6000816002546102f191906111ba565b60006108be826108a3565b9050803410156109105760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e7420706169642066656520616d6f756e74000000006044820152606401610338565b803411156109b95760003361092583346111d9565b604051600081818185875af1925050503d8060008114610961576040519150601f19603f3d011682016040523d82523d6000602084013e610966565b606091505b50509050806109b75760405162461bcd60e51b815260206004820152601d60248201527f6661696c656420746f207472616e7366657220757064617465206665650000006044820152606401610338565b505b60006001815b84811015610b965760008686838181106109db576109db611062565b90506020028101906109ed91906111f0565b8101906109fa91906112c2565b805160009081526020818152604082206002015490830151606001519293509091811015610afa57825160009081526020818152604091829020855181558186015180516001808401805484870151858901516001600160401b039586166fffffffffffffffffffffffffffffffff1993841617600160401b92871683021763ffffffff60801b19908116600160801b63ffffffff93841681029190911790955560609788015160028a01558a8e0151805160038b0180549c8301519d830151918a169c9096169b909b179b909716909202999099171696909716029490941790945592909201516004909201919091559150610af78287611337565b95505b82516001546020808601516060808201518251928401516040805161ffff8e1681526001600160401b039788169681019690965285019190915290830186905260079190910b60808301529190911660a082015283151591907fa61a654f1064b28d3c54ec0c7b61399fc29b75a3843ead0c09708b5b18adda6e9060c00160405180910390a35050508080610b8e9061117d565b9150506109bf565b506001546040805161ffff841681526001600160401b0390921660208301528101859052606081018390527f254e85f5767558fb38b8f4e9d6bfe52993573323fb65dd0ddfa0c5a68c67898f9060800160405180910390a1600180548190600090610c0b9083906001600160401b031661134f565b92506101000a8154816001600160401b0302191690836001600160401b03160217905550336001600160a01b03167f740a0f779497a1dddcb571f245fe3093589bdd964509ed09ec0854ac9f4ec498600185604051610c74929190918252602082015260400190565b60405180910390a25050505050565b600081831115610c9e57610c9782846111d9565b90506102f1565b610c9783836111d9565b60408051608081018252600080825260208201819052918101829052606081019190915290565b60408051606081019091526000815260208101610cea610ca8565b8152602001610cf7610ca8565b905290565b600060208284031215610d0e57600080fd5b5035919050565b805160070b82526001600160401b036020820151166020830152604081015160030b6040830152606081015160608301525050565b608081016102f18284610d15565b60008060208385031215610d6b57600080fd5b82356001600160401b0380821115610d8257600080fd5b818501915085601f830112610d9657600080fd5b813581811115610da557600080fd5b86602061012083028501011115610dbb57600080fd5b60209290920196919550909350505050565b60008060408385031215610de057600080fd5b50508035926020909101359150565b8060070b8114610dfe57600080fd5b50565b6001600160401b0381168114610dfe57600080fd5b8060030b8114610dfe57600080fd5b600080600080600080600060e0888a031215610e4057600080fd5b873596506020880135610e5281610def565b95506040880135610e6281610e01565b94506060880135610e7281610e16565b93506080880135610e8281610def565b925060a0880135610e9281610e01565b915060c0880135610ea281610e01565b8091505092959891949750929550565b600060208083528351808285015260005b81811015610edf57858101830151858201604001528201610ec3565b81811115610ef1576000604083870101525b50601f01601f1916929092016040019392505050565b60008083601f840112610f1957600080fd5b5081356001600160401b03811115610f3057600080fd5b6020830191508360208260051b8501011115610f4b57600080fd5b9250929050565b60008060008060008060608789031215610f6b57600080fd5b86356001600160401b0380821115610f8257600080fd5b610f8e8a838b01610f07565b90985096506020890135915080821115610fa757600080fd5b610fb38a838b01610f07565b90965094506040890135915080821115610fcc57600080fd5b50610fd989828a01610f07565b979a9699509497509295939492505050565b8151815260208083015161012083019161100790840182610d15565b50604083015161101a60a0840182610d15565b5092915050565b6000806020838503121561103457600080fd5b82356001600160401b0381111561104a57600080fd5b61105685828601610f07565b90969095509350505050565b634e487b7160e01b600052603260045260246000fd5b8135815560018101602083013561108e81610def565b8154604085013561109e81610e01565b6fffffffffffffffff00000000000000006001600160401b0360608801356110c581610e16565b6bffffffffffffffffffffffff60a01b63ffffffff60801b8260801b811684891683891617868860401b161717895560808b013560028b015560038a01985060a08b0135975061111488610def565b8854965060c08b0135955061112886610e01565b60e08b0135925061113883610e16565b8260801b811684891683891617868860401b161717895550505050505050505061010082013560048201555050565b634e487b7160e01b600052601160045260246000fd5b60006001820161118f5761118f611167565b5060010190565b6000602082840312156111a857600080fd5b81356111b381610e01565b9392505050565b60008160001904831182151516156111d4576111d4611167565b500290565b6000828210156111eb576111eb611167565b500390565b6000808335601e1984360301811261120757600080fd5b8301803591506001600160401b0382111561122157600080fd5b602001915036819003821315610f4b57600080fd5b60006080828403121561124857600080fd5b604051608081018181106001600160401b038211171561127857634e487b7160e01b600052604160045260246000fd5b604052905080823561128981610def565b8152602083013561129981610e01565b602082015260408301356112ac81610e16565b6040820152606092830135920191909152919050565b600061012082840312156112d557600080fd5b604051606081018181106001600160401b038211171561130557634e487b7160e01b600052604160045260246000fd5b604052823581526113198460208501611236565b602082015261132b8460a08501611236565b60408201529392505050565b6000821982111561134a5761134a611167565b500190565b60006001600160401b0380831681851680830382111561137157611371611167565b0194935050505056fea2646970667358221220acdb968df38468355add004580d4ff6264fe692e10bc0cb342246b78d04011cb64736f6c634300080d0033",
|
|
681
|
+
"deployedBytecode": "0x6080604052600436106100dd5760003560e01c8063b5dcc9111161007f578063caaf43f111610059578063caaf43f114610259578063e17efd4814610286578063e18910a3146102b4578063ef9e5e28146102c957600080fd5b8063b5dcc911146101e7578063b5ec026114610207578063b9256d281461024657600080fd5b80639474f45b116100bb5780639474f45b1461015a57806396834ad31461017a57806396db63271461019a578063a4ae35e0146101c757600080fd5b806331d98b3f146100e257806361eac3c114610118578063711a2e281461013a575b600080fd5b3480156100ee57600080fd5b506101026100fd366004610cfc565b6102dc565b60405161010f9190610d4a565b60405180910390f35b34801561012457600080fd5b50610138610133366004610d58565b6102f7565b005b34801561014657600080fd5b50610102610155366004610dcd565b6103b7565b34801561016657600080fd5b50610102610175366004610cfc565b61043d565b34801561018657600080fd5b50610102610195366004610cfc565b61045b565b3480156101a657600080fd5b506101ba6101b5366004610e25565b610479565b60405161010f9190610eb2565b3480156101d357600080fd5b506101026101e2366004610dcd565b610518565b3480156101f357600080fd5b50610102610202366004610cfc565b61059a565b34801561021357600080fd5b50610236610222366004610cfc565b600090815260208190526040902054151590565b604051901515815260200161010f565b610138610254366004610f52565b6105af565b34801561026557600080fd5b50610279610274366004610cfc565b610788565b60405161010f9190610feb565b34801561029257600080fd5b506102a66102a1366004610cfc565b6108a3565b60405190815260200161010f565b3480156102c057600080fd5b506003546102a6565b6101386102d7366004611021565b6108b3565b6102e4610ca8565b6102f1826101e260035490565b92915050565b806103415760405162461bcd60e51b815260206004820152601560248201527406665656473206c656e677468206d757374203e203605c1b60448201526064015b60405180910390fd5b60005b818110156103b25782828281811061035e5761035e611062565b9050610120020160008085858581811061037a5761037a611062565b90506101200201600001358152602001908152602001600020818161039f9190611078565b506103ab90508161117d565b9050610344565b505050565b6103bf610ca8565b6103c88361043d565b9050816103d9428360600151610c83565b11156102f15760405162461bcd60e51b815260206004820152602d60248201527f6e6f20656d6120707269636520617661696c61626c652077686963682069732060448201526c0e4cac6cadce840cadcdeeaced609b1b6064820152608401610338565b610445610ca8565b600061045083610788565b604001519392505050565b610463610ca8565b600061046e83610788565b602001519392505050565b6060610483610ccf565b8881526020808201805160078b810b90915281516001600160401b03808c1691850191909152825160038b900b6040918201819052935188831660609182018190528288018051958d900b9095528451938b16938701939093528351820194909452915190920191909152516104fb91839101610feb565b604051602081830303815290604052915050979650505050505050565b610520610ca8565b6105298361045b565b90508161053a428360600151610c83565b11156102f15760405162461bcd60e51b815260206004820152602960248201527f6e6f20707269636520617661696c61626c6520776869636820697320726563656044820152680dce840cadcdeeaced60bb1b6064820152608401610338565b6105a2610ca8565b6102f18261015560035490565b8281146106245760405162461bcd60e51b815260206004820152603860248201527f707269636549647320616e64207075626c69736854696d65732061727261797360448201527f2073686f756c6420686176652073616d65206c656e67746800000000000000006064820152608401610338565b6000805b848110156106e25761066086868381811061064557610645611062565b90506020020135600090815260208190526040902054151590565b15806106c2575083838281811061067957610679611062565b905060200201602081019061068e9190611196565b6001600160401b03166106b88787848181106106ac576106ac611062565b90506020020135610788565b6020015160600151105b156106d057600191506106e2565b806106da8161117d565b915050610628565b50806107755760405162461bcd60e51b815260206004820152605660248201527f6e6f2070726963657320696e20746865207375626d697474656420626174636860448201527f2068617665206672657368207072696365732c20736f207468697320757064616064820152751d19481dda5b1b081a185d99481b9bc81959999958dd60521b608482015260a401610338565b61077f87876108b3565b50505050505050565b610790610ccf565b60008281526020819052604081205490036108005760405162461bcd60e51b815260206004820152602a60248201527f6e6f207072696365206665656420666f756e6420666f722074686520676976656044820152691b881c1c9a58d9481a5960b21b6064820152608401610338565b5060009081526020818152604091829020825160608082018552825482528451608080820187526001850154600781810b84526001600160401b03600160401b8084048216868b0152600160801b93849004600390810b878d015260028a015487890152888b01969096528a519485018b52858901549283900b855282041697830197909752909504900b84860152600490920154918301919091529182015290565b6000816002546102f191906111ba565b60006108be826108a3565b9050803410156109105760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e7420706169642066656520616d6f756e74000000006044820152606401610338565b803411156109b95760003361092583346111d9565b604051600081818185875af1925050503d8060008114610961576040519150601f19603f3d011682016040523d82523d6000602084013e610966565b606091505b50509050806109b75760405162461bcd60e51b815260206004820152601d60248201527f6661696c656420746f207472616e7366657220757064617465206665650000006044820152606401610338565b505b60006001815b84811015610b965760008686838181106109db576109db611062565b90506020028101906109ed91906111f0565b8101906109fa91906112c2565b805160009081526020818152604082206002015490830151606001519293509091811015610afa57825160009081526020818152604091829020855181558186015180516001808401805484870151858901516001600160401b039586166fffffffffffffffffffffffffffffffff1993841617600160401b92871683021763ffffffff60801b19908116600160801b63ffffffff93841681029190911790955560609788015160028a01558a8e0151805160038b0180549c8301519d830151918a169c9096169b909b179b909716909202999099171696909716029490941790945592909201516004909201919091559150610af78287611337565b95505b82516001546020808601516060808201518251928401516040805161ffff8e1681526001600160401b039788169681019690965285019190915290830186905260079190910b60808301529190911660a082015283151591907fa61a654f1064b28d3c54ec0c7b61399fc29b75a3843ead0c09708b5b18adda6e9060c00160405180910390a35050508080610b8e9061117d565b9150506109bf565b506001546040805161ffff841681526001600160401b0390921660208301528101859052606081018390527f254e85f5767558fb38b8f4e9d6bfe52993573323fb65dd0ddfa0c5a68c67898f9060800160405180910390a1600180548190600090610c0b9083906001600160401b031661134f565b92506101000a8154816001600160401b0302191690836001600160401b03160217905550336001600160a01b03167f740a0f779497a1dddcb571f245fe3093589bdd964509ed09ec0854ac9f4ec498600185604051610c74929190918252602082015260400190565b60405180910390a25050505050565b600081831115610c9e57610c9782846111d9565b90506102f1565b610c9783836111d9565b60408051608081018252600080825260208201819052918101829052606081019190915290565b60408051606081019091526000815260208101610cea610ca8565b8152602001610cf7610ca8565b905290565b600060208284031215610d0e57600080fd5b5035919050565b805160070b82526001600160401b036020820151166020830152604081015160030b6040830152606081015160608301525050565b608081016102f18284610d15565b60008060208385031215610d6b57600080fd5b82356001600160401b0380821115610d8257600080fd5b818501915085601f830112610d9657600080fd5b813581811115610da557600080fd5b86602061012083028501011115610dbb57600080fd5b60209290920196919550909350505050565b60008060408385031215610de057600080fd5b50508035926020909101359150565b8060070b8114610dfe57600080fd5b50565b6001600160401b0381168114610dfe57600080fd5b8060030b8114610dfe57600080fd5b600080600080600080600060e0888a031215610e4057600080fd5b873596506020880135610e5281610def565b95506040880135610e6281610e01565b94506060880135610e7281610e16565b93506080880135610e8281610def565b925060a0880135610e9281610e01565b915060c0880135610ea281610e01565b8091505092959891949750929550565b600060208083528351808285015260005b81811015610edf57858101830151858201604001528201610ec3565b81811115610ef1576000604083870101525b50601f01601f1916929092016040019392505050565b60008083601f840112610f1957600080fd5b5081356001600160401b03811115610f3057600080fd5b6020830191508360208260051b8501011115610f4b57600080fd5b9250929050565b60008060008060008060608789031215610f6b57600080fd5b86356001600160401b0380821115610f8257600080fd5b610f8e8a838b01610f07565b90985096506020890135915080821115610fa757600080fd5b610fb38a838b01610f07565b90965094506040890135915080821115610fcc57600080fd5b50610fd989828a01610f07565b979a9699509497509295939492505050565b8151815260208083015161012083019161100790840182610d15565b50604083015161101a60a0840182610d15565b5092915050565b6000806020838503121561103457600080fd5b82356001600160401b0381111561104a57600080fd5b61105685828601610f07565b90969095509350505050565b634e487b7160e01b600052603260045260246000fd5b8135815560018101602083013561108e81610def565b8154604085013561109e81610e01565b6fffffffffffffffff00000000000000006001600160401b0360608801356110c581610e16565b6bffffffffffffffffffffffff60a01b63ffffffff60801b8260801b811684891683891617868860401b161717895560808b013560028b015560038a01985060a08b0135975061111488610def565b8854965060c08b0135955061112886610e01565b60e08b0135925061113883610e16565b8260801b811684891683891617868860401b161717895550505050505050505061010082013560048201555050565b634e487b7160e01b600052601160045260246000fd5b60006001820161118f5761118f611167565b5060010190565b6000602082840312156111a857600080fd5b81356111b381610e01565b9392505050565b60008160001904831182151516156111d4576111d4611167565b500290565b6000828210156111eb576111eb611167565b500390565b6000808335601e1984360301811261120757600080fd5b8301803591506001600160401b0382111561122157600080fd5b602001915036819003821315610f4b57600080fd5b60006080828403121561124857600080fd5b604051608081018181106001600160401b038211171561127857634e487b7160e01b600052604160045260246000fd5b604052905080823561128981610def565b8152602083013561129981610e01565b602082015260408301356112ac81610e16565b6040820152606092830135920191909152919050565b600061012082840312156112d557600080fd5b604051606081018181106001600160401b038211171561130557634e487b7160e01b600052604160045260246000fd5b604052823581526113198460208501611236565b602082015261132b8460a08501611236565b60408201529392505050565b6000821982111561134a5761134a611167565b500190565b60006001600160401b0380831681851680830382111561137157611371611167565b0194935050505056fea2646970667358221220acdb968df38468355add004580d4ff6264fe692e10bc0cb342246b78d04011cb64736f6c634300080d0033",
|
|
589
682
|
"linkReferences": {},
|
|
590
683
|
"deployedLinkReferences": {}
|
|
591
684
|
}
|