...t use a different and incompatible version of Solidity:
* @soliditylabs/erc20-permit/contracts/ERC20Permit.sol (^0.7.0) imports @openzeppelin/contracts/token/ERC20/ERC20.sol (^0.8.0) and @openzeppelin/contracts/utils/Counters.sol (^0.8.0)
These files depend on other files that use a different ...
...le with OpenZeppelin Contracts ^5.0.0
pragma solidity ^0.8.22;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"...
你好!
我写了一个合约 是转erc20_usdt的,现在用remix_javascript vm调用 approveofUsdt 来授权。授权完了,再执行我合约写的转账方法pledgeUsdt,无法把代币转走。报错:The called function should be payable if you send value and the value you send should b...