pragma solidity ^0.5.11;
import "./SafeMath.sol";
contract AccountFrozenBalances {
using SafeMath for uint256;
mapping (address => uint256) private frozen_balances;
function _frozen_add(address _account, uint256 _amount) internal returns (bool) {
frozen_balances[_account] = frozen_balances[_account].add(_amount);
return true;
}
function _frozen_sub(address _account, uint256 _amount) internal returns (bool) {
frozen_balances[_account] = frozen_balances[_account].sub(_amount);
return true;
}
function _frozen_balanceOf(address _account) internal view returns (uint) {
return frozen_balances[_account];
}
}
pragma solidity ^0.5.11;
import "./Whitelisted.sol";
contract Burnable {
bool private _burnallow;
address private _burner;
address public pendingBurner;
modifier whenBurn() {
require(_burnallow, "burnable: can't burn");
_;
}
modifier onlyBurner() {
require(msg.sender == _burner, "caller is not a burner");
_;
}
modifier onlyPendingBurner() {
require(msg.sender == pendingBurner);
_;
}
event BurnerTransferred(address indexed previousBurner, address indexed newBurner);
constructor () internal {
_burnallow = true;
_burner = msg.sender;
}
function burnallow() public view returns (bool) {
return _burnallow;
}
function burner() public view returns (address) {
return _burner;
}
function burnTrigger() public onlyBurner {
_burnallow = !_burnallow;
}
function transferWhitelistAdmin(address newBurner) public onlyBurner {
pendingBurner = newBurner;
}
function claimBurner() public onlyPendingBurner {
emit BurnerTransferred(_burner, pendingBurner);
_burner = pendingBurner;
pendingBurner = address(0);
}
}
pragma solidity ^0.5.11;
import "./Burnable.sol";
contract Meltable {
mapping (address => bool) private _melters;
address private _melteradmin;
address public pendingMelterAdmin;
modifier onlyMelterAdmin() {
require (msg.sender == _melteradmin, "caller not a melter admin");
_;
}
modifier onlyMelter() {
require (_melters[msg.sender] == true, "can't perform melt");
_;
}
modifier onlyPendingMelterAdmin() {
require(msg.sender == pendingMelterAdmin);
_;
}
event MelterTransferred(address indexed previousMelter, address indexed newMelter);
constructor () internal {
_melteradmin = msg.sender;
_melters[msg.sender] = true;
}
function melteradmin() public view returns (address) {
return _melteradmin;
}
function addToMelters(address account) public onlyMelterAdmin {
_melters[account] = true;
}
function removeFromMelters(address account) public onlyMelterAdmin {
_melters[account] = false;
}
function transferMelterAdmin(address newMelter) public onlyMelterAdmin {
pendingMelterAdmin = newMelter;
}
function claimMelterAdmin() public onlyPendingMelterAdmin {
emit MelterTransferred(_melteradmin, pendingMelterAdmin);
_melteradmin = pendingMelterAdmin;
pendingMelterAdmin = address(0);
}
}
pragma solidity ^0.5.11;
import "./Meltable.sol";
contract Mintable {
mapping (address => bool) private _minters;
address private _minteradmin;
address public pendingMinterAdmin;
modifier onlyMinterAdmin() {
require (msg.sender == _minteradmin, "caller not a minter admin");
_;
}
modifier onlyMinter() {
require (_minters[msg.sender] == true, "can't perform mint");
_;
}
modifier onlyPendingMinterAdmin() {
require(msg.sender == pendingMinterAdmin);
_;
}
event MinterTransferred(address indexed previousMinter, address indexed newMinter);
constructor () internal {
_minteradmin = msg.sender;
_minters[msg.sender] = true;
}
function minteradmin() public view returns (address) {
return _minteradmin;
}
function addToMinters(address account) public onlyMinterAdmin {
_minters[account] = true;
}
function removeFromMinters(address account) public onlyMinterAdmin {
_minters[account] = false;
}
function transferMinterAdmin(address newMinter) public onlyMinterAdmin {
pendingMinterAdmin = newMinter;
}
function claimMinterAdmin() public onlyPendingMinterAdmin {
emit MinterTransferred(_minteradmin, pendingMinterAdmin);
_minteradmin = pendingMinterAdmin;
pendingMinterAdmin = address(0);
}
}
pragma solidity ^0.5.11;
import "./AccountFrozenBalances.sol";
contract Ownable {
address private _owner;
address public pendingOwner;
modifier onlyOwner() {
require(msg.sender == _owner, "caller is not the owner");
_;
}
modifier onlyPendingOwner() {
require(msg.sender == pendingOwner);
_;
}
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () internal {
_owner = msg.sender;
}
function owner() public view returns (address) {
return _owner;
}
function transferOwnership(address newOwner) public onlyOwner {
pendingOwner = newOwner;
}
function claimOwnership() public onlyPendingOwner {
emit OwnershipTransferred(_owner, pendingOwner);
_owner = pendingOwner;
pendingOwner = address(0);
}
}
pragma solidity ^0.5.11;
import "./Mintable.sol";
contract Pausable {
bool private _paused;
address private _pauser;
address public pendingPauser;
modifier onlyPauser() {
require(msg.sender == _pauser, "caller is not a pauser");
_;
}
modifier onlyPendingPauser() {
require(msg.sender == pendingPauser);
_;
}
event PauserTransferred(address indexed previousPauser, address indexed newPauser);
constructor () internal {
_paused = false;
_pauser = msg.sender;
}
function paused() public view returns (bool) {
return _paused;
}
function pauser() public view returns (address) {
return _pauser;
}
function pauseTrigger() public onlyPauser {
_paused = !_paused;
}
function transferPauser(address newPauser) public onlyPauser {
pendingPauser = newPauser;
}
function claimPauser() public onlyPendingPauser {
emit PauserTransferred(_pauser, pendingPauser);
_pauser = pendingPauser;
pendingPauser = address(0);
}
}
pragma solidity ^0.5.11;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath: subtraction overflow");
uint256 c = a - b;
return c;
}
}
pragma solidity ^0.5.11;
import "./Pausable.sol";
contract TokenRecipient {
function receiveApproval(address _from, uint256 _value, address _token, bytes memory _extraData) public;
}
pragma solidity ^0.5.11;
import "./Ownable.sol";
contract Whitelisted {
address private _whitelistadmin;
address public pendingWhiteListAdmin;
mapping (address => bool) private _whitelisted;
modifier onlyWhitelistAdmin() {
require(msg.sender == _whitelistadmin, "caller is not admin of whitelist");
_;
}
modifier onlyPendingWhitelistAdmin() {
require(msg.sender == pendingWhiteListAdmin);
_;
}
event WhitelistAdminTransferred(address indexed previousAdmin, address indexed newAdmin);
constructor () internal {
_whitelistadmin = msg.sender;
_whitelisted[msg.sender] = true;
}
function whitelistadmin() public view returns (address){
return _whitelistadmin;
}
function addWhitelisted(address account) public onlyWhitelistAdmin {
_whitelisted[account] = true;
}
function removeWhitelisted(address account) public onlyWhitelistAdmin {
_whitelisted[account] = false;
}
function isWhitelisted(address account) public view returns (bool) {
return _whitelisted[account];
}
function transferWhitelistAdmin(address newAdmin) public onlyWhitelistAdmin {
pendingWhiteListAdmin = newAdmin;
}
function claimWhitelistAdmin() public onlyPendingWhitelistAdmin {
emit WhitelistAdminTransferred(_whitelistadmin, pendingWhiteListAdmin);
_whitelistadmin = pendingWhiteListAdmin;
pendingWhiteListAdmin = address(0);
}
}
pragma solidity ^0.5.11;
import "./TokenRecipient.sol";
contract thopi_token is AccountFrozenBalances, Ownable, Whitelisted, Burnable, Pausable, Mintable, Meltable {
using SafeMath for uint256;
string public name;
string public symbol;
uint8 public decimals;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
modifier canTransfer() {
if(paused()){
require (isWhitelisted(msg.sender) == true, "can't perform an action");
}
_;
}
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
event Freeze(address indexed from, uint256 amount);
event Melt(address indexed from, uint256 amount);
event MintFrozen(address indexed to, uint256 amount);
event FrozenTransfer(address indexed from, address indexed to, uint256 value);
constructor (string memory _name, string memory _symbol, uint8 _decimals) public {
name = _name;
symbol = _symbol;
decimals = _decimals;
mint(msg.sender, 100);
}
function totalSupply() public view returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view returns (uint256) {
return _balances[account].add(_frozen_balanceOf(account));
}
function transfer(address recipient, uint256 amount) public canTransfer returns (bool) {
require(recipient != address(this), "can't transfer tokens to the contract address");
_transfer(msg.sender, recipient, amount);
return true;
}
function allowance(address _owner, address spender) public view returns (uint256) {
return _allowances[_owner][spender];
}
function approve(address spender, uint256 value) public returns (bool) {
_approve(msg.sender, spender, value);
return true;
}
/* Approve and then communicate the approved contract in a single tx */
function approveAndCall(address _spender, uint256 _value, bytes memory _extraData) public returns (bool) {
TokenRecipient spender = TokenRecipient(_spender);
if (approve(_spender, _value)) {
spender.receiveApproval(msg.sender, _value, address(this), _extraData);
return true;
} else {
return false;
}
}
function transferFrom(address sender, address recipient, uint256 amount) public canTransfer returns (bool) {
require(recipient != address(this), "can't transfer tokens to the contract address");
_transfer(sender, recipient, amount);
_approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount));
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
_approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
_approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue));
return true;
}
function mint(address account, uint256 amount) public onlyMinter returns (bool) {
_mint(account, amount);
return true;
}
function burn(uint256 amount) public whenBurn {
_burn(msg.sender, amount);
}
function burnFrom(address account, uint256 amount) public whenBurn {
_burnFrom(account, amount);
}
function destroy(address account, uint256 amount) public onlyOwner {
_burn(account, amount);
}
function destroyFrozen(address account, uint256 amount) public onlyOwner {
_burnFrozen(account, amount);
}
function mintBatchToken(address[] calldata accounts, uint256[] calldata amounts) external onlyMinter returns (bool) {
require(accounts.length > 0, "mintBatchToken: transfer should be to at least one address");
require(accounts.length == amounts.length, "mintBatchToken: recipients.length != amounts.length");
for (uint256 i = 0; i < accounts.length; i++) {
_mint(accounts[i], amounts[i]);
}
return true;
}
function transferFrozenToken(address from, address to, uint256 amount) public onlyOwner returns (bool) {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_frozen_sub(from, amount);
_frozen_add(to, amount);
emit FrozenTransfer(from, to, amount);
emit Transfer(from, to, amount);
return true;
}
function freezeTokens(address account, uint256 amount) public onlyOwner returns (bool) {
_freeze(account, amount);
emit Transfer(account, address(this), amount);
return true;
}
function meltTokens(address account, uint256 amount) public onlyMelter returns (bool) {
_melt(account, amount);
emit Transfer(address(this), account, amount);
return true;
}
function mintFrozenTokens(address account, uint256 amount) public onlyMinter returns (bool) {
_mintfrozen(account, amount);
return true;
}
function mintBatchFrozenTokens(address[] calldata accounts, uint256[] calldata amounts) external onlyMinter returns (bool) {
require(accounts.length > 0, "mintBatchFrozenTokens: transfer should be to at least one address");
require(accounts.length == amounts.length, "mintBatchFrozenTokens: recipients.length != amounts.length");
for (uint256 i = 0; i < accounts.length; i++) {
_mintfrozen(accounts[i], amounts[i]);
}
return true;
}
function meltBatchTokens(address[] calldata accounts, uint256[] calldata amounts) external onlyMelter returns (bool) {
require(accounts.length > 0, "mintBatchFrozenTokens: transfer should be to at least one address");
require(accounts.length == amounts.length, "mintBatchFrozenTokens: recipients.length != amounts.length");
for (uint256 i = 0; i < accounts.length; i++) {
_melt(accounts[i], amounts[i]);
emit Transfer(address(this), accounts[i], amounts[i]);
}
return true;
}
function _transfer(address sender, address recipient, uint256 amount) internal {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_balances[sender] = _balances[sender].sub(amount);
_balances[recipient] = _balances[recipient].add(amount);
emit Transfer(sender, recipient, amount);
}
function _mint(address account, uint256 amount) internal {
require(account != address(0), "ERC20: mint to the zero address");
require(account != address(this), "ERC20: mint to the contract address");
require(amount > 0, "ERC20: mint amount should be > 0");
_totalSupply = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
emit Transfer(address(this), account, amount);
}
function _burn(address account, uint256 value) internal {
require(account != address(0), "ERC20: burn from the zero address");
_totalSupply = _totalSupply.sub(value);
_balances[account] = _balances[account].sub(value);
emit Transfer(account, address(this), value);
}
function _approve(address _owner, address spender, uint256 value) internal {
require(_owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[_owner][spender] = value;
emit Approval(_owner, spender, value);
}
function _burnFrom(address account, uint256 amount) internal {
_burn(account, amount);
_approve(account, msg.sender, _allowances[account][msg.sender].sub(amount));
}
function _freeze(address account, uint256 amount) internal {
require(account != address(0), "ERC20: freeze from the zero address");
require(amount > 0, "ERC20: freeze from the address: amount should be > 0");
_balances[account] = _balances[account].sub(amount);
_frozen_add(account, amount);
emit Freeze(account, amount);
}
function _mintfrozen(address account, uint256 amount) internal {
require(account != address(0), "ERC20: mint frozen to the zero address");
require(account != address(this), "ERC20: mint frozen to the contract address");
require(amount > 0, "ERC20: mint frozen amount should be > 0");
_totalSupply = _totalSupply.add(amount);
emit Transfer(address(this), account, amount);
_frozen_add(account, amount);
emit MintFrozen(account, amount);
}
function _melt(address account, uint256 amount) internal {
require(account != address(0), "ERC20: melt from the zero address");
require(amount > 0, "ERC20: melt from the address: value should be > 0");
require(_frozen_balanceOf(account) >= amount, "ERC20: melt from the address: balance < amount");
_frozen_sub(account, amount);
_balances[account] = _balances[account].add(amount);
emit Melt(account, amount);
}
function _burnFrozen(address account, uint256 amount) internal {
require(account != address(0), "ERC20: frozen burn from the zero address");
_totalSupply = _totalSupply.sub(amount);
_frozen_sub(account, amount);
emit Transfer(account, address(this), amount);
}
}
{
"compilationTarget": {
"thopi.sol": "thopi_token"
},
"evmVersion": "petersburg",
"libraries": {},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
}
[{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minteradmin","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pauseTrigger","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"meltTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"burnallow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addWhitelisted","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"destroyFrozen","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimMinterAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimMelterAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromMelters","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"burner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeWhitelisted","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"melteradmin","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"meltBatchTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimWhitelistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newPauser","type":"address"}],"name":"transferPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newMelter","type":"address"}],"name":"transferMelterAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatchToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatchFrozenTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"whitelistadmin","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromMinters","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pendingMelterAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newBurner","type":"address"}],"name":"transferWhitelistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingPauser","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pauser","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addToMinters","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"destroy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"freezeTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFrozenTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pendingMinterAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addToMelters","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimBurner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"transferMinterAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingWhiteListAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrozenToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"burnTrigger","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pendingBurner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Freeze","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Melt","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintFrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"FrozenTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousMelter","type":"address"},{"indexed":true,"internalType":"address","name":"newMelter","type":"address"}],"name":"MelterTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousMinter","type":"address"},{"indexed":true,"internalType":"address","name":"newMinter","type":"address"}],"name":"MinterTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousPauser","type":"address"},{"indexed":true,"internalType":"address","name":"newPauser","type":"address"}],"name":"PauserTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousBurner","type":"address"},{"indexed":true,"internalType":"address","name":"newBurner","type":"address"}],"name":"BurnerTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"}],"name":"WhitelistAdminTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]