@gearbox-protocol/airdrop
Advanced tools
Comparing version 1.5.5 to 1.5.6
@@ -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", |
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
51714