Dexfolio is a mobile app, designed and built specifically to make crypto tracking way easier. Unlike other trackers, users don’t need to set any alerts with Dexfolio. Rather, the app calculates the purchase price of every token purchased on Uniswap, Pancake Swap, or any other DEX. It tracks all coins in your connected wallets (with no limit to how many wallets you connect). The app will track the current price, quantity, average cost, percentage change, and position value for each token. Users will be able to access premium features by paying DEXF monthly, which gives DEXF a core utility.
On the web dApp, visitors can farm their LP tokens and participate in governance. Stakers with 5% or more voting power will be able to create proposals for the community to vote on. By making LP tokens have such making Dexfolio truly decentralized.
In addition, Dexfolio has already established strategic partnerships to provide SaaS solutions to their tracking needs. One of which is Lithium Ventures, who is looking to use Dexfolio to provide live tracking for their fund investors.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DEXF.allowance(address,address).owner (#658) shadows:
- Ownable.owner() (#65-67) (function)
DEXF._approve(address,address,uint256).owner (#858) shadows:
- Ownable.owner() (#65-67) (function)
Rename the local variables that shadow another component.
Additional information: link
DEXF.setEpoch1Start(uint256) (#520-522) should emit an event for:
- _epoch1Start = epochStartTime (#521)
DEXF.setTaxFee(uint256) (#527-530) should emit an event for:
- taxFee = fee (#529)
Emit an event for critical parameter changes.
Additional information: link
DEXF.setStakingContract(address).stakingContractAddr (#495) lacks a zero-check on :
- stakingContract = address(stakingContractAddr) (#498)
DEXF.setTreasury1(address).newAddress (#512) lacks a zero-check on :
- _treasury1 = newAddress (#513)
Check that the address is not zero.
Additional information: link
Reentrancy in DEXF._transfer(address,address,uint256) (#758-792):
External calls:
- BP.protect(sender,recipient,amount) (#768)
State variables written after the call(s):
- _balances[sender] = senderBalance - amount (#781)
- _balances[_stakingPool] = _balances[_stakingPool].add(feeAmount) (#787)
- _balances[recipient] += amount.sub(feeAmount) (#789)
- _initEpoch(currentEpochId) (#774)
- _lastInitializedEpoch = epochId (#914)
- _initEpoch(currentEpochId) (#774)
- dailyStakingRewards[i] = stakingRewardRemaining.mul(DAILY_RELEASE_PERCENT_STAKING).div(10000) (#910)
- _initEpoch(currentEpochId) (#774)
- stakingAvailable = stakingAvailable.add(dailyStakingRewards[i]) (#911)
- _changeAvailableAmount(sender,amount) (#777)
- stakingAvailable = stakingAvailable.sub(amount) (#886)
- _initEpoch(currentEpochId) (#774)
- stakingRewardRemaining = stakingRewardRemaining.sub(dailyStakingRewards[i]) (#912)
- stakingRewardRemaining = stakingRewardRemaining.add(feeAmount) (#788)
- _initEpoch(currentEpochId) (#774)
- teamAvailable = teamAvailable.add(DAILY_RELEASE_AMOUNT_TEAM) (#908)
- _changeAvailableAmount(sender,amount) (#777)
- teamAvailable = teamAvailable.sub(amount) (#883)
- _initEpoch(currentEpochId) (#774)
- treasuryAvailable = treasuryAvailable.add(DAILY_RELEASE_AMOUNT_TREASURY) (#907)
- _changeAvailableAmount(sender,amount) (#777)
- treasuryAvailable = treasuryAvailable.sub(amount) (#880)
Reentrancy in DEXF.constructor() (#442-474):
External calls:
- pancakeswapV2Pair = address(IPancakeSwapV2Factory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH())) (#469-470)
State variables written after the call(s):
- deployTimestamp = block.timestamp (#473)
Reentrancy in DEXF.transferFrom(address,address,uint256) (#687-695):
External calls:
- _transfer(sender,recipient,amount) (#688)
- BP.protect(sender,recipient,amount) (#768)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#692)
- _allowances[owner][spender] = amount (#862)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DEXF._transfer(address,address,uint256) (#758-792):
External calls:
- BP.protect(sender,recipient,amount) (#768)
Event emitted after the call(s):
- InitializedEpoch(epochId) (#916)
- _initEpoch(currentEpochId) (#774)
- Transfer(sender,recipient,amount) (#791)
Reentrancy in DEXF.claimStakingReward(address,uint256) (#926-932):
External calls:
- _transfer(_stakingPool,recipient,amount) (#929)
- BP.protect(sender,recipient,amount) (#768)
Event emitted after the call(s):
- ClaimedStakingReward(recipient,amount) (#931)
Reentrancy in DEXF.transferFrom(address,address,uint256) (#687-695):
External calls:
- _transfer(sender,recipient,amount) (#688)
- BP.protect(sender,recipient,amount) (#768)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#863)
- _approve(sender,_msgSender(),currentAllowance - amount) (#692)
Apply the check-effects-interactions pattern.
Additional information: link
DEXF.changeAllocation(uint256,uint8,uint8) (#535-573) uses timestamp for comparisons
Dangerous comparisons:
- _lastInitializedEpoch < currentEpochId (#540)
DEXF.getDailyStakingRewardAfterEpochInit(uint256) (#587-594) uses timestamp for comparisons
Dangerous comparisons:
- _lastInitializedEpoch < currentEpochId (#589)
DEXF._transfer(address,address,uint256) (#758-792) uses timestamp for comparisons
Dangerous comparisons:
- _lastInitializedEpoch < currentEpochId (#773)
DEXF._changeAvailableAmount(address,uint256) (#873-889) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(currentEpochId > 0,BEP20: locked yet) (#877)
DEXF.getCurrentEpoch() (#894-900) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < _epoch1Start (#895)
DEXF._initEpoch(uint256) (#902-917) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(epochId <= getCurrentEpoch(),Can't init a future epoch) (#903)
- require(bool,string)(epochId > _lastInitializedEpoch,Already initialized) (#904)
- i <= epochId (#906)
DEXF.addToBlacklist(address) (#944-951) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deployTimestamp + BLACK_AVAILABLE_PERIOD,Dexf: Invalid call) (#945)
DEXF.removeFromBlacklist(address) (#953-958) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deployTimestamp + BLACK_AVAILABLE_PERIOD,Dexf: Invalid call) (#954)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#30-33) is never used and should be removed
SafeMath.mod(uint256,uint256) (#226-228) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#230-233) is never used and should be removed
Remove unused functions.
Additional information: link
Function IPancakeSwapV2Router01.WETH() (#332) is not in mixedCase
Event DEXFchangedAllocation(address,uint256,uint8,uint8) (#425) is not in CapWords
Parameter DEXF.setBPAddrss(address)._bp (#575) is not in mixedCase
Parameter DEXF.setBpEnabled(bool)._enabled (#579) is not in mixedCase
Constant DEXF._treasury (#383) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DEXF._team (#384) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DEXF._stakingPool (#385) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DEXF._treasury1 (#386) is not in mixedCase
Variable DEXF.DAILY_RELEASE_AMOUNT_TREASURY (#388) is not in mixedCase
Variable DEXF.DAILY_RELEASE_AMOUNT_TEAM (#389) is not in mixedCase
Variable DEXF.DAILY_RELEASE_PERCENT_STAKING (#391) is not in mixedCase
Variable DEXF._epoch1Start (#400) is not in mixedCase
Variable DEXF._epochDuration (#402) is not in mixedCase
Variable DEXF._lastInitializedEpoch (#404) is not in mixedCase
Variable DEXF.BP (#418) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#31)" inContext (#25-34)
Remove redundant statements if they congest code but offer no value.
Additional information: link
DEXF.constructor() (#442-474) uses literals with too many digits:
- _mint(address(0xe222a2929DDC38CC8362083375C8e680269073b6),40000000E18) (#447)
DEXF.constructor() (#442-474) uses literals with too many digits:
- _mint(_treasury,72000000E18) (#448)
DEXF.constructor() (#442-474) uses literals with too many digits:
- _mint(_team,20000000E18) (#449)
DEXF.constructor() (#442-474) uses literals with too many digits:
- _mint(_stakingPool,68000000E18) (#450)
DEXF.constructor() (#442-474) uses literals with too many digits:
- DAILY_RELEASE_AMOUNT_TREASURY = 72000000E18 / uint256(3647) (#452)
DEXF.constructor() (#442-474) uses literals with too many digits:
- DAILY_RELEASE_AMOUNT_TEAM = 20000000E18 / uint256(104) (#453)
DEXF.constructor() (#442-474) uses literals with too many digits:
- stakingRewardRemaining = 68000000E18 (#455)
DEXF.constructor() (#442-474) uses literals with too many digits:
- buyLimit = 200000E18 (#460)
DEXF.constructor() (#442-474) uses literals with too many digits:
- sellLimit = 200000E18 (#461)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#84-87)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#93-97)
name() should be declared external:
- DEXF.name() (#599-601)
symbol() should be declared external:
- DEXF.symbol() (#607-609)
decimals() should be declared external:
- DEXF.decimals() (#624-626)
totalSupply() should be declared external:
- DEXF.totalSupply() (#631-633)
balanceOf(address) should be declared external:
- DEXF.balanceOf(address) (#638-640)
transfer(address,uint256) should be declared external:
- DEXF.transfer(address,uint256) (#650-653)
allowance(address,address) should be declared external:
- DEXF.allowance(address,address) (#658-660)
approve(address,uint256) should be declared external:
- DEXF.approve(address,uint256) (#669-672)
transferFrom(address,address,uint256) should be declared external:
- DEXF.transferFrom(address,address,uint256) (#687-695)
increaseAllowance(address,uint256) should be declared external:
- DEXF.increaseAllowance(address,uint256) (#709-712)
decreaseAllowance(address,uint256) should be declared external:
- DEXF.decreaseAllowance(address,uint256) (#728-734)
manualEpochInit(uint128) should be declared external:
- DEXF.manualEpochInit(uint128) (#919-921)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account