Staking Protocolinterfaces
ICreatorEligibilityFacet
It defines the basic interface of CreatorEligibility facets
initCreatorEligibilityFacet
Initialization function.
The structure and content of initCreatorEligibilityData
are implementation specific.
Parameters
Name | Type | Description |
---|---|---|
initCreatorEligibilityData | bytes | The ABI-encoded initialization data. |
checkCreatorEligibility
Checks whether the specified account is eligible to create staking campaigns.
Reverts if account
is not eligible to create campaigns.
Parameters
Name | Type | Description |
---|---|---|
account | address | The address of the account to check. |