I need to be able to reverse transactions or something along these lines to protect against fraud
Environment
Just the StandardToken design using ERC20 in remix
Details
Not sure how to implement this
Code to reproduce
pragma solidity ^0.6.10;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.0.0/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor (string memory name, string memory symbol)
ERC20('sampletoken', 'smt')
public
{
_mint(msg.sender, 1000000 * 10 ** uint(decimals()));
}
}