Skip to content
You are reading the development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.
Last update: October 8, 2021

yearn-vaults / Modules / CommonHealthCheck / CommonHealthCheck

Class: CommonHealthCheck

CommonHealthCheck.CommonHealthCheck

Hierarchy

  • BaseContract

CommonHealthCheck

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CommonHealthCheck(addressOrName, contractInterface, signerOrProvider?)

Parameters

Name Type
addressOrName string
contractInterface ContractInterface
signerOrProvider? Signer | Provider

Inherited from

BaseContract.constructor

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:103

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

Inherited from

BaseContract._deployedPromise

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:96


_runningEvents

_runningEvents: Object

Index signature

▪ [eventTag: string]: RunningEvent

Inherited from

BaseContract._runningEvents

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:97


_wrappedEmits

_wrappedEmits: Object

Index signature

▪ [eventTag: string]: (…args: any[]) => void

Inherited from

BaseContract._wrappedEmits

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:100


address

Readonly address: string

Inherited from

BaseContract.address

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:75


callStatic

callStatic: Object

Type declaration

Name Type
check(address,uint256,uint256,uint256,uint256,uint256) (strategy: string, profit: BigNumberish, loss: BigNumberish, debtPayment: BigNumberish, debtOutstanding: BigNumberish, totalDebt: BigNumberish, overrides?: CallOverrides) => Promise<boolean>
check(uint256,uint256,uint256,uint256,uint256) (profit: BigNumberish, loss: BigNumberish, debtPayment: BigNumberish, debtOutstanding: BigNumberish, totalDebt: BigNumberish, overrides?: CallOverrides) => Promise<boolean>
checks (arg0: string, overrides?: CallOverrides) => Promise<string>
disabledCheck (arg0: string, overrides?: CallOverrides) => Promise<boolean>
doHealthCheck (_strategy: string, overrides?: CallOverrides) => Promise<boolean>
enableCheck (_strategy: string, overrides?: CallOverrides) => Promise<void>
governance (overrides?: CallOverrides) => Promise<string>
lossLimitRatio (overrides?: CallOverrides) => Promise<BigNumber>
management (overrides?: CallOverrides) => Promise<string>
profitLimitRatio (overrides?: CallOverrides) => Promise<BigNumber>
setCheck (_strategy: string, _check: string, overrides?: CallOverrides) => Promise<void>
setDisabledCheck (_strategy: string, disabled: boolean, overrides?: CallOverrides) => Promise<void>
setGovernance (_governance: string, overrides?: CallOverrides) => Promise<void>
setManagement (_management: string, overrides?: CallOverrides) => Promise<void>
setProfitLimitRatio (_profitLimitRatio: BigNumberish, overrides?: CallOverrides) => Promise<void>
setStrategyLimits (_strategy: string, _profitLimitRatio: BigNumberish, _lossLimitRatio: BigNumberish, overrides?: CallOverrides) => Promise<void>
setlossLimitRatio (_lossLimitRatio: BigNumberish, overrides?: CallOverrides) => Promise<void>
strategiesLimits (arg0: string, overrides?: CallOverrides) => Promise<[BigNumber, BigNumber, boolean] & { exists: boolean ; lossLimitRatio: BigNumber ; profitLimitRatio: BigNumber }>

Overrides

BaseContract.callStatic

Defined in

typechain/CommonHealthCheck.d.ts:394


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

BaseContract.deployTransaction

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:95


estimateGas

estimateGas: Object

Type declaration

