Hey Everyone.
I developed my first smart contract. I deployed successfully onto Testnet. I have created a liquidity pool on Shushiswap testnet (Ropsten) I'm interacting with the pool fine. Although the first time I pulled ETH out of the liquidity pool Shushi asked me to add WETH to metamask. I did so, but I noticed my WETH balance was zero but my ETH balance went up to the correct amount. When I checked the ledger all transactions coming from Shushi are in WETH. Is this normal ? It seems that they are giving me WETH but it's automatically converting to ETH.
Here's a link to the tx
https://ropsten.etherscan.io/tx/0x6bda202103d06c4f9cb1b8a00720f6158fd786bcdc63ead7a2ed19862228522d
Here is my Smart contract
// contracts/Test.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/ownable.sol";
contract Test is ERC20, Ownable {
constructor() ERC20("Testcoin", "TST") {
_mint(msg.sender, 100000000000 * 10 ** 18);
}
function burn(uint256 amount) external {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_burn(msg.sender, amount);
}
}