Closed code423n4 closed 2 years ago
gzeon
Use external keyword instead of public for some functions that are not used internally.
For example, the deposit function in PoolTemplate was never used internally. https://github.com/code-423n4/2022-01-insure/blob/19d1a7819fe7ce795e6d4814e7ddf8b8e1323df3/contracts/PoolTemplate.sol#L232
https://github.com/code-423n4/2022-01-insure-findings/issues/7
dupe of #7
Handle
gzeon
Vulnerability details
Impact
Use external keyword instead of public for some functions that are not used internally.
Proof of Concept
For example, the deposit function in PoolTemplate was never used internally. https://github.com/code-423n4/2022-01-insure/blob/19d1a7819fe7ce795e6d4814e7ddf8b8e1323df3/contracts/PoolTemplate.sol#L232