@gearbox-protocol/airdrop
Advanced tools
Comparing version 1.0.2 to 1.0.3
import { DieselTokenTypes, NetworkType } from "@gearbox-protocol/sdk"; | ||
import { RangedValue } from "./range"; | ||
export declare const poolRewardsPerBlock: Record<NetworkType, Record<DieselTokenTypes, RangedValue>>; | ||
export declare const GEAR_PER_BLOCK: Record<DieselTokenTypes, number>; | ||
export declare const GEAR_PER_BLOCK_GIP30: Record<DieselTokenTypes, number>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.poolRewardsPerBlock = void 0; | ||
exports.GEAR_PER_BLOCK_GIP30 = exports.GEAR_PER_BLOCK = exports.poolRewardsPerBlock = void 0; | ||
const ethers_1 = require("ethers"); | ||
@@ -22,3 +22,3 @@ const range_1 = require("./range"); | ||
}; | ||
const GEAR_PER_BLOCK = { | ||
exports.GEAR_PER_BLOCK = { | ||
dDAI: 2283, | ||
@@ -30,14 +30,27 @@ dUSDC: 2283, | ||
}; | ||
exports.GEAR_PER_BLOCK_GIP30 = { | ||
dDAI: 2283, | ||
dUSDC: 3101, | ||
dWETH: 4014, | ||
dWBTC: 457, | ||
dwstETH: 0, | ||
}; | ||
const GOERLI_BLOCK = 7694030; | ||
exports.poolRewardsPerBlock.Goerli.dDAI.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dDAI).div(100)); | ||
exports.poolRewardsPerBlock.Goerli.dUSDC.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dUSDC).div(100)); | ||
exports.poolRewardsPerBlock.Goerli.dWETH.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dWETH).div(100)); | ||
exports.poolRewardsPerBlock.Goerli.dWBTC.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dWBTC).div(100)); | ||
exports.poolRewardsPerBlock.Goerli.dwstETH.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dwstETH).div(100)); | ||
exports.poolRewardsPerBlock.Goerli.dDAI.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dDAI).div(100)); | ||
exports.poolRewardsPerBlock.Goerli.dUSDC.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dUSDC).div(100)); | ||
exports.poolRewardsPerBlock.Goerli.dWETH.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dWETH).div(100)); | ||
exports.poolRewardsPerBlock.Goerli.dWBTC.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dWBTC).div(100)); | ||
exports.poolRewardsPerBlock.Goerli.dwstETH.addValue(GOERLI_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dwstETH).div(100)); | ||
const MAINNET_BLOCK = 15820000; | ||
exports.poolRewardsPerBlock.Mainnet.dDAI.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dDAI).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dUSDC.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dUSDC).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dWETH.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dWETH).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dWBTC.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dWBTC).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dwstETH.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(GEAR_PER_BLOCK.dwstETH).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dDAI.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dDAI).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dUSDC.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dUSDC).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dWETH.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dWETH).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dWBTC.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dWBTC).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dwstETH.addValue(MAINNET_BLOCK, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK.dwstETH).div(100)); | ||
// poolRewardsPerBlock.Goerli.dDAI.addValue(90000, BigNumber.from(0)); | ||
const MAINNET_BLOCK_GIP30 = 15977000; | ||
exports.poolRewardsPerBlock.Mainnet.dDAI.addValue(MAINNET_BLOCK_GIP30, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK_GIP30.dDAI).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dUSDC.addValue(MAINNET_BLOCK_GIP30, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK_GIP30.dUSDC).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dWETH.addValue(MAINNET_BLOCK_GIP30, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK_GIP30.dWETH).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dWBTC.addValue(MAINNET_BLOCK_GIP30, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK_GIP30.dWBTC).div(100)); | ||
exports.poolRewardsPerBlock.Mainnet.dwstETH.addValue(MAINNET_BLOCK_GIP30, ethers_1.BigNumber.from(10).pow(18).mul(exports.GEAR_PER_BLOCK_GIP30.dwstETH).div(100)); |
{ | ||
"name": "@gearbox-protocol/airdrop", | ||
"description": "Airdrop center for Gearbox protocol", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"homepage": "https://gearbox.fi", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38681
760