ETH Price: $3,478.55 (+0.42%)

Token

MegaCryptoPolis $MEGA Token (MEGA) (MEGA)
 

Overview

Max Total Supply

1,000,000 MEGA

Holders

859 (0.00%)

Market

Price

$4.58 @ 0.001317 ETH

Onchain Market Cap

$4,582,143.98

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.003375878275007271 MEGA

Value
$0.02 ( ~5.74952110249136E-06 Eth) [0.0000%]
0x9eb4934312b06Fad2917F59e528AebBe3328fC8F
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

MegaCryptoPolis is a city builder strategy game - where every land plot is a token owned by a player. Players can construct buildings, produce resources, trade on the open market, drive cars, hunt tornadoes. Players yields $MEGA as reward.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MBe

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-28
*/

pragma solidity ^0.6.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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

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

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

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

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

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

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

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

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

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
    address public owner;


    /**
     * @dev The Ownable constructor sets the original `owner` of the contract to the sender
     * account.
     */
    constructor() public {
        owner = msg.sender;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(msg.sender == owner, "Only owner");
        _;
    }

    /**
     * @dev Allows the current owner to transfer control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0), "Transfer to null address is not allowed");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }

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

}

contract Beneficiary is Ownable {

    address payable public beneficiary;

    constructor() public  {
        beneficiary = msg.sender;
    }

    function setBeneficiary(address payable _beneficiary) public onlyOwner {
        beneficiary = _beneficiary;
    }

    function withdrawal(uint256 value) public onlyOwner {
        if (value > address(this).balance) {
            revert("Insufficient balance");
        }

        beneficiaryPayout(value);
    }

    function withdrawalAll() public onlyOwner {
        beneficiaryPayout(address(this).balance);
    }

    function beneficiaryPayout(uint256 value) internal {
        beneficiary.transfer(value);
        emit BeneficiaryPayout(value);
    }

    event BeneficiaryPayout(uint256 value);
}



contract Manageable is Beneficiary {

    mapping(address => bool) public managers;

    modifier onlyManager() {

        require(managers[msg.sender] || msg.sender == address(this), "Only managers allowed");
        _;
    }


    constructor() public {
        managers[msg.sender] = true;
    }

    function setManager(address _manager) public onlyOwner {
        managers[_manager] = true;
    }

    function deleteManager(address _manager) public onlyOwner {
        delete managers[_manager];
    }

}



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


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

/**
 * @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;
    using Address for address;

    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 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), "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 { }
}


contract MBe is ERC20, Manageable {
    uint public cap = 1_000_000 * 1e18;

    address payable operator = address(0);

    constructor() ERC20("MegaCryptoPolis $MEGA Token (MEGA)", "MEGA") public {
        _mint(address(this), cap - 100_000 * 1e18);
        _mint(address(0x333e3763085FC14854978f89261890339cB2F6a9), 100_000 * 1e18);
    }

    function setOperator(address payable _operator) public onlyManager {
        operator = _operator;
        _approve(address(this), _operator, cap);
    }

    function increaseOperatorAllowance() public onlyManager {
        _approve(address(this), operator, allowance(address(this), operator) + cap);
    }

    function decreaseOperatorAllowance() public onlyManager {
        _approve(address(this), operator, 0);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"BeneficiaryPayout","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":[{"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":"beneficiary","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"decreaseOperatorAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"deleteManager","outputs":[],"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":"increaseOperatorAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"managers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_beneficiary","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_operator","type":"address"}],"name":"setOperator","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"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"withdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405269d3c21bcecceda1000000600855600980546001600160a01b03191690553480156200002f57600080fd5b506040518060600160405280602281526020016200151460229139604051806040016040528060048152602001634d45474160e01b81525081600390805190602001906200007f929190620002a8565b50805162000095906004906020840190620002a8565b505060058054336101008102610100600160a81b031960ff199384166012171617909255600680546001600160a01b0319168317905560009182526007602052604090912080549091166001179055506008546200010290309069152d02c7e14af67fffff190162000132565b6200012c73333e3763085fc14854978f89261890339cb2f6a969152d02c7e14af680000062000132565b62000344565b6001600160a01b0382166200018e576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200019c6000838362000241565b620001b8816002546200024660201b62000ca91790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620001eb91839062000ca962000246821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b600082820183811015620002a1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002eb57805160ff19168380011785556200031b565b828001600101855582156200031b579182015b828111156200031b578251825591602001919060010190620002fe565b50620003299291506200032d565b5090565b5b808211156200032957600081556001016200032e565b6111c080620003546000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80638da5cb5b116100c3578063b3ab15fb1161007c578063b3ab15fb146103e9578063d0ebdbe71461040f578063dd62ed3e14610435578063f2fde38b14610463578063f44b79b314610489578063fdff9b4d1461049157610158565b80638da5cb5b1461035357806395d89b411461035b57806396799760146103635780639f23676614610389578063a457c2d714610391578063a9059cbb146103bd57610158565b8063313ce56711610115578063313ce5671461029a578063355274ea146102b857806338af3eed146102c057806339509351146102e457806370a0823114610310578063835fc6ca1461033657610158565b806306fdde031461015d578063095ea7b3146101da57806309d331531461021a57806318160ddd146102245780631c31f7101461023e57806323b872dd14610264575b600080fd5b6101656104b7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019f578181015183820152602001610187565b50505050905090810190601f1680156101cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610206600480360360408110156101f057600080fd5b506001600160a01b03813516906020013561054d565b604080519115158252519081900360200190f35b61022261056a565b005b61022c6105eb565b60408051918252519081900360200190f35b6102226004803603602081101561025457600080fd5b50356001600160a01b03166105f1565b6102066004803603606081101561027a57600080fd5b506001600160a01b03813581169160208101359091169060400135610664565b6102a26106eb565b6040805160ff9092168252519081900360200190f35b61022c6106f4565b6102c86106fa565b604080516001600160a01b039092168252519081900360200190f35b610206600480360360408110156102fa57600080fd5b506001600160a01b038135169060200135610709565b61022c6004803603602081101561032657600080fd5b50356001600160a01b0316610757565b6102226004803603602081101561034c57600080fd5b5035610772565b6102c861081b565b61016561082f565b6102226004803603602081101561037957600080fd5b50356001600160a01b0316610890565b610222610902565b610206600480360360408110156103a757600080fd5b506001600160a01b038135169060200135610990565b610206600480360360408110156103d357600080fd5b506001600160a01b0381351690602001356109f8565b610222600480360360208110156103ff57600080fd5b50356001600160a01b0316610a0c565b6102226004803603602081101561042557600080fd5b50356001600160a01b0316610a9d565b61022c6004803603604081101561044b57600080fd5b506001600160a01b0381358116916020013516610b12565b6102226004803603602081101561047957600080fd5b50356001600160a01b0316610b3d565b610222610c3a565b610206600480360360208110156104a757600080fd5b50356001600160a01b0316610c94565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105435780601f1061051857610100808354040283529160200191610543565b820191906000526020600020905b81548152906001019060200180831161052657829003601f168201915b5050505050905090565b600061056161055a610d0a565b8484610d0e565b50600192915050565b3360009081526007602052604090205460ff168061058757503330145b6105d0576040805162461bcd60e51b815260206004820152601560248201527413db9b1e481b585b9859d95c9cc8185b1b1bddd959605a1b604482015290519081900360640190fd5b6009546105e99030906001600160a01b03166000610d0e565b565b60025490565b60055461010090046001600160a01b03163314610642576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000610671848484610dfa565b6106e18461067d610d0a565b6106dc856040518060600160405280602881526020016110ce602891396001600160a01b038a166000908152600160205260408120906106bb610d0a565b6001600160a01b031681526020810191909152604001600020549190610f55565b610d0e565b5060019392505050565b60055460ff1690565b60085481565b6006546001600160a01b031681565b6000610561610716610d0a565b846106dc8560016000610727610d0a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ca9565b6001600160a01b031660009081526020819052604090205490565b60055461010090046001600160a01b031633146107c3576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b4781111561080f576040805162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b61081881610fec565b50565b60055461010090046001600160a01b031681565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105435780601f1061051857610100808354040283529160200191610543565b60055461010090046001600160a01b031633146108e1576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03166000908152600760205260409020805460ff19169055565b3360009081526007602052604090205460ff168061091f57503330145b610968576040805162461bcd60e51b815260206004820152601560248201527413db9b1e481b585b9859d95c9cc8185b1b1bddd959605a1b604482015290519081900360640190fd5b6009546008546105e99130916001600160a01b039091169061098a8383610b12565b01610d0e565b600061056161099d610d0a565b846106dc8560405180606001604052806025815260200161116660259139600160006109c7610d0a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610f55565b6000610561610a05610d0a565b8484610dfa565b3360009081526007602052604090205460ff1680610a2957503330145b610a72576040805162461bcd60e51b815260206004820152601560248201527413db9b1e481b585b9859d95c9cc8185b1b1bddd959605a1b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0383161790556008546108189030908390610d0e565b60055461010090046001600160a01b03163314610aee576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60055461010090046001600160a01b03163314610b8e576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b038116610bd35760405162461bcd60e51b815260040180806020018281038252602781526020018061113f6027913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60055461010090046001600160a01b03163314610c8b576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b6105e947610fec565b60076020526000908152604090205460ff1681565b600082820183811015610d03576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610d535760405162461bcd60e51b815260040180806020018281038252602481526020018061111b6024913960400191505060405180910390fd5b6001600160a01b038216610d985760405162461bcd60e51b81526004018080602001828103825260228152602001806110866022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610e3f5760405162461bcd60e51b81526004018080602001828103825260258152602001806110f66025913960400191505060405180910390fd5b6001600160a01b038216610e845760405162461bcd60e51b81526004018080602001828103825260238152602001806110636023913960400191505060405180910390fd5b610e8f83838361105d565b610ecc816040518060600160405280602681526020016110a8602691396001600160a01b0386166000908152602081905260409020549190610f55565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610efb9082610ca9565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610fe45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fa9578181015183820152602001610f91565b50505050905090810190601f168015610fd65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6006546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611026573d6000803e3d6000fd5b506040805182815290517f44d31cfe5762fdf05f81963fac293a41a517d0310b09759df225379688bd09e19181900360200190a150565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735472616e7366657220746f206e756c6c2061646472657373206973206e6f7420616c6c6f77656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ee957830930a525c16d934042efd08a8980b5c444df9bbeecf40eb225b79a50f64736f6c634300060c00334d65676143727970746f506f6c697320244d45474120546f6b656e20284d45474129

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c80638da5cb5b116100c3578063b3ab15fb1161007c578063b3ab15fb146103e9578063d0ebdbe71461040f578063dd62ed3e14610435578063f2fde38b14610463578063f44b79b314610489578063fdff9b4d1461049157610158565b80638da5cb5b1461035357806395d89b411461035b57806396799760146103635780639f23676614610389578063a457c2d714610391578063a9059cbb146103bd57610158565b8063313ce56711610115578063313ce5671461029a578063355274ea146102b857806338af3eed146102c057806339509351146102e457806370a0823114610310578063835fc6ca1461033657610158565b806306fdde031461015d578063095ea7b3146101da57806309d331531461021a57806318160ddd146102245780631c31f7101461023e57806323b872dd14610264575b600080fd5b6101656104b7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019f578181015183820152602001610187565b50505050905090810190601f1680156101cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610206600480360360408110156101f057600080fd5b506001600160a01b03813516906020013561054d565b604080519115158252519081900360200190f35b61022261056a565b005b61022c6105eb565b60408051918252519081900360200190f35b6102226004803603602081101561025457600080fd5b50356001600160a01b03166105f1565b6102066004803603606081101561027a57600080fd5b506001600160a01b03813581169160208101359091169060400135610664565b6102a26106eb565b6040805160ff9092168252519081900360200190f35b61022c6106f4565b6102c86106fa565b604080516001600160a01b039092168252519081900360200190f35b610206600480360360408110156102fa57600080fd5b506001600160a01b038135169060200135610709565b61022c6004803603602081101561032657600080fd5b50356001600160a01b0316610757565b6102226004803603602081101561034c57600080fd5b5035610772565b6102c861081b565b61016561082f565b6102226004803603602081101561037957600080fd5b50356001600160a01b0316610890565b610222610902565b610206600480360360408110156103a757600080fd5b506001600160a01b038135169060200135610990565b610206600480360360408110156103d357600080fd5b506001600160a01b0381351690602001356109f8565b610222600480360360208110156103ff57600080fd5b50356001600160a01b0316610a0c565b6102226004803603602081101561042557600080fd5b50356001600160a01b0316610a9d565b61022c6004803603604081101561044b57600080fd5b506001600160a01b0381358116916020013516610b12565b6102226004803603602081101561047957600080fd5b50356001600160a01b0316610b3d565b610222610c3a565b610206600480360360208110156104a757600080fd5b50356001600160a01b0316610c94565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105435780601f1061051857610100808354040283529160200191610543565b820191906000526020600020905b81548152906001019060200180831161052657829003601f168201915b5050505050905090565b600061056161055a610d0a565b8484610d0e565b50600192915050565b3360009081526007602052604090205460ff168061058757503330145b6105d0576040805162461bcd60e51b815260206004820152601560248201527413db9b1e481b585b9859d95c9cc8185b1b1bddd959605a1b604482015290519081900360640190fd5b6009546105e99030906001600160a01b03166000610d0e565b565b60025490565b60055461010090046001600160a01b03163314610642576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000610671848484610dfa565b6106e18461067d610d0a565b6106dc856040518060600160405280602881526020016110ce602891396001600160a01b038a166000908152600160205260408120906106bb610d0a565b6001600160a01b031681526020810191909152604001600020549190610f55565b610d0e565b5060019392505050565b60055460ff1690565b60085481565b6006546001600160a01b031681565b6000610561610716610d0a565b846106dc8560016000610727610d0a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ca9565b6001600160a01b031660009081526020819052604090205490565b60055461010090046001600160a01b031633146107c3576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b4781111561080f576040805162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b61081881610fec565b50565b60055461010090046001600160a01b031681565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105435780601f1061051857610100808354040283529160200191610543565b60055461010090046001600160a01b031633146108e1576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03166000908152600760205260409020805460ff19169055565b3360009081526007602052604090205460ff168061091f57503330145b610968576040805162461bcd60e51b815260206004820152601560248201527413db9b1e481b585b9859d95c9cc8185b1b1bddd959605a1b604482015290519081900360640190fd5b6009546008546105e99130916001600160a01b039091169061098a8383610b12565b01610d0e565b600061056161099d610d0a565b846106dc8560405180606001604052806025815260200161116660259139600160006109c7610d0a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610f55565b6000610561610a05610d0a565b8484610dfa565b3360009081526007602052604090205460ff1680610a2957503330145b610a72576040805162461bcd60e51b815260206004820152601560248201527413db9b1e481b585b9859d95c9cc8185b1b1bddd959605a1b604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0383161790556008546108189030908390610d0e565b60055461010090046001600160a01b03163314610aee576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60055461010090046001600160a01b03163314610b8e576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b6001600160a01b038116610bd35760405162461bcd60e51b815260040180806020018281038252602781526020018061113f6027913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60055461010090046001600160a01b03163314610c8b576040805162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b604482015290519081900360640190fd5b6105e947610fec565b60076020526000908152604090205460ff1681565b600082820183811015610d03576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610d535760405162461bcd60e51b815260040180806020018281038252602481526020018061111b6024913960400191505060405180910390fd5b6001600160a01b038216610d985760405162461bcd60e51b81526004018080602001828103825260228152602001806110866022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610e3f5760405162461bcd60e51b81526004018080602001828103825260258152602001806110f66025913960400191505060405180910390fd5b6001600160a01b038216610e845760405162461bcd60e51b81526004018080602001828103825260238152602001806110636023913960400191505060405180910390fd5b610e8f83838361105d565b610ecc816040518060600160405280602681526020016110a8602691396001600160a01b0386166000908152602081905260409020549190610f55565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610efb9082610ca9565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610fe45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fa9578181015183820152602001610f91565b50505050905090810190601f168015610fd65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6006546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611026573d6000803e3d6000fd5b506040805182815290517f44d31cfe5762fdf05f81963fac293a41a517d0310b09759df225379688bd09e19181900360200190a150565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735472616e7366657220746f206e756c6c2061646472657373206973206e6f7420616c6c6f77656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ee957830930a525c16d934042efd08a8980b5c444df9bbeecf40eb225b79a50f64736f6c634300060c0033

Deployed Bytecode Sourcemap

27973:793:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19154:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21260:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21260:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;28652:111;;;:::i;:::-;;20229:100;;;:::i;:::-;;;;;;;;;;;;;;;;12783:116;;;;;;;;;;;;;;;;-1:-1:-1;12783:116:0;-1:-1:-1;;;;;12783:116:0;;:::i;21903:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21903:321:0;;;;;;;;;;;;;;;;;:::i;20081:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28014:34;;;:::i;12667:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;12667:34:0;;;;;;;;;;;;;;22633:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22633:218:0;;;;;;;;:::i;20392:119::-;;;;;;;;;;;;;;;;-1:-1:-1;20392:119:0;-1:-1:-1;;;;;20392:119:0;;:::i;12907:199::-;;;;;;;;;;;;;;;;-1:-1:-1;12907:199:0;;:::i;11709:20::-;;;:::i;19356:87::-;;;:::i;13844:102::-;;;;;;;;;;;;;;;;-1:-1:-1;13844:102:0;-1:-1:-1;;;;;13844:102:0;;:::i;28494:150::-;;;:::i;23354:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23354:269:0;;;;;;;;:::i;20724:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20724:175:0;;;;;;;;:::i;28330:156::-;;;;;;;;;;;;;;;;-1:-1:-1;28330:156:0;-1:-1:-1;;;;;28330:156:0;;:::i;13737:99::-;;;;;;;;;;;;;;;;-1:-1:-1;13737:99:0;-1:-1:-1;;;;;13737:99:0;;:::i;20962:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20962:151:0;;;;;;;;;;:::i;12290:235::-;;;;;;;;;;;;;;;;-1:-1:-1;12290:235:0;-1:-1:-1;;;;;12290:235:0;;:::i;13114:101::-;;;:::i;13462:40::-;;;;;;;;;;;;;;;;-1:-1:-1;13462:40:0;-1:-1:-1;;;;;13462:40:0;;:::i;19154:83::-;19224:5;19217:12;;;;;;;;-1:-1:-1;;19217:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19191:13;;19217:12;;19224:5;;19217:12;;19224:5;19217:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19154:83;:::o;21260:169::-;21343:4;21360:39;21369:12;:10;:12::i;:::-;21383:7;21392:6;21360:8;:39::i;:::-;-1:-1:-1;21417:4:0;21260:169;;;;:::o;28652:111::-;13564:10;13555:20;;;;:8;:20;;;;;;;;;:51;;-1:-1:-1;13579:10:0;13601:4;13579:27;13555:51;13547:85;;;;;-1:-1:-1;;;13547:85:0;;;;;;;;;;;;-1:-1:-1;;;13547:85:0;;;;;;;;;;;;;;;28743:8:::1;::::0;28719:36:::1;::::0;28736:4:::1;::::0;-1:-1:-1;;;;;28743:8:0::1;;28719;:36::i;:::-;28652:111::o:0;20229:100::-;20309:12;;20229:100;:::o;12783:116::-;12073:5;;;;;-1:-1:-1;;;;;12073:5:0;12059:10;:19;12051:42;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;;;;12865:11:::1;:26:::0;;-1:-1:-1;;;;;;12865:26:0::1;-1:-1:-1::0;;;;;12865:26:0;;;::::1;::::0;;;::::1;::::0;;12783:116::o;21903:321::-;22009:4;22026:36;22036:6;22044:9;22055:6;22026:9;:36::i;:::-;22073:121;22082:6;22090:12;:10;:12::i;:::-;22104:89;22142:6;22104:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22104:19:0;;;;;;:11;:19;;;;;;22124:12;:10;:12::i;:::-;-1:-1:-1;;;;;22104:33:0;;;;;;;;;;;;-1:-1:-1;22104:33:0;;;:89;:37;:89::i;:::-;22073:8;:121::i;:::-;-1:-1:-1;22212:4:0;21903:321;;;;;:::o;20081:83::-;20147:9;;;;20081:83;:::o;28014:34::-;;;;:::o;12667:::-;;;-1:-1:-1;;;;;12667:34:0;;:::o;22633:218::-;22721:4;22738:83;22747:12;:10;:12::i;:::-;22761:7;22770:50;22809:10;22770:11;:25;22782:12;:10;:12::i;:::-;-1:-1:-1;;;;;22770:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;22770:25:0;;;:34;;;;;;;;;;;:38;:50::i;20392:119::-;-1:-1:-1;;;;;20485:18:0;20458:7;20485:18;;;;;;;;;;;;20392:119::o;12907:199::-;12073:5;;;;;-1:-1:-1;;;;;12073:5:0;12059:10;:19;12051:42;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;;;;12982:21:::1;12974:5;:29;12970:92;;;13020:30;::::0;;-1:-1:-1;;;13020:30:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;13020:30:0;;;;;;;;;;;;;::::1;12970:92;13074:24;13092:5;13074:17;:24::i;:::-;12907:199:::0;:::o;11709:20::-;;;;;;-1:-1:-1;;;;;11709:20:0;;:::o;19356:87::-;19428:7;19421:14;;;;;;;;-1:-1:-1;;19421:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19395:13;;19421:14;;19428:7;;19421:14;;19428:7;19421:14;;;;;;;;;;;;;;;;;;;;;;;;13844:102;12073:5;;;;;-1:-1:-1;;;;;12073:5:0;12059:10;:19;12051:42;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;13920:18:0::1;;::::0;;;:8:::1;:18;::::0;;;;13913:25;;-1:-1:-1;;13913:25:0::1;::::0;;13844:102::o;28494:150::-;13564:10;13555:20;;;;:8;:20;;;;;;;;;:51;;-1:-1:-1;13579:10:0;13601:4;13579:27;13555:51;13547:85;;;;;-1:-1:-1;;;13547:85:0;;;;;;;;;;;;-1:-1:-1;;;13547:85:0;;;;;;;;;;;;;;;28585:8:::1;::::0;28632:3:::1;::::0;28561:75:::1;::::0;28578:4:::1;::::0;-1:-1:-1;;;;;28585:8:0;;::::1;::::0;28595:34:::1;28578:4:::0;28585:8;28595:9:::1;:34::i;:::-;:40;28561:8;:75::i;23354:269::-:0;23447:4;23464:129;23473:12;:10;:12::i;:::-;23487:7;23496:96;23535:15;23496:96;;;;;;;;;;;;;;;;;:11;:25;23508:12;:10;:12::i;:::-;-1:-1:-1;;;;;23496:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;23496:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;20724:175::-;20810:4;20827:42;20837:12;:10;:12::i;:::-;20851:9;20862:6;20827:9;:42::i;28330:156::-;13564:10;13555:20;;;;:8;:20;;;;;;;;;:51;;-1:-1:-1;13579:10:0;13601:4;13579:27;13555:51;13547:85;;;;;-1:-1:-1;;;13547:85:0;;;;;;;;;;;;-1:-1:-1;;;13547:85:0;;;;;;;;;;;;;;;28408:8:::1;:20:::0;;-1:-1:-1;;;;;;28408:20:0::1;-1:-1:-1::0;;;;;28408:20:0;::::1;;::::0;;28474:3:::1;::::0;28439:39:::1;::::0;28456:4:::1;::::0;28408:20;;28439:8:::1;:39::i;13737:99::-:0;12073:5;;;;;-1:-1:-1;;;;;12073:5:0;12059:10;:19;12051:42;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;13803:18:0::1;;::::0;;;:8:::1;:18;::::0;;;;:25;;-1:-1:-1;;13803:25:0::1;13824:4;13803:25;::::0;;13737:99::o;20962:151::-;-1:-1:-1;;;;;21078:18:0;;;21051:7;21078:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;20962:151::o;12290:235::-;12073:5;;;;;-1:-1:-1;;;;;12073:5:0;12059:10;:19;12051:42;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;12371:22:0;::::1;12363:74;;;;-1:-1:-1::0;;;12363:74:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12474:5;::::0;12453:37:::1;::::0;-1:-1:-1;;;;;12453:37:0;;::::1;::::0;12474:5:::1;::::0;::::1;;::::0;12453:37:::1;::::0;;;::::1;12501:5;:16:::0;;-1:-1:-1;;;;;12501:16:0;;::::1;;;-1:-1:-1::0;;;;;;12501:16:0;;::::1;::::0;;;::::1;::::0;;12290:235::o;13114:101::-;12073:5;;;;;-1:-1:-1;;;;;12073:5:0;12059:10;:19;12051:42;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;-1:-1:-1;;;12051:42:0;;;;;;;;;;;;;;;13167:40:::1;13185:21;13167:17;:40::i;13462:::-:0;;;;;;;;;;;;;;;:::o;7030:181::-;7088:7;7120:5;;;7144:6;;;;7136:46;;;;;-1:-1:-1;;;7136:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7202:1;7030:181;-1:-1:-1;;;7030:181:0:o;16707:106::-;16795:10;16707:106;:::o;26501:346::-;-1:-1:-1;;;;;26603:19:0;;26595:68;;;;-1:-1:-1;;;26595:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26682:21:0;;26674:68;;;;-1:-1:-1;;;26674:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26755:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;26807:32;;;;;;;;;;;;;;;;;26501:346;;;:::o;24113:539::-;-1:-1:-1;;;;;24219:20:0;;24211:70;;;;-1:-1:-1;;;24211:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24300:23:0;;24292:71;;;;-1:-1:-1;;;24292:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24376:47;24397:6;24405:9;24416:6;24376:20;:47::i;:::-;24456:71;24478:6;24456:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24456:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;24436:17:0;;;:9;:17;;;;;;;;;;;:91;;;;24561:20;;;;;;;:32;;24586:6;24561:24;:32::i;:::-;-1:-1:-1;;;;;24538:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;24609:35;;;;;;;24538:20;;24609:35;;;;;;;;;;;;;24113:539;;;:::o;7933:192::-;8019:7;8055:12;8047:6;;;;8039:29;;;;-1:-1:-1;;;8039:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8091:5:0;;;7933:192::o;13223:137::-;13285:11;;:27;;-1:-1:-1;;;;;13285:11:0;;;;:27;;;;;13306:5;;13285:11;:27;:11;:27;13306:5;13285:11;:27;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13328:24:0;;;;;;;;;;;;;;;;;13223:137;:::o;27872:92::-;;;;:::o

Swarm Source

ipfs://ee957830930a525c16d934042efd08a8980b5c444df9bbeecf40eb225b79a50f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.