ETH Price: $3,882.44 (-0.11%)

Token

ERC-20: coordinape.com (CO)
 

Overview

Max Total Supply

310,030,322.05 CO

Holders

75

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
hq.spengrah.eth
Balance
14,285.71429 CO

Value
$0.00
0x15c6ac4cf1b5e49c44332fb0a1043ccab19db80a
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
COToken

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
File 1 of 7 : ApeToken.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.2;

import "ERC20.sol";
import "ECDSA.sol";
import "TokenAccessControl.sol";

contract COToken is ERC20("coordinape.com", "CO"), TokenAccessControl {
	uint256 immutable private _cap = 1_000_000_000 ether;

	bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

	mapping(address => uint256) public nonces;

	constructor() {
	}

	function cap() public view virtual returns (uint256) {
        return _cap;
    }

	function _mint(address account, uint256 amount) internal virtual override {
        require(totalSupply() + amount <= cap(), "COToken: cap exceeded");
        super._mint(account, amount);
    }

    function mint(address _account, uint256 _amount) external isMinter(msg.sender) {
        _mint(_account, _amount);
    }

    function DOMAIN_SEPARATOR() public view returns(bytes32) {
        uint chainId = block.chainid;
        return keccak256(
            abi.encode(
                keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
                keccak256(bytes("coordinape.com")),
                keccak256(bytes('1')),
                chainId,
                address(this)
            )
        );
    }

	function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
        require(block.timestamp <= deadline, "COToken: expired deadline");
        require(owner != address(0), "COToken: owner can't be ZERO address ");

        bytes32 digest = keccak256(
            abi.encode(
				'\x19\x01',
                DOMAIN_SEPARATOR(),
                keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
            )
        );

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

        _approve(owner, spender, value);
    }

    function transfer(address _to, uint256 _amount) public override notPaused returns(bool) {
        require(_to != address(this), "COToken: Cannot transfer to self");
        return ERC20.transfer(_to, _amount);
    }

    function transferFrom(address _from, address _to, uint256 _amount) public override notPaused returns(bool) {
        require(_to != address(this), "COToken: Cannot transfer to self");
        return ERC20.transferFrom(_from, _to, _amount);
    }
}

File 2 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC20.sol";
import "Context.sol";

