Token NKCL Classic

 

Overview [ERC-20]

Max Total Supply:
21,000,000 NKCLC

Holders:
1,713

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
NKCLClassic

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-08-18
*/

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

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

/*
 * @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) {
        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, IERC20Metadata {
    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 default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two 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 override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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
     * overridden;
     *
     * 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 override 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");
        unchecked {
            _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");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This 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");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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:
     *
     * - `account` 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);

        _afterTokenTransfer(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");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

        _afterTokenTransfer(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 transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 private immutable _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor(uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
}

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

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

/**
 * @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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

contract NKCLClassic is ERC20, ERC20Burnable, ERC20Capped, Ownable {
    constructor() ERC20("NKCL Classic", "NKCLC") ERC20Capped(21000000 * 10 ** uint256(decimals())) Ownable(){
    }

    function _mint(address account, uint256 amount) internal override(ERC20, ERC20Capped) {
        super._mint(account, amount);
    }

    function mint(address account, uint256 amount) public onlyOwner{
        _mint(account, amount);
    }
    
    function renounceOwnership() public override onlyOwner{
        revert("disabled");
    }
}

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":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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":[{"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":[],"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":[],"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":"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"}]

60a06040523480156200001157600080fd5b50620000206012600a62000244565b62000030906301406f406200030f565b604080518082018252600c81526b4e4b434c20436c617373696360a01b6020808301918252835180850190945260058452644e4b434c4360d81b908401528151919291620000819160039162000155565b5080516200009790600490602084019062000155565b50505060008111620000ef5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b608052620000fd3362000103565b62000384565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001639062000331565b90600052602060002090601f016020900481019282620001875760008555620001d2565b82601f10620001a257805160ff1916838001178555620001d2565b82800160010185558215620001d2579182015b82811115620001d2578251825591602001919060010190620001b5565b50620001e0929150620001e4565b5090565b5b80821115620001e05760008155600101620001e5565b600181815b808511156200023c5781600019048211156200022057620002206200036e565b808516156200022e57918102915b93841c939080029062000200565b509250929050565b600062000252838362000259565b9392505050565b6000826200026a5750600162000309565b81620002795750600062000309565b81600181146200029257600281146200029d57620002bd565b600191505062000309565b60ff841115620002b157620002b16200036e565b50506001821b62000309565b5060208310610133831016604e8410600b8410161715620002e2575081810a62000309565b620002ee8383620001fb565b80600019048211156200030557620003056200036e565b0290505b92915050565b60008160001904831182151516156200032c576200032c6200036e565b500290565b600181811c908216806200034657607f821691505b602082108114156200036857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b608051610eff620003a7600039600081816101920152610b710152610eff6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a257806395d89b411161007157806395d89b4114610250578063a457c2d714610258578063a9059cbb1461026b578063dd62ed3e1461027e578063f2fde38b146102b757600080fd5b806370a08231146101f1578063715018a61461021a57806379cc6790146102225780638da5cb5b1461023557600080fd5b8063313ce567116100e9578063313ce56714610181578063355274ea1461019057806339509351146101b657806340c10f19146101c957806342966c68146101de57600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102ca565b6040516101309190610dc1565b60405180910390f35b61014c610147366004610d80565b61035c565b6040519015158152602001610130565b6002545b604051908152602001610130565b61014c61017c366004610d45565b610372565b60405160128152602001610130565b7f0000000000000000000000000000000000000000000000000000000000000000610160565b61014c6101c4366004610d80565b610421565b6101dc6101d7366004610d80565b61045d565b005b6101dc6101ec366004610da9565b610495565b6101606101ff366004610cf2565b6001600160a01b031660009081526020819052604090205490565b6101dc6104a2565b6101dc610230366004610d80565b6104ff565b6005546040516001600160a01b039091168152602001610130565b610123610585565b61014c610266366004610d80565b610594565b61014c610279366004610d80565b61062d565b61016061028c366004610d13565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101dc6102c5366004610cf2565b61063a565b6060600380546102d990610e78565b80601f016020809104026020016040519081016040528092919081815260200182805461030590610e78565b80156103525780601f1061032757610100808354040283529160200191610352565b820191906000526020600020905b81548152906001019060200180831161033557829003601f168201915b5050505050905090565b60006103693384846106d2565b50600192915050565b600061037f8484846107f6565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104095760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61041685338584036106d2565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610369918590610458908690610e49565b6106d2565b6005546001600160a01b031633146104875760405162461bcd60e51b815260040161040090610e14565b61049182826109c5565b5050565b61049f33826109cf565b50565b6005546001600160a01b031633146104cc5760405162461bcd60e51b815260040161040090610e14565b60405162461bcd60e51b8152602060048201526008602482015267191a5cd8589b195960c21b6044820152606401610400565b600061050b833361028c565b9050818110156105695760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610400565b61057683338484036106d2565b61058083836109cf565b505050565b6060600480546102d990610e78565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106165760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610400565b61062333858584036106d2565b5060019392505050565b60006103693384846107f6565b6005546001600160a01b031633146106645760405162461bcd60e51b815260040161040090610e14565b6001600160a01b0381166106c95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610400565b61049f81610b1d565b6001600160a01b0383166107345760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610400565b6001600160a01b0382166107955760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610400565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661085a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610400565b6001600160a01b0382166108bc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610400565b6001600160a01b038316600090815260208190526040902054818110156109345760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610400565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061096b908490610e49565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109b791815260200190565b60405180910390a350505050565b6104918282610b6f565b6001600160a01b038216610a2f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610400565b6001600160a01b03821660009081526020819052604090205481811015610aa35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610400565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610ad2908490610e61565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b7f000000000000000000000000000000000000000000000000000000000000000081610b9a60025490565b610ba49190610e49565b1115610bf25760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401610400565b61049182826001600160a01b038216610c4d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610400565b8060026000828254610c5f9190610e49565b90915550506001600160a01b03821660009081526020819052604081208054839290610c8c908490610e49565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b0381168114610ced57600080fd5b919050565b600060208284031215610d03578081fd5b610d0c82610cd6565b9392505050565b60008060408385031215610d25578081fd5b610d2e83610cd6565b9150610d3c60208401610cd6565b90509250929050565b600080600060608486031215610d59578081fd5b610d6284610cd6565b9250610d7060208501610cd6565b9150604084013590509250925092565b60008060408385031215610d92578182fd5b610d9b83610cd6565b946020939093013593505050565b600060208284031215610dba578081fd5b5035919050565b6000602080835283518082850152825b81811015610ded57858101830151858201604001528201610dd1565b81811115610dfe5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610e5c57610e5c610eb3565b500190565b600082821015610e7357610e73610eb3565b500390565b600181811c90821680610e8c57607f821691505b60208210811415610ead57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220102b251ed331f3df89dd757461ccd3f6e522f0b82e3be714ca46063a24c0367464736f6c63430008040033

Deployed ByteCode Sourcemap

20207:545:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6040:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8207:169;;;;;;:::i;:::-;;:::i;:::-;;;1848:14:1;;1841:22;1823:41;;1811:2;1796:18;8207:169:0;1778:92:1;7160:108:0;7248:12;;7160:108;;;8497:25:1;;;8485:2;8470:18;7160:108:0;8452:76:1;8858:492:0;;;;;;:::i;:::-;;:::i;7002:93::-;;;7085:2;8675:36:1;;8663:2;8648:18;7002:93:0;8630:87:1;16498:83:0;16569:4;16498:83;;9759:215;;;;;;:::i;:::-;;:::i;20542:104::-;;;;;;:::i;:::-;;:::i;:::-;;17232:91;;;;;;:::i;:::-;;:::i;7331:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;7432:18:0;7405:7;7432:18;;;;;;;;;;;;7331:127;20658:91;;;:::i;17642:368::-;;;;;;:::i;:::-;;:::i;18927:87::-;19000:6;;18927:87;;-1:-1:-1;;;;;19000:6:0;;;1621:51:1;;1609:2;1594:18;18927:87:0;1576:102:1;6259:104:0;;;:::i;10477:413::-;;;;;;:::i;:::-;;:::i;7671:175::-;;;;;;:::i;:::-;;:::i;7909:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8025:18:0;;;7998:7;8025:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;7909:151;19827:192;;;;;;:::i;:::-;;:::i;6040:100::-;6094:13;6127:5;6120:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6040:100;:::o;8207:169::-;8290:4;8307:39;3939:10;8330:7;8339:6;8307:8;:39::i;:::-;-1:-1:-1;8364:4:0;8207:169;;;;:::o;8858:492::-;8998:4;9015:36;9025:6;9033:9;9044:6;9015:9;:36::i;:::-;-1:-1:-1;;;;;9091:19:0;;9064:24;9091:19;;;:11;:19;;;;;;;;3939:10;9091:33;;;;;;;;9143:26;;;;9135:79;;;;-1:-1:-1;;;9135:79:0;;5045:2:1;9135:79:0;;;5027:21:1;5084:2;5064:18;;;5057:30;5123:34;5103:18;;;5096:62;-1:-1:-1;;;5174:18:1;;;5167:38;5222:19;;9135:79:0;;;;;;;;;9250:57;9259:6;3939:10;9300:6;9281:16;:25;9250:8;:57::i;:::-;-1:-1:-1;9338:4:0;;8858:492;-1:-1:-1;;;;8858:492:0:o;9759:215::-;3939:10;9847:4;9896:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;9896:34:0;;;;;;;;;;9847:4;;9864:80;;9887:7;;9896:47;;9933:10;;9896:47;:::i;:::-;9864:8;:80::i;20542:104::-;19000:6;;-1:-1:-1;;;;;19000:6:0;3939:10;19147:23;19139:68;;;;-1:-1:-1;;;19139:68:0;;;;;;;:::i;:::-;20616:22:::1;20622:7;20631:6;20616:5;:22::i;:::-;20542:104:::0;;:::o;17232:91::-;17288:27;3939:10;17308:6;17288:5;:27::i;:::-;17232:91;:::o;20658:::-;19000:6;;-1:-1:-1;;;;;19000:6:0;3939:10;19147:23;19139:68;;;;-1:-1:-1;;;19139:68:0;;;;;;;:::i;:::-;20723:18:::1;::::0;-1:-1:-1;;;20723:18:0;;4302:2:1;20723:18:0::1;::::0;::::1;4284:21:1::0;4341:1;4321:18;;;4314:29;-1:-1:-1;;;4359:18:1;;;4352:38;4407:18;;20723::0::1;4274:157:1::0;17642:368:0;17719:24;17746:32;17756:7;3939:10;7909:151;:::i;17746:32::-;17719:59;;17817:6;17797:16;:26;;17789:75;;;;-1:-1:-1;;;17789:75:0;;5815:2:1;17789:75:0;;;5797:21:1;5854:2;5834:18;;;5827:30;5893:34;5873:18;;;5866:62;-1:-1:-1;;;5944:18:1;;;5937:34;5988:19;;17789:75:0;5787:226:1;17789:75:0;17900:58;17909:7;3939:10;17951:6;17932:16;:25;17900:8;:58::i;:::-;17980:22;17986:7;17995:6;17980:5;:22::i;:::-;17642:368;;;:::o;6259:104::-;6315:13;6348:7;6341:14;;;;;:::i;10477:413::-;3939:10;10570:4;10614:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10614:34:0;;;;;;;;;;10667:35;;;;10659:85;;;;-1:-1:-1;;;10659:85:0;;7787:2:1;10659:85:0;;;7769:21:1;7826:2;7806:18;;;7799:30;7865:34;7845:18;;;7838:62;-1:-1:-1;;;7916:18:1;;;7909:35;7961:19;;10659:85:0;7759:227:1;10659:85:0;10780:67;3939:10;10803:7;10831:15;10812:16;:34;10780:8;:67::i;:::-;-1:-1:-1;10878:4:0;;10477:413;-1:-1:-1;;;10477:413:0:o;7671:175::-;7757:4;7774:42;3939:10;7798:9;7809:6;7774:9;:42::i;19827:192::-;19000:6;;-1:-1:-1;;;;;19000:6:0;3939:10;19147:23;19139:68;;;;-1:-1:-1;;;19139:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19916:22:0;::::1;19908:73;;;::::0;-1:-1:-1;;;19908:73:0;;3492:2:1;19908:73:0::1;::::0;::::1;3474:21:1::0;3531:2;3511:18;;;3504:30;3570:34;3550:18;;;3543:62;-1:-1:-1;;;3621:18:1;;;3614:36;3667:19;;19908:73:0::1;3464:228:1::0;19908:73:0::1;19992:19;20002:8;19992:9;:19::i;14161:380::-:0;-1:-1:-1;;;;;14297:19:0;;14289:68;;;;-1:-1:-1;;;14289:68:0;;7382:2:1;14289:68:0;;;7364:21:1;7421:2;7401:18;;;7394:30;7460:34;7440:18;;;7433:62;-1:-1:-1;;;7511:18:1;;;7504:34;7555:19;;14289:68:0;7354:226:1;14289:68:0;-1:-1:-1;;;;;14376:21:0;;14368:68;;;;-1:-1:-1;;;14368:68:0;;3899:2:1;14368:68:0;;;3881:21:1;3938:2;3918:18;;;3911:30;3977:34;3957:18;;;3950:62;-1:-1:-1;;;4028:18:1;;;4021:32;4070:19;;14368:68:0;3871:224:1;14368:68:0;-1:-1:-1;;;;;14449:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14501:32;;8497:25:1;;;14501:32:0;;8470:18:1;14501:32:0;;;;;;;14161:380;;;:::o;11380:733::-;-1:-1:-1;;;;;11520:20:0;;11512:70;;;;-1:-1:-1;;;11512:70:0;;6622:2:1;11512:70:0;;;6604:21:1;6661:2;6641:18;;;6634:30;6700:34;6680:18;;;6673:62;-1:-1:-1;;;6751:18:1;;;6744:35;6796:19;;11512:70:0;6594:227:1;11512:70:0;-1:-1:-1;;;;;11601:23:0;;11593:71;;;;-1:-1:-1;;;11593:71:0;;2685:2:1;11593:71:0;;;2667:21:1;2724:2;2704:18;;;2697:30;2763:34;2743:18;;;2736:62;-1:-1:-1;;;2814:18:1;;;2807:33;2857:19;;11593:71:0;2657:225:1;11593:71:0;-1:-1:-1;;;;;11761:17:0;;11737:21;11761:17;;;;;;;;;;;11797:23;;;;11789:74;;;;-1:-1:-1;;;11789:74:0;;4638:2:1;11789:74:0;;;4620:21:1;4677:2;4657:18;;;4650:30;4716:34;4696:18;;;4689:62;-1:-1:-1;;;4767:18:1;;;4760:36;4813:19;;11789:74:0;4610:228:1;11789:74:0;-1:-1:-1;;;;;11899:17:0;;;:9;:17;;;;;;;;;;;11919:22;;;11899:42;;11963:20;;;;;;;;:30;;11935:6;;11899:9;11963:30;;11935:6;;11963:30;:::i;:::-;;;;;;;;12028:9;-1:-1:-1;;;;;12011:35:0;12020:6;-1:-1:-1;;;;;12011:35:0;;12039:6;12011:35;;;;8497:25:1;;8485:2;8470:18;;8452:76;12011:35:0;;;;;;;;11380:733;;;;:::o;20401:133::-;20498:28;20510:7;20519:6;20498:11;:28::i;13132:591::-;-1:-1:-1;;;;;13216:21:0;;13208:67;;;;-1:-1:-1;;;13208:67:0;;6220:2:1;13208:67:0;;;6202:21:1;6259:2;6239:18;;;6232:30;6298:34;6278:18;;;6271:62;-1:-1:-1;;;6349:18:1;;;6342:31;6390:19;;13208:67:0;6192:223:1;13208:67:0;-1:-1:-1;;;;;13375:18:0;;13350:22;13375:18;;;;;;;;;;;13412:24;;;;13404:71;;;;-1:-1:-1;;;13404:71:0;;3089:2:1;13404:71:0;;;3071:21:1;3128:2;3108:18;;;3101:30;3167:34;3147:18;;;3140:62;-1:-1:-1;;;3218:18:1;;;3211:32;3260:19;;13404:71:0;3061:224:1;13404:71:0;-1:-1:-1;;;;;13511:18:0;;:9;:18;;;;;;;;;;13532:23;;;13511:44;;13577:12;:22;;13549:6;;13511:9;13577:22;;13549:6;;13577:22;:::i;:::-;;;;-1:-1:-1;;13617:37:0;;8497:25:1;;;13643:1:0;;-1:-1:-1;;;;;13617:37:0;;;;;8485:2:1;8470:18;13617:37:0;;;;;;;17642:368;;;:::o;20027:173::-;20102:6;;;-1:-1:-1;;;;;20119:17:0;;;-1:-1:-1;;;;;;20119:17:0;;;;;;;20152:40;;20102:6;;;20119:17;20102:6;;20152:40;;20083:16;;20152:40;20027:173;;:::o;16639:207::-;16569:4;16754:6;16732:19;7248:12;;;7160:108;16732:19;:28;;;;:::i;:::-;:37;;16724:75;;;;-1:-1:-1;;;16724:75:0;;7028:2:1;16724:75:0;;;7010:21:1;7067:2;7047:18;;;7040:30;7106:27;7086:18;;;7079:55;7151:18;;16724:75:0;7000:175:1;16724:75:0;16810:28;16822:7;16831:6;-1:-1:-1;;;;;12484:21:0;;12476:65;;;;-1:-1:-1;;;12476:65:0;;8193:2:1;12476:65:0;;;8175:21:1;8232:2;8212:18;;;8205:30;8271:33;8251:18;;;8244:61;8322:18;;12476:65:0;8165:181:1;12476:65:0;12632:6;12616:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;12649:18:0;;:9;:18;;;;;;;;;;:28;;12671:6;;12649:9;:28;;12671:6;;12649:28;:::i;:::-;;;;-1:-1:-1;;12693:37:0;;8497:25:1;;;-1:-1:-1;;;;;12693:37:0;;;12710:1;;12693:37;;8485:2:1;8470:18;12693:37:0;;;;;;;20542:104;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1280:190::-;1339:6;1392:2;1380:9;1371:7;1367:23;1363:32;1360:2;;;1413:6;1405;1398:22;1360:2;-1:-1:-1;1441:23:1;;1350:120;-1:-1:-1;1350:120:1:o;1875:603::-;1987:4;2016:2;2045;2034:9;2027:21;2077:6;2071:13;2120:6;2115:2;2104:9;2100:18;2093:34;2145:4;2158:140;2172:6;2169:1;2166:13;2158:140;;;2267:14;;;2263:23;;2257:30;2233:17;;;2252:2;2229:26;2222:66;2187:10;;2158:140;;;2316:6;2313:1;2310:13;2307:2;;;2386:4;2381:2;2372:6;2361:9;2357:22;2353:31;2346:45;2307:2;-1:-1:-1;2462:2:1;2441:15;-1:-1:-1;;2437:29:1;2422:45;;;;2469:2;2418:54;;1996:482;-1:-1:-1;;;1996:482:1:o;5252:356::-;5454:2;5436:21;;;5473:18;;;5466:30;5532:34;5527:2;5512:18;;5505:62;5599:2;5584:18;;5426:182::o;8722:128::-;8762:3;8793:1;8789:6;8786:1;8783:13;8780:2;;;8799:18;;:::i;:::-;-1:-1:-1;8835:9:1;;8770:80::o;8855:125::-;8895:4;8923:1;8920;8917:8;8914:2;;;8928:18;;:::i;:::-;-1:-1:-1;8965:9:1;;8904:76::o;8985:380::-;9064:1;9060:12;;;;9107;;;9128:2;;9182:4;9174:6;9170:17;9160:27;;9128:2;9235;9227:6;9224:14;9204:18;9201:38;9198:2;;;9281:10;9276:3;9272:20;9269:1;9262:31;9316:4;9313:1;9306:15;9344:4;9341:1;9334:15;9198:2;;9040:325;;;:::o;9370:127::-;9431:10;9426:3;9422:20;9419:1;9412:31;9462:4;9459:1;9452:15;9486:4;9483:1;9476:15

Swarm Source

ipfs://102b251ed331f3df89dd757461ccd3f6e522f0b82e3be714ca46063a24c03674

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.