bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 22쪽 중 12쪽
The Launcher**](/bio/introduction/bio-protocol-v2/launcher) - How BIO is used in fixed-price sales
* [**Join Launches**](broken://pages/watNUGg0rzhIRtsboUr7) - Complete guide to participating in project launches
* [**Bridge BIO**](/bio/descientists/quickstart-guides/bridge-bio) - Moving BIO between different chains
# veBIO
## What is veBIO?
veBIO stands for "vote-escrowed BIO" and represents your governance power within the Bio Protocol. It is not a transferable token but rather a status that grants you voting rights and a greater share of protocol rewards. The longer you lock your BIO, the more veBIO you receive.
## How to get veBIO?
You can obtain veBIO by staking your BIO tokens in the protocol's governance module:
1. **Acquire $BIO**: First, ensure you have BIO in your wallet.
2. **Navigate to the Staking Page**: Go to the official staking interface on the Bio.xyz platform.
3. **Choose Lock-up Period**: Select the amount of BIO you wish to stake and the duration you want to lock it for. The longer the lock-up period, the more veBIO you will receive in return.
4. **Confirm Transaction**: Approve the transaction in your wallet to lock your $BIO and receive veBIO.
For more information, refer to our guide on [Staking BIO](/bio/introduction/bio-protocol-v2/staking-and-vebio/staking-bio)
## How to use veBIO?
veBIO is used to actively participate in the governance and direction of the Bio Protocol:
* **Voting on Proposals**: Use your veBIO to vote on key governance proposals, such as funding decisions, protocol upgrades, and parameter changes.
* **Earning Boosted Rewards**: Holding veBIO can boost your yield from staking and other reward-generating activities.
* **Signaling and Curation**: Influence which projects or BioAgents receive attention and a greater share of resources from the ecosystem.
***
## Further Reading
For more detailed information about veBIO and its role in the ecosystem, please see the following pages:
* [**Staking BIO**](/bio/introduction/bio-protocol-v2/staking-and-vebio/staking-bio): A step-by-step guide on how to stake your `BIO` tokens to obtain `veBIO`.
## Related Information
**Token Information:**
* [**$BIO Token Guide**](/bio/descientists/about-bio-assets/bio) - How to acquire and use the native BIO token
* [**BioXP Guide**](/bio/descientists/about-bio-assets/bioxp) - Understanding the points system and earning mechanics
* [**All Assets Overview**](/bio/descientists/about-bio-assets) - Complete overview of ecosystem tokens
**Staking & Governance:**
* [**Staking & veBIO Overview**](/bio/introduction/bio-protocol-v2/staking-and-vebio) - Complete staking system guide
* [**Staking Other Assets**](/bio/introduction/bio-protocol-v2/staking-and-vebio/staking-other-assets) - Alternative staking strategies
* [**Launchpad FAQ**](/bio/introduction/bio-protocol-v2/launchpad-faq) - Common questions about veBIO and governance
# BioXP
## What is BioXP?
BioXP is a non-transferable points system designed to reward your contributions and engagement within the Bio Protocol ecosystem. Think of it as a measure of your reputation and activity—the more you participate, the more BioXP you accumulate. BioXP determines priority allocation in oversubscribed Ignition Sales, and can also be minted instantly by spending BIO.
## How to get BioXP?
There are two ways to earn BioXP:
1. Staking `BIO` (which generates `veBIO`)
2. Staking ecosystem assets such as IP Tokens, BioAgent tokens and BioDAO tokens
3. Instant Mint: Spend BIO to mint BioXP at $0.01 per XP, paid in BIO
BioXP earned from staking `BIO` is distributed **automatically each day**, while BioXP from staking ecosystem assets must be **manually claimed each day** otherwise they expire the next day.
## How to use BioXP?
While BioXP itself is not a token and cannot be traded, it unlocks exclusive benefits and opportunities:
* **Priority Allocation in Ignition Sales:** Anyone can contribute USDC to an Ignition Sale, but pairing USDC with BioXP gives you priority allocation when sales are oversubscribed. USDC-only contributors are counted as having pledged 1 BioXP (lowest weight).
* **Enhanced Reputation:** A high BioXP score signals your commitment and expertise within the community.
***
## BioXP Issuance Equations
The number of BioXP you earn is calculated daily based on a combination of factors. While the exact formulas are subject to refinement through governance, the following principles guide the issuance for each category.
### 1. Staking BIO
Staking `BIO` is the most straightforward way to earn BioXP. The amount you earn is proportional to your `veBIO` balance, which is determined by both the amount of `BIO` you stake and the duration of your lock-up period. 
```
Daily BioXP = veBIO Balance × BIO Price (USD) × VE_BIO_MULTIPLIER
Where:
• veBIO Balance = Your locked BIO tokens (vote-escrowed)
• BIO Price (USD) = Current market price of BIO
• VE_BIO_MULTIPLIER = Fixed multiplier (NEVER decays)
```
{% hint style="info" %}
Learn more about BioXP [multipliers](/bio/introduction/bio-protocol-v2/staking-and-vebio/bioxp#xp-multipliers-from-bio-staking) from BIO staking.
{% endhint %}
### 2. Staking Bio Ecosystem Tokens
To incentivize support for the entire ecosystem, staking Bio ecosystem tokens like IP Tokens, BioAgent tokens, and BioDAO tokens yields a greater share of BioXP emissions than staking `BIO` alone. Stakers of newly launched ecosystem tokens receive higher XP multipliers in the token's first 60 days live post TGE, as detailed [here](/bio/introduction/bio-protocol-v2/staking-and-vebio/bioxp#xp-multipliers-from-staking-new-ecosystem-tokens).
### 3. Completing Bounties
The protocol may offer BioXP for completing specific tasks or bounties that help the ecosystem, such as reviews of research hypotheses or explanatory content creation.
### 4. Instant Mint
BioXP can be minted on demand by spending BIO at the current rate of $0.01 per XP. Instant-minted BioXP does not expire 14 days after it is issued.
***
## Further Reading
For more detailed information about BioXP and how it works, please see the following pages:
* [**BioXP**](/bio/introduction/bio-protocol-v2/staking-and-vebio/bioxp): A comprehensive overview of the points system, including how to earn points through staking, and how points are used in Ignition Sales.
* [**Staking & veBIO**](/bio/introduction/bio-protocol-v2/staking-and-vebio): Learn how to stake both `BIO` and other ecosystem assets to maximize your BioXP earning power.
## Related Information
**Token Information:**
* [**BIO Token Guide**](/bio/descientists/about-bio-assets/bio) - The primary token used in launches and staking
* [**veBIO Guide**](/bio/descientists/about-bio-assets/vebio) - Governance token received from staking BIO
* [**All Assets Overview**](/bio/descientists/about-bio-assets) - Complete ecosystem token overview
**Earning & Using BioXP:**
* [**Staking & veBIO Overview**](/bio/introduction/bio-protocol-v2/staking-and-vebio) - Primary way to earn BioXP through staking
* [**Staking Other Assets**](/bio/introduction/bio-protocol-v2/staking-and-vebio/staking-other-assets) - High-yield BioXP earning strategy
* [**The Launcher**](/bio/introduction/bio-protocol-v2/launcher) - How to use BioXP in project launches
* [**Join Launches**](broken://pages/watNUGg0rzhIRtsboUr7) - Complete guide to using your BioXP
# Overview
Welcome to the Bio Protocol developer hub. This section provides comprehensive resources for building on the Bio Protocol ecosystem, from launching new projects to contributing to the underlying infrastructure.
Whether you're creating the next breakthrough BioAgent, setting up a new DAO, or building tools that power the decentralized science movement, you'll find the technical guidance and resources you need here.
## Getting Started
New to Bio Protocol development? Start with these key areas:
* [**DAO Setup**](/bio/developers/dao-setup)**:** Learn how to create and deploy decentralized autonomous organizations for scientific research projects.
* [**Launchpad Integration**](/bio/developers/launchpad)**:** Understand the technical infrastructure that powers project launches on both Ethereum and Solana.
* [**Development Utilities**](/bio/developers/utils)**:** Access scripts, token lists, and other development tools to streamline your building process.
## Building with Bio Protocol
### Core Development Areas
* [**Contribute to BioAgents**](https://github.com/bio-xyz/bio-gitbook/blob/main/developers/contribute-to-bioagents/README.md)**:** Join the open-source effort to build AI-powered scientific research agents.
* [**Smart Contract Development**](/bio/developers/dao-setup/evm-contracts)**:** Deploy and interact with Bio Protocol's Ethereum-based contracts.
* [**Solana Program Integration**](/bio/developers/dao-setup/solana-programs)**:** Build with Bio Protocol's Solana programs for high-performance applications.
### Technical Resources
* [**Security & Audits**](/bio/developers/audits)**:** Review security practices and audit reports for the Bio Protocol ecosystem.
## Community & Support
The Bio Protocol developer community is active and collaborative. Whether you're troubleshooting an integration or proposing new features, you'll find support through:
* [**Discord Developer Channel**](https://discord.com/invite/bioxyz) - Real-time discussion and support
* [**GitHub Repositories**](https://github.com/bio-xyz) - Open source code and contribution opportunities
* [**Developer Documentation**](https://docs.bio.xyz) - Comprehensive technical documentation
## Architecture Overview
Bio Protocol is built on a multi-chain architecture leveraging the strengths of different blockchain ecosystems:
* **Ethereum/Base:** Primary infrastructure for governance, staking, and complex smart contract interactions
* **Solana:** High-performance components for trading, launches, and real-time operations
This hybrid approach ensures both security and scalability for the diverse needs of the scientific research ecosystem.
***
Ready to start building? Dive into the specific section that matches your development goals, or join our developer community to connect with other builders in the decentralized science space.
# DAO Setup
The BioDAO smart contracts are designed to provide secure, efficient, and modular functionality for key features of BioDAO operations including token distribution, vesting, and governance. This section provides an overview of the core contracts, their features, and how they interact within the broader Bio Protocol.
### Core Principles
Our smart contracts follow a set of key principles to ensure security, flexibility, and scalability:
* **Modular Design**: Each contract is purpose-built with minimal dependencies, allowing for composability and upgrades.
* **Security-First Approach**: Comprehensive input validation, role-based access control, and protections against reentrancy attacks.
* **Efficient Token Management**: Optimized gas usage through Merkle trees, virtual token representations, and structured vesting mechanisms.
* **Permissioned Governance**: Controlled access to critical functions while enabling decentralized participation where necessary.
# EVM Contracts
### Contract Categories
The BioDAO smart contracts are organized into several functional categories:
#### 1. Token Contract
<https://github.com/bio-xyz/token-contracts>
* Implements an ERC20 token with role-based access controls.
* Supports controlled transfers and permissioned minting.
#### 2. Vesting Contracts
<https://github.com/bio-xyz/vesting-contracts>
* Manage token distribution over time with configurable schedules.
* Support both direct and Merkle-based allocations.
* Include optional purchasing mechanisms for vested tokens.
#### 3. Airdrop Contracts
<https://github.com/bio-xyz/airdrop-contracts>
* Utilize Merkle trees for efficient ERC20 token distribution.
* Prevent duplicate claims while minimizing storage costs.
#### 4. Security & Testing
* All contracts incorporate best practices for secure Solidity development.
* Thoroughly tested using Foundry with high coverage metrics.
By leveraging these smart contracts, the Bio ecosystem ensures transparent, secure, and efficient token management while maintaining flexibility for future upgrades.
# Token Contract
### Key Features
* **Token Minting:** Controlled minting via MINTER\_ROLE with no supply cap.
* **Transfer Restriction:** Token transfers are initially disabled. Only addresses with TRANSFER\_ROLE, the owner, or mint operations can transfer tokens before transfers are enabled. Transfers can be permanently enabled via the admin using `enableTransfers()`.
* **Access Control Management:** Role-based access control using OpenZeppelin's AccessControlDefaultAdminRules
* **Default Admin:** Grants the ability to enable transfers and manage roles.
* **Transfer Role:** Addresses assigned TRANSFER\_ROLE can execute transfers even when transfers are disabled.
* **Minter Role:** Addresses assigned MINTER\_ROLE are authorized to mint new tokens.
{% embed url="<https://github.com/bio-xyz/token-contracts>" %}
### Token Contract
**Features**
* **Role-Based Access Control**: Implements OpenZeppelin's AccessControlDefaultAdminRules
* `DEFAULT_ADMIN_ROLE`: Can enable transfers and manage other roles
* `MINTER_ROLE`: Can mint new tokens
* `TRANSFER_ROLE`: Can transfer tokens before transfers are enabled
* **Controlled Token Transfers**:
* Transfers are initially disabled
* Only addresses with `TRANSFER_ROLE`, the owner, or minting operations can transfer tokens when transfers are disabled
* Transfers can be enabled by admin (one-way operation - cannot be disabled once enabled)
* **Token Minting**:
* Controlled minting through `MINTER_ROLE`
* No maximum supply cap
**Inheritance**
* OpenZeppelin's ERC20
* OpenZeppelin's ERC20Burnable
* OpenZeppelin's AccessControlDefaultAdminRules
**Key Functions**
* `mint(address to, uint256 amount)`: Allows `MINTER_ROLE` to mint new tokens
* `enableTransfers()`: Allows admin to enable transfers for all holders
* `burn(uint256 amount)`: Allows token holders to burn their tokens (inherited from ERC20Burnable)
# Vesting Contracts
### Key Features
* **Flexible Vesting Schedules**: Configure start time, cliff period, duration, and release intervals
* **Access Control**: Role-based permissions for administrative functions
* **Safety Features**: Includes reentrancy protection and pausable functionality
* **Virtual Token**: ERC20-compatible representation of vested tokens (non-transferable)
* **Merkle Tree Support**: Efficient distribution of vesting schedules
* **Purchase Options**: Optional ETH payment for vesting schedule creation
{% embed url="<https://github.com/bio-xyz/vesting-contracts>" %}
## Contracts
### TokenVesting Contract
The base vesting contract that implements core vesting functionality and virtual token features.
**Features**
* **Vesting Schedule Management**:
* Configurable start time, cliff period, and duration
* Customizable slice periods for gradual token release
* Optional revocability per schedule
* Admin controls for schedule management
* **Virtual Token Implementation**:
* ERC20-compatible interface
* Non-transferable by design
* Balance represents vested tokens
* Automatic balance updates on vesting events
* **Access Control**:
* `DEFAULT_ADMIN_ROLE`: Can manage vesting schedules and contract settings
* `VESTING_CREATOR_ROLE`: Can create new vesting schedules
**Inheritance**
* OpenZeppelin's AccessControlDefaultAdminRules
* OpenZeppelin's ReentrancyGuard
* OpenZeppelin's Pausable
* IERC20Metadata
**Key Functions**
* `createVestingSchedule()`: Creates new vesting schedules
* `release()`: Releases vested tokens to beneficiaries
* `revoke()`: Allows admin to revoke revocable schedules
* `withdraw()`: Enables admin to withdraw unused tokens
**Security Features**
* Reentrancy protection on critical functions
* Pausable functionality for emergency stops
* Role-based access control
* Comprehensive input validation
### TokenVestingMerkle Contract
Extends TokenVesting with Merkle tree functionality for efficient schedule distribution.
**Features**
* **Merkle Tree Integration**:
* Efficient proof verification
* Prevention of double-claiming
* Batch schedule distribution support
**Inheritance**
* TokenVesting
**Key Functions**
* `claimSchedule()`: Claims vesting schedule using Merkle proof
* `updateMerkleRoot()`: Updates the Merkle root
* `scheduleClaimed()`: Checks if a schedule has been claimed
### TokenVestingMerklePurchasable Contract
Extends TokenVestingMerkle with purchasing capabilities.
**Features**
* **Purchase Mechanism**:
* ETH payments for vesting schedules
* Configurable cost per vToken
* Customizable payment receiver
**Inheritance**
* TokenVestingMerkle
**Key Functions**
* `claimSchedule()`: Claims schedule with payment
* `setVTokenCost()`: Updates the cost per vToken
* `setPaymentReceiver()`: Sets payment receiver address
### Deprecated Contracts
Located in `src/deprecated/`:
**MultiTokenVesting**
* Enables querying vesting balances across multiple contracts
* Supports external vesting contract integration
**MultiTokenVestingMerklePurchasable**
* Combines MultiTokenVesting and TokenVestingMerklePurchasable
* Supports cross-contract schedule verification
# Airdrop Contracts
### Key Features
* **ERC20 Token Distribution**: Supports airdropping any ERC20 token
* **Merkle Proof Verification**: Uses cryptographic proofs to verify claim eligibility
* **Gas Efficient**: Only stores one Merkle root instead of all user data
* **Claim Tracking**: Prevents double-claiming by maintaining a record of claimed addresses
* **Owner Controls**: Allows the owner to update the Merkle root and withdraw unclaimed tokens
{% embed url="<https://github.com/bio-xyz/airdrop-contracts>" %}
### MerkleAirdrop Contract
A contract that implements a Merkle tree–based airdrop for ERC20 tokens with controlled claim processing and robust admin management.
#### Features
* **Merkle Tree Eligibility:**
* Utilizes a stored Merkle root to verify if an address is eligible for the airdrop.
* The `inMerkle()` function checks a user's address and claim amount against the Merkle proof.
* **Claiming Process:**
* Users can claim tokens via the `claim()` function if they are eligible.
* Prevents double claims by tracking claims in a mapping.
* Emits a `Claimed` event on successful claims.
* **Admin Controls:**
* The owner can update the Merkle root using the `updateMerkleRoot()` function.
* Allows the owner to withdraw tokens from the contract with the `withdraw()` function.
#### Inheritance
* **ReentrancyGuard:** Provides protection against reentrancy attacks on critical functions.
* **Ownable:** Restricts sensitive functions to the contract owner.
#### Key Functions
* **claim(uint256 amount, bytes32\[] calldata proof):** Allows eligible users to claim their tokens if their Merkle proof is valid.
* **inMerkle(address who, uint256 amount, bytes32\[] calldata proof):** Verifies that the address and claim amount are part of the Merkle tree.
* **hasClaimed(address who):** Checks whether an address has already claimed the airdrop.
* **updateMerkleRoot(bytes32 \_root):** Enables the owner to update the Merkle root to adjust eligibility.
* **withdraw(address recipient, uint256 amount):** Allows the owner to withdraw tokens from the contract if needed.
#### Security Features
* **Reentrancy Protection:** Critical functions (like `claim()`) are secured against reentrant calls.
* **Safe Transfers:** Utilizes the SafeERC20 library to ensure secure token transfers.
* **Access Control:** Owner-only functions safeguard administrative tasks such as updating the Merkle root and withdrawing tokens.
# Solana Programs
### Token Program
The DAO token acts as a key tool for decentralized decision-making and rewarding community contributions프로젝트로 돌아가기