/**
 * @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 {
    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 this function is
     * overloaded;
     *
     * 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 virtual returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        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] + 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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

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

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += 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 += amount;
        _balances[account] += 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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= 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 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 3 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^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 4 of 7 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^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 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) {
        return msg.sender;
    }

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

File 5 of 7 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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} 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
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * 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));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 6 of 7 : TokenAccessControl.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.2;

import "Ownable.sol";

contract TokenAccessControl is Ownable {
	mapping(address => bool) public minters;
	mapping(address => bool) public allowlistedAddresses;

	bool public paused;
	bool public foreverUnpaused;
	bool public mintingDisabled;
	bool public allowlistDisabled;

	event MintersAdded(address[] minters);
	event MintersRemoved(address[] minters);
	event AllowlistedAddressesAdded(address[] minters);
	event AllowlistedAddressesRemoved(address[] minters);

	event AllowlistDisabled();
	event PauseStatusChanged(bool status);
	event PausingDisabledForever();
	event MintingDisabledForever();


	modifier notPaused() {
		require(!paused || (!allowlistDisabled && allowlistedAddresses[msg.sender]), "AccessControl: User cannot transfer");
		_;
	}

	modifier isMinter(address _caller) {
		require(!mintingDisabled, "AccessControl: Contract cannot mint tokens anymore");
		require(minters[_caller], "AccessControl: Cannot mint");
		_;
	}

	function disableAllowlist() external onlyOwner {
		require(!allowlistDisabled, "AccessControl: Allowlist already disabled");
		allowlistDisabled = true;
		emit AllowlistDisabled();
	}

	function changePauseStatus(bool _status) external onlyOwner {
		require(!foreverUnpaused, "AccessControl: Contract is unpaused forever");
		paused = _status;
		emit PauseStatusChanged(_status);
	}


	function disablePausingForever() external onlyOwner {
		require(!foreverUnpaused, "AccessControl: Contract is unpaused forever");
		foreverUnpaused = true;
		paused = false;
		emit PausingDisabledForever();
	}

	function addMinters(address[] calldata _minters) external onlyOwner {
		require(!mintingDisabled, "AccessControl: Contract cannot mint tokens anymore");

		for(uint256 i = 0; i < _minters.length; i++)
			minters[_minters[i]] = true;
		emit MintersAdded(_minters);
	}

	function removeMinters(address[] calldata _minters) external onlyOwner {
		require(!mintingDisabled, "AccessControl: Contract cannot mint tokens anymore");

		for(uint256 i = 0; i < _minters.length; i++)
			minters[_minters[i]] = false;
		emit MintersRemoved(_minters);
	}

	function addAllowlistedAddresses(address[] calldata _addresses) external onlyOwner {
		require(!allowlistDisabled, "AccessControl: Allowlist already disabled");

		for(uint256 i = 0; i < _addresses.length; i++)
			allowlistedAddresses[_addresses[i]] = true;
		emit AllowlistedAddressesAdded(_addresses);
	}

	function removeAllowlistedAddresses(address[] calldata _addresses) external onlyOwner {
		require(!allowlistDisabled, "AccessControl: Allowlist already disabled");

		for(uint256 i = 0; i < _addresses.length; i++)
			allowlistedAddresses[_addresses[i]] = false;
		emit AllowlistedAddressesRemoved(_addresses);
	}

	function disableMintingForever() external onlyOwner {
		require(!mintingDisabled, "AccessControl: Contract cannot mint anymore");
		mintingDisabled = true;
		emit MintingDisabledForever();
	}
}

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

pragma solidity ^0.8.0;

import "Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"AllowlistDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"minters","type":"address[]"}],"name":"AllowlistedAddressesAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"minters","type":"address[]"}],"name":"AllowlistedAddressesRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"minters","type":"address[]"}],"name":"MintersAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"minters","type":"address[]"}],"name":"MintersRemoved","type":"event"},{"anonymous":false,"inputs":[],"name":"MintingDisabledForever","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":false,"internalType":"bool","name":"status","type":"bool"}],"name":"PauseStatusChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"PausingDisabledForever","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":"_addresses","type":"address[]"}],"name":"addAllowlistedAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_minters","type":"address[]"}],"name":"addMinters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"changePauseStatus","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":"disableAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableMintingForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disablePausingForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"foreverUnpaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeAllowlistedAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_minters","type":"address[]"}],"name":"removeMinters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","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"}]

60c06040526b033b2e3c9fd0803ce80000006080527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960a0523480156200004557600080fd5b50604080518082018252600e81526d636f6f7264696e6170652e636f6d60901b602080830191825283518085019094526002845261434f60f01b908401528151919291620000969160039162000119565b508051620000ac90600490602084019062000119565b5050506000620000c16200011560201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001fc565b3390565b8280546200012790620001bf565b90600052602060002090601f0160209004810192826200014b576000855562000196565b82601f106200016657805160ff191683800117855562000196565b8280016001018555821562000196579182015b828111156200019657825182559160200191906001019062000179565b50620001a4929150620001a8565b5090565b5b80821115620001a45760008155600101620001a9565b600281046001821680620001d457607f821691505b60208210811415620001f657634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051611efc6200022960003960006110580152600081816102ca01526115730152611efc6000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063a457c2d7116100ad578063d505accf1161007c578063d505accf1461041c578063dd62ed3e1461042f578063f2fde38b14610468578063f356c9121461047b578063f46eccc41461048e576101fb565b8063a457c2d7146103db578063a9059cbb146103ee578063c4722a4d14610401578063cf8e629a14610414576101fb565b80637ecebe00116100e95780637ecebe00146103845780638da5cb5b146103a457806395d89b41146103bf5780639b198950146103c7576101fb565b8063715018a61461034f57806371e2a6571461035757806372be7ec31461036a5780637a131ebe14610372576101fb565b80633424b8ce1161019257806340c10f191161016157806340c10f19146103095780635c975abb1461031c5780635fc1964f1461032957806370a082311461033c576101fb565b80633424b8ce146102b5578063355274ea146102c85780633644e515146102ee57806339509351146102f6576101fb565b806318160ddd116101ce57806318160ddd1461026e57806321afb5ee1461028057806323b872dd14610293578063313ce567146102a6576101fb565b806306ca0bad1461020057806306fdde031461020a578063095ea7b314610228578063103ee2f51461024b575b600080fd5b6102086104b1565b005b61021261058d565b60405161021f9190611c7a565b60405180910390f35b61023b610236366004611b76565b61061f565b604051901515815260200161021f565b61023b610259366004611a7e565b60076020526000908152604090205460ff1681565b6002545b60405190815260200161021f565b60085461023b9062010000900460ff1681565b61023b6102a1366004611aca565b610635565b6040516012815260200161021f565b6102086102c3366004611c0e565b6106f6565b7f0000000000000000000000000000000000000000000000000000000000000000610272565b61027261078f565b61023b610304366004611b76565b610864565b610208610317366004611b76565b6108a0565b60085461023b9060ff1681565b610208610337366004611b9f565b610942565b61027261034a366004611a7e565b610a53565b610208610a72565b610208610365366004611b9f565b610ae6565b610208610beb565b60085461023b90610100900460ff1681565b610272610392366004611a7e565b60096020526000908152604090205481565b6005546040516001600160a01b03909116815260200161021f565b610212610c7d565b60085461023b906301000000900460ff1681565b61023b6103e9366004611b76565b610c8c565b61023b6103fc366004611b76565b610d27565b61020861040f366004611b9f565b610de6565b610208610eec565b61020861042a366004611b05565b610f7e565b61027261043d366004611a98565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610208610476366004611a7e565b6111b0565b610208610489366004611b9f565b61129b565b61023b61049c366004611a7e565b60066020526000908152604090205460ff1681565b6005546001600160a01b031633146104e45760405162461bcd60e51b81526004016104db90611d10565b60405180910390fd5b60085462010000900460ff16156105515760405162461bcd60e51b815260206004820152602b60248201527f416363657373436f6e74726f6c3a20436f6e74726163742063616e6e6f74206d60448201526a696e7420616e796d6f726560a81b60648201526084016104db565b6008805462ff00001916620100001790556040517fd498043d7ad0aae95bcd163cc21a9f809917f820b6eb2114164f7eb62af7627a90600090a1565b60606003805461059c90611e5a565b80601f01602080910402602001604051908101604052809291908181526020018280546105c890611e5a565b80156106155780601f106105ea57610100808354040283529160200191610615565b820191906000526020600020905b8154815290600101906020018083116105f857829003601f168201915b5050505050905090565b600061062c3384846113a1565b50600192915050565b60085460009060ff16158061066e57506008546301000000900460ff1615801561066e57503360009081526007602052604090205460ff165b61068a5760405162461bcd60e51b81526004016104db90611ccd565b6001600160a01b0383163014156106e35760405162461bcd60e51b815260206004820181905260248201527f434f546f6b656e3a2043616e6e6f74207472616e7366657220746f2073656c6660448201526064016104db565b6106ee8484846114c5565b949350505050565b6005546001600160a01b031633146107205760405162461bcd60e51b81526004016104db90611d10565b600854610100900460ff16156107485760405162461bcd60e51b81526004016104db90611d45565b6008805460ff19168215159081179091556040519081527fef37df9624f797913e7585c7f7b5d004ba6704be3c64b0561c157728ccc869859060200160405180910390a150565b604080518082018252600e81526d636f6f7264696e6170652e636f6d60901b6020918201528151808301835260018152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527f29f08892e9d9d00942c1a4e8d6437f3fb8ccd5d61f75bf952e083399f724a975818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161062c91859061089b908690611e2b565b6113a1565b600854339062010000900460ff16156108cb5760405162461bcd60e51b81526004016104db90611d90565b6001600160a01b03811660009081526006602052604090205460ff166109335760405162461bcd60e51b815260206004820152601a60248201527f416363657373436f6e74726f6c3a2043616e6e6f74206d696e7400000000000060448201526064016104db565b61093d8383611571565b505050565b6005546001600160a01b0316331461096c5760405162461bcd60e51b81526004016104db90611d10565b60085462010000900460ff16156109955760405162461bcd60e51b81526004016104db90611d90565b60005b81811015610a15576000600660008585858181106109c657634e487b7160e01b600052603260045260246000fd5b90506020020160208101906109db9190611a7e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a0d81611e95565b915050610998565b507fa4bd966469c62332cc5041d465060dbc3e847c7b125422e59ddb3e61a2005ae78282604051610a47929190611c2e565b60405180910390a15050565b6001600160a01b0381166000908152602081905260409020545b919050565b6005546001600160a01b03163314610a9c5760405162461bcd60e51b81526004016104db90611d10565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610b105760405162461bcd60e51b81526004016104db90611d10565b60085462010000900460ff1615610b395760405162461bcd60e51b81526004016104db90611d90565b60005b81811015610bb957600160066000858585818110610b6a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610b7f9190611a7e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610bb181611e95565b915050610b3c565b507f6050e1d24499bf62f6297dc608356dc088c4e4b4fd753a8606207fdf078578e38282604051610a47929190611c2e565b6005546001600160a01b03163314610c155760405162461bcd60e51b81526004016104db90611d10565b600854610100900460ff1615610c3d5760405162461bcd60e51b81526004016104db90611d45565b6008805460ff1961ff0019909116610100171690556040517f3f497821ce68d0936d5908ecb1360ef3c825e415f122cd465b3bab23d6a5bf7490600090a1565b60606004805461059c90611e5a565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610d0e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104db565b610d1d338561089b8685611e43565b5060019392505050565b60085460009060ff161580610d6057506008546301000000900460ff16158015610d6057503360009081526007602052604090205460ff165b610d7c5760405162461bcd60e51b81526004016104db90611ccd565b6001600160a01b038316301415610dd55760405162461bcd60e51b815260206004820181905260248201527f434f546f6b656e3a2043616e6e6f74207472616e7366657220746f2073656c6660448201526064016104db565b610ddf83836115fa565b9392505050565b6005546001600160a01b03163314610e105760405162461bcd60e51b81526004016104db90611d10565b6008546301000000900460ff1615610e3a5760405162461bcd60e51b81526004016104db90611de2565b60005b81811015610eba57600160076000858585818110610e6b57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610e809190611a7e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610eb281611e95565b915050610e3d565b507ff875362c4f1cfd50ea9685a61df0a1c19304428e6c289bf17208b0baa8b575d98282604051610a47929190611c2e565b6005546001600160a01b03163314610f165760405162461bcd60e51b81526004016104db90611d10565b6008546301000000900460ff1615610f405760405162461bcd60e51b81526004016104db90611de2565b6008805463ff000000191663010000001790556040517f2d35c8d348a345fd7b3b03b7cfcf7ad0b60c2d46742d5ca536342e4185becb0790600090a1565b83421115610fce5760405162461bcd60e51b815260206004820152601960248201527f434f546f6b656e3a206578706972656420646561646c696e650000000000000060448201526064016104db565b6001600160a01b0387166110325760405162461bcd60e51b815260206004820152602560248201527f434f546f6b656e3a206f776e65722063616e2774206265205a45524f2061646460448201526403932b9b9960dd1b60648201526084016104db565b600061103c61078f565b6001600160a01b038916600090815260096020526040812080547f0000000000000000000000000000000000000000000000000000000000000000928c928c928c9290919061108a83611e95565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001611111929190606080825260029082015261190160f01b60808201526020810192909252604082015260a00190565b604051602081830303815290604052805190602001209050600061113782868686611607565b9050886001600160a01b0316816001600160a01b03161461119a5760405162461bcd60e51b815260206004820152601a60248201527f434f546f6b656e3a20696e76616c6964207369676e617475726500000000000060448201526064016104db565b6111a58989896113a1565b505050505050505050565b6005546001600160a01b031633146111da5760405162461bcd60e51b81526004016104db90611d10565b6001600160a01b03811661123f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104db565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146112c55760405162461bcd60e51b81526004016104db90611d10565b6008546301000000900460ff16156112ef5760405162461bcd60e51b81526004016104db90611de2565b60005b8181101561136f5760006007600085858581811061132057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906113359190611a7e565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061136781611e95565b9150506112f2565b507f8e57ccca240b595c47024ae5107fe735c445b00720b01a618479f91709ee98038282604051610a47929190611c2e565b6001600160a01b0383166114035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104db565b6001600160a01b0382166114645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104db565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006114d28484846117b0565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156115575760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016104db565b611566853361089b8685611e43565b506001949350505050565b7f00000000000000000000000000000000000000000000000000000000000000008161159c60025490565b6115a69190611e2b565b11156115ec5760405162461bcd60e51b815260206004820152601560248201527410d3d51bdad95b8e8818d85c08195e18d959591959605a1b60448201526064016104db565b6115f68282611988565b5050565b600061062c3384846117b0565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156116845760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104db565b8360ff16601b148061169957508360ff16601c145b6116f05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104db565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015611744573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117a75760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104db565b95945050505050565b6001600160a01b0383166118145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104db565b6001600160a01b0382166118765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104db565b6001600160a01b038316600090815260208190526040902054818110156118ee5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104db565b6118f88282611e43565b6001600160a01b03808616600090815260208190526040808220939093559085168152908120805484929061192e908490611e2b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161197a91815260200190565b60405180910390a350505050565b6001600160a01b0382166119de5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104db565b80600260008282546119f09190611e2b565b90915550506001600160a01b03821660009081526020819052604081208054839290611a1d908490611e2b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b0381168114610a6d57600080fd5b600060208284031215611a8f578081fd5b610ddf82611a67565b60008060408385031215611aaa578081fd5b611ab383611a67565b9150611ac160208401611a67565b90509250929050565b600080600060608486031215611ade578081fd5b611ae784611a67565b9250611af560208501611a67565b9150604084013590509250925092565b600080600080600080600060e0888a031215611b1f578283fd5b611b2888611a67565b9650611b3660208901611a67565b95506040880135945060608801359350608088013560ff81168114611b59578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611b88578182fd5b611b9183611a67565b946020939093013593505050565b60008060208385031215611bb1578182fd5b823567ffffffffffffffff80821115611bc8578384fd5b818501915085601f830112611bdb578384fd5b813581811115611be9578485fd5b8660208083028501011115611bfc578485fd5b60209290920196919550909350505050565b600060208284031215611c1f578081fd5b81358015158114610ddf578182fd5b60208082528181018390526000908460408401835b86811015611c6f576001600160a01b03611c5c84611a67565b1682529183019190830190600101611c43565b509695505050505050565b6000602080835283518082850152825b81811015611ca657858101830151858201604001528201611c8a565b81811115611cb75783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f416363657373436f6e74726f6c3a20557365722063616e6e6f74207472616e736040820152623332b960e91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602b908201527f416363657373436f6e74726f6c3a20436f6e747261637420697320756e70617560408201526a39b2b2103337b932bb32b960a91b606082015260800190565b60208082526032908201527f416363657373436f6e74726f6c3a20436f6e74726163742063616e6e6f74206d604082015271696e7420746f6b656e7320616e796d6f726560701b606082015260800190565b60208082526029908201527f416363657373436f6e74726f6c3a20416c6c6f776c69737420616c726561647960408201526808191a5cd8589b195960ba1b606082015260800190565b60008219821115611e3e57611e3e611eb0565b500190565b600082821015611e5557611e55611eb0565b500390565b600281046001821680611e6e57607f821691505b60208210811415611e8f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611ea957611ea9611eb0565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220956225d67e6d22cedd042b38d6802a643a38f25677c31bf7d263f2a6e5062f8164736f6c63430008020033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063a457c2d7116100ad578063d505accf1161007c578063d505accf1461041c578063dd62ed3e1461042f578063f2fde38b14610468578063f356c9121461047b578063f46eccc41461048e576101fb565b8063a457c2d7146103db578063a9059cbb146103ee578063c4722a4d14610401578063cf8e629a14610414576101fb565b80637ecebe00116100e95780637ecebe00146103845780638da5cb5b146103a457806395d89b41146103bf5780639b198950146103c7576101fb565b8063715018a61461034f57806371e2a6571461035757806372be7ec31461036a5780637a131ebe14610372576101fb565b80633424b8ce1161019257806340c10f191161016157806340c10f19146103095780635c975abb1461031c5780635fc1964f1461032957806370a082311461033c576101fb565b80633424b8ce146102b5578063355274ea146102c85780633644e515146102ee57806339509351146102f6576101fb565b806318160ddd116101ce57806318160ddd1461026e57806321afb5ee1461028057806323b872dd14610293578063313ce567146102a6576101fb565b806306ca0bad1461020057806306fdde031461020a578063095ea7b314610228578063103ee2f51461024b575b600080fd5b6102086104b1565b005b61021261058d565b60405161021f9190611c7a565b60405180910390f35b61023b610236366004611b76565b61061f565b604051901515815260200161021f565b61023b610259366004611a7e565b60076020526000908152604090205460ff1681565b6002545b60405190815260200161021f565b60085461023b9062010000900460ff1681565b61023b6102a1366004611aca565b610635565b6040516012815260200161021f565b6102086102c3366004611c0e565b6106f6565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000610272565b61027261078f565b61023b610304366004611b76565b610864565b610208610317366004611b76565b6108a0565b60085461023b9060ff1681565b610208610337366004611b9f565b610942565b61027261034a366004611a7e565b610a53565b610208610a72565b610208610365366004611b9f565b610ae6565b610208610beb565b60085461023b90610100900460ff1681565b610272610392366004611a7e565b60096020526000908152604090205481565b6005546040516001600160a01b03909116815260200161021f565b610212610c7d565b60085461023b906301000000900460ff1681565b61023b6103e9366004611b76565b610c8c565b61023b6103fc366004611b76565b610d27565b61020861040f366004611b9f565b610de6565b610208610eec565b61020861042a366004611b05565b610f7e565b61027261043d366004611a98565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610208610476366004611a7e565b6111b0565b610208610489366004611b9f565b61129b565b61023b61049c366004611a7e565b60066020526000908152604090205460ff1681565b6005546001600160a01b031633146104e45760405162461bcd60e51b81526004016104db90611d10565b60405180910390fd5b60085462010000900460ff16156105515760405162461bcd60e51b815260206004820152602b60248201527f416363657373436f6e74726f6c3a20436f6e74726163742063616e6e6f74206d60448201526a696e7420616e796d6f726560a81b60648201526084016104db565b6008805462ff00001916620100001790556040517fd498043d7ad0aae95bcd163cc21a9f809917f820b6eb2114164f7eb62af7627a90600090a1565b60606003805461059c90611e5a565b80601f01602080910402602001604051908101604052809291908181526020018280546105c890611e5a565b80156106155780601f106105ea57610100808354040283529160200191610615565b820191906000526020600020905b8154815290600101906020018083116105f857829003601f168201915b5050505050905090565b600061062c3384846113a1565b50600192915050565b60085460009060ff16158061066e57506008546301000000900460ff1615801561066e57503360009081526007602052604090205460ff165b61068a5760405162461bcd60e51b81526004016104db90611ccd565b6001600160a01b0383163014156106e35760405162461bcd60e51b815260206004820181905260248201527f434f546f6b656e3a2043616e6e6f74207472616e7366657220746f2073656c6660448201526064016104db565b6106ee8484846114c5565b949350505050565b6005546001600160a01b031633146107205760405162461bcd60e51b81526004016104db90611d10565b600854610100900460ff16156107485760405162461bcd60e51b81526004016104db90611d45565b6008805460ff19168215159081179091556040519081527fef37df9624f797913e7585c7f7b5d004ba6704be3c64b0561c157728ccc869859060200160405180910390a150565b604080518082018252600e81526d636f6f7264696e6170652e636f6d60901b6020918201528151808301835260018152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818301527f29f08892e9d9d00942c1a4e8d6437f3fb8ccd5d61f75bf952e083399f724a975818401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a0808301919091528351808303909101815260c0909101909252815191012090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161062c91859061089b908690611e2b565b6113a1565b600854339062010000900460ff16156108cb5760405162461bcd60e51b81526004016104db90611d90565b6001600160a01b03811660009081526006602052604090205460ff166109335760405162461bcd60e51b815260206004820152601a60248201527f416363657373436f6e74726f6c3a2043616e6e6f74206d696e7400000000000060448201526064016104db565b61093d8383611571565b505050565b6005546001600160a01b0316331461096c5760405162461bcd60e51b81526004016104db90611d10565b60085462010000900460ff16156109955760405162461bcd60e51b81526004016104db90611d90565b60005b81811015610a15576000600660008585858181106109c657634e487b7160e01b600052603260045260246000fd5b90506020020160208101906109db9190611a7e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a0d81611e95565b915050610998565b507fa4bd966469c62332cc5041d465060dbc3e847c7b125422e59ddb3e61a2005ae78282604051610a47929190611c2e565b60405180910390a15050565b6001600160a01b0381166000908152602081905260409020545b919050565b6005546001600160a01b03163314610a9c5760405162461bcd60e51b81526004016104db90611d10565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610b105760405162461bcd60e51b81526004016104db90611d10565b60085462010000900460ff1615610b395760405162461bcd60e51b81526004016104db90611d90565b60005b81811015610bb957600160066000858585818110610b6a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610b7f9190611a7e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610bb181611e95565b915050610b3c565b507f6050e1d24499bf62f6297dc608356dc088c4e4b4fd753a8606207fdf078578e38282604051610a47929190611c2e565b6005546001600160a01b03163314610c155760405162461bcd60e51b81526004016104db90611d10565b600854610100900460ff1615610c3d5760405162461bcd60e51b81526004016104db90611d45565b6008805460ff1961ff0019909116610100171690556040517f3f497821ce68d0936d5908ecb1360ef3c825e415f122cd465b3bab23d6a5bf7490600090a1565b60606004805461059c90611e5a565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610d0e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104db565b610d1d338561089b8685611e43565b5060019392505050565b60085460009060ff161580610d6057506008546301000000900460ff16158015610d6057503360009081526007602052604090205460ff165b610d7c5760405162461bcd60e51b81526004016104db90611ccd565b6001600160a01b038316301415610dd55760405162461bcd60e51b815260206004820181905260248201527f434f546f6b656e3a2043616e6e6f74207472616e7366657220746f2073656c6660448201526064016104db565b610ddf83836115fa565b9392505050565b6005546001600160a01b03163314610e105760405162461bcd60e51b81526004016104db90611d10565b6008546301000000900460ff1615610e3a5760405162461bcd60e51b81526004016104db90611de2565b60005b81811015610eba57600160076000858585818110610e6b57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610e809190611a7e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610eb281611e95565b915050610e3d565b507ff875362c4f1cfd50ea9685a61df0a1c19304428e6c289bf17208b0baa8b575d98282604051610a47929190611c2e565b6005546001600160a01b03163314610f165760405162461bcd60e51b81526004016104db90611d10565b6008546301000000900460ff1615610f405760405162461bcd60e51b81526004016104db90611de2565b6008805463ff000000191663010000001790556040517f2d35c8d348a345fd7b3b03b7cfcf7ad0b60c2d46742d5ca536342e4185becb0790600090a1565b83421115610fce5760405162461bcd60e51b815260206004820152601960248201527f434f546f6b656e3a206578706972656420646561646c696e650000000000000060448201526064016104db565b6001600160a01b0387166110325760405162461bcd60e51b815260206004820152602560248201527f434f546f6b656e3a206f776e65722063616e2774206265205a45524f2061646460448201526403932b9b9960dd1b60648201526084016104db565b600061103c61078f565b6001600160a01b038916600090815260096020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c9290919061108a83611e95565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e00160405160208183030381529060405280519060200120604051602001611111929190606080825260029082015261190160f01b60808201526020810192909252604082015260a00190565b604051602081830303815290604052805190602001209050600061113782868686611607565b9050886001600160a01b0316816001600160a01b03161461119a5760405162461bcd60e51b815260206004820152601a60248201527f434f546f6b656e3a20696e76616c6964207369676e617475726500000000000060448201526064016104db565b6111a58989896113a1565b505050505050505050565b6005546001600160a01b031633146111da5760405162461bcd60e51b81526004016104db90611d10565b6001600160a01b03811661123f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104db565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146112c55760405162461bcd60e51b81526004016104db90611d10565b6008546301000000900460ff16156112ef5760405162461bcd60e51b81526004016104db90611de2565b60005b8181101561136f5760006007600085858581811061132057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906113359190611a7e565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061136781611e95565b9150506112f2565b507f8e57ccca240b595c47024ae5107fe735c445b00720b01a618479f91709ee98038282604051610a47929190611c2e565b6001600160a01b0383166114035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104db565b6001600160a01b0382166114645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104db565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006114d28484846117b0565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156115575760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016104db565b611566853361089b8685611e43565b506001949350505050565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000008161159c60025490565b6115a69190611e2b565b11156115ec5760405162461bcd60e51b815260206004820152601560248201527410d3d51bdad95b8e8818d85c08195e18d959591959605a1b60448201526064016104db565b6115f68282611988565b5050565b600061062c3384846117b0565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156116845760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104db565b8360ff16601b148061169957508360ff16601c145b6116f05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104db565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015611744573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117a75760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104db565b95945050505050565b6001600160a01b0383166118145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104db565b6001600160a01b0382166118765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104db565b6001600160a01b038316600090815260208190526040902054818110156118ee5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104db565b6118f88282611e43565b6001600160a01b03808616600090815260208190526040808220939093559085168152908120805484929061192e908490611e2b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161197a91815260200190565b60405180910390a350505050565b6001600160a01b0382166119de5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104db565b80600260008282546119f09190611e2b565b90915550506001600160a01b03821660009081526020819052604081208054839290611a1d908490611e2b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b0381168114610a6d57600080fd5b600060208284031215611a8f578081fd5b610ddf82611a67565b60008060408385031215611aaa578081fd5b611ab383611a67565b9150611ac160208401611a67565b90509250929050565b600080600060608486031215611ade578081fd5b611ae784611a67565b9250611af560208501611a67565b9150604084013590509250925092565b600080600080600080600060e0888a031215611b1f578283fd5b611b2888611a67565b9650611b3660208901611a67565b95506040880135945060608801359350608088013560ff81168114611b59578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611b88578182fd5b611b9183611a67565b946020939093013593505050565b60008060208385031215611bb1578182fd5b823567ffffffffffffffff80821115611bc8578384fd5b818501915085601f830112611bdb578384fd5b813581811115611be9578485fd5b8660208083028501011115611bfc578485fd5b60209290920196919550909350505050565b600060208284031215611c1f578081fd5b81358015158114610ddf578182fd5b60208082528181018390526000908460408401835b86811015611c6f576001600160a01b03611c5c84611a67565b1682529183019190830190600101611c43565b509695505050505050565b6000602080835283518082850152825b81811015611ca657858101830151858201604001528201611c8a565b81811115611cb75783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f416363657373436f6e74726f6c3a20557365722063616e6e6f74207472616e736040820152623332b960e91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602b908201527f416363657373436f6e74726f6c3a20436f6e747261637420697320756e70617560408201526a39b2b2103337b932bb32b960a91b606082015260800190565b60208082526032908201527f416363657373436f6e74726f6c3a20436f6e74726163742063616e6e6f74206d604082015271696e7420746f6b656e7320616e796d6f726560701b606082015260800190565b60208082526029908201527f416363657373436f6e74726f6c3a20416c6c6f776c69737420616c726561647960408201526808191a5cd8589b195960ba1b606082015260800190565b60008219821115611e3e57611e3e611eb0565b500190565b600082821015611e5557611e55611eb0565b500390565b600281046001821680611e6e57607f821691505b60208210811415611e8f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611ea957611ea9611eb0565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220956225d67e6d22cedd042b38d6802a643a38f25677c31bf7d263f2a6e5062f8164736f6c63430008020033

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.