Vesting Wallet Smart Contract Module in Bunzz

Dear blockchain developers, we are excited to announce our new series of Smart Contract Modules available in Bunzz. They cover different web3 use cases and make your Dapp development process easier and faster

Today we’re gonna start with our new VestingWallet Module, created by CryptoFist.

With the Vesting contract you can create and manage only one vesting schedule. This contract is reviewed, it works on all EVM-chains and it’s available as OSS too.

You can access this Module here: https://bit.ly/3VKTn5w

Overview

By using the VestingWallet Module, developers can create their own vesting schedule.

It allows a different way to claim rewards by staking after a certain period of time.

This smart contract is helpful mainly for two purposes:

  • Keeping token price and
  • Paying to devs or investors.

Once implemented this smart contract allows you put any token into a vesting schedule to distribute them later. The wallet owner sets and manages only one vesting schedule. In addition, this VestingWallet connects to the ERC20 contract.

How to use

  1. Deploy smart contract via Bunzz
  2. Set vesting token address by calling the connectToOtherContracts function. (If you deploy this module and ERC20 at the same time, the connectToOtherContracts function is executed by Bunzz automatically)
  3. By calling the createVestingSchedule function, it creates the vesting schedule.
  4. Before that, you should deposit a vesting token.
  5. If you think it’s not fair, you can revoke the vesting schedule anytime by calling the revokeVestingSchedule function.
  6. Beneficiaries will get released vesting tokens when someone calls release function.

Module Parameters

there are no arguments

Functions

#WRITE:

release

transferOwnership

renounceOwnership

revokeVestingSchedule

createVestingSchedule

emergencyWithdraw

connectToOtherContracts

#READ

vestedAmount

vestingToken

releasableAmount

paused

start

released

revocable

duration

owner

beneficiary

_vestingToken

You can access this Module and the code here: https://bit.ly/3VKTn5w

If you still haven’t signed up to Bunzz, what are you waiting for?

Sign up here https://app.bunzz.dev/signup and get your smart contracts deployed in 5 minutes through our great GUI

Share this article:

Leave a Comment

Your email address will not be published. Required fields are marked *