@gearbox-protocol/sdk 1.16.0 → 1.16.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.
|
@@ -4,3 +4,4 @@ import { RangedValue } from "./range";
|
|
|
4
4
|
export declare const creditRewardsPerBlock: Record<CreditManagersV2, RangedValue>;
|
|
5
5
|
export declare const GEAR_PER_BLOCK: Record<DieselTokenTypes, number>;
|
|
6
6
|
export declare const GOERLI_BLOCK = 7694030;
|
|
7
|
+
export declare const MAINNET_BLOCK = 15724000;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.GOERLI_BLOCK = exports.GEAR_PER_BLOCK = exports.creditRewardsPerBlock = void 0;
|
|
4
|
+
exports.MAINNET_BLOCK = exports.GOERLI_BLOCK = exports.GEAR_PER_BLOCK = exports.creditRewardsPerBlock = void 0;
|
|
5
5
|
var ethers_1 = require("ethers");
|
|
6
6
|
var contractsRegister_1 = require("../contracts/contractsRegister");
|
|
7
7
|
var range_1 = require("./range");
|
|
@@ -19,11 +19,11 @@ exports.creditRewardsPerBlock = (_a = {},
|
|
|
19
19
|
_a[contractsRegister_1.CREDIT_MANAGER_WBTC_V2_GOERLI] = new range_1.RangedValue(),
|
|
20
20
|
_a);
|
|
21
21
|
exports.GEAR_PER_BLOCK = {
|
|
22
|
-
dDAI:
|
|
23
|
-
dUSDC:
|
|
24
|
-
dWETH:
|
|
25
|
-
dWBTC:
|
|
26
|
-
dwstETH:
|
|
22
|
+
dDAI: 166,
|
|
23
|
+
dUSDC: 166,
|
|
24
|
+
dWETH: 230,
|
|
25
|
+
dWBTC: 66,
|
|
26
|
+
dwstETH: 118,
|
|
27
27
|
};
|
|
28
28
|
exports.GOERLI_BLOCK = 7694030;
|
|
29
29
|
exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_DAI_V2_GOERLI].addValue(exports.GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dDAI).div(100));
|
|
@@ -31,3 +31,9 @@ exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_USDC_V2_GOERLI]
|
|
|
31
31
|
exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_WETH_V2_GOERLI].addValue(exports.GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dWETH).div(100));
|
|
32
32
|
exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_WSTETH_V2_GOERLI].addValue(exports.GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dwstETH).div(100));
|
|
33
33
|
exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_WBTC_V2_GOERLI].addValue(exports.GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dWBTC).div(100));
|
|
34
|
+
exports.MAINNET_BLOCK = 15724000;
|
|
35
|
+
exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_DAI_V2_MAINNET].addValue(exports.MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dDAI).div(100));
|
|
36
|
+
exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_USDC_V2_MAINNET].addValue(exports.MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dUSDC).div(100));
|
|
37
|
+
exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_WETH_V2_MAINNET].addValue(exports.MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dWETH).div(100));
|
|
38
|
+
exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_WSTETH_V2_MAINNET].addValue(exports.MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dwstETH).div(100));
|
|
39
|
+
exports.creditRewardsPerBlock[contractsRegister_1.CREDIT_MANAGER_WBTC_V2_MAINNET].addValue(exports.MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dWBTC).div(100));
|