useEffectiveDelegateToCompliance
Whether creator's NEXT create* will wire the platform compliance delegate into the instance's compliance-manager clone - their setCompliancePolicy override when they have one, else the factory default.
@tokenops/sdk/fhe-airdrop/react{ data, isLoading, error, refetch }Description
Whether creator's NEXT create* will wire the platform compliance
delegate into the instance's compliance-manager clone - their
setCompliancePolicy override when they have one, else the factory
default. Read it to tell a creator up front that a platform delegate will
hold delegated rights on the campaign they are about to deploy.
The creator-facing mirror of useEffectiveUpgradeable: same args
shape, same gating, same subpath - even though the setters that move it
(setCompliancePolicy / clearCompliancePolicy /
setDefaultDelegateToCompliance) are factory-admin surface.
Signature
function useEffectiveDelegateToCompliance(args?: UseEffectiveDelegateToComplianceArgs): UseQueryResult<boolean, Error>;Parameters
Shape of the options object passed to the hook itself.
| Property | Type | Description |
|---|---|---|
| creator | Address | The creator whose effective delegate-to-compliance policy to read. |
Example
const { data: willDelegate } = useEffectiveDelegateToCompliance({ creator: deployerAddress });Pulled directly from the hook's TSDoc block — the same snippet your IDE shows on hover.
See also
Other Read hooks in airdrop v2:
useAirdropTokenRead the ERC-7984 token an airdrop instance distributes.useAirdropWindowRead an airdrop instance's claim-window snapshot in one round trip.useAirdropGasFeeRead the per-claim ETH fee (wei) an instance charges; 0n on a fee-free campaign.useMerkleRootRead a MerkleConfidentialAirdrop instance's currently published root.