Skip to main content

Hook

@uniswap/v4-sdk / Hook

Defined in: utils/hook.ts:40

Constructors

new Hook()

new Hook(): Hook

Returns

Hook

Methods

hasDonatePermissions()

static hasDonatePermissions(address): boolean

Defined in: utils/hook.ts:91

Parameters

ParameterType
addressstring

Returns

boolean


hasInitializePermissions()

static hasInitializePermissions(address): boolean

Defined in: utils/hook.ts:66

Parameters

ParameterType
addressstring

Returns

boolean


hasLiquidityPermissions()

static hasLiquidityPermissions(address): boolean

Defined in: utils/hook.ts:74

Parameters

ParameterType
addressstring

Returns

boolean


hasPermission()

static hasPermission(address, hookOption): boolean

Defined in: utils/hook.ts:61

Parameters

ParameterType
addressstring
hookOptionHookOptions

Returns

boolean


hasSwapPermissions()

static hasSwapPermissions(address): boolean

Defined in: utils/hook.ts:85

Parameters

ParameterType
addressstring

Returns

boolean


permissions()

static permissions(address): HookPermissions

Defined in: utils/hook.ts:41

Parameters

ParameterType
addressstring

Returns

HookPermissions