LIFE Crypto Deploy

CertiKFiles named in the report

CertiK reviewed Life Crypto (LIFE Crypto Deploy) on 22 Dec 2022: 3 findings, 0 critical; 2 marked fixed, 1 acknowledged.

No open critical findings
Open the reportOpen Life Crypto’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings3

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High010
Medium001
Low001
MediumLogical issue of function `createRandomUsername()Fixed

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.

LowInefficient Memory ParameterFixed

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`.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (1)

  • contracts/LifeCrypto.sol

Part of Life Crypto’s security record

Life Crypto
Audits1 audit by 1 firmLast audit Dec 2022, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Life Crypto’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 reports · latest May 2025

See CertiK’s audits

Something 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