@venusprotocol/oracle 1.9.0 → 1.10.0-dev.2

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.
Files changed (27) hide show
  1. package/deployments/ethereum/WstETHOracle.json +290 -0
  2. package/deployments/ethereum/WstETHOracle_Implementation.json +203 -0
  3. package/deployments/ethereum/WstETHOracle_Proxy.json +213 -0
  4. package/deployments/ethereum/solcInputs/2675f6933965af498101c80cb5610aca.json +192 -0
  5. package/deployments/ethereum.json +455 -0
  6. package/deployments/ethereum_addresses.json +4 -1
  7. package/deployments/opbnbmainnet/.chainId +1 -0
  8. package/deployments/opbnbmainnet/BinanceOracle.json +659 -0
  9. package/deployments/opbnbmainnet/BinanceOracle_Implementation.json +757 -0
  10. package/deployments/opbnbmainnet/BinanceOracle_Proxy.json +251 -0
  11. package/deployments/opbnbmainnet/BoundValidator.json +582 -0
  12. package/deployments/opbnbmainnet/BoundValidator_Implementation.json +646 -0
  13. package/deployments/opbnbmainnet/BoundValidator_Proxy.json +251 -0
  14. package/deployments/opbnbmainnet/DefaultProxyAdmin.json +257 -0
  15. package/deployments/opbnbmainnet/ResilientOracle.json +873 -0
  16. package/deployments/opbnbmainnet/ResilientOracle_Implementation.json +1102 -0
  17. package/deployments/opbnbmainnet/ResilientOracle_Proxy.json +251 -0
  18. package/deployments/opbnbmainnet/solcInputs/0e89febeebc7444140de8e67c9067d2c.json +78 -0
  19. package/deployments/opbnbmainnet/solcInputs/1e37f6e5d619feb70cefe47611ec524e.json +180 -0
  20. package/deployments/opbnbmainnet.json +3721 -1
  21. package/deployments/opbnbmainnet_addresses.json +12 -1
  22. package/dist/deploy/1-deploy-oracles.js +1 -1
  23. package/dist/deploy/1-deploy-oracles.js.map +1 -1
  24. package/dist/helpers/deploymentConfig.d.ts.map +1 -1
  25. package/dist/helpers/deploymentConfig.js +10 -0
  26. package/dist/helpers/deploymentConfig.js.map +1 -1
  27. package/package.json +1 -1
@@ -4760,6 +4760,461 @@
4760
4760
  "type": "receive"
4761
4761
  }
4762
4762
  ]
