Contract 0x5c22ba65F65ADfFADFc0947382f2E7C286A0Fe45 4

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x9f4d3af43afaeba148844a11766768ea8a13630b0e5f666b3cada0779f268db5Transfer18708152022-05-21 15:53:423 days 13 hrs ago0x590edb35b4246944cf66e3c4fa422c1fe36e72e5 IN  Moonscape: MSCP Token0 MOVR0.00012341
0xd3fd471646343f7a2c532eaa47f644f4c77cf6b0d144f8198a56a37267f11755Approve18668152022-05-21 0:19:124 days 4 hrs ago0x804debc8807aee993a727b37d81d7a379da59fe6 IN  Moonscape: MSCP Token0 MOVR0.0001165775
0xc939e8cc53cf14f85f9eaa7182339489dceac00b0a6345ac58bc4462b9ce0b9bApprove18624992022-05-20 7:28:244 days 21 hrs ago0x5e15d13a7525eaa829cd7ab3b5a07332e9f106f9 IN  Moonscape: MSCP Token0 MOVR0.0001165775
0x025b53717cc7cd98d359cb54d3a2758bd58864c01b9096c460033283d06d653eApprove18589462022-05-19 17:40:185 days 11 hrs ago0x67588292e0755160f439af7b00c60f5217cbd3eb IN  Moonscape: MSCP Token0 MOVR0.000231775
0x2f65b9f7f2fafe93d730979c4b4ccb3412b905c83f1016ef8ad9e8d815095496Transfer18526952022-05-18 17:33:246 days 11 hrs ago0xa297bb9a7aa2aec77f62dcd93ea6db256d8643db IN  Moonscape: MSCP Token0 MOVR0.0000987525
0x9d89327ef2999fdac11fa0eaa8606f282642cc1fa3e01f2cada5277570f46723Transfer18513202022-05-18 12:03:486 days 16 hrs ago0xbac0cc03dc049630c25504426263573d373316b2 IN  Moonscape: MSCP Token0 MOVR0.00012335
0x9933f9266c24537a729b4fa8f1b75e5144404a90d4c3e6bc24da562ae30c159fApprove18510122022-05-18 10:51:186 days 18 hrs ago0xf0988ef421a50c08c01b86992fe3d6750c2cd389 IN  Moonscape: MSCP Token0 MOVR0.0001165775
0x49f764f37dffe797c779d2bcbfaa77e45b8055d8bc2959f84014cc580a07a394Approve18510062022-05-18 10:50:006 days 18 hrs ago0xf0988ef421a50c08c01b86992fe3d6750c2cd389 IN  Moonscape: MSCP Token0 MOVR0.0001165775
0xcbc2f965da5732198b87da0b732ccdbc3a65791f4ecd8948123d125a62d5ae07Approve18499402022-05-18 6:44:126 days 22 hrs ago0x308f7474addccd71167456e9871eda17ab0d6dfd IN  Moonscape: MSCP Token0 MOVR0.0001632085
0x1ecba83b4c0683f35b5f157684b276cad7a90e284fba1c17d89584b200b015faApprove18396452022-05-16 15:20:188 days 13 hrs ago0x9b3cc4af0ba60638b814690ac539ee29ff15e599 IN  Moonscape: MSCP Token0 MOVR0.0001165775
0x503c0ef0ee85e2f789d107a27462f6c176918d5df99563baeda625569e5f77d4Transfer18314222022-05-15 7:46:129 days 21 hrs ago0x49f1b7cdb6a2f3a1275c3af74c0ebcf1d9729acc IN  Moonscape: MSCP Token0 MOVR0.000039501
0x6a516b9bd09c87b0db98fe6131936996371c7954c69ed5b5e7c4e8aec1aee96cApprove18281902022-05-14 19:14:1210 days 9 hrs ago0x99f88ed13c8b90406df960d1024c782169c9f7a2 IN  Moonscape: MSCP Token0 MOVR0.0001632085
0xf0d9b58b84a0fe34f2ce13cba960658fc2dd4c92fd72c0a1742463c023e1983eApprove18140642022-05-12 12:01:5412 days 16 hrs ago0x78284e897e4432259d6681e5aa0cc49fce03c8f6 IN  Moonscape: MSCP Token0 MOVR0.0001165775
0x7a22acfa6aa9d83059f5910221fd1935496bbe6b0e795e28df312c77fe76ab76Approve18139822022-05-12 11:43:0612 days 17 hrs ago0x051ae28151a68cceea5e234694b82c913a802fb9 IN  Moonscape: MSCP Token0 MOVR0.0001165475
0xd0ccccef3f8c34ead3c56051c39bbd88008800946ab05181c6d619e2432d17eaTransfer18030622022-05-10 12:13:3614 days 16 hrs ago0xbb198cf169465397fd3c6b65cff29aa853bec914 IN  Moonscape: MSCP Token0 MOVR0.000079002
0x3f434f82126d4ab60837daca78fb9b564a6b35bc9204fdc33331ee4314fa5f96Approve17997592022-05-09 18:36:5415 days 10 hrs ago0x590edb35b4246944cf66e3c4fa422c1fe36e72e5 IN  Moonscape: MSCP Token0 MOVR0.0001165475
0x3113a8e90d808ecbffea0f2ab46a5edc067a21d5c17e8e4e6e0566ff590273c9Approve17991672022-05-09 15:20:4215 days 13 hrs ago0x438838f442eacfeba2640da614b0b400eea43685 IN  Moonscape: MSCP Token0 MOVR0.0000668275
0x85237182b9abea48241c05d02b08ccfdc6ef38d2ea7dbf9312fd37d5f4dfa2fbApprove17991672022-05-09 15:20:4215 days 13 hrs ago0x438838f442eacfeba2640da614b0b400eea43685 IN  Moonscape: MSCP Token0 MOVR0.0001165775
0x44393393449fbd6d8f6bfa7465dbc53136cdb8709fc5e51a15d1cad2b1cbc251Approve17961682022-05-08 21:34:0016 days 7 hrs ago0xb10503651649ced3ca08b517197339baf84be6f4 IN  Moonscape: MSCP Token0 MOVR0.0001165775
0xbc0384db43b474fd8d3aa7c2458ded74c1f701aae7184e16e697998fd4becee7Approve17939862022-05-08 8:50:0616 days 20 hrs ago0x89967857dd60633cd4e34c597a5e2ccc6da58b7d IN  Moonscape: MSCP Token0 MOVR0.0001165775
0xe6f921a83effb9add1643c1470fcfdfca346403cd499752bde2b90b8de1c0527Transfer17930062022-05-08 3:11:4217 days 1 hr ago0xa297bb9a7aa2aec77f62dcd93ea6db256d8643db IN  Moonscape: MSCP Token0 MOVR0.00009873
0x3b74a8b8ade5c1498f747498ba19c3e1333af81916ccff550d7193d12b6984d6Approve17921322022-05-07 22:03:3817 days 6 hrs ago0x1578f034078d5b5dc9d017af75779ae436048415 IN  Moonscape: MSCP Token0 MOVR0.0001165775
0x50da2bff03044195c2fc90c1bf9ffb8a2c5a3509510602eafb06c03666bd513fApprove17864162022-05-06 12:07:2618 days 16 hrs ago0x97ee4ed562c7ed22f4ff7dc3fc4a24b5f0b9627e IN  Moonscape: MSCP Token0 MOVR0.00012357215
0xa21de97aca72718b8ac35f7414a63d4f4e32a39ad4d554d919eb22e7516ed1feApprove17827102022-05-05 13:52:0019 days 15 hrs ago0x14bfb279919d213f91478aef72035fdf717c5d31 IN  Moonscape: MSCP Token0 MOVR0.0001165475
0x8c955fef2e129eaebdd5a5de8ee858ce01fb4be1c1673149033d8c4633b1ee3bApprove17825262022-05-05 12:42:0019 days 16 hrs ago0x3526df3288bd0874e059643fa9645becaa571fec IN  Moonscape: MSCP Token0 MOVR0.0001632085
[ Download CSV Export 

OVERVIEW

MSCP is the official token of Moonscape. Use it in the game to obtain the premium resource MoonDust.

Parent Txn Hash Block From To Value
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, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at moonriver.moonscan.io on 2021-12-01
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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;
    }
}

