Skip to main content

src/hooks/useCreatorAllowlist

creatorvault-miniapp


creatorvault-miniapp / src/hooks/useCreatorAllowlist

src/hooks/useCreatorAllowlist

Type Aliases

CreatorAllowlistMode

CreatorAllowlistMode = "disabled" | "enforced"

Defined in: hooks/useCreatorAllowlist.ts:5


CreatorAllowlistStatus

CreatorAllowlistStatus = object

Defined in: hooks/useCreatorAllowlist.ts:7

Properties

address

address: string | null

Defined in: hooks/useCreatorAllowlist.ts:8

allowed

allowed: boolean

Defined in: hooks/useCreatorAllowlist.ts:13

coin

coin: string | null

Defined in: hooks/useCreatorAllowlist.ts:9

creator

creator: string | null

Defined in: hooks/useCreatorAllowlist.ts:10

mode

mode: CreatorAllowlistMode

Defined in: hooks/useCreatorAllowlist.ts:12

payoutRecipient

payoutRecipient: string | null

Defined in: hooks/useCreatorAllowlist.ts:11

Functions

useCreatorAllowlist()

Call Signature

useCreatorAllowlist(address?): UseQueryResult<CreatorAllowlistStatus>

Defined in: hooks/useCreatorAllowlist.ts:34

Parameters
address?

string | null

Returns

UseQueryResult<CreatorAllowlistStatus>

Call Signature

useCreatorAllowlist(params?): UseQueryResult<CreatorAllowlistStatus>

Defined in: hooks/useCreatorAllowlist.ts:35

Parameters
params?

CreatorAllowlistQuery

Returns

UseQueryResult<CreatorAllowlistStatus>