Closed yuriy77k closed 3 years ago
The audit will take 7 days after payment. The fee is: 865 USDT Wallet address: 0xb9662e592f2f0412be62f0833ca463a9b1aabebb (for Ethereum and Binance Smart Chain)
Big Doge Coin smart contract security audit report performed by Callisto Security Audit Department
The project description says:
Our main focus is to provide the best entertainment possible for our players on Blockchain. We place key emphasis on creating games that are of a high quality in every way possible. This means that we ensure that all our games themes are engaging, our features unique and captivating and our art, stunning and precise! We don’t cut corners and do whatever is necessary to offer a memorable gameplay experience.
https://bscscan.com/address/0x2BA8c3066F36B998bC74CE8DcE260Fb5D2ba6bCc#code
In total, 1 issues were reported, including:
0 high severity issues.
0 medium severity issues.
1 low severity issues.
In total, 9 notes were reported, including:
3 notes.
6 owner privileges.
No critical security issues were found.
require
function.In the line 466 require(now > _lockTime , "Contract is locked until 7 days");
the message indicates a specific locking period, but function function lock()
(line 456) allow to lock to any period.
Replace with message without specific locking period.
The variables in lines 701-702 is declared but never initialized and there are no functions to initialize them.
mapping (address => bool) private _isExcluded;
address[] private _excluded;
Therefore contract could not have excluded from rewards addresses, and numbers of functions and its part are unused:
balanceOf
(line 791)isExcludedFromReward
(lines 825-827)deliver
(line 835)_takeLiquidity
(lines 951-952)_tokenTransfer
(lines 1101-1109)_transferToExcluded
(lines 1126-1144)_transferFromExcluded
(lines 1136-1144)_transferBothExcluded
(lines 860-869)_getCurrentSupply
(lines 938-943)To increase readability and reduce deployment cost the unused code should be removed.
Due ERC20 standard: Transfers of 0 values MUST be treated as normal transfers and fire the Transfer event.
Remove require(amount > 0, "Transfer amount must be greater than zero");
(line 1001).
mintedByDxsale
The variable mintedByDxsale
(line 708) was declared but never used.
To increase readability and reduce deployment cost the unused code should be removed.
Contract owner has right to:
excludeFromFee
(lines 871-873) and includeInFee
(lines 875-877).maxTaxFee
percent, using function setTaxFeePercent
(lines 879-878).maxLiqFee
percent, using function setLiquidityFeePercent
(lines 884-887).minMxTxPercentage
to 100 percent of total supply, using function setMaxTxPercent
(lines 889-894).setSwapAndLiquifyEnabled
(lines 896-899).disableFees
(lines 1146-1154) and enableFees
(lines 1156-1161).CREATE (0xf0)
opcode is assigned following this scheme keccak256(rlp([sender, nonce]))
. Therefore you need to use the same address that was originally used at the main chain to deploy the mock contract at a transaction with the nonce
that matches that on the original chain. Example: If you have deployed your main contract with address 0x010101 at your 2021th transaction then you need to increase your nonce of 0x010101 address to 2020 at the chain where your mock contract will be deployed. Then you can deploy your mock contract with your 2021th transaction, and it will receive the same address as your mainnet contract.The audited smart contract can be deployed. Only low severity issues were found during the audit.
It is recommended to adhere to the security practices described in pt. 4 of this report to ensure the contract's operability and prevent any issues that are not directly related to the code of this smart contract.
Axiemon Toke smart contract security audit report performed by Callisto Security Audit Department
https://bscscan.com/address/0xC512261b8AE70260447A74aC7d94dAee150B90C0#code
In total, 1 issues were reported, including:
0 high severity issues.
0 medium severity issues.
1 low severity issues.
In total, 9 notes were reported, including:
3 notes.
6 owner privileges.
No critical security issues were found.
require
function.In the line 466 require(now > _lockTime , "Contract is locked until 7 days");
the message indicates a specific locking period, but function function lock()
(line 456) allow to lock to any period.
Replace with message without specific locking period.
The variables in lines 701-702 is declared but never initialized and there are no functions to initialize them.
mapping (address => bool) private _isExcluded;
address[] private _excluded;
Therefore contract could not have excluded from rewards addresses, and numbers of functions and its part are unused:
balanceOf
(line 791)isExcludedFromReward
(lines 825-827)deliver
(line 835)_takeLiquidity
(lines 951-952)_tokenTransfer
(lines 1101-1109)_transferToExcluded
(lines 1126-1144)_transferFromExcluded
(lines 1136-1144)_transferBothExcluded
(lines 860-869)_getCurrentSupply
(lines 938-943)To increase readability and reduce deployment cost the unused code should be removed.
Due ERC20 standard: Transfers of 0 values MUST be treated as normal transfers and fire the Transfer event.
Remove require(amount > 0, "Transfer amount must be greater than zero");
(line 1001).
mintedByDxsale
The variable mintedByDxsale
(line 708) was declared but never used.
To increase readability and reduce deployment cost the unused code should be removed.
Contract owner has right to:
excludeFromFee
(lines 871-873) and includeInFee
(lines 875-877).maxTaxFee
percent, using function setTaxFeePercent
(lines 879-878).maxLiqFee
percent, using function setLiquidityFeePercent
(lines 884-887).minMxTxPercentage
to 100 percent of total supply, using function setMaxTxPercent
(lines 889-894).setSwapAndLiquifyEnabled
(lines 896-899).disableFees
(lines 1146-1154) and enableFees
(lines 1156-1161).CREATE (0xf0)
opcode is assigned following this scheme keccak256(rlp([sender, nonce]))
. Therefore you need to use the same address that was originally used at the main chain to deploy the mock contract at a transaction with the nonce
that matches that on the original chain. Example: If you have deployed your main contract with address 0x010101 at your 2021th transaction then you need to increase your nonce of 0x010101 address to 2020 at the chain where your mock contract will be deployed. Then you can deploy your mock contract with your 2021th transaction, and it will receive the same address as your mainnet contract.The audited smart contract can be deployed. Only low severity issues were found during the audit.
It is recommended to adhere to the security practices described in pt. 4 of this report to ensure the contract's operability and prevent any issues that are not directly related to the code of this smart contract.
Logo for Axiemon: https://github.com/Axiemon/logo/blob/main/Axiemon_logo_256.png
Audit request
Our main focus is to provide the best entertainment possible for our players on Blockchain. We place key emphasis on creating games that are of a high quality in every way possible. This means that we ensure that all our games themes are engaging, our features unique and captivating and our art, stunning and precise! We don’t cut corners and do whatever is necessary to offer a memorable gameplay experience.
Source code
Big Doge Coin https://bscscan.com/address/0x2BA8c3066F36B998bC74CE8DcE260Fb5D2ba6bCc#code
axiemon (AXM) https://bscscan.com/address/0xC512261b8AE70260447A74aC7d94dAee150B90C0#code
Viking Social https://bscscan.com/address/0x54A5B486e8303Df704774eb318Ad7227d0927EDC#code
Disclosure policy
Standard disclosure policy.
Contact information (optional)
... Provide information to contact you or the smart contract-developer in case high severity issues will be found ...
... Provide information about the media resources of the project you want us to audit (website/ twitter account/ reddit/ telegram channel/ etc.) ...
Platform
BSC