@reflexer-finance/geb-contract-api
Advanced tools
Comparing version 1.1.2 to 1.1.4
@@ -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 } 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 } from '.'; | ||
import { GebProviderInterface, GebDeployment } from '@reflexer-finance/geb-contract-base'; | ||
@@ -37,3 +37,5 @@ import { PiRateSetter } from './generated/PIRateSetter'; | ||
saviourUniswapLiquidityManager: UniswapLiquidityManagerLike; | ||
uniswapV3PairCoinEth: UniswapV3Pool; | ||
uniswapV3TwoTrancheLiquidityManager: GebUniswapV3TwoTrancheManager; | ||
constructor(network: GebDeployment, chainProvider: GebProviderInterface); | ||
} |
@@ -45,2 +45,4 @@ "use strict"; | ||
this.saviourUniswapLiquidityManager = new _1.UniswapLiquidityManagerLike(addressList.GEB_UNISWAP_SAVIOUR_LIQUIDITY_MANAGER, this.chainProvider); | ||
this.uniswapV3PairCoinEth = new _1.UniswapV3Pool(addressList.GEB_COIN_UNISWAP_V3_POOL, this.chainProvider); | ||
this.uniswapV3TwoTrancheLiquidityManager = new _1.GebUniswapV3TwoTrancheManager(addressList.GEB_UNISWAP_TWO_TRANCHE_MANAGER, this.chainProvider); | ||
} | ||
@@ -47,0 +49,0 @@ return ContractApis; |
@@ -17,4 +17,2 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
authorizedAccounts(address: string, multicall: true): MulticallRequest<BigNumber>; | ||
baseUpdateCallerReward(): Promise<BigNumber>; | ||
baseUpdateCallerReward(multicall: true): MulticallRequest<BigNumber>; | ||
converterComputeAmountOut(timeElapsed: BigNumberish, amountIn: BigNumberish): Promise<BigNumber>; | ||
@@ -42,4 +40,2 @@ converterComputeAmountOut(timeElapsed: BigNumberish, amountIn: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
earliestObservationIndex(multicall: true): MulticallRequest<BigNumber>; | ||
getCallerReward(timeOfLastUpdate: BigNumberish, defaultDelayBetweenCalls: BigNumberish): Promise<BigNumber>; | ||
getCallerReward(timeOfLastUpdate: BigNumberish, defaultDelayBetweenCalls: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
getObservationListLength(): Promise<{ | ||
@@ -65,6 +61,2 @@ 0: BigNumber; | ||
lastUpdateTime(multicall: true): MulticallRequest<BigNumber>; | ||
maxRewardIncreaseDelay(): Promise<BigNumber>; | ||
maxRewardIncreaseDelay(multicall: true): MulticallRequest<BigNumber>; | ||
maxUpdateCallerReward(): Promise<BigNumber>; | ||
maxUpdateCallerReward(multicall: true): MulticallRequest<BigNumber>; | ||
maxWindowSize(): Promise<BigNumber>; | ||
@@ -78,4 +70,2 @@ maxWindowSize(multicall: true): MulticallRequest<BigNumber>; | ||
multiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
perSecondCallerRewardIncrease(): Promise<BigNumber>; | ||
perSecondCallerRewardIncrease(multicall: true): MulticallRequest<BigNumber>; | ||
periodSize(): Promise<BigNumber>; | ||
@@ -91,2 +81,4 @@ periodSize(multicall: true): MulticallRequest<BigNumber>; | ||
read(multicall: true): MulticallRequest<BigNumber>; | ||
relayer(): Promise<string>; | ||
relayer(multicall: true): MulticallRequest<string>; | ||
removeAuthorization(account: string): TransactionRequest; | ||
@@ -105,6 +97,2 @@ rmultiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
timeElapsedSinceFirstObservation(multicall: true): MulticallRequest<BigNumber>; | ||
treasury(): Promise<string>; | ||
treasury(multicall: true): MulticallRequest<string>; | ||
treasuryAllowance(): Promise<BigNumber>; | ||
treasuryAllowance(multicall: true): MulticallRequest<BigNumber>; | ||
uniswapComputeAmountOut(priceCumulativeStart: BigNumberish, priceCumulativeEnd: BigNumberish, timeElapsed: BigNumberish, amountIn: BigNumberish): Promise<BigNumber>; | ||
@@ -111,0 +99,0 @@ uniswapComputeAmountOut(priceCumulativeStart: BigNumberish, priceCumulativeEnd: BigNumberish, timeElapsed: BigNumberish, amountIn: BigNumberish, multicall: true): MulticallRequest<BigNumber>; |
@@ -55,8 +55,2 @@ "use strict"; | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.baseUpdateCallerReward = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "baseUpdateCallerReward", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.converterComputeAmountOut = function (timeElapsed, amountIn, multicall) { | ||
@@ -110,8 +104,2 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.getCallerReward = function (timeOfLastUpdate, defaultDelayBetweenCalls, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "timeOfLastUpdate", "type": "uint256" }, { "internalType": "uint256", "name": "defaultDelayBetweenCalls", "type": "uint256" }], "name": "getCallerReward", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [timeOfLastUpdate, defaultDelayBetweenCalls], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.getObservationListLength = function (multicall) { | ||
@@ -141,14 +129,2 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.maxRewardIncreaseDelay = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "maxRewardIncreaseDelay", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.maxUpdateCallerReward = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "maxUpdateCallerReward", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.maxWindowSize = function (multicall) { | ||
@@ -184,8 +160,2 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.perSecondCallerRewardIncrease = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "perSecondCallerRewardIncrease", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.periodSize = function (multicall) { | ||
@@ -221,2 +191,8 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.relayer = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "relayer", "outputs": [{ "internalType": "contract IncreasingRewardRelayerLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.removeAuthorization = function (account) { | ||
@@ -264,14 +240,2 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.treasury = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "treasury", "outputs": [{ "internalType": "contract StabilityFeeTreasuryLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.treasuryAllowance = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "treasuryAllowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.uniswapComputeAmountOut = function (priceCumulativeStart, priceCumulativeEnd, timeElapsed, amountIn, multicall) { | ||
@@ -278,0 +242,0 @@ // prettier-ignore |
@@ -44,2 +44,4 @@ import { AccountingEngine } from './generated/AccountingEngine'; | ||
import { GebProxySaviourActions } from './generated/GebProxySaviourActions'; | ||
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, }; | ||
import { GebUniswapV3TwoTrancheManager } from './generated/GebUniswapV3TwoTrancheManager'; | ||
import { UniswapV3Pool } from './generated/UniswapV3Pool'; | ||
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, }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
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.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"); | ||
@@ -90,1 +90,5 @@ Object.defineProperty(exports, "AccountingEngine", { enumerable: true, get: function () { return AccountingEngine_1.AccountingEngine; } }); | ||
Object.defineProperty(exports, "GebProxySaviourActions", { enumerable: true, get: function () { return GebProxySaviourActions_1.GebProxySaviourActions; } }); | ||
var GebUniswapV3TwoTrancheManager_1 = require("./generated/GebUniswapV3TwoTrancheManager"); | ||
Object.defineProperty(exports, "GebUniswapV3TwoTrancheManager", { enumerable: true, get: function () { return GebUniswapV3TwoTrancheManager_1.GebUniswapV3TwoTrancheManager; } }); | ||
var UniswapV3Pool_1 = require("./generated/UniswapV3Pool"); | ||
Object.defineProperty(exports, "UniswapV3Pool", { enumerable: true, get: function () { return UniswapV3Pool_1.UniswapV3Pool; } }); |
{ | ||
"name": "@reflexer-finance/geb-contract-api", | ||
"version": "1.1.2", | ||
"version": "1.1.4", | ||
"description": "", | ||
@@ -13,3 +13,3 @@ "main": "./lib/index.js", | ||
"@ethersproject/bignumber": "5.x", | ||
"@reflexer-finance/geb-contract-base": "^1.1.2" | ||
"@reflexer-finance/geb-contract-base": "^1.1.4" | ||
}, | ||
@@ -20,3 +20,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "4e4f7427c92d4033273cc0ecb19fa1a785e47e66" | ||
"gitHead": "230a417ee67de7af7d6f70c8ae7e462deec30033" | ||
} |
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
898232
122
13724