Socket
Socket
Sign inDemoInstall

@reflexer-finance/geb-contract-api

Package Overview
Dependencies
Maintainers
4
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reflexer-finance/geb-contract-api - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

1

lib/generated/GebProxySaviourActions.d.ts

@@ -8,2 +8,3 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base';

getReserves(saviour: string, safe: BigNumberish, dst: string): TransactionRequest;
getReservesAndUncover(saviour: string, manager: string, liquidationEngine: string, safe: BigNumberish, dst: string): TransactionRequest;
protectSAFE(saviour: string, manager: string, safe: BigNumberish, liquidationEngine: string): TransactionRequest;

@@ -10,0 +11,0 @@ protectSAFEDeposit(collateralSpecific: boolean, saviour: string, manager: string, token: string, liquidationEngine: string, safe: BigNumberish, tokenAmount: BigNumberish): TransactionRequest;

@@ -44,2 +44,14 @@ "use strict";

};
GebProxySaviourActions.prototype.getReservesAndUncover = function (saviour, manager, liquidationEngine, safe, dst) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "address", "name": "saviour", "type": "address" }, { "internalType": "address", "name": "manager", "type": "address" }, { "internalType": "address", "name": "liquidationEngine", "type": "address" }, { "internalType": "uint256", "name": "safe", "type": "uint256" }, { "internalType": "address", "name": "dst", "type": "address" }], "name": "getReservesAndUncover", "outputs": [], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
saviour,
manager,
liquidationEngine,
safe,
dst,
]);
};
GebProxySaviourActions.prototype.protectSAFE = function (saviour, manager, safe, liquidationEngine) {

@@ -46,0 +58,0 @@ // prettier-ignore

@@ -17,2 +17,4 @@ 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>;

@@ -40,2 +42,4 @@ 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<{

@@ -61,2 +65,6 @@ 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>;

@@ -70,2 +78,4 @@ 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>;

@@ -81,4 +91,2 @@ periodSize(multicall: true): MulticallRequest<BigNumber>;

read(multicall: true): MulticallRequest<BigNumber>;
relayer(): Promise<string>;
relayer(multicall: true): MulticallRequest<string>;
removeAuthorization(account: string): TransactionRequest;

@@ -97,2 +105,6 @@ 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>;

@@ -99,0 +111,0 @@ uniswapComputeAmountOut(priceCumulativeStart: BigNumberish, priceCumulativeEnd: BigNumberish, timeElapsed: BigNumberish, amountIn: BigNumberish, multicall: true): MulticallRequest<BigNumber>;

@@ -55,2 +55,8 @@ "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) {

@@ -65,3 +71,3 @@ // prettier-ignore

// @ts-ignore
var abi = { "inputs": [], "name": "converterFeed", "outputs": [{ "internalType": "contract ConverterFeedLike_1", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" };
var abi = { "inputs": [], "name": "converterFeed", "outputs": [{ "internalType": "contract ConverterFeedLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);

@@ -105,2 +111,8 @@ };

};
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) {

@@ -130,2 +142,14 @@ // 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) {

@@ -161,2 +185,8 @@ // 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) {

@@ -192,8 +222,2 @@ // prettier-ignore

};
UniswapConsecutiveSlotsMedianRaiusd.prototype.relayer = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "relayer", "outputs": [{ "internalType": "contract IncreasingRewardRelayerLike_1", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
UniswapConsecutiveSlotsMedianRaiusd.prototype.removeAuthorization = function (account) {

@@ -241,2 +265,14 @@ // 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) {

@@ -243,0 +279,0 @@ // prettier-ignore

6

package.json
{
"name": "@reflexer-finance/geb-contract-api",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

@@ -13,3 +13,3 @@ "main": "./lib/index.js",

"@ethersproject/bignumber": "5.x",
"@reflexer-finance/geb-contract-base": "^1.1.0"
"@reflexer-finance/geb-contract-base": "^1.1.1"
},

@@ -20,3 +20,3 @@ "devDependencies": {

},
"gitHead": "a5be676d80ecf56fd4fc7286a54f80985bc65b7f"
"gitHead": "2c588ce19125809ae187e049e3ec2599c1f7eae6"
}
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