Missing Implementation of Permit Function in Contract
Summary
The contract is calling the permit function from the IJalaPair interface, but the actual implementation of the permit function is missing in the contract. This could lead to runtime errors when the function is called, as the contract does not contain the necessary code to handle the permit functionality.
Vulnerability Detail
The contract calls the permit function from the IJalaPair interface, assuming that it is implemented somewhere in the codebase. However, the actual implementation of the permit function is missing in the contract. This could lead to runtime errors or unexpected behavior when the permit function is called, as the contract does not contain the necessary logic to execute the permit functionality.
Impact
it could lead to runtime errors or unexpected behavior in the contract execution. This could potentially disrupt the intended functionality of the contract and lead to issues such as failed transactions or loss of funds.
recursiveEth
medium
Missing Implementation of Permit Function in Contract
Summary
The contract is calling the permit function from the IJalaPair interface, but the actual implementation of the permit function is missing in the contract. This could lead to runtime errors when the function is called, as the contract does not contain the necessary code to handle the permit functionality.
Vulnerability Detail
The contract calls the permit function from the IJalaPair interface, assuming that it is implemented somewhere in the codebase. However, the actual implementation of the permit function is missing in the contract. This could lead to runtime errors or unexpected behavior when the permit function is called, as the contract does not contain the necessary logic to execute the permit functionality.
Impact
it could lead to runtime errors or unexpected behavior in the contract execution. This could potentially disrupt the intended functionality of the contract and lead to issues such as failed transactions or loss of funds.
Code Snippet
https://github.com/sherlock-audit/2024-02-jala-swap/blob/main/jalaswap-dex-contract/contracts/JalaRouter02.sol#L165
Tool used
Manual Review
Recommendation
implement the permit() logic in jalaPairERC20 contract
Duplicate of #40