Contract 0x3ea98b8ea287b47494303fc8517049b3f457247f

 

Contract Overview

MuskCoin: MUSK Token
Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x255106e97a8ef28ecface9343d79985dac689ac9524740636704b8378ead4fb297288432021-08-04 1:53:501 day 6 hrs ago0xd50d8335a9d5c7ffad5e76c61a46f7d87597d156 IN  MuskCoin: MUSK Token0 BNB0.00022203
0xdec05e572de65d93a0767cb9a0f83b570962b8ac82ab92f9484fd41246fc8b1097201432021-08-03 18:29:111 day 14 hrs ago0x500a244e3a33f2880919b4497ff32b45b64fcce0 IN  MuskCoin: MUSK Token0 BNB0.000180945
0x489887b49ff60f3b08bf54068ad6f7b7e3ee59eded7b100105b4ff0ca66f832797197492021-08-03 18:08:561 day 14 hrs ago0x500a244e3a33f2880919b4497ff32b45b64fcce0 IN  MuskCoin: MUSK Token0 BNB0.000180945
0xe65aee1f9f8e0ca517d4cf415b736509fdd75581dcbf641136f0cd0aa0e179b697195552021-08-03 17:59:141 day 14 hrs ago0x500a244e3a33f2880919b4497ff32b45b64fcce0 IN  MuskCoin: MUSK Token0 BNB0.000180945
0x31ba919f29ec42c0cd9dab3664d736dbaf60b03df8b0d2121894b50cdd51594897184492021-08-03 17:03:101 day 15 hrs ago0x500a244e3a33f2880919b4497ff32b45b64fcce0 IN  MuskCoin: MUSK Token0 BNB0.000180945
0xfeb23d915a3fd36708b44f92131a75ed49a985a8af7d42c2f0bd502bb870271c97183362021-08-03 16:56:481 day 15 hrs ago0x500a244e3a33f2880919b4497ff32b45b64fcce0 IN  MuskCoin: MUSK Token0 BNB0.000180945
0x3b883653e80cbd060a80e2c6795a1c0d6617253505ccf07bbfca27da48f8124697180742021-08-03 16:42:501 day 15 hrs ago0x500a244e3a33f2880919b4497ff32b45b64fcce0 IN  MuskCoin: MUSK Token0 BNB0.000180945
0x8eb67391f629227710d0d35198e17941946281a50372bcd7bf01cba39a2f07ad97174872021-08-03 16:13:161 day 16 hrs ago0x500a244e3a33f2880919b4497ff32b45b64fcce0 IN  MuskCoin: MUSK Token0 BNB0.000255945
0x5c48dd25095e0ddaa9c3204242a46cfc92a8d16a1d42066cd8d72c09f9df04f397167092021-08-03 15:32:511 day 17 hrs ago0x82f9eaa70e8e5e0fbbca4f378f878799160ed6a0 IN  MuskCoin: MUSK Token0 BNB0.000266436
0xf4500fc1612cc2044e7f1962493351d8127dc3afde2f41292ddebaa4151ff63096799942021-08-02 7:10:393 days 1 hr ago0x4f25a50f4dc0ace422893fe328847e5cc4d894a3 IN  MuskCoin: MUSK Token0 BNB0.000180945
0x934d850a1fdf252c7d968100c63804009a15069720dc4019d41b58636e7a10f691409532021-07-14 5:31:4222 days 3 hrs ago0x8be31f3bf1a52b4af874306a490923fcbf57a629 IN  MuskCoin: MUSK Token0 BNB0.00022203
0x00b3ef3cda764f3ac659eecfb1f583d8d226f0137f5e938d9618d61c888952df90984392021-07-12 18:06:0023 days 14 hrs ago0xa1138b08054efaf1b5bf7f4fa2b8b7e60cdd0b3c IN  MuskCoin: MUSK Token0 BNB0.00022059
0x728466c98462db5ab03f8d5a0803ff44764735dfdd07f73fa65a8d722563c84e90984372021-07-12 18:05:5423 days 14 hrs ago0xa1138b08054efaf1b5bf7f4fa2b8b7e60cdd0b3c IN  MuskCoin: MUSK Token0 BNB0.000072555
0xa53bc2b79623604d5203251d23c759b602f4d80d190105379320d0e5ee4983e090984212021-07-12 18:05:0623 days 14 hrs ago0xa1138b08054efaf1b5bf7f4fa2b8b7e60cdd0b3c IN  MuskCoin: MUSK Token0 BNB0.00022065
0x7d9c40005d22cb4d83cdc9673f34366c8788d0bb61b4428ffd088fee0917804c90984182021-07-12 18:04:5723 days 14 hrs ago0xa1138b08054efaf1b5bf7f4fa2b8b7e60cdd0b3c IN  MuskCoin: MUSK Token0 BNB0.000072555
0xfb5b8767cb7133e636a38b6d8a76afc79b51c218f4459545d2c4a3ce8dbde61c90984022021-07-12 18:04:0923 days 14 hrs ago0xa1138b08054efaf1b5bf7f4fa2b8b7e60cdd0b3c IN  MuskCoin: MUSK Token0 BNB0.00022065
0xbcbfbf8bee84bad84ca536447368a1a7b0a8fc00636c4ae256078eb06684a7b890779132021-07-12 0:59:4124 days 7 hrs ago0x54784538f3e790e78a4e0fc36b0660b7da253a68 IN  MuskCoin: MUSK Token0 BNB0.000072555
0xfc6361693280bd3c7101fe5b6841099f841574fc01a477a212a94296fd1716fe90370312021-07-10 14:55:1525 days 17 hrs ago0x7c9f71905d5df34c15614f9f68f93990ea9ec3e3 IN  MuskCoin: MUSK Token0 BNB0.00022203
0x9acadabeaade9eb4151ef37c11bff90dbaa3b1ed35b6a6f567779901474aa7f886311002021-06-26 10:41:3739 days 21 hrs ago0xa4a353bbcbc8e87c06ac1ecc869b9b38a5a76a3c IN  MuskCoin: MUSK Token0 BNB0.000217134
0xcbcb72c7fde4154b980868530018416e60f39db07b9bca9865d53844791fe35385250522021-06-22 18:00:2143 days 14 hrs ago0x9f390e5efd9e283ef2558bfe9659ae0130574548 IN  MuskCoin: MUSK Token0 BNB0.000181065
0x0c0bf480c879adc52b8c3c494befa68942f8396d8ff04da49a0b716698fc4ab682264932021-06-12 7:09:5854 days 1 hr ago0xf8444b77ee6b1d44a7e29b69fc1eecba0793c437 IN  MuskCoin: MUSK Token0 BNB0.00022203
0x981f9afc69d8fbfb910a0d5723bea27c9bb43afd7411c836726a2b56e556382a81904562021-06-11 1:02:2855 days 7 hrs ago0xbf0cc8670395c731effa29bb4e914aba781e8107 IN  MuskCoin: MUSK Token0 BNB0.00022203
0xfbd305b663a48c45a7e27e3960010e7007723e0ea36c6bbbcb32e87563df23bd81824852021-06-10 18:21:5555 days 14 hrs ago0xb3362905523d8fe437295aac4d57516cedc775aa IN  MuskCoin: MUSK Token0 BNB0.000181185
0x299288d08e469eed0210313e89b46c25a83f54ed09229c127e2643be1f37a56481822002021-06-10 18:07:3855 days 14 hrs agoMuskCoin: Deployer IN  MuskCoin: MUSK Token0 BNB0.000181065
0x4f8948dc283fa90b328a256b8e1e9199d83837d10d8f6164352efcfd9c75754b81821282021-06-10 18:04:0255 days 14 hrs agoMuskCoin: Deployer IN  MuskCoin: MUSK Token0 BNB0.000183595
[ Download CSV Export 

OVERVIEW

MuskCoin is inspired by one of the most incredible engineers of the modern world - Elon Musk. Soon our team will release a new project - MuskExchange(DEX). Finally, MuskCoin will become the main currency on Mars.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MUSK

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-19
*/

/*
____________________________________110001██████████
_______________________________110000███████______██
___________________________110000█████____________██
________________________110000█████_____█████____███
______________________100100████_______█     █___██
___________________1010011████_________█_____█___█
_________________1001111███_______█████__███___███
_______________1001111███________█     █______███
_____________1001110████_________█____██_____███
__________████████████______████___███______███
________████     ███______██    ██________████
______███       ███_______██    ██_______███
_____███      ███___________████_______███
____███      ███_____________________████
___███     ████____________________████
__███     ███____________________███
_███ ████████_________________█████
███████____████_____________███████
_____________████________█████   ██
________________███_____████     ███
__________________██████        ███
___________________███        ███
___________________██      █████
__________________███  ██████
_________________████████


███╗░░░███╗██╗░░░██╗░██████╗██╗░░██╗  ░█████╗░░█████╗░██╗███╗░░██╗
████╗░████║██║░░░██║██╔════╝██║░██╔╝  ██╔══██╗██╔══██╗██║████╗░██║
██╔████╔██║██║░░░██║╚█████╗░█████═╝░  ██║░░╚═╝██║░░██║██║██╔██╗██║
██║╚██╔╝██║██║░░░██║░╚═══██╗██╔═██╗░  ██║░░██╗██║░░██║██║██║╚████║
██║░╚═╝░██║╚██████╔╝██████╔╝██║░╚██╗  ╚█████╔╝╚█████╔╝██║██║░╚███║
╚═╝░░░░░╚═╝░╚═════╝░╚═════╝░╚═╝░░╚═╝  ░╚════╝░░╚════╝░╚═╝╚═╝░░╚══╝

████████╗░█████╗░  ████████╗██╗░░██╗███████╗  ███╗░░░███╗░█████╗░██████╗░░██████╗██╗
╚══██╔══╝██╔══██╗  ╚══██╔══╝██║░░██║██╔════╝  ████╗░████║██╔══██╗██╔══██╗██╔════╝██║
░░░██║░░░██║░░██║  ░░░██║░░░███████║█████╗░░  ██╔████╔██║███████║██████╔╝╚█████╗░██║
░░░██║░░░██║░░██║  ░░░██║░░░██╔══██║██╔══╝░░  ██║╚██╔╝██║██╔══██║██╔══██╗░╚═══██╗╚═╝
░░░██║░░░╚█████╔╝  ░░░██║░░░██║░░██║███████╗  ██║░╚═╝░██║██║░░██║██║░░██║██████╔╝██╗
░░░╚═╝░░░░╚════╝░  ░░░╚═╝░░░╚═╝░░╚═╝╚══════╝  ╚═╝░░░░░╚═╝╚═╝░░╚═╝╚═╝░░╚═╝╚═════╝░╚═╝
*/

// File: @openzeppelin/contracts/GSN/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol



pragma solidity >=0.6.0 <0.8.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: @openzeppelin/contracts/math/SafeMath.sol



pragma solidity >=0.6.0 <0.8.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: @openzeppelin/contracts/token/ERC20/ERC20.sol



pragma solidity >=0.6.0 <0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * 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 See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    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, "ERC20: 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, "ERC20: decreased 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), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _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), "ERC20: mint to the zero 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), "ERC20: burn from the zero address");

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This 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), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @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 { }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20Burnable.sol



pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    using SafeMath for uint256;

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @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 virtual {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

/**
 * @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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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: @openzeppelin/contracts/token/ERC20/SafeERC20.sol



pragma solidity >=0.6.0 <0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @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.
 */
abstract 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: @openzeppelin/contracts/utils/Counters.sol



pragma solidity >=0.6.0 <0.8.0;


/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

// File: contracts/IERC20Permit.sol



pragma solidity ^0.6.0;

// A copy of https://github.com/OpenZeppelin/openzeppelin-contracts/blob/ecc66719bd7681ed4eb8bf406f89a7408569ba9b/contracts/drafts/IERC20Permit.sol

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over `owner`'s tokens,
     * given `owner`'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for `permit`, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File: contracts/ECDSA.sol



pragma solidity ^0.6.0;

// A copy of https://github.com/OpenZeppelin/openzeppelin-contracts/blob/ecc66719bd7681ed4eb8bf406f89a7408569ba9b/contracts/cryptography/ECDSA.sol

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        if (signature.length != 65) {
            revert("ECDSA: invalid signature length");
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover-bytes32-bytes-} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature s value");
        require(v == 27 || v == 28, "ECDSA: invalid signature v value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * replicates the behavior of the
     * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]
     * JSON-RPC method.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
}

// File: contracts/EIP712.sol



pragma solidity ^0.6.0;

// A copy of https://github.com/OpenZeppelin/openzeppelin-contracts/blob/ecc66719bd7681ed4eb8bf406f89a7408569ba9b/contracts/drafts/EIP712.sol

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) internal {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = _getChainId();
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (_getChainId() == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                _getChainId(),
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", _domainSeparatorV4(), structHash));
    }

    function _getChainId() private pure returns (uint256 chainId) {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            chainId := chainid()
        }
    }
}

// File: contracts/ERC20Permit.sol



pragma solidity ^0.6.0;






// An adapted copy of https://github.com/OpenZeppelin/openzeppelin-contracts/blob/ecc66719bd7681ed4eb8bf406f89a7408569ba9b/contracts/drafts/ERC20Permit.sol

/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping (address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(
            abi.encode(
                _PERMIT_TYPEHASH,
                owner,
                spender,
                value,
                _nonces[owner].current(),
                deadline
            )
        );

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _nonces[owner].increment();
        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }
}

// File: contracts/MUSK.sol



pragma solidity ^0.6.0;






contract MUSK is ERC20Permit, ERC20Burnable, Ownable {
    using SafeERC20 for IERC20;

    constructor(address _owner) public ERC20("MuskCoin", "MUSK") EIP712("MuskCoin", "1") {
        transferOwnership(_owner);
    }

    function mint(address to, uint256 amount) external onlyOwner {
        _mint(to, amount);
    }

    /**
    * @dev Returns the bep token owner.
    */
    function getOwner() external view returns (address) {
        return owner();
    }

    function rescueFunds(IERC20 token, uint256 amount) external onlyOwner {
        token.safeTransfer(msg.sender, amount);
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":[{"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":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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"}]

