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 / index / BaseStrategy__factory

Class: BaseStrategy__factory

index.BaseStrategy__factory

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BaseStrategy__factory()

Properties

abi

Static Readonly abi: ({ anonymous: undefined = false; inputs: { internalType: string = “address”; name: string = “_vault”; type: string = “address” }[] ; name: undefined = “allowance”; outputs: undefined ; stateMutability: string = “nonpayable”; type: string = “constructor” } | { anonymous: boolean = false; inputs: { indexed: boolean = false; internalType: string = “uint256”; name: string = “profit”; type: string = “uint256” }[] ; name: string = “Harvested”; outputs: undefined ; stateMutability: undefined = “view”; type: string = “event” } | { anonymous: undefined = false; inputs: { internalType: string = “uint256”; name: string = “_amtInWei”; type: string = “uint256” }[] ; name: string = “ethToWant”; outputs: { internalType: string = “uint256”; name: string = “”; type: string = “uint256” }[] ; stateMutability: string = “view”; type: string = “function” })[]

Defined in

typechain/factories/BaseStrategy__factory.ts:600

Methods

connect

Static connect(address, signerOrProvider): BaseStrategy

Parameters

Name Type
address string
signerOrProvider Provider | Signer

Returns

BaseStrategy

Defined in

typechain/factories/BaseStrategy__factory.ts:604


createInterface

Static createInterface(): BaseStrategyInterface

Returns

BaseStrategyInterface

Defined in

typechain/factories/BaseStrategy__factory.ts:601

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