Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.34 to 1.1.35

66

lib/generated/PRawPerSecondCalculator.d.ts

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

export declare class PRawPerSecondCalculator extends BaseContractAPI {
Kp(): Promise<BigNumber>;
Kp(multicall: true): MulticallRequest<BigNumber>;
adat(): Promise<BigNumber>;

@@ -15,2 +13,4 @@ adat(multicall: true): MulticallRequest<BigNumber>;

addReader(account: string): TransactionRequest;
ag(): Promise<BigNumber>;
ag(multicall: true): MulticallRequest<BigNumber>;
allReaderToggle(): Promise<BigNumber>;

@@ -20,7 +20,17 @@ allReaderToggle(multicall: true): MulticallRequest<BigNumber>;

authorities(address: string, multicall: true): MulticallRequest<BigNumber>;
breaksNoiseBarrier(proportionalResult: BigNumberish, redemptionPrice: BigNumberish): Promise<boolean>;
breaksNoiseBarrier(proportionalResult: BigNumberish, redemptionPrice: BigNumberish, multicall: true): MulticallRequest<boolean>;
computeRate(marketPrice: BigNumberish, redemptionPrice: BigNumberish, uinteger: BigNumberish): TransactionRequest;
breaksNoiseBarrier(piSum: BigNumberish, redemptionPrice: BigNumberish): Promise<boolean>;
breaksNoiseBarrier(piSum: BigNumberish, redemptionPrice: BigNumberish, multicall: true): MulticallRequest<boolean>;
computeRate(marketPrice: BigNumberish, redemptionPrice: BigNumberish, accumulatedLeak: BigNumberish): TransactionRequest;
dgt(): Promise<BigNumber>;
dgt(multicall: true): MulticallRequest<BigNumber>;
dos(i: BigNumberish): Promise<{
0: BigNumber;
1: BigNumber;
2: BigNumber;
}>;
dos(i: BigNumberish, multicall: true): MulticallRequest<{
0: BigNumber;
1: BigNumber;
2: BigNumber;
}>;
drr(): Promise<BigNumber>;

@@ -32,20 +42,48 @@ drr(multicall: true): MulticallRequest<BigNumber>;

foub(multicall: true): MulticallRequest<BigNumber>;
getBoundedRedemptionRate(pOutput: BigNumberish): Promise<{
getBoundedRedemptionRate(piOutput: BigNumberish): Promise<{
0: BigNumber;
1: BigNumber;
}>;
getBoundedRedemptionRate(pOutput: BigNumberish, multicall: true): MulticallRequest<{
getBoundedRedemptionRate(piOutput: BigNumberish, multicall: true): MulticallRequest<{
0: BigNumber;
1: BigNumber;
}>;
getNextRedemptionRate(marketPrice: BigNumberish, redemptionPrice: BigNumberish, uinteger: BigNumberish): Promise<{
getGainAdjustedPIOutput(proportionalTerm: BigNumberish, integralTerm: BigNumberish): Promise<BigNumber>;
getGainAdjustedPIOutput(proportionalTerm: BigNumberish, integralTerm: BigNumberish, multicall: true): MulticallRequest<BigNumber>;
getGainAdjustedTerms(proportionalTerm: BigNumberish, integralTerm: BigNumberish): Promise<{
0: BigNumber;
1: BigNumber;
}>;
getGainAdjustedTerms(proportionalTerm: BigNumberish, integralTerm: BigNumberish, multicall: true): MulticallRequest<{
0: BigNumber;
1: BigNumber;
}>;
getLastIntegralTerm(): Promise<BigNumber>;
getLastIntegralTerm(multicall: true): MulticallRequest<BigNumber>;
getLastProportionalTerm(): Promise<BigNumber>;
getLastProportionalTerm(multicall: true): MulticallRequest<BigNumber>;
getNextPriceDeviationCumulative(proportionalTerm: BigNumberish, accumulatedLeak: BigNumberish): Promise<{
0: BigNumber;
1: BigNumber;
}>;
getNextPriceDeviationCumulative(proportionalTerm: BigNumberish, accumulatedLeak: BigNumberish, multicall: true): MulticallRequest<{
0: BigNumber;
1: BigNumber;
}>;
getNextRedemptionRate(marketPrice: BigNumberish, redemptionPrice: BigNumberish, accumulatedLeak: BigNumberish): Promise<{
0: BigNumber;
1: BigNumber;
2: BigNumber;
3: BigNumber;
}>;
getNextRedemptionRate(marketPrice: BigNumberish, redemptionPrice: BigNumberish, uinteger: BigNumberish, multicall: true): MulticallRequest<{
getNextRedemptionRate(marketPrice: BigNumberish, redemptionPrice: BigNumberish, accumulatedLeak: BigNumberish, multicall: true): MulticallRequest<{
0: BigNumber;
1: BigNumber;
2: BigNumber;
3: BigNumber;
}>;
hcd(i: BigNumberish): Promise<BigNumber>;
hcd(i: BigNumberish, multicall: true): MulticallRequest<BigNumber>;
ips(): Promise<BigNumber>;
ips(multicall: true): MulticallRequest<BigNumber>;
lut(): Promise<BigNumber>;

@@ -58,4 +96,6 @@ lut(multicall: true): MulticallRequest<BigNumber>;

nb(multicall: true): MulticallRequest<BigNumber>;
ps(): Promise<BigNumber>;
ps(multicall: true): MulticallRequest<BigNumber>;
oll(): Promise<BigNumber>;
oll(multicall: true): MulticallRequest<BigNumber>;
pdc(): Promise<BigNumber>;
pdc(multicall: true): MulticallRequest<BigNumber>;
pscl(): Promise<BigNumber>;

@@ -67,4 +107,4 @@ pscl(multicall: true): MulticallRequest<BigNumber>;

removeReader(account: string): TransactionRequest;
rt(marketPrice: BigNumberish, redemptionPrice: BigNumberish, uinteger: BigNumberish): Promise<BigNumber>;
rt(marketPrice: BigNumberish, redemptionPrice: BigNumberish, uinteger: BigNumberish, multicall: true): MulticallRequest<BigNumber>;
rt(marketPrice: BigNumberish, redemptionPrice: BigNumberish, accumulatedLeak: BigNumberish): Promise<BigNumber>;
rt(marketPrice: BigNumberish, redemptionPrice: BigNumberish, accumulatedLeak: BigNumberish, multicall: true): MulticallRequest<BigNumber>;
seedProposer(): Promise<string>;

@@ -71,0 +111,0 @@ seedProposer(multicall: true): MulticallRequest<string>;

100

lib/generated/PRawPerSecondCalculator.js

@@ -25,8 +25,2 @@ "use strict";

}
PRawPerSecondCalculator.prototype.Kp = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "Kp", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
PRawPerSecondCalculator.prototype.adat = function (multicall) {

@@ -50,2 +44,8 @@ // prettier-ignore

};
PRawPerSecondCalculator.prototype.ag = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "ag", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
PRawPerSecondCalculator.prototype.allReaderToggle = function (multicall) {

@@ -63,16 +63,16 @@ // prettier-ignore

};
PRawPerSecondCalculator.prototype.breaksNoiseBarrier = function (proportionalResult, redemptionPrice, multicall) {
PRawPerSecondCalculator.prototype.breaksNoiseBarrier = function (piSum, redemptionPrice, multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "uint256", "name": "proportionalResult", "type": "uint256" }, { "internalType": "uint256", "name": "redemptionPrice", "type": "uint256" }], "name": "breaksNoiseBarrier", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [proportionalResult, redemptionPrice], multicall);
var abi = { "inputs": [{ "internalType": "uint256", "name": "piSum", "type": "uint256" }, { "internalType": "uint256", "name": "redemptionPrice", "type": "uint256" }], "name": "breaksNoiseBarrier", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [piSum, redemptionPrice], multicall);
};
PRawPerSecondCalculator.prototype.computeRate = function (marketPrice, redemptionPrice, uinteger) {
PRawPerSecondCalculator.prototype.computeRate = function (marketPrice, redemptionPrice, accumulatedLeak) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "uint256", "name": "marketPrice", "type": "uint256" }, { "internalType": "uint256", "name": "redemptionPrice", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "name": "computeRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" };
var abi = { "inputs": [{ "internalType": "uint256", "name": "marketPrice", "type": "uint256" }, { "internalType": "uint256", "name": "redemptionPrice", "type": "uint256" }, { "internalType": "uint256", "name": "accumulatedLeak", "type": "uint256" }], "name": "computeRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" };
return this.getTransactionRequest(abi, [
marketPrice,
redemptionPrice,
uinteger,
accumulatedLeak,
]);

@@ -86,2 +86,8 @@ };

};
PRawPerSecondCalculator.prototype.dos = function (i, multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "uint256", "name": "i", "type": "uint256" }], "name": "dos", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "int256", "name": "", "type": "int256" }, { "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [i], multicall);
};
PRawPerSecondCalculator.prototype.drr = function (multicall) {

@@ -105,14 +111,56 @@ // prettier-ignore

};
PRawPerSecondCalculator.prototype.getBoundedRedemptionRate = function (pOutput, multicall) {
PRawPerSecondCalculator.prototype.getBoundedRedemptionRate = function (piOutput, multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "int256", "name": "pOutput", "type": "int256" }], "name": "getBoundedRedemptionRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [pOutput], multicall);
var abi = { "inputs": [{ "internalType": "int256", "name": "piOutput", "type": "int256" }], "name": "getBoundedRedemptionRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [piOutput], multicall);
};
PRawPerSecondCalculator.prototype.getNextRedemptionRate = function (marketPrice, redemptionPrice, uinteger, multicall) {
PRawPerSecondCalculator.prototype.getGainAdjustedPIOutput = function (proportionalTerm, integralTerm, multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "uint256", "name": "marketPrice", "type": "uint256" }, { "internalType": "uint256", "name": "redemptionPrice", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "name": "getNextRedemptionRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "int256", "name": "", "type": "int256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [marketPrice, redemptionPrice, uinteger], multicall);
var abi = { "inputs": [{ "internalType": "int256", "name": "proportionalTerm", "type": "int256" }, { "internalType": "int256", "name": "integralTerm", "type": "int256" }], "name": "getGainAdjustedPIOutput", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [proportionalTerm, integralTerm], multicall);
};
PRawPerSecondCalculator.prototype.getGainAdjustedTerms = function (proportionalTerm, integralTerm, multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "int256", "name": "proportionalTerm", "type": "int256" }, { "internalType": "int256", "name": "integralTerm", "type": "int256" }], "name": "getGainAdjustedTerms", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }, { "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [proportionalTerm, integralTerm], multicall);
};
PRawPerSecondCalculator.prototype.getLastIntegralTerm = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "getLastIntegralTerm", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
PRawPerSecondCalculator.prototype.getLastProportionalTerm = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "getLastProportionalTerm", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
PRawPerSecondCalculator.prototype.getNextPriceDeviationCumulative = function (proportionalTerm, accumulatedLeak, multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "int256", "name": "proportionalTerm", "type": "int256" }, { "internalType": "uint256", "name": "accumulatedLeak", "type": "uint256" }], "name": "getNextPriceDeviationCumulative", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }, { "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [proportionalTerm, accumulatedLeak], multicall);
};
PRawPerSecondCalculator.prototype.getNextRedemptionRate = function (marketPrice, redemptionPrice, accumulatedLeak, multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "uint256", "name": "marketPrice", "type": "uint256" }, { "internalType": "uint256", "name": "redemptionPrice", "type": "uint256" }, { "internalType": "uint256", "name": "accumulatedLeak", "type": "uint256" }], "name": "getNextRedemptionRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "int256", "name": "", "type": "int256" }, { "internalType": "int256", "name": "", "type": "int256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [marketPrice, redemptionPrice, accumulatedLeak], multicall);
};
PRawPerSecondCalculator.prototype.hcd = function (i, multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "uint256", "name": "i", "type": "uint256" }], "name": "hcd", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [i], multicall);
};
PRawPerSecondCalculator.prototype.ips = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "ips", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
PRawPerSecondCalculator.prototype.lut = function (multicall) {

@@ -148,8 +196,14 @@ // prettier-ignore

};
PRawPerSecondCalculator.prototype.ps = function (multicall) {
PRawPerSecondCalculator.prototype.oll = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "ps", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
var abi = { "inputs": [], "name": "oll", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
PRawPerSecondCalculator.prototype.pdc = function (multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [], "name": "pdc", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [], multicall);
};
PRawPerSecondCalculator.prototype.pscl = function (multicall) {

@@ -179,7 +233,7 @@ // prettier-ignore

};
PRawPerSecondCalculator.prototype.rt = function (marketPrice, redemptionPrice, uinteger, multicall) {
PRawPerSecondCalculator.prototype.rt = function (marketPrice, redemptionPrice, accumulatedLeak, multicall) {
// prettier-ignore
// @ts-ignore
var abi = { "inputs": [{ "internalType": "uint256", "name": "marketPrice", "type": "uint256" }, { "internalType": "uint256", "name": "redemptionPrice", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "name": "rt", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [marketPrice, redemptionPrice, uinteger], multicall);
var abi = { "inputs": [{ "internalType": "uint256", "name": "marketPrice", "type": "uint256" }, { "internalType": "uint256", "name": "redemptionPrice", "type": "uint256" }, { "internalType": "uint256", "name": "accumulatedLeak", "type": "uint256" }], "name": "rt", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" };
return this.ethCallOrMulticall(abi, [marketPrice, redemptionPrice, accumulatedLeak], multicall);
};

@@ -186,0 +240,0 @@ PRawPerSecondCalculator.prototype.seedProposer = function (multicall) {

{
"name": "@reflexer-finance/geb-contract-api",
"version": "1.1.34",
"version": "1.1.35",
"description": "",

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

},
"gitHead": "f33eb78efa67bda58de93814f6e7a5bf5dd54b58"
"gitHead": "02596e4c1de05bc582c9c8f65f0e0ff53cbeb568"
}
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