2local loyalty platform with the goal to achieve a sustainable world with prosperity for all. The cashback system supports sustainable and local-to-local working businesses.
This cashback is generated from the profit from Yield Farms and Staking Pools.
2local doesn’t profit from its users but create value with its users.
The 2local platform have or will get the following features:
● Loyalty Platform Sustainability and Local-to-Local
● Decentralized Exchange (swap)
● Staking and Yield Farming
● Marketplace in app with connected companies.
● Payment app with exchange options.
● Debit card.
● Decentralized multi-currency wallet.
● Cashback system for locally or sustainable working companies
LocalToken._writeCheckpoint(address,uint32,uint256,uint256) (#934-952) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#944)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
BEP20.allowance(address,address).owner (#533) shadows:
- Ownable.owner() (#411-413) (function)
BEP20.constructor(string,string).symbol (#469) shadows:
- BEP20.symbol() (#499-501) (function)
- IBEP20.symbol() (#30) (function)
BEP20._approve(address,address,uint256).owner (#705) shadows:
- Ownable.owner() (#411-413) (function)
BEP20.constructor(string,string).name (#469) shadows:
- BEP20.name() (#485-487) (function)
- IBEP20.name() (#35) (function)
Rename the local variables that shadow another component.
Additional information: link
Address.isContract(address) (#277-286) uses assembly
- INLINE ASM (#284)
LocalToken.getChainId() (#959-963) uses assembly
- INLINE ASM (#961)
Address._functionCallWithValue(address,bytes,uint256,string) (#370-391) uses assembly
- INLINE ASM (#383-386)
Do not use evm assembly.
Additional information: link
Different versions of Solidity are used:
- Version used: ['^0.6.0', '^0.6.2']
- ^0.6.0 (#3)
- ^0.6.2 (#254)
Use one Solidity version.
Additional information: link
SafeMath.mul(uint256,uint256) (#170-182) is never used and should be removed
Address.sendValue(address,uint256) (#304-310) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#355-357) is never used and should be removed
BEP20._burnFrom(address,uint256) (#722-729) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#248-251) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#365-368) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#212-218) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#232-234) is never used and should be removed
SafeMath.div(uint256,uint256) (#196-198) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#370-391) is never used and should be removed
Address.isContract(address) (#277-286) is never used and should be removed
Address.functionCall(address,bytes,string) (#340-342) is never used and should be removed
Address.functionCall(address,bytes) (#330-332) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.0 (#3) allows old versions
Pragma version^0.6.2 (#254) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#304-310):
- (success) = recipient.call{value: amount}() (#308)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#370-391):
- (success,returndata) = target.call{value: weiValue}(data) (#374)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter LocalToken.mint(address,uint256)._to (#734) is not in mixedCase
Parameter LocalToken.burn(address,uint256)._amount (#739) is not in mixedCase
Variable LocalToken._delegates (#743) is not in mixedCase
Parameter LocalToken.mint(address,uint256)._amount (#734) is not in mixedCase
Parameter LocalToken.burn(address,uint256)._to (#739) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#525-528)
symbol() should be declared external:
- BEP20.symbol() (#499-501)
burn(address,uint256) should be declared external:
- LocalToken.burn(address,uint256) (#739-741)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#430-433)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#544-547)
mint(address,uint256) should be declared external:
- LocalToken.mint(address,uint256) (#734-737)
getOwner() should be declared external:
- BEP20.getOwner() (#478-480)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#561-573)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#439-443)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#623-626)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#533-535)
totalSupply() should be declared external:
- BEP20.totalSupply() (#506-508)
decimals() should be declared external:
- BEP20.decimals() (#492-494)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#587-590)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#606-613)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Token is deployed only at one blockchain
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.