I am quite beginner to solidity, trying to learn smart contracts.

so here in this fees code:

bool autoLiquifyEnabled = true;
uint256 liquidityFee = 600;
uint256 liquidityFeeAccumulator;

uint256 buybackFee = 0;
uint256 reflectionFee = 400;
uint256 marketingFee = 500;
uint256 devFee = 0;
uint256 totalFee = 1000;
uint256 feeDenominator = 10000;
if I want let's say to set 10% fees, 2% to lp, 4% marketing, and 4% reflections, should I do it this way?

bool autoLiquifyEnabled = true;
uint256 liquidityFee = 200;
uint256 liquidityFeeAccumulator;

uint256 buybackFee = 0;
uint256 reflectionFee = 400;
uint256 marketingFee = 400;
uint256 devFee = 0;
uint256 totalFee = 1000;
uint256 feeDenominator = 10000;
and can someone explain what each line do there? Thanks!

Nov 17, 2021, 1:29 PM
you need to do a little research first, go take a begihning soliditiy course
Nov 17, 2021, 1:38 PM
Thanks, I just need a quick help, I tried to do some research and wasn't succesful, good mindset you got 🥰
Nov 17, 2021, 1:39 PM
Mindset is to help those who first try to help themselves, not to spoon feed info to folks who havent tried yet
Nov 17, 2021, 1:39 PM
I also included my try in the message, it totally means that I did my researches, just wanted go make sure if its correct or no.
Here is the question again for the positive people, not the ones sharing negativity.
Nov 17, 2021, 1:40 PM

© 2024 Draquery.com All rights reserved.