Access Token Umbrella Contract
Umbrella Access Token Contract
The Umbrella Access Token Contract is a foundational component of the Built By DAO ecosystem designed to manage the creation, customization, and deployment of various Access Token Sub-Contracts. This contract serves as the central authority for defining, approving, and managing access tokens that grant specific permissions within the DAO, such as entry to community amenities, events, and more. The umbrella contract ensures all sub-contracts are consistent with the broader community standards, while still offering the flexibility to customize tokens for diverse use cases.
Key Objectives and Features
Centralized Management of Access Token Sub-Contracts
The Umbrella Access Token Contract provides a unified framework for creating and managing multiple Access Token Sub-Contracts. Each sub-contract corresponds to a specific type of access—such as gym passes, event tickets, or seminar registrations—allowing the DAO to issue permissions in a controlled and efficient manner.
By employing an umbrella approach, the contract ensures that all sub-contracts are aligned with the community’s standards while also reducing redundancy and ensuring a scalable approach to creating new access types.
Role-Based Access Control
The contract utilizes role-based access control with two primary roles: Administrators and Reviewers.
Administrators are responsible for creating sub-contracts and inputting specific configurations such as token names, symbols, and access duration.
Reviewers are tasked with approving new sub-contracts, ensuring they meet community standards and adhere to the DAO's access policies.
This role separation allows for a layered approach to control, where creation and approval are handled by different sets of users, ensuring that only vetted and community-approved sub-contracts are deployed.
Sub-Contract Creation Using Clones
The Umbrella Access Token Contract employs OpenZeppelin's Clones library to create lightweight, gas-efficient copies of a template sub-contract. This makes the system highly scalable and cost-effective, as deploying each sub-contract is significantly less resource-intensive than creating new contracts from scratch.
Each sub-contract clone is customizable based on the access type. For instance, administrators can configure contracts to issue tokens with specific features such as one-time access or multi-use passes. The customization options ensure that each sub-contract can accommodate the unique requirements of different community amenities or events.
Approval Process for New Sub-Contracts
Once a new sub-contract is created, it must be reviewed and approved by a user with the REVIEWER_ROLE. This two-step process—creation by administrators followed by approval by reviewers—ensures that every new access token is scrutinized for compliance with DAO standards before it becomes operational.
This mechanism not only helps maintain a high standard for issued access tokens but also provides accountability and oversight in the creation of new token types.
Sub-Contract Details and Use Cases
The Access Token Sub-Contracts created by the umbrella contract are responsible for managing the issuance, validity, and expiration of specific access tokens. Each sub-contract can have distinct attributes such as:
Access Duration: Defines how long the token is valid, for instance, 24 hours for a gym pass or the duration of a concert for event tickets.
Type-Specific Permissions: Each sub-contract can specify particular features, such as whether tokens can be transferred, renewed, or used multiple times.
Examples of sub-contracts include:
Gym Access Token Sub-Contract: Issues tokens that provide access to the DAO gym facilities, configurable to include restricted hours or continuous access depending on the holder's membership.
Event Access Token Sub-Contract: Issues tokens for one-time or recurring events, such as concerts, seminars, or exclusive meetups. Event-specific attributes can be configured, such as single-entry or multi-event passes.
Scalability and Uniformity
The umbrella contract enforces uniformity by providing a framework within which all sub-contracts operate. This means that while sub-contracts can be customized for individual needs, they must adhere to standardized practices—such as requiring review and approval before becoming active.
This uniformity ensures that all access tokens, regardless of their type, provide a similar user experience and are compatible with the broader ecosystem. At the same time, scalability is achieved through the use of clones, which allows new sub-contracts to be created efficiently without incurring the high costs of deploying entirely new contracts each time.
Future Governance and Transition
Currently, the Umbrella Access Token Contract is managed by specific administrators with the REVIEWER_ROLE handling approvals. However, the contract has been designed to eventually transition to DAO governance, where members holding specific governance NFTs can vote on the creation and approval of sub-contracts.
This transition will ensure that as the DAO grows, members have more direct influence over which types of access tokens are issued and the specific use cases they address.
Summary of Contract Flow
Creation: An administrator uses the umbrella contract to create a new Access Token Sub-Contract, defining its name, symbol, duration, and type.
Approval: A reviewer must then approve the sub-contract to activate it for use. Without approval, the sub-contract cannot issue tokens, ensuring quality control.
Issuance and Management: Once approved, the sub-contract issues access tokens to eligible users, who can use them for entry to amenities, events, or services as defined by the sub-contract.
Use Cases for Access Token Sub-Contracts
Below is a list of potential Access Token Sub-Contracts that could be created under the umbrella contract. Each sub-contract serves a distinct purpose and can be linked to the relevant cloned contract for more details:
Gym Access Token Sub-Contract
Provides access to gym facilities, either for one-time entry, restricted hours, or continuous membership-based access.
Issues tokens for one-time or recurring events, such as concerts, seminars, or community meetups. Supports both single-use and multi-use passes.
Seminar Access Token Sub-Contract
Provides entry to educational seminars or training sessions, which could be recurring or single-session based.
Grants access to DAO-managed co-working spaces. Tokens could provide access for daily, weekly, or monthly use depending on the member's needs.
Exclusive Investor Event Access Sub-Contract
Issues tokens exclusively for investor-level NFT holders, granting them access to exclusive events, meetings, or briefings.
Residential Amenity Access Token Sub-Contract
Grants temporary or continuous access to residential amenities, such as a pool, lounge area, or shared kitchen facilities.
Voting Participation Access Token Sub-Contract
Allows access to DAO governance voting sessions, specifically for members who qualify for limited-time governance access without permanent governance NFTs.
Workshop or Skill Training Access Token Sub-Contract
Issues tokens to members who wish to participate in skills workshops or training programs, such as carpentry, coding, or other community-driven training events.
Guest Pass Access Token Sub-Contract
Provides limited-time guest passes for members to invite non-members to specific amenities or events.
Community Festival Access Token Sub-Contract
Issues tokens for community-driven festivals, celebrations, or gatherings, allowing for a variety of participation levels, such as general admission or VIP access.
Benefits to the DAO Community
The Umbrella Access Token Contract streamlines the management of access across various aspects of the DAO's activities, from shared amenities to exclusive events. It provides a secure, scalable, and efficient method for issuing access tokens that are aligned with the DAO’s values and community standards. The use of role-based control, template cloning, and an approval process helps balance the need for flexibility in token issuance with the overarching need for accountability and governance, ultimately ensuring that every issued access token is fit for purpose and contributes to the healthy growth of the community.
Last updated