@venusprotocol/oracle 1.6.11-dev.7 → 1.6.11-dev.8
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/bscmainnet/BinanceOracle.json +278 -36
- package/deployments/bscmainnet/BinanceOracle_Implementation.json +398 -28
- package/deployments/bscmainnet/BinanceOracle_Proxy.json +58 -34
- package/deployments/bscmainnet/BoundValidator.json +48 -48
- package/deployments/bscmainnet/BoundValidator_Implementation.json +36 -36
- package/deployments/bscmainnet/BoundValidator_Proxy.json +46 -46
- package/deployments/bscmainnet/ChainlinkOracle.json +55 -41
- package/deployments/bscmainnet/ChainlinkOracle_Implementation.json +36 -36
- package/deployments/bscmainnet/ChainlinkOracle_Proxy.json +53 -39
- package/deployments/bscmainnet/DefaultProxyAdmin.json +16 -16
- package/deployments/bscmainnet/PythOracle.json +54 -54
- package/deployments/bscmainnet/PythOracle_Implementation.json +38 -38
- package/deployments/bscmainnet/PythOracle_Proxy.json +52 -52
- package/deployments/bscmainnet/ResilientOracle.json +57 -43
- package/deployments/bscmainnet/ResilientOracle_Implementation.json +38 -38
- package/deployments/bscmainnet/ResilientOracle_Proxy.json +54 -40
- package/deployments/bscmainnet/TwapOracle.json +48 -61
- package/deployments/bscmainnet/TwapOracle_Implementation.json +49 -62
- package/deployments/bscmainnet/TwapOracle_Proxy.json +46 -46
- package/deployments/bscmainnet/solcInputs/3c9df0f4b407c3d8079629dd6ddb913e.json +180 -0
- package/dist/hardhat.config.d.ts.map +1 -1
- package/dist/hardhat.config.js +20 -4
- package/dist/hardhat.config.js.map +1 -1
- package/package.json +1 -1
- package/deployments/bscmainnet/solcInputs/68ea814c0d6925581f2bda5deba8ce4a.json +0 -60
- package/deployments/bscmainnet/solcInputs/8658c669dade0e9ab80874eab3bf3468.json +0 -117
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x9663A87f5CDbb0792C0E73572c9AFcE2EE6d1f9d",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -133,60 +133,84 @@
|
|
|
133
133
|
"type": "receive"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
"transactionHash": "
|
|
136
|
+
"transactionHash": "0xa937ce2ca93a665aae7837624da5208bf7830d261b44d9def1b4d98e6539b8d6",
|
|
137
137
|
"receipt": {
|
|
138
138
|
"to": null,
|
|
139
|
-
"from": "
|
|
140
|
-
"contractAddress": "
|
|
141
|
-
"transactionIndex":
|
|
142
|
-
"gasUsed": "
|
|
143
|
-
"logsBloom": "
|
|
144
|
-
"blockHash": "
|
|
145
|
-
"transactionHash": "
|
|
139
|
+
"from": "0xa05f990d647287e4E84715b813BC000aEA970467",
|
|
140
|
+
"contractAddress": "0x9663A87f5CDbb0792C0E73572c9AFcE2EE6d1f9d",
|
|
141
|
+
"transactionIndex": 116,
|
|
142
|
+
"gasUsed": "718007",
|
|
143
|
+
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000004000000000000000000000000000008000000000000000000000008000000002000001000000000100000000000000000000000000020000000000000000000800000000800000000000000000002000400000000000080000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000808000000000000000000000000020000000000000000000040000000000200400000000000000000020000000000080000000000000800000000000000800000000000000000000000000",
|
|
144
|
+
"blockHash": "0x87aadf24ae3ea41870bb81c2307980e693ba63e5f1eee1e24cea6dda148ace2d",
|
|
145
|
+
"transactionHash": "0xa937ce2ca93a665aae7837624da5208bf7830d261b44d9def1b4d98e6539b8d6",
|
|
146
146
|
"logs": [
|
|
147
147
|
{
|
|
148
|
-
"transactionIndex":
|
|
149
|
-
"blockNumber":
|
|
150
|
-
"transactionHash": "
|
|
151
|
-
"address": "
|
|
148
|
+
"transactionIndex": 116,
|
|
149
|
+
"blockNumber": 27541120,
|
|
150
|
+
"transactionHash": "0xa937ce2ca93a665aae7837624da5208bf7830d261b44d9def1b4d98e6539b8d6",
|
|
151
|
+
"address": "0x9663A87f5CDbb0792C0E73572c9AFcE2EE6d1f9d",
|
|
152
152
|
"topics": [
|
|
153
153
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
154
|
-
"
|
|
154
|
+
"0x000000000000000000000000442fbeadf8da4f334a3eba0796d19e45ab25d6a0"
|
|
155
155
|
],
|
|
156
156
|
"data": "0x",
|
|
157
|
-
"logIndex":
|
|
158
|
-
"blockHash": "
|
|
157
|
+
"logIndex": 350,
|
|
158
|
+
"blockHash": "0x87aadf24ae3ea41870bb81c2307980e693ba63e5f1eee1e24cea6dda148ace2d"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
"transactionIndex":
|
|
162
|
-
"blockNumber":
|
|
163
|
-
"transactionHash": "
|
|
164
|
-
"address": "
|
|
161
|
+
"transactionIndex": 116,
|
|
162
|
+
"blockNumber": 27541120,
|
|
163
|
+
"transactionHash": "0xa937ce2ca93a665aae7837624da5208bf7830d261b44d9def1b4d98e6539b8d6",
|
|
164
|
+
"address": "0x9663A87f5CDbb0792C0E73572c9AFcE2EE6d1f9d",
|
|
165
|
+
"topics": [
|
|
166
|
+
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
167
|
+
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
168
|
+
"0x000000000000000000000000a05f990d647287e4e84715b813bc000aea970467"
|
|
169
|
+
],
|
|
170
|
+
"data": "0x",
|
|
171
|
+
"logIndex": 351,
|
|
172
|
+
"blockHash": "0x87aadf24ae3ea41870bb81c2307980e693ba63e5f1eee1e24cea6dda148ace2d"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"transactionIndex": 116,
|
|
176
|
+
"blockNumber": 27541120,
|
|
177
|
+
"transactionHash": "0xa937ce2ca93a665aae7837624da5208bf7830d261b44d9def1b4d98e6539b8d6",
|
|
178
|
+
"address": "0x9663A87f5CDbb0792C0E73572c9AFcE2EE6d1f9d",
|
|
179
|
+
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
180
|
+
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555",
|
|
181
|
+
"logIndex": 352,
|
|
182
|
+
"blockHash": "0x87aadf24ae3ea41870bb81c2307980e693ba63e5f1eee1e24cea6dda148ace2d"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"transactionIndex": 116,
|
|
186
|
+
"blockNumber": 27541120,
|
|
187
|
+
"transactionHash": "0xa937ce2ca93a665aae7837624da5208bf7830d261b44d9def1b4d98e6539b8d6",
|
|
188
|
+
"address": "0x9663A87f5CDbb0792C0E73572c9AFcE2EE6d1f9d",
|
|
165
189
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
166
190
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
167
|
-
"logIndex":
|
|
168
|
-
"blockHash": "
|
|
191
|
+
"logIndex": 353,
|
|
192
|
+
"blockHash": "0x87aadf24ae3ea41870bb81c2307980e693ba63e5f1eee1e24cea6dda148ace2d"
|
|
169
193
|
},
|
|
170
194
|
{
|
|
171
|
-
"transactionIndex":
|
|
172
|
-
"blockNumber":
|
|
173
|
-
"transactionHash": "
|
|
174
|
-
"address": "
|
|
195
|
+
"transactionIndex": 116,
|
|
196
|
+
"blockNumber": 27541120,
|
|
197
|
+
"transactionHash": "0xa937ce2ca93a665aae7837624da5208bf7830d261b44d9def1b4d98e6539b8d6",
|
|
198
|
+
"address": "0x9663A87f5CDbb0792C0E73572c9AFcE2EE6d1f9d",
|
|
175
199
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
176
|
-
"data": "
|
|
177
|
-
"logIndex":
|
|
178
|
-
"blockHash": "
|
|
200
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000adb35da0690a6dff4c9dac1638372272d2d0f91e",
|
|
201
|
+
"logIndex": 354,
|
|
202
|
+
"blockHash": "0x87aadf24ae3ea41870bb81c2307980e693ba63e5f1eee1e24cea6dda148ace2d"
|
|
179
203
|
}
|
|
180
204
|
],
|
|
181
|
-
"blockNumber":
|
|
182
|
-
"cumulativeGasUsed": "
|
|
205
|
+
"blockNumber": 27541120,
|
|
206
|
+
"cumulativeGasUsed": "14315159",
|
|
183
207
|
"status": 1,
|
|
184
208
|
"byzantium": true
|
|
185
209
|
},
|
|
186
210
|
"args": [
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
211
|
+
"0x442fBeadF8DA4f334a3EbA0796d19E45aB25D6A0",
|
|
212
|
+
"0xAdb35Da0690a6dFF4C9dAc1638372272D2d0f91E",
|
|
213
|
+
"0x485cc95500000000000000000000000008ced32a7f3eec915ba84415e9c07a72869779560000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555"
|
|
190
214
|
],
|
|
191
215
|
"numDeployments": 1,
|
|
192
216
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
"name": "accessControlManager",
|
|
253
253
|
"outputs": [
|
|
254
254
|
{
|
|
255
|
-
"internalType": "contract
|
|
255
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
256
256
|
"name": "",
|
|
257
257
|
"type": "address"
|
|
258
258
|
}
|
|
@@ -498,83 +498,83 @@
|
|
|
498
498
|
"type": "constructor"
|
|
499
499
|
}
|
|
500
500
|
],
|
|
501
|
-
"transactionHash": "
|
|
501
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
502
502
|
"receipt": {
|
|
503
503
|
"to": null,
|
|
504
|
-
"from": "
|
|
505
|
-
"contractAddress": "
|
|
506
|
-
"transactionIndex":
|
|
507
|
-
"gasUsed": "
|
|
508
|
-
"logsBloom": "
|
|
509
|
-
"blockHash": "
|
|
510
|
-
"transactionHash": "
|
|
504
|
+
"from": "0xa05f990d647287e4E84715b813BC000aEA970467",
|
|
505
|
+
"contractAddress": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
506
|
+
"transactionIndex": 128,
|
|
507
|
+
"gasUsed": "696535",
|
|
508
|
+
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000008000000002000001000000000100000000001000000000000000020000000000000000000840000000800000000000000000000000400000000000000000000000000000800000000000000080000000000000800000000000000000000000000000000400002000000000818000000000000000000000000020000000000000000000040000000000000400000000000000000020000000000000000000000008000000000000000800000000000000000000000000",
|
|
509
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89",
|
|
510
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
511
511
|
"logs": [
|
|
512
512
|
{
|
|
513
|
-
"transactionIndex":
|
|
514
|
-
"blockNumber":
|
|
515
|
-
"transactionHash": "
|
|
516
|
-
"address": "
|
|
513
|
+
"transactionIndex": 128,
|
|
514
|
+
"blockNumber": 27541051,
|
|
515
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
516
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
517
517
|
"topics": [
|
|
518
518
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
519
|
-
"
|
|
519
|
+
"0x000000000000000000000000e68cfd2313f63551fcb6cb1d95ba774450bd26ed"
|
|
520
520
|
],
|
|
521
521
|
"data": "0x",
|
|
522
|
-
"logIndex":
|
|
523
|
-
"blockHash": "
|
|
522
|
+
"logIndex": 282,
|
|
523
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
|
-
"transactionIndex":
|
|
527
|
-
"blockNumber":
|
|
528
|
-
"transactionHash": "
|
|
529
|
-
"address": "
|
|
526
|
+
"transactionIndex": 128,
|
|
527
|
+
"blockNumber": 27541051,
|
|
528
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
529
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
530
530
|
"topics": [
|
|
531
531
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
532
532
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
533
|
-
"
|
|
533
|
+
"0x000000000000000000000000a05f990d647287e4e84715b813bc000aea970467"
|
|
534
534
|
],
|
|
535
535
|
"data": "0x",
|
|
536
|
-
"logIndex":
|
|
537
|
-
"blockHash": "
|
|
536
|
+
"logIndex": 283,
|
|
537
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
|
-
"transactionIndex":
|
|
541
|
-
"blockNumber":
|
|
542
|
-
"transactionHash": "
|
|
543
|
-
"address": "
|
|
540
|
+
"transactionIndex": 128,
|
|
541
|
+
"blockNumber": 27541051,
|
|
542
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
543
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
544
544
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
545
545
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555",
|
|
546
|
-
"logIndex":
|
|
547
|
-
"blockHash": "
|
|
546
|
+
"logIndex": 284,
|
|
547
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
548
548
|
},
|
|
549
549
|
{
|
|
550
|
-
"transactionIndex":
|
|
551
|
-
"blockNumber":
|
|
552
|
-
"transactionHash": "
|
|
553
|
-
"address": "
|
|
550
|
+
"transactionIndex": 128,
|
|
551
|
+
"blockNumber": 27541051,
|
|
552
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
553
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
554
554
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
555
555
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
556
|
-
"logIndex":
|
|
557
|
-
"blockHash": "
|
|
556
|
+
"logIndex": 285,
|
|
557
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
|
-
"transactionIndex":
|
|
561
|
-
"blockNumber":
|
|
562
|
-
"transactionHash": "
|
|
563
|
-
"address": "
|
|
560
|
+
"transactionIndex": 128,
|
|
561
|
+
"blockNumber": 27541051,
|
|
562
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
563
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
564
564
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
565
|
-
"data": "
|
|
566
|
-
"logIndex":
|
|
567
|
-
"blockHash": "
|
|
565
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000adb35da0690a6dff4c9dac1638372272d2d0f91e",
|
|
566
|
+
"logIndex": 286,
|
|
567
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
568
568
|
}
|
|
569
569
|
],
|
|
570
|
-
"blockNumber":
|
|
571
|
-
"cumulativeGasUsed": "
|
|
570
|
+
"blockNumber": 27541051,
|
|
571
|
+
"cumulativeGasUsed": "13008753",
|
|
572
572
|
"status": 1,
|
|
573
573
|
"byzantium": true
|
|
574
574
|
},
|
|
575
575
|
"args": [
|
|
576
|
-
"
|
|
577
|
-
"
|
|
576
|
+
"0xE68cfd2313F63551fcB6cB1D95ba774450bd26eD",
|
|
577
|
+
"0xAdb35Da0690a6dFF4C9dAc1638372272D2d0f91E",
|
|
578
578
|
"0xc4d66de80000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555"
|
|
579
579
|
],
|
|
580
580
|
"numDeployments": 1,
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
"methodName": "initialize",
|
|
587
587
|
"args": ["0x4788629ABc6cFCA10F9f969efdEAa1cF70c23555"]
|
|
588
588
|
},
|
|
589
|
-
"implementation": "
|
|
589
|
+
"implementation": "0xE68cfd2313F63551fcB6cB1D95ba774450bd26eD",
|
|
590
590
|
"devdoc": {
|
|
591
591
|
"details": "This contract implements a proxy that is upgradeable by an admin. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches one of the admin functions exposed by the proxy itself. 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error that says \"admin cannot fallback to proxy target\". These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.",
|
|
592
592
|
"kind": "dev",
|