Regent Coin - Audit

CertiK1 address on BNB Chain

CertiK reviewed Regent Coin (Regent Coin - Audit) on 12 May 2023: 6 findings, 0 critical; 1 marked fixed, 4 acknowledged, 1 open.

No open critical findings
Open the reportOpen Regent Coin’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings6

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

SeverityOpenAcknowledgedFixed
Critical000
High100
Medium020
Low021
MediumPotential abuse of function `swaptransfer`Acknowledged

Users seem to be able to use `swaptransfer` to avoid transfer fee, which is pretty strange. Since it does not impose ant restriction on when and which user can use this, user could choose using `swaptransfer` instead of `transfer` forever, thus avoiding any potential fees, violating the tokenomics of the project.

MediumVariable `_rOwned[account]` Not Updated in FunctiAcknowledged

Variable `_rOwned[account]` is not updated in the function `includeInReward()`, which will make the accounts included siphon off the tokens out of the balances of all token holders. The Rate was higher at the moment of the `excludeFromReward(account)` call, so the `_rOwned[account] / _tOwned[account]` ratio is bigger than expected for accounts included in the reward.

LowDivide Before MultiplyAcknowledged

Performing integer division before multiplication truncates the low bits, losing the precision of calculation. ```solidity=681 uint256 unitBalance = deltaBalance / (denominator - temp.liquidity); ``` ```solidity=682 uint256 bnbToAddLiquidityWith = unitBalance * temp.liquidity; ```

LowThird Party DependencyAcknowledged

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 assume 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=142 IRouter public router; ``` - The contract `RegentCoin` interacts with third party contract with `IRouter` interface via `router`.

Contracts in scope1

AddressChainSource code
0x4ffa143ce16a24215e8df96c0cef5677a7b91ee4Chain: BNB ChainSource code: Verified source

Part of Regent Coin’s security record

Regent Coin
Audits1 audit by 1 firmLast audit May 2023, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Regent Coin’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