Skip to main content

Type Alias: AbiEventTopicToPrimitiveType<abiParameter, topic, primitiveType>

type AbiEventTopicToPrimitiveType<abiParameter, topic, primitiveType>: LogTopicType<primitiveType, topic>;

Internal

Type Parameters

Type ParameterDefault type

abiParameter extends AbiParameter

topic extends LogTopic

primitiveType

abiParameter["type"] extends HashedEventTypes ? topic : AbiParameterToPrimitiveType<abiParameter>

Defined

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