@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": "0x6e45ECf4ecCc49B36F4aF586fefD03a7a226cAA1",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -133,73 +133,86 @@
|
|
|
133
133
|
"type": "receive"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
"transactionHash": "
|
|
136
|
+
"transactionHash": "0xbb31804303a53d25dfac86e5fc26fb05f215b248a1d3ff0644c38fdefe69f6dd",
|
|
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": "0x6e45ECf4ecCc49B36F4aF586fefD03a7a226cAA1",
|
|
141
|
+
"transactionIndex": 2,
|
|
142
|
+
"gasUsed": "692901",
|
|
143
|
+
"logsBloom": "0x10000000000000000000000000000000400000000000000000800008000000000000000000000000000000000000000000000000000000000000000000004000004000000000000000000000002002000001000000000000000000000100000000000000020000000010000000000800002000800000000000000000000000400000000100000000000000000008000000000000000080000000000000800000000000000000000000000000000404000000000000000000000000000000000000000020000000000000000000040000000000000400000000000000000820000001000000000000000000000000000000000000000000000000000001000000",
|
|
144
|
+
"blockHash": "0x8e4f330c26559c318119c88787e12460219b8cc1a74ec3ffa42db0b5fd43150e",
|
|
145
|
+
"transactionHash": "0xbb31804303a53d25dfac86e5fc26fb05f215b248a1d3ff0644c38fdefe69f6dd",
|
|
146
146
|
"logs": [
|
|
147
147
|
{
|
|
148
|
-
"transactionIndex":
|
|
149
|
-
"blockNumber":
|
|
150
|
-
"transactionHash": "
|
|
151
|
-
"address": "
|
|
148
|
+
"transactionIndex": 2,
|
|
149
|
+
"blockNumber": 24708554,
|
|
150
|
+
"transactionHash": "0xbb31804303a53d25dfac86e5fc26fb05f215b248a1d3ff0644c38fdefe69f6dd",
|
|
151
|
+
"address": "0x6e45ECf4ecCc49B36F4aF586fefD03a7a226cAA1",
|
|
152
152
|
"topics": [
|
|
153
153
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
154
|
-
"
|
|
154
|
+
"0x0000000000000000000000009f6263a70cab4cadaae34ae0c6969eb135d0e7fd"
|
|
155
155
|
],
|
|
156
156
|
"data": "0x",
|
|
157
|
-
"logIndex":
|
|
158
|
-
"blockHash": "
|
|
157
|
+
"logIndex": 2,
|
|
158
|
+
"blockHash": "0x8e4f330c26559c318119c88787e12460219b8cc1a74ec3ffa42db0b5fd43150e"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
"transactionIndex":
|
|
162
|
-
"blockNumber":
|
|
163
|
-
"transactionHash": "
|
|
164
|
-
"address": "
|
|
161
|
+
"transactionIndex": 2,
|
|
162
|
+
"blockNumber": 24708554,
|
|
163
|
+
"transactionHash": "0xbb31804303a53d25dfac86e5fc26fb05f215b248a1d3ff0644c38fdefe69f6dd",
|
|
164
|
+
"address": "0x6e45ECf4ecCc49B36F4aF586fefD03a7a226cAA1",
|
|
165
165
|
"topics": [
|
|
166
166
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
167
167
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
168
|
-
"
|
|
168
|
+
"0x0000000000000000000000002ce1d0ffd7e869d9df33e28552b12ddded326706"
|
|
169
169
|
],
|
|
170
170
|
"data": "0x",
|
|
171
|
-
"logIndex":
|
|
172
|
-
"blockHash": "
|
|
171
|
+
"logIndex": 3,
|
|
172
|
+
"blockHash": "0x8e4f330c26559c318119c88787e12460219b8cc1a74ec3ffa42db0b5fd43150e"
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
|
-
"transactionIndex":
|
|
176
|
-
"blockNumber":
|
|
177
|
-
"transactionHash": "
|
|
178
|
-
"address": "
|
|
175
|
+
"transactionIndex": 2,
|
|
176
|
+
"blockNumber": 24708554,
|
|
177
|
+
"transactionHash": "0xbb31804303a53d25dfac86e5fc26fb05f215b248a1d3ff0644c38fdefe69f6dd",
|
|
178
|
+
"address": "0x6e45ECf4ecCc49B36F4aF586fefD03a7a226cAA1",
|
|
179
|
+
"topics": [
|
|
180
|
+
"0xad50c6353c28bb4c67268a71d1f313fc9630fd4a91a6f3185270ba60a28710c1",
|
|
181
|
+
"0x000000000000000000000000d7308b14bf4008e7c7196ec35610b1427c5702ea"
|
|
182
|
+
],
|
|
183
|
+
"data": "0x",
|
|
184
|
+
"logIndex": 4,
|
|
185
|
+
"blockHash": "0x8e4f330c26559c318119c88787e12460219b8cc1a74ec3ffa42db0b5fd43150e"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"transactionIndex": 2,
|
|
189
|
+
"blockNumber": 24708554,
|
|
190
|
+
"transactionHash": "0xbb31804303a53d25dfac86e5fc26fb05f215b248a1d3ff0644c38fdefe69f6dd",
|
|
191
|
+
"address": "0x6e45ECf4ecCc49B36F4aF586fefD03a7a226cAA1",
|
|
179
192
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
180
193
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
181
|
-
"logIndex":
|
|
182
|
-
"blockHash": "
|
|
194
|
+
"logIndex": 5,
|
|
195
|
+
"blockHash": "0x8e4f330c26559c318119c88787e12460219b8cc1a74ec3ffa42db0b5fd43150e"
|
|
183
196
|
},
|
|
184
197
|
{
|
|
185
|
-
"transactionIndex":
|
|
186
|
-
"blockNumber":
|
|
187
|
-
"transactionHash": "
|
|
188
|
-
"address": "
|
|
198
|
+
"transactionIndex": 2,
|
|
199
|
+
"blockNumber": 24708554,
|
|
200
|
+
"transactionHash": "0xbb31804303a53d25dfac86e5fc26fb05f215b248a1d3ff0644c38fdefe69f6dd",
|
|
201
|
+
"address": "0x6e45ECf4ecCc49B36F4aF586fefD03a7a226cAA1",
|
|
189
202
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
190
|
-
"data": "
|
|
191
|
-
"logIndex":
|
|
192
|
-
"blockHash": "
|
|
203
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088c90a298028f7c2ba3edc16382609e996f3aa9f",
|
|
204
|
+
"logIndex": 6,
|
|
205
|
+
"blockHash": "0x8e4f330c26559c318119c88787e12460219b8cc1a74ec3ffa42db0b5fd43150e"
|
|
193
206
|
}
|
|
194
207
|
],
|
|
195
|
-
"blockNumber":
|
|
196
|
-
"cumulativeGasUsed": "
|
|
208
|
+
"blockNumber": 24708554,
|
|
209
|
+
"cumulativeGasUsed": "748321",
|
|
197
210
|
"status": 1,
|
|
198
211
|
"byzantium": true
|
|
199
212
|
},
|
|
200
213
|
"args": [
|
|
201
|
-
"
|
|
202
|
-
"
|
|
214
|
+
"0x9F6263A70cAB4CAdaaE34Ae0C6969eB135D0E7FD",
|
|
215
|
+
"0x88c90A298028F7C2Ba3eDc16382609E996f3aa9F",
|
|
203
216
|
"0xc4d66de8000000000000000000000000d7308b14bf4008e7c7196ec35610b1427c5702ea"
|
|
204
217
|
],
|
|
205
218
|
"numDeployments": 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
{
|
|
144
144
|
"indexed": true,
|
|
145
145
|
"internalType": "address",
|
|
146
|
-
"name": "
|
|
146
|
+
"name": "asset",
|
|
147
147
|
"type": "address"
|
|
148
148
|
},
|
|
149
149
|
{
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
{
|
|
169
169
|
"indexed": true,
|
|
170
170
|
"internalType": "address",
|
|
171
|
-
"name": "
|
|
171
|
+
"name": "asset",
|
|
172
172
|
"type": "address"
|
|
173
173
|
},
|
|
174
174
|
{
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
{
|
|
226
226
|
"indexed": true,
|
|
227
227
|
"internalType": "address",
|
|
228
|
-
"name": "
|
|
228
|
+
"name": "asset",
|
|
229
229
|
"type": "address"
|
|
230
230
|
},
|
|
231
231
|
{
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
"inputs": [
|
|
294
294
|
{
|
|
295
295
|
"internalType": "address",
|
|
296
|
-
"name": "
|
|
296
|
+
"name": "asset",
|
|
297
297
|
"type": "address"
|
|
298
298
|
},
|
|
299
299
|
{
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
"components": [
|
|
356
356
|
{
|
|
357
357
|
"internalType": "address",
|
|
358
|
-
"name": "
|
|
358
|
+
"name": "asset",
|
|
359
359
|
"type": "address"
|
|
360
360
|
},
|
|
361
361
|
{
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
"inputs": [
|
|
454
454
|
{
|
|
455
455
|
"internalType": "address",
|
|
456
|
-
"name": "
|
|
456
|
+
"name": "asset",
|
|
457
457
|
"type": "address"
|
|
458
458
|
},
|
|
459
459
|
{
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
"components": [
|
|
479
479
|
{
|
|
480
480
|
"internalType": "address",
|
|
481
|
-
"name": "
|
|
481
|
+
"name": "asset",
|
|
482
482
|
"type": "address"
|
|
483
483
|
},
|
|
484
484
|
{
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
"components": [
|
|
509
509
|
{
|
|
510
510
|
"internalType": "address",
|
|
511
|
-
"name": "
|
|
511
|
+
"name": "asset",
|
|
512
512
|
"type": "address"
|
|
513
513
|
},
|
|
514
514
|
{
|
|
@@ -587,74 +587,74 @@
|
|
|
587
587
|
"type": "constructor"
|
|
588
588
|
}
|
|
589
589
|
],
|
|
590
|
-
"transactionHash": "
|
|
590
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
591
591
|
"receipt": {
|
|
592
592
|
"to": null,
|
|
593
|
-
"from": "
|
|
594
|
-
"contractAddress": "
|
|
595
|
-
"transactionIndex":
|
|
596
|
-
"gasUsed": "
|
|
597
|
-
"logsBloom": "
|
|
598
|
-
"blockHash": "
|
|
599
|
-
"transactionHash": "
|
|
593
|
+
"from": "0x2Ce1d0ffD7E869D9DF33e28552b12DdDed326706",
|
|
594
|
+
"contractAddress": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
595
|
+
"transactionIndex": 6,
|
|
596
|
+
"gasUsed": "695083",
|
|
597
|
+
"logsBloom": "0x10000000000000000000000000000000400000000000008000800008000000000800000000000000000000000000000000000000000000000000000000004000000000000000000000000000000002000001000000000000000000000002000000000000020000000000000000000800000000800000000000000000000000400000000000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000040000002000000400000000000000000020000000000000000000000020000000000000000000000002000000000000000000",
|
|
598
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7",
|
|
599
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
600
600
|
"logs": [
|
|
601
601
|
{
|
|
602
|
-
"transactionIndex":
|
|
603
|
-
"blockNumber":
|
|
604
|
-
"transactionHash": "
|
|
605
|
-
"address": "
|
|
602
|
+
"transactionIndex": 6,
|
|
603
|
+
"blockNumber": 24708538,
|
|
604
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
605
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
606
606
|
"topics": [
|
|
607
607
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
608
|
-
"
|
|
608
|
+
"0x000000000000000000000000cead355a5c0708f9eba048616e6c5b61c1d412a5"
|
|
609
609
|
],
|
|
610
610
|
"data": "0x",
|
|
611
|
-
"logIndex":
|
|
612
|
-
"blockHash": "
|
|
611
|
+
"logIndex": 13,
|
|
612
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7"
|
|
613
613
|
},
|
|
614
614
|
{
|
|
615
|
-
"transactionIndex":
|
|
616
|
-
"blockNumber":
|
|
617
|
-
"transactionHash": "
|
|
618
|
-
"address": "
|
|
615
|
+
"transactionIndex": 6,
|
|
616
|
+
"blockNumber": 24708538,
|
|
617
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
618
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
619
619
|
"topics": [
|
|
620
620
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
621
621
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
622
|
-
"
|
|
622
|
+
"0x0000000000000000000000002ce1d0ffd7e869d9df33e28552b12ddded326706"
|
|
623
623
|
],
|
|
624
624
|
"data": "0x",
|
|
625
|
-
"logIndex":
|
|
626
|
-
"blockHash": "
|
|
625
|
+
"logIndex": 14,
|
|
626
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7"
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
|
-
"transactionIndex":
|
|
630
|
-
"blockNumber":
|
|
631
|
-
"transactionHash": "
|
|
632
|
-
"address": "
|
|
629
|
+
"transactionIndex": 6,
|
|
630
|
+
"blockNumber": 24708538,
|
|
631
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
632
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
633
633
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
634
634
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
635
|
-
"logIndex":
|
|
636
|
-
"blockHash": "
|
|
635
|
+
"logIndex": 15,
|
|
636
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7"
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
|
-
"transactionIndex":
|
|
640
|
-
"blockNumber":
|
|
641
|
-
"transactionHash": "
|
|
642
|
-
"address": "
|
|
639
|
+
"transactionIndex": 6,
|
|
640
|
+
"blockNumber": 24708538,
|
|
641
|
+
"transactionHash": "0x1da0d28741749c97f92b6297339c5fd2470fdeafe7420e333bfee004fe2de600",
|
|
642
|
+
"address": "0x2CF834C9f0e5A39EFAC32b80Bef385e2D4385047",
|
|
643
643
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
644
|
-
"data": "
|
|
645
|
-
"logIndex":
|
|
646
|
-
"blockHash": "
|
|
644
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000088c90a298028f7c2ba3edc16382609e996f3aa9f",
|
|
645
|
+
"logIndex": 16,
|
|
646
|
+
"blockHash": "0x3bee30d81ae2d4985b11d2e7089d02eb29168acf9fc70f2724bb362ebeb7b0e7"
|
|
647
647
|
}
|
|
648
648
|
],
|
|
649
|
-
"blockNumber":
|
|
650
|
-
"cumulativeGasUsed": "
|
|
649
|
+
"blockNumber": 24708538,
|
|
650
|
+
"cumulativeGasUsed": "1144137",
|
|
651
651
|
"status": 1,
|
|
652
652
|
"byzantium": true
|
|
653
653
|
},
|
|
654
654
|
"args": [
|
|
655
|
-
"
|
|
656
|
-
"
|
|
657
|
-
"
|
|
655
|
+
"0xceAd355a5c0708f9Eba048616E6c5B61C1D412a5",
|
|
656
|
+
"0x88c90A298028F7C2Ba3eDc16382609E996f3aa9F",
|
|
657
|
+
"0xc4d66de80000000000000000000000005e4e50ab4d8ab472a5047e99e33f778b056d184d"
|
|
658
658
|
],
|
|
659
659
|
"numDeployments": 1,
|
|
660
660
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -663,9 +663,9 @@
|
|
|
663
663
|
"deployedBytecode": "0x6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033",
|
|
664
664
|
"execute": {
|
|
665
665
|
"methodName": "initialize",
|
|
666
|
-
"args": ["
|
|
666
|
+
"args": ["0x5e4E50ab4d8aB472a5047E99E33f778b056D184d"]
|
|
667
667
|
},
|
|
668
|
-
"implementation": "
|
|
668
|
+
"implementation": "0xceAd355a5c0708f9Eba048616E6c5B61C1D412a5",
|
|
669
669
|
"devdoc": {
|
|
670
670
|
"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.",
|
|
671
671
|
"kind": "dev",
|