@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": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -133,83 +133,83 @@
|
|
|
133
133
|
"type": "receive"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
"transactionHash": "
|
|
136
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
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": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
141
|
+
"transactionIndex": 128,
|
|
142
|
+
"gasUsed": "696535",
|
|
143
|
+
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000008000000002000001000000000100000000001000000000000000020000000000000000000840000000800000000000000000000000400000000000000000000000000000800000000000000080000000000000800000000000000000000000000000000400002000000000818000000000000000000000000020000000000000000000040000000000000400000000000000000020000000000000000000000008000000000000000800000000000000000000000000",
|
|
144
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89",
|
|
145
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
146
146
|
"logs": [
|
|
147
147
|
{
|
|
148
|
-
"transactionIndex":
|
|
149
|
-
"blockNumber":
|
|
150
|
-
"transactionHash": "
|
|
151
|
-
"address": "
|
|
148
|
+
"transactionIndex": 128,
|
|
149
|
+
"blockNumber": 27541051,
|
|
150
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
151
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
152
152
|
"topics": [
|
|
153
153
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
154
|
-
"
|
|
154
|
+
"0x000000000000000000000000e68cfd2313f63551fcb6cb1d95ba774450bd26ed"
|
|
155
155
|
],
|
|
156
156
|
"data": "0x",
|
|
157
|
-
"logIndex":
|
|
158
|
-
"blockHash": "
|
|
157
|
+
"logIndex": 282,
|
|
158
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
"transactionIndex":
|
|
162
|
-
"blockNumber":
|
|
163
|
-
"transactionHash": "
|
|
164
|
-
"address": "
|
|
161
|
+
"transactionIndex": 128,
|
|
162
|
+
"blockNumber": 27541051,
|
|
163
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
164
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
165
165
|
"topics": [
|
|
166
166
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
167
167
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
168
|
-
"
|
|
168
|
+
"0x000000000000000000000000a05f990d647287e4e84715b813bc000aea970467"
|
|
169
169
|
],
|
|
170
170
|
"data": "0x",
|
|
171
|
-
"logIndex":
|
|
172
|
-
"blockHash": "
|
|
171
|
+
"logIndex": 283,
|
|
172
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
|
-
"transactionIndex":
|
|
176
|
-
"blockNumber":
|
|
177
|
-
"transactionHash": "
|
|
178
|
-
"address": "
|
|
175
|
+
"transactionIndex": 128,
|
|
176
|
+
"blockNumber": 27541051,
|
|
177
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
178
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
179
179
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
180
180
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555",
|
|
181
|
-
"logIndex":
|
|
182
|
-
"blockHash": "
|
|
181
|
+
"logIndex": 284,
|
|
182
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
"transactionIndex":
|
|
186
|
-
"blockNumber":
|
|
187
|
-
"transactionHash": "
|
|
188
|
-
"address": "
|
|
185
|
+
"transactionIndex": 128,
|
|
186
|
+
"blockNumber": 27541051,
|
|
187
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
188
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
189
189
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
190
190
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
191
|
-
"logIndex":
|
|
192
|
-
"blockHash": "
|
|
191
|
+
"logIndex": 285,
|
|
192
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
"transactionIndex":
|
|
196
|
-
"blockNumber":
|
|
197
|
-
"transactionHash": "
|
|
198
|
-
"address": "
|
|
195
|
+
"transactionIndex": 128,
|
|
196
|
+
"blockNumber": 27541051,
|
|
197
|
+
"transactionHash": "0xb6cbd859a0bd94ade27ddf2a98a0449743e518de203b4c0d85ab955f89ae9922",
|
|
198
|
+
"address": "0xc3DBAC666eB8db8b4d861b51e622ED632BAf8786",
|
|
199
199
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
200
|
-
"data": "
|
|
201
|
-
"logIndex":
|
|
202
|
-
"blockHash": "
|
|
200
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000adb35da0690a6dff4c9dac1638372272d2d0f91e",
|
|
201
|
+
"logIndex": 286,
|
|
202
|
+
"blockHash": "0x1275ff1f5586b61959af0144fcecbe1a73cdd73ff4eec7d8b0f6bb25d7dcfb89"
|
|
203
203
|
}
|
|
204
204
|
],
|
|
205
|
-
"blockNumber":
|
|
206
|
-
"cumulativeGasUsed": "
|
|
205
|
+
"blockNumber": 27541051,
|
|
206
|
+
"cumulativeGasUsed": "13008753",
|
|
207
207
|
"status": 1,
|
|
208
208
|
"byzantium": true
|
|
209
209
|
},
|
|
210
210
|
"args": [
|
|
211
|
-
"
|
|
212
|
-
"
|
|
211
|
+
"0xE68cfd2313F63551fcB6cB1D95ba774450bd26eD",
|
|
212
|
+
"0xAdb35Da0690a6dFF4C9dAc1638372272D2d0f91E",
|
|
213
213
|
"0xc4d66de80000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555"
|
|
214
214
|
],
|
|
215
215
|
"numDeployments": 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x3d54ca630A4aFf06deDb7e97705616437a68f6eF",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
"name": "accessControlManager",
|
|
284
284
|
"outputs": [
|
|
285
285
|
{
|
|
286
|
-
"internalType": "contract
|
|
286
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
287
287
|
"name": "",
|
|
288
288
|
"type": "address"
|
|
289
289
|
}
|
|
@@ -574,69 +574,83 @@
|
|
|
574
574
|
"type": "constructor"
|
|
575
575
|
}
|
|
576
576
|
],
|
|
577
|
-
"transactionHash": "
|
|
577
|
+
"transactionHash": "0xf763fcf5a9da0daf2dda279d44f71d7bf760d7176c99361bc7467c20626331f7",
|
|
578
578
|
"receipt": {
|
|
579
579
|
"to": null,
|
|
580
|
-
"from": "
|
|
581
|
-
"contractAddress": "
|
|
582
|
-
"transactionIndex":
|
|
583
|
-
"gasUsed": "
|
|
584
|
-
"logsBloom": "
|
|
585
|
-
"blockHash": "
|
|
586
|
-
"transactionHash": "
|
|
580
|
+
"from": "0xa05f990d647287e4E84715b813BC000aEA970467",
|
|
581
|
+
"contractAddress": "0x3d54ca630A4aFf06deDb7e97705616437a68f6eF",
|
|
582
|
+
"transactionIndex": 101,
|
|
583
|
+
"gasUsed": "696513",
|
|
584
|
+
"logsBloom": "0x00000000000000000000000000000000400000000000000080800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000008000000002000001000000000100000000000000000000000000020000000000000000000800000010800000000000000000000000400000000000000000000000040000000000000000000080200000000000800000000000000000000000000000000400000000000000808000000000000000000000000020000000000000000000040000000000000400000000000000001020000000000000000400000000000000000000000800000000000000000000000000",
|
|
585
|
+
"blockHash": "0xeb46e9ab98557abaf8ca796afb8fcbe09f7adc2b87420c53ef28c80c5d0eccb4",
|
|
586
|
+
"transactionHash": "0xf763fcf5a9da0daf2dda279d44f71d7bf760d7176c99361bc7467c20626331f7",
|
|
587
587
|
"logs": [
|
|
588
588
|
{
|
|
589
|
-
"transactionIndex":
|
|
590
|
-
"blockNumber":
|
|
591
|
-
"transactionHash": "
|
|
592
|
-
"address": "
|
|
589
|
+
"transactionIndex": 101,
|
|
590
|
+
"blockNumber": 27541082,
|
|
591
|
+
"transactionHash": "0xf763fcf5a9da0daf2dda279d44f71d7bf760d7176c99361bc7467c20626331f7",
|
|
592
|
+
"address": "0x3d54ca630A4aFf06deDb7e97705616437a68f6eF",
|
|
593
593
|
"topics": [
|
|
594
594
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
595
|
-
"
|
|
595
|
+
"0x000000000000000000000000a4f039f414e8b24c38e0aec83e160790d49ff7b4"
|
|
596
596
|
],
|
|
597
597
|
"data": "0x",
|
|
598
|
-
"logIndex":
|
|
599
|
-
"blockHash": "
|
|
598
|
+
"logIndex": 194,
|
|
599
|
+
"blockHash": "0xeb46e9ab98557abaf8ca796afb8fcbe09f7adc2b87420c53ef28c80c5d0eccb4"
|
|
600
600
|
},
|
|
601
601
|
{
|
|
602
|
-
"transactionIndex":
|
|
603
|
-
"blockNumber":
|
|
604
|
-
"transactionHash": "
|
|
605
|
-
"address": "
|
|
602
|
+
"transactionIndex": 101,
|
|
603
|
+
"blockNumber": 27541082,
|
|
604
|
+
"transactionHash": "0xf763fcf5a9da0daf2dda279d44f71d7bf760d7176c99361bc7467c20626331f7",
|
|
605
|
+
"address": "0x3d54ca630A4aFf06deDb7e97705616437a68f6eF",
|
|
606
|
+
"topics": [
|
|
607
|
+
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
608
|
+
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
609
|
+
"0x000000000000000000000000a05f990d647287e4e84715b813bc000aea970467"
|
|
610
|
+
],
|
|
611
|
+
"data": "0x",
|
|
612
|
+
"logIndex": 195,
|
|
613
|
+
"blockHash": "0xeb46e9ab98557abaf8ca796afb8fcbe09f7adc2b87420c53ef28c80c5d0eccb4"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"transactionIndex": 101,
|
|
617
|
+
"blockNumber": 27541082,
|
|
618
|
+
"transactionHash": "0xf763fcf5a9da0daf2dda279d44f71d7bf760d7176c99361bc7467c20626331f7",
|
|
619
|
+
"address": "0x3d54ca630A4aFf06deDb7e97705616437a68f6eF",
|
|
606
620
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
607
621
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555",
|
|
608
|
-
"logIndex":
|
|
609
|
-
"blockHash": "
|
|
622
|
+
"logIndex": 196,
|
|
623
|
+
"blockHash": "0xeb46e9ab98557abaf8ca796afb8fcbe09f7adc2b87420c53ef28c80c5d0eccb4"
|
|
610
624
|
},
|
|
611
625
|
{
|
|
612
|
-
"transactionIndex":
|
|
613
|
-
"blockNumber":
|
|
614
|
-
"transactionHash": "
|
|
615
|
-
"address": "
|
|
626
|
+
"transactionIndex": 101,
|
|
627
|
+
"blockNumber": 27541082,
|
|
628
|
+
"transactionHash": "0xf763fcf5a9da0daf2dda279d44f71d7bf760d7176c99361bc7467c20626331f7",
|
|
629
|
+
"address": "0x3d54ca630A4aFf06deDb7e97705616437a68f6eF",
|
|
616
630
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
617
631
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
618
|
-
"logIndex":
|
|
619
|
-
"blockHash": "
|
|
632
|
+
"logIndex": 197,
|
|
633
|
+
"blockHash": "0xeb46e9ab98557abaf8ca796afb8fcbe09f7adc2b87420c53ef28c80c5d0eccb4"
|
|
620
634
|
},
|
|
621
635
|
{
|
|
622
|
-
"transactionIndex":
|
|
623
|
-
"blockNumber":
|
|
624
|
-
"transactionHash": "
|
|
625
|
-
"address": "
|
|
636
|
+
"transactionIndex": 101,
|
|
637
|
+
"blockNumber": 27541082,
|
|
638
|
+
"transactionHash": "0xf763fcf5a9da0daf2dda279d44f71d7bf760d7176c99361bc7467c20626331f7",
|
|
639
|
+
"address": "0x3d54ca630A4aFf06deDb7e97705616437a68f6eF",
|
|
626
640
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
627
|
-
"data": "
|
|
628
|
-
"logIndex":
|
|
629
|
-
"blockHash": "
|
|
641
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000adb35da0690a6dff4c9dac1638372272d2d0f91e",
|
|
642
|
+
"logIndex": 198,
|
|
643
|
+
"blockHash": "0xeb46e9ab98557abaf8ca796afb8fcbe09f7adc2b87420c53ef28c80c5d0eccb4"
|
|
630
644
|
}
|
|
631
645
|
],
|
|
632
|
-
"blockNumber":
|
|
633
|
-
"cumulativeGasUsed": "
|
|
646
|
+
"blockNumber": 27541082,
|
|
647
|
+
"cumulativeGasUsed": "12033001",
|
|
634
648
|
"status": 1,
|
|
635
649
|
"byzantium": true
|
|
636
650
|
},
|
|
637
651
|
"args": [
|
|
638
|
-
"
|
|
639
|
-
"
|
|
652
|
+
"0xA4f039f414e8B24C38e0AeC83E160790d49FF7b4",
|
|
653
|
+
"0xAdb35Da0690a6dFF4C9dAc1638372272D2d0f91E",
|
|
640
654
|
"0xc4d66de80000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555"
|
|
641
655
|
],
|
|
642
656
|
"numDeployments": 1,
|
|
@@ -648,7 +662,7 @@
|
|
|
648
662
|
"methodName": "initialize",
|
|
649
663
|
"args": ["0x4788629ABc6cFCA10F9f969efdEAa1cF70c23555"]
|
|
650
664
|
},
|
|
651
|
-
"implementation": "
|
|
665
|
+
"implementation": "0xA4f039f414e8B24C38e0AeC83E160790d49FF7b4",
|
|
652
666
|
"devdoc": {
|
|
653
667
|
"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.",
|
|
654
668
|
"kind": "dev",
|