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

Class: VaultAPI__factory

index.VaultAPI__factory

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new VaultAPI__factory()

Properties

abi

Static Readonly abi: ({ anonymous: boolean = false; inputs: { indexed: boolean = true; internalType: string = “address”; name: string = “owner”; type: string = “address” }[] ; name: string = “Approval”; outputs: undefined ; stateMutability: undefined = “view”; type: string = “event” } | { anonymous: undefined = false; inputs: { internalType: string = “address”; name: string = “owner”; type: string = “address” }[] ; name: string = “allowance”; outputs: { internalType: string = “uint256”; name: string = “”; type: string = “uint256” }[] ; stateMutability: string = “view”; type: string = “function” } | { anonymous: undefined = false; inputs: { internalType: string = “address”; name: string = “_strategy”; type: string = “address” }[] ; name: string = “strategies”; outputs: { components: { internalType: string = “uint256”; name: string = “performanceFee”; type: string = “uint256” }[] ; internalType: string = “struct StrategyParams”; name: string = “”; type: string = “tuple” }[] ; stateMutability: string = “view”; type: string = “function” })[]

Defined in

typechain/factories/VaultAPI__factory.ts:644

Methods

connect

Static connect(address, signerOrProvider): VaultAPI

Parameters

Name Type
address string
signerOrProvider Provider | Signer

Returns

VaultAPI

Defined in

typechain/factories/VaultAPI__factory.ts:648


createInterface

Static createInterface(): VaultAPIInterface

Returns

VaultAPIInterface

Defined in

typechain/factories/VaultAPI__factory.ts:645

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