6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b5060405162001e6f38038062001e6f833981810160405260208110156200005d57600080fd5b505160408051808201825260088082526726bab9b5a1b7b4b760c11b60208381018290528451808601865260018152603160f81b8183015285518087018752938452838201928352855180870190965260048652634d55534b60e01b918601919091528251939490939091620000d7916003919062000329565b508051620000ed90600490602084019062000329565b50506005805460ff1916601217905550815160208084019190912082519183019190912060c082905260e08190527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f62000146620001be565b60a05262000156818484620001c2565b6080526101005250600092506200016f91505062000226565b600780546001600160a01b0319166001600160a01b0383169081179091556040519192509060009060008051602062001e4f833981519152908290a350620001b7816200022a565b50620003c5565b4690565b6000838383620001d1620001be565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012090509392505050565b3390565b6200023462000226565b6007546001600160a01b0390811691161462000297576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116620002de5760405162461bcd60e51b815260040180806020018281038252602681526020018062001e296026913960400191505060405180910390fd5b6007546040516001600160a01b0380841692169060008051602062001e4f83398151915290600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200036c57805160ff19168380011785556200039c565b828001600101855582156200039c579182015b828111156200039c5782518255916020019190600101906200037f565b50620003aa929150620003ae565b5090565b5b80821115620003aa5760008155600101620003af565b60805160a05160c05160e0516101005161012051611a1a6200040f600039806109fb525080610fa6525080610fe8525080610fc7525080610f4d525080610f7d5250611a1a6000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806378e3214f116100b857806395d89b411161007c57806395d89b41146103c9578063a457c2d7146103d1578063a9059cbb146103fd578063d505accf14610429578063dd62ed3e1461047a578063f2fde38b146104a857610142565b806378e3214f1461031f57806379cc67901461034b5780637ecebe0014610377578063893d20e81461039d5780638da5cb5b146103c157610142565b80633644e5151161010a5780633644e51514610272578063395093511461027a57806340c10f19146102a657806342966c68146102d457806370a08231146102f1578063715018a61461031757610142565b806306fdde0314610147578063095ea7b3146101c457806318160ddd1461020457806323b872dd1461021e578063313ce56714610254575b600080fd5b61014f6104ce565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b038135169060200135610565565b604080519115158252519081900360200190f35b61020c610582565b60408051918252519081900360200190f35b6101f06004803603606081101561023457600080fd5b506001600160a01b03813581169160208101359091169060400135610588565b61025c610610565b6040805160ff9092168252519081900360200190f35b61020c610619565b6101f06004803603604081101561029057600080fd5b506001600160a01b038135169060200135610628565b6102d2600480360360408110156102bc57600080fd5b506001600160a01b038135169060200135610676565b005b6102d2600480360360208110156102ea57600080fd5b50356106dc565b61020c6004803603602081101561030757600080fd5b50356001600160a01b03166106f0565b6102d261070b565b6102d26004803603604081101561033557600080fd5b506001600160a01b0381351690602001356107ad565b6102d26004803603604081101561036157600080fd5b506001600160a01b038135169060200135610819565b61020c6004803603602081101561038d57600080fd5b50356001600160a01b0316610873565b6103a561089a565b604080516001600160a01b039092168252519081900360200190f35b6103a56108a0565b61014f6108af565b6101f0600480360360408110156103e757600080fd5b506001600160a01b038135169060200135610910565b6101f06004803603604081101561041357600080fd5b506001600160a01b038135169060200135610978565b6102d2600480360360e081101561043f57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c0013561098c565b61020c6004803603604081101561049057600080fd5b506001600160a01b0381358116916020013516610b43565b6102d2600480360360208110156104be57600080fd5b50356001600160a01b0316610b6e565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055a5780601f1061052f5761010080835404028352916020019161055a565b820191906000526020600020905b81548152906001019060200180831161053d57829003601f168201915b505050505090505b90565b6000610579610572610c67565b8484610c6b565b50600192915050565b60025490565b6000610595848484610d57565b610605846105a1610c67565b610600856040518060600160405280602881526020016118c0602891396001600160a01b038a166000908152600160205260408120906105df610c67565b6001600160a01b031681526020810191909152604001600020549190610eb2565b610c6b565b5060015b9392505050565b60055460ff1690565b6000610623610f49565b905090565b6000610579610635610c67565b846106008560016000610646610c67565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611013565b61067e610c67565b6007546001600160a01b039081169116146106ce576040805162461bcd60e51b815260206004820181905260248201526000805160206118e8833981519152604482015290519081900360640190fd5b6106d8828261106d565b5050565b6106ed6106e7610c67565b8261115d565b50565b6001600160a01b031660009081526020819052604090205490565b610713610c67565b6007546001600160a01b03908116911614610763576040805162461bcd60e51b815260206004820181905260248201526000805160206118e8833981519152604482015290519081900360640190fd5b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6107b5610c67565b6007546001600160a01b03908116911614610805576040805162461bcd60e51b815260206004820181905260248201526000805160206118e8833981519152604482015290519081900360640190fd5b6106d86001600160a01b0383163383611259565b6000610850826040518060600160405280602481526020016119086024913961084986610844610c67565b610b43565b9190610eb2565b90506108648361085e610c67565b83610c6b565b61086e838361115d565b505050565b6001600160a01b0381166000908152600660205260408120610894906112ab565b92915050565b60006106235b6007546001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561055a5780601f1061052f5761010080835404028352916020019161055a565b600061057961091d610c67565b84610600856040518060600160405280602581526020016119c06025913960016000610947610c67565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610eb2565b6000610579610985610c67565b8484610d57565b834211156109e1576040805162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015290519081900360640190fd5b6001600160a01b03871660009081526006602052604081207f000000000000000000000000000000000000000000000000000000000000000090899089908990610a2a906112ab565b8960405160200180878152602001866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200182815260200196505050505050506040516020818303038152906040528051906020012090506000610a93826112af565b90506000610aa3828787876112fb565b9050896001600160a01b0316816001600160a01b031614610b0b576040805162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015290519081900360640190fd5b6001600160a01b038a166000908152600660205260409020610b2c906114a5565b610b378a8a8a610c6b565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b76610c67565b6007546001600160a01b03908116911614610bc6576040805162461bcd60e51b815260206004820181905260248201526000805160206118e8833981519152604482015290519081900360640190fd5b6001600160a01b038116610c0b5760405162461bcd60e51b815260040180806020018281038252602681526020018061182c6026913960400191505060405180910390fd5b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b038316610cb05760405162461bcd60e51b81526004018080602001828103825260248152602001806119726024913960400191505060405180910390fd5b6001600160a01b038216610cf55760405162461bcd60e51b81526004018080602001828103825260228152602001806118526022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610d9c5760405162461bcd60e51b815260040180806020018281038252602581526020018061194d6025913960400191505060405180910390fd5b6001600160a01b038216610de15760405162461bcd60e51b81526004018080602001828103825260238152602001806117e76023913960400191505060405180910390fd5b610dec83838361086e565b610e2981604051806060016040528060268152602001611874602691396001600160a01b0386166000908152602081905260409020549190610eb2565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610e589082611013565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610f415760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f06578181015183820152602001610eee565b50505050905090810190601f168015610f335780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60007f0000000000000000000000000000000000000000000000000000000000000000610f746114ae565b1415610fa157507f0000000000000000000000000000000000000000000000000000000000000000610562565b61100c7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006114b2565b9050610562565b600082820183811015610609576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0382166110c8576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6110d46000838361086e565b6002546110e19082611013565b6002556001600160a01b0382166000908152602081905260409020546111079082611013565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166111a25760405162461bcd60e51b815260040180806020018281038252602181526020018061192c6021913960400191505060405180910390fd5b6111ae8260008361086e565b6111eb8160405180606001604052806022815260200161180a602291396001600160a01b0385166000908152602081905260409020549190610eb2565b6001600160a01b0383166000908152602081905260409020556002546112119082611514565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261086e908490611556565b5490565b60006112b9610f49565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611372576040805162461bcd60e51b815260206004820181905260248201527f45434453413a20696e76616c6964207369676e617475726520732076616c7565604482015290519081900360640190fd5b8360ff16601b148061138757508360ff16601c145b6113d8576040805162461bcd60e51b815260206004820181905260248201527f45434453413a20696e76616c6964207369676e617475726520762076616c7565604482015290519081900360640190fd5b600060018686868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611434573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661149c576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b95945050505050565b80546001019055565b4690565b60008383836114bf6114ae565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012090509392505050565b600061060983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610eb2565b60606115ab826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116079092919063ffffffff16565b80519091501561086e578080602001905160208110156115ca57600080fd5b505161086e5760405162461bcd60e51b815260040180806020018281038252602a815260200180611996602a913960400191505060405180910390fd5b6060611616848460008561161e565b949350505050565b60608247101561165f5760405162461bcd60e51b815260040180806020018281038252602681526020018061189a6026913960400191505060405180910390fd5b6116688561177a565b6116b9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116f85780518252601f1990920191602091820191016116d9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461175a576040519150601f19603f3d011682016040523d82523d6000602084013e61175f565b606091505b509150915061176f828286611780565b979650505050505050565b3b151590565b6060831561178f575081610609565b82511561179f5782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315610f06578181015183820152602001610eee56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212201d244be98c1fb3f995eeec402ce34e55e2b4b3dd1ca838b731aa9c5628f9dafb64736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573738be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000f6d5905e65e3235b99f5123dc2e21584d98592e1

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000f6d5905e65e3235b99f5123dc2e21584d98592e1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f6d5905e65e3235b99f5123dc2e21584d98592e1


