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

@gearbox-protocol/airdrop

Package Overview
Dependencies
Maintainers
10
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.5.5 to 1.5.6

6

dist/rewards/creditRewards.js

@@ -35,3 +35,3 @@ "use strict";

let totalBorrowed = 0n;
const cfi = sdk_1.ICreditFacade__factory.createInterface();
const cfi = sdk_1.ICreditFacadeV2__factory.createInterface();
events.forEach(e => {

@@ -137,3 +137,3 @@ const event = cfi.parseLog(e);

const cfAddrs = (await Promise.all(ccAddrs.map(async (ccAddr) => {
const cc = sdk_1.ICreditConfigurator__factory.connect(ccAddr, provider);
const cc = sdk_1.ICreditConfiguratorV2__factory.connect(ccAddr, provider);
const cfUpgradedEvents = await cc.queryFilter(cc.filters.CreditFacadeUpgraded(), undefined, toBlock);

@@ -146,3 +146,3 @@ return cfUpgradedEvents.map(e => e.args.newCreditFacade);

static async query(creditFacade, provider, toBlock) {
const cf = sdk_1.ICreditFacade__factory.connect(creditFacade, provider);
const cf = sdk_1.ICreditFacadeV2__factory.connect(creditFacade, provider);
const topics = {

@@ -149,0 +149,0 @@ OpenCreditAccount: cf.interface.getEventTopic("OpenCreditAccount"),

import { NetworkType } from "@gearbox-protocol/sdk";
import { TransferEvent } from "@gearbox-protocol/sdk/lib/types/@openzeppelin/contracts/token/ERC20/IERC20";
import { TransferEvent } from "@gearbox-protocol/sdk/lib/types/IERC20";
import { providers } from "ethers";

@@ -4,0 +4,0 @@ import { RangedValue } from "./range";

{
"name": "@gearbox-protocol/airdrop",
"description": "Airdrop center for Gearbox protocol",
"version": "1.5.5",
"version": "1.5.6",
"homepage": "https://gearbox.fi",

@@ -46,3 +46,3 @@ "keywords": [

"@gearbox-protocol/prettier-config": "^1.5.0",
"@gearbox-protocol/sdk": "^2.1.9",
"@gearbox-protocol/sdk": "^v3.0.0-next.31",
"@nomiclabs/hardhat-ethers": "^2.0.5",

@@ -49,0 +49,0 @@ "@nomiclabs/hardhat-etherscan": "^3.1.0",

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