@venusprotocol/oracle 1.3.2 → 1.4.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/2fde13baf96aae3a4a0595eaa19cc540.json +1 -0
- package/artifacts/build-info/99d7aae43e9eacb55ec69b3cd6d3a70b.json +1 -0
- package/artifacts/contracts/PriceOracle.sol/PriceOracle.dbg.json +1 -1
- package/artifacts/contracts/PriceOracle.sol/PriceOracle.json +0 -6
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +1 -1
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.json +10 -10
- package/contracts/PriceOracle.sol +4 -4
- package/contracts/ResilientOracle.sol +27 -24
- package/deploy/{oracles.d.ts → 1-deploy-oracles.d.ts} +1 -1
- package/deploy/1-deploy-oracles.d.ts.map +1 -0
- package/deploy/{oracles.js → 1-deploy-oracles.js} +22 -8
- package/deploy/1-deploy-oracles.js.map +1 -0
- package/deploy/2-configure-feeds.d.ts +4 -0
- package/deploy/2-configure-feeds.d.ts.map +1 -0
- package/deploy/2-configure-feeds.js +90 -0
- package/deploy/2-configure-feeds.js.map +1 -0
- package/deployments/bsctestnet/.chainId +1 -0
- package/deployments/bsctestnet/BinanceOracle.json +290 -0
- package/deployments/bsctestnet/BinanceOracle_Implementation.json +140 -0
- package/deployments/{localhost/ChainlinkOracle_Proxy.json → bsctestnet/BinanceOracle_Proxy.json} +36 -46
- package/deployments/{localhost → bsctestnet}/BoundValidator.json +40 -40
- package/deployments/{localhost → bsctestnet}/BoundValidator_Implementation.json +19 -19
- package/deployments/{localhost → bsctestnet}/BoundValidator_Proxy.json +39 -39
- package/deployments/{localhost/PivotTwapOracle.json → bsctestnet/ChainlinkOracle.json} +214 -61
- package/deployments/bsctestnet/ChainlinkOracle_Implementation.json +553 -0
- package/deployments/{localhost/PivotTwapOracle_Proxy.json → bsctestnet/ChainlinkOracle_Proxy.json} +39 -43
- package/deployments/{localhost → bsctestnet}/DefaultProxyAdmin.json +19 -19
- package/deployments/{localhost → bsctestnet}/PythOracle.json +178 -49
- package/deployments/{localhost → bsctestnet}/PythOracle_Implementation.json +247 -45
- package/deployments/{localhost → bsctestnet}/PythOracle_Proxy.json +53 -40
- package/deployments/{localhost → bsctestnet}/ResilientOracle.json +51 -51
- package/deployments/bsctestnet/ResilientOracle_Implementation.json +746 -0
- package/deployments/{localhost → bsctestnet}/ResilientOracle_Proxy.json +41 -41
- package/deployments/{localhost/BinanceOracle.json → bsctestnet/TwapOracle.json} +419 -53
- package/deployments/bsctestnet/TwapOracle_Implementation.json +842 -0
- package/deployments/{localhost/BinanceOracle_Proxy.json → bsctestnet/TwapOracle_Proxy.json} +41 -41
- package/deployments/bsctestnet/solcInputs/09bc2981019c6dcce653b90bac585fe0.json +81 -0
- package/deployments/{localhost → bsctestnet}/solcInputs/0e89febeebc7444140de8e67c9067d2c.json +0 -0
- package/deployments/{localhost/solcInputs/468ec7a31e2db8855c82fb8141193271.json → bsctestnet/solcInputs/5dedb37ab8105f1f71e53a3f865859c5.json} +7 -4
- package/deployments/{localhost/solcInputs/50629170e50dc9fec79dac585e95ac05.json → bsctestnet/solcInputs/bb71c6049f6b7b21a6581f40daf802bc.json} +31 -31
- package/package.json +2 -2
- package/artifacts/build-info/766f05630947fa6d366a667b66c1141b.json +0 -1
- package/deploy/oracles.d.ts.map +0 -1
- package/deploy/oracles.js.map +0 -1
- package/deployments/localhost/.chainId +0 -1
- package/deployments/localhost/BinanceOracle_Implementation.json +0 -305
- package/deployments/localhost/ChainlinkOracle.json +0 -370
- package/deployments/localhost/ChainlinkOracle_Implementation.json +0 -273
- package/deployments/localhost/PivotTwapOracle_Implementation.json +0 -304
- package/deployments/localhost/ResilientOracle_Implementation.json +0 -746
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -133,74 +133,74 @@
|
|
|
133
133
|
"type": "receive"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
"transactionHash": "
|
|
136
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
137
137
|
"receipt": {
|
|
138
138
|
"to": null,
|
|
139
|
-
"from": "
|
|
140
|
-
"contractAddress": "
|
|
141
|
-
"transactionIndex":
|
|
142
|
-
"gasUsed": "
|
|
143
|
-
"logsBloom": "
|
|
144
|
-
"blockHash": "
|
|
145
|
-
"transactionHash": "
|
|
139
|
+
"from": "0x2Ce1d0ffD7E869D9DF33e28552b12DdDed326706",
|
|
140
|
+
"contractAddress": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
141
|
+
"transactionIndex": 6,
|
|
142
|
+
"gasUsed": "695083",
|
|
143
|
+
"logsBloom": "0x10000000000000000000000000000000400000000000008000800008000000000800000000000000000000000000000000000000000000000000000000004000000000000000000000000000000002000001000000000000000000000002000000000000020000000000000000000800000000800000000000000000000000400000000000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000040000002000000400000000000000000020000000000000000000000020000000000000000000000002000000000000000000",
|
|
144
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7",
|
|
145
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
146
146
|
"logs": [
|
|
147
147
|
{
|
|
148
|
-
"transactionIndex":
|
|
149
|
-
"blockNumber":
|
|
150
|
-
"transactionHash": "
|
|
151
|
-
"address": "
|
|
148
|
+
"transactionIndex": 6,
|
|
149
|
+
"blockNumber": 24708538,
|
|
150
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
151
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
152
152
|
"topics": [
|
|
153
153
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
154
|
-
"
|
|
154
|
+
"0x000000000000000000000000cead355a5c0708f9eba048616e6c5b61c1d412a5"
|
|
155
155
|
],
|
|
156
156
|
"data": "0x",
|
|
157
|
-
"logIndex":
|
|
158
|
-
"blockHash": "
|
|
157
|
+
"logIndex": 13,
|
|
158
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
"transactionIndex":
|
|
162
|
-
"blockNumber":
|
|
163
|
-
"transactionHash": "
|
|
164
|
-
"address": "
|
|
161
|
+
"transactionIndex": 6,
|
|
162
|
+
"blockNumber": 24708538,
|
|
163
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
164
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
165
165
|
"topics": [
|
|
166
166
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
167
167
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
168
|
-
"
|
|
168
|
+
"0x0000000000000000000000002ce1d0ffd7e869d9df33e28552b12ddded326706"
|
|
169
169
|
],
|
|
170
170
|
"data": "0x",
|
|
171
|
-
"logIndex":
|
|
172
|
-
"blockHash": "
|
|
171
|
+
"logIndex": 14,
|
|
172
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7"
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
|
-
"transactionIndex":
|
|
176
|
-
"blockNumber":
|
|
177
|
-
"transactionHash": "
|
|
178
|
-
"address": "
|
|
175
|
+
"transactionIndex": 6,
|
|
176
|
+
"blockNumber": 24708538,
|
|
177
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
178
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
179
179
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
180
180
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
181
|
-
"logIndex":
|
|
182
|
-
"blockHash": "
|
|
181
|
+
"logIndex": 15,
|
|
182
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
"transactionIndex":
|
|
186
|
-
"blockNumber":
|
|
187
|
-
"transactionHash": "
|
|
188
|
-
"address": "
|
|
185
|
+
"transactionIndex": 6,
|
|
186
|
+
"blockNumber": 24708538,
|
|
187
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
188
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
189
189
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
190
|
-
"data": "
|
|
191
|
-
"logIndex":
|
|
192
|
-
"blockHash": "
|
|
190
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088c90a298028f7c2ba3edc16382609e996f3aa9f",
|
|
191
|
+
"logIndex": 16,
|
|
192
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7"
|
|
193
193
|
}
|
|
194
194
|
],
|
|
195
|
-
"blockNumber":
|
|
196
|
-
"cumulativeGasUsed": "
|
|
195
|
+
"blockNumber": 24708538,
|
|
196
|
+
"cumulativeGasUsed": "1144137",
|
|
197
197
|
"status": 1,
|
|
198
198
|
"byzantium": true
|
|
199
199
|
},
|
|
200
200
|
"args": [
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"
|
|
201
|
+
"0xceAd355a5c0708f9Eba048616E6c5B61C1D412a5",
|
|
202
|
+
"0x88c90A298028F7C2Ba3eDc16382609E996f3aa9F",
|
|
203
|
+
"0xc4d66de80000000000000000000000005e4e50ab4d8ab472a5047e99e33f778b056d184d"
|
|
204
204
|
],
|
|
205
205
|
"numDeployments": 1,
|
|
206
206
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|