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 / BaseStrategyInitializable / BaseStrategyInitializableInterface

Interface: BaseStrategyInitializableInterface

BaseStrategyInitializable.BaseStrategyInitializableInterface

Hierarchy

  • Interface

BaseStrategyInitializableInterface

Table of contents

Properties

Methods

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
Cloned(address) EventFragment
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/BaseStrategyInitializable.d.ts:256


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
clone(address) FunctionFragment
debtThreshold() FunctionFragment
delegatedAssets() FunctionFragment
emergencyExit() FunctionFragment
estimatedTotalAssets() FunctionFragment
ethToWant(uint256) FunctionFragment
harvest() FunctionFragment
harvestTrigger(uint256) FunctionFragment
initialize(address,address,address,address) FunctionFragment
isActive() FunctionFragment
isOriginal() 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/BaseStrategyInitializable.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/BaseStrategyInitializable.d.ts:168

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "clone"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:169

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "debtThreshold"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:170

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "delegatedAssets"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:174

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "emergencyExit"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:178

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "estimatedTotalAssets"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:182

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "ethToWant"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:186

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "harvest"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:187

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "harvestTrigger"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:188

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "initialize"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:192

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "isActive"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:193

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "isOriginal"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:194

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "keeper"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:195

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "maxReportDelay"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:196

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "metadataURI"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:200

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "migrate"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:204

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "minReportDelay"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:205

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "name"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:209

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "profitFactor"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:210

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "rewards"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:214

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "setDebtThreshold"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:215

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "setEmergencyExit"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:219

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "setKeeper"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:223

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "setMaxReportDelay"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:224

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "setMetadataURI"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:228

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "setMinReportDelay"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:232

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "setProfitFactor"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:236

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "setRewards"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:240

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "setStrategist"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:241

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "strategist"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:245

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "sweep"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:246

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "tend"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:247

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "tendTrigger"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:248

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "vault"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:252

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "want"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:253

decodeFunctionResult(functionFragment, data): Result

Parameters

Name Type
functionFragment "withdraw"
data BytesLike

Returns

Result

Overrides

ethers.utils.Interface.decodeFunctionResult

Defined in

typechain/BaseStrategyInitializable.d.ts:254


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/BaseStrategyInitializable.d.ts:62

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "clone"
values [string]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:66

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "debtThreshold"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:67

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "delegatedAssets"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:71

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "emergencyExit"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:75

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "estimatedTotalAssets"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:79

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "ethToWant"
values [BigNumberish]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:83

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "harvest"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:87

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "harvestTrigger"
values [BigNumberish]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:88

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "initialize"
values [string, string, string, string]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:92

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "isActive"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:96

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "isOriginal"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:97

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "keeper"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:101

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "maxReportDelay"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:102

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "metadataURI"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:106

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "migrate"
values [string]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:110

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "minReportDelay"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:111

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "name"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:115

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "profitFactor"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:116

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "rewards"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:120

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "setDebtThreshold"
values [BigNumberish]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:121

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "setEmergencyExit"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:125

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "setKeeper"
values [string]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:129

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "setMaxReportDelay"
values [BigNumberish]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:130

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "setMetadataURI"
values [string]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:134

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "setMinReportDelay"
values [BigNumberish]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:138

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "setProfitFactor"
values [BigNumberish]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:142

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "setRewards"
values [string]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:146

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "setStrategist"
values [string]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:147

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "strategist"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:151

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "sweep"
values [string]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:155

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "tend"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:156

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "tendTrigger"
values [BigNumberish]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:157

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "vault"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:161

encodeFunctionData(functionFragment, values?): string

Parameters

Name Type
functionFragment "want"
values? undefined

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:162

encodeFunctionData(functionFragment, values): string

Parameters

Name Type
functionFragment "withdraw"
values [BigNumberish]

Returns

string

Overrides

ethers.utils.Interface.encodeFunctionData

Defined in

typechain/BaseStrategyInitializable.d.ts:163


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 "Cloned"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:270

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "EmergencyExitEnabled"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:271

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "Harvested"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:272

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "UpdatedDebtThreshold"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:273

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "UpdatedKeeper"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:274

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "UpdatedMaxReportDelay"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:275

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "UpdatedMetadataURI"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:276

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "UpdatedMinReportDelay"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:277

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "UpdatedProfitFactor"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:278

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "UpdatedRewards"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:279

getEvent(nameOrSignatureOrTopic): EventFragment

Parameters

Name Type
nameOrSignatureOrTopic "UpdatedStrategist"

Returns

EventFragment

Overrides

ethers.utils.Interface.getEvent

Defined in

typechain/BaseStrategyInitializable.d.ts:280


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

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