@venusprotocol/venus-protocol 3.0.0-dev.14 → 3.0.0-dev.15
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/.migrations.json +3 -0
- package/deployments/bscmainnet/PegStability_USDT.json +206 -109
- package/deployments/bscmainnet/PegStability_USDT_Implementation.json +389 -149
- package/deployments/bscmainnet/PegStability_USDT_Proxy.json +43 -43
- package/deployments/bscmainnet/solcInputs/ad861ed5d4e7191c78cab74f6cb7beec.json +78 -0
- package/deployments/bsctestnet/.migrations.json +1 -1
- package/deployments/bsctestnet/PegStability_USDT.json +207 -110
- package/deployments/bsctestnet/PegStability_USDT_Implementation.json +389 -149
- package/deployments/bsctestnet/PegStability_USDT_Proxy.json +45 -45
- package/deployments/bsctestnet/solcInputs/ad861ed5d4e7191c78cab74f6cb7beec.json +78 -0
- package/dist/deploy/006-deploy-psm.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xC138aa4E424D1A8539e8F38Af5a754a2B7c3Cc36",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -124,6 +124,41 @@
|
|
|
124
124
|
"stateMutability": "payable",
|
|
125
125
|
"type": "receive"
|
|
126
126
|
},
|
|
127
|
+
{
|
|
128
|
+
"inputs": [],
|
|
129
|
+
"name": "AlreadyPaused",
|
|
130
|
+
"type": "error"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"inputs": [],
|
|
134
|
+
"name": "AmountTooSmall",
|
|
135
|
+
"type": "error"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"inputs": [],
|
|
139
|
+
"name": "InvalidFee",
|
|
140
|
+
"type": "error"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"inputs": [],
|
|
144
|
+
"name": "NotEnoughVAI",
|
|
145
|
+
"type": "error"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"inputs": [],
|
|
149
|
+
"name": "NotPaused",
|
|
150
|
+
"type": "error"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"inputs": [],
|
|
154
|
+
"name": "Paused",
|
|
155
|
+
"type": "error"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"inputs": [],
|
|
159
|
+
"name": "TooManyDecimals",
|
|
160
|
+
"type": "error"
|
|
161
|
+
},
|
|
127
162
|
{
|
|
128
163
|
"inputs": [
|
|
129
164
|
{
|
|
@@ -146,23 +181,29 @@
|
|
|
146
181
|
"type": "error"
|
|
147
182
|
},
|
|
148
183
|
{
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
"
|
|
165
|
-
"
|
|
184
|
+
"inputs": [],
|
|
185
|
+
"name": "VAIMintCapReached",
|
|
186
|
+
"type": "error"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"inputs": [],
|
|
190
|
+
"name": "VAIMintedUnderflow",
|
|
191
|
+
"type": "error"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"inputs": [],
|
|
195
|
+
"name": "VAITransferFail",
|
|
196
|
+
"type": "error"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"inputs": [],
|
|
200
|
+
"name": "ZeroAddress",
|
|
201
|
+
"type": "error"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"inputs": [],
|
|
205
|
+
"name": "ZeroAmount",
|
|
206
|
+
"type": "error"
|
|
166
207
|
},
|
|
167
208
|
{
|
|
168
209
|
"anonymous": false,
|
|
@@ -234,6 +275,25 @@
|
|
|
234
275
|
"name": "NewAccessControlManager",
|
|
235
276
|
"type": "event"
|
|
236
277
|
},
|
|
278
|
+
{
|
|
279
|
+
"anonymous": false,
|
|
280
|
+
"inputs": [
|
|
281
|
+
{
|
|
282
|
+
"indexed": true,
|
|
283
|
+
"internalType": "address",
|
|
284
|
+
"name": "oldOracle",
|
|
285
|
+
"type": "address"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"indexed": true,
|
|
289
|
+
"internalType": "address",
|
|
290
|
+
"name": "newOracle",
|
|
291
|
+
"type": "address"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"name": "OracleChanged",
|
|
295
|
+
"type": "event"
|
|
296
|
+
},
|
|
237
297
|
{
|
|
238
298
|
"anonymous": false,
|
|
239
299
|
"inputs": [
|
|
@@ -335,17 +395,17 @@
|
|
|
335
395
|
{
|
|
336
396
|
"indexed": false,
|
|
337
397
|
"internalType": "uint256",
|
|
338
|
-
"name": "
|
|
398
|
+
"name": "stableOut",
|
|
339
399
|
"type": "uint256"
|
|
340
400
|
},
|
|
341
401
|
{
|
|
342
402
|
"indexed": false,
|
|
343
403
|
"internalType": "uint256",
|
|
344
|
-
"name": "
|
|
404
|
+
"name": "vaiFee",
|
|
345
405
|
"type": "uint256"
|
|
346
406
|
}
|
|
347
407
|
],
|
|
348
|
-
"name": "
|
|
408
|
+
"name": "VAIForStableSwapped",
|
|
349
409
|
"type": "event"
|
|
350
410
|
},
|
|
351
411
|
{
|
|
@@ -364,7 +424,7 @@
|
|
|
364
424
|
"type": "uint256"
|
|
365
425
|
}
|
|
366
426
|
],
|
|
367
|
-
"name": "
|
|
427
|
+
"name": "VAIMintCapChanged",
|
|
368
428
|
"type": "event"
|
|
369
429
|
},
|
|
370
430
|
{
|
|
@@ -440,23 +500,10 @@
|
|
|
440
500
|
},
|
|
441
501
|
{
|
|
442
502
|
"inputs": [],
|
|
443
|
-
"name": "
|
|
503
|
+
"name": "VAI",
|
|
444
504
|
"outputs": [
|
|
445
505
|
{
|
|
446
|
-
"internalType": "
|
|
447
|
-
"name": "",
|
|
448
|
-
"type": "address"
|
|
449
|
-
}
|
|
450
|
-
],
|
|
451
|
-
"stateMutability": "view",
|
|
452
|
-
"type": "function"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"inputs": [],
|
|
456
|
-
"name": "VTOKEN_ADDRESS",
|
|
457
|
-
"outputs": [
|
|
458
|
-
{
|
|
459
|
-
"internalType": "address",
|
|
506
|
+
"internalType": "contract IVAI",
|
|
460
507
|
"name": "",
|
|
461
508
|
"type": "address"
|
|
462
509
|
}
|
|
@@ -484,19 +531,6 @@
|
|
|
484
531
|
"stateMutability": "view",
|
|
485
532
|
"type": "function"
|
|
486
533
|
},
|
|
487
|
-
{
|
|
488
|
-
"inputs": [],
|
|
489
|
-
"name": "comptroller",
|
|
490
|
-
"outputs": [
|
|
491
|
-
{
|
|
492
|
-
"internalType": "address",
|
|
493
|
-
"name": "",
|
|
494
|
-
"type": "address"
|
|
495
|
-
}
|
|
496
|
-
],
|
|
497
|
-
"stateMutability": "view",
|
|
498
|
-
"type": "function"
|
|
499
|
-
},
|
|
500
534
|
{
|
|
501
535
|
"inputs": [],
|
|
502
536
|
"name": "feeIn",
|
|
@@ -537,7 +571,7 @@
|
|
|
537
571
|
},
|
|
538
572
|
{
|
|
539
573
|
"internalType": "address",
|
|
540
|
-
"name": "
|
|
574
|
+
"name": "oracleAddress_",
|
|
541
575
|
"type": "address"
|
|
542
576
|
},
|
|
543
577
|
{
|
|
@@ -574,6 +608,19 @@
|
|
|
574
608
|
"stateMutability": "view",
|
|
575
609
|
"type": "function"
|
|
576
610
|
},
|
|
611
|
+
{
|
|
612
|
+
"inputs": [],
|
|
613
|
+
"name": "oracle",
|
|
614
|
+
"outputs": [
|
|
615
|
+
{
|
|
616
|
+
"internalType": "contract ResilientOracleInterface",
|
|
617
|
+
"name": "",
|
|
618
|
+
"type": "address"
|
|
619
|
+
}
|
|
620
|
+
],
|
|
621
|
+
"stateMutability": "view",
|
|
622
|
+
"type": "function"
|
|
623
|
+
},
|
|
577
624
|
{
|
|
578
625
|
"inputs": [],
|
|
579
626
|
"name": "owner",
|
|
@@ -607,6 +654,44 @@
|
|
|
607
654
|
"stateMutability": "view",
|
|
608
655
|
"type": "function"
|
|
609
656
|
},
|
|
657
|
+
{
|
|
658
|
+
"inputs": [
|
|
659
|
+
{
|
|
660
|
+
"internalType": "uint256",
|
|
661
|
+
"name": "stableTknAmount",
|
|
662
|
+
"type": "uint256"
|
|
663
|
+
}
|
|
664
|
+
],
|
|
665
|
+
"name": "previewSwapStableForVAI",
|
|
666
|
+
"outputs": [
|
|
667
|
+
{
|
|
668
|
+
"internalType": "uint256",
|
|
669
|
+
"name": "",
|
|
670
|
+
"type": "uint256"
|
|
671
|
+
}
|
|
672
|
+
],
|
|
673
|
+
"stateMutability": "view",
|
|
674
|
+
"type": "function"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"inputs": [
|
|
678
|
+
{
|
|
679
|
+
"internalType": "uint256",
|
|
680
|
+
"name": "stableTknAmount",
|
|
681
|
+
"type": "uint256"
|
|
682
|
+
}
|
|
683
|
+
],
|
|
684
|
+
"name": "previewSwapVAIForStable",
|
|
685
|
+
"outputs": [
|
|
686
|
+
{
|
|
687
|
+
"internalType": "uint256",
|
|
688
|
+
"name": "",
|
|
689
|
+
"type": "uint256"
|
|
690
|
+
}
|
|
691
|
+
],
|
|
692
|
+
"stateMutability": "view",
|
|
693
|
+
"type": "function"
|
|
694
|
+
},
|
|
610
695
|
{
|
|
611
696
|
"inputs": [],
|
|
612
697
|
"name": "renounceOwnership",
|
|
@@ -637,12 +722,12 @@
|
|
|
637
722
|
{
|
|
638
723
|
"inputs": [
|
|
639
724
|
{
|
|
640
|
-
"internalType": "
|
|
641
|
-
"name": "
|
|
642
|
-
"type": "
|
|
725
|
+
"internalType": "uint256",
|
|
726
|
+
"name": "feeIn_",
|
|
727
|
+
"type": "uint256"
|
|
643
728
|
}
|
|
644
729
|
],
|
|
645
|
-
"name": "
|
|
730
|
+
"name": "setFeeIn",
|
|
646
731
|
"outputs": [],
|
|
647
732
|
"stateMutability": "nonpayable",
|
|
648
733
|
"type": "function"
|
|
@@ -651,11 +736,11 @@
|
|
|
651
736
|
"inputs": [
|
|
652
737
|
{
|
|
653
738
|
"internalType": "uint256",
|
|
654
|
-
"name": "
|
|
739
|
+
"name": "feeOut_",
|
|
655
740
|
"type": "uint256"
|
|
656
741
|
}
|
|
657
742
|
],
|
|
658
|
-
"name": "
|
|
743
|
+
"name": "setFeeOut",
|
|
659
744
|
"outputs": [],
|
|
660
745
|
"stateMutability": "nonpayable",
|
|
661
746
|
"type": "function"
|
|
@@ -663,12 +748,12 @@
|
|
|
663
748
|
{
|
|
664
749
|
"inputs": [
|
|
665
750
|
{
|
|
666
|
-
"internalType": "
|
|
667
|
-
"name": "
|
|
668
|
-
"type": "
|
|
751
|
+
"internalType": "address",
|
|
752
|
+
"name": "oracleAddress_",
|
|
753
|
+
"type": "address"
|
|
669
754
|
}
|
|
670
755
|
],
|
|
671
|
-
"name": "
|
|
756
|
+
"name": "setOracle",
|
|
672
757
|
"outputs": [],
|
|
673
758
|
"stateMutability": "nonpayable",
|
|
674
759
|
"type": "function"
|
|
@@ -681,7 +766,7 @@
|
|
|
681
766
|
"type": "uint256"
|
|
682
767
|
}
|
|
683
768
|
],
|
|
684
|
-
"name": "
|
|
769
|
+
"name": "setVAIMintCap",
|
|
685
770
|
"outputs": [],
|
|
686
771
|
"stateMutability": "nonpayable",
|
|
687
772
|
"type": "function"
|
|
@@ -713,7 +798,13 @@
|
|
|
713
798
|
}
|
|
714
799
|
],
|
|
715
800
|
"name": "swapStableForVAI",
|
|
716
|
-
"outputs": [
|
|
801
|
+
"outputs": [
|
|
802
|
+
{
|
|
803
|
+
"internalType": "uint256",
|
|
804
|
+
"name": "",
|
|
805
|
+
"type": "uint256"
|
|
806
|
+
}
|
|
807
|
+
],
|
|
717
808
|
"stateMutability": "nonpayable",
|
|
718
809
|
"type": "function"
|
|
719
810
|
},
|
|
@@ -731,7 +822,13 @@
|
|
|
731
822
|
}
|
|
732
823
|
],
|
|
733
824
|
"name": "swapVAIForStable",
|
|
734
|
-
"outputs": [
|
|
825
|
+
"outputs": [
|
|
826
|
+
{
|
|
827
|
+
"internalType": "uint256",
|
|
828
|
+
"name": "",
|
|
829
|
+
"type": "uint256"
|
|
830
|
+
}
|
|
831
|
+
],
|
|
735
832
|
"stateMutability": "nonpayable",
|
|
736
833
|
"type": "function"
|
|
737
834
|
},
|
|
@@ -809,84 +906,84 @@
|
|
|
809
906
|
"type": "constructor"
|
|
810
907
|
}
|
|
811
908
|
],
|
|
812
|
-
"transactionHash": "
|
|
909
|
+
"transactionHash": "0x798192121fb1e21f849ce9069d31b44280cdc422c52aaec92c0c5d7c17e28416",
|
|
813
910
|
"receipt": {
|
|
814
911
|
"to": null,
|
|
815
912
|
"from": "0xa05f990d647287e4E84715b813BC000aEA970467",
|
|
816
|
-
"contractAddress": "
|
|
817
|
-
"transactionIndex":
|
|
818
|
-
"gasUsed": "
|
|
819
|
-
"logsBloom": "
|
|
820
|
-
"blockHash": "
|
|
821
|
-
"transactionHash": "
|
|
913
|
+
"contractAddress": "0xC138aa4E424D1A8539e8F38Af5a754a2B7c3Cc36",
|
|
914
|
+
"transactionIndex": 123,
|
|
915
|
+
"gasUsed": "883976",
|
|
916
|
+
"logsBloom": "0x00000000000000000000004000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000008000000002000001000000000100000000000000000000000000020000000000000000000800000000800000000010000000000000400000000000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000808000000000000000000008000020000000000000000000040004000000000400000000000000000020000008000000000000000000000000000000000808000000000000000000000000",
|
|
917
|
+
"blockHash": "0x1de8d3a609d4d95b8d9d8b69c5e20ac35068599ad34b989266d6e9e0d1a50174",
|
|
918
|
+
"transactionHash": "0x798192121fb1e21f849ce9069d31b44280cdc422c52aaec92c0c5d7c17e28416",
|
|
822
919
|
"logs": [
|
|
823
920
|
{
|
|
824
|
-
"transactionIndex":
|
|
825
|
-
"blockNumber":
|
|
826
|
-
"transactionHash": "
|
|
827
|
-
"address": "
|
|
921
|
+
"transactionIndex": 123,
|
|
922
|
+
"blockNumber": 30501830,
|
|
923
|
+
"transactionHash": "0x798192121fb1e21f849ce9069d31b44280cdc422c52aaec92c0c5d7c17e28416",
|
|
924
|
+
"address": "0xC138aa4E424D1A8539e8F38Af5a754a2B7c3Cc36",
|
|
828
925
|
"topics": [
|
|
829
926
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
830
|
-
"
|
|
927
|
+
"0x0000000000000000000000009664568e5131e85f67d87fcd55b249f5d25fa43e"
|
|
831
928
|
],
|
|
832
929
|
"data": "0x",
|
|
833
|
-
"logIndex":
|
|
834
|
-
"blockHash": "
|
|
930
|
+
"logIndex": 191,
|
|
931
|
+
"blockHash": "0x1de8d3a609d4d95b8d9d8b69c5e20ac35068599ad34b989266d6e9e0d1a50174"
|
|
835
932
|
},
|
|
836
933
|
{
|
|
837
|
-
"transactionIndex":
|
|
838
|
-
"blockNumber":
|
|
839
|
-
"transactionHash": "
|
|
840
|
-
"address": "
|
|
934
|
+
"transactionIndex": 123,
|
|
935
|
+
"blockNumber": 30501830,
|
|
936
|
+
"transactionHash": "0x798192121fb1e21f849ce9069d31b44280cdc422c52aaec92c0c5d7c17e28416",
|
|
937
|
+
"address": "0xC138aa4E424D1A8539e8F38Af5a754a2B7c3Cc36",
|
|
841
938
|
"topics": [
|
|
842
939
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
843
940
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
844
941
|
"0x000000000000000000000000a05f990d647287e4e84715b813bc000aea970467"
|
|
845
942
|
],
|
|
846
943
|
"data": "0x",
|
|
847
|
-
"logIndex":
|
|
848
|
-
"blockHash": "
|
|
944
|
+
"logIndex": 192,
|
|
945
|
+
"blockHash": "0x1de8d3a609d4d95b8d9d8b69c5e20ac35068599ad34b989266d6e9e0d1a50174"
|
|
849
946
|
},
|
|
850
947
|
{
|
|
851
|
-
"transactionIndex":
|
|
852
|
-
"blockNumber":
|
|
853
|
-
"transactionHash": "
|
|
854
|
-
"address": "
|
|
948
|
+
"transactionIndex": 123,
|
|
949
|
+
"blockNumber": 30501830,
|
|
950
|
+
"transactionHash": "0x798192121fb1e21f849ce9069d31b44280cdc422c52aaec92c0c5d7c17e28416",
|
|
951
|
+
"address": "0xC138aa4E424D1A8539e8F38Af5a754a2B7c3Cc36",
|
|
855
952
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
856
953
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555",
|
|
857
|
-
"logIndex":
|
|
858
|
-
"blockHash": "
|
|
954
|
+
"logIndex": 193,
|
|
955
|
+
"blockHash": "0x1de8d3a609d4d95b8d9d8b69c5e20ac35068599ad34b989266d6e9e0d1a50174"
|
|
859
956
|
},
|
|
860
957
|
{
|
|
861
|
-
"transactionIndex":
|
|
862
|
-
"blockNumber":
|
|
863
|
-
"transactionHash": "
|
|
864
|
-
"address": "
|
|
958
|
+
"transactionIndex": 123,
|
|
959
|
+
"blockNumber": 30501830,
|
|
960
|
+
"transactionHash": "0x798192121fb1e21f849ce9069d31b44280cdc422c52aaec92c0c5d7c17e28416",
|
|
961
|
+
"address": "0xC138aa4E424D1A8539e8F38Af5a754a2B7c3Cc36",
|
|
865
962
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
866
963
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
867
|
-
"logIndex":
|
|
868
|
-
"blockHash": "
|
|
964
|
+
"logIndex": 194,
|
|
965
|
+
"blockHash": "0x1de8d3a609d4d95b8d9d8b69c5e20ac35068599ad34b989266d6e9e0d1a50174"
|
|
869
966
|
},
|
|
870
967
|
{
|
|
871
|
-
"transactionIndex":
|
|
872
|
-
"blockNumber":
|
|
873
|
-
"transactionHash": "
|
|
874
|
-
"address": "
|
|
968
|
+
"transactionIndex": 123,
|
|
969
|
+
"blockNumber": 30501830,
|
|
970
|
+
"transactionHash": "0x798192121fb1e21f849ce9069d31b44280cdc422c52aaec92c0c5d7c17e28416",
|
|
971
|
+
"address": "0xC138aa4E424D1A8539e8F38Af5a754a2B7c3Cc36",
|
|
875
972
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
876
973
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f918ba9446552ab184c6ffd2e2fcb1fa5ee1e59",
|
|
877
|
-
"logIndex":
|
|
878
|
-
"blockHash": "
|
|
974
|
+
"logIndex": 195,
|
|
975
|
+
"blockHash": "0x1de8d3a609d4d95b8d9d8b69c5e20ac35068599ad34b989266d6e9e0d1a50174"
|
|
879
976
|
}
|
|
880
977
|
],
|
|
881
|
-
"blockNumber":
|
|
882
|
-
"cumulativeGasUsed": "
|
|
978
|
+
"blockNumber": 30501830,
|
|
979
|
+
"cumulativeGasUsed": "11339018",
|
|
883
980
|
"status": 1,
|
|
884
981
|
"byzantium": true
|
|
885
982
|
},
|
|
886
983
|
"args": [
|
|
887
|
-
"
|
|
984
|
+
"0x9664568e5131e85f67d87fCD55B249F5D25fa43e",
|
|
888
985
|
"0x3f918bA9446552AB184C6Ffd2e2fcB1FA5ee1e59",
|
|
889
|
-
"
|
|
986
|
+
"0x728cdbca0000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555000000000000000000000000f322942f644a996a617bd29c16bd7d231d9f35e90000000000000000000000006592b5de802159f3e74b2486b091d11a8256ab8a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000422ca8b0a00a425000000"
|
|
890
987
|
],
|
|
891
988
|
"numDeployments": 1,
|
|
892
989
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -898,16 +995,16 @@
|
|
|
898
995
|
"args": [
|
|
899
996
|
"0x4788629ABc6cFCA10F9f969efdEAa1cF70c23555",
|
|
900
997
|
"0xF322942f644A996A617BD29c16bd7d231d9F35E9",
|
|
901
|
-
"
|
|
998
|
+
"0x6592b5DE802159F3E74B2486b091D11a8256ab8A",
|
|
999
|
+
0,
|
|
902
1000
|
0,
|
|
903
|
-
10,
|
|
904
1001
|
{
|
|
905
1002
|
"type": "BigNumber",
|
|
906
1003
|
"hex": "0x0422ca8b0a00a425000000"
|
|
907
1004
|
}
|
|
908
1005
|
]
|
|
909
1006
|
},
|
|
910
|
-
"implementation": "
|
|
1007
|
+
"implementation": "0x9664568e5131e85f67d87fCD55B249F5D25fa43e",
|
|
911
1008
|
"devdoc": {
|
|
912
1009
|
"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.",
|
|
913
1010
|
"kind": "dev",
|