Name Type
check(address,uint256,uint256,uint256,uint256,uint256) (strategy: string, profit: BigNumberish, loss: BigNumberish, debtPayment: BigNumberish, debtOutstanding: BigNumberish, totalDebt: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
check(uint256,uint256,uint256,uint256,uint256) (profit: BigNumberish, loss: BigNumberish, debtPayment: BigNumberish, debtOutstanding: BigNumberish, totalDebt: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
checks (arg0: string, overrides?: CallOverrides) => Promise<BigNumber>
disabledCheck (arg0: string, overrides?: CallOverrides) => Promise<BigNumber>
doHealthCheck (_strategy: string, overrides?: CallOverrides) => Promise<BigNumber>
enableCheck (_strategy: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
governance (overrides?: CallOverrides) => Promise<BigNumber>
lossLimitRatio (overrides?: CallOverrides) => Promise<BigNumber>
management (overrides?: CallOverrides) => Promise<BigNumber>
profitLimitRatio (overrides?: CallOverrides) => Promise<BigNumber>
setCheck (_strategy: string, _check: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
setDisabledCheck (_strategy: string, disabled: boolean, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
setGovernance (_governance: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
setManagement (_management: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
setProfitLimitRatio (_profitLimitRatio: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
setStrategyLimits (_strategy: string, _profitLimitRatio: BigNumberish, _lossLimitRatio: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
setlossLimitRatio (_lossLimitRatio: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
strategiesLimits (arg0: string, overrides?: CallOverrides) => Promise<BigNumber>

Overrides

BaseContract.estimateGas

Defined in

typechain/CommonHealthCheck.d.ts:486


filters

filters: Object

Overrides

BaseContract.filters

Defined in

typechain/CommonHealthCheck.d.ts:484


functions

functions: Object

Type declaration

Name Type
check(address,uint256,uint256,uint256,uint256,uint256) (strategy: string, profit: BigNumberish, loss: BigNumberish, debtPayment: BigNumberish, debtOutstanding: BigNumberish, totalDebt: BigNumberish, overrides?: CallOverrides) => Promise<[boolean]>
check(uint256,uint256,uint256,uint256,uint256) (profit: BigNumberish, loss: BigNumberish, debtPayment: BigNumberish, debtOutstanding: BigNumberish, totalDebt: BigNumberish, overrides?: CallOverrides) => Promise<[boolean]>
checks (arg0: string, overrides?: CallOverrides) => Promise<[string]>
disabledCheck (arg0: string, overrides?: CallOverrides) => Promise<[boolean]>
doHealthCheck (_strategy: string, overrides?: CallOverrides) => Promise<[boolean]>
enableCheck (_strategy: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
governance (overrides?: CallOverrides) => Promise<[string]>
lossLimitRatio (overrides?: CallOverrides) => Promise<[BigNumber]>
management (overrides?: CallOverrides) => Promise<[string]>
profitLimitRatio (overrides?: CallOverrides) => Promise<[BigNumber]>
setCheck (_strategy: string, _check: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
setDisabledCheck (_strategy: string, disabled: boolean, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
setGovernance (_governance: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
setManagement (_management: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
setProfitLimitRatio (_profitLimitRatio: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
setStrategyLimits (_strategy: string, _profitLimitRatio: BigNumberish, _lossLimitRatio: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
setlossLimitRatio (_lossLimitRatio: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
strategiesLimits (arg0: string, overrides?: CallOverrides) => Promise<[BigNumber, BigNumber, boolean] & { exists: boolean ; lossLimitRatio: BigNumber ; profitLimitRatio: BigNumber }>

Overrides

BaseContract.functions

Defined in

typechain/CommonHealthCheck.d.ts:213


interface

interface: CommonHealthCheckInterface

Overrides

BaseContract.interface

Defined in

typechain/CommonHealthCheck.d.ts:211


populateTransaction

populateTransaction: Object

Type declaration

Name Type
check(address,uint256,uint256,uint256,uint256,uint256) (strategy: string, profit: BigNumberish, loss: BigNumberish, debtPayment: BigNumberish, debtOutstanding: BigNumberish, totalDebt: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
check(uint256,uint256,uint256,uint256,uint256) (profit: BigNumberish, loss: BigNumberish, debtPayment: BigNumberish, debtOutstanding: BigNumberish, totalDebt: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
checks (arg0: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
disabledCheck (arg0: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
doHealthCheck (_strategy: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
enableCheck (_strategy: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
governance (overrides?: CallOverrides) => Promise<PopulatedTransaction>
lossLimitRatio (overrides?: CallOverrides) => Promise<PopulatedTransaction>
management (overrides?: CallOverrides) => Promise<PopulatedTransaction>
profitLimitRatio (overrides?: CallOverrides) => Promise<PopulatedTransaction>
setCheck (_strategy: string, _check: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
setDisabledCheck (_strategy: string, disabled: boolean, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
setGovernance (_governance: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
setManagement (_management: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
setProfitLimitRatio (_profitLimitRatio: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
setStrategyLimits (_strategy: string, _profitLimitRatio: BigNumberish, _lossLimitRatio: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
setlossLimitRatio (_lossLimitRatio: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
strategiesLimits (arg0: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>

Overrides

BaseContract.populateTransaction

Defined in

typechain/CommonHealthCheck.d.ts:573


provider

Readonly provider: Provider

Inherited from

BaseContract.provider

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:78


resolvedAddress

Readonly resolvedAddress: Promise<string>

Inherited from

BaseContract.resolvedAddress

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:94


signer

Readonly signer: Signer

Inherited from

BaseContract.signer

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:77

Methods

_checkRunningEvents

_checkRunningEvents(runningEvent): void

Parameters

Name Type
runningEvent RunningEvent

Returns

void

Inherited from

BaseContract._checkRunningEvents

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:117


_deployed

_deployed(blockTag?): Promise<Contract>

Parameters

Name Type
blockTag? BlockTag

Returns

Promise<Contract>

Inherited from

BaseContract._deployed

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:110


_wrapEvent

_wrapEvent(runningEvent, log, listener): Event

Parameters

Name Type
runningEvent RunningEvent
log Log
listener Listener

Returns

Event

Inherited from

BaseContract._wrapEvent

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:118


attach

attach(addressOrName): CommonHealthCheck

Parameters

Name Type
addressOrName string

Returns

CommonHealthCheck

Overrides

BaseContract.attach

Defined in

typechain/CommonHealthCheck.d.ts:172


check(address,uint256,uint256,uint256,uint256,uint256)

check(address,uint256,uint256,uint256,uint256,uint256)(strategy, profit, loss, debtPayment, debtOutstanding, totalDebt, overrides?): Promise<boolean>

Parameters

Name Type
strategy string
profit BigNumberish
loss BigNumberish
debtPayment BigNumberish
debtOutstanding BigNumberish
totalDebt BigNumberish
overrides? CallOverrides

Returns

Promise<boolean>

Defined in

typechain/CommonHealthCheck.d.ts:306


check(uint256,uint256,uint256,uint256,uint256)

check(uint256,uint256,uint256,uint256,uint256)(profit, loss, debtPayment, debtOutstanding, totalDebt, overrides?): Promise<boolean>

Parameters

Name Type
profit BigNumberish
loss BigNumberish
debtPayment BigNumberish
debtOutstanding BigNumberish
totalDebt BigNumberish
overrides? CallOverrides

Returns

Promise<boolean>

Defined in

typechain/CommonHealthCheck.d.ts:316


checks

checks(arg0, overrides?): Promise<string>

Parameters

Name Type
arg0 string
overrides? CallOverrides

Returns

Promise<string>

Defined in

typechain/CommonHealthCheck.d.ts:325


connect

connect(signerOrProvider): CommonHealthCheck

Parameters

Name Type
signerOrProvider string | Provider | Signer

Returns

CommonHealthCheck

Overrides

BaseContract.connect

Defined in

typechain/CommonHealthCheck.d.ts:171


deployed

deployed(): Promise<CommonHealthCheck>

Returns

Promise<CommonHealthCheck>

Overrides

BaseContract.deployed

Defined in

typechain/CommonHealthCheck.d.ts:173


disabledCheck

disabledCheck(arg0, overrides?): Promise<boolean>

Parameters

Name Type
arg0 string
overrides? CallOverrides

Returns

Promise<boolean>

Defined in

typechain/CommonHealthCheck.d.ts:327


doHealthCheck

doHealthCheck(_strategy, overrides?): Promise<boolean>

Parameters

Name Type
_strategy string
overrides? CallOverrides

Returns

Promise<boolean>

Defined in

typechain/CommonHealthCheck.d.ts:329


emit

emit(eventName, …args): boolean

Parameters

Name Type
eventName string | EventFilter
...args any[]

Returns

boolean

Inherited from

BaseContract.emit

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:123


enableCheck

enableCheck(_strategy, overrides?): Promise<ContractTransaction>

Parameters

Name Type
_strategy string
overrides? Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

typechain/CommonHealthCheck.d.ts:331


fallback

fallback(overrides?): Promise<TransactionResponse>

Parameters

Name Type
overrides? TransactionRequest

Returns

Promise<TransactionResponse>

Inherited from

BaseContract.fallback

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:111


governance

governance(overrides?): Promise<string>

Parameters

Name Type
overrides? CallOverrides

Returns

Promise<string>

Defined in

typechain/CommonHealthCheck.d.ts:336


listenerCount

listenerCount(eventName?): number

Parameters

Name Type
eventName? string | EventFilter

Returns

number

Inherited from

BaseContract.listenerCount

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:124


listeners

listeners<EventArgsArray, EventArgsObject>(eventFilter?): TypedListener<EventArgsArray, EventArgsObject>[]

Type parameters

Name Type
EventArgsArray extends any[]
EventArgsObject EventArgsObject

Parameters

Name Type
eventFilter? TypedEventFilter<EventArgsArray, EventArgsObject>

Returns

TypedListener<EventArgsArray, EventArgsObject>[]

Overrides

BaseContract.listeners

Defined in

typechain/CommonHealthCheck.d.ts:175

listeners(eventName?): Listener[]

Parameters

Name Type
eventName? string

Returns

Listener[]

Overrides

BaseContract.listeners

Defined in

typechain/CommonHealthCheck.d.ts:198


lossLimitRatio

lossLimitRatio(overrides?): Promise<BigNumber>

Parameters

Name Type
overrides? CallOverrides

Returns

Promise<BigNumber>

Defined in

typechain/CommonHealthCheck.d.ts:338


management

management(overrides?): Promise<string>

Parameters

Name Type
overrides? CallOverrides

Returns

Promise<string>

Defined in

typechain/CommonHealthCheck.d.ts:340


off

off<EventArgsArray, EventArgsObject>(eventFilter, listener): CommonHealthCheck

Type parameters

Name Type
EventArgsArray extends any[]
EventArgsObject EventArgsObject

Parameters

Name Type
eventFilter TypedEventFilter<EventArgsArray, EventArgsObject>
listener TypedListener<EventArgsArray, EventArgsObject>

Returns

CommonHealthCheck

Overrides

BaseContract.off

Defined in

typechain/CommonHealthCheck.d.ts:178

off(eventName, listener): CommonHealthCheck

Parameters

Name Type
eventName string
listener Listener

Returns

CommonHealthCheck

Overrides

BaseContract.off

Defined in

typechain/CommonHealthCheck.d.ts:199


on

on<EventArgsArray, EventArgsObject>(eventFilter, listener): CommonHealthCheck

Type parameters

Name Type
EventArgsArray extends any[]
EventArgsObject EventArgsObject

Parameters

Name Type
eventFilter TypedEventFilter<EventArgsArray, EventArgsObject>
listener TypedListener<EventArgsArray, EventArgsObject>

Returns

CommonHealthCheck

Overrides

BaseContract.on

Defined in

typechain/CommonHealthCheck.d.ts:182

on(eventName, listener): CommonHealthCheck

Parameters

Name Type
eventName string
listener Listener

Returns

CommonHealthCheck

Overrides

BaseContract.on

Defined in

typechain/CommonHealthCheck.d.ts:200


once

once<EventArgsArray, EventArgsObject>(eventFilter, listener): CommonHealthCheck

Type parameters

Name Type
EventArgsArray extends any[]
EventArgsObject EventArgsObject

Parameters

Name Type
eventFilter TypedEventFilter<EventArgsArray, EventArgsObject>
listener TypedListener<EventArgsArray, EventArgsObject>

Returns

CommonHealthCheck

Overrides

BaseContract.once

Defined in

typechain/CommonHealthCheck.d.ts:186

once(eventName, listener): CommonHealthCheck

Parameters

Name Type
eventName string
listener Listener

Returns

CommonHealthCheck

Overrides

BaseContract.once

Defined in

typechain/CommonHealthCheck.d.ts:201


profitLimitRatio

profitLimitRatio(overrides?): Promise<BigNumber>

Parameters

Name Type
overrides? CallOverrides

Returns

Promise<BigNumber>

Defined in

typechain/CommonHealthCheck.d.ts:342


queryFilter

queryFilter<EventArgsArray, EventArgsObject>(event, fromBlockOrBlockhash?, toBlock?): Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

Type parameters

Name Type
EventArgsArray extends any[]
EventArgsObject EventArgsObject

Parameters

Name Type
event TypedEventFilter<EventArgsArray, EventArgsObject>
fromBlockOrBlockhash? string | number
toBlock? string | number

Returns

Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

Overrides

BaseContract.queryFilter

Defined in

typechain/CommonHealthCheck.d.ts:205


removeAllListeners

removeAllListeners<EventArgsArray, EventArgsObject>(eventFilter): CommonHealthCheck

Type parameters

Name Type
EventArgsArray extends any[]
EventArgsObject EventArgsObject

Parameters

Name Type
eventFilter TypedEventFilter<EventArgsArray, EventArgsObject>

Returns

CommonHealthCheck

Overrides

BaseContract.removeAllListeners

Defined in

typechain/CommonHealthCheck.d.ts:194

removeAllListeners(eventName?): CommonHealthCheck

Parameters

Name Type
eventName? string

Returns

CommonHealthCheck

Overrides

BaseContract.removeAllListeners

Defined in

typechain/CommonHealthCheck.d.ts:203


removeListener

removeListener<EventArgsArray, EventArgsObject>(eventFilter, listener): CommonHealthCheck

Type parameters

Name Type
EventArgsArray extends any[]
EventArgsObject EventArgsObject

Parameters

Name Type
eventFilter TypedEventFilter<EventArgsArray, EventArgsObject>
listener TypedListener<EventArgsArray, EventArgsObject>

Returns

CommonHealthCheck

Overrides

BaseContract.removeListener

Defined in

typechain/CommonHealthCheck.d.ts:190

removeListener(eventName, listener): CommonHealthCheck

Parameters

Name Type
eventName string
listener Listener

Returns

CommonHealthCheck

Overrides

BaseContract.removeListener

Defined in

typechain/CommonHealthCheck.d.ts:202


setCheck

setCheck(_strategy, _check, overrides?): Promise<ContractTransaction>

Parameters

Name Type
_strategy string
_check string
overrides? Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

typechain/CommonHealthCheck.d.ts:344


setDisabledCheck

setDisabledCheck(_strategy, disabled, overrides?): Promise<ContractTransaction>

Parameters

Name Type
_strategy string
disabled boolean
overrides? Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

typechain/CommonHealthCheck.d.ts:350


setGovernance

setGovernance(_governance, overrides?): Promise<ContractTransaction>

Parameters

Name Type
_governance string
overrides? Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

typechain/CommonHealthCheck.d.ts:356


setManagement

setManagement(_management, overrides?): Promise<ContractTransaction>

Parameters

Name Type
_management string
overrides? Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

typechain/CommonHealthCheck.d.ts:361


setProfitLimitRatio

setProfitLimitRatio(_profitLimitRatio, overrides?): Promise<ContractTransaction>

Parameters

Name Type
_profitLimitRatio BigNumberish
overrides? Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

typechain/CommonHealthCheck.d.ts:366


setStrategyLimits

setStrategyLimits(_strategy, _profitLimitRatio, _lossLimitRatio, overrides?): Promise<ContractTransaction>

Parameters

Name Type
_strategy string
_profitLimitRatio BigNumberish
_lossLimitRatio BigNumberish
overrides? Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

typechain/CommonHealthCheck.d.ts:371


setlossLimitRatio

setlossLimitRatio(_lossLimitRatio, overrides?): Promise<ContractTransaction>

Parameters

Name Type
_lossLimitRatio BigNumberish
overrides? Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

typechain/CommonHealthCheck.d.ts:378


strategiesLimits

strategiesLimits(arg0, overrides?): Promise<[BigNumber, BigNumber, boolean] & { exists: boolean ; lossLimitRatio: BigNumber ; profitLimitRatio: BigNumber }>

Parameters

Name Type
arg0 string
overrides? CallOverrides

Returns

Promise<[BigNumber, BigNumber, boolean] & { exists: boolean ; lossLimitRatio: BigNumber ; profitLimitRatio: BigNumber }>

Defined in

typechain/CommonHealthCheck.d.ts:383


getContractAddress

Static getContractAddress(transaction): string

Parameters

Name Type
transaction Object
transaction.from string
transaction.nonce BigNumberish

Returns

string

Inherited from

BaseContract.getContractAddress

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:104


getInterface

Static getInterface(contractInterface): Interface

Parameters

Name Type
contractInterface ContractInterface

Returns

Interface

Inherited from

BaseContract.getInterface

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:108


isIndexed

Static isIndexed(value): value is Indexed

Parameters

Name Type
value any

Returns

value is Indexed

Inherited from

BaseContract.isIndexed

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:114

Questions or feedback? You can discuss issues and obtain free support on Yearn Vaults chat channel.
For SushiSwap community support, join the Discord Server None