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

Module: common

Table of contents

Interfaces

Type aliases

Type aliases

GetARGsTypeFromFactory

Ƭ GetARGsTypeFromFactory<F>: F extends MinEthersFactory<any, any> ? Parameters<F["deploy"]> : never

Type parameters

Name
F

Defined in

typechain/common.d.ts:33


GetContractTypeFromFactory

Ƭ GetContractTypeFromFactory<F>: F extends MinEthersFactory<infer C, any> ? C : never

Type parameters

Name
F

Defined in

typechain/common.d.ts:27


MinEthersFactory

Ƭ MinEthersFactory<C, ARGS>: Object

Type parameters

Name
C
ARGS

Type declaration

Name Type
deploy (…a: ARGS[]) => Promise<C>

Defined in

typechain/common.d.ts:24


TypedListener

Ƭ TypedListener<EventArgsArray, EventArgsObject>: (…listenerArg: […EventArgsArray, TypedEvent<EventArgsArray & EventArgsObject>]) => void

Type parameters

Name Type
EventArgsArray extends any[]
EventArgsObject EventArgsObject

Type declaration

▸ (…listenerArg): void

Parameters
Name Type
...listenerArg […EventArgsArray, TypedEvent<EventArgsArray & EventArgsObject>]
Returns

void

Defined in

typechain/common.d.ts:14

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