Loading

Hold tight for greatness!

🌟 Discover blockchain's impact in diverse industries.

Smart Contracts Launcher Academy

Chapter 6: ICO linked to Staking

Overview and Requirements

You can configure an ICO so that purchased tokens are not delivered directly to the contributor. Instead, after the ICO ends, tokens are automatically staked in a UBE staking contract for a defined lock period (e.g., 90 or 180 days).

Important: For this configuration to be effective, the staking contract should have a high penalization (50% or more) for early withdrawals. This discourages ending the stake before the lock period expires.

Prerequisites and constraints:

1Confirm the Linking Conditions

You can link a Caramel ICO to an existing UBE staking contract as long as the same ERC‑20 token is used by both contracts, the ICO has been created, and the presale has not started yet.

Conditions to link a Caramel ICO with a UBE staking contract

2Configure Post‑Delivery and Link Staking

Once your Caramel ICO is created, set the Post‑Delivery option to Manual Post Delivery and click Update to approve the transaction. After that, set the Staking Smart Contract (UBE) field to the previously deployed UBE contract address and click its Update button as well.

With these settings, when a user contributes to the ICO and after the ICO has finalized, the purchased tokens will be automatically staked in the UBE contract, behaving exactly like stakes created via the staking UI (see Chapter 5: Staking Solutions).

Set Manual Post Delivery and link the UBE staking contract, then update both settings
×

End-to-End Smart Contract Development

Professional blockchain solutions with proven track record since 2019.

  • ✓Full-stack blockchain development
  • ✓Oracle integrations & DeFi protocols
  • ✓UI design & deployment support
Start Your Project

Why WP Smart Contracts?

$35,000,000+

Smart Contracts Value Locked

2,000+

Mainnet Deployments

13

Smart Contracts Available

6

Different Blockchains