yearn-vaults / Modules / TestStrategy / TestStrategyInterface
Interface: TestStrategyInterface
TestStrategy.TestStrategyInterface
Hierarchy
Interface
↳ TestStrategyInterface
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 |
---|---|
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/TestStrategy.d.ts:310
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 |
---|---|
_setWant(address) |
FunctionFragment |
_takeFunds(uint256) |
FunctionFragment |
_toggleDelegation() |
FunctionFragment |
_toggleReentrancyExploit() |
FunctionFragment |
apiVersion() |
FunctionFragment |
clone(address) |
FunctionFragment |
debtThreshold() |
FunctionFragment |
delegateEverything() |
FunctionFragment |
delegatedAssets() |
FunctionFragment |
doReentrancy() |
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 |
protectedToken() |
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/TestStrategy.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 |
"_setWant" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:200
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"_takeFunds" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:201
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"_toggleDelegation" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:202
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"_toggleReentrancyExploit" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:206
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"apiVersion" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:210
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"clone" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:211
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"debtThreshold" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:212
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"delegateEverything" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:216
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"delegatedAssets" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:220
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"doReentrancy" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:224
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"emergencyExit" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:228
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"estimatedTotalAssets" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:232
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"ethToWant" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:236
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"harvest" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:237
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"harvestTrigger" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:238
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"initialize" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:242
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"isActive" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:243
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"isOriginal" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:244
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"keeper" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:245
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"maxReportDelay" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:246
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"metadataURI" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:250
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"migrate" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:254
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"minReportDelay" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:255
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"name" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:259
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"profitFactor" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:260
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"protectedToken" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:264
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"rewards" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:268
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setDebtThreshold" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:269
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setEmergencyExit" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:273
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setKeeper" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:277
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setMaxReportDelay" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:278
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setMetadataURI" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:282
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setMinReportDelay" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:286
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setProfitFactor" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:290
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setRewards" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:294
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"setStrategist" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:295
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"strategist" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:299
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"sweep" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:300
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"tend" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:301
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"tendTrigger" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:302
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"vault" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:306
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"want" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:307
▸ decodeFunctionResult(functionFragment
, data
): Result
Parameters
Name | Type |
---|---|
functionFragment |
"withdraw" |
data |
BytesLike |
Returns
Result
Overrides
ethers.utils.Interface.decodeFunctionResult
Defined in
typechain/TestStrategy.d.ts:308
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 |
"_setWant" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:69
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"_takeFunds" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:70
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"_toggleDelegation" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:74
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"_toggleReentrancyExploit" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:78
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"apiVersion" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:82
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"clone" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:86
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"debtThreshold" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:87
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"delegateEverything" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:91
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"delegatedAssets" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:95
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"doReentrancy" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:99
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"emergencyExit" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:103
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"estimatedTotalAssets" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:107
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"ethToWant" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:111
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"harvest" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:115
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"harvestTrigger" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:116
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"initialize" |
values |
[string , string , string , string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:120
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"isActive" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:124
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"isOriginal" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:125
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"keeper" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:129
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"maxReportDelay" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:130
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"metadataURI" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:134
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"migrate" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:138
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"minReportDelay" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:139
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"name" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:143
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"profitFactor" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:144
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"protectedToken" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:148
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"rewards" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:152
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setDebtThreshold" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:153
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setEmergencyExit" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:157
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setKeeper" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:161
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setMaxReportDelay" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:162
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setMetadataURI" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:166
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setMinReportDelay" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:170
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setProfitFactor" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:174
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setRewards" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:178
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"setStrategist" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:179
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"strategist" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:183
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"sweep" |
values |
[string ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:187
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"tend" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:188
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"tendTrigger" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:189
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"vault" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:193
▸ encodeFunctionData(functionFragment
, values?
): string
Parameters
Name | Type |
---|---|
functionFragment |
"want" |
values? |
undefined |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:194
▸ encodeFunctionData(functionFragment
, values
): string
Parameters
Name | Type |
---|---|
functionFragment |
"withdraw" |
values |
[BigNumberish ] |
Returns
string
Overrides
ethers.utils.Interface.encodeFunctionData
Defined in
typechain/TestStrategy.d.ts:195
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/TestStrategy.d.ts:324
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"EmergencyExitEnabled" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:325
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"Harvested" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:326
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedDebtThreshold" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:327
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedKeeper" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:328
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedMaxReportDelay" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:329
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedMetadataURI" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:330
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedMinReportDelay" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:331
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedProfitFactor" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:332
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedRewards" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:333
▸ getEvent(nameOrSignatureOrTopic
): EventFragment
Parameters
Name | Type |
---|---|
nameOrSignatureOrTopic |
"UpdatedStrategist" |
Returns
EventFragment
Overrides
ethers.utils.Interface.getEvent
Defined in
typechain/TestStrategy.d.ts:334
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