FaaS (Farm as a Service) is a smart contract-based project that allows users to create their own FarmingRewards contracts to distribute rewards to liquidity providers. This repository contains the Solidity contracts, tests, and necessary scripts for the FaaS system.
This project was built with hardhat.
- Create FarmingRewards contracts for distributing rewards to liquidity providers
- Permissioned FarmingRewards contracts for added security and control
- Fee collection for creating new FarmingRewards contracts
- Integration with ElkFinance's ecosystem
Follow these instructions to set up the FaaS repository on your local machine.
- Node.js and npm (Node Package Manager) installed on your system. You can download Node.js from https://nodejs.org/.
- Clone the repository to your local machine:
git clone https://github.com/elkfinance/faas
- Navigate to the project folder:
cd faas
- Install the project dependencies:
npm install
- Run the tests:
npm run test
The FaaS system is comprised of two main contracts: "ElkFarmFactory" (located at ./contracts/ElkFarmFactory.sol) and "FarmingRewards" (located at ./contracts/FarmingRewards.sol). The ElkFarmFactory contract is the main contract that users interact with to create new FarmingRewards contracts. The FarmingRewards contract is the contract that distributes rewards to liquidity providers.
- Seth seth@elklabs.org
- Baal baal@elklabs.org
- Elijah elijah@elklabs.org
- Snake snake@elklabs.org
- Real-Hansolo real-hansolo@elklabs.org
See included LICENSE.