@reflexer-finance/geb-contract-api
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -1,2 +0,2 @@ | ||
import { AccountingEngine, TaxCollector, LiquidationEngine, OracleRelayer, GlobalSettlement, DebtAuctionHouse, Coin, GebSafeManager, GetSafes, BasicCollateralJoin, CoinJoin, GebProxyRegistry, FixedDiscountCollateralAuctionHouse, Weth9, SafeEngine, ChainlinkRelayer, UniswapConsecutiveSlotsMedianRaiusd, Osm, StabilityFeeTreasury, DsDelegateToken, StakingRewardsFactory, UniswapV2Pair, BurningSurplusAuctionHouse, UniswapLiquidityManagerLike, NativeUnderlyingUniswapSafeSaviour, SaviourCRatioSetter, UniswapV3Pool, GebUniswapV3TwoTrancheManager, GebLenderFirstResort, StakedTokenAuctionHouse } from '.'; | ||
import { AccountingEngine, TaxCollector, LiquidationEngine, OracleRelayer, GlobalSettlement, DebtAuctionHouse, Coin, GebSafeManager, GetSafes, BasicCollateralJoin, CoinJoin, GebProxyRegistry, FixedDiscountCollateralAuctionHouse, Weth9, SafeEngine, ChainlinkRelayer, UniswapConsecutiveSlotsMedianRaiusd, Osm, StabilityFeeTreasury, DsDelegateToken, StakingRewardsFactory, UniswapV2Pair, BurningSurplusAuctionHouse, UniswapLiquidityManagerLike, NativeUnderlyingUniswapSafeSaviour, SaviourCRatioSetter, UniswapV3Pool, GebUniswapV3TwoTrancheManager, GebLenderFirstResort, StakedTokenAuctionHouse, DsDelegateTokenNoTransfer } from '.'; | ||
import { GebProviderInterface, GebDeployment } from '@reflexer-finance/geb-contract-base'; | ||
@@ -43,3 +43,4 @@ import { PiRateSetter } from './generated/PIRateSetter'; | ||
stakingToken: Erc20; | ||
stakedProt: DsDelegateTokenNoTransfer; | ||
constructor(network: GebDeployment, chainProvider: GebProviderInterface); | ||
} |
@@ -51,2 +51,3 @@ "use strict"; | ||
this.stakingToken = new ERC20_1.Erc20(addressList.GEB_STAKING_TOKEN, this.chainProvider); | ||
this.stakedProt = new _1.DsDelegateTokenNoTransfer(addressList.GEB_STAKED_PROT, this.chainProvider); | ||
} | ||
@@ -53,0 +54,0 @@ return ContractApis; |
@@ -38,2 +38,4 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
depositedAncestor(multicall: true): MulticallRequest<BigNumber>; | ||
descendant(): Promise<string>; | ||
descendant(multicall: true): MulticallRequest<string>; | ||
descendantBalanceOf(address: string): Promise<BigNumber>; | ||
@@ -74,2 +76,4 @@ descendantBalanceOf(address: string, multicall: true): MulticallRequest<BigNumber>; | ||
modifyParameters__Bytes32Uint256(parameter: BytesLike, data: BigNumberish): TransactionRequest; | ||
pendingRewards(user: string): Promise<BigNumber>; | ||
pendingRewards(user: string, multicall: true): MulticallRequest<BigNumber>; | ||
percentageVested(): Promise<BigNumber>; | ||
@@ -86,2 +90,4 @@ percentageVested(multicall: true): MulticallRequest<BigNumber>; | ||
rewardPool(multicall: true): MulticallRequest<string>; | ||
rewardRate(): Promise<BigNumber>; | ||
rewardRate(multicall: true): MulticallRequest<BigNumber>; | ||
rewardsBalance(): Promise<BigNumber>; | ||
@@ -88,0 +94,0 @@ rewardsBalance(multicall: true): MulticallRequest<BigNumber>; |
@@ -121,2 +121,8 @@ "use strict"; | ||
}; | ||
GebLenderFirstResort.prototype.descendant = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "descendant", "outputs": [{ "internalType": "contract TokenLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.descendantBalanceOf = function (address, multicall) { | ||
@@ -224,2 +230,8 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.pendingRewards = function (user, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "address", "name": "user", "type": "address" }], "name": "pendingRewards", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [user], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.percentageVested = function (multicall) { | ||
@@ -267,2 +279,8 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.rewardRate = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "rewardRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.rewardsBalance = function (multicall) { | ||
@@ -269,0 +287,0 @@ // prettier-ignore |
@@ -48,2 +48,3 @@ import { AccountingEngine } from './generated/AccountingEngine'; | ||
import { GebLenderFirstResort } from './generated/GebLenderFirstResort'; | ||
export { ContractApis, AccountingEngine, BasicCollateralJoin, CoinJoin, Coin, DebtAuctionHouse, DsProxy, FixedDiscountCollateralAuctionHouse, GebProxyRegistry, GebSafeManager, GetSafes, GlobalSettlement, LiquidationEngine, OracleRelayer, SafeEngine, StabilityFeeTreasury, TaxCollector, GebProxyActions, GebProxyActionsGlobalSettlement, Multicall, Erc20, Osm, PRawPerSecondCalculator, PiRateSetter, UniswapConsecutiveSlotsMedianRaiusd, Weth9, GebProxyLeverageActions, GebProxyIncentivesActions, BurningSurplusAuctionHouse, RecyclingSurplusAuctionHouse, DsDelegateToken, StakingRewards, StakingRewardsFactory, UniswapV2Pair, GebProxyDebtAuctionActions, GebProxySurplusAuctionActions, MerkleDistributorFactory, MerkleDistributor, ChainlinkRelayer, NativeUnderlyingUniswapSafeSaviour, SaviourCRatioSetter, UniswapLiquidityManagerLike, GebProxySaviourActions, UniswapV3Pool, GebUniswapV3TwoTrancheManager, GebLenderFirstResort, StakedTokenAuctionHouse, }; | ||
import { DsDelegateTokenNoTransfer } from './generated/DSDelegateTokenNoTransfer'; | ||
export { ContractApis, AccountingEngine, BasicCollateralJoin, CoinJoin, Coin, DebtAuctionHouse, DsProxy, FixedDiscountCollateralAuctionHouse, GebProxyRegistry, GebSafeManager, GetSafes, GlobalSettlement, LiquidationEngine, OracleRelayer, SafeEngine, StabilityFeeTreasury, TaxCollector, GebProxyActions, GebProxyActionsGlobalSettlement, Multicall, Erc20, Osm, PRawPerSecondCalculator, PiRateSetter, UniswapConsecutiveSlotsMedianRaiusd, Weth9, GebProxyLeverageActions, GebProxyIncentivesActions, BurningSurplusAuctionHouse, RecyclingSurplusAuctionHouse, DsDelegateToken, StakingRewards, StakingRewardsFactory, UniswapV2Pair, GebProxyDebtAuctionActions, GebProxySurplusAuctionActions, MerkleDistributorFactory, MerkleDistributor, ChainlinkRelayer, NativeUnderlyingUniswapSafeSaviour, SaviourCRatioSetter, UniswapLiquidityManagerLike, GebProxySaviourActions, UniswapV3Pool, GebUniswapV3TwoTrancheManager, GebLenderFirstResort, StakedTokenAuctionHouse, DsDelegateTokenNoTransfer, }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.StakedTokenAuctionHouse = exports.GebLenderFirstResort = exports.GebUniswapV3TwoTrancheManager = exports.UniswapV3Pool = exports.GebProxySaviourActions = exports.UniswapLiquidityManagerLike = exports.SaviourCRatioSetter = exports.NativeUnderlyingUniswapSafeSaviour = exports.ChainlinkRelayer = exports.MerkleDistributor = exports.MerkleDistributorFactory = exports.GebProxySurplusAuctionActions = exports.GebProxyDebtAuctionActions = exports.UniswapV2Pair = exports.StakingRewardsFactory = exports.StakingRewards = exports.DsDelegateToken = exports.RecyclingSurplusAuctionHouse = exports.BurningSurplusAuctionHouse = exports.GebProxyIncentivesActions = exports.GebProxyLeverageActions = exports.Weth9 = exports.UniswapConsecutiveSlotsMedianRaiusd = exports.PiRateSetter = exports.PRawPerSecondCalculator = exports.Osm = exports.Erc20 = exports.Multicall = exports.GebProxyActionsGlobalSettlement = exports.GebProxyActions = exports.TaxCollector = exports.StabilityFeeTreasury = exports.SafeEngine = exports.OracleRelayer = exports.LiquidationEngine = exports.GlobalSettlement = exports.GetSafes = exports.GebSafeManager = exports.GebProxyRegistry = exports.FixedDiscountCollateralAuctionHouse = exports.DsProxy = exports.DebtAuctionHouse = exports.Coin = exports.CoinJoin = exports.BasicCollateralJoin = exports.AccountingEngine = exports.ContractApis = void 0; | ||
exports.DsDelegateTokenNoTransfer = exports.StakedTokenAuctionHouse = exports.GebLenderFirstResort = exports.GebUniswapV3TwoTrancheManager = exports.UniswapV3Pool = exports.GebProxySaviourActions = exports.UniswapLiquidityManagerLike = exports.SaviourCRatioSetter = exports.NativeUnderlyingUniswapSafeSaviour = exports.ChainlinkRelayer = exports.MerkleDistributor = exports.MerkleDistributorFactory = exports.GebProxySurplusAuctionActions = exports.GebProxyDebtAuctionActions = exports.UniswapV2Pair = exports.StakingRewardsFactory = exports.StakingRewards = exports.DsDelegateToken = exports.RecyclingSurplusAuctionHouse = exports.BurningSurplusAuctionHouse = exports.GebProxyIncentivesActions = exports.GebProxyLeverageActions = exports.Weth9 = exports.UniswapConsecutiveSlotsMedianRaiusd = exports.PiRateSetter = exports.PRawPerSecondCalculator = exports.Osm = exports.Erc20 = exports.Multicall = exports.GebProxyActionsGlobalSettlement = exports.GebProxyActions = exports.TaxCollector = exports.StabilityFeeTreasury = exports.SafeEngine = exports.OracleRelayer = exports.LiquidationEngine = exports.GlobalSettlement = exports.GetSafes = exports.GebSafeManager = exports.GebProxyRegistry = exports.FixedDiscountCollateralAuctionHouse = exports.DsProxy = exports.DebtAuctionHouse = exports.Coin = exports.CoinJoin = exports.BasicCollateralJoin = exports.AccountingEngine = exports.ContractApis = void 0; | ||
var AccountingEngine_1 = require("./generated/AccountingEngine"); | ||
@@ -98,1 +98,3 @@ Object.defineProperty(exports, "AccountingEngine", { enumerable: true, get: function () { return AccountingEngine_1.AccountingEngine; } }); | ||
Object.defineProperty(exports, "GebLenderFirstResort", { enumerable: true, get: function () { return GebLenderFirstResort_1.GebLenderFirstResort; } }); | ||
var DSDelegateTokenNoTransfer_1 = require("./generated/DSDelegateTokenNoTransfer"); | ||
Object.defineProperty(exports, "DsDelegateTokenNoTransfer", { enumerable: true, get: function () { return DSDelegateTokenNoTransfer_1.DsDelegateTokenNoTransfer; } }); |
{ | ||
"name": "@reflexer-finance/geb-contract-api", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"description": "", | ||
@@ -13,3 +13,3 @@ "main": "./lib/index.js", | ||
"@ethersproject/bignumber": "5.x", | ||
"@reflexer-finance/geb-contract-base": "^1.1.11" | ||
"@reflexer-finance/geb-contract-base": "^1.1.12" | ||
}, | ||
@@ -20,3 +20,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "ba01ad9c5fa4d3c7f59c631d97712b31ef39a8d8" | ||
"gitHead": "f85c82f27cc842041b8bc511b89e4881f394ddd9" | ||
} |
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
962741
128
14758