You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hii i have created the liquidty pool on the remix ide on the ploygon chain for the two tokens namely dogelon and dogeverse as i have these both tokens in my metamusk wallet i directly trnasferred them into the liquidty pool smart contract that i have created and the pool contract has many functions such as swapping , both coin reserves , thier addresses , confirm liquidty. when i transferred both the coins from my metamusk wallet to the pool address the and clicked the confirm liquidty the liquidty was added successfully but when i was clicked on the swap function there it shows the error of insufficeint dogelon coin i tried again added liquidty agian still the issue persists after that i added the approve function i successfully approved the tokens and agian tried still the same issue of insufficent doge eoln persisted.Every thing is correct still i am getting that error.
Here is my code snippet or code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
Hii i have created the liquidty pool on the remix ide on the ploygon chain for the two tokens namely dogelon and dogeverse as i have these both tokens in my metamusk wallet i directly trnasferred them into the liquidty pool smart contract that i have created and the pool contract has many functions such as swapping , both coin reserves , thier addresses , confirm liquidty. when i transferred both the coins from my metamusk wallet to the pool address the and clicked the confirm liquidty the liquidty was added successfully but when i was clicked on the swap function there it shows the error of insufficeint dogelon coin i tried again added liquidty agian still the issue persists after that i added the approve function i successfully approved the tokens and agian tried still the same issue of insufficent doge eoln persisted.Every thing is correct still i am getting that error.
Here is my code snippet or code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract LiquidityPool {
IERC20 public dogeElon; // Doge Elon token interface
IERC20 public dogeVerse; // Doge Verse token interface
}
The text was updated successfully, but these errors were encountered: