@reflexer-finance/geb-contract-api
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -14,3 +14,3 @@ import { AccountingEngine, TaxCollector, LiquidationEngine, OracleRelayer, GlobalSettlement, DebtAuctionHouse, PreSettlementSurplusAuctionHouse, Coin, GebSafeManager, GetSafes, BasicCollateralJoin, CoinJoin, GebProxyRegistry, FixedDiscountCollateralAuctionHouse, Weth9, SafeEngine, ChainlinkMedianEthusd, UniswapConsecutiveSlotsMedianRaiusd, Osm, StabilityFeeTreasury, DsDelegateToken, StakingRewardsFactory, UniswapV2Pair } from '.'; | ||
debtAuctionHouse: DebtAuctionHouse; | ||
preSettlementSurplusAuctionHouse: PreSettlementSurplusAuctionHouse; | ||
surplusAuctionHouse: PreSettlementSurplusAuctionHouse; | ||
stabilityFeeTreasury: StabilityFeeTreasury; | ||
@@ -17,0 +17,0 @@ safeManager: GebSafeManager; |
@@ -22,3 +22,3 @@ "use strict"; | ||
this.debtAuctionHouse = new _1.DebtAuctionHouse(addressList.GEB_DEBT_AUCTION_HOUSE, this.chainProvider); | ||
this.preSettlementSurplusAuctionHouse = new _1.PreSettlementSurplusAuctionHouse(addressList.GEB_SURPLUS_AUCTION_HOUSE, this.chainProvider); | ||
this.surplusAuctionHouse = new _1.BurningSurplusAuctionHouse(addressList.GEB_SURPLUS_AUCTION_HOUSE, this.chainProvider); | ||
this.stabilityFeeTreasury = new _1.StabilityFeeTreasury(addressList.GEB_STABILITY_FEE_TREASURY, this.chainProvider); | ||
@@ -39,3 +39,3 @@ this.safeManager = new _1.GebSafeManager(addressList.SAFE_MANAGER, this.chainProvider); | ||
this.protocolToken = new _1.DsDelegateToken(addressList.GEB_PROT, this.chainProvider); | ||
this.stakingRewardFactory = new _1.StakingRewardsFactory(addressList.GEB_INCENTIVES, this.chainProvider); | ||
this.stakingRewardFactory = new _1.StakingRewardsFactory(addressList.GEB_INCENTIVES_MINER, this.chainProvider); | ||
this.uniswapPairCoinEth = new _1.UniswapV2Pair(addressList.GEB_COIN_UNISWAP_POOL, this.chainProvider); | ||
@@ -42,0 +42,0 @@ this.medianizerCoinSpot = new _1.UniswapConsecutiveSlotsMedianRaiusd(addressList.SPOT_RAI, this.chainProvider); |
@@ -10,2 +10,4 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
AUCTION_HOUSE_TYPE(multicall: true): MulticallRequest<string>; | ||
SURPLUS_AUCTION_TYPE(): Promise<string>; | ||
SURPLUS_AUCTION_TYPE(multicall: true): MulticallRequest<string>; | ||
addAuthorization(account: string): TransactionRequest; | ||
@@ -12,0 +14,0 @@ auctionsStarted(): Promise<BigNumber>; |
@@ -31,2 +31,8 @@ "use strict"; | ||
}; | ||
BurningSurplusAuctionHouse.prototype.SURPLUS_AUCTION_TYPE = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "SURPLUS_AUCTION_TYPE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
BurningSurplusAuctionHouse.prototype.addAuthorization = function (account) { | ||
@@ -33,0 +39,0 @@ // prettier-ignore |
@@ -8,3 +8,9 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
export declare class ChainlinkMedianEthusd extends BaseContractAPI { | ||
RAY(): Promise<BigNumber>; | ||
RAY(multicall: true): MulticallRequest<BigNumber>; | ||
WAD(): Promise<BigNumber>; | ||
WAD(multicall: true): MulticallRequest<BigNumber>; | ||
addAuthorization(account: string): TransactionRequest; | ||
addition(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
addition(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
authorizedAccounts(address: string): Promise<BigNumber>; | ||
@@ -16,4 +22,4 @@ authorizedAccounts(address: string, multicall: true): MulticallRequest<BigNumber>; | ||
chainlinkAggregator(multicall: true): MulticallRequest<string>; | ||
getCallerReward(): Promise<BigNumber>; | ||
getCallerReward(multicall: true): MulticallRequest<BigNumber>; | ||
getCallerReward(timeOfLastUpdate: BigNumberish, defaultDelayBetweenCalls: BigNumberish): Promise<BigNumber>; | ||
getCallerReward(timeOfLastUpdate: BigNumberish, defaultDelayBetweenCalls: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
getResultWithValidity(): Promise<{ | ||
@@ -35,2 +41,4 @@ 0: BigNumber; | ||
maxUpdateCallerReward(multicall: true): MulticallRequest<BigNumber>; | ||
minimum(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
minimum(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
modifyParameters__Bytes32Address(parameter: BytesLike, addr: string): TransactionRequest; | ||
@@ -40,2 +48,4 @@ modifyParameters__Bytes32Uint256(parameter: BytesLike, data: BigNumberish): TransactionRequest; | ||
multiplier(multicall: true): MulticallRequest<number>; | ||
multiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
multiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
perSecondCallerRewardIncrease(): Promise<BigNumber>; | ||
@@ -45,7 +55,19 @@ perSecondCallerRewardIncrease(multicall: true): MulticallRequest<BigNumber>; | ||
periodSize(multicall: true): MulticallRequest<BigNumber>; | ||
rad(x: BigNumberish): Promise<BigNumber>; | ||
rad(x: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
ray(x: BigNumberish): Promise<BigNumber>; | ||
ray(x: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
rdivide(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
rdivide(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
read(): Promise<BigNumber>; | ||
read(multicall: true): MulticallRequest<BigNumber>; | ||
removeAuthorization(account: string): TransactionRequest; | ||
rmultiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
rmultiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
rpower(x: BigNumberish, n: BigNumberish, base: BigNumberish): Promise<BigNumber>; | ||
rpower(x: BigNumberish, n: BigNumberish, base: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
staleThreshold(): Promise<BigNumber>; | ||
staleThreshold(multicall: true): MulticallRequest<BigNumber>; | ||
subtract(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
subtract(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
symbol(): Promise<string>; | ||
@@ -58,2 +80,6 @@ symbol(multicall: true): MulticallRequest<string>; | ||
updateResult(feeReceiver: string): TransactionRequest; | ||
wdivide(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
wdivide(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
wmultiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
wmultiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
} |
@@ -25,2 +25,14 @@ "use strict"; | ||
} | ||
ChainlinkMedianEthusd.prototype.RAY = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "RAY", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.WAD = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "WAD", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.addAuthorization = function (account) { | ||
@@ -32,2 +44,8 @@ // prettier-ignore | ||
}; | ||
ChainlinkMedianEthusd.prototype.addition = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "addition", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.authorizedAccounts = function (address, multicall) { | ||
@@ -51,7 +69,7 @@ // prettier-ignore | ||
}; | ||
ChainlinkMedianEthusd.prototype.getCallerReward = function (multicall) { | ||
ChainlinkMedianEthusd.prototype.getCallerReward = function (timeOfLastUpdate, defaultDelayBetweenCalls, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "getCallerReward", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
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); | ||
}; | ||
@@ -88,2 +106,8 @@ ChainlinkMedianEthusd.prototype.getResultWithValidity = function (multicall) { | ||
}; | ||
ChainlinkMedianEthusd.prototype.minimum = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "minimum", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.modifyParameters__Bytes32Address = function (parameter, addr) { | ||
@@ -107,2 +131,8 @@ // prettier-ignore | ||
}; | ||
ChainlinkMedianEthusd.prototype.multiply = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "multiply", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.perSecondCallerRewardIncrease = function (multicall) { | ||
@@ -120,2 +150,20 @@ // prettier-ignore | ||
}; | ||
ChainlinkMedianEthusd.prototype.rad = function (x, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }], "name": "rad", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.ray = function (x, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }], "name": "ray", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.rdivide = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "rdivide", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.read = function (multicall) { | ||
@@ -133,2 +181,14 @@ // prettier-ignore | ||
}; | ||
ChainlinkMedianEthusd.prototype.rmultiply = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "rmultiply", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.rpower = function (x, n, base, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "n", "type": "uint256" }, { "internalType": "uint256", "name": "base", "type": "uint256" }], "name": "rpower", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, n, base], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.staleThreshold = function (multicall) { | ||
@@ -140,2 +200,8 @@ // prettier-ignore | ||
}; | ||
ChainlinkMedianEthusd.prototype.subtract = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "subtract", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.symbol = function (multicall) { | ||
@@ -165,4 +231,16 @@ // prettier-ignore | ||
}; | ||
ChainlinkMedianEthusd.prototype.wdivide = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "wdivide", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
ChainlinkMedianEthusd.prototype.wmultiply = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "wmultiply", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
return ChainlinkMedianEthusd; | ||
}(geb_contract_base_1.BaseContractAPI)); | ||
exports.ChainlinkMedianEthusd = ChainlinkMedianEthusd; |
@@ -23,8 +23,5 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
chainId(multicall: true): MulticallRequest<BigNumber>; | ||
changeData(): Promise<BigNumber>; | ||
changeData(multicall: true): MulticallRequest<BigNumber>; | ||
decimals(): Promise<number>; | ||
decimals(multicall: true): MulticallRequest<number>; | ||
mint(usr: string, amount: BigNumberish): TransactionRequest; | ||
modifyParameters(parameter: BytesLike, data: BigNumberish): TransactionRequest; | ||
move(src: string, dst: string, amount: BigNumberish): TransactionRequest; | ||
@@ -39,4 +36,2 @@ name(): Promise<string>; | ||
removeAuthorization(account: string): TransactionRequest; | ||
setName(name_: string): TransactionRequest; | ||
setSymbol(symbol_: string): TransactionRequest; | ||
symbol(): Promise<string>; | ||
@@ -43,0 +38,0 @@ symbol(multicall: true): MulticallRequest<string>; |
@@ -79,8 +79,2 @@ "use strict"; | ||
}; | ||
Coin.prototype.changeData = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "changeData", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
Coin.prototype.decimals = function (multicall) { | ||
@@ -98,8 +92,2 @@ // prettier-ignore | ||
}; | ||
Coin.prototype.modifyParameters = function (parameter, data) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "parameter", "type": "bytes32" }, { "internalType": "uint256", "name": "data", "type": "uint256" }], "name": "modifyParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [parameter, data]); | ||
}; | ||
Coin.prototype.move = function (src, dst, amount) { | ||
@@ -156,14 +144,2 @@ // prettier-ignore | ||
}; | ||
Coin.prototype.setName = function (name_) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "string", "name": "name_", "type": "string" }], "name": "setName", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [name_]); | ||
}; | ||
Coin.prototype.setSymbol = function (symbol_) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "string", "name": "symbol_", "type": "string" }], "name": "setSymbol", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [symbol_]); | ||
}; | ||
Coin.prototype.symbol = function (multicall) { | ||
@@ -170,0 +146,0 @@ // prettier-ignore |
@@ -19,2 +19,4 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
owner(multicall: true): MulticallRequest<string>; | ||
priceSource(): Promise<string>; | ||
priceSource(multicall: true): MulticallRequest<string>; | ||
read(): Promise<BigNumber>; | ||
@@ -21,0 +23,0 @@ read(multicall: true): MulticallRequest<BigNumber>; |
@@ -43,2 +43,8 @@ "use strict"; | ||
}; | ||
DsValue.prototype.priceSource = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "priceSource", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
DsValue.prototype.read = function (multicall) { | ||
@@ -45,0 +51,0 @@ // prettier-ignore |
@@ -65,2 +65,10 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
getCollateralBought(id: BigNumberish, wad: BigNumberish): TransactionRequest; | ||
getCollateralFSMAndFinalSystemCoinPrices(systemCoinRedemptionPrice: BigNumberish): Promise<{ | ||
0: BigNumber; | ||
1: BigNumber; | ||
}>; | ||
getCollateralFSMAndFinalSystemCoinPrices(systemCoinRedemptionPrice: BigNumberish, multicall: true): MulticallRequest<{ | ||
0: BigNumber; | ||
1: BigNumber; | ||
}>; | ||
getCollateralMedianPrice(): Promise<BigNumber>; | ||
@@ -72,10 +80,2 @@ getCollateralMedianPrice(multicall: true): MulticallRequest<BigNumber>; | ||
getFinalBaseCollateralPrice(collateralFsmPriceFeedValue: BigNumberish, collateralMedianPriceFeedValue: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
getFinalTokenPrices(systemCoinRedemptionPrice: BigNumberish): Promise<{ | ||
0: BigNumber; | ||
1: BigNumber; | ||
}>; | ||
getFinalTokenPrices(systemCoinRedemptionPrice: BigNumberish, multicall: true): MulticallRequest<{ | ||
0: BigNumber; | ||
1: BigNumber; | ||
}>; | ||
getSystemCoinCeilingDeviatedPrice(redemptionPrice: BigNumberish): Promise<BigNumber>; | ||
@@ -82,0 +82,0 @@ getSystemCoinCeilingDeviatedPrice(redemptionPrice: BigNumberish, multicall: true): MulticallRequest<BigNumber>; |
@@ -121,2 +121,8 @@ "use strict"; | ||
}; | ||
FixedDiscountCollateralAuctionHouse.prototype.getCollateralFSMAndFinalSystemCoinPrices = function (systemCoinRedemptionPrice, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "systemCoinRedemptionPrice", "type": "uint256" }], "name": "getCollateralFSMAndFinalSystemCoinPrices", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [systemCoinRedemptionPrice], multicall); | ||
}; | ||
FixedDiscountCollateralAuctionHouse.prototype.getCollateralMedianPrice = function (multicall) { | ||
@@ -145,8 +151,2 @@ // prettier-ignore | ||
}; | ||
FixedDiscountCollateralAuctionHouse.prototype.getFinalTokenPrices = function (systemCoinRedemptionPrice, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "systemCoinRedemptionPrice", "type": "uint256" }], "name": "getFinalTokenPrices", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [systemCoinRedemptionPrice], multicall); | ||
}; | ||
FixedDiscountCollateralAuctionHouse.prototype.getSystemCoinCeilingDeviatedPrice = function (redemptionPrice, multicall) { | ||
@@ -153,0 +153,0 @@ // prettier-ignore |
@@ -13,8 +13,4 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
addAuthorization(account: string): TransactionRequest; | ||
addition__Uint256Uint256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
addition__Uint256Uint256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
addition__Int256Int256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
addition__Int256Int256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
addition__Uint256Int256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
addition__Uint256Int256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
addition(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
addition(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
authorizedAccounts(address: string): Promise<BigNumber>; | ||
@@ -27,4 +23,6 @@ authorizedAccounts(address: string, multicall: true): MulticallRequest<BigNumber>; | ||
disableContract(): TransactionRequest; | ||
getCallerReward(): Promise<BigNumber>; | ||
getCallerReward(multicall: true): MulticallRequest<BigNumber>; | ||
getCallerReward(timeOfLastUpdate: BigNumberish, defaultDelayBetweenCalls: BigNumberish): Promise<BigNumber>; | ||
getCallerReward(timeOfLastUpdate: BigNumberish, defaultDelayBetweenCalls: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
getMarketPrice(): Promise<BigNumber>; | ||
getMarketPrice(multicall: true): MulticallRequest<BigNumber>; | ||
getRedemptionAndMarketPrices(): TransactionRequest; | ||
@@ -35,2 +33,4 @@ lastUpdateTime(): Promise<BigNumber>; | ||
latestMarketPrice(multicall: true): MulticallRequest<BigNumber>; | ||
maxRewardIncreaseDelay(): Promise<BigNumber>; | ||
maxRewardIncreaseDelay(multicall: true): MulticallRequest<BigNumber>; | ||
maxUpdateCallerReward(): Promise<BigNumber>; | ||
@@ -42,8 +42,4 @@ maxUpdateCallerReward(multicall: true): MulticallRequest<BigNumber>; | ||
modifyParameters__Bytes32Uint256(parameter: BytesLike, val: BigNumberish): TransactionRequest; | ||
multiply__Uint256Uint256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
multiply__Uint256Uint256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
multiply__Int256Int256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
multiply__Int256Int256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
multiply__Int256Uint256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
multiply__Int256Uint256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
multiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
multiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
oracleRelayer(): Promise<string>; | ||
@@ -64,12 +60,8 @@ oracleRelayer(multicall: true): MulticallRequest<string>; | ||
removeAuthorization(account: string): TransactionRequest; | ||
rmultiply__Uint256Uint256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
rmultiply__Uint256Uint256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
rmultiply__Uint256Int256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
rmultiply__Uint256Int256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
rmultiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
rmultiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
rpower(x: BigNumberish, n: BigNumberish, base: BigNumberish): Promise<BigNumber>; | ||
rpower(x: BigNumberish, n: BigNumberish, base: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
subtract__Uint256Uint256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
subtract__Uint256Uint256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
subtract__Int256Int256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
subtract__Int256Int256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
subtract(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
subtract(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
treasury(): Promise<string>; | ||
@@ -84,6 +76,4 @@ treasury(multicall: true): MulticallRequest<string>; | ||
wdivide(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
wmultiply__Uint256Uint256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
wmultiply__Uint256Uint256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
wmultiply__Int256Uint256(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
wmultiply__Int256Uint256(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
wmultiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
wmultiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
} |
@@ -43,3 +43,3 @@ "use strict"; | ||
}; | ||
RateSetter.prototype.addition__Uint256Uint256 = function (x, y, multicall) { | ||
RateSetter.prototype.addition = function (x, y, multicall) { | ||
// prettier-ignore | ||
@@ -50,14 +50,2 @@ // @ts-ignore | ||
}; | ||
RateSetter.prototype.addition__Int256Int256 = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "int256", "name": "x", "type": "int256" }, { "internalType": "int256", "name": "y", "type": "int256" }], "name": "addition", "outputs": [{ "internalType": "int256", "name": "z", "type": "int256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
RateSetter.prototype.addition__Uint256Int256 = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "int256", "name": "y", "type": "int256" }], "name": "addition", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
RateSetter.prototype.authorizedAccounts = function (address, multicall) { | ||
@@ -87,6 +75,12 @@ // prettier-ignore | ||
}; | ||
RateSetter.prototype.getCallerReward = function (multicall) { | ||
RateSetter.prototype.getCallerReward = function (timeOfLastUpdate, defaultDelayBetweenCalls, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "getCallerReward", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
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); | ||
}; | ||
RateSetter.prototype.getMarketPrice = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "getMarketPrice", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
@@ -112,2 +106,8 @@ }; | ||
}; | ||
RateSetter.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); | ||
}; | ||
RateSetter.prototype.maxUpdateCallerReward = function (multicall) { | ||
@@ -137,3 +137,3 @@ // prettier-ignore | ||
}; | ||
RateSetter.prototype.multiply__Uint256Uint256 = function (x, y, multicall) { | ||
RateSetter.prototype.multiply = function (x, y, multicall) { | ||
// prettier-ignore | ||
@@ -144,14 +144,2 @@ // @ts-ignore | ||
}; | ||
RateSetter.prototype.multiply__Int256Int256 = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "int256", "name": "x", "type": "int256" }, { "internalType": "int256", "name": "y", "type": "int256" }], "name": "multiply", "outputs": [{ "internalType": "int256", "name": "z", "type": "int256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
RateSetter.prototype.multiply__Int256Uint256 = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "int256", "name": "x", "type": "int256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "multiply", "outputs": [{ "internalType": "int256", "name": "z", "type": "int256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
RateSetter.prototype.oracleRelayer = function (multicall) { | ||
@@ -205,3 +193,3 @@ // prettier-ignore | ||
}; | ||
RateSetter.prototype.rmultiply__Uint256Uint256 = function (x, y, multicall) { | ||
RateSetter.prototype.rmultiply = function (x, y, multicall) { | ||
// prettier-ignore | ||
@@ -212,8 +200,2 @@ // @ts-ignore | ||
}; | ||
RateSetter.prototype.rmultiply__Uint256Int256 = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "int256", "name": "y", "type": "int256" }], "name": "rmultiply", "outputs": [{ "internalType": "int256", "name": "z", "type": "int256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
RateSetter.prototype.rpower = function (x, n, base, multicall) { | ||
@@ -225,3 +207,3 @@ // prettier-ignore | ||
}; | ||
RateSetter.prototype.subtract__Uint256Uint256 = function (x, y, multicall) { | ||
RateSetter.prototype.subtract = function (x, y, multicall) { | ||
// prettier-ignore | ||
@@ -232,8 +214,2 @@ // @ts-ignore | ||
}; | ||
RateSetter.prototype.subtract__Int256Int256 = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "int256", "name": "x", "type": "int256" }, { "internalType": "int256", "name": "y", "type": "int256" }], "name": "subtract", "outputs": [{ "internalType": "int256", "name": "z", "type": "int256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
RateSetter.prototype.treasury = function (multicall) { | ||
@@ -269,3 +245,3 @@ // prettier-ignore | ||
}; | ||
RateSetter.prototype.wmultiply__Uint256Uint256 = function (x, y, multicall) { | ||
RateSetter.prototype.wmultiply = function (x, y, multicall) { | ||
// prettier-ignore | ||
@@ -276,10 +252,4 @@ // @ts-ignore | ||
}; | ||
RateSetter.prototype.wmultiply__Int256Uint256 = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "int256", "name": "x", "type": "int256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "wmultiply", "outputs": [{ "internalType": "int256", "name": "z", "type": "int256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
return RateSetter; | ||
}(geb_contract_base_1.BaseContractAPI)); | ||
exports.RateSetter = RateSetter; |
@@ -10,2 +10,4 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
AUCTION_HOUSE_TYPE(multicall: true): MulticallRequest<string>; | ||
SURPLUS_AUCTION_TYPE(): Promise<string>; | ||
SURPLUS_AUCTION_TYPE(multicall: true): MulticallRequest<string>; | ||
addAuthorization(account: string): TransactionRequest; | ||
@@ -12,0 +14,0 @@ auctionsStarted(): Promise<BigNumber>; |
@@ -31,2 +31,8 @@ "use strict"; | ||
}; | ||
RecyclingSurplusAuctionHouse.prototype.SURPLUS_AUCTION_TYPE = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "SURPLUS_AUCTION_TYPE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
RecyclingSurplusAuctionHouse.prototype.addAuthorization = function (account) { | ||
@@ -33,0 +39,0 @@ // prettier-ignore |
@@ -29,3 +29,5 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
stakingTokens(uinteger: BigNumberish, multicall: true): MulticallRequest<string>; | ||
totalCampaignCount(): Promise<BigNumber>; | ||
totalCampaignCount(multicall: true): MulticallRequest<BigNumber>; | ||
transferTokenOut(token: string, receiver: string, amount: BigNumberish): TransactionRequest; | ||
} |
@@ -89,2 +89,8 @@ "use strict"; | ||
}; | ||
StakingRewardsFactory.prototype.totalCampaignCount = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "totalCampaignCount", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
StakingRewardsFactory.prototype.transferTokenOut = function (token, receiver, amount) { | ||
@@ -91,0 +97,0 @@ // prettier-ignore |
@@ -8,3 +8,9 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
export declare class UniswapConsecutiveSlotsMedianRaiusd extends BaseContractAPI { | ||
RAY(): Promise<BigNumber>; | ||
RAY(multicall: true): MulticallRequest<BigNumber>; | ||
WAD(): Promise<BigNumber>; | ||
WAD(multicall: true): MulticallRequest<BigNumber>; | ||
addAuthorization(account: string): TransactionRequest; | ||
addition(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
addition(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
authorizedAccounts(address: string): Promise<BigNumber>; | ||
@@ -36,4 +42,4 @@ authorizedAccounts(address: string, multicall: true): MulticallRequest<BigNumber>; | ||
earliestObservationIndex(multicall: true): MulticallRequest<BigNumber>; | ||
getCallerReward(): Promise<BigNumber>; | ||
getCallerReward(multicall: true): MulticallRequest<BigNumber>; | ||
getCallerReward(timeOfLastUpdate: BigNumberish, defaultDelayBetweenCalls: BigNumberish): Promise<BigNumber>; | ||
getCallerReward(timeOfLastUpdate: BigNumberish, defaultDelayBetweenCalls: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
getObservationListLength(): Promise<{ | ||
@@ -65,4 +71,8 @@ 0: BigNumber; | ||
maxWindowSize(multicall: true): MulticallRequest<BigNumber>; | ||
minimum(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
minimum(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
modifyParameters__Bytes32Address(parameter: BytesLike, data: string): TransactionRequest; | ||
modifyParameters__Bytes32Uint256(parameter: BytesLike, data: BigNumberish): TransactionRequest; | ||
multiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
multiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
perSecondCallerRewardIncrease(): Promise<BigNumber>; | ||
@@ -72,5 +82,17 @@ perSecondCallerRewardIncrease(multicall: true): MulticallRequest<BigNumber>; | ||
periodSize(multicall: true): MulticallRequest<BigNumber>; | ||
rad(x: BigNumberish): Promise<BigNumber>; | ||
rad(x: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
ray(x: BigNumberish): Promise<BigNumber>; | ||
ray(x: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
rdivide(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
rdivide(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
read(): Promise<BigNumber>; | ||
read(multicall: true): MulticallRequest<BigNumber>; | ||
removeAuthorization(account: string): TransactionRequest; | ||
rmultiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
rmultiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
rpower(x: BigNumberish, n: BigNumberish, base: BigNumberish): Promise<BigNumber>; | ||
rpower(x: BigNumberish, n: BigNumberish, base: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
subtract(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
subtract(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
symbol(): Promise<string>; | ||
@@ -105,4 +127,10 @@ symbol(multicall: true): MulticallRequest<string>; | ||
updates(multicall: true): MulticallRequest<BigNumber>; | ||
validityFlag(): Promise<BigNumber>; | ||
validityFlag(multicall: true): MulticallRequest<BigNumber>; | ||
wdivide(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
wdivide(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
windowSize(): Promise<BigNumber>; | ||
windowSize(multicall: true): MulticallRequest<BigNumber>; | ||
wmultiply(x: BigNumberish, y: BigNumberish): Promise<BigNumber>; | ||
wmultiply(x: BigNumberish, y: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
} |
@@ -25,2 +25,14 @@ "use strict"; | ||
} | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.RAY = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "RAY", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.WAD = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "WAD", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.addAuthorization = function (account) { | ||
@@ -32,2 +44,8 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.addition = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "addition", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.authorizedAccounts = function (address, multicall) { | ||
@@ -93,7 +111,7 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.getCallerReward = function (multicall) { | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.getCallerReward = function (timeOfLastUpdate, defaultDelayBetweenCalls, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "getCallerReward", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
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); | ||
}; | ||
@@ -142,2 +160,8 @@ UniswapConsecutiveSlotsMedianRaiusd.prototype.getObservationListLength = function (multicall) { | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.minimum = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "minimum", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.modifyParameters__Bytes32Address = function (parameter, data) { | ||
@@ -155,2 +179,8 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.multiply = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "multiply", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.perSecondCallerRewardIncrease = function (multicall) { | ||
@@ -168,2 +198,20 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.rad = function (x, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }], "name": "rad", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.ray = function (x, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }], "name": "ray", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.rdivide = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "rdivide", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.read = function (multicall) { | ||
@@ -181,2 +229,20 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.rmultiply = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "rmultiply", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.rpower = function (x, n, base, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "n", "type": "uint256" }, { "internalType": "uint256", "name": "base", "type": "uint256" }], "name": "rpower", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, n, base], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.subtract = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "subtract", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.symbol = function (multicall) { | ||
@@ -248,2 +314,14 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.validityFlag = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "validityFlag", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.wdivide = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "wdivide", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.windowSize = function (multicall) { | ||
@@ -255,4 +333,10 @@ // prettier-ignore | ||
}; | ||
UniswapConsecutiveSlotsMedianRaiusd.prototype.wmultiply = function (x, y, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }], "name": "wmultiply", "outputs": [{ "internalType": "uint256", "name": "z", "type": "uint256" }], "stateMutability": "pure", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [x, y], multicall); | ||
}; | ||
return UniswapConsecutiveSlotsMedianRaiusd; | ||
}(geb_contract_base_1.BaseContractAPI)); | ||
exports.UniswapConsecutiveSlotsMedianRaiusd = UniswapConsecutiveSlotsMedianRaiusd; |
{ | ||
"name": "@reflexer-finance/geb-contract-api", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -13,9 +13,9 @@ "main": "./lib/index.js", | ||
"@ethersproject/bignumber": "5.x", | ||
"@reflexer-finance/geb-contract-base": "^1.0.2" | ||
"@reflexer-finance/geb-contract-base": "^1.0.3" | ||
}, | ||
"devDependencies": { | ||
"@reflexer-finance/geb-typechain": "^1.0.2", | ||
"@reflexer-finance/geb-typechain": "^1.0.3", | ||
"typechain": "^2.0.0" | ||
}, | ||
"gitHead": "723aa5b4bbc609e31f3f2e4e30b0adf6cbafccd2" | ||
"gitHead": "aef2afb583ac0fd8f734c7434f88ef15b3f58a79" | ||
} |
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
726849
11107