@venusprotocol/oracle 2.12.0 → 2.13.0-dev.1
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/basemainnet/wstETHOneJumpChainlinkOracle.json +306 -0
- package/deployments/basemainnet/wstETHOneJumpChainlinkOracle_Implementation.json +204 -0
- package/deployments/basemainnet/wstETHOneJumpChainlinkOracle_Proxy.json +224 -0
- package/deployments/basemainnet.json +465 -0
- package/deployments/basemainnet_addresses.json +3 -0
- package/deployments/basesepolia/wstETHOneJumpChainlinkOracle.json +306 -0
- package/deployments/basesepolia/wstETHOneJumpChainlinkOracle_Implementation.json +204 -0
- package/deployments/basesepolia/wstETHOneJumpChainlinkOracle_Proxy.json +224 -0
- package/deployments/basesepolia.json +465 -0
- package/deployments/basesepolia_addresses.json +3 -0
- package/deployments/zksyncmainnet/solcInputs/e092fdbd86abd3281b70dd1ac599d6ef.json +340 -0
- package/deployments/zksyncmainnet/wstETHOneJumpChainlinkOracle.json +363 -0
- package/deployments/zksyncmainnet/wstETHOneJumpChainlinkOracle_Implementation.json +303 -0
- package/deployments/zksyncmainnet/wstETHOneJumpChainlinkOracle_Proxy.json +284 -0
- package/deployments/zksyncmainnet.json +465 -0
- package/deployments/zksyncmainnet_addresses.json +4 -1
- package/deployments/zksyncsepolia/solcInputs/e092fdbd86abd3281b70dd1ac599d6ef.json +340 -0
- package/deployments/zksyncsepolia/wstETHOneJumpChainlinkOracle.json +363 -0
- package/deployments/zksyncsepolia/wstETHOneJumpChainlinkOracle_Implementation.json +303 -0
- package/deployments/zksyncsepolia/wstETHOneJumpChainlinkOracle_Proxy.json +284 -0
- package/deployments/zksyncsepolia.json +465 -0
- package/deployments/zksyncsepolia_addresses.json +4 -1
- package/dist/deploy/20-deploy-wstETH-one-jump-oracle.d.ts +4 -0
- package/dist/deploy/20-deploy-wstETH-one-jump-oracle.d.ts.map +1 -0
- package/dist/deploy/20-deploy-wstETH-one-jump-oracle.js +43 -0
- package/dist/deploy/20-deploy-wstETH-one-jump-oracle.js.map +1 -0
- package/dist/helpers/deploymentConfig.d.ts.map +1 -1
- package/dist/helpers/deploymentConfig.js +6 -0
- package/dist/helpers/deploymentConfig.js.map +1 -1
- package/package.json +1 -1
|
@@ -4854,6 +4854,471 @@
|
|
|
4854
4854
|
"type": "function"
|
|
4855
4855
|
}
|
|
4856
4856
|
]
|
|
4857
|
+
},
|
|
4858
|
+
"wstETHOneJumpChainlinkOracle": {
|
|
4859
|
+
"address": "0xd2b4352A3C1C452D9D4D11B4F19e28476128798f",
|
|
4860
|
+
"abi": [
|
|
4861
|
+
{
|
|
4862
|
+
"anonymous": false,
|
|
4863
|
+
"inputs": [
|
|
4864
|
+
{
|
|
4865
|
+
"indexed": false,
|
|
4866
|
+
"internalType": "address",
|
|
4867
|
+
"name": "previousAdmin",
|
|
4868
|
+
"type": "address"
|
|
4869
|
+
},
|
|
4870
|
+
{
|
|
4871
|
+
"indexed": false,
|
|
4872
|
+
"internalType": "address",
|
|
4873
|
+
"name": "newAdmin",
|
|
4874
|
+
"type": "address"
|
|
4875
|
+
}
|
|
4876
|
+
],
|
|
4877
|
+
"name": "AdminChanged",
|
|
4878
|
+
"type": "event"
|
|
4879
|
+
},
|
|
4880
|
+
{
|
|
4881
|
+
"anonymous": false,
|
|
4882
|
+
"inputs": [
|
|
4883
|
+
{
|
|
4884
|
+
"indexed": true,
|
|
4885
|
+
"internalType": "address",
|
|
4886
|
+
"name": "beacon",
|
|
4887
|
+
"type": "address"
|
|
4888
|
+
}
|
|
4889
|
+
],
|
|
4890
|
+
"name": "BeaconUpgraded",
|
|
4891
|
+
"type": "event"
|
|
4892
|
+
},
|
|
4893
|
+
{
|
|
4894
|
+
"anonymous": false,
|
|
4895
|
+
"inputs": [
|
|
4896
|
+
{
|
|
4897
|
+
"indexed": true,
|
|
4898
|
+
"internalType": "address",
|
|
4899
|
+
"name": "implementation",
|
|
4900
|
+
"type": "address"
|
|
4901
|
+
}
|
|
4902
|
+
],
|
|
4903
|
+
"name": "Upgraded",
|
|
4904
|
+
"type": "event"
|
|
4905
|
+
},
|
|
4906
|
+
{
|
|
4907
|
+
"stateMutability": "payable",
|
|
4908
|
+
"type": "fallback"
|
|
4909
|
+
},
|
|
4910
|
+
{
|
|
4911
|
+
"inputs": [],
|
|
4912
|
+
"name": "admin",
|
|
4913
|
+
"outputs": [
|
|
4914
|
+
{
|
|
4915
|
+
"internalType": "address",
|
|
4916
|
+
"name": "admin_",
|
|
4917
|
+
"type": "address"
|
|
4918
|
+
}
|
|
4919
|
+
],
|
|
4920
|
+
"stateMutability": "nonpayable",
|
|
4921
|
+
"type": "function"
|
|
4922
|
+
},
|
|
4923
|
+
{
|
|
4924
|
+
"inputs": [],
|
|
4925
|
+
"name": "implementation",
|
|
4926
|
+
"outputs": [
|
|
4927
|
+
{
|
|
4928
|
+
"internalType": "address",
|
|
4929
|
+
"name": "implementation_",
|
|
4930
|
+
"type": "address"
|
|
4931
|
+
}
|
|
4932
|
+
],
|
|
4933
|
+
"stateMutability": "nonpayable",
|
|
4934
|
+
"type": "function"
|
|
4935
|
+
},
|
|
4936
|
+
{
|
|
4937
|
+
"inputs": [
|
|
4938
|
+
{
|
|
4939
|
+
"internalType": "address",
|
|
4940
|
+
"name": "newImplementation",
|
|
4941
|
+
"type": "address"
|
|
4942
|
+
}
|
|
4943
|
+
],
|
|
4944
|
+
"name": "upgradeTo",
|
|
4945
|
+
"outputs": [],
|
|
4946
|
+
"stateMutability": "nonpayable",
|
|
4947
|
+
"type": "function"
|
|
4948
|
+
},
|
|
4949
|
+
{
|
|
4950
|
+
"inputs": [
|
|
4951
|
+
{
|
|
4952
|
+
"internalType": "address",
|
|
4953
|
+
"name": "newImplementation",
|
|
4954
|
+
"type": "address"
|
|
4955
|
+
},
|
|
4956
|
+
{
|
|
4957
|
+
"internalType": "bytes",
|
|
4958
|
+
"name": "data",
|
|
4959
|
+
"type": "bytes"
|
|
4960
|
+
}
|
|
4961
|
+
],
|
|
4962
|
+
"name": "upgradeToAndCall",
|
|
4963
|
+
"outputs": [],
|
|
4964
|
+
"stateMutability": "payable",
|
|
4965
|
+
"type": "function"
|
|
4966
|
+
},
|
|
4967
|
+
{
|
|
4968
|
+
"stateMutability": "payable",
|
|
4969
|
+
"type": "receive"
|
|
4970
|
+
},
|
|
4971
|
+
{
|
|
4972
|
+
"inputs": [],
|
|
4973
|
+
"name": "InvalidTokenAddress",
|
|
4974
|
+
"type": "error"
|
|
4975
|
+
},
|
|
4976
|
+
{
|
|
4977
|
+
"inputs": [],
|
|
4978
|
+
"name": "ZeroAddressNotAllowed",
|
|
4979
|
+
"type": "error"
|
|
4980
|
+
},
|
|
4981
|
+
{
|
|
4982
|
+
"inputs": [],
|
|
4983
|
+
"name": "CORRELATED_TOKEN",
|
|
4984
|
+
"outputs": [
|
|
4985
|
+
{
|
|
4986
|
+
"internalType": "address",
|
|
4987
|
+
"name": "",
|
|
4988
|
+
"type": "address"
|
|
4989
|
+
}
|
|
4990
|
+
],
|
|
4991
|
+
"stateMutability": "view",
|
|
4992
|
+
"type": "function"
|
|
4993
|
+
},
|
|
4994
|
+
{
|
|
4995
|
+
"inputs": [],
|
|
4996
|
+
"name": "INTERMEDIATE_ORACLE",
|
|
4997
|
+
"outputs": [
|
|
4998
|
+
{
|
|
4999
|
+
"internalType": "contract OracleInterface",
|
|
5000
|
+
"name": "",
|
|
5001
|
+
"type": "address"
|
|
5002
|
+
}
|
|
5003
|
+
],
|
|
5004
|
+
"stateMutability": "view",
|
|
5005
|
+
"type": "function"
|
|
5006
|
+
},
|
|
5007
|
+
{
|
|
5008
|
+
"inputs": [],
|
|
5009
|
+
"name": "RESILIENT_ORACLE",
|
|
5010
|
+
"outputs": [
|
|
5011
|
+
{
|
|
5012
|
+
"internalType": "contract OracleInterface",
|
|
5013
|
+
"name": "",
|
|
5014
|
+
"type": "address"
|
|
5015
|
+
}
|
|
5016
|
+
],
|
|
5017
|
+
"stateMutability": "view",
|
|
5018
|
+
"type": "function"
|
|
5019
|
+
},
|
|
5020
|
+
{
|
|
5021
|
+
"inputs": [],
|
|
5022
|
+
"name": "UNDERLYING_TOKEN",
|
|
5023
|
+
"outputs": [
|
|
5024
|
+
{
|
|
5025
|
+
"internalType": "address",
|
|
5026
|
+
"name": "",
|
|
5027
|
+
"type": "address"
|
|
5028
|
+
}
|
|
5029
|
+
],
|
|
5030
|
+
"stateMutability": "view",
|
|
5031
|
+
"type": "function"
|
|
5032
|
+
},
|
|
5033
|
+
{
|
|
5034
|
+
"inputs": [
|
|
5035
|
+
{
|
|
5036
|
+
"internalType": "address",
|
|
5037
|
+
"name": "asset",
|
|
5038
|
+
"type": "address"
|
|
5039
|
+
}
|
|
5040
|
+
],
|
|
5041
|
+
"name": "getPrice",
|
|
5042
|
+
"outputs": [
|
|
5043
|
+
{
|
|
5044
|
+
"internalType": "uint256",
|
|
5045
|
+
"name": "",
|
|
5046
|
+
"type": "uint256"
|
|
5047
|
+
}
|
|
5048
|
+
],
|
|
5049
|
+
"stateMutability": "view",
|
|
5050
|
+
"type": "function"
|
|
5051
|
+
},
|
|
5052
|
+
{
|
|
5053
|
+
"inputs": [
|
|
5054
|
+
{
|
|
5055
|
+
"internalType": "address",
|
|
5056
|
+
"name": "_logic",
|
|
5057
|
+
"type": "address"
|
|
5058
|
+
},
|
|
5059
|
+
{
|
|
5060
|
+
"internalType": "address",
|
|
5061
|
+
"name": "admin_",
|
|
5062
|
+
"type": "address"
|
|
5063
|
+
},
|
|
5064
|
+
{
|
|
5065
|
+
"internalType": "bytes",
|
|
5066
|
+
"name": "_data",
|
|
5067
|
+
"type": "bytes"
|
|
5068
|
+
}
|
|
5069
|
+
],
|
|
5070
|
+
"stateMutability": "payable",
|
|
5071
|
+
"type": "constructor"
|
|
5072
|
+
}
|
|
5073
|
+
]
|
|
5074
|
+
},
|
|
5075
|
+
"wstETHOneJumpChainlinkOracle_Implementation": {
|
|
5076
|
+
"address": "0xFc8f37ae8f36bB74606fC3E140460be98d1b4d00",
|
|
5077
|
+
"abi": [
|
|
5078
|
+
{
|
|
5079
|
+
"inputs": [
|
|
5080
|
+
{
|
|
5081
|
+
"internalType": "address",
|
|
5082
|
+
"name": "correlatedToken",
|
|
5083
|
+
"type": "address"
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
"internalType": "address",
|
|
5087
|
+
"name": "underlyingToken",
|
|
5088
|
+
"type": "address"
|
|
5089
|
+
},
|
|
5090
|
+
{
|
|
5091
|
+
"internalType": "address",
|
|
5092
|
+
"name": "resilientOracle",
|
|
5093
|
+
"type": "address"
|
|
5094
|
+
},
|
|
5095
|
+
{
|
|
5096
|
+
"internalType": "address",
|
|
5097
|
+
"name": "intermediateOracle",
|
|
5098
|
+
"type": "address"
|
|
5099
|
+
}
|
|
5100
|
+
],
|
|
5101
|
+
"stateMutability": "nonpayable",
|
|
5102
|
+
"type": "constructor"
|
|
5103
|
+
},
|
|
5104
|
+
{
|
|
5105
|
+
"inputs": [],
|
|
5106
|
+
"name": "InvalidTokenAddress",
|
|
5107
|
+
"type": "error"
|
|
5108
|
+
},
|
|
5109
|
+
{
|
|
5110
|
+
"inputs": [],
|
|
5111
|
+
"name": "ZeroAddressNotAllowed",
|
|
5112
|
+
"type": "error"
|
|
5113
|
+
},
|
|
5114
|
+
{
|
|
5115
|
+
"inputs": [],
|
|
5116
|
+
"name": "CORRELATED_TOKEN",
|
|
5117
|
+
"outputs": [
|
|
5118
|
+
{
|
|
5119
|
+
"internalType": "address",
|
|
5120
|
+
"name": "",
|
|
5121
|
+
"type": "address"
|
|
5122
|
+
}
|
|
5123
|
+
],
|
|
5124
|
+
"stateMutability": "view",
|
|
5125
|
+
"type": "function"
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
"inputs": [],
|
|
5129
|
+
"name": "INTERMEDIATE_ORACLE",
|
|
5130
|
+
"outputs": [
|
|
5131
|
+
{
|
|
5132
|
+
"internalType": "contract OracleInterface",
|
|
5133
|
+
"name": "",
|
|
5134
|
+
"type": "address"
|
|
5135
|
+
}
|
|
5136
|
+
],
|
|
5137
|
+
"stateMutability": "view",
|
|
5138
|
+
"type": "function"
|
|
5139
|
+
},
|
|
5140
|
+
{
|
|
5141
|
+
"inputs": [],
|
|
5142
|
+
"name": "RESILIENT_ORACLE",
|
|
5143
|
+
"outputs": [
|
|
5144
|
+
{
|
|
5145
|
+
"internalType": "contract OracleInterface",
|
|
5146
|
+
"name": "",
|
|
5147
|
+
"type": "address"
|
|
5148
|
+
}
|
|
5149
|
+
],
|
|
5150
|
+
"stateMutability": "view",
|
|
5151
|
+
"type": "function"
|
|
5152
|
+
},
|
|
5153
|
+
{
|
|
5154
|
+
"inputs": [],
|
|
5155
|
+
"name": "UNDERLYING_TOKEN",
|
|
5156
|
+
"outputs": [
|
|
5157
|
+
{
|
|
5158
|
+
"internalType": "address",
|
|
5159
|
+
"name": "",
|
|
5160
|
+
"type": "address"
|
|
5161
|
+
}
|
|
5162
|
+
],
|
|
5163
|
+
"stateMutability": "view",
|
|
5164
|
+
"type": "function"
|
|
5165
|
+
},
|
|
5166
|
+
{
|
|
5167
|
+
"inputs": [
|
|
5168
|
+
{
|
|
5169
|
+
"internalType": "address",
|
|
5170
|
+
"name": "asset",
|
|
5171
|
+
"type": "address"
|
|
5172
|
+
}
|
|
5173
|
+
],
|
|
5174
|
+
"name": "getPrice",
|
|
5175
|
+
"outputs": [
|
|
5176
|
+
{
|
|
5177
|
+
"internalType": "uint256",
|
|
5178
|
+
"name": "",
|
|
5179
|
+
"type": "uint256"
|
|
5180
|
+
}
|
|
5181
|
+
],
|
|
5182
|
+
"stateMutability": "view",
|
|
5183
|
+
"type": "function"
|
|
5184
|
+
}
|
|
5185
|
+
]
|
|
5186
|
+
},
|
|
5187
|
+
"wstETHOneJumpChainlinkOracle_Proxy": {
|
|
5188
|
+
"address": "0xd2b4352A3C1C452D9D4D11B4F19e28476128798f",
|
|
5189
|
+
"abi": [
|
|
5190
|
+
{
|
|
5191
|
+
"inputs": [
|
|
5192
|
+
{
|
|
5193
|
+
"internalType": "address",
|
|
5194
|
+
"name": "_logic",
|
|
5195
|
+
"type": "address"
|
|
5196
|
+
},
|
|
5197
|
+
{
|
|
5198
|
+
"internalType": "address",
|
|
5199
|
+
"name": "admin_",
|
|
5200
|
+
"type": "address"
|
|
5201
|
+
},
|
|
5202
|
+
{
|
|
5203
|
+
"internalType": "bytes",
|
|
5204
|
+
"name": "_data",
|
|
5205
|
+
"type": "bytes"
|
|
5206
|
+
}
|
|
5207
|
+
],
|
|
5208
|
+
"stateMutability": "payable",
|
|
5209
|
+
"type": "constructor"
|
|
5210
|
+
},
|
|
5211
|
+
{
|
|
5212
|
+
"anonymous": false,
|
|
5213
|
+
"inputs": [
|
|
5214
|
+
{
|
|
5215
|
+
"indexed": false,
|
|
5216
|
+
"internalType": "address",
|
|
5217
|
+
"name": "previousAdmin",
|
|
5218
|
+
"type": "address"
|
|
5219
|
+
},
|
|
5220
|
+
{
|
|
5221
|
+
"indexed": false,
|
|
5222
|
+
"internalType": "address",
|
|
5223
|
+
"name": "newAdmin",
|
|
5224
|
+
"type": "address"
|
|
5225
|
+
}
|
|
5226
|
+
],
|
|
5227
|
+
"name": "AdminChanged",
|
|
5228
|
+
"type": "event"
|
|
5229
|
+
},
|
|
5230
|
+
{
|
|
5231
|
+
"anonymous": false,
|
|
5232
|
+
"inputs": [
|
|
5233
|
+
{
|
|
5234
|
+
"indexed": true,
|
|
5235
|
+
"internalType": "address",
|
|
5236
|
+
"name": "beacon",
|
|
5237
|
+
"type": "address"
|
|
5238
|
+
}
|
|
5239
|
+
],
|
|
5240
|
+
"name": "BeaconUpgraded",
|
|
5241
|
+
"type": "event"
|
|
5242
|
+
},
|
|
5243
|
+
{
|
|
5244
|
+
"anonymous": false,
|
|
5245
|
+
"inputs": [
|
|
5246
|
+
{
|
|
5247
|
+
"indexed": true,
|
|
5248
|
+
"internalType": "address",
|
|
5249
|
+
"name": "implementation",
|
|
5250
|
+
"type": "address"
|
|
5251
|
+
}
|
|
5252
|
+
],
|
|
5253
|
+
"name": "Upgraded",
|
|
5254
|
+
"type": "event"
|
|
5255
|
+
},
|
|
5256
|
+
{
|
|
5257
|
+
"stateMutability": "payable",
|
|
5258
|
+
"type": "fallback"
|
|
5259
|
+
},
|
|
5260
|
+
{
|
|
5261
|
+
"inputs": [],
|
|
5262
|
+
"name": "admin",
|
|
5263
|
+
"outputs": [
|
|
5264
|
+
{
|
|
5265
|
+
"internalType": "address",
|
|
5266
|
+
"name": "admin_",
|
|
5267
|
+
"type": "address"
|
|
5268
|
+
}
|
|
5269
|
+
],
|
|
5270
|
+
"stateMutability": "nonpayable",
|
|
5271
|
+
"type": "function"
|
|
5272
|
+
},
|
|
5273
|
+
{
|
|
5274
|
+
"inputs": [],
|
|
5275
|
+
"name": "implementation",
|
|
5276
|
+
"outputs": [
|
|
5277
|
+
{
|
|
5278
|
+
"internalType": "address",
|
|
5279
|
+
"name": "implementation_",
|
|
5280
|
+
"type": "address"
|
|
5281
|
+
}
|
|
5282
|
+
],
|
|
5283
|
+
"stateMutability": "nonpayable",
|
|
5284
|
+
"type": "function"
|
|
5285
|
+
},
|
|
5286
|
+
{
|
|
5287
|
+
"inputs": [
|
|
5288
|
+
{
|
|
5289
|
+
"internalType": "address",
|
|
5290
|
+
"name": "newImplementation",
|
|
5291
|
+
"type": "address"
|
|
5292
|
+
}
|
|
5293
|
+
],
|
|
5294
|
+
"name": "upgradeTo",
|
|
5295
|
+
"outputs": [],
|
|
5296
|
+
"stateMutability": "nonpayable",
|
|
5297
|
+
"type": "function"
|
|
5298
|
+
},
|
|
5299
|
+
{
|
|
5300
|
+
"inputs": [
|
|
5301
|
+
{
|
|
5302
|
+
"internalType": "address",
|
|
5303
|
+
"name": "newImplementation",
|
|
5304
|
+
"type": "address"
|
|
5305
|
+
},
|
|
5306
|
+
{
|
|
5307
|
+
"internalType": "bytes",
|
|
5308
|
+
"name": "data",
|
|
5309
|
+
"type": "bytes"
|
|
5310
|
+
}
|
|
5311
|
+
],
|
|
5312
|
+
"name": "upgradeToAndCall",
|
|
5313
|
+
"outputs": [],
|
|
5314
|
+
"stateMutability": "payable",
|
|
5315
|
+
"type": "function"
|
|
5316
|
+
},
|
|
5317
|
+
{
|
|
5318
|
+
"stateMutability": "payable",
|
|
5319
|
+
"type": "receive"
|
|
5320
|
+
}
|
|
5321
|
+
]
|
|
4857
5322
|
}
|
|
4858
5323
|
}
|
|
4859
5324
|
}
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"ResilientOracle": "0xDe564a4C887d5ad315a19a96DC81991c98b12182",
|
|
16
16
|
"ResilientOracle_Implementation": "0x88DcFE18AcE5a75659177c9F980C2771D9736e66",
|
|
17
17
|
"ResilientOracle_Proxy": "0xDe564a4C887d5ad315a19a96DC81991c98b12182",
|
|
18
|
-
"wUSDM_ERC4626Oracle": "0x7Fb95a0B7b933A9F3Fe3Ead4b69B0267BD8Fe55F"
|
|
18
|
+
"wUSDM_ERC4626Oracle": "0x7Fb95a0B7b933A9F3Fe3Ead4b69B0267BD8Fe55F",
|
|
19
|
+
"wstETHOneJumpChainlinkOracle": "0xd2b4352A3C1C452D9D4D11B4F19e28476128798f",
|
|
20
|
+
"wstETHOneJumpChainlinkOracle_Implementation": "0xFc8f37ae8f36bB74606fC3E140460be98d1b4d00",
|
|
21
|
+
"wstETHOneJumpChainlinkOracle_Proxy": "0xd2b4352A3C1C452D9D4D11B4F19e28476128798f"
|
|
19
22
|
}
|
|
20
23
|
}
|