@reflexer-finance/geb-contract-api
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -10,11 +10,15 @@ import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
MAX_DELAY(multicall: true): MulticallRequest<BigNumber>; | ||
RAY(): Promise<BigNumber>; | ||
RAY(multicall: true): MulticallRequest<BigNumber>; | ||
WAD(): Promise<BigNumber>; | ||
WAD(multicall: true): MulticallRequest<BigNumber>; | ||
accTokensPerShare(): Promise<BigNumber>; | ||
accTokensPerShare(multicall: true): MulticallRequest<BigNumber>; | ||
accountingEngine(): Promise<string>; | ||
accountingEngine(multicall: true): MulticallRequest<string>; | ||
addAuthorization(account: string): TransactionRequest; | ||
ancestor(): Promise<string>; | ||
ancestor(multicall: true): MulticallRequest<string>; | ||
ancestorPerDescendant(): Promise<BigNumber>; | ||
ancestorPerDescendant(multicall: true): MulticallRequest<BigNumber>; | ||
ancestorPool(): Promise<string>; | ||
ancestorPool(multicall: true): MulticallRequest<string>; | ||
auctionAncestorTokens(): TransactionRequest; | ||
@@ -35,6 +39,10 @@ auctionHouse(): Promise<string>; | ||
depositedAncestor(multicall: true): MulticallRequest<BigNumber>; | ||
descendant(): Promise<string>; | ||
descendant(multicall: true): MulticallRequest<string>; | ||
descendantBalanceOf(address: string): Promise<BigNumber>; | ||
descendantBalanceOf(address: string, multicall: true): MulticallRequest<BigNumber>; | ||
descendantPerAncestor(): Promise<BigNumber>; | ||
descendantPerAncestor(multicall: true): MulticallRequest<BigNumber>; | ||
escrow(): Promise<string>; | ||
escrow(multicall: true): MulticallRequest<string>; | ||
escrowPaused(): Promise<BigNumber>; | ||
escrowPaused(multicall: true): MulticallRequest<BigNumber>; | ||
exit(): TransactionRequest; | ||
@@ -55,2 +63,3 @@ exitDelay(): Promise<BigNumber>; | ||
forcedExit(multicall: true): MulticallRequest<boolean>; | ||
getRewards(): TransactionRequest; | ||
join(wad: BigNumberish): TransactionRequest; | ||
@@ -67,8 +76,19 @@ joinPrice(wad: BigNumberish): Promise<BigNumber>; | ||
modifyParameters__Bytes32Uint256(parameter: BytesLike, data: BigNumberish): TransactionRequest; | ||
percentageVested(): Promise<BigNumber>; | ||
percentageVested(multicall: true): MulticallRequest<BigNumber>; | ||
protocolUnderwater(): Promise<boolean>; | ||
protocolUnderwater(multicall: true): MulticallRequest<boolean>; | ||
pullFunds(): TransactionRequest; | ||
removeAuthorization(account: string): TransactionRequest; | ||
requestExit(wad: BigNumberish): TransactionRequest; | ||
rewardDripper(): Promise<string>; | ||
rewardDripper(multicall: true): MulticallRequest<string>; | ||
rewardPool(): Promise<string>; | ||
rewardPool(multicall: true): MulticallRequest<string>; | ||
rewardsBalance(): Promise<BigNumber>; | ||
rewardsBalance(multicall: true): MulticallRequest<BigNumber>; | ||
safeEngine(): Promise<string>; | ||
safeEngine(multicall: true): MulticallRequest<string>; | ||
stakedSupply(): Promise<BigNumber>; | ||
stakedSupply(multicall: true): MulticallRequest<BigNumber>; | ||
systemCoinsToRequest(): Promise<BigNumber>; | ||
@@ -81,2 +101,3 @@ systemCoinsToRequest(multicall: true): MulticallRequest<BigNumber>; | ||
tokensToAuction(multicall: true): MulticallRequest<BigNumber>; | ||
updatePool(): TransactionRequest; | ||
} |
@@ -31,2 +31,8 @@ "use strict"; | ||
}; | ||
GebLenderFirstResort.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); | ||
}; | ||
GebLenderFirstResort.prototype.WAD = function (multicall) { | ||
@@ -38,2 +44,8 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.accTokensPerShare = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "accTokensPerShare", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.accountingEngine = function (multicall) { | ||
@@ -51,12 +63,12 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.ancestor = function (multicall) { | ||
GebLenderFirstResort.prototype.ancestorPerDescendant = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "ancestor", "outputs": [{ "internalType": "contract TokenLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
var abi = { "inputs": [], "name": "ancestorPerDescendant", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.ancestorPerDescendant = function (multicall) { | ||
GebLenderFirstResort.prototype.ancestorPool = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "ancestorPerDescendant", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
var abi = { "inputs": [], "name": "ancestorPool", "outputs": [{ "internalType": "contract TokenPool", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
@@ -112,7 +124,7 @@ }; | ||
}; | ||
GebLenderFirstResort.prototype.descendant = function (multicall) { | ||
GebLenderFirstResort.prototype.descendantBalanceOf = function (address, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "descendant", "outputs": [{ "internalType": "contract TokenLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
var abi = { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "descendantBalanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [address], multicall); | ||
}; | ||
@@ -125,2 +137,14 @@ GebLenderFirstResort.prototype.descendantPerAncestor = function (multicall) { | ||
}; | ||
GebLenderFirstResort.prototype.escrow = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "escrow", "outputs": [{ "internalType": "contract StakingRewardsEscrowLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.escrowPaused = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "escrowPaused", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.exit = function () { | ||
@@ -156,2 +180,8 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.getRewards = function () { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "getRewards", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
}; | ||
GebLenderFirstResort.prototype.join = function (wad) { | ||
@@ -199,2 +229,8 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.percentageVested = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "percentageVested", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.protocolUnderwater = function (multicall) { | ||
@@ -206,2 +242,8 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.pullFunds = function () { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "pullFunds", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
}; | ||
GebLenderFirstResort.prototype.removeAuthorization = function (account) { | ||
@@ -219,2 +261,20 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.rewardDripper = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "rewardDripper", "outputs": [{ "internalType": "contract RewardDripperLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.rewardPool = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "rewardPool", "outputs": [{ "internalType": "contract TokenPool", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.rewardsBalance = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "rewardsBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.safeEngine = function (multicall) { | ||
@@ -226,2 +286,8 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.stakedSupply = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "stakedSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
GebLenderFirstResort.prototype.systemCoinsToRequest = function (multicall) { | ||
@@ -257,4 +323,10 @@ // prettier-ignore | ||
}; | ||
GebLenderFirstResort.prototype.updatePool = function () { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "updatePool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
}; | ||
return GebLenderFirstResort; | ||
}(geb_contract_base_1.BaseContractAPI)); | ||
exports.GebLenderFirstResort = GebLenderFirstResort; |
{ | ||
"name": "@reflexer-finance/geb-contract-api", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "", | ||
@@ -13,3 +13,3 @@ "main": "./lib/index.js", | ||
"@ethersproject/bignumber": "5.x", | ||
"@reflexer-finance/geb-contract-base": "^1.1.10" | ||
"@reflexer-finance/geb-contract-base": "^1.1.11" | ||
}, | ||
@@ -20,3 +20,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "442fc10b146a4f5e66f29b107bd15a2e1de92f27" | ||
"gitHead": "ba01ad9c5fa4d3c7f59c631d97712b31ef39a8d8" | ||
} |
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
940815
14417