Staking Protocolinterfaces

ICreatorEligibilityFacet

It defines the basic interface of CreatorEligibility facets

initCreatorEligibilityFacet

function initCreatorEligibilityFacet(bytes initCreatorEligibilityData) external

Initialization function.

The structure and content of initCreatorEligibilityData are implementation specific.

Parameters

NameTypeDescription
initCreatorEligibilityDatabytesThe ABI-encoded initialization data.

checkCreatorEligibility

function checkCreatorEligibility(address account) external

Checks whether the specified account is eligible to create staking campaigns.

Reverts if account is not eligible to create campaigns.

Parameters

NameTypeDescription
accountaddressThe address of the account to check.

On this page