RESOU audit reports

BNB Chainresoumint.top

RESOU has 1 public audit report from CertiK; dated 19 Feb 2024; no critical findings reported. It also holds 1 deployed contract on 1 chain.

Critical and high findings
No open critical findings; 2 high open in the firms’ reports
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
RESOU - auditSecurity firm: CertiKDate: Scope: 1 address on BNB ChainNone openFindings: 2 high · 1 medium · 9 low
12 open
Original removed

Findings12

12 findings in 1 report: 12 open.

SeverityOpen
Critical0
High2
Medium1
Low9

Not fixed (12)

HighOpenCentralization Risks in RESOU.solRESOU - audit · CertiK · 19 Feb 2024

In the contract `RESOU` the role `_owner` has authority over the functions shown in the diagram below. Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and steal tokens from the contract, make the contract malfunction. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-c43b-45c0ec90-97a2-8968a2a4a9d2/diagrams/centralization_RESOU-RESOU-_owner.svg)

Report ↗
HighOpenInitial Token DistributionRESOU - audit · CertiK · 19 Feb 2024

All of the `RESOU` tokens are sent to the contract deployer or one or several externally-owned account (EOA) addresses. This is a centralization risk because the deployer or the owner(s) of the EOAs can distribute tokens without obtaining the consensus of the community. Any compromise to these addresses may allow a hacker to steal and sell tokens on the market, resulting in severe damage to the project.

Report ↗
MediumOpenUninitialized `_NFT` may result in locked fundsRESOU - audit · CertiK · 19 Feb 2024

It is possible that the `_NFT` variable is not initialized in constructor and `swapAndTrans()` is called by someone, then native tokens are transferred to zero address and lost.

Report ↗
LowOpen`usdt` address points to WETH token addressRESOU - audit · CertiK · 19 Feb 2024

The `usdt` address returned by `getToken()` points to WETH token address, NOT USDT token address.

Report ↗
LowOpenDivide Before MultiplyRESOU - audit · CertiK · 19 Feb 2024

Performing integer division before multiplication truncates the low bits, losing the precision of calculation. ```solidity=872 uint256 every = amount.div(100); ``` ```solidity=874 super._transfer(from, address(this), every * 3); ``` --- ```solidity=882 uint256 every = amount.div(100); ``` ```solidity=884 super._transfer(from, address(this), every * 3); ``` --- ```solidity=957 uint every = balanceOf(address(this)) / 10; ``` ```solidity=958 uint amount = every * 6; ```

Report ↗
LowOpenPotential Sandwich AttacksRESOU - audit · CertiK · 19 Feb 2024

A sandwich attack might happen when an attacker observes a transaction swapping tokens or adding liquidity without setting restrictions on slippage or minimum output amount. The attacker can manipulate the exchange rate by frontrunning (before the transaction being attacked) a transaction to purchase one of the assets and make profits by back running (after the transaction being attacked) a transaction to sell the asset. The following functions are called without setting restrictions on slippage or minimum output amount, so transactions triggering these functions are vulnerable to sandwich attacks, especially when the input amount is large: - `swapTokensForBNB()` - `addLiquidity()` - `buyBackTokens()`

Report ↗
LowOpenState Variable Should Be Declared ConstantRESOU - audit · CertiK · 19 Feb 2024

State variables that never change should be declared as `constant` to save gas. ```solidity=801 address private _dead = 0x000000000000000000000000000000000000dEaD; ``` - `_dead` should be declared `constant`.

Report ↗
LowOpenThird-Party Dependency UsageRESOU - audit · CertiK · 19 Feb 2024

The contract is serving as the underlying entity to interact with one or more third party protocols. The scope of the audit treats third party entities as black boxes and assumes their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. ```solidity=802 address private _swapPair; ``` - The contract `RESOU` interacts with third party contract with `ISwapPair` interface via `_swapPair`. --- ```solidity=804 ISwapRouter private _ROUTER; ``` - The contract `RESOU` interacts with third party contract with `ISwapRouter` interface via `_ROUTER`. --- ```solidity=805 INFT private _NFT; ``` - The contract `RESOU` interacts with third party contract with `INFT` interface via `_NFT`.

Report ↗
LowOpenUnchecked ERC-20 `transfer()`/`transferFrom()` CaRESOU - audit · CertiK · 19 Feb 2024

The return values of the `transfer()` and `transferFrom()` calls in the smart contract are not checked. Some ERC-20 tokens' transfer functions return no values, while others return a bool value, they should be handled with care. If a function returns `false` instead of reverting upon failure, an unchecked failed transfer could be mistakenly considered successful in the contract. ```solidity=842 token.transfer(msg.sender, amount); ```

Report ↗
LowOpenUnnecessary Use of SafeMathRESOU - audit · CertiK · 19 Feb 2024

The `SafeMath` library is used unnecessarily. With Solidity compiler versions 0.8.0 or newer, arithmetic operations will automatically revert in case of integer overflow or underflow. ```solidity=166 library SafeMath { ``` - An implementation of `SafeMath` library is found. --- ```solidity=795 using SafeMath for uint256; ``` - `SafeMath` library is used for `uint256` type in `RESOU` contract. ```solidity=872 uint256 every = amount.div(100); ``` - `SafeMath.div` is called in `_transfer` function of `RESOU` contract. *Note: Only a sample of 2 `SafeMath` library usage in this contract (out of 3) are shown above.*

Report ↗
Show all 12
LowOpenUsage of `transfer`/`send` for Sending Native TokRESOU - audit · CertiK · 19 Feb 2024

It is not recommended to use Solidity's `transfer()` and `send()` functions for transferring native tokens, since some contracts may not be able to receive the funds. Those functions forward only a fixed amount of gas (2300 specifically) and the receiving contracts may run out of gas before finishing the transfer. Also, EVM instructions' gas costs may increase in the future. Thus, some contracts that can receive now may stop working in the future due to the gas limitation. ```solidity=838 payable(msg.sender).transfer(amount); ``` - `RESOU.withdrawETH` uses `transfer()`.

Report ↗
LowOpenVariables That Could Be Declared as ImmutableRESOU - audit · CertiK · 19 Feb 2024

The linked variables assigned in the constructor can be declared as `immutable`. Immutable state variables can be assigned during contract creation but will remain constant throughout the lifetime of a deployed contract. A big advantage of immutable variables is that reading them is significantly cheaper than reading from regular state variables since they will not be stored in storage.

Report ↗

Contracts1

AddressChainSource code
0xd52a1afb1f54f5661c07768c7ed1c4cadcb9f13bChain: BNB ChainSource code: Verified source

RESOU: questions

Is RESOU audited?

Trustblock holds 1 public audit report for RESOU, dated 19 Feb 2024. The latest is by CertiK (“RESOU - audit”).

Who audited RESOU?

CertiK wrote the report Trustblock holds for RESOU.

Are there open findings in RESOU’s audits?

12 findings are still open or acknowledged in the firms’ reports: 2 high, 1 medium, 9 low (all open). No critical finding is reported. Statuses are the security firms’ own.

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