Skip to main content

Type Alias: GetValue<abi, functionName, valueType, abiFunction, Narrowable>

type GetValue<abi, functionName, valueType, abiFunction, Narrowable>: Narrowable extends true ? abiFunction["stateMutability"] extends "payable" ? object : abiFunction["payable"] extends true ? object : object : object;

Type Parameters

Type ParameterDefault type

abi extends Abi | readonly unknown[]

functionName extends string

valueType

unknown

abiFunction extends AbiFunction

abi extends Abi ? ExtractAbiFunction<abi, functionName> : AbiFunction

Narrowable extends boolean

IsNarrowable<abi, Abi>

Defined

@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:296