@venusprotocol/oracle 2.15.0-dev.2 → 2.15.0-dev.4

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.
@@ -16073,127 +16073,186 @@
16073
16073
  ]
16074
16074
  },
16075
16075
  "WBETHOracle": {
16076
- "address": "0x739db790c656E54590957Ed4d6B94665bCcb3456",
16076
+ "address": "0x49938fc72262c126eb5D4BdF6430C55189AEB2BA",
16077
16077
  "abi": [
16078
16078
  {
16079
- "anonymous": false,
16080
16079
  "inputs": [
16081
16080
  {
16082
- "indexed": false,
16083
16081
  "internalType": "address",
16084
- "name": "previousAdmin",
16082
+ "name": "wbeth",
16085
16083
  "type": "address"
16086
16084
  },
16087
16085
  {
16088
- "indexed": false,
16089
16086
  "internalType": "address",
16090
- "name": "newAdmin",
16087
+ "name": "eth",
16091
16088
  "type": "address"
16092
- }
16093
- ],
16094
- "name": "AdminChanged",
16095
- "type": "event"
16096
- },
16097
- {
16098
- "anonymous": false,
16099
- "inputs": [
16089
+ },
16100
16090
  {
16101
- "indexed": true,
16102
16091
  "internalType": "address",
16103
- "name": "beacon",
16092
+ "name": "resilientOracle",
16104
16093
  "type": "address"
16105
- }
16106
- ],
16107
- "name": "BeaconUpgraded",
16108
- "type": "event"
16109
- },
16110
- {
16111
- "anonymous": false,
16112
- "inputs": [
16094
+ },
16095
+ {
16096
+ "internalType": "uint256",
16097
+ "name": "annualGrowthRate",
16098
+ "type": "uint256"
16099
+ },
16100
+ {
16101
+ "internalType": "uint256",
16102
+ "name": "_snapshotInterval",
16103
+ "type": "uint256"
16104
+ },
16105
+ {
16106
+ "internalType": "uint256",
16107
+ "name": "initialSnapshotMaxExchangeRate",
16108
+ "type": "uint256"
16109
+ },
16110
+ {
16111
+ "internalType": "uint256",
16112
+ "name": "initialSnapshotTimestamp",
16113
+ "type": "uint256"
16114
+ },
16113
16115
  {
16114
- "indexed": true,
16115
16116
  "internalType": "address",
16116
- "name": "implementation",
16117
+ "name": "accessControlManager",
16117
16118
  "type": "address"
16119
+ },
16120
+ {
16121
+ "internalType": "uint256",
16122
+ "name": "_snapshotGap",
16123
+ "type": "uint256"
16118
16124
  }
16119
16125
  ],
16120
- "name": "Upgraded",
16121
- "type": "event"
16126
+ "stateMutability": "nonpayable",
16127
+ "type": "constructor"
16122
16128
  },
16123
16129
  {
16124
- "stateMutability": "payable",
16125
- "type": "fallback"
16130
+ "inputs": [],
16131
+ "name": "InvalidGrowthRate",
16132
+ "type": "error"
16126
16133
  },
