CertiK reviewed Life Crypto (LIFE Crypto Deploy) on 22 Dec 2022: 3 findings, 0 critical; 2 marked fixed, 1 acknowledged.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 1 | 0 |
| Medium | 0 | 0 | 1 |
| Low | 0 | 0 | 1 |
The function `createRandomUsername()` is not really a function to offer random names. It only creates names from user1 to userN. And if the target user name is taken by a custom username. This function will always revert.
One or more parameters with `memory` data location are never modified in their functions and those functions are never called internally within the contract. Thus, their data location can be changed to `calldata` to avoid gas consumption copying from calldata to memory. ```solidity=35 function createCustomUsername(string memory userName, address walletAddress) public returns (bool) { ``` `createCustomUsername` has memory location parameters: `userName`. --- ```solidity=41 function createPaidUsername(string memory txid,string memory userName, address walletAddress) public returns (bool) { ``` `createPaidUsername` has memory location parameters: `txid`, `userName`. --- ```solidity=50 function batchUserNameCreateByOwner(string[] memory userNames, address[] memory walletAddresses) public onlyOwner returns (bool) { ``` `batchUserNameCreateByOwner` has memory location parameters: `userNames`, `walletAddresses`. --- ```solidity=60 function batchUserNameCreateForSameAddress(string[] memory userNames, address walletAddresses) public onlyOwner returns (bool) { ``` `batchUserNameCreateForSameAddress` has memory location parameters: `userNames`. --- ```solidity=67 function freezeUserName(string memory userName) public returns (bool) { ``` `freezeUserName` has memory location parameters: `userName`. --- ```solidity=73 function unFreezeUserName(string memory userName) public returns (bool) { ``` `unFreezeUserName` has memory location parameters: `userName`. --- ```solidity=79 function transferUserName(string memory userName, address fromAddress, address toAddress) public returns (bool) { ``` `transferUserName` has memory location parameters: `userName`. --- ```solidity=93 function bindUserPayment(string memory txid, string memory username) public returns (bool) { ``` `bindUserPayment` has memory location parameters: `txid`, `username`. --- ```solidity=100 function removeUserPayment(string memory txid) public returns (bool) { ``` `removeUserPayment` has memory location parameters: `txid`. --- ```solidity=108 function updateUserInfo( address addressVal,string memory fullName) public returns (bool) { ``` `updateUserInfo` has memory location parameters: `fullName`. --- ```solidity=173 function checkUserNameAndAddress(string memory userName,address walletAddress) public view virtual returns (bool){ ``` `checkUserNameAndAddress` has memory location parameters: `userName`. --- ```solidity=187 function checkExistsUserName(string memory userName) public view virtual returns (bool){ ``` `checkExistsUserName` has memory location parameters: `userName`. --- ```solidity=196 function addressByUserName(string memory username) public view virtual returns(address){ ``` `addressByUserName` has memory location parameters: `username`. --- ```solidity=202 function isUserNameFreeze(string memory username) public view virtual returns (bool) { ``` `isUserNameFreeze` has memory location parameters: `username`. --- ```solidity=208 function getUsernameByPayment(string memory txid) public view virtual returns (string memory) { ``` `getUsernameByPayment` has memory location parameters: `txid`.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (1)
1,044 projects reviewed · 1,375 reports · latest May 2025
See CertiK’s auditsSomething wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.
Tell us