Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gearbox-protocol/airdrop

Package Overview
Dependencies
Maintainers
7
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gearbox-protocol/airdrop - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

dist/rewards/poolRewardParams.d.ts
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>;

37

dist/rewards/poolRewardParams.js
"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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc