yearn-vaults / Modules / BaseStrategy / BaseStrategyInterface
Interface: BaseStrategyInterface
BaseStrategy.BaseStrategyInterface
Hierarchy
Interface
↳ BaseStrategyInterface
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
Type declaration
Name | Type |
---|---|
EmergencyExitEnabled() |
EventFragment |
Harvested(uint256,uint256,uint256,uint256) |
EventFragment |
UpdatedDebtThreshold(uint256) |
EventFragment |
UpdatedKeeper(address) |
EventFragment |
UpdatedMaxReportDelay(uint256) |
EventFragment |
UpdatedMetadataURI(string) |
EventFragment |
UpdatedMinReportDelay(uint256) |
EventFragment |
UpdatedProfitFactor(uint256) |
EventFragment |
UpdatedRewards(address) |
EventFragment |
UpdatedStrategist(address) |
EventFragment |
Overrides
ethers.utils.Interface.events
Defined in
typechain/BaseStrategy.d.ts:241
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 |
---|---|
apiVersion() |
FunctionFragment |
debtThreshold() |
FunctionFragment |
delegatedAssets() |
FunctionFragment |
emergencyExit() |
FunctionFragment |
estimatedTotalAssets() |
FunctionFragment |
ethToWant(uint256) |
FunctionFragment |
harvest() |
FunctionFragment |
harvestTrigger(uint256) |
FunctionFragment |
isActive() |
FunctionFragment |
keeper() |
FunctionFragment |
maxReportDelay() |
FunctionFragment |
metadataURI() |
FunctionFragment |
migrate(address) |
FunctionFragment |
minReportDelay() |
FunctionFragment |
name() |
FunctionFragment |
profitFactor() |
FunctionFragment |
rewards() |
FunctionFragment |
setDebtThreshold(uint256) |
FunctionFragment |
setEmergencyExit() |
FunctionFragment |
setKeeper(address) |
FunctionFragment |
setMaxReportDelay(uint256) |
FunctionFragment |
setMetadataURI(string) |
FunctionFragment |
setMinReportDelay(uint256) |
FunctionFragment |
setProfitFactor(uint256) |
FunctionFragment |
setRewards(address) |
FunctionFragment |
setStrategist(address) |
FunctionFragment |
strategist() |
FunctionFragment |
sweep(address) |
FunctionFragment |
tend() |
FunctionFragment |
tendTrigger(uint256) |
FunctionFragment |
vault() |
FunctionFragment |
want() |
FunctionFragment |
withdraw(uint256) |
FunctionFragment |
Overrides
ethers.utils.Interface.functions
Defined in
typechain/BaseStrategy.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 |
"apiVersion" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:156
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"debtThreshold" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:157
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"delegatedAssets" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:161
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"emergencyExit" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:165
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"estimatedTotalAssets" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:169
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"ethToWant" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:173
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"harvest" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:174
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"harvestTrigger" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:175
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"isActive" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:179
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"keeper" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:180
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"maxReportDelay" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:181
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"metadataURI" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:185
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"migrate" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:189
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"minReportDelay" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:190
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"name" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:194
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"profitFactor" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:195
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"rewards" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:199
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setDebtThreshold" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:200
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setEmergencyExit" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:204
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setKeeper" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:208
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setMaxReportDelay" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:209
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setMetadataURI" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:213
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setMinReportDelay" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:217
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setProfitFactor" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:221
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setRewards" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:225
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setStrategist" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:226
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"strategist" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:230
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"sweep" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:231
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"tend" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:232
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"tendTrigger" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:233
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"vault" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:237
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"want" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:238
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"withdraw" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/BaseStrategy.d.ts:239
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 |
"apiVersion" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:59
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"debtThreshold" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:63
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"delegatedAssets" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:67
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"emergencyExit" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:71
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"estimatedTotalAssets" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:75
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"ethToWant" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:79
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"harvest" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:83
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"harvestTrigger" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:84
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"isActive" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:88
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"keeper" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:89
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"maxReportDelay" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:90
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"metadataURI" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:94
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"migrate" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:98
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"minReportDelay" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:99
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"name" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:103
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"profitFactor" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:104
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"rewards" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:108
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setDebtThreshold" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:109
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setEmergencyExit" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:113
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setKeeper" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:117
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setMaxReportDelay" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:118
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setMetadataURI" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:122
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setMinReportDelay" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:126
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setProfitFactor" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:130
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setRewards" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:134
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setStrategist" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:135
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"strategist" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:139
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"sweep" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:143
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"tend" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:144
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"tendTrigger" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:145
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"vault" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:149
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"want" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:150
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"withdraw" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/BaseStrategy.d.ts:151
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 |
"EmergencyExitEnabled" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:254
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"Harvested" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:255
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedDebtThreshold" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:256
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedKeeper" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:257
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedMaxReportDelay" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:258
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedMetadataURI" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:259
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedMinReportDelay" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:260
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedProfitFactor" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:261
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedRewards" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:262
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedStrategist" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/BaseStrategy.d.ts:263
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