yearn-vaults / Modules / CommonHealthCheck / CommonHealthCheckInterface
Interface: CommonHealthCheckInterface
CommonHealthCheck.CommonHealthCheckInterface
Hierarchy
Interface
↳ CommonHealthCheckInterface
Table of contents
Properties
Methods
- _decodeParams
- _encodeParams
- decodeErrorResult
- decodeEventLog
- decodeFunctionData
- decodeFunctionResult
- encodeDeploy
- encodeErrorResult
- encodeEventLog
- encodeFilterTopics
- encodeFunctionData
- encodeFunctionResult
- format
- getError
- getEvent
- getEventTopic
- getFunction
- getSighash
- parseError
- parseLog
- parseTransaction
Properties
_abiCoder
• Readonly
_abiCoder: AbiCoder
Inherited from
ethers.utils.Interface._abiCoder
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:50
_isInterface
• Readonly
_isInterface: boolean
Inherited from
ethers.utils.Interface._isInterface
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:51
deploy
• Readonly
deploy: ConstructorFragment
Inherited from
ethers.utils.Interface.deploy
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:49
errors
• Readonly
errors: Object
Index signature
▪ [name: string
]: ErrorFragment
Inherited from
ethers.utils.Interface.errors
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:37
events
• events: Object
Overrides
ethers.utils.Interface.events
Defined in
typechain/CommonHealthCheck.d.ts:167
fragments
• Readonly
fragments: readonly Fragment
[]
Inherited from
ethers.utils.Interface.fragments
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:36
functions
• functions: Object
Type declaration
Name | Type |
---|---|
check(address,uint256,uint256,uint256,uint256,uint256) |
FunctionFragment |
checks(address) |
FunctionFragment |
disabledCheck(address) |
FunctionFragment |
doHealthCheck(address) |
FunctionFragment |
enableCheck(address) |
FunctionFragment |
governance() |
FunctionFragment |
lossLimitRatio() |
FunctionFragment |
management() |
FunctionFragment |
profitLimitRatio() |
FunctionFragment |
setCheck(address,address) |
FunctionFragment |
setDisabledCheck(address,bool) |
FunctionFragment |
setGovernance(address) |
FunctionFragment |
setManagement(address) |
FunctionFragment |
setProfitLimitRatio(uint256) |
FunctionFragment |
setStrategyLimits(address,uint256,uint256) |
FunctionFragment |
setlossLimitRatio(uint256) |
FunctionFragment |
strategiesLimits(address) |
FunctionFragment |
Overrides
ethers.utils.Interface.functions
Defined in
typechain/CommonHealthCheck.d.ts:23
structs
• Readonly
structs: Object
Index signature
▪ [name: string
]: any
Inherited from
ethers.utils.Interface.structs
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:46
Methods
_decodeParams
▸ _decodeParams(params
, data
): Result
Parameters
Name | Type |
---|---|
params |
readonly ParamType [] |
data |
BytesLike |
Returns
Result
Inherited from
ethers.utils.Interface._decodeParams
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:63
_encodeParams
▸ _encodeParams(params
, values
): string
Parameters
Name | Type |
---|---|
params |
readonly ParamType [] |
values |
readonly any [] |
Returns
string
Inherited from
ethers.utils.Interface._encodeParams
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:64
decodeErrorResult
▸ decodeErrorResult(fragment
, data
): Result
Parameters
Name | Type |
---|---|
fragment |
string | ErrorFragment |
data |
BytesLike |
Returns
Result
Inherited from
ethers.utils.Interface.decodeErrorResult
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:66
decodeEventLog
▸ decodeEventLog(eventFragment
, data
, topics?
): Result
Parameters
Name | Type |
---|---|
eventFragment |
string | EventFragment |
data |
BytesLike |
topics? |
readonly string [] |
Returns
Result
Inherited from
ethers.utils.Interface.decodeEventLog
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:77
decodeFunctionData
▸ decodeFunctionData(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
string | FunctionFragment |
data |
BytesLike |
Returns
Result
Inherited from
ethers.utils.Interface.decodeFunctionData
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:68
decodeFunctionResult
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"check" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:113
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"checks" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:114
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"disabledCheck" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:115
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"doHealthCheck" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:119
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"enableCheck" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:123
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"governance" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:127
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"lossLimitRatio" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:128
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"management" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:132
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"profitLimitRatio" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:133
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setCheck" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:137
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setDisabledCheck" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:138
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setGovernance" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:142
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setManagement" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:146
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setProfitLimitRatio" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:150
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setStrategyLimits" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:154
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setlossLimitRatio" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:158
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"strategiesLimits" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/CommonHealthCheck.d.ts:162
encodeDeploy
▸ encodeDeploy(values?
): string
Parameters
Name | Type |
---|---|
values? |
readonly any [] |
Returns
string
Inherited from
ethers.utils.Interface.encodeDeploy
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:65
encodeErrorResult
▸ encodeErrorResult(fragment
, values?
): string
Parameters
Name | Type |
---|---|
fragment |
string | ErrorFragment |
values? |
readonly any [] |
Returns
string
Inherited from
ethers.utils.Interface.encodeErrorResult
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:67
encodeEventLog
▸ encodeEventLog(eventFragment
, values
): Object
Parameters
Name | Type |
---|---|
eventFragment |
EventFragment |
values |
readonly any [] |
Returns
Object
Name | Type |
---|---|
data |
string |
topics |
string [] |
Inherited from
ethers.utils.Interface.encodeEventLog
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:73
encodeFilterTopics
▸ encodeFilterTopics(eventFragment
, values
): (string
| string
[])[]
Parameters
Name | Type |
---|---|
eventFragment |
EventFragment |
values |
readonly any [] |
Returns
(string
| string
[])[]
Inherited from
ethers.utils.Interface.encodeFilterTopics
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:72
encodeFunctionData
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"check" |
values |
[string , BigNumberish , BigNumberish , BigNumberish , BigNumberish , BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:43
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"checks" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:54
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"disabledCheck" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:55
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"doHealthCheck" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:59
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"enableCheck" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:63
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"governance" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:64
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"lossLimitRatio" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:68
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"management" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:72
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"profitLimitRatio" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:76
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setCheck" |
values |
[string , string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:80
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setDisabledCheck" |
values |
[string , boolean ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:84
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setGovernance" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:88
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setManagement" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:92
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setProfitLimitRatio" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:96
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setStrategyLimits" |
values |
[string , BigNumberish , BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:100
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setlossLimitRatio" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:104
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"strategiesLimits" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/CommonHealthCheck.d.ts:108
encodeFunctionResult
▸ encodeFunctionResult(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
string | FunctionFragment |
values? |
readonly any [] |
Returns
string
Inherited from
ethers.utils.Interface.encodeFunctionResult
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:71
format
▸ format(format?
): string
| string
[]
Parameters
Name | Type |
---|---|
format? |
string |
Returns
string
| string
[]
Inherited from
ethers.utils.Interface.format
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:53
getError
▸ getError(nameOrSignatureOrSighash
): ErrorFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrSighash |
string |
Returns
ErrorFragment
Inherited from
ethers.utils.Interface.getError
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:60
getEvent
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
string |
Returns
EventFragment
Inherited from
ethers.utils.Interface.getEvent
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:59
getEventTopic
▸ getEventTopic(eventFragment
): string
Parameters
Name | Type |
---|---|
eventFragment |
string | EventFragment |
Returns
string
Inherited from
ethers.utils.Interface.getEventTopic
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:62
getFunction
▸ getFunction(nameOrSignatureOrSighash
): FunctionFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrSighash |
string |
Returns
FunctionFragment
Inherited from
ethers.utils.Interface.getFunction
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:58
getSighash
▸ getSighash(fragment
): string
Parameters
Name | Type |
---|---|
fragment |
string | ErrorFragment | FunctionFragment |
Returns
string
Inherited from
ethers.utils.Interface.getSighash
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:61
parseError
▸ parseError(data
): ErrorDescription
Parameters
Name | Type |
---|---|
data |
BytesLike |
Returns
ErrorDescription
Inherited from
ethers.utils.Interface.parseError
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:86
parseLog
▸ parseLog(log
): LogDescription
Parameters
Name | Type |
---|---|
log |
Object |
log.data |
string |
log.topics |
string [] |
Returns
LogDescription
Inherited from
ethers.utils.Interface.parseLog
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:82
parseTransaction
▸ parseTransaction(tx
): TransactionDescription
Parameters
Name | Type |
---|---|
tx |
Object |
tx.data |
string |
tx.value? |
BigNumberish |
Returns
TransactionDescription
Inherited from
ethers.utils.Interface.parseTransaction
Defined in
node_modules/ethers/node_modules/@ethersproject/abi/lib/interface.d.ts:78