How Do Subscriptions Work
This page details the mechanics of subscriptions within DegenHive, highlighting value propositions for subscribers and the control admins retain over their subscriber base.
When a HiveProfile is minted, the subscription costs are set to 0 updatable by the admin of the profile.
We form the struct AccessRecord
, which contains a Unique HiveProfile Object ID, Access type and current price, and the timestamp for the next due payment.
Every HiveProfile thus has two lists of these structs, one for their subscriptions and one for their subscribers.
Subscription in HiveProfile
Each HiveProfile has the following structures associated with it
Name | Type | Description |
---|---|---|
|
| Stores (type <> price) for available access level pack. |
|
| Stores the list of HiveProfile addresses subscribed to the user |
|
| Stores the list of HiveProfile addresses the user has subscribed to |
Last updated