/Guide

A guide for people to understand our smart contracts better.

Tests Discord Twitter

banner

🛠 Dolven Labs Smart Contracts & Tests

Smart Contracts for Dolven Labs, Dolven Labs is a DAO Based Ecosystem Catalyst for projects built on the StarkNet Network. Learn more about it here.

Documentation

More detailed Documentation and Work flow are coming soon.

Contracts

Contract Title Description
DolvenVaults Strategy Vaults Lock DLV or DLV-LP in the vault. And Computes users eligibility and allocations.
DolvenGovernor DAO & Govern Helps to get decision for votings of projects.
DolvenTimeLocker LP Locker Public token locker contract for everyone.
DolvenFactory Version Supp. Factory Version and Type Supported Contract Initializer
DolvenVesting Claims & Cliffs Merkle Tree supported. Airdrop & Claim contract for delegators.
DolvenFaucet Faucet for Testnet Simple Faucet to withdraw $DLV Tokens for testnet.
Dolven-MultiCaller Multi Call Fecth multiple data in one query.
DolvenApprover Role Manager Multi Sign Verifier for Contract
DolvenIDO IDO/IGO Sales Merkle Tree Supported Sale Contracts
DolvenBonds Bond Pools Bond pools to strengthen the mutual fund, increase the number of project sectors to invest in

Development Workflow

We have been using Hardhat Starknet to test our contracts.

Note: Mac and Mac M1 have special instructions you can refer to this article

If you've used Hardhat 👷‍♀️👷‍♂️ and want to develop for Starknet starknet, this plugin might come in hand. If you've never set up a Hardhat project, check out this guide.

Install

npm i @shardlabs/starknet-hardhat-plugin --save-dev

Add the following line to the top of your hardhat.config.ts (or hardhat.config.js):

import "@shardlabs/starknet-hardhat-plugin";
// or
require("@shardlabs/starknet-hardhat-plugin");

Contributing

We encourage pull requests.

  1. Create an issue to describe the improvement/issue. Provide as much detail as possible in the beginning so the team understands your improvement/issue.
  2. Fork the repo so you can make and test changes in your local repository.
  3. Test your changes Make sure your tests (manual and/or automated) pass.
  4. Create a pull request and describe the changes you made. Include a reference to the Issue you created.
  5. Write your Discord username to description field of your issue submit module to get Supporter role in our Discord.

If you have further questions, visit #technology in our discord and make sure to reference your issue number.

Thank you for taking the time to make our project better!