lazybear logo

🐻 Whitepaper 🐟

🌊 1. Diving In: Introduction

Lazy Bear River is an innovative protocol that simulates an ecological system on the blockchain, creating a unique economic game where participants must balance individual rewards against collective sustainability. The protocol introduces $FISH tokens as the native currency within a simulated river ecosystem inhabited by bears (represented by staked NFTs).

This document outlines the technical architecture, ecological mechanisms, and economic model that powers the Lazy Bear River ecosystem.

🌿 2. Circle of Life: Ecological Mechanism

2.1 Ecosystem Overview

The Lazy Bear River protocol simulates a closed ecological system with two primary components:

  • $FISH tokens - The native ERC20 token that represents the fish taken out of the river
  • Bears (Staked NFTs) - Predators that consume fish at a fixed rate
  • River population - The number of fish in the river

This ecosystem operates on a delicate balance: bears consume fish from the river which provide staking rewards in $FISH, while the river population regenerates according to a logistic growth model. If consumption exceeds regeneration capacity, the ecosystem collapses in an extinction event.

2.2 Population Dynamics

The river population follows a modified logistic growth equation, a well-established model in population ecology:

ΔN = r × N × (K-N)/K

Where:

  • ΔN = Change in fish population
  • r = Growth rate (fishRegenerationRate)
  • N = Current population (currentFishSupply)
  • K = Carrying capacity (maxFishSupply)

This model ensures that fish regeneration is:

  • Proportional to the current population (more fish = faster growth)
  • Limited by environmental constraints (growth slows as population approaches carrying capacity)
  • Self-regulating within the ecosystem's parameters

2.3 Consumption Mechanics

Bears consume fish at a fixed rate of 0.1 $FISH per bear per epoch (6 hours). Total consumption is calculated as:

Total Consumption = totalBears × fishPerBearPerEpoch × epochs

This consumption directly reduces the fish population while simultaneously generating rewards for stakers.

2.4 Extinction Events

When bear consumption exceeds the available river supply (current supply + regeneration), an extinction event is triggered:

  • river population crashes to a minimal level (1 fish in the river)
  • All staked bears die (cease generating rewards)
  • The protocol enters a paused state
  • The event timestamp is recorded for reward calculations

Extinction events represent the natural consequence of overexploitation, creating a powerful incentive for community self-regulation.

🔒 3. Bear Necessities: Staking Mechanism

3.1 Staking Options

Users can participate in the ecosystem by staking bears through two methods:

  • Lazy Bear NFT - Users can stake their Lazy Bear NFTs from the legacy collection
  • $FISH Conversion - OR Users can burn 10 $FISH to mint a virtual bear NFT

3.2 Reward Generation

Staked bears generate $FISH rewards at a rate of 0.1 $FISH per bear per epoch. Rewards accumulate continuously and can be claimed at any time by calling the claimRewards() function.

The reward calculation accounts for:

  • Number of bears staked by the user
  • Time elapsed since last claim (in epochs)
  • Any extinction events that occurred between claims

3.3 Post-Extinction Mechanics

If an extinction event occurs, users can only claim rewards earned up to the extinction timestamp. After claiming these final rewards, their staked bears are removed from the system, requiring new staking to participate again once the ecosystem recovers.

💰 4. Gone Fishing: $FISH Tokenomics

4.1 Token Utility

The $FISH token serves multiple functions within the Lazy Bear River ecosystem:

  • Reward Currency - Earned by staking bears
  • Staking Mechanism - Can be burned to create virtual bears (10 $FISH per bear)

4.2 Supply Dynamics

The river has a dynamic supply model with several key parameters:

ParameterValueDescription
Max Capacity6,900 fishStarting river population
Maximum Capacity6,900 fishCarrying capacity of the ecosystem
Emission Rate0.1 $FISH per bear per epochRate at which bears generate rewards
Regeneration RateVariableBased on logistic growth equation

4.3 Supply Mechanisms

The $FISH supply is affected by several mechanisms:

  • Minting - New $FISH are minted when users claim rewards
  • Burning - $FISH are burned when users create virtual bears (10 $FISH per bear)
  • Consumption - Bears consume fish at a fixed rate (0.1 $FISH per epoch), reducing river supply, but increasing $FISH supply kinda confusing, but just think of the $FISH token as fish taken out of the river

This creates a self-balancing economic system where token value is tied to the ecological health of the virtual river.

4.4 Game Theory

The Lazy Bear River protocol creates fascinating game theory dynamics:

  • Tragedy of the Commons - Individual incentives (stake more bears) can conflict with collective interests (ecosystem sustainability)
  • Coordination Problem - Community must self-regulate staking to prevent extinction
  • Risk/Reward Balance - Higher staking levels increase rewards but also increase extinction risk

These dynamics create natural market forces that help regulate the ecosystem without requiring centralized intervention.

⚙️ 5. Under the Hood: Technical Implementation

5.1 Smart Contract Architecture

The Lazy Bear River protocol is implemented as a single Solidity smart contract that inherits from:

  • ERC20 - For the $FISH token functionality
  • IERC721Receiver - To receive staked NFTs
  • Ownable - For administrative functions
  • ReentrancyGuard - For security against reentrancy attacks

5.2 Key Functions

The contract implements several core functions:

FunctionPurpose
stakeLegacyNFTs()Stake existing NFTs from legacy collection
stakeWithERC20()Burn $FISH to create virtual bears
claimRewards()Claim accumulated $FISH rewards
updateEcosystem()Update river population based on consumption and regeneration

5.3 Epoch System

The contract uses an epoch-based time system:

  • Each epoch is exactly 6 hours (21,600 seconds)
  • Rewards accrue per epoch
  • Ecosystem updates are calculated based on epochs passed

This epoch system provides a predictable timeframe for ecosystem dynamics and reward calculations.

🏁 6. The Big Picture: Conclusion

The Lazy Bear River protocol represents a novel approach to tokenomics by simulating ecological principles on the blockchain. By creating a self-regulating ecosystem where individual and collective incentives must be balanced, the protocol encourages sustainable participation and community coordination.

The permanent staking mechanism, combined with the extinction risk, creates meaningful stakes for participants and ensures that the ecosystem maintains long-term viability through natural market forces rather than artificial constraints.

For developers interested in the technical implementation, the full smart contract code is available for review, providing a transparent view of all mechanisms described in this whitepaper.