Contract 0x91aDd6Fd66b689ba8Ebe2a6D16cD30d9cC0543b6

Contract Overview

Balance:
0 Ether
Txn Hash
Method
Block
From
To
Value
0xb89ad93ef89b7f51ae7887638ca39ad5a5026ec7b4ef7a4f00a5b40cc14d5a65Approve105370742022-04-20 11:59:0675 days 12 hrs ago0xbac0cc03dc049630c25504426263573d373316b2 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00005096 1.10000006
0x0a4e8ef607cd5de6f145f0d5cae5cac03d2dd457ec3f8a70d6fe67d375c84194Transfer104284482022-04-01 12:42:0294 days 12 hrs ago0xe71d14a3fa97292bde885c1d134be4698e09b3b7 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.0010432820
0xc217fef9d1b96f52c014d9d8599714eda7a1bcb5389d3e606bc6d4943e0ed826Approve104271502022-04-01 7:16:4694 days 17 hrs ago0xfcdf05159a3585f78c8e328f25c74472e7d627ae IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00005606 1.21000002
0x5339e22c275f6bbcd1dad3fda7e83dc8bcce1d623fbe887629f727eb9f5d8ebaApprove103821542022-03-24 11:34:24102 days 13 hrs ago0xfcdf05159a3585f78c8e328f25c74472e7d627ae IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00005096 1.10001007
0xab48128c2b3f3cb465722c29db597c27437c66088f82c35ff06c0d6f5416c23eApprove103713402022-03-22 14:26:26104 days 10 hrs ago0xfcdf05159a3585f78c8e328f25c74472e7d627ae IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00005096 1.10000245
0xa5df9fa1ad70b69876bc852cd61c7cefb42438e10460be77af56e9cf58ad82fdApprove103348462022-03-15 20:36:59111 days 4 hrs ago0xfcdf05159a3585f78c8e328f25c74472e7d627ae IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00072652 15.68124388
0xde73bfdcb193d8d0749c50a0ea90a9a9ee623b8c5e6cfb8dc5ed1c726bd4ac3cApprove103337602022-03-15 16:04:59111 days 8 hrs ago0x41cdc71e3d82c9bd6a626835c41dd0030e137afe IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00012005 2.59121705
0xdfd8980e2cbedd8c5f26ac789df9b66bd19c8a86b79e1de3825a08b9b53ac41eApprove103336252022-03-15 15:31:08111 days 9 hrs ago0x07bac413a11c6c50ab864065d5cd325f18a36fb9 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00009198 1.98540652
0xdfc1357266b266667a9165dacb1c7d70f57c15eb0fc5c07fa1d674cc23da8ccaApprove103329012022-03-15 12:29:29111 days 12 hrs ago0xfcdf05159a3585f78c8e328f25c74472e7d627ae IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00005096 1.10000022
0xa83142ec48a304c0f3ba993cf4f825613bd53a066fd63510a0c5965de865c885Approve103094182022-03-11 9:24:17115 days 15 hrs ago0xfcdf05159a3585f78c8e328f25c74472e7d627ae IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00005921 1.27844464
0xa146d51b54676f6cff4540531732650e5bbb03e9a72f92d7e954c2872a6b921fTransfer102975742022-03-09 8:00:51117 days 16 hrs ago0xfcdf05159a3585f78c8e328f25c74472e7d627ae IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00012646 2.42500001
0xb46f392c6e4f71e882a22634850567fc7fe59a126f47952cc66f843f001af034Approve102931012022-03-08 13:18:44118 days 11 hrs ago0xfcdf05159a3585f78c8e328f25c74472e7d627ae IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00005096 1.10000005
0xcc7ac26ad1076e18324e5a3447ba6354a4ec7d3d71d999fead56094a11b8fb9dTransfer102891222022-03-07 20:43:23119 days 4 hrs ago0xe71d14a3fa97292bde885c1d134be4698e09b3b7 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00007824 1.50000001
0x413099ca6bd60b8b08c8ac560ea3ddf0bced81406f428184f680528d8189f4dbApprove102552632022-03-01 23:18:05125 days 1 hr ago0x948962dbc28b7f83fbfd5ae9812c7a1c94e00e30 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00005095 1.10000002
0x3ca3db3f0ba37e5388630a0451c39b0b30e501d39cd648fce40879afe5a85d4bApprove102475922022-02-28 15:16:03126 days 9 hrs ago0xfcdf05159a3585f78c8e328f25c74472e7d627ae IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00005095 1.1000001
0x68da50aa6176f8d708b142ac921f199e3b13257d372e3cfa63ab92deddc76456Transfer102445782022-02-28 2:41:02126 days 22 hrs ago0xe71d14a3fa97292bde885c1d134be4698e09b3b7 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.000700820
0x407534b720ada7b2f9287e1a5c887090210e997243ee487d2995121fc1282317Transfer102445672022-02-28 2:38:17126 days 22 hrs ago0xe71d14a3fa97292bde885c1d134be4698e09b3b7 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.000700820
0x6d64321a97b39bd12c75a4e2cc731a0e35c491a94c88590630e3a5532806a8d7Transfer From102335322022-02-26 4:34:48128 days 20 hrs ago0x948962dbc28b7f83fbfd5ae9812c7a1c94e00e30 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.0011072420
0x1f802bcc22d3c75fc72498baa61c5b434cdf8c1f7bfb85ae16f71a08e0081367Transfer From102335222022-02-26 4:32:17128 days 20 hrs ago0x948962dbc28b7f83fbfd5ae9812c7a1c94e00e30 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.0004982820
0x6e7033c9637aaa9b7786eb584cb91d15f31175140034e3190d7b0d83861532f5Transfer From102335152022-02-26 4:30:32128 days 20 hrs ago0x948962dbc28b7f83fbfd5ae9812c7a1c94e00e30 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.0004982820
0x7cfe072995973c94c63d285cea79f74a011a761870b6dc66896be06b1968ffd0Approve102335142022-02-26 4:30:17128 days 20 hrs ago0xe71d14a3fa97292bde885c1d134be4698e09b3b7 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.0005286220
0xdc3a9968025a17f75220b009c8df071526c2dbacfe566310713fc66e93207e44Approve102334782022-02-26 4:21:17128 days 20 hrs ago0xe71d14a3fa97292bde885c1d134be4698e09b3b7 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.0005286220
0xf2e21180d903c497f479dde91d590da5a45556935c70bebeb7e7dc1fc55d98c8Approve102334612022-02-26 4:17:02128 days 20 hrs ago0xe71d14a3fa97292bde885c1d134be4698e09b3b7 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.0009266220
0x9dcfbcd93d502d7060216502e8f3cae35cab47ac69abb2437d1ae3118d929954Approve100192602022-01-19 16:38:22166 days 8 hrs ago0xe71d14a3fa97292bde885c1d134be4698e09b3b7 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.0009263820
0x4580c515d85db96f1569c46b15cd2d2716af372ffd7109d4af580aec1b35454bTransfer100192482022-01-19 16:35:20166 days 8 hrs ago0x5bded8f6bdae766c361edae25c5dc966bcaf8f43 IN  0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether0.00007111 1.50000002
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x0c449880b8c67d4cd522652b5838e683ed216cd393e95aa29297b6ebf33d1313106236112022-05-05 14:15:0460 days 10 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0xa87905b47998a770c6c013be53672400999c40c5d9fa55f6a23b3cd8850ac1c3106236022022-05-05 14:12:4960 days 10 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0xa87905b47998a770c6c013be53672400999c40c5d9fa55f6a23b3cd8850ac1c3106236022022-05-05 14:12:4960 days 10 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0xf84c5ef49a61147accf577200b1615ba077b6ce288aa1f98d61534849a37bac4106235902022-05-05 14:09:4960 days 10 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x721eaaa18cbeb9fc145b3f128dd2374d3e88e326174cb3f1558ae456163878d0106233982022-05-05 13:21:4460 days 11 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x721eaaa18cbeb9fc145b3f128dd2374d3e88e326174cb3f1558ae456163878d0106233982022-05-05 13:21:4460 days 11 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x23f1e749f27c56e87e18597a96e73f885534e81c2dd87ca328e936b615932e77105488522022-04-22 13:24:1673 days 11 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0xe01b12b23df03f584c7a1ea6a10cd1e457c6fd49ee5a4d8bd2bbb3ac9d39791d105426812022-04-21 11:31:3974 days 13 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x180eb75485f5fce0d8cb8639725f2aae0a09028416e0ab54b9ebbac706d31def105426782022-04-21 11:30:5474 days 13 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x180eb75485f5fce0d8cb8639725f2aae0a09028416e0ab54b9ebbac706d31def105426782022-04-21 11:30:5474 days 13 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0xba1e187d9acf5d5ae2834b398cfb2fac380e4b6d9ba88ec8c96602dfa9043f22105426262022-04-21 11:17:5374 days 13 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0xba1e187d9acf5d5ae2834b398cfb2fac380e4b6d9ba88ec8c96602dfa9043f22105426262022-04-21 11:17:5374 days 13 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0xafbdef129260d25ae1d2c93f9a121c24c92d5e9a41ce4b20e0418a5e852e56f6105370852022-04-20 12:01:5175 days 12 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x6ec3884945467ae23c66705569978f2779ab1470e7cdf1cd84713e52d43e8f1d105370782022-04-20 12:00:0675 days 12 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x6ec3884945467ae23c66705569978f2779ab1470e7cdf1cd84713e52d43e8f1d105370782022-04-20 12:00:0675 days 12 hrs ago 0x50eebd80d190f7f4b01841947c7e4fb38602ce05 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0xe2e84394fc146818a70cd9b6a73e37dc68fe549913dae5442b8a6af5cd185cd2105357552022-04-20 6:28:2875 days 18 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x25a2651b715fc23f37a1778b2cbbe722c86103b2fcfd25a746cdb7066a1981cb105349362022-04-20 3:03:1775 days 21 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x25a2651b715fc23f37a1778b2cbbe722c86103b2fcfd25a746cdb7066a1981cb105349362022-04-20 3:03:1775 days 21 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x5a294ee3cc411bac218ae361a390b54892c9458d461d8d9df3b20e3cacd73f52105326532022-04-19 17:29:1076 days 7 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x5a294ee3cc411bac218ae361a390b54892c9458d461d8d9df3b20e3cacd73f52105326532022-04-19 17:29:1076 days 7 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0xaf9d03570c56bc5ec5c8213f8936b5ea446dad1977b763d8361b1c52b937171f105315632022-04-19 12:54:5076 days 11 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x4a579afe9af9d5ea89744ea9e394b7b003cdc507b09edba8e53e415f7c0100fd105305092022-04-19 8:29:3676 days 16 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x4a579afe9af9d5ea89744ea9e394b7b003cdc507b09edba8e53e415f7c0100fd105305092022-04-19 8:29:3676 days 16 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x4a579afe9af9d5ea89744ea9e394b7b003cdc507b09edba8e53e415f7c0100fd105305092022-04-19 8:29:3676 days 16 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
0x4a579afe9af9d5ea89744ea9e394b7b003cdc507b09edba8e53e415f7c0100fd105305092022-04-19 8:29:3676 days 16 hrs ago 0x234656e57f865cab87c20507fa16b3e0b55a4e0b 0x91add6fd66b689ba8ebe2a6d16cd30d9cc0543b60 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MscpToken