4763
+ },
4764
+ "WstETHOracle": {
4765
+ "address": "0x987F64F99cA9441D9BD141a34E195818961cCBa6",
4766
+ "abi": [
4767
+ {
4768
+ "anonymous": false,
4769
+ "inputs": [
4770
+ {
4771
+ "indexed": false,
4772
+ "internalType": "address",
4773
+ "name": "previousAdmin",
4774
+ "type": "address"
4775
+ },
4776
+ {
4777
+ "indexed": false,
4778
+ "internalType": "address",
4779
+ "name": "newAdmin",
4780
+ "type": "address"
4781
+ }
4782
+ ],
4783
+ "name": "AdminChanged",
4784
+ "type": "event"
4785
+ },
4786
+ {
4787
+ "anonymous": false,
4788
+ "inputs": [
4789
+ {
4790
+ "indexed": true,
4791
+ "internalType": "address",
4792
+ "name": "beacon",
4793
+ "type": "address"
4794
+ }
4795
+ ],
4796
+ "name": "BeaconUpgraded",
4797
+ "type": "event"
4798
+ },
4799
+ {
4800
+ "anonymous": false,
4801
+ "inputs": [
4802
+ {
4803
+ "indexed": true,
4804
+ "internalType": "address",
4805
+ "name": "implementation",
4806
+ "type": "address"
4807
+ }
4808
+ ],
4809
+ "name": "Upgraded",
4810
+ "type": "event"
4811
+ },
4812
+ {
4813
+ "stateMutability": "payable",
4814
+ "type": "fallback"
4815
+ },
4816
+ {
4817
+ "inputs": [],
4818
+ "name": "admin",
4819
+ "outputs": [
4820
+ {
4821
+ "internalType": "address",
4822
+ "name": "admin_",
4823
+ "type": "address"
4824
+ }
4825
+ ],
4826
+ "stateMutability": "nonpayable",
4827
+ "type": "function"
4828
+ },
4829
+ {
4830
+ "inputs": [],
4831
+ "name": "implementation",
4832
+ "outputs": [
4833
+ {
4834
+ "internalType": "address",
4835
+ "name": "implementation_",
4836
+ "type": "address"
4837
+ }
4838
+ ],
4839
+ "stateMutability": "nonpayable",
4840
+ "type": "function"
4841
+ },
4842
+ {
4843
+ "inputs": [
4844
+ {
4845
+ "internalType": "address",
4846
+ "name": "newImplementation",
4847
+ "type": "address"
4848
+ }
4849
+ ],
4850
+ "name": "upgradeTo",
4851
+ "outputs": [],
4852
+ "stateMutability": "nonpayable",
4853
+ "type": "function"
4854
+ },
4855
+ {
4856
+ "inputs": [
4857
+ {
4858
+ "internalType": "address",
4859
+ "name": "newImplementation",
4860
+ "type": "address"
4861
+ },
4862
+ {
4863
+ "internalType": "bytes",
4864
+ "name": "data",
4865
+ "type": "bytes"
4866
+ }
4867
+ ],
4868
+ "name": "upgradeToAndCall",
4869
+ "outputs": [],
4870
+ "stateMutability": "payable",
4871
+ "type": "function"
4872
+ },
4873
+ {
4874
+ "stateMutability": "payable",
4875
+ "type": "receive"
4876
+ },
4877
+ {
4878
+ "inputs": [],
4879
+ "name": "ZeroAddressNotAllowed",
4880
+ "type": "error"
4881
+ },
4882
+ {
4883
+ "inputs": [],
4884
+ "name": "RESILIENT_ORACLE",
4885
+ "outputs": [
4886
+ {
4887
+ "internalType": "contract OracleInterface",
4888
+ "name": "",
4889
+ "type": "address"
4890
+ }
4891
+ ],
4892
+ "stateMutability": "view",
4893
+ "type": "function"
4894
+ },
4895
+ {
4896
+ "inputs": [],
4897
+ "name": "STETH",
4898
+ "outputs": [
4899
+ {
4900
+ "internalType": "contract IStETH",
4901
+ "name": "",
4902
+ "type": "address"
4903
+ }
4904
+ ],
4905
+ "stateMutability": "view",
4906
+ "type": "function"
4907
+ },
4908
+ {
4909
+ "inputs": [],
4910
+ "name": "WETH_ADDRESS",
4911
+ "outputs": [
4912
+ {
4913
+ "internalType": "address",
4914
+ "name": "",
4915
+ "type": "address"
4916
+ }
4917
+ ],
4918
+ "stateMutability": "view",
4919
+ "type": "function"
4920
+ },
4921
+ {
4922
+ "inputs": [],
4923
+ "name": "WSTETH_ADDRESS",
4924
+ "outputs": [
4925
+ {
4926
+ "internalType": "address",
4927
+ "name": "",
4928
+ "type": "address"
4929
+ }
4930
+ ],
4931
+ "stateMutability": "view",
4932
+ "type": "function"
4933
+ },
4934
+ {
4935
+ "inputs": [
4936
+ {
4937
+ "internalType": "address",
4938
+ "name": "asset",
4939
+ "type": "address"
4940
+ }
4941
+ ],
4942
+ "name": "getPrice",
4943
+ "outputs": [
4944
+ {
4945
+ "internalType": "uint256",
4946
+ "name": "",
4947
+ "type": "uint256"
4948
+ }
4949
+ ],
4950
+ "stateMutability": "view",
4951
+ "type": "function"
4952
+ },
4953
+ {
4954
+ "inputs": [
4955
+ {
4956
+ "internalType": "address",
4957
+ "name": "_logic",
4958
+ "type": "address"
4959
+ },
4960
+ {
4961
+ "internalType": "address",
4962
+ "name": "admin_",
4963
+ "type": "address"
4964
+ },
4965
+ {
4966
+ "internalType": "bytes",
4967
+ "name": "_data",
4968
+ "type": "bytes"
4969
+ }
4970
+ ],
4971
+ "stateMutability": "payable",
4972
+ "type": "constructor"
4973
+ }
4974
+ ]
4975
+ },
4976
+ "WstETHOracle_Implementation": {
4977
+ "address": "0xC473E5c2bcB6A354389BB7cbC3912A71eF590c6f",
4978
+ "abi": [
4979
+ {
4980
+ "inputs": [
4981
+ {
4982
+ "internalType": "address",
4983
+ "name": "wstETHAddress",
4984
+ "type": "address"
4985
+ },
4986
+ {
4987
+ "internalType": "address",
4988
+ "name": "wETHAddress",
4989
+ "type": "address"
4990
+ },
4991
+ {
4992
+ "internalType": "address",
4993
+ "name": "stETHAddress",
4994
+ "type": "address"
4995
+ },
4996
+ {
4997
+ "internalType": "address",
4998
+ "name": "resilientOracleAddress",
4999
+ "type": "address"
5000
+ }
5001
+ ],
5002
+ "stateMutability": "nonpayable",
5003
+ "type": "constructor"
5004
+ },
5005
+ {
5006
+ "inputs": [],
5007
+ "name": "ZeroAddressNotAllowed",
5008
+ "type": "error"
5009
+ },
5010
+ {
5011
+ "inputs": [],
5012
+ "name": "RESILIENT_ORACLE",
5013
+ "outputs": [
5014
+ {
5015
+ "internalType": "contract OracleInterface",
5016
+ "name": "",
5017
+ "type": "address"
5018
+ }
5019
+ ],
5020
+ "stateMutability": "view",
5021
+ "type": "function"
5022
+ },
5023
+ {
5024
+ "inputs": [],
5025
+ "name": "STETH",
5026
+ "outputs": [
5027
+ {
5028
+ "internalType": "contract IStETH",
5029
+ "name": "",
5030
+ "type": "address"
5031
+ }
5032
+ ],
5033
+ "stateMutability": "view",
5034
+ "type": "function"
5035
+ },
5036
+ {
5037
+ "inputs": [],
5038
+ "name": "WETH_ADDRESS",
5039
+ "outputs": [
5040
+ {
5041
+ "internalType": "address",
5042
+ "name": "",
5043
+ "type": "address"
5044
+ }
5045
+ ],
5046
+ "stateMutability": "view",
5047
+ "type": "function"
5048
+ },
5049
+ {
5050
+ "inputs": [],
5051
+ "name": "WSTETH_ADDRESS",
5052
+ "outputs": [
5053
+ {
5054
+ "internalType": "address",
5055
+ "name": "",
5056
+ "type": "address"
5057
+ }
5058
+ ],
5059
+ "stateMutability": "view",
5060
+ "type": "function"
5061
+ },
5062
+ {
5063
+ "inputs": [
5064
+ {
5065
+ "internalType": "address",
5066
+ "name": "asset",
5067
+ "type": "address"
5068
+ }
5069
+ ],
5070
+ "name": "getPrice",
5071
+ "outputs": [
5072
+ {
5073
+ "internalType": "uint256",
5074
+ "name": "",
5075
+ "type": "uint256"
5076
+ }
5077
+ ],
5078
+ "stateMutability": "view",
5079
+ "type": "function"
5080
+ }
5081
+ ]
5082
+ },
5083
+ "WstETHOracle_Proxy": {
5084
+ "address": "0x987F64F99cA9441D9BD141a34E195818961cCBa6",
5085
+ "abi": [
5086
+ {
5087
+ "inputs": [
5088
+ {
5089
+ "internalType": "address",
5090
+ "name": "_logic",
5091
+ "type": "address"
5092
+ },
5093
+ {
5094
+ "internalType": "address",
5095
+ "name": "admin_",
5096
+ "type": "address"
5097
+ },
5098
+ {
5099
+ "internalType": "bytes",
5100
+ "name": "_data",
5101
+ "type": "bytes"
5102
+ }
5103
+ ],
5104
+ "stateMutability": "payable",
5105
+ "type": "constructor"
5106
+ },
5107
+ {
5108
+ "anonymous": false,
5109
+ "inputs": [
5110
+ {
5111
+ "indexed": false,
5112
+ "internalType": "address",
5113
+ "name": "previousAdmin",
5114
+ "type": "address"
5115
+ },
5116
+ {
5117
+ "indexed": false,
5118
+ "internalType": "address",
5119
+ "name": "newAdmin",
5120
+ "type": "address"
5121
+ }
5122
+ ],
5123
+ "name": "AdminChanged",
5124
+ "type": "event"
5125
+ },
5126
+ {
5127
+ "anonymous": false,
5128
+ "inputs": [
5129
+ {
5130
+ "indexed": true,
5131
+ "internalType": "address",
5132
+ "name": "beacon",
5133
+ "type": "address"
5134
+ }
5135
+ ],
5136
+ "name": "BeaconUpgraded",
5137
+ "type": "event"
5138
+ },
5139
+ {
5140
+ "anonymous": false,
5141
+ "inputs": [
5142
+ {
5143
+ "indexed": true,
5144
+ "internalType": "address",
5145
+ "name": "implementation",
5146
+ "type": "address"
5147
+ }
5148
+ ],
5149
+ "name": "Upgraded",
5150
+ "type": "event"
5151
+ },
5152
+ {
5153
+ "stateMutability": "payable",
5154
+ "type": "fallback"
5155
+ },
5156
+ {
5157
+ "inputs": [],
5158
+ "name": "admin",
5159
+ "outputs": [
5160
+ {
5161
+ "internalType": "address",
5162
+ "name": "admin_",
5163
+ "type": "address"
5164
+ }
5165
+ ],
5166
+ "stateMutability": "nonpayable",
5167
+ "type": "function"
5168
+ },
5169
+ {
5170
+ "inputs": [],
5171
+ "name": "implementation",
5172
+ "outputs": [
5173
+ {
5174
+ "internalType": "address",
5175
+ "name": "implementation_",
5176
+ "type": "address"
5177
+ }
5178
+ ],
5179
+ "stateMutability": "nonpayable",
5180
+ "type": "function"
5181
+ },
5182
+ {
5183
+ "inputs": [
5184
+ {
5185
+ "internalType": "address",
5186
+ "name": "newImplementation",
5187
+ "type": "address"
5188
+ }
5189
+ ],
5190
+ "name": "upgradeTo",
5191
+ "outputs": [],
5192
+ "stateMutability": "nonpayable",
5193
+ "type": "function"
5194
+ },
5195
+ {
5196
+ "inputs": [
5197
+ {
5198
+ "internalType": "address",
5199
+ "name": "newImplementation",
5200
+ "type": "address"
5201
+ },
5202
+ {
5203
+ "internalType": "bytes",
5204
+ "name": "data",
5205
+ "type": "bytes"
5206
+ }
5207
+ ],
5208
+ "name": "upgradeToAndCall",
5209
+ "outputs": [],
5210
+ "stateMutability": "payable",
5211
+ "type": "function"
5212
+ },
5213
+ {
5214
+ "stateMutability": "payable",
5215
+ "type": "receive"
5216
+ }
5217
+ ]
4763
5218
  }
4764
5219
  }
4765
5220
  }
@@ -14,6 +14,9 @@
14
14
  "RedStoneOracle_Proxy": "0x0FC8001B2c9Ec90352A46093130e284de5889C86",
15
15
  "ResilientOracle": "0xd2ce3fb018805ef92b8C5976cb31F84b4E295F94",
16
16
  "ResilientOracle_Implementation": "0x1616BaC3e4C2222B438B3410b5196604bC557bce",
17
- "ResilientOracle_Proxy": "0xd2ce3fb018805ef92b8C5976cb31F84b4E295F94"
17
+ "ResilientOracle_Proxy": "0xd2ce3fb018805ef92b8C5976cb31F84b4E295F94",
18
+ "WstETHOracle": "0x987F64F99cA9441D9BD141a34E195818961cCBa6",
19
+ "WstETHOracle_Implementation": "0xC473E5c2bcB6A354389BB7cbC3912A71eF590c6f",
20
+ "WstETHOracle_Proxy": "0x987F64F99cA9441D9BD141a34E195818961cCBa6"
18
21
  }
19
22
  }
@@ -0,0 +1 @@
1
+ 204