pragma solidity ^0.6.0;

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;
    }
}

pragma solidity ^0.6.0;

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

pragma solidity ^0.6.0;

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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    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;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by 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;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

pragma solidity ^0.6.2;

library Address {
    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);
    }

    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");
    }

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    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");
    }

    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);
            }
        }
    }
}

pragma solidity 0.6.7;

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 {
        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];
    }

}

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"}]

60a0604052601260ff1660809060ff1660f81b81525063423a35c76004556000600560006101000a81548160ff0219169083151502179055503480156200004557600080fd5b506000620000586200011a60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200011433670de0b6b3a7640000600454026200012260201b60201c565b62000390565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620001c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f63616e74206d696e7420746f20696e76616c696420616464726573730000000081525060200191505060405180910390fd5b620001da600083836200030260201b60201c565b620001f6816003546200030760201b620020401790919060201c565b6003819055506200025581600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200030760201b620020401790919060201c565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b505050565b60008082840190508381101562000386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60805160f81c61260d620003ae60003980610c5d525061260d6000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c3578063a457c2d71161007c578063a457c2d714610642578063a9059cbb146106a8578063b81aa7571461070e578063ced67f0c14610730578063dd62ed3e1461078c578063f2fde38b146108045761014d565b806370a0823114610469578063715018a6146104c157806379cc6790146104cb5780638da5cb5b1461051957806395d89b41146105635780639712fdf8146105e65761014d565b80632ddcb21f116101155780632ddcb21f1461033b578063313ce56714610359578063395093511461037d5780633bc93dc5146103e357806340c10f19146103ed57806342966c681461043b5761014d565b806304df017d1461015257806306fdde03146101ae578063095ea7b31461023157806318160ddd1461029757806323b872dd146102b5575b600080fd5b6101946004803603602081101561016857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610848565b604051808215151515815260200191505060405180910390f35b6101b6610b15565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101f65780820151818401526020810190506101db565b50505050905090810190601f1680156102235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027d6004803603604081101561024757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b52565b604051808215151515815260200191505060405180910390f35b61029f610b70565b6040518082815260200191505060405180910390f35b610321600480360360608110156102cb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b7a565b604051808215151515815260200191505060405180910390f35b610343610c53565b6040518082815260200191505060405180910390f35b610361610c59565b604051808260ff1660ff16815260200191505060405180910390f35b6103c96004803603604081101561039357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c81565b604051808215151515815260200191505060405180910390f35b6103eb610d34565b005b6104396004803603604081101561040357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e29565b005b6104676004803603602081101561045157600080fd5b8101908080359060200190929190505050610f31565b005b6104ab6004803603602081101561047f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fa8565b6040518082815260200191505060405180910390f35b6104c9610fba565b005b610517600480360360408110156104e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611142565b005b610521611288565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61056b6112b1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105ab578082015181840152602081019050610590565b50505050905090810190601f1680156105d85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610628600480360360208110156105fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112ee565b604051808215151515815260200191505060405180910390f35b61068e6004803603604081101561065857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506115bc565b604051808215151515815260200191505060405180910390f35b6106f4600480360360408110156106be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611689565b604051808215151515815260200191505060405180910390f35b6107166116a7565b604051808215151515815260200191505060405180910390f35b6107726004803603602081101561074657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116ba565b604051808215151515815260200191505060405180910390f35b6107ee600480360360408110156107a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116da565b6040518082815260200191505060405180910390f35b6108466004803603602081101561081a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611761565b005b600061085261196e565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610913576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610a75576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f62726964676520616c72656164792072656d6f7665640000000000000000000081525060200191505060405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f5a4a11544e990107dd21eb0cfb2bc681795302f00d74be6879b854c18e6f2cca60405160405180910390a2919050565b60606040518060400160405280600981526020017f4d6f6f6e73636170650000000000000000000000000000000000000000000000815250905090565b6000610b66610b5f61196e565b8484611976565b6001905092915050565b6000600354905090565b6000610b87848484611ba7565b610c4884610b9361196e565b610c43856040518060600160405280602181526020016125b760219139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610bf961196e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f809092919063ffffffff16565b611976565b600190509392505050565b60045481565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000610d2a610c8e61196e565b84610d258560026000610c9f61196e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461204090919063ffffffff16565b611976565b6001905092915050565b610d3c61196e565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600560009054906101000a900460ff1615600560006101000a81548160ff021916908315150217905550565b600560009054906101000a900460ff168015610e8e5750600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610e9757600080fd5b600454610eaf8260035461204090919063ffffffff16565b1115610f23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f6578636565646564206d696e74206c696d69740000000000000000000000000081525060200191505060405180910390fd5b610f2d82826120c8565b5050565b6000610fa5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4f6e6c79206275726e46726f6d20697320616c6c6f776564000000000000000081525060200191505060405180910390fd5b50565b6000610fb382612291565b9050919050565b610fc261196e565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611083576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600560009054906101000a900460ff1680156111a75750600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6111b057600080fd5b60006111c3836111be61196e565b6116da565b90508181101561123b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f6275726e20616d6f756e74206578636565647320616c6c6f77616e636500000081525060200191505060405180910390fd5b6112798361124761196e565b611274856040518060600160405280602181526020016125b76021913986611f809092919063ffffffff16565b611976565b61128383836122da565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600481526020017f4d53435000000000000000000000000000000000000000000000000000000000815250905090565b60006112f861196e565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561151c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f62726964676520616c726561647920616464656400000000000000000000000081525060200191505060405180910390fd5b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167fe22143109a0b97b4ff9e4b5131738f39f6e03a2959fffc3e799cbc8e0cbb9bc760405160405180910390a2919050565b600061167f6115c961196e565b8461167a8560405180606001604052806022815260200161259560229139600260006115f361196e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f809092919063ffffffff16565b611976565b6001905092915050565b600061169d61169661196e565b8484611ba7565b6001905092915050565b600560009054906101000a900460ff1681565b60066020528060005260406000206000915054906101000a900460ff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61176961196e565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461182a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061256f6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f63616e7420617070726f76652066726f6d207a65726f2061646472657373000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611abc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f63616e7420617070726f766520746f207a65726f20616464726573730000000081525060200191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f63616e74207472616e736665722066726f6d207a65726f20616464726573730081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ced576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f63616e74207472616e7366657220746f207a65726f206164647265737300000081525060200191505060405180910390fd5b60008111611d63576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e742073656e64203020746f6b656e00000000000000000000000000000081525060200191505060405180910390fd5b80611d6d84612291565b1015611de1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f6e6f7420656e6f75676820746f6b656e20746f2073656e64000000000000000081525060200191505060405180910390fd5b611dec83838361251f565b611e3e81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461252490919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611ed381600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461204090919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600083831115829061202d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ff2578082015181840152602081019050611fd7565b50505050905090810190601f16801561201f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000808284019050838110156120be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561216b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f63616e74206d696e7420746f20696e76616c696420616464726573730000000081525060200191505060405180910390fd5b6121776000838361251f565b61218c8160035461204090919063ffffffff16565b6003819055506121e481600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461204090919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561237d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f63616e74206275726e2066726f6d20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6123898260008361251f565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f6275726e20616d6f756e7420657863656564732062616c616e6365000000000081525060200191505060405180910390fd5b612456828261252490919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506124ae8260035461252490919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3505050565b505050565b600061256683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f80565b90509291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737363616e7420646563726561736520616c6c6f77616e63652062656c6f77207a65726f7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220df9df87ea44c516d6b991d9d0539aacbd2eba9f2816d31dc247ddd4e1c1978a964736f6c63430006070033