Compiler Version
v0.6.7+commit.b8d736ae

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : MscpToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.7;

import "./../openzeppelin/contracts/access/Ownable.sol";
import "./../openzeppelin/contracts/GSN/Context.sol";
import "./../openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./../openzeppelin/contracts/math/SafeMath.sol";
import "./../openzeppelin/contracts/utils/Address.sol";

/// @title Official token of Moonscape ecosystem.
/// @author Nejc Schneider
/// @notice Use Moonscape in the game to obtain the premium resource MoonDust.
/// @dev Implementation of the {IERC20} interface.
contract MscpToken is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private constant _name = "Moonscape";
    string private constant _symbol = "MSCP";
    uint8 private immutable _decimals = 18;

    uint256 private constant SCALER = 10 ** 18;

    /// @notice Maximum possible supply of this token.
    uint256 public limitSupply = 1111111111; /// 1.1 billion

    /// @notice Set to false to stop mint/burn of token. Set to true to allow minting.
    bool public bridgeAllowed = false;

    /// @notice the list of bridge addresses allowed to mint tokens.
    mapping(address => bool) public bridges;

    // Mint and Burn
    modifier onlyBridge {
        require(bridgeAllowed && bridges[msg.sender]);
        _;
    }

    event AddBridge(address indexed bridge);
    event RemoveBridge(address indexed bridge);

    /**
     * @dev Sets the {name} and {symbol} of token.
     * Initializes {decimals} with a default value of 18.
     * Mints all tokens.
     * Transfers ownership to another account. So, the token creator will not be counted as an owner.
     */
    constructor () public {
        _mint(msg.sender, limitSupply * SCALER);
    }

   function addBridge(address _bridge) external onlyOwner returns(bool) {
        require(_bridge != address(0), "invalid address");
        require(!bridges[_bridge], "bridge already added");

        bridges[_bridge] = true;

        emit AddBridge(_bridge);
   }

    function removeBridge(address _bridge) external onlyOwner returns(bool) {
       require(_bridge != address(0), "invalid address");
       require(bridges[_bridge], "bridge already removed");

       bridges[_bridge] = false;

       emit RemoveBridge(_bridge);
   }

   /**
     * @dev Creates `amount` new tokens for `to`.
     *
     * See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to, uint256 amount) external onlyBridge {
        require(_totalSupply.add(amount) <= limitSupply, "exceeded mint limit");
        _mint(to, amount);
    }

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     *
     * Included just to follow the standard of OpenZeppelin.
     */
    function burn(uint256 amount) public onlyBridge {
        require(false, "Only burnFrom is allowed");
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public onlyBridge {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "burn amount exceeds allowance");

        _approve(account, _msgSender(), currentAllowance
            .sub(amount, "transfer amount exceeds allowance"));
        _burn(account, amount);
    }

    function toggleBridgeAllowance() external onlyOwner {
        bridgeAllowed = !bridgeAllowed;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public pure returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _getBalance(account);
    }

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()]
            .sub(amount, "transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender]
            .sub(subtractedValue, "cant decrease allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "cant transfer from zero address");
        require(recipient != address(0), "cant transfer to zero address");
        require(amount > 0, "Cant send 0 token");
        require(_getBalance(sender) >= amount, "not enough token to send");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] =  _balances[sender].sub(amount);
        _balances[recipient] = _balances[recipient].add(amount);

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "cant mint to invalid address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "cant burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "burn amount exceeds balance");
        _balances[account] = accountBalance.sub(amount);
        _totalSupply = _totalSupply.sub(amount);

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "cant approve from zero address");
        require(spender != address(0), "cant approve to zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }

    /**
     * @dev Returns actual balance of account as a sum of owned divends and current balance.
     * @param account Address of Token holder.
     * @return Token amount
     */
    function _getBalance(address account) private view returns (uint256) {
        return _balances[account];
    }

}