Deployed ByteCode Sourcemap

54188:618:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15773:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17879:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17879:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;16848:100;;;:::i;:::-;;;;;;;;;;;;;;;;18530:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18530:321:0;;;;;;;;;;;;;;;;;:::i;16700:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53994:115;;;:::i;19260:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19260:218:0;;;;;;;;:::i;54420:97::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54420:97:0;;;;;;;;:::i;:::-;;25121:91;;;;;;;;;;;;;;;;-1:-1:-1;25121:91:0;;:::i;17011:119::-;;;;;;;;;;;;;;;;-1:-1:-1;17011:119:0;-1:-1:-1;;;;;17011:119:0;;:::i;38354:148::-;;;:::i;54676:127::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54676:127:0;;;;;;;;:::i;25531:295::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25531:295:0;;;;;;;;:::i;53744:120::-;;;;;;;;;;;;;;;;-1:-1:-1;53744:120:0;-1:-1:-1;;;;;53744:120:0;;:::i;54583:85::-;;;:::i;:::-;;;;-1:-1:-1;;;;;54583:85:0;;;;;;;;;;;;;;37712:79;;;:::i;15975:87::-;;;:::i;19981:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19981:269:0;;;;;;;;:::i;17343:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17343:175:0;;;;;;;;:::i;52862:816::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52862:816:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;17581:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17581:151:0;;;;;;;;;;:::i;38657:244::-;;;;;;;;;;;;;;;;-1:-1:-1;38657:244:0;-1:-1:-1;;;;;38657:244:0;;:::i;15773:83::-;15843:5;15836:12;;;;;;;;-1:-1:-1;;15836:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15810:13;;15836:12;;15843:5;;15836:12;;15843:5;15836:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15773:83;;:::o;17879:169::-;17962:4;17979:39;17988:12;:10;:12::i;:::-;18002:7;18011:6;17979:8;:39::i;:::-;-1:-1:-1;18036:4:0;17879:169;;;;:::o;16848:100::-;16928:12;;16848:100;:::o;18530:321::-;18636:4;18653:36;18663:6;18671:9;18682:6;18653:9;:36::i;:::-;18700:121;18709:6;18717:12;:10;:12::i;:::-;18731:89;18769:6;18731:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18731:19:0;;;;;;:11;:19;;;;;;18751:12;:10;:12::i;:::-;-1:-1:-1;;;;;18731:33:0;;;;;;;;;;;;-1:-1:-1;18731:33:0;;;:89;:37;:89::i;:::-;18700:8;:121::i;:::-;-1:-1:-1;18839:4:0;18530:321;;;;;;:::o;16700:83::-;16766:9;;;;16700:83;:::o;53994:115::-;54054:7;54081:20;:18;:20::i;:::-;54074:27;;53994:115;:::o;19260:218::-;19348:4;19365:83;19374:12;:10;:12::i;:::-;19388:7;19397:50;19436:10;19397:11;:25;19409:12;:10;:12::i;:::-;-1:-1:-1;;;;;19397:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;19397:25:0;;;:34;;;;;;;;;;;:38;:50::i;54420:97::-;37934:12;:10;:12::i;:::-;37924:6;;-1:-1:-1;;;;;37924:6:0;;;:22;;;37916:67;;;;;-1:-1:-1;;;37916:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;37916:67:0;;;;;;;;;;;;;;;54492:17:::1;54498:2;54502:6;54492:5;:17::i;:::-;54420:97:::0;;:::o;25121:91::-;25177:27;25183:12;:10;:12::i;:::-;25197:6;25177:5;:27::i;:::-;25121:91;:::o;17011:119::-;-1:-1:-1;;;;;17104:18:0;17077:7;17104:18;;;;;;;;;;;;17011:119::o;38354:148::-;37934:12;:10;:12::i;:::-;37924:6;;-1:-1:-1;;;;;37924:6:0;;;:22;;;37916:67;;;;;-1:-1:-1;;;37916:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;37916:67:0;;;;;;;;;;;;;;;38445:6:::1;::::0;38424:40:::1;::::0;38461:1:::1;::::0;-1:-1:-1;;;;;38445:6:0::1;::::0;38424:40:::1;::::0;38461:1;;38424:40:::1;38475:6;:19:::0;;-1:-1:-1;;;;;;38475:19:0::1;::::0;;38354:148::o;54676:127::-;37934:12;:10;:12::i;:::-;37924:6;;-1:-1:-1;;;;;37924:6:0;;;:22;;;37916:67;;;;;-1:-1:-1;;;37916:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;37916:67:0;;;;;;;;;;;;;;;54757:38:::1;-1:-1:-1::0;;;;;54757:18:0;::::1;54776:10;54788:6:::0;54757:18:::1;:38::i;25531:295::-:0;25608:26;25637:84;25674:6;25637:84;;;;;;;;;;;;;;;;;:32;25647:7;25656:12;:10;:12::i;:::-;25637:9;:32::i;:::-;:36;:84;:36;:84::i;:::-;25608:113;;25734:51;25743:7;25752:12;:10;:12::i;:::-;25766:18;25734:8;:51::i;:::-;25796:22;25802:7;25811:6;25796:5;:22::i;:::-;25531:295;;;:::o;53744:120::-;-1:-1:-1;;;;;53832:14:0;;53805:7;53832:14;;;:7;:14;;;;;:24;;:22;:24::i;:::-;53825:31;53744:120;-1:-1:-1;;53744:120:0:o;54583:85::-;54626:7;54653;37712:79;37777:6;;-1:-1:-1;;;;;37777:6:0;37712:79;:::o;15975:87::-;16047:7;16040:14;;;;;;;;-1:-1:-1;;16040:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16014:13;;16040:14;;16047:7;;16040:14;;16047:7;16040:14;;;;;;;;;;;;;;;;;;;;;;;;19981:269;20074:4;20091:129;20100:12;:10;:12::i;:::-;20114:7;20123:96;20162:15;20123:96;;;;;;;;;;;;;;;;;:11;:25;20135:12;:10;:12::i;:::-;-1:-1:-1;;;;;20123:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;20123:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;17343:175::-;17429:4;17446:42;17456:12;:10;:12::i;:::-;17470:9;17481:6;17446:9;:42::i;52862:816::-;53091:8;53072:15;:27;;53064:69;;;;;-1:-1:-1;;;53064:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53329:14:0;;53146:18;53329:14;;;:7;:14;;;;;53220:16;;53255:5;;53279:7;;53305:5;;53329:24;;:22;:24::i;:::-;53372:8;53191:204;;;;;;;;;;;-1:-1:-1;;;;;53191:204:0;;;;;;-1:-1:-1;;;;;53191:204:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53167:239;;;;;;53146:260;;53419:12;53434:28;53451:10;53434:16;:28::i;:::-;53419:43;;53475:14;53492:28;53506:4;53512:1;53515;53518;53492:13;:28::i;:::-;53475:45;;53549:5;-1:-1:-1;;;;;53539:15:0;:6;-1:-1:-1;;;;;53539:15:0;;53531:58;;;;;-1:-1:-1;;;53531:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53602:14:0;;;;;;:7;:14;;;;;:26;;:24;:26::i;:::-;53639:31;53648:5;53655:7;53664:5;53639:8;:31::i;:::-;52862:816;;;;;;;;;;:::o;17581:151::-;-1:-1:-1;;;;;17697:18:0;;;17670:7;17697:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;17581:151::o;38657:244::-;37934:12;:10;:12::i;:::-;37924:6;;-1:-1:-1;;;;;37924:6:0;;;:22;;;37916:67;;;;;-1:-1:-1;;;37916:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;37916:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;38746:22:0;::::1;38738:73;;;;-1:-1:-1::0;;;38738:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38848:6;::::0;38827:38:::1;::::0;-1:-1:-1;;;;;38827:38:0;;::::1;::::0;38848:6:::1;::::0;38827:38:::1;::::0;38848:6:::1;::::0;38827:38:::1;38876:6;:17:::0;;-1:-1:-1;;;;;;38876:17:0::1;-1:-1:-1::0;;;;;38876:17:0;;;::::1;::::0;;;::::1;::::0;;38657:244::o;5047:106::-;5135:10;5047:106;:::o;23128:346::-;-1:-1:-1;;;;;23230:19:0;;23222:68;;;;-1:-1:-1;;;23222:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23309:21:0;;23301:68;;;;-1:-1:-1;;;23301:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23382:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;23434:32;;;;;;;;;;;;;;;;;23128:346;;;:::o;20740:539::-;-1:-1:-1;;;;;20846:20:0;;20838:70;;;;-1:-1:-1;;;20838:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20927:23:0;;20919:71;;;;-1:-1:-1;;;20919:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21003:47;21024:6;21032:9;21043:6;21003:20;:47::i;:::-;21083:71;21105:6;21083:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21083:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;21063:17:0;;;:9;:17;;;;;;;;;;;:91;;;;21188:20;;;;;;;:32;;21213:6;21188:24;:32::i;:::-;-1:-1:-1;;;;;21165:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;21236:35;;;;;;;21165:20;;21236:35;;;;;;;;;;;;;20740:539;;;:::o;10048:192::-;10134:7;10170:12;10162:6;;;;10154:29;;;;-1:-1:-1;;;10154:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10206:5:0;;;10048:192::o;50042:281::-;50095:7;50136:16;50119:13;:11;:13::i;:::-;:33;50115:201;;;-1:-1:-1;50176:24:0;50169:31;;50115:201;50240:64;50262:10;50274:12;50288:15;50240:21;:64::i;:::-;50233:71;;;;9145:181;9203:7;9235:5;;;9259:6;;;;9251:46;;;;;-1:-1:-1;;;9251:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;21561:378;-1:-1:-1;;;;;21645:21:0;;21637:65;;;;;-1:-1:-1;;;21637:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21715:49;21744:1;21748:7;21757:6;21715:20;:49::i;:::-;21792:12;;:24;;21809:6;21792:16;:24::i;:::-;21777:12;:39;-1:-1:-1;;;;;21848:18:0;;:9;:18;;;;;;;;;;;:30;;21871:6;21848:22;:30::i;:::-;-1:-1:-1;;;;;21827:18:0;;:9;:18;;;;;;;;;;;:51;;;;21894:37;;;;;;;21827:18;;:9;;21894:37;;;;;;;;;;21561:378;;:::o;22272:418::-;-1:-1:-1;;;;;22356:21:0;;22348:67;;;;-1:-1:-1;;;22348:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22428:49;22449:7;22466:1;22470:6;22428:20;:49::i;:::-;22511:68;22534:6;22511:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22511:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;22490:18:0;;:9;:18;;;;;;;;;;:89;22605:12;;:24;;22622:6;22605:16;:24::i;:::-;22590:12;:39;22645:37;;;;;;;;22671:1;;-1:-1:-1;;;;;22645:37:0;;;;;;;;;;;;22272:418;;:::o;33528:177::-;33638:58;;;-1:-1:-1;;;;;33638:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33638:58:0;-1:-1:-1;;;33638:58:0;;;33611:86;;33631:5;;33611:19;:86::i;40033:114::-;40125:14;;40033:114::o;51310:177::-;51379:7;51445:20;:18;:20::i;:::-;51467:10;51416:62;;;;;;-1:-1:-1;;;51416:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51406:73;;;;;;51399:80;;51310:177;;;:::o;44935:1428::-;45020:7;45945:66;45931:80;;;45923:125;;;;;-1:-1:-1;;;45923:125:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46067:1;:7;;46072:2;46067:7;:18;;;;46078:1;:7;;46083:2;46078:7;46067:18;46059:63;;;;;-1:-1:-1;;;46059:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46220:14;46237:24;46247:4;46253:1;46256;46259;46237:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46237:24:0;;-1:-1:-1;;46237:24:0;;;-1:-1:-1;;;;;;;46280:20:0;;46272:57;;;;;-1:-1:-1;;;46272:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46349:6;44935:1428;-1:-1:-1;;;;;44935:1428:0:o;40155:181::-;40309:19;;40327:1;40309:19;;;40155:181::o;51495:192::-;51660:9;;51634:46::o;50331:337::-;50433:7;50513:8;50540:4;50563:7;50589:13;:11;:13::i;:::-;50629:4;50484:165;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50484:165:0;;;;;;;;;;;;;;;;;;;;;;;;50460:200;;;;;;50453:207;;50331:337;;;;;:::o;9609:136::-;9667:7;9694:43;9698:1;9701;9694:43;;;;;;;;;;;;;;;;;:3;:43::i;35833:761::-;36257:23;36283:69;36311:4;36283:69;;;;;;;;;;;;;;;;;36291:5;-1:-1:-1;;;;;36283:27:0;;;:69;;;;;:::i;:::-;36367:17;;36257:95;;-1:-1:-1;36367:21:0;36363:224;;36509:10;36498:30;;;;;;;;;;;;;;;-1:-1:-1;36498:30:0;36490:85;;;;-1:-1:-1;;;36490:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29525:195;29628:12;29660:52;29682:6;29690:4;29696:1;29699:12;29660:21;:52::i;:::-;29653:59;29525:195;-1:-1:-1;;;;29525:195:0:o;30577:530::-;30704:12;30762:5;30737:21;:30;;30729:81;;;;-1:-1:-1;;;30729:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30829:18;30840:6;30829:10;:18::i;:::-;30821:60;;;;;-1:-1:-1;;;30821:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30955:12;30969:23;30996:6;-1:-1:-1;;;;;30996:11:0;31016:5;31024:4;30996:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30996:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30954:75;;;;31047:52;31065:7;31074:10;31086:12;31047:17;:52::i;:::-;31040:59;30577:530;-1:-1:-1;;;;;;;30577:530:0:o;26607:422::-;26974:20;27013:8;;;26607:422::o;32113:742::-;32228:12;32257:7;32253:595;;;-1:-1:-1;32288:10:0;32281:17;;32253:595;32402:17;;:21;32398:439;;32665:10;32659:17;32726:15;32713:10;32709:2;32705:19;32698:44;32613:148;32801:20;;-1:-1:-1;;;32801:20:0;;;;;;;;;;;;;;;;;32808:12;;32801:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://1d244be98c1fb3f995eeec402ce34e55e2b4b3dd1ca838b731aa9c5628f9dafb
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.