Deployed ByteCode Sourcemap

7714:12919:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;7714:12919:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;9411:273:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9411:273:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11229:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;11229:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13951:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;13951:169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12134:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14438:369;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;14438:369:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;8254:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11969:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;15216:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;15216:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11058:101;;;:::i;:::-;;9883:180;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9883:180:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10249:98;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;10249:98:0;;;;;;;;;;;;;;;;;:::i;:::-;;12322:121;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;12322:121:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1619:148;;;:::i;:::-;;10666:384;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;10666:384:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;977:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11431:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;11431:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9134:269;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;9134:269:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;15937:312;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;15937:312:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12672:175;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;12672:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;8406:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;8518:39;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;8518:39:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;13131:151;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;13131:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1922:244;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;1922:244:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;9411:273;9477:4;1199:12;:10;:12::i;:::-;1189:22;;:6;;;;;;;;;;;:22;;;1181:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9520:1:::1;9501:21;;:7;:21;;;;9493:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9560:7;:16;9568:7;9560:16;;;;;;;;;;;;;;;;;;;;;;;;;9552:51;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9634:5;9615:7;:16;9623:7;9615:16;;;;;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;9669:7;9656:21;;;;;;;;;;;;9411:273:::0;;;:::o;11229:83::-;11266:13;11299:5;;;;;;;;;;;;;;;;;11292:12;;11229:83;:::o;13951:169::-;14034:4;14051:39;14060:12;:10;:12::i;:::-;14074:7;14083:6;14051:8;:39::i;:::-;14108:4;14101:11;;13951:169;;;;:::o;12134:100::-;12187:7;12214:12;;12207:19;;12134:100;:::o;14438:369::-;14580:4;14602:36;14612:6;14620:9;14631:6;14602:9;:36::i;:::-;14649:128;14658:6;14666:12;:10;:12::i;:::-;14680:96;14732:6;14680:96;;;;;;;;;;;;;;;;;:11;:19;14692:6;14680:19;;;;;;;;;;;;;;;:33;14700:12;:10;:12::i;:::-;14680:33;;;;;;;;;;;;;;;;:51;;:96;;;;;:::i;:::-;14649:8;:128::i;:::-;14795:4;14788:11;;14438:369;;;;;:::o;8254:39::-;;;;:::o;11969:83::-;12010:5;12035:9;12028:16;;11969:83;:::o;15216:218::-;15304:4;15321:83;15330:12;:10;:12::i;:::-;15344:7;15353:50;15392:10;15353:11;:25;15365:12;:10;:12::i;:::-;15353:25;;;;;;;;;;;;;;;:34;15379:7;15353:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;15321:8;:83::i;:::-;15422:4;15415:11;;15216:218;;;;:::o;11058:101::-;1199:12;:10;:12::i;:::-;1189:22;;:6;;;;;;;;;;;:22;;;1181:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11138:13:::1;;;;;;;;;;;11137:14;11121:13;;:30;;;;;;;;;;;;;;;;;;11058:101::o:0;9883:180::-;8627:13;;;;;;;;;;;:36;;;;;8644:7;:19;8652:10;8644:19;;;;;;;;;;;;;;;;;;;;;;;;;8627:36;8619:45;;12:1:-1;9;2:12;8619:45:0;9992:11:::1;;9964:24;9981:6;9964:12;;:16;;:24;;;;:::i;:::-;:39;;9956:71;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;10038:17;10044:2;10048:6;10038:5;:17::i;:::-;9883:180:::0;;:::o;10249:98::-;10305:5;10297:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10249:98;:::o;12322:121::-;12388:7;12415:20;12427:7;12415:11;:20::i;:::-;12408:27;;12322:121;;;:::o;1619:148::-;1199:12;:10;:12::i;:::-;1189:22;;:6;;;;;;;;;;;:22;;;1181:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1726:1:::1;1689:40;;1710:6;::::0;::::1;;;;;;;;;1689:40;;;;;;;;;;;;1757:1;1740:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;1619:148::o:0;10666:384::-;8627:13;;;;;;;;;;;:36;;;;;8644:7;:19;8652:10;8644:19;;;;;;;;;;;;;;;;;;;;;;;;;8627:36;8619:45;;12:1:-1;9;2:12;8619:45:0;10746:24:::1;10773:32;10783:7;10792:12;:10;:12::i;:::-;10773:9;:32::i;:::-;10746:59;;10844:6;10824:16;:26;;10816:68;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;10897:112;10906:7;10915:12;:10;:12::i;:::-;10929:79;10964:6;10929:79;;;;;;;;;;;;;;;;;:16;:34;;:79;;;;;:::i;:::-;10897:8;:112::i;:::-;11020:22;11026:7;11035:6;11020:5;:22::i;:::-;8675:1;10666:384:::0;;:::o;977:79::-;1015:7;1042:6;;;;;;;;;;;1035:13;;977:79;:::o;11431:87::-;11470:13;11503:7;;;;;;;;;;;;;;;;;11496:14;;11431:87;:::o;9134:269::-;9197:4;1199:12;:10;:12::i;:::-;1189:22;;:6;;;;;;;;;;;:22;;;1181:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9241:1:::1;9222:21;;:7;:21;;;;9214:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9283:7;:16;9291:7;9283:16;;;;;;;;;;;;;;;;;;;;;;;;;9282:17;9274:50;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9356:4;9337:7;:16;9345:7;9337:16;;;;;;;;;;;;;;;;:23;;;;;;;;;;;;;;;;;;9388:7;9378:18;;;;;;;;;;;;9134:269:::0;;;:::o;15937:312::-;16057:4;16079:140;16088:12;:10;:12::i;:::-;16102:7;16111:107;16164:15;16111:107;;;;;;;;;;;;;;;;;:11;:25;16123:12;:10;:12::i;:::-;16111:25;;;;;;;;;;;;;;;:34;16137:7;16111:34;;;;;;;;;;;;;;;;:52;;:107;;;;;:::i;:::-;16079:8;:140::i;:::-;16237:4;16230:11;;15937:312;;;;:::o;12672:175::-;12758:4;12775:42;12785:12;:10;:12::i;:::-;12799:9;12810:6;12775:9;:42::i;:::-;12835:4;12828:11;;12672:175;;;;:::o;8406:33::-;;;;;;;;;;;;;:::o;8518:39::-;;;;;;;;;;;;;;;;;;;;;;:::o;13131:151::-;13220:7;13247:11;:18;13259:5;13247:18;;;;;;;;;;;;;;;:27;13266:7;13247:27;;;;;;;;;;;;;;;;13240:34;;13131:151;;;;:::o;1922:244::-;1199:12;:10;:12::i;:::-;1189:22;;:6;;;;;;;;;;;:22;;;1181:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2031:1:::1;2011:22;;:8;:22;;;;2003:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2121:8;2092:38;;2113:6;::::0;::::1;;;;;;;;;2092:38;;;;;;;;;;;;2150:8;2141:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;1922:244:::0;:::o;95:106::-;148:15;183:10;176:17;;95:106;:::o;19289:334::-;19408:1;19391:19;;:5;:19;;;;19383:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19483:1;19464:21;;:7;:21;;;;19456:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19561:6;19531:11;:18;19543:5;19531:18;;;;;;;;;;;;;;;:27;19550:7;19531:27;;;;;;;;;;;;;;;:36;;;;19599:7;19583:32;;19592:5;19583:32;;;19608:6;19583:32;;;;;;;;;;;;;;;;;;19289:334;;;:::o;16739:616::-;16863:1;16845:20;;:6;:20;;;;16837:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16941:1;16920:23;;:9;:23;;;;16912:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17005:1;16996:6;:10;16988:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17070:6;17047:19;17059:6;17047:11;:19::i;:::-;:29;;17039:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17118:47;17139:6;17147:9;17158:6;17118:20;:47::i;:::-;17199:29;17221:6;17199:9;:17;17209:6;17199:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;17178:9;:17;17188:6;17178:17;;;;;;;;;;;;;;;:50;;;;17262:32;17287:6;17262:9;:20;17272:9;17262:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;17239:9;:20;17249:9;17239:20;;;;;;;;;;;;;;;:55;;;;17329:9;17312:35;;17321:6;17312:35;;;17340:6;17312:35;;;;;;;;;;;;;;;;;;16739:616;;;:::o;3261:192::-;3347:7;3380:1;3375;:6;;3383:12;3367:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3367:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3407:9;3423:1;3419;:5;3407:17;;3444:1;3437:8;;;3261:192;;;;;:::o;2928:181::-;2986:7;3006:9;3022:1;3018;:5;3006:17;;3047:1;3042;:6;;3034:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3100:1;3093:8;;;2928:181;;;;:::o;17636:375::-;17739:1;17720:21;;:7;:21;;;;17712:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17787:49;17816:1;17820:7;17829:6;17787:20;:49::i;:::-;17864:24;17881:6;17864:12;;:16;;:24;;;;:::i;:::-;17849:12;:39;;;;17920:30;17943:6;17920:9;:18;17930:7;17920:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;17899:9;:18;17909:7;17899:18;;;;;;;;;;;;;;;:51;;;;17987:7;17966:37;;17983:1;17966:37;;;17996:6;17966:37;;;;;;;;;;;;;;;;;;17636:375;;:::o;20515:113::-;20575:7;20602:9;:18;20612:7;20602:18;;;;;;;;;;;;;;;;20595:25;;20515:113;;;:::o;18344:505::-;18447:1;18428:21;;:7;:21;;;;18420:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18498:49;18519:7;18536:1;18540:6;18498:20;:49::i;:::-;18560:22;18585:9;:18;18595:7;18585:18;;;;;;;;;;;;;;;;18560:43;;18640:6;18622:14;:24;;18614:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18710:26;18729:6;18710:14;:18;;:26;;;;:::i;:::-;18689:9;:18;18699:7;18689:18;;;;;;;;;;;;;;;:47;;;;18762:24;18779:6;18762:12;;:16;;:24;;;;:::i;:::-;18747:12;:39;;;;18830:1;18804:37;;18813:7;18804:37;;;18834:6;18804:37;;;;;;;;;;;;;;;;;;18344:505;;;:::o;20226:92::-;;;;:::o;3117:136::-;3175:7;3202:43;3206:1;3209;3202:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3195:50;;3117:136;;;;:::o

Swarm Source

ipfs://df9df87ea44c516d6b991d9d0539aacbd2eba9f2816d31dc247ddd4e1c1978a9
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.