BitTorrent was initially conceived by Bram Cohen, a peer-to-peer protocol for users to transfer files around the world. The BitTorrent Token (BTT), a TRC-10 token is created on top of the TRON blockchain platform as a way to extend the capability of BitTorrent. The token is added to introduce some economics feature on BitTorrent for networking, bandwidth, and storage resources to be shared and tradeed.
Some of the other feature that BitTorrent Token (BTT) offers would be BitTorrent Speed. This is whereby BTT tokens can be big in exchange for faster download speed.
List of exchanges trading BTT token can be found at https://www.coingecko.com/en/coins/bittorrent/trading_exchanges
Contract locking ether found:
Contract BTT (#1615-1650) has payable functions:
- NativeMetaTransaction.executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) (#770-804)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
Redundant expression "this (#23)" inContext (#17-26)
Remove redundant statements if they congest code but offer no value.
Additional information: link
EIP712Base.getChainId() (#712-718) uses assembly
- INLINE ASM (#714-716)
ContextMixin.msgSender() (#850-869) uses assembly
- INLINE ASM (#858-864)
Address.isContract(address) (#1199-1208) uses assembly
- INLINE ASM (#1206)
Address._verifyCallResult(bool,bytes,string) (#1344-1361) uses assembly
- INLINE ASM (#1353-1356)
Do not use evm assembly.
Additional information: link
Different versions of Solidity are used:
- Version used: ['0.6.6', '>=0.6.0<0.8.0', '>=0.6.2<0.8.0']
- >=0.6.0<0.8.0 (#5)
- >=0.6.0<0.8.0 (#32)
- >=0.6.0<0.8.0 (#112)
- >=0.6.0<0.8.0 (#329)
- 0.6.6 (#635)
- 0.6.6 (#650)
- 0.6.6 (#664)
- 0.6.6 (#741)
- 0.6.6 (#847)
- >=0.6.0<0.8.0 (#876)
- >=0.6.2<0.8.0 (#1176)
- >=0.6.0<0.8.0 (#1368)
- 0.6.6 (#1585)
- 0.6.6 (#1608)
Use one Solidity version.
Additional information: link
Pragma version0.6.6 (#635) allows old versions
solc-0.6.6 is not recommended for deployment
Pragma version>=0.6.0<0.8.0 (#5) is too complex
Pragma version0.6.6 (#847) allows old versions
Pragma version>=0.6.0<0.8.0 (#1368) is too complex
Pragma version0.6.6 (#650) allows old versions
Pragma version>=0.6.0<0.8.0 (#112) is too complex
Pragma version>=0.6.2<0.8.0 (#1176) is too complex
Pragma version>=0.6.0<0.8.0 (#32) is too complex
Pragma version0.6.6 (#741) allows old versions
Pragma version0.6.6 (#664) allows old versions
Pragma version>=0.6.0<0.8.0 (#876) is too complex
Pragma version0.6.6 (#1585) allows old versions
Pragma version0.6.6 (#1608) allows old versions
Pragma version>=0.6.0<0.8.0 (#329) is too complex
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
SafeMath.mul(uint256,uint256) (#225-230) is never used and should be removed
SafeMath.sub(uint256,uint256) (#210-213) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#169-172) is never used and should be removed
AccessControl._setRoleAdmin(bytes32,bytes32) (#1565-1568) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#1044-1046) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#1058-1060) is never used and should be removed
Address.sendValue(address,uint256) (#1226-1232) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#1277-1279) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#1139-1141) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#1037-1039) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#179-182) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#1336-1342) is never used and should be removed
Context._msgSender() (#18-20) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#1326-1328) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#1146-1148) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#133-137) is never used and should be removed
ERC20._burn(address,uint256) (#574-582) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#319-322) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#1287-1294) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#299-302) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#1020-1022) is never used and should be removed
ERC20._setupDecimals(uint8) (#612-614) is never used and should be removed
Context._msgData() (#22-25) is never used and should be removed
Address.functionStaticCall(address,bytes) (#1302-1304) is never used and should be removed
SafeMath.mod(uint256,uint256) (#261-264) is never used and should be removed
SafeMath.div(uint256,uint256) (#244-247) is never used and should be removed
Address._verifyCallResult(bool,bytes,string) (#1344-1361) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#154-162) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#144-147) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#1153-1155) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#1167-1169) is never used and should be removed
Address.isContract(address) (#1199-1208) is never used and should be removed
Address.functionCall(address,bytes,string) (#1262-1264) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#1312-1318) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#1129-1131) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#1030-1032) is never used and should be removed
Address.functionCall(address,bytes) (#1252-1254) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#1287-1294):
- (success,returndata) = target.call{value: value}(data) (#1292)
Low level call in Address.functionStaticCall(address,bytes,string) (#1312-1318):
- (success,returndata) = target.staticcall(data) (#1316)
Low level call in NativeMetaTransaction.executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) (#770-804):
- (success,returnData) = address(this).call(abi.encodePacked(functionSignature,userAddress)) (#798-800)
Low level call in Address.sendValue(address,uint256) (#1226-1232):
- (success) = recipient.call{value: amount}() (#1230)
Low level call in Address.functionDelegateCall(address,bytes,string) (#1336-1342):
- (success,returndata) = target.delegatecall(data) (#1340)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#477-481)
decimals() should be declared external:
- ERC20.decimals() (#414-416)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#514-517)
symbol() should be declared external:
- ERC20.symbol() (#397-399)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#428-430)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#440-443)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#495-498)
getNonce(address) should be declared external:
- NativeMetaTransaction.getNonce(address) (#822-824)
getRoleMemberCount(bytes32) should be declared external:
- AccessControl.getRoleMemberCount(bytes32) (#1459-1461)
name() should be declared external:
- ERC20.name() (#389-391)
grantRole(bytes32,address) should be declared external:
- AccessControl.grantRole(bytes32,address) (#1499-1503)
getRoleMember(bytes32,uint256) should be declared external:
- AccessControl.getRoleMember(bytes32,uint256) (#1475-1477)
revokeRole(bytes32,address) should be declared external:
- AccessControl.revokeRole(bytes32,address) (#1514-1518)
totalSupply() should be declared external:
- ERC20.totalSupply() (#421-423)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#459-462)
renounceRole(bytes32,address) should be declared external:
- AccessControl.renounceRole(bytes32,address) (#1534-1538)
executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) should be declared external:
- NativeMetaTransaction.executeMetaTransaction(address,bytes,bytes32,bytes32,uint8) (#770-804)
getRoleAdmin(bytes32) should be declared external:
- AccessControl.getRoleAdmin(bytes32) (#1485-1487)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#448-450)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find audit link on the website
Token is not listed at Mobula.Finance
Additional information: link
Twitter account link seems to be invalid
Unable to find Youtube account