Tekna Token Logo

TKA [Tekna] Token

About TKA

Listings

Not Found
Token 3 months

Website

white paper

Tekna is a protocol that unifies leading DeFi protocols and blockchain infrastructure for users to create and execute complex financial transactions while championing Privacy, Anonymity and Sovereignty.

Social

Laser Scorebeta Last Audit: 18 February 2022

report
Code:


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

RewardToken.safeDexTokenTransfer(address,uint256) (#1223-1230) ignores return value by dexToken.transfer(_to,dexTokenBal) (#1226)
RewardToken.safeDexTokenTransfer(address,uint256) (#1223-1230) ignores return value by dexToken.transfer(_to,_amount) (#1228)
MasterBuilder.updatePool(uint256) (#1636-1652) ignores return value by dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

DEXToken._writeCheckpoint(address,uint32,uint256,uint256) (#1166-1184) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1176)
RewardToken._writeCheckpoint(address,uint32,uint256,uint256) (#1431-1449) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1441)
MasterBuilder.updatePool(uint256) (#1636-1652) uses a dangerous strict equality:
- lpSupply == 0 (#1642)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

MasterBuilder.pendingDexToken(uint256,address) (#1612-1624) performs a multiplication on the result of a division:
-dexTokenReward = multiplier.mul(dexTokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint) (#1620)
-accDexTokenPerShare = accDexTokenPerShare.add(dexTokenReward.mul(1e12).div(lpSupply)) (#1621)
MasterBuilder.updatePool(uint256) (#1636-1652) performs a multiplication on the result of a division:
-dexTokenReward = multiplier.mul(dexTokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint) (#1647)
-pool.accDexTokenPerShare = pool.accDexTokenPerShare.add(dexTokenReward.mul(1e12).div(lpSupply)) (#1650)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in MasterBuilder.add(uint256,IBEP20,bool) (#1563-1576):
External calls:
- massUpdatePools() (#1565)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
State variables written after the call(s):
- poolInfo.push(PoolInfo(_lpToken,_allocPoint,lastRewardBlock,0)) (#1569-1574)
- updateStakingPool() (#1575)
- poolInfo[0].allocPoint = points (#1600)
- totalAllocPoint = totalAllocPoint.add(_allocPoint) (#1568)
- updateStakingPool() (#1575)
- totalAllocPoint = totalAllocPoint.sub(poolInfo[0].allocPoint).add(points) (#1599)
Reentrancy in MasterBuilder.deposit(uint256,uint256) (#1655-1674):
External calls:
- updatePool(_pid) (#1661)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1665)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
- pool.lpToken.safeTransferFrom(address(msg.sender),address(this),_amount) (#1669)
State variables written after the call(s):
- user.amount = user.amount.add(_amount) (#1670)
- user.rewardDebt = user.amount.mul(pool.accDexTokenPerShare).div(1e12) (#1672)
Reentrancy in MasterBuilder.emergencyWithdraw(uint256) (#1739-1746):
External calls:
- pool.lpToken.safeTransfer(address(msg.sender),user.amount) (#1742)
State variables written after the call(s):
- user.amount = 0 (#1744)
- user.rewardDebt = 0 (#1745)
Reentrancy in MasterBuilder.enterStaking(uint256) (#1698-1716):
External calls:
- updatePool(0) (#1701)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1705)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
- pool.lpToken.safeTransferFrom(address(msg.sender),address(this),_amount) (#1709)
State variables written after the call(s):
- user.amount = user.amount.add(_amount) (#1710)
- user.rewardDebt = user.amount.mul(pool.accDexTokenPerShare).div(1e12) (#1712)
Reentrancy in MasterBuilder.leaveStaking(uint256) (#1719-1736):
External calls:
- updatePool(0) (#1723)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1726)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
State variables written after the call(s):
- user.amount = user.amount.sub(_amount) (#1729)
Reentrancy in MasterBuilder.leaveStaking(uint256) (#1719-1736):
External calls:
- updatePool(0) (#1723)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1726)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
- pool.lpToken.safeTransfer(address(msg.sender),_amount) (#1730)
State variables written after the call(s):
- user.rewardDebt = user.amount.mul(pool.accDexTokenPerShare).div(1e12) (#1732)
Reentrancy in MasterBuilder.set(uint256,uint256,bool) (#1579-1589):
External calls:
- massUpdatePools() (#1581)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
State variables written after the call(s):
- poolInfo[_pid].allocPoint = _allocPoint (#1585)
- updateStakingPool() (#1587)
- poolInfo[0].allocPoint = points (#1600)
- totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint) (#1583)
- updateStakingPool() (#1587)
- totalAllocPoint = totalAllocPoint.sub(poolInfo[0].allocPoint).add(points) (#1599)
Reentrancy in MasterBuilder.updatePool(uint256) (#1636-1652):
External calls:
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
State variables written after the call(s):
- pool.accDexTokenPerShare = pool.accDexTokenPerShare.add(dexTokenReward.mul(1e12).div(lpSupply)) (#1650)
- pool.lastRewardBlock = block.number (#1651)
Reentrancy in MasterBuilder.withdraw(uint256,uint256) (#1677-1695):
External calls:
- updatePool(_pid) (#1684)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1687)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
State variables written after the call(s):
- user.amount = user.amount.sub(_amount) (#1690)
Reentrancy in MasterBuilder.withdraw(uint256,uint256) (#1677-1695):
External calls:
- updatePool(_pid) (#1684)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1687)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
- pool.lpToken.safeTransfer(address(msg.sender),_amount) (#1691)
State variables written after the call(s):
- user.rewardDebt = user.amount.mul(pool.accDexTokenPerShare).div(1e12) (#1693)
Apply the check-effects-interactions pattern.

Additional information: link

BEP20.constructor(string,string).name (#690) shadows:
- BEP20.name() (#706-708) (function)
- IBEP20.name() (#214) (function)
BEP20.constructor(string,string).symbol (#690) shadows:
- BEP20.symbol() (#720-722) (function)
- IBEP20.symbol() (#209) (function)
BEP20.allowance(address,address).owner (#754) shadows:
- Ownable.owner() (#600-602) (function)
BEP20._approve(address,address,uint256).owner (#926) shadows:
- Ownable.owner() (#600-602) (function)
DEXToken.constructor(string,string).name (#956) shadows:
- BEP20.name() (#706-708) (function)
- IBEP20.name() (#214) (function)
DEXToken.constructor(string,string).symbol (#957) shadows:
- BEP20.symbol() (#720-722) (function)
- IBEP20.symbol() (#209) (function)
Rename the local variables that shadow another component.

Additional information: link

MasterBuilder.updateDexTokenPerBlock(uint256) (#1547-1549) should emit an event for:
- dexTokenPerBlock = _dexTokenPerBlock (#1548)
MasterBuilder.updateMultiplier(uint256) (#1551-1553) should emit an event for:
- BONUS_MULTIPLIER = multiplierNumber (#1552)
MasterBuilder.add(uint256,IBEP20,bool) (#1563-1576) should emit an event for:
- totalAllocPoint = totalAllocPoint.add(_allocPoint) (#1568)
MasterBuilder.set(uint256,uint256,bool) (#1579-1589) should emit an event for:
- totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint) (#1583)
Emit an event for critical parameter changes.

Additional information: link

MasterBuilder.updatePool(uint256) (#1636-1652) has external calls inside a loop: lpSupply = pool.lpToken.balanceOf(address(this)) (#1641)
MasterBuilder.updatePool(uint256) (#1636-1652) has external calls inside a loop: dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in MasterBuilder.deposit(uint256,uint256) (#1655-1674):
External calls:
- updatePool(_pid) (#1661)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1665)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
- pool.lpToken.safeTransferFrom(address(msg.sender),address(this),_amount) (#1669)
Event emitted after the call(s):
- Deposit(msg.sender,_pid,_amount) (#1673)
Reentrancy in MasterBuilder.emergencyWithdraw(uint256) (#1739-1746):
External calls:
- pool.lpToken.safeTransfer(address(msg.sender),user.amount) (#1742)
Event emitted after the call(s):
- EmergencyWithdraw(msg.sender,_pid,user.amount) (#1743)
Reentrancy in MasterBuilder.enterStaking(uint256) (#1698-1716):
External calls:
- updatePool(0) (#1701)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1705)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
- pool.lpToken.safeTransferFrom(address(msg.sender),address(this),_amount) (#1709)
- rewardToken.mint(msg.sender,_amount) (#1714)
Event emitted after the call(s):
- Deposit(msg.sender,0,_amount) (#1715)
Reentrancy in MasterBuilder.leaveStaking(uint256) (#1719-1736):
External calls:
- updatePool(0) (#1723)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1726)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
- pool.lpToken.safeTransfer(address(msg.sender),_amount) (#1730)
- rewardToken.burn(msg.sender,_amount) (#1734)
Event emitted after the call(s):
- Withdraw(msg.sender,0,_amount) (#1735)
Reentrancy in MasterBuilder.withdraw(uint256,uint256) (#1677-1695):
External calls:
- updatePool(_pid) (#1684)
- dexToken.transfer(address(rewardToken),dexTokenReward) (#1649)
- safeDexTokenTransfer(msg.sender,pending) (#1687)
- rewardToken.safeDexTokenTransfer(_to,_amount) (#1750)
- pool.lpToken.safeTransfer(address(msg.sender),_amount) (#1691)
Event emitted after the call(s):
- Withdraw(msg.sender,_pid,_amount) (#1694)
Apply the check-effects-interactions pattern.

Additional information: link

DEXToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#1032-1073) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,DexToken::delegateBySig: signature expired) (#1071)
RewardToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#1297-1338) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,DexToken::delegateBySig: signature expired) (#1336)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#312-323) uses assembly
- INLINE ASM (#319-321)
Address._functionCallWithValue(address,bytes,uint256,string) (#420-446) uses assembly
- INLINE ASM (#438-441)
DEXToken.getChainId() (#1191-1195) uses assembly
- INLINE ASM (#1193)
RewardToken.getChainId() (#1456-1460) uses assembly
- INLINE ASM (#1458)
Do not use evm assembly.

Additional information: link

Address.functionCall(address,bytes) (#367-369) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#396-402) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#410-418) is never used and should be removed
Address.sendValue(address,uint256) (#341-347) is never used and should be removed
BEP20._burnFrom(address,uint256) (#943-950) is never used and should be removed
Context._msgData() (#564-567) is never used and should be removed
SafeBEP20.safeApprove(IBEP20,address,uint256) (#487-501) is never used and should be removed
SafeBEP20.safeDecreaseAllowance(IBEP20,address,uint256) (#512-522) is never used and should be removed
SafeBEP20.safeIncreaseAllowance(IBEP20,address,uint256) (#503-510) is never used and should be removed
SafeMath.min(uint256,uint256) (#175-177) is never used and should be removed
SafeMath.mod(uint256,uint256) (#150-152) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#166-173) is never used and should be removed
SafeMath.sqrt(uint256) (#180-191) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in Address.sendValue(address,uint256) (#341-347):
- (success) = recipient.call{value: amount}() (#345)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#420-446):
- (success,returndata) = target.call{value: weiValue}(data) (#429)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter DEXToken.mint(address,uint256)._to (#962) is not in mixedCase
Parameter DEXToken.mint(address,uint256)._amount (#962) is not in mixedCase
Variable DEXToken._delegates (#974) is not in mixedCase
Parameter RewardToken.mint(address,uint256)._to (#1201) is not in mixedCase
Parameter RewardToken.mint(address,uint256)._amount (#1201) is not in mixedCase
Parameter RewardToken.burn(address,uint256)._from (#1207) is not in mixedCase
Parameter RewardToken.burn(address,uint256)._amount (#1207) is not in mixedCase
Parameter RewardToken.safeDexTokenTransfer(address,uint256)._to (#1223) is not in mixedCase
Parameter RewardToken.safeDexTokenTransfer(address,uint256)._amount (#1223) is not in mixedCase
Variable RewardToken._delegates (#1239) is not in mixedCase
Parameter MasterBuilder.updateDexTokenPerBlock(uint256)._dexTokenPerBlock (#1547) is not in mixedCase
Parameter MasterBuilder.add(uint256,IBEP20,bool)._allocPoint (#1563) is not in mixedCase
Parameter MasterBuilder.add(uint256,IBEP20,bool)._lpToken (#1563) is not in mixedCase
Parameter MasterBuilder.add(uint256,IBEP20,bool)._withUpdate (#1563) is not in mixedCase
Parameter MasterBuilder.set(uint256,uint256,bool)._pid (#1579) is not in mixedCase
Parameter MasterBuilder.set(uint256,uint256,bool)._allocPoint (#1579) is not in mixedCase
Parameter MasterBuilder.set(uint256,uint256,bool)._withUpdate (#1579) is not in mixedCase
Parameter MasterBuilder.getMultiplier(uint256,uint256)._from (#1607) is not in mixedCase
Parameter MasterBuilder.getMultiplier(uint256,uint256)._to (#1607) is not in mixedCase
Parameter MasterBuilder.pendingDexToken(uint256,address)._pid (#1612) is not in mixedCase
Parameter MasterBuilder.pendingDexToken(uint256,address)._user (#1612) is not in mixedCase
Parameter MasterBuilder.updatePool(uint256)._pid (#1636) is not in mixedCase
Parameter MasterBuilder.deposit(uint256,uint256)._pid (#1655) is not in mixedCase
Parameter MasterBuilder.deposit(uint256,uint256)._amount (#1655) is not in mixedCase
Parameter MasterBuilder.withdraw(uint256,uint256)._pid (#1677) is not in mixedCase
Parameter MasterBuilder.withdraw(uint256,uint256)._amount (#1677) is not in mixedCase
Parameter MasterBuilder.enterStaking(uint256)._amount (#1698) is not in mixedCase
Parameter MasterBuilder.leaveStaking(uint256)._amount (#1719) is not in mixedCase
Parameter MasterBuilder.emergencyWithdraw(uint256)._pid (#1739) is not in mixedCase
Parameter MasterBuilder.safeDexTokenTransfer(address,uint256)._to (#1749) is not in mixedCase
Parameter MasterBuilder.safeDexTokenTransfer(address,uint256)._amount (#1749) is not in mixedCase
Variable MasterBuilder.BONUS_MULTIPLIER (#1508) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#565)" inContext (#555-568)
Remove redundant statements if they congest code but offer no value.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#619-622)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#628-630)
decimals() should be declared external:
- BEP20.decimals() (#713-715)
symbol() should be declared external:
- BEP20.symbol() (#720-722)
totalSupply() should be declared external:
- BEP20.totalSupply() (#727-729)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#746-749)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#754-756)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#765-768)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#782-794)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#808-811)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#827-834)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#844-847)
mint(address,uint256) should be declared external:
- DEXToken.mint(address,uint256) (#962-965)
mint(address,uint256) should be declared external:
- RewardToken.mint(address,uint256) (#1201-1205)
burn(address,uint256) should be declared external:
- RewardToken.burn(address,uint256) (#1207-1210)
safeDexTokenTransfer(address,uint256) should be declared external:
- RewardToken.safeDexTokenTransfer(address,uint256) (#1223-1230)
updateDexTokenPerBlock(uint256) should be declared external:
- MasterBuilder.updateDexTokenPerBlock(uint256) (#1547-1549)
updateMultiplier(uint256) should be declared external:
- MasterBuilder.updateMultiplier(uint256) (#1551-1553)
add(uint256,IBEP20,bool) should be declared external:
- MasterBuilder.add(uint256,IBEP20,bool) (#1563-1576)
set(uint256,uint256,bool) should be declared external:
- MasterBuilder.set(uint256,uint256,bool) (#1579-1589)
deposit(uint256,uint256) should be declared external:
- MasterBuilder.deposit(uint256,uint256) (#1655-1674)
withdraw(uint256,uint256) should be declared external:
- MasterBuilder.withdraw(uint256,uint256) (#1677-1695)
enterStaking(uint256) should be declared external:
- MasterBuilder.enterStaking(uint256) (#1698-1716)
leaveStaking(uint256) should be declared external:
- MasterBuilder.leaveStaking(uint256) (#1719-1736)
emergencyWithdraw(uint256) should be declared external:
- MasterBuilder.emergencyWithdraw(uint256) (#1739-1746)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


Token is deployed only at one blockchain


Unable to find Youtube account


Unable to find Discord account


Twitter account has few posts

Search:


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


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


Unable to find code repository for the project


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Anti-Scam Checks

Price for TKA

News for TKA