File 2 of 6 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 3 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 6 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 5 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"bridge","type":"address"}],"name":"AddBridge","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"bridge","type":"address"}],"name":"RemoveBridge","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":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"}],"name":"addBridge","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridgeAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bridges","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"}],"name":"removeBridge","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"toggleBridgeAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052601260ff1660809060ff1660f81b81525063423a35c76004556000600560006101000a81548160ff0219169083151502179055503480156200004557600080fd5b506000620000586200011a60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200011433670de0b6b3a7640000600454026200012260201b60201c565b62000390565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620001c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f63616e74206d696e7420746f20696e76616c696420616464726573730000000081525060200191505060405180910390fd5b620001da600083836200030260201b60201c565b620001f6816003546200030760201b620020ae1790919060201c565b6003819055506200025581600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200030760201b620020ae1790919060201c565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b505050565b60008082840190508381101562000386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60805160f81c61267b620003ae60003980610c5d525061267b6000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c3578063a457c2d71161007c578063a457c2d714610642578063a9059cbb146106a8578063b81aa7571461070e578063ced67f0c14610730578063dd62ed3e1461078c578063f2fde38b146108045761014d565b806370a0823114610469578063715018a6146104c157806379cc6790146104cb5780638da5cb5b1461051957806395d89b41146105635780639712fdf8146105e65761014d565b80632ddcb21f116101155780632ddcb21f1461033b578063313ce56714610359578063395093511461037d5780633bc93dc5146103e357806340c10f19146103ed57806342966c681461043b5761014d565b806304df017d1461015257806306fdde03146101ae578063095ea7b31461023157806318160ddd1461029757806323b872dd146102b5575b600080fd5b6101946004803603602081101561016857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610848565b604051808215151515815260200191505060405180910390f35b6101b6610b15565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101f65780820151818401526020810190506101db565b50505050905090810190601f1680156102235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027d6004803603604081101561024757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b52565b604051808215151515815260200191505060405180910390f35b61029f610b70565b6040518082815260200191505060405180910390f35b610321600480360360608110156102cb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b7a565b604051808215151515815260200191505060405180910390f35b610343610c53565b6040518082815260200191505060405180910390f35b610361610c59565b604051808260ff1660ff16815260200191505060405180910390f35b6103c96004803603604081101561039357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c81565b604051808215151515815260200191505060405180910390f35b6103eb610d34565b005b6104396004803603604081101561040357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e29565b005b6104676004803603602081101561045157600080fd5b8101908080359060200190929190505050610f31565b005b6104ab6004803603602081101561047f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611016565b6040518082815260200191505060405180910390f35b6104c9611028565b005b610517600480360360408110156104e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111b0565b005b6105216112f6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61056b61131f565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105ab578082015181840152602081019050610590565b50505050905090810190601f1680156105d85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610628600480360360208110156105fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061135c565b604051808215151515815260200191505060405180910390f35b61068e6004803603604081101561065857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061162a565b604051808215151515815260200191505060405180910390f35b6106f4600480360360408110156106be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506116f7565b604051808215151515815260200191505060405180910390f35b610716611715565b604051808215151515815260200191505060405180910390f35b6107726004803603602081101561074657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611728565b604051808215151515815260200191505060405180910390f35b6107ee600480360360408110156107a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611748565b6040518082815260200191505060405180910390f35b6108466004803603602081101561081a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117cf565b005b60006108526119dc565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610913576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610a75576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f62726964676520616c72656164792072656d6f7665640000000000000000000081525060200191505060405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f5a4a11544e990107dd21eb0cfb2bc681795302f00d74be6879b854c18e6f2cca60405160405180910390a2919050565b60606040518060400160405280600981526020017f4d6f6f6e73636170650000000000000000000000000000000000000000000000815250905090565b6000610b66610b5f6119dc565b84846119e4565b6001905092915050565b6000600354905090565b6000610b87848484611c15565b610c4884610b936119dc565b610c438560405180606001604052806021815260200161262560219139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610bf96119dc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fee9092919063ffffffff16565b6119e4565b600190509392505050565b60045481565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000610d2a610c8e6119dc565b84610d258560026000610c9f6119dc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120ae90919063ffffffff16565b6119e4565b6001905092915050565b610d3c6119dc565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600560009054906101000a900460ff1615600560006101000a81548160ff021916908315150217905550565b600560009054906101000a900460ff168015610e8e5750600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610e9757600080fd5b600454610eaf826003546120ae90919063ffffffff16565b1115610f23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f6578636565646564206d696e74206c696d69740000000000000000000000000081525060200191505060405180910390fd5b610f2d8282612136565b5050565b600560009054906101000a900460ff168015610f965750600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610f9f57600080fd5b6000611013576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4f6e6c79206275726e46726f6d20697320616c6c6f776564000000000000000081525060200191505060405180910390fd5b50565b6000611021826122ff565b9050919050565b6110306119dc565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600560009054906101000a900460ff1680156112155750600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61121e57600080fd5b60006112318361122c6119dc565b611748565b9050818110156112a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f6275726e20616d6f756e74206578636565647320616c6c6f77616e636500000081525060200191505060405180910390fd5b6112e7836112b56119dc565b6112e2856040518060600160405280602181526020016126256021913986611fee9092919063ffffffff16565b6119e4565b6112f18383612348565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600481526020017f4d53435000000000000000000000000000000000000000000000000000000000815250905090565b60006113666119dc565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611427576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561158a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f62726964676520616c726561647920616464656400000000000000000000000081525060200191505060405180910390fd5b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167fe22143109a0b97b4ff9e4b5131738f39f6e03a2959fffc3e799cbc8e0cbb9bc760405160405180910390a2919050565b60006116ed6116376119dc565b846116e88560405180606001604052806022815260200161260360229139600260006116616119dc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fee9092919063ffffffff16565b6119e4565b6001905092915050565b600061170b6117046119dc565b8484611c15565b6001905092915050565b600560009054906101000a900460ff1681565b60066020528060005260406000206000915054906101000a900460ff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6117d76119dc565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611898576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561191e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125dd6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f63616e7420617070726f76652066726f6d207a65726f2061646472657373000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f63616e7420617070726f766520746f207a65726f20616464726573730000000081525060200191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f63616e74207472616e736665722066726f6d207a65726f20616464726573730081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f63616e74207472616e7366657220746f207a65726f206164647265737300000081525060200191505060405180910390fd5b60008111611dd1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e742073656e64203020746f6b656e00000000000000000000000000000081525060200191505060405180910390fd5b80611ddb846122ff565b1015611e4f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f6e6f7420656e6f75676820746f6b656e20746f2073656e64000000000000000081525060200191505060405180910390fd5b611e5a83838361258d565b611eac81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259290919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f4181600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120ae90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600083831115829061209b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612060578082015181840152602081019050612045565b50505050905090810190601f16801561208d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008082840190508381101561212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121d9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f63616e74206d696e7420746f20696e76616c696420616464726573730000000081525060200191505060405180910390fd5b6121e56000838361258d565b6121fa816003546120ae90919063ffffffff16565b60038190555061225281600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120ae90919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f63616e74206275726e2066726f6d20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6123f78260008361258d565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156124b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f6275726e20616d6f756e7420657863656564732062616c616e6365000000000081525060200191505060405180910390fd5b6124c4828261259290919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061251c8260035461259290919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3505050565b505050565b60006125d483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611fee565b90509291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737363616e7420646563726561736520616c6c6f77616e63652062656c6f77207a65726f7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d08202650af331296846606e93a835139c72211b4d1ae0e50fafe104b36314c564736f6c63430006070033

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.