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