FB Pixel
Smart Contracts & Workflows

Vesting contract

Estimated reading: 4 minutes 121 views

 

Overview

The Vesting Contract is a smart contract used in Kambria DAOs to manage the time-based release of DAO LP tokens to contributors who participate in DAO token sale campaigns.

Instead of receiving LP tokens immediately after purchase, contributors receive them gradually over a predefined vesting period. This ensures long-term alignment, reduces short-term speculation, and provides transparent, on-chain distribution of DAO ownership.

When the Vesting Contract Is Used

A vesting contract is used whenever a DAO runs a token sale or fundraising campaign that issues LP tokens.

Typical use cases include:

  • Public or private DAO token sales
  • Fundraising rounds for DAO projects
  • Contributor or partner LP allocations

Each vesting contract is linked to one specific token sale campaign. A DAO may deploy multiple vesting contracts over time.

 

Key Capabilities (Conceptual)

At a high level, the vesting contract supports the following capabilities:

  • Vesting calculation
    Automatically computes the amount of LP tokens that have vested based on: 

    • Vesting start time 
    • Vesting duration 
    • Contributor allocation 
    • Time since last claim 
  • Contributor claiming
    Allows contributors to claim their vested LP tokens directly to their wallet. 
  • DAO allocation management
    Allows the DAO Organizer to record contributor allocations after a token sale concludes. 
  • Role-based control
    Uses role separation to ensure that allocation management and token claiming follow DAO governance rules. 

These capabilities are implemented via smart contract logic and do not rely on off-chain trust.

 

High-Level Vesting Flow (DAO Perspective)

From a DAO and contributor perspective, the vesting flow looks like this:

  1. DAO launches a token sale campaign
  2. Contributors purchase LP tokens
  3. LP tokens are locked in a vesting contract
  4. DAO Organizer records allocations
  5. Tokens vest gradually over time
  6. Contributors claim vested LP tokens

How Vesting Works

  • LP tokens are held by the vesting contract
  • Vesting starts at a predefined timestamp
  • Tokens vest linearly over the vesting duration
  • Contributors can claim vested tokens at any time after vesting begins
  • Unvested tokens remain locked until they vest

All vesting logic is enforced automatically by the smart contract.

Vesting Parameters

Each vesting contract is deployed with immutable parameters:

  • LP Token Address
    The DAO’s LP token being vested.
  • Vesting Start Time
    When vesting begins.
  • Vesting Duration
    Total time over which tokens are released.

These parameters cannot be changed after deployment.

Roles in the Vesting Process

DAO Organizer

The DAO Organizer is responsible for preparing the vesting contract for use by contributors.

Key responsibilities:

  • Selecting the correct vesting contract for a campaign
  • Adding LP token allocations after the token sale ends
  • Ensuring allocations match actual purchase data

The DAO Organizer does not distribute tokens manually — the vesting contract handles release once allocations are recorded.

DAO Members / Contributors

DAO members who purchased LP tokens interact with the vesting contract only to view and claim their vested tokens.

They cannot:

  • Modify allocations
  • Change vesting rules
  • Affect other contributors’ claims

Their interaction is limited to claiming what has vested for their wallet.

Adding Allocations (DAO Organizer Flow)

After the token sale campaign ends:

  • Purchase data is consolidated per wallet
  • Total LP purchased per wallet is calculated
  • The DAO Organizer adds allocations via the DAO interface
  • Allocations are recorded on-chain in the vesting contract

Once allocations are added, the vesting contract independently manages all future claims.

Claiming Vested LP Tokens (DAO Member Flow)

After vesting begins, contributors can:

  1. Go to the DAO page on Kambria App
  2. Navigate to Vesting → View & Claim
  3. Select the relevant vesting contract
  4. View vested and claimable LP amounts
  5. Claim vested tokens to their wallet

Claims are executed on-chain and can be verified via the blockchain explorer.

 

Transparency and Verification

The vesting contract provides:

  • Fully on-chain, auditable token distribution
  • Deterministic and predictable vesting logic
  • Public visibility of allocations and claims
  • Compatibility with standard blockchain explorers

In many cases, vesting contracts reuse verified contract logic, allowing explorers to automatically recognize and verify the source code.

 

Relationship to Kambria DAOs Framework

The Vesting Contract is part of the Smart Contracts & Workflows layer of the Kambria DAOs Framework.

It enables:

  • Responsible DAO fundraising
  • Long-term contributor alignment
  • Transparent DAO ownership distribution
  • Integration with governance and revenue-sharing mechanisms

Important Notes

  • Vesting does not guarantee financial returns
  • Claiming tokens requires on-chain transactions (gas fees apply)
  • Vesting rules vary by DAO and campaign
  • Legal and tax considerations remain the responsibility of participants

Summary

The Vesting Contract ensures that DAO LP tokens are distributed in a fair, transparent, and time-aligned way.

By clearly separating fundraising, allocation, and claiming, Kambria DAOs can scale participation and ownership without relying on trust or centralized control.