16127
16134
  {
16128
16135
  "inputs": [],
16129
- "name": "admin",
16130
- "outputs": [
16136
+ "name": "InvalidInitialSnapshot",
16137
+ "type": "error"
16138
+ },
16139
+ {
16140
+ "inputs": [],
16141
+ "name": "InvalidSnapshotMaxExchangeRate",
16142
+ "type": "error"
16143
+ },
16144
+ {
16145
+ "inputs": [],
16146
+ "name": "InvalidTokenAddress",
16147
+ "type": "error"
16148
+ },
16149
+ {
16150
+ "inputs": [
16131
16151
  {
16132
16152
  "internalType": "address",
16133
- "name": "admin_",
16153
+ "name": "sender",
16154
+ "type": "address"
16155
+ },
16156
+ {
16157
+ "internalType": "address",
16158
+ "name": "calledContract",
16134
16159
  "type": "address"
16160
+ },
16161
+ {
16162
+ "internalType": "string",
16163
+ "name": "methodSignature",
16164
+ "type": "string"
16135
16165
  }
16136
16166
  ],
16137
- "stateMutability": "nonpayable",
16138
- "type": "function"
16167
+ "name": "Unauthorized",
16168
+ "type": "error"
16139
16169
  },
16140
16170
  {
16141
16171
  "inputs": [],
16142
- "name": "implementation",
16143
- "outputs": [
16172
+ "name": "ZeroAddressNotAllowed",
16173
+ "type": "error"
16174
+ },
16175
+ {
16176
+ "anonymous": false,
16177
+ "inputs": [
16144
16178
  {
16145
- "internalType": "address",
16146
- "name": "implementation_",
16147
- "type": "address"
16179
+ "indexed": true,
16180
+ "internalType": "uint256",
16181
+ "name": "oldGrowthRatePerSecond",
16182
+ "type": "uint256"
16183
+ },
16184
+ {
16185
+ "indexed": true,
16186
+ "internalType": "uint256",
16187
+ "name": "newGrowthRatePerSecond",
16188
+ "type": "uint256"
16189
+ },
16190
+ {
16191
+ "indexed": true,
16192
+ "internalType": "uint256",
16193
+ "name": "oldSnapshotInterval",
16194
+ "type": "uint256"
16195
+ },
16196
+ {
16197
+ "indexed": false,
16198
+ "internalType": "uint256",
16199
+ "name": "newSnapshotInterval",
16200
+ "type": "uint256"
16148
16201
  }
16149
16202
  ],
16150
- "stateMutability": "nonpayable",
16151
- "type": "function"
16203
+ "name": "GrowthRateUpdated",
16204
+ "type": "event"
16152
16205
  },
16153
16206
  {
16207
+ "anonymous": false,
16154
16208
  "inputs": [
16155
16209
  {
16156
- "internalType": "address",
16157
- "name": "newImplementation",
16158
- "type": "address"
16210
+ "indexed": true,
16211
+ "internalType": "uint256",
16212
+ "name": "oldSnapshotGap",
16213
+ "type": "uint256"
16214
+ },
16215
+ {
16216
+ "indexed": true,
16217
+ "internalType": "uint256",
16218
+ "name": "newSnapshotGap",
16219
+ "type": "uint256"
16159
16220
  }
16160
16221
  ],
16161
- "name": "upgradeTo",
16162
- "outputs": [],
16163
- "stateMutability": "nonpayable",
16164
- "type": "function"
16222
+ "name": "SnapshotGapUpdated",
16223
+ "type": "event"
16165
16224
  },
16166
16225
  {
16226
+ "anonymous": false,
16167
16227
  "inputs": [
16168
16228
  {
16169
- "internalType": "address",
16170
- "name": "newImplementation",
16171
- "type": "address"
16229
+ "indexed": true,
16230
+ "internalType": "uint256",
16231
+ "name": "maxExchangeRate",
16232
+ "type": "uint256"
16172
16233
  },
16173
16234
  {
16174
- "internalType": "bytes",
16175
- "name": "data",
16176
- "type": "bytes"
16235
+ "indexed": true,
16236
+ "internalType": "uint256",
16237
+ "name": "timestamp",
16238
+ "type": "uint256"
16177
16239
  }
16178
16240
  ],
16179
- "name": "upgradeToAndCall",
16180
- "outputs": [],
16181
- "stateMutability": "payable",
16182
- "type": "function"
16183
- },
16184
- {
16185
- "stateMutability": "payable",
16186
- "type": "receive"
16187
- },
16188
- {
16189
- "inputs": [],
16190
- "name": "InvalidTokenAddress",
16191
- "type": "error"
16241
+ "name": "SnapshotUpdated",
16242
+ "type": "event"
16192
16243
  },
16193
16244
  {
16194
16245
  "inputs": [],
16195
- "name": "ZeroAddressNotAllowed",
16196
- "type": "error"
16246
+ "name": "ACCESS_CONTROL_MANAGER",
16247
+ "outputs": [
16248
+ {
16249
+ "internalType": "contract IAccessControlManagerV8",
16250
+ "name": "",
16251
+ "type": "address"
16252
+ }
16253
+ ],
16254
+ "stateMutability": "view",
16255
+ "type": "function"
16197
16256
  },
16198
16257
  {
16199
16258
  "inputs": [],
@@ -16213,7 +16272,7 @@
16213
16272
  "name": "RESILIENT_ORACLE",
16214
16273
  "outputs": [
16215
16274
  {
16216
- "internalType": "contract OracleInterface",
16275
+ "internalType": "contract ResilientOracleInterface",
16217
16276
  "name": "",
16218
16277
  "type": "address"
16219
16278
  }
@@ -16235,14 +16294,8 @@
16235
16294
  "type": "function"
16236
16295
  },
16237
16296
  {
16238
- "inputs": [
16239
- {
16240
- "internalType": "address",
16241
- "name": "asset",
16242
- "type": "address"
16243
- }
16244
- ],
16245
- "name": "getPrice",
16297
+ "inputs": [],
16298
+ "name": "getMaxAllowedExchangeRate",
16246
16299
  "outputs": [
16247
16300
  {
16248
16301
  "internalType": "uint256",
@@ -16257,67 +16310,16 @@
16257
16310
  "inputs": [
16258
16311
  {
16259
16312
  "internalType": "address",
16260
- "name": "_logic",
16261
- "type": "address"
16262
- },
16263
- {
16264
- "internalType": "address",
16265
- "name": "admin_",
16266
- "type": "address"
16267
- },
16268
- {
16269
- "internalType": "bytes",
16270
- "name": "_data",
16271
- "type": "bytes"
16272
- }
16273
- ],
16274
- "stateMutability": "payable",
16275
- "type": "constructor"
16276
- }
16277
- ]
16278
- },
16279
- "WBETHOracle_Implementation": {
16280
- "address": "0x9c79160d3ADF2436CE37379186DA37F2D3bbf92A",
16281
- "abi": [
16282
- {
16283
- "inputs": [
16284
- {
16285
- "internalType": "address",
16286
- "name": "wbeth",
16287
- "type": "address"
16288
- },
16289
- {
16290
- "internalType": "address",
16291
- "name": "eth",
16292
- "type": "address"
16293
- },
16294
- {
16295
- "internalType": "address",
16296
- "name": "resilientOracle",
16313
+ "name": "asset",
16297
16314
  "type": "address"
16298
16315
  }
16299
16316
  ],
16300
- "stateMutability": "nonpayable",
16301
- "type": "constructor"
16302
- },
16303
- {
16304
- "inputs": [],
16305
- "name": "InvalidTokenAddress",
16306
- "type": "error"
16307
- },
16308
- {
16309
- "inputs": [],
16310
- "name": "ZeroAddressNotAllowed",
16311
- "type": "error"
16312
- },
16313
- {
16314
- "inputs": [],
16315
- "name": "CORRELATED_TOKEN",
16317
+ "name": "getPrice",
16316
16318
  "outputs": [
16317
16319
  {
16318
- "internalType": "address",
16320
+ "internalType": "uint256",
16319
16321
  "name": "",
16320
- "type": "address"
16322
+ "type": "uint256"
16321
16323
  }
16322
16324
  ],
16323
16325
  "stateMutability": "view",
@@ -16325,12 +16327,12 @@
16325
16327
  },
16326
16328
  {
16327
16329
  "inputs": [],
16328
- "name": "RESILIENT_ORACLE",
16330
+ "name": "getUnderlyingAmount",
16329
16331
  "outputs": [
16330
16332
  {
16331
- "internalType": "contract OracleInterface",
16333
+ "internalType": "uint256",
16332
16334
  "name": "",
16333
- "type": "address"
16335
+ "type": "uint256"
16334
16336
  }
16335
16337
  ],
16336
16338
  "stateMutability": "view",
@@ -16338,171 +16340,137 @@
16338
16340
  },
16339
16341
  {
16340
16342
  "inputs": [],
16341
- "name": "UNDERLYING_TOKEN",
16343
+ "name": "growthRatePerSecond",
16342
16344
  "outputs": [
16343
16345
  {
16344
- "internalType": "address",
16346
+ "internalType": "uint256",
16345
16347
  "name": "",
16346
- "type": "address"
16348
+ "type": "uint256"
16347
16349
  }
16348
16350
  ],
16349
16351
  "stateMutability": "view",
16350
16352
  "type": "function"
16351
16353
  },
16352
16354
  {
16353
- "inputs": [
16354
- {
16355
- "internalType": "address",
16356
- "name": "asset",
16357
- "type": "address"
16358
- }
16359
- ],
16360
- "name": "getPrice",
16355
+ "inputs": [],
16356
+ "name": "isCapped",
16361
16357
  "outputs": [
16362
16358
  {
16363
- "internalType": "uint256",
16359
+ "internalType": "bool",
16364
16360
  "name": "",
16365
- "type": "uint256"
16361
+ "type": "bool"
16366
16362
  }
16367
16363
  ],
16368
16364
  "stateMutability": "view",
16369
16365
  "type": "function"
16370
- }
16371
- ]
16372
- },
16373
- "WBETHOracle_Proxy": {
16374
- "address": "0x739db790c656E54590957Ed4d6B94665bCcb3456",
16375
- "abi": [
16366
+ },
16376
16367
  {
16377
16368
  "inputs": [
16378
16369
  {
16379
- "internalType": "address",
16380
- "name": "_logic",
16381
- "type": "address"
16382
- },
16383
- {
16384
- "internalType": "address",
16385
- "name": "admin_",
16386
- "type": "address"
16370
+ "internalType": "uint256",
16371
+ "name": "_annualGrowthRate",
16372
+ "type": "uint256"
16387
16373
  },
16388
16374
  {
16389
- "internalType": "bytes",
16390
- "name": "_data",
16391
- "type": "bytes"
16375
+ "internalType": "uint256",
16376
+ "name": "_snapshotInterval",
16377
+ "type": "uint256"
16392
16378
  }
16393
16379
  ],
16394
- "stateMutability": "payable",
16395
- "type": "constructor"
16380
+ "name": "setGrowthRate",
16381
+ "outputs": [],
16382
+ "stateMutability": "nonpayable",
16383
+ "type": "function"
16396
16384
  },
16397
16385
  {
16398
- "anonymous": false,
16399
16386
  "inputs": [
16400
16387
  {
16401
- "indexed": false,
16402
- "internalType": "address",
16403
- "name": "previousAdmin",
16404
- "type": "address"
16388
+ "internalType": "uint256",
16389
+ "name": "_snapshotMaxExchangeRate",
16390
+ "type": "uint256"
16405
16391
  },
16406
16392
  {
16407
- "indexed": false,
16408
- "internalType": "address",
16409
- "name": "newAdmin",
16410
- "type": "address"
16393
+ "internalType": "uint256",
16394
+ "name": "_snapshotTimestamp",
16395
+ "type": "uint256"
16411
16396
  }
16412
16397
  ],
16413
- "name": "AdminChanged",
16414
- "type": "event"
16398
+ "name": "setSnapshot",
16399
+ "outputs": [],
16400
+ "stateMutability": "nonpayable",
16401
+ "type": "function"
16415
16402
  },
16416
16403
  {
16417
- "anonymous": false,
16418
16404
  "inputs": [
16419
16405
  {
16420
- "indexed": true,
16421
- "internalType": "address",
16422
- "name": "beacon",
16423
- "type": "address"
16406
+ "internalType": "uint256",
16407
+ "name": "_snapshotGap",
16408
+ "type": "uint256"
16424
16409
  }
16425
16410
  ],
16426
- "name": "BeaconUpgraded",
16427
- "type": "event"
16411
+ "name": "setSnapshotGap",
16412
+ "outputs": [],
16413
+ "stateMutability": "nonpayable",
16414
+ "type": "function"
16428
16415
  },
16429
16416
  {
16430
- "anonymous": false,
16431
- "inputs": [
16417
+ "inputs": [],
16418
+ "name": "snapshotGap",
16419
+ "outputs": [
16432
16420
  {
16433
- "indexed": true,
16434
- "internalType": "address",
16435
- "name": "implementation",
16436
- "type": "address"
16421
+ "internalType": "uint256",
16422
+ "name": "",
16423
+ "type": "uint256"
16437
16424
  }
16438
16425
  ],
16439
- "name": "Upgraded",
16440
- "type": "event"
16441
- },
16442
- {
16443
- "stateMutability": "payable",
16444
- "type": "fallback"
16426
+ "stateMutability": "view",
16427
+ "type": "function"
16445
16428
  },
16446
16429
  {
16447
16430
  "inputs": [],
16448
- "name": "admin",
16431
+ "name": "snapshotInterval",
16449
16432
  "outputs": [
16450
16433
  {
16451
- "internalType": "address",
16452
- "name": "admin_",
16453
- "type": "address"
16434
+ "internalType": "uint256",
16435
+ "name": "",
16436
+ "type": "uint256"
16454
16437
  }
16455
16438
  ],
16456
- "stateMutability": "nonpayable",
16439
+ "stateMutability": "view",
16457
16440
  "type": "function"
16458
16441
  },
16459
16442
  {
16460
16443
  "inputs": [],
16461
- "name": "implementation",
16444
+ "name": "snapshotMaxExchangeRate",
16462
16445
  "outputs": [
16463
16446
  {
16464
- "internalType": "address",
16465
- "name": "implementation_",
16466
- "type": "address"
16447
+ "internalType": "uint256",
16448
+ "name": "",
16449
+ "type": "uint256"
16467
16450
  }
16468
16451
  ],
16469
- "stateMutability": "nonpayable",
16452
+ "stateMutability": "view",
16470
16453
  "type": "function"
16471
16454
  },
16472
16455
  {
16473
- "inputs": [
16456
+ "inputs": [],
16457
+ "name": "snapshotTimestamp",
16458
+ "outputs": [
16474
16459
  {
16475
- "internalType": "address",
16476
- "name": "newImplementation",
16477
- "type": "address"
16460
+ "internalType": "uint256",
16461
+ "name": "",
16462
+ "type": "uint256"
16478
16463
  }
16479
16464
  ],
16480
- "name": "upgradeTo",
16481
- "outputs": [],
16482
- "stateMutability": "nonpayable",
16465
+ "stateMutability": "view",
16483
16466
  "type": "function"
16484
16467
  },
16485
16468
  {
16486
- "inputs": [
16487
- {
16488
- "internalType": "address",
16489
- "name": "newImplementation",
16490
- "type": "address"
16491
- },
16492
- {
16493
- "internalType": "bytes",
16494
- "name": "data",
16495
- "type": "bytes"
16496
- }
16497
- ],
16498
- "name": "upgradeToAndCall",
16469
+ "inputs": [],
16470
+ "name": "updateSnapshot",
16499
16471
  "outputs": [],
16500
- "stateMutability": "payable",
16472
+ "stateMutability": "nonpayable",
16501
16473
  "type": "function"
16502
- },
16503
- {
16504
- "stateMutability": "payable",
16505
- "type": "receive"
16506
16474
  }
16507
16475
  ]
16508
16476
  },
@@ -54,9 +54,7 @@
54
54
  "USDTChainlinkOracle": "0x22Dc2BAEa32E95AB07C2F5B8F63336CbF61aB6b8",
55
55
  "USDTChainlinkOracle_Implementation": "0x62A9F11209C4016a946BCf3CFdc9ff85d348E765",
56
56
  "USDTChainlinkOracle_Proxy": "0x22Dc2BAEa32E95AB07C2F5B8F63336CbF61aB6b8",
57
- "WBETHOracle": "0x739db790c656E54590957Ed4d6B94665bCcb3456",
58
- "WBETHOracle_Implementation": "0x9c79160d3ADF2436CE37379186DA37F2D3bbf92A",
59
- "WBETHOracle_Proxy": "0x739db790c656E54590957Ed4d6B94665bCcb3456",
57
+ "WBETHOracle": "0x49938fc72262c126eb5D4BdF6430C55189AEB2BA",
60
58
  "sUSDeOneJumpChainlinkOracle": "0xA67F01322AF8EBa444D788Ee398775b446de51a0",
61
59
  "sUSDeOneJumpRedstoneOracle": "0x2B2895104f958E1EC042E6Ba5cbfeCbAD3C5beDb",
62
60
  "weETHOneJumpChainlinkOracle": "0x3b3241698692906310A65ACA199701843404E175",
@@ -92,7 +92,7 @@ const func = async ({ getNamedAccounts, deployments, network }) => {
92
92
  skipIfAlreadyDeployed: true,
93
93
  });
94
94
  const wBETHAddress = wBETH || (await hardhat_1.ethers.getContract("MockWBETH")).address;
95
- const wBETH_ANNUAL_GROWTH_RATE = hardhat_1.ethers.utils.parseUnits("0.15", 18);
95
+ const wBETH_ANNUAL_GROWTH_RATE = 0;
96
96
  block = await hardhat_1.ethers.provider.getBlock("latest");
97
97
  const wBETHContract = await hardhat_1.ethers.getContractAt("IWBETH", wBETHAddress);
98
98
  exchangeRate = await wBETHContract.exchangeRate();
@@ -106,10 +106,10 @@ const func = async ({ getNamedAccounts, deployments, network }) => {
106
106
  oracle.address,
107
107
  wBETH_ANNUAL_GROWTH_RATE,
108
108
  SNAPSHOT_UPDATE_INTERVAL,
109
- exchangeRate,
110
- block.timestamp,
109
+ EXCHANGE_RATE,
110
+ SNAPSHOT_TIMESTAMP,
111
111
  acm,
112
- 0,
112
+ SNAPSHOT_GAP,
113
113
  ],
114
114
  skipIfAlreadyDeployed: true,
115
115
  });
@@ -1 +1 @@
1
- {"version":3,"file":"5-deploy-bnb-lst-oracles.js","sourceRoot":"","sources":["../../deploy/5-deploy-bnb-lst-oracles.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AAIjC,kEAAgE;AAEhE,MAAM,IAAI,GAAmB,KAAK,EAAE,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAA6B,EAAE,EAAE;IAC3G,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;IAC/B,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,gBAAgB,EAAE,CAAC;IAE9C,MAAM,MAAM,GAAG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CAAC,OAAO,CAAC,IAAI,KAAK,YAAY,IAAI,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@venusprotocol/oracle",
3
3
  "description": "Venus Protocol Price Oracle",
4
- "version": "2.15.0-dev.2",
4
+ "repository": "git@github.com:VenusProtocol/oracle.git",
5
+ "version": "2.15.0-dev.4",
5
6
  "author": "Venus",
6
7
  "engines": {
7
8
  "node": ">=18.x.x"