Welcome to the official repository of yieldz.cc's Staking Contracts. This project provides a collection of smart contracts that enable various staking mechanisms. The contracts are modular and can be customized for different reward and locking mechanisms.
This repository contains the following key components:
- Main contract for creating new staking instances.
- Manages different staking templates.
- StakingCustomReward.sol: Flexible reward mechanisms.
- StakingTimeLock.sol: Tokens can only be withdrawn after a certain period.
- StakingActionFees.sol: Implements fees for specific staking actions.
- StakingSimple.sol: Basic staking logic without complex reward mechanisms.
- StakingOverTimeReward.sol: Rewards increase over time.
- StakingBase.sol: Core functionalities for all staking templates.
- IStakingFactory.sol: Interface for the staking factory.
To integrate these smart contracts into your Foundry project, follow these steps:
curl -L https://foundry.paradigm.xyz | bash
foundryup
forge install https://github.com/your-github/web3creator-staking-contracts.git
This project is licensed under the MIT License
If you have any questions or suggestions, feel free to reach out:
- DApp: https://yieldz.cc
- X: @yieldzcc
- Discord: yieldz Community