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 / StrategyAPI__factory

Class: StrategyAPI__factory

index.StrategyAPI__factory

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new StrategyAPI__factory()

Properties

abi

Static Readonly abi: ({ 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 = “callCost”; type: string = “uint256” }[] ; name: string = “harvestTrigger”; outputs: { internalType: string = “bool”; name: string = “”; type: string = “bool” }[] ; stateMutability: string = “view”; type: string = “function” })[]

Defined in

typechain/factories/StrategyAPI__factory.ts:200

Methods

connect

Static connect(address, signerOrProvider): StrategyAPI

Parameters

Name Type
address string
signerOrProvider Provider | Signer

Returns

StrategyAPI

Defined in

typechain/factories/StrategyAPI__factory.ts:204


createInterface

Static createInterface(): StrategyAPIInterface

Returns

StrategyAPIInterface

Defined in

typechain/factories/StrategyAPI__factory.ts:201

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