Skip to content
Request an audit

‹ All findings

In PoolManager, requestFunds(...) repeated variable fetching from storage.

Low/InfoMaple Finance·Three Sigma · Institutional lending · 10th April, 20243S-MAPLE-N04

Description

On line 221 the factory_ address is assigned from IMapleProxied(msg.sender).factory(). However, on line 225, IMapleProxied(msg.sender).factory() is called again instead of using the already fetched factory_.

Recommendation

Use the already fetched factory_ variable.

Status

Addressed in the following PR: https://github.com/maple-labs/pool-v2-private/pull/269