Skip to content

Instantly share code, notes, and snippets.

Created May 16, 2018
What would you like to do?
pragma solidity ^0.4.13;
import "./stop.sol";
import "./TokenTransferGuard.sol";
contract FrozenGuard is DSStop, TokenTransferGuard {
address public tokenAddress;
function FrozenGuard(address _tokenAddress) public {
tokenAddress = _tokenAddress;
function onTokenTransfer(address _from, address _to, uint _amount) public returns (bool)
if (_to == tokenAddress)
return false;
return true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment