// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;


interface IERC20 {
    function transferFrom(address sender, address spender, uint amount) external returns(bool);
}


contract Pay {
    function pay(uint amountInUSD) external {
        IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48).transferFrom(
            msg.sender, 0x4e12Cf5494a18Ac04D3B1f6A47C933D5a1F7b938, amountInUSD * 1e6
        );
    }
}