Xenia
Xenia
- Added documentation to 3 main contracts: `FarmingPlugin`, `FarmingPool`, `MultiFarmingPlugin` - Updated the code to be more in line with the [Solidity Style Guide](https://docs.soliditylang.org/en/latest/style-guide.html)
- Renamed `accounting` folder to `libraries` and moved `FarmingLib` there. - Renamed `FarmAccounting` =>`Allocation`, `UserAccounting` => `Accounting`. - Renamed `FarmAccounting.startFarming` => `allocate`, `stopFarming` => `terminateAllocation`.
Among all cases of `ERC-20` token transactions, a popular one is when smart contracts approve token spending to other contracts. Often tokens are approved for only one transaction. Following the...