We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639a89d commit 1072898Copy full SHA for 1072898
contracts/virtualPersona/AgentToken.sol
@@ -476,6 +476,9 @@ contract AgentToken is
476
projectBuyTaxBasisPoints = newProjectBuyTaxBasisPoints_;
477
projectSellTaxBasisPoints = newProjectSellTaxBasisPoints_;
478
479
+ _tokenHasTax =
480
+ (projectBuyTaxBasisPoints + projectSellTaxBasisPoints) > 0;
481
+
482
emit ProjectTaxBasisPointsChanged(
483
oldBuyTaxBasisPoints,
484
newProjectBuyTaxBasisPoints_,
0 commit comments