@reflexer-finance/geb-contract-api
Advanced tools
Comparing version 1.1.29 to 1.1.30
import { BaseContractAPI } from '@reflexer-finance/geb-contract-base'; | ||
import { MulticallRequest } from '@reflexer-finance/geb-contract-base'; | ||
import { TransactionRequest } from '@reflexer-finance/geb-contract-base'; | ||
import { BytesLike } from '@ethersproject/bytes'; | ||
import { BigNumberish } from '@ethersproject/bignumber'; | ||
import { BigNumber } from '@ethersproject/bignumber'; | ||
export declare class YearnCurveMaxSafeSaviour extends BaseContractAPI { | ||
IS_TEST(): Promise<boolean>; | ||
IS_TEST(multicall: true): MulticallRequest<boolean>; | ||
failed(): Promise<boolean>; | ||
failed(multicall: true): MulticallRequest<boolean>; | ||
setUp(): TransactionRequest; | ||
testFail_deposit_inexistent_safe(): TransactionRequest; | ||
testFail_deposit_liq_engine_not_approved(): TransactionRequest; | ||
testFail_deposit_null_lp_token_amount(): TransactionRequest; | ||
testFail_modify_address_unauthed(): TransactionRequest; | ||
testFail_modify_uint_unauthed(): TransactionRequest; | ||
testFail_saveSAFE_and_getReserves_not_allowed(): TransactionRequest; | ||
testFail_saveSAFE_invalid_caller(): TransactionRequest; | ||
testFail_save_twice_without_waiting(): TransactionRequest; | ||
testFail_withdraw_more_than_deposited(): TransactionRequest; | ||
testFail_withdraw_null(): TransactionRequest; | ||
testFail_withdraw_unauthorized(): TransactionRequest; | ||
test_deposit_after_everything_withdrawn(): TransactionRequest; | ||
test_deposit_twice(): TransactionRequest; | ||
test_getSystemCoinMarketPrice(): TransactionRequest; | ||
test_getSystemCoinMarketPrice_invalid(): TransactionRequest; | ||
test_getSystemCoinMarketPrice_null_price(): TransactionRequest; | ||
test_getTokensForSaving_coins_below_floor_and_debt(): TransactionRequest; | ||
test_getTokensForSaving_coins_between_floor_and_debt(): TransactionRequest; | ||
test_getTokensForSaving_coins_higher_than_debt(): TransactionRequest; | ||
test_getTokensForSaving_inexistent_position(): TransactionRequest; | ||
test_getTokensForSaving_no_cover(): TransactionRequest; | ||
test_getTokensForSaving_no_debt(): TransactionRequest; | ||
test_modify_addresses(): TransactionRequest; | ||
test_modify_uints(): TransactionRequest; | ||
test_saveSAFE(): TransactionRequest; | ||
test_saveSAFE_2_users(): TransactionRequest; | ||
test_saveSAFE_accumulate_rate(): TransactionRequest; | ||
test_saveSAFE_accumulate_rate_yearn_accumulates_gains(): TransactionRequest; | ||
test_saveSAFE_and_getReserves(): TransactionRequest; | ||
test_saveSAFE_cannot_pay_keeper(): TransactionRequest; | ||
test_saveSAFE_cannot_save_safe(): TransactionRequest; | ||
test_saveSAFE_no_cover(): TransactionRequest; | ||
test_saveSAFE_twice(): TransactionRequest; | ||
test_saveSAFE_twice_yearn_compounds_gains(): TransactionRequest; | ||
test_saveSAFE_twice_yearn_loses_gains(): TransactionRequest; | ||
test_setup(): TransactionRequest; | ||
test_withdraw(): TransactionRequest; | ||
test_withdraw_custom_dst(): TransactionRequest; | ||
test_withdraw_twice(): TransactionRequest; | ||
HUNDRED(): Promise<BigNumber>; | ||
HUNDRED(multicall: true): MulticallRequest<BigNumber>; | ||
MAX_LOSS(): Promise<BigNumber>; | ||
MAX_LOSS(multicall: true): MulticallRequest<BigNumber>; | ||
MAX_UINT(): Promise<BigNumber>; | ||
MAX_UINT(multicall: true): MulticallRequest<BigNumber>; | ||
ONE(): Promise<BigNumber>; | ||
ONE(multicall: true): MulticallRequest<BigNumber>; | ||
RAY(): Promise<BigNumber>; | ||
RAY(multicall: true): MulticallRequest<BigNumber>; | ||
THOUSAND(): Promise<BigNumber>; | ||
THOUSAND(multicall: true): MulticallRequest<BigNumber>; | ||
WAD(): Promise<BigNumber>; | ||
WAD(multicall: true): MulticallRequest<BigNumber>; | ||
WAD_COMPLEMENT(): Promise<BigNumber>; | ||
WAD_COMPLEMENT(multicall: true): MulticallRequest<BigNumber>; | ||
addAuthorization(account: string): TransactionRequest; | ||
allowUser(usr: string): TransactionRequest; | ||
allowedUsers(address: string): Promise<BigNumber>; | ||
allowedUsers(address: string, multicall: true): MulticallRequest<BigNumber>; | ||
authorizedAccounts(address: string): Promise<BigNumber>; | ||
authorizedAccounts(address: string, multicall: true): MulticallRequest<BigNumber>; | ||
canSave(bytes: BytesLike, address: string): TransactionRequest; | ||
coinJoin(): Promise<string>; | ||
coinJoin(multicall: true): MulticallRequest<string>; | ||
curveLpToken(): Promise<string>; | ||
curveLpToken(multicall: true): MulticallRequest<string>; | ||
curvePool(): Promise<string>; | ||
curvePool(multicall: true): MulticallRequest<string>; | ||
curvePoolTokens(uinteger: BigNumberish): Promise<string>; | ||
curvePoolTokens(uinteger: BigNumberish, multicall: true): MulticallRequest<string>; | ||
debtBelowFloor(collateralType: BytesLike, targetDebtAmount: BigNumberish): Promise<boolean>; | ||
debtBelowFloor(collateralType: BytesLike, targetDebtAmount: BigNumberish, multicall: true): MulticallRequest<boolean>; | ||
defaultMaxLoss(): Promise<BigNumber>; | ||
defaultMaxLoss(multicall: true): MulticallRequest<BigNumber>; | ||
defaultMinTokensToWithdraw(uinteger: BigNumberish): Promise<BigNumber>; | ||
defaultMinTokensToWithdraw(uinteger: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
deposit(collateralType: BytesLike, safeID: BigNumberish, lpTokenAmount: BigNumberish): TransactionRequest; | ||
disallowUser(usr: string): TransactionRequest; | ||
getAccumulatedRateAndLiquidationPrice(collateralType: BytesLike): Promise<{ | ||
accumulatedRate: BigNumber; | ||
liquidationPrice: BigNumber; | ||
}>; | ||
getAccumulatedRateAndLiquidationPrice(collateralType: BytesLike, multicall: true): MulticallRequest<{ | ||
accumulatedRate: BigNumber; | ||
liquidationPrice: BigNumber; | ||
}>; | ||
getKeeperPayoutTokens(safeHandler: string, sysCoinsFromLP: BigNumberish): Promise<BigNumber>; | ||
getKeeperPayoutTokens(safeHandler: string, sysCoinsFromLP: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
getKeeperPayoutValue(): TransactionRequest; | ||
getReserves(safeID: BigNumberish, token: string, dst: string): TransactionRequest; | ||
getSystemCoinMarketPrice(): Promise<BigNumber>; | ||
getSystemCoinMarketPrice(multicall: true): MulticallRequest<BigNumber>; | ||
getTokensForSaving(collateralType: BytesLike, safeHandler: string, coinsLeft: BigNumberish): Promise<BigNumber>; | ||
getTokensForSaving(collateralType: BytesLike, safeHandler: string, coinsLeft: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
keeperPayout(): Promise<BigNumber>; | ||
keeperPayout(multicall: true): MulticallRequest<BigNumber>; | ||
keeperPayoutExceedsMinValue(): TransactionRequest; | ||
liquidationEngine(): Promise<string>; | ||
liquidationEngine(multicall: true): MulticallRequest<string>; | ||
minKeeperPayoutValue(): Promise<BigNumber>; | ||
minKeeperPayoutValue(multicall: true): MulticallRequest<BigNumber>; | ||
modifyParameters__Bytes32Address(parameter: BytesLike, data: string): TransactionRequest; | ||
modifyParameters__Bytes32Uint256(parameter: BytesLike, val: BigNumberish): TransactionRequest; | ||
oracleRelayer(): Promise<string>; | ||
oracleRelayer(multicall: true): MulticallRequest<string>; | ||
payoutToSAFESize(): Promise<BigNumber>; | ||
payoutToSAFESize(multicall: true): MulticallRequest<BigNumber>; | ||
removeAuthorization(account: string): TransactionRequest; | ||
removedCurveCoinLiquidity(uinteger: BigNumberish): Promise<BigNumber>; | ||
removedCurveCoinLiquidity(uinteger: BigNumberish, multicall: true): MulticallRequest<BigNumber>; | ||
restrictUsage(): Promise<BigNumber>; | ||
restrictUsage(multicall: true): MulticallRequest<BigNumber>; | ||
safeEngine(): Promise<string>; | ||
safeEngine(multicall: true): MulticallRequest<string>; | ||
safeIsAfloat(collateralType: BytesLike, safeHandler: string): Promise<boolean>; | ||
safeIsAfloat(collateralType: BytesLike, safeHandler: string, multicall: true): MulticallRequest<boolean>; | ||
safeManager(): Promise<string>; | ||
safeManager(multicall: true): MulticallRequest<string>; | ||
saveSAFE(keeper: string, collateralType: BytesLike, safeHandler: string): TransactionRequest; | ||
saviourRegistry(): Promise<string>; | ||
saviourRegistry(multicall: true): MulticallRequest<string>; | ||
systemCoin(): Promise<string>; | ||
systemCoin(multicall: true): MulticallRequest<string>; | ||
systemCoinOrcl(): Promise<string>; | ||
systemCoinOrcl(multicall: true): MulticallRequest<string>; | ||
taxCollector(): Promise<string>; | ||
taxCollector(multicall: true): MulticallRequest<string>; | ||
tokenAmountUsedToSave(bytes: BytesLike, address: string): TransactionRequest; | ||
underlyingReserves(address1: string, address2: string): Promise<BigNumber>; | ||
underlyingReserves(address1: string, address2: string, multicall: true): MulticallRequest<BigNumber>; | ||
withdraw(collateralType: BytesLike, safeID: BigNumberish, yvTokenAmount: BigNumberish, maxLoss: BigNumberish, dst: string): TransactionRequest; | ||
yVault(): Promise<string>; | ||
yVault(multicall: true): MulticallRequest<string>; | ||
yvTokenCover(bytes: BytesLike, address: string): Promise<BigNumber>; | ||
yvTokenCover(bytes: BytesLike, address: string, multicall: true): MulticallRequest<BigNumber>; | ||
} |
@@ -25,256 +25,330 @@ "use strict"; | ||
} | ||
YearnCurveMaxSafeSaviour.prototype.IS_TEST = function (multicall) { | ||
YearnCurveMaxSafeSaviour.prototype.HUNDRED = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "IS_TEST", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }; | ||
var abi = { "inputs": [], "name": "HUNDRED", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.failed = function (multicall) { | ||
YearnCurveMaxSafeSaviour.prototype.MAX_LOSS = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "failed", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }; | ||
var abi = { "inputs": [], "name": "MAX_LOSS", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.setUp = function () { | ||
YearnCurveMaxSafeSaviour.prototype.MAX_UINT = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "setUp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "MAX_UINT", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_deposit_inexistent_safe = function () { | ||
YearnCurveMaxSafeSaviour.prototype.ONE = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_deposit_inexistent_safe", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "ONE", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_deposit_liq_engine_not_approved = function () { | ||
YearnCurveMaxSafeSaviour.prototype.RAY = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_deposit_liq_engine_not_approved", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "RAY", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_deposit_null_lp_token_amount = function () { | ||
YearnCurveMaxSafeSaviour.prototype.THOUSAND = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_deposit_null_lp_token_amount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "THOUSAND", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_modify_address_unauthed = function () { | ||
YearnCurveMaxSafeSaviour.prototype.WAD = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_modify_address_unauthed", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "WAD", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_modify_uint_unauthed = function () { | ||
YearnCurveMaxSafeSaviour.prototype.WAD_COMPLEMENT = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_modify_uint_unauthed", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "WAD_COMPLEMENT", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_saveSAFE_and_getReserves_not_allowed = function () { | ||
YearnCurveMaxSafeSaviour.prototype.addAuthorization = function (account) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_saveSAFE_and_getReserves_not_allowed", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "addAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [account]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_saveSAFE_invalid_caller = function () { | ||
YearnCurveMaxSafeSaviour.prototype.allowUser = function (usr) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_saveSAFE_invalid_caller", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }], "name": "allowUser", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [usr]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_save_twice_without_waiting = function () { | ||
YearnCurveMaxSafeSaviour.prototype.allowedUsers = function (address, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_save_twice_without_waiting", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "allowedUsers", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [address], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_withdraw_more_than_deposited = function () { | ||
YearnCurveMaxSafeSaviour.prototype.authorizedAccounts = function (address, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_withdraw_more_than_deposited", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "authorizedAccounts", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [address], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_withdraw_null = function () { | ||
YearnCurveMaxSafeSaviour.prototype.canSave = function (bytes, address) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_withdraw_null", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "address", "name": "", "type": "address" }], "name": "canSave", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [bytes, address]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.testFail_withdraw_unauthorized = function () { | ||
YearnCurveMaxSafeSaviour.prototype.coinJoin = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "testFail_withdraw_unauthorized", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "coinJoin", "outputs": [{ "internalType": "contract CoinJoinLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_deposit_after_everything_withdrawn = function () { | ||
YearnCurveMaxSafeSaviour.prototype.curveLpToken = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_deposit_after_everything_withdrawn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "curveLpToken", "outputs": [{ "internalType": "contract ERC20Like", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_deposit_twice = function () { | ||
YearnCurveMaxSafeSaviour.prototype.curvePool = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_deposit_twice", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "curvePool", "outputs": [{ "internalType": "contract CurveV1PoolLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_getSystemCoinMarketPrice = function () { | ||
YearnCurveMaxSafeSaviour.prototype.curvePoolTokens = function (uinteger, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_getSystemCoinMarketPrice", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "name": "curvePoolTokens", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [uinteger], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_getSystemCoinMarketPrice_invalid = function () { | ||
YearnCurveMaxSafeSaviour.prototype.debtBelowFloor = function (collateralType, targetDebtAmount, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_getSystemCoinMarketPrice_invalid", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "collateralType", "type": "bytes32" }, { "internalType": "uint256", "name": "targetDebtAmount", "type": "uint256" }], "name": "debtBelowFloor", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [collateralType, targetDebtAmount], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_getSystemCoinMarketPrice_null_price = function () { | ||
YearnCurveMaxSafeSaviour.prototype.defaultMaxLoss = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_getSystemCoinMarketPrice_null_price", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "defaultMaxLoss", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_getTokensForSaving_coins_below_floor_and_debt = function () { | ||
YearnCurveMaxSafeSaviour.prototype.defaultMinTokensToWithdraw = function (uinteger, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_getTokensForSaving_coins_below_floor_and_debt", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "name": "defaultMinTokensToWithdraw", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [uinteger], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_getTokensForSaving_coins_between_floor_and_debt = function () { | ||
YearnCurveMaxSafeSaviour.prototype.deposit = function (collateralType, safeID, lpTokenAmount) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_getTokensForSaving_coins_between_floor_and_debt", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "collateralType", "type": "bytes32" }, { "internalType": "uint256", "name": "safeID", "type": "uint256" }, { "internalType": "uint256", "name": "lpTokenAmount", "type": "uint256" }], "name": "deposit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [ | ||
collateralType, | ||
safeID, | ||
lpTokenAmount, | ||
]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_getTokensForSaving_coins_higher_than_debt = function () { | ||
YearnCurveMaxSafeSaviour.prototype.disallowUser = function (usr) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_getTokensForSaving_coins_higher_than_debt", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }], "name": "disallowUser", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [usr]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_getTokensForSaving_inexistent_position = function () { | ||
YearnCurveMaxSafeSaviour.prototype.getAccumulatedRateAndLiquidationPrice = function (collateralType, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_getTokensForSaving_inexistent_position", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "collateralType", "type": "bytes32" }], "name": "getAccumulatedRateAndLiquidationPrice", "outputs": [{ "internalType": "uint256", "name": "accumulatedRate", "type": "uint256" }, { "internalType": "uint256", "name": "liquidationPrice", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [collateralType], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_getTokensForSaving_no_cover = function () { | ||
YearnCurveMaxSafeSaviour.prototype.getKeeperPayoutTokens = function (safeHandler, sysCoinsFromLP, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_getTokensForSaving_no_cover", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "address", "name": "safeHandler", "type": "address" }, { "internalType": "uint256", "name": "sysCoinsFromLP", "type": "uint256" }], "name": "getKeeperPayoutTokens", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [safeHandler, sysCoinsFromLP], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_getTokensForSaving_no_debt = function () { | ||
YearnCurveMaxSafeSaviour.prototype.getKeeperPayoutValue = function () { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_getTokensForSaving_no_debt", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
var abi = { "inputs": [], "name": "getKeeperPayoutValue", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_modify_addresses = function () { | ||
YearnCurveMaxSafeSaviour.prototype.getReserves = function (safeID, token, dst) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_modify_addresses", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "safeID", "type": "uint256" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }], "name": "getReserves", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [safeID, token, dst]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_modify_uints = function () { | ||
YearnCurveMaxSafeSaviour.prototype.getSystemCoinMarketPrice = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_modify_uints", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "getSystemCoinMarketPrice", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE = function () { | ||
YearnCurveMaxSafeSaviour.prototype.getTokensForSaving = function (collateralType, safeHandler, coinsLeft, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "collateralType", "type": "bytes32" }, { "internalType": "address", "name": "safeHandler", "type": "address" }, { "internalType": "uint256", "name": "coinsLeft", "type": "uint256" }], "name": "getTokensForSaving", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [collateralType, safeHandler, coinsLeft], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_2_users = function () { | ||
YearnCurveMaxSafeSaviour.prototype.keeperPayout = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_2_users", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "keeperPayout", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_accumulate_rate = function () { | ||
YearnCurveMaxSafeSaviour.prototype.keeperPayoutExceedsMinValue = function () { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_accumulate_rate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
var abi = { "inputs": [], "name": "keeperPayoutExceedsMinValue", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_accumulate_rate_yearn_accumulates_gains = function () { | ||
YearnCurveMaxSafeSaviour.prototype.liquidationEngine = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_accumulate_rate_yearn_accumulates_gains", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "liquidationEngine", "outputs": [{ "internalType": "contract LiquidationEngineLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_and_getReserves = function () { | ||
YearnCurveMaxSafeSaviour.prototype.minKeeperPayoutValue = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_and_getReserves", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "minKeeperPayoutValue", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_cannot_pay_keeper = function () { | ||
YearnCurveMaxSafeSaviour.prototype.modifyParameters__Bytes32Address = function (parameter, data) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_cannot_pay_keeper", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "parameter", "type": "bytes32" }, { "internalType": "address", "name": "data", "type": "address" }], "name": "modifyParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [parameter, data]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_cannot_save_safe = function () { | ||
YearnCurveMaxSafeSaviour.prototype.modifyParameters__Bytes32Uint256 = function (parameter, val) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_cannot_save_safe", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "parameter", "type": "bytes32" }, { "internalType": "uint256", "name": "val", "type": "uint256" }], "name": "modifyParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [parameter, val]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_no_cover = function () { | ||
YearnCurveMaxSafeSaviour.prototype.oracleRelayer = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_no_cover", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "oracleRelayer", "outputs": [{ "internalType": "contract OracleRelayerLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_twice = function () { | ||
YearnCurveMaxSafeSaviour.prototype.payoutToSAFESize = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_twice", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "payoutToSAFESize", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_twice_yearn_compounds_gains = function () { | ||
YearnCurveMaxSafeSaviour.prototype.removeAuthorization = function (account) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_twice_yearn_compounds_gains", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "removeAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [account]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_saveSAFE_twice_yearn_loses_gains = function () { | ||
YearnCurveMaxSafeSaviour.prototype.removedCurveCoinLiquidity = function (uinteger, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_saveSAFE_twice_yearn_loses_gains", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "name": "removedCurveCoinLiquidity", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [uinteger], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_setup = function () { | ||
YearnCurveMaxSafeSaviour.prototype.restrictUsage = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_setup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "restrictUsage", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_withdraw = function () { | ||
YearnCurveMaxSafeSaviour.prototype.safeEngine = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "safeEngine", "outputs": [{ "internalType": "contract SAFEEngineLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_withdraw_custom_dst = function () { | ||
YearnCurveMaxSafeSaviour.prototype.safeIsAfloat = function (collateralType, safeHandler, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_withdraw_custom_dst", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "collateralType", "type": "bytes32" }, { "internalType": "address", "name": "safeHandler", "type": "address" }], "name": "safeIsAfloat", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [collateralType, safeHandler], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.test_withdraw_twice = function () { | ||
YearnCurveMaxSafeSaviour.prototype.safeManager = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "test_withdraw_twice", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, []); | ||
var abi = { "inputs": [], "name": "safeManager", "outputs": [{ "internalType": "contract GebSafeManagerLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.saveSAFE = function (keeper, collateralType, safeHandler) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "address", "name": "keeper", "type": "address" }, { "internalType": "bytes32", "name": "collateralType", "type": "bytes32" }, { "internalType": "address", "name": "safeHandler", "type": "address" }], "name": "saveSAFE", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [ | ||
keeper, | ||
collateralType, | ||
safeHandler, | ||
]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.saviourRegistry = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "saviourRegistry", "outputs": [{ "internalType": "contract SAFESaviourRegistryLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.systemCoin = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "systemCoin", "outputs": [{ "internalType": "contract ERC20Like", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.systemCoinOrcl = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "systemCoinOrcl", "outputs": [{ "internalType": "contract PriceFeedLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.taxCollector = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "taxCollector", "outputs": [{ "internalType": "contract TaxCollectorLike", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.tokenAmountUsedToSave = function (bytes, address) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "address", "name": "", "type": "address" }], "name": "tokenAmountUsedToSave", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [bytes, address]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.underlyingReserves = function (address1, address2, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }], "name": "underlyingReserves", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [address1, address2], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.withdraw = function (collateralType, safeID, yvTokenAmount, maxLoss, dst) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "collateralType", "type": "bytes32" }, { "internalType": "uint256", "name": "safeID", "type": "uint256" }, { "internalType": "uint256", "name": "yvTokenAmount", "type": "uint256" }, { "internalType": "uint256", "name": "maxLoss", "type": "uint256" }, { "internalType": "address", "name": "dst", "type": "address" }], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }; | ||
return this.getTransactionRequest(abi, [ | ||
collateralType, | ||
safeID, | ||
yvTokenAmount, | ||
maxLoss, | ||
dst, | ||
]); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.yVault = function (multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [], "name": "yVault", "outputs": [{ "internalType": "contract YVault3Like", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [], multicall); | ||
}; | ||
YearnCurveMaxSafeSaviour.prototype.yvTokenCover = function (bytes, address, multicall) { | ||
// prettier-ignore | ||
// @ts-ignore | ||
var abi = { "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "address", "name": "", "type": "address" }], "name": "yvTokenCover", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }; | ||
return this.ethCallOrMulticall(abi, [bytes, address], multicall); | ||
}; | ||
return YearnCurveMaxSafeSaviour; | ||
}(geb_contract_base_1.BaseContractAPI)); | ||
exports.YearnCurveMaxSafeSaviour = YearnCurveMaxSafeSaviour; |
@@ -53,2 +53,2 @@ import { AccountingEngine } from './generated/AccountingEngine'; | ||
import { YearnCurveMaxSafeSaviour } from './generated/YearnCurveMaxSafeSaviour'; | ||
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, GebProxyStakedTokenAuctionActions, MerkleDistributorFactory, MerkleDistributor, ChainlinkRelayer, NativeUnderlyingUniswapSafeSaviour, SaviourCRatioSetter, UniswapLiquidityManagerLike, GebProxySaviourActions, UniswapV3Pool, GebUniswapV3TwoTrancheManager, GebLenderFirstResort, StakedTokenAuctionHouse, DsDelegateTokenNoTransfer, StakingRewardsEscrow, SimpleStakingRewards, YearnCurveMaxSafeSaviour }; | ||
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, GebProxyStakedTokenAuctionActions, MerkleDistributorFactory, MerkleDistributor, ChainlinkRelayer, NativeUnderlyingUniswapSafeSaviour, SaviourCRatioSetter, UniswapLiquidityManagerLike, GebProxySaviourActions, UniswapV3Pool, GebUniswapV3TwoTrancheManager, GebLenderFirstResort, StakedTokenAuctionHouse, DsDelegateTokenNoTransfer, StakingRewardsEscrow, SimpleStakingRewards, YearnCurveMaxSafeSaviour, }; |
{ | ||
"name": "@reflexer-finance/geb-contract-api", | ||
"version": "1.1.29", | ||
"version": "1.1.30", | ||
"description": "", | ||
@@ -13,3 +13,3 @@ "main": "./lib/index.js", | ||
"@ethersproject/bignumber": "5.x", | ||
"@reflexer-finance/geb-contract-base": "^1.1.27" | ||
"@reflexer-finance/geb-contract-base": "^1.1.28" | ||
}, | ||
@@ -20,3 +20,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "8af8e772558dd7047f8611b95bc2f59b5985b000" | ||
"gitHead": "2b5dd7e2a84a36ba41d2cfd98df5cc04ba2c0f27" | ||
} |
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
1084830
16621