TermMax. Phase I

ABDK ConsultingCode version: not recorded (see the report)

ABDK Consulting reviewed TermMax (TermMax. Phase I) on 7 Jul 2025: 14 findings, 1 critical; 11 marked fixed, 3 acknowledged.

1 critical finding, fixed
Open the reportOpen TermMax’s security record

Report hosted on GitHub.

Trustblock does not review code.

Findings59

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

SeverityOpenAcknowledgedFixed
Critical001
High005
Medium035
Low000

Marked Recommendations by the firm. Not counted as findings.

RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular version.Acknowledged

The report gives no description here.

RecommendationsIt is unclear where the "LimitOrderData", " ApproxParams", "TokenInput", and "TokenOutput" types are imported from.Acknowledged

The report gives no description here.

RecommendationsIt is unclear where the "SwapData" type is imported from.Acknowledged

The report gives no description here.

RecommendationsThe argument type should be "IPAllActionV3".Acknowledged

The report gives no description here.

RecommendationsThe argument type should ge "ISwapRouter".Acknowledged

The report gives no description here.

RecommendationsThe argument type should never be "IOdosRouterV2".Acknowledged

The report gives no description here.

RecommendationsThe semantics of the field values are unclear.Acknowledged

The report gives no description here.

RecommendationsThe type for the "router_" argument should be more specific.Acknowledged

The report gives no description here.

RecommendationsThe type for the "scalingHelper_" argument should be "IKyberScalingHelper".Acknowledged

The report gives no description here.

RecommendationsThe type for the "tokenIn" argument should be "IERC20".Acknowledged

The report gives no description here.

Show 10 more
RecommendationsThe type for the "tokenOut" argument should be "IERC20".Acknowledged

The report gives no description here.

RecommendationsThe type for the first decoded value should be "IPMarket" rather than "ad- dress".Acknowledged

The report gives no description here.

RecommendationsThe type for the token arguments should be "IERC20".Acknowledged

The report gives no description here.

RecommendationsThe type for these fields should be "IERC20".Acknowledged

The report gives no description here.

RecommendationsThe type for this variable should be "IKyberScalingHelper".Acknowledged

The report gives no description here.

RecommendationsThe type for this variable should be more specific.Acknowledged

The report gives no description here.

RecommendationsThis function should emit some event and this event should be declared in this interface.Acknowledged

The report gives no description here.

RecommendationsThis interface should be declared in a separate file named "IOdos- RouterV2.sol".Acknowledged

The report gives no description here.

RecommendationsThis interface should be moved into a separate file named "IKyberScal- ingHelper.sol".Acknowledged

The report gives no description here.

RecommendationsWe didn't review these files.Acknowledged

The report gives no description here.

Show 10 more
RecommendationsWe didn't review these files.Acknowledged

The report gives no description here.

RecommendationsA struct name are usually starts with a capital letter.  Fixed

The report gives no description here.

RecommendationsBrackets are redundant.  Fixed

The report gives no description here.

RecommendationsBrackets are redundant.  Fixed

The report gives no description here.

RecommendationsBrackets are redundant.  Fixed

The report gives no description here.

RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular file.  Fixed

The report gives no description here.

RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular version.  Fixed

The report gives no description here.

RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular version.  Fixed

The report gives no description here.

RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular version.  Fixed

The report gives no description here.

RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular version.  Fixed

The report gives no description here.

Show 10 more
RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular version.  Fixed

The report gives no description here.

RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular version.  Fixed

The report gives no description here.

RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular version.  Fixed

The report gives no description here.

RecommendationsConsider specifying as "^0.8.0" unless there is something special regarding this particular version.  Fixed

The report gives no description here.

RecommendationsIt is a good practice to put a comment into an empty block to explain why the block is empty.  Fixed

The report gives no description here.

RecommendationsIt is unclear how this error could be triggered as there is no way to perform a swap without specifying the exact input amount.Fixed

The report gives no description here.

RecommendationsIt is unclear how this error could be triggered, as there is no way to specify the minimum output amount for a swap.Fixed

The report gives no description here.

RecommendationsPhantom overflow is possible here, i.e. a situation when the final calculation result would fit into the destination type, while certain intermediary calcula...Fixed

The report gives no description here.

RecommendationsThe address in the comment is confusing.Fixed

The report gives no description here.

RecommendationsThe semantics of this function is unclear.Fixed

The report gives no description here.

Show 5 more
RecommendationsThis check makes the "outputToken" field redundant.  Fixed

The report gives no description here.

RecommendationsThis constructor is redundant, as it contains no logic.Fixed

The report gives no description here.

RecommendationsThis error could be made more useful by adding certain parameters into it.  Fixed

The report gives no description here.

RecommendationsThis error could be made more useful by including the original error into it.  Fixed

The report gives no description here.

RecommendationsThis function looks like it has to be implemented in inherited contracts, however it has an empty body, so Compiler won't require this function to be overrid...Fixed

The report gives no description here.

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.

Part of TermMax’s security record

TermMax
Audits2 audits by 1 firmLast audit Dec 2025, by ABDK Consulting.
Critical findingsNo open critical findingsAcross the 2 reports, 1 critical finding was reported. It is marked fixed by the firm that reported it.
Open TermMax’s security record

Security firm

ABDK Consulting

34 projects reviewed · 73 reports · latest Jun 2026

See ABDK Consulting’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