This analysis is based on verified source code retrieved from Etherscan and observations of the contract behavior. We are not smart contract security experts. This document aims to explain what the contract appears to do based on the code. It should not be considered a comprehensive security audit or financial advice. Always verify critical information independently and consult with blockchain security professionals for important decisions.
constructor(uint256_totalSupply,address_presaleWallet,uint256_presaleAllocation)ERC20("Xcellar","XCL")Ownable(msg.sender){require(_totalSupply>0,"Total supply must be greater than zero");require(_presaleWallet!=address(0),"Presale wallet cannot be zero address");require(_presaleAllocation<=_totalSupply,"Presale allocation exceeds total supply");TOTAL_SUPPLY=_totalSupply;presaleWallet=_presaleWallet;presaleAllocation=_presaleAllocation;if(_presaleAllocation>0){_mint(_presaleWallet,_presaleAllocation);}uint256remainingTokens=TOTAL_SUPPLY-_presaleAllocation;if(remainingTokens>0){_mint(msg.sender,remainingTokens);}}
User Functions
burn(uint256 value)
Allows token holders to permanently destroy their own tokens, reducing the circulating supply.
Previous owner loses all owner privileges immediately
☑
Does not affect token balances or operations
// Inherited from OpenZeppelin OwnablefunctiontransferOwnership(addressnewOwner)publicvirtualonlyOwner{require(newOwner!=address(0),"Ownable: new owner is the zero address");_transferOwnership(newOwner);}
renounceOwnership()
Permanently removes ownership, making contract ownerless. Inherited from OpenZeppelin Ownable.
ATTRIBUTE
VALUE
Selector
0x715018a6
Source
Inherited from OpenZeppelin Ownable
Parameters
None
Access
Owner only
FLAG
OBSERVATION
△
Irreversible - ownership cannot be restored
☑
Makes contract fully decentralized
☑
No one can ever become owner again
☑
Does not affect token functionality
// Inherited from OpenZeppelin OwnablefunctionrenounceOwnership()publicvirtualonlyOwner{_transferOwnership(address(0));}
View Functions
Inherited ERC20 Functions
The contract inherits all standard ERC20 view functions from OpenZeppelin: