Hook
@uniswap/v4-sdk / Hook
Defined in: utils/hook.ts:40
Constructors
new Hook()
new Hook():
Hook
Returns
Methods
hasDonatePermissions()
static
hasDonatePermissions(address
):boolean
Defined in: utils/hook.ts:91
Parameters
Parameter | Type |
---|---|
address | string |
Returns
boolean
hasInitializePermissions()
static
hasInitializePermissions(address
):boolean
Defined in: utils/hook.ts:66
Parameters
Parameter | Type |
---|---|
address | string |
Returns
boolean
hasLiquidityPermissions()
static
hasLiquidityPermissions(address
):boolean
Defined in: utils/hook.ts:74
Parameters
Parameter | Type |
---|---|
address | string |
Returns
boolean
hasPermission()
static
hasPermission(address
,hookOption
):boolean
Defined in: utils/hook.ts:61
Parameters
Parameter | Type |
---|---|
address | string |
hookOption | HookOptions |
Returns
boolean
hasSwapPermissions()
static
hasSwapPermissions(address
):boolean
Defined in: utils/hook.ts:85
Parameters
Parameter | Type |
---|---|
address | string |
Returns
boolean
permissions()
static
permissions(address
):HookPermissions
Defined in: utils/hook.ts:41
Parameters
Parameter | Type |
---|---|
address | string |