false
false
0

Contract Address Details

0xEd0aFa4bD21DaA6DA35daE80536E9B29d55fb4C9

Token
Flare Community Coin (FCC)
Creator
0x8f7862–39fc91 at 0x9cd5d4–871e28
Balance
0 FLR
Tokens
Fetching tokens...
Transactions
1,714 Transactions
Transfers
2 Transfers
Gas Used
61,995,624
Last Balance Update
31504121
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
FCC




Optimization enabled
false
Compiler version
v0.8.18+commit.87f61d96




Verified at
2023-04-25T13:49:48.732998Z

Constructor Arguments

0000000000000000000000008f7862c37752bf013b26d0adaabfd7cd4639fc91

Arg [0] (address) : 0x8f7862c37752bf013b26d0adaabfd7cd4639fc91

              

contracts/FCC.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

interface ERC721Enumerable /* is ERC721 */ {
    function balanceOf(address _owner) external view returns (uint256);
}

contract FCC is ERC20, Ownable {
    uint256 private constant MAX_SUPPLY = 1000000000 ether;

    string private constant _NAME = "Flare Community Coin";
    string private constant _SYMBOL = "FCC";

    uint256 private _taxPercent = 1;
    address private _treasury;
    bool private _taxEnabled;

    event Tax(address indexed from, address indexed to, uint256 value);
    event TaxPercentChanged(uint256 newTaxPercent);
    event TreasuryChanged(address newTreasury);
    event TaxEnabled(bool enabled);

    constructor(address treasury) ERC20(_NAME, _SYMBOL) {
        _treasury = treasury;
        _mint(msg.sender, MAX_SUPPLY);
    }
    
    function transfer(address to, uint256 value) public override returns (bool) {
        uint256 taxAmount = value * _taxPercent / 100;
        uint256 transferAmount = value - taxAmount;
        
        _transfer(msg.sender, to, transferAmount);
        if (taxAmount > 0) {
            _transfer(msg.sender, _treasury, taxAmount);
            emit Tax(msg.sender, _treasury, taxAmount);
        }
        
        return true;
    }
    
    function transferFrom(address from, address to, uint256 value) public override returns (bool) {
        uint256 taxAmount = value * _taxPercent / 100;
        uint256 transferAmount = value - taxAmount;
        
        _transfer(from, to, transferAmount);
        if (taxAmount > 0) {
            _transfer(from, _treasury, taxAmount);
            emit Tax(from, _treasury, taxAmount);
        }
        
        _approve(from, msg.sender, allowance(from, msg.sender) - value + transferAmount);

        return true;
    }
    
    function setTaxPercent(uint256 taxPercent) public onlyOwner {
        require(taxPercent <= 100, "Tax percent cannot exceed 100");
        _taxPercent = taxPercent;
        emit TaxPercentChanged(taxPercent);
    }

    function setTreasury(address treasury) public onlyOwner {
        require(treasury != address(0), "Treasury cannot be the zero address");
        _treasury = treasury;
        emit TreasuryChanged(treasury);
    }
    
    function enableTax(bool enabled) public onlyOwner {
        _taxEnabled = enabled;
        emit TaxEnabled(enabled);
    }
}
        

@openzeppelin/contracts/utils/Context.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}
          

@openzeppelin/contracts/utils/introspection/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
          

@openzeppelin/contracts/access/Ownable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
          

@openzeppelin/contracts/token/ERC20/ERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead 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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - 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 {}
}
          

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}
          

@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

@openzeppelin/contracts/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"treasury","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Tax","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"TaxEnabled","inputs":[{"type":"bool","name":"enabled","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"TaxPercentChanged","inputs":[{"type":"uint256","name":"newTaxPercent","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"TreasuryChanged","inputs":[{"type":"address","name":"newTreasury","internalType":"address","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"enableTax","inputs":[{"type":"bool","name":"enabled","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTaxPercent","inputs":[{"type":"uint256","name":"taxPercent","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTreasury","inputs":[{"type":"address","name":"treasury","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
              

Contract Creation Code

0x608060405260016006553480156200001657600080fd5b50604051620024353803806200243583398181016040528101906200003c919062000403565b6040518060400160405280601481526020017f466c61726520436f6d6d756e69747920436f696e0000000000000000000000008152506040518060400160405280600381526020017f46434300000000000000000000000000000000000000000000000000000000008152508160039081620000b99190620006af565b508060049081620000cb9190620006af565b505050620000ee620000e26200015460201b60201c565b6200015c60201b60201c565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200014d336b033b2e3c9fd0803ce80000006200022260201b60201c565b50620008b1565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000294576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200028b90620007f7565b60405180910390fd5b620002a8600083836200038f60201b60201c565b8060026000828254620002bc919062000848565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200036f919062000894565b60405180910390a36200038b600083836200039460201b60201c565b5050565b505050565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003cb826200039e565b9050919050565b620003dd81620003be565b8114620003e957600080fd5b50565b600081519050620003fd81620003d2565b92915050565b6000602082840312156200041c576200041b62000399565b5b60006200042c84828501620003ec565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004b757607f821691505b602082108103620004cd57620004cc6200046f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004f8565b620005438683620004f8565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005906200058a62000584846200055b565b62000565565b6200055b565b9050919050565b6000819050919050565b620005ac836200056f565b620005c4620005bb8262000597565b84845462000505565b825550505050565b600090565b620005db620005cc565b620005e8818484620005a1565b505050565b5b81811015620006105762000604600082620005d1565b600181019050620005ee565b5050565b601f8211156200065f576200062981620004d3565b6200063484620004e8565b8101602085101562000644578190505b6200065c6200065385620004e8565b830182620005ed565b50505b505050565b600082821c905092915050565b6000620006846000198460080262000664565b1980831691505092915050565b60006200069f838362000671565b9150826002028217905092915050565b620006ba8262000435565b67ffffffffffffffff811115620006d657620006d562000440565b5b620006e282546200049e565b620006ef82828562000614565b600060209050601f83116001811462000727576000841562000712578287015190505b6200071e858262000691565b8655506200078e565b601f1984166200073786620004d3565b60005b8281101562000761578489015182556001820191506020850194506020810190506200073a565b868310156200078157848901516200077d601f89168262000671565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000620007df601f8362000796565b9150620007ec82620007a7565b602082019050919050565b600060208201905081810360008301526200081281620007d0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000855826200055b565b915062000862836200055b565b92508282019050808211156200087d576200087c62000819565b5b92915050565b6200088e816200055b565b82525050565b6000602082019050620008ab600083018462000883565b92915050565b611b7480620008c16000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a2578063a457c2d711610071578063a457c2d7146102a8578063a9059cbb146102d8578063dd62ed3e14610308578063f0f4426014610338578063f2fde38b146103545761010b565b806370a0823114610232578063715018a6146102625780638da5cb5b1461026c57806395d89b411461028a5761010b565b8063313ce567116100de578063313ce567146101ac57806339509351146101ca57806361178386146101fa5780636351682a146102165761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b610118610370565b604051610125919061113b565b60405180910390f35b610148600480360381019061014391906111f6565b610402565b6040516101559190611251565b60405180910390f35b610166610425565b604051610173919061127b565b60405180910390f35b61019660048036038101906101919190611296565b61042f565b6040516101a39190611251565b60405180910390f35b6101b461055e565b6040516101c19190611305565b60405180910390f35b6101e460048036038101906101df91906111f6565b610567565b6040516101f19190611251565b60405180910390f35b610214600480360381019061020f9190611320565b61059e565b005b610230600480360381019061022b9190611379565b61062b565b005b61024c600480360381019061024791906113a6565b610687565b604051610259919061127b565b60405180910390f35b61026a6106cf565b005b6102746106e3565b60405161028191906113e2565b60405180910390f35b61029261070d565b60405161029f919061113b565b60405180910390f35b6102c260048036038101906102bd91906111f6565b61079f565b6040516102cf9190611251565b60405180910390f35b6102f260048036038101906102ed91906111f6565b610816565b6040516102ff9190611251565b60405180910390f35b610322600480360381019061031d91906113fd565b61091a565b60405161032f919061127b565b60405180910390f35b610352600480360381019061034d91906113a6565b6109a1565b005b61036e600480360381019061036991906113a6565b610a93565b005b60606003805461037f9061146c565b80601f01602080910402602001604051908101604052809291908181526020018280546103ab9061146c565b80156103f85780601f106103cd576101008083540402835291602001916103f8565b820191906000526020600020905b8154815290600101906020018083116103db57829003601f168201915b5050505050905090565b60008061040d610b16565b905061041a818585610b1e565b600191505092915050565b6000600254905090565b60008060646006548461044291906114cc565b61044c919061153d565b90506000818461045c919061156e565b9050610469868683610ce7565b60008211156105275761049f86600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610ce7565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb4a4e935856b6f5a5da9e94d865b3957d0377d969c8cd9d552a0db5abab7303f8460405161051e919061127b565b60405180910390a35b610551863383876105388b3361091a565b610542919061156e565b61054c91906115a2565b610b1e565b6001925050509392505050565b60006012905090565b600080610572610b16565b9050610593818585610584858961091a565b61058e91906115a2565b610b1e565b600191505092915050565b6105a6610f5d565b60648111156105ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e190611622565b60405180910390fd5b806006819055507f30306edce773c1d8450d7edff27ec41173d345eda8e1e10dc3994947d1c6c9a781604051610620919061127b565b60405180910390a150565b610633610f5d565b80600760146101000a81548160ff0219169083151502179055507f5bb2376cf656637e70e36c01d3da25685bf3b353f18681b8a5e48c7b2effe1338160405161067c9190611251565b60405180910390a150565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6106d7610f5d565b6106e16000610fdb565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461071c9061146c565b80601f01602080910402602001604051908101604052809291908181526020018280546107489061146c565b80156107955780601f1061076a57610100808354040283529160200191610795565b820191906000526020600020905b81548152906001019060200180831161077857829003601f168201915b5050505050905090565b6000806107aa610b16565b905060006107b8828661091a565b9050838110156107fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f4906116b4565b60405180910390fd5b61080a8286868403610b1e565b60019250505092915050565b60008060646006548461082991906114cc565b610833919061153d565b905060008184610843919061156e565b9050610850338683610ce7565b600082111561090e5761088633600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610ce7565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fb4a4e935856b6f5a5da9e94d865b3957d0377d969c8cd9d552a0db5abab7303f84604051610905919061127b565b60405180910390a35b60019250505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6109a9610f5d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90611746565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc714d22a2f08b695f81e7c707058db484aa5b4d6b4c9fd64beb10fe85832f60881604051610a8891906113e2565b60405180910390a150565b610a9b610f5d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b01906117d8565b60405180910390fd5b610b1381610fdb565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b849061186a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf3906118fc565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610cda919061127b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d9061198e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc90611a20565b60405180910390fd5b610dd08383836110a1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90611ab2565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f44919061127b565b60405180910390a3610f578484846110a6565b50505050565b610f65610b16565b73ffffffffffffffffffffffffffffffffffffffff16610f836106e3565b73ffffffffffffffffffffffffffffffffffffffff1614610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090611b1e565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156110e55780820151818401526020810190506110ca565b60008484015250505050565b6000601f19601f8301169050919050565b600061110d826110ab565b61111781856110b6565b93506111278185602086016110c7565b611130816110f1565b840191505092915050565b600060208201905081810360008301526111558184611102565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061118d82611162565b9050919050565b61119d81611182565b81146111a857600080fd5b50565b6000813590506111ba81611194565b92915050565b6000819050919050565b6111d3816111c0565b81146111de57600080fd5b50565b6000813590506111f0816111ca565b92915050565b6000806040838503121561120d5761120c61115d565b5b600061121b858286016111ab565b925050602061122c858286016111e1565b9150509250929050565b60008115159050919050565b61124b81611236565b82525050565b60006020820190506112666000830184611242565b92915050565b611275816111c0565b82525050565b6000602082019050611290600083018461126c565b92915050565b6000806000606084860312156112af576112ae61115d565b5b60006112bd868287016111ab565b93505060206112ce868287016111ab565b92505060406112df868287016111e1565b9150509250925092565b600060ff82169050919050565b6112ff816112e9565b82525050565b600060208201905061131a60008301846112f6565b92915050565b6000602082840312156113365761133561115d565b5b6000611344848285016111e1565b91505092915050565b61135681611236565b811461136157600080fd5b50565b6000813590506113738161134d565b92915050565b60006020828403121561138f5761138e61115d565b5b600061139d84828501611364565b91505092915050565b6000602082840312156113bc576113bb61115d565b5b60006113ca848285016111ab565b91505092915050565b6113dc81611182565b82525050565b60006020820190506113f760008301846113d3565b92915050565b600080604083850312156114145761141361115d565b5b6000611422858286016111ab565b9250506020611433858286016111ab565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061148457607f821691505b6020821081036114975761149661143d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006114d7826111c0565b91506114e2836111c0565b92508282026114f0816111c0565b915082820484148315176115075761150661149d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611548826111c0565b9150611553836111c0565b9250826115635761156261150e565b5b828204905092915050565b6000611579826111c0565b9150611584836111c0565b925082820390508181111561159c5761159b61149d565b5b92915050565b60006115ad826111c0565b91506115b8836111c0565b92508282019050808211156115d0576115cf61149d565b5b92915050565b7f5461782070657263656e742063616e6e6f742065786365656420313030000000600082015250565b600061160c601d836110b6565b9150611617826115d6565b602082019050919050565b6000602082019050818103600083015261163b816115ff565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061169e6025836110b6565b91506116a982611642565b604082019050919050565b600060208201905081810360008301526116cd81611691565b9050919050565b7f54726561737572792063616e6e6f7420626520746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006117306023836110b6565b915061173b826116d4565b604082019050919050565b6000602082019050818103600083015261175f81611723565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006117c26026836110b6565b91506117cd82611766565b604082019050919050565b600060208201905081810360008301526117f1816117b5565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006118546024836110b6565b915061185f826117f8565b604082019050919050565b6000602082019050818103600083015261188381611847565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006118e66022836110b6565b91506118f18261188a565b604082019050919050565b60006020820190508181036000830152611915816118d9565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006119786025836110b6565b91506119838261191c565b604082019050919050565b600060208201905081810360008301526119a78161196b565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611a0a6023836110b6565b9150611a15826119ae565b604082019050919050565b60006020820190508181036000830152611a39816119fd565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611a9c6026836110b6565b9150611aa782611a40565b604082019050919050565b60006020820190508181036000830152611acb81611a8f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611b086020836110b6565b9150611b1382611ad2565b602082019050919050565b60006020820190508181036000830152611b3781611afb565b905091905056fea2646970667358221220e9102e491b6fc57d7fad2f6c83e0a19e3c98e55d0eeb4032963cc74ae150b9e164736f6c634300081200330000000000000000000000008f7862c37752bf013b26d0adaabfd7cd4639fc91

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a2578063a457c2d711610071578063a457c2d7146102a8578063a9059cbb146102d8578063dd62ed3e14610308578063f0f4426014610338578063f2fde38b146103545761010b565b806370a0823114610232578063715018a6146102625780638da5cb5b1461026c57806395d89b411461028a5761010b565b8063313ce567116100de578063313ce567146101ac57806339509351146101ca57806361178386146101fa5780636351682a146102165761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b610118610370565b604051610125919061113b565b60405180910390f35b610148600480360381019061014391906111f6565b610402565b6040516101559190611251565b60405180910390f35b610166610425565b604051610173919061127b565b60405180910390f35b61019660048036038101906101919190611296565b61042f565b6040516101a39190611251565b60405180910390f35b6101b461055e565b6040516101c19190611305565b60405180910390f35b6101e460048036038101906101df91906111f6565b610567565b6040516101f19190611251565b60405180910390f35b610214600480360381019061020f9190611320565b61059e565b005b610230600480360381019061022b9190611379565b61062b565b005b61024c600480360381019061024791906113a6565b610687565b604051610259919061127b565b60405180910390f35b61026a6106cf565b005b6102746106e3565b60405161028191906113e2565b60405180910390f35b61029261070d565b60405161029f919061113b565b60405180910390f35b6102c260048036038101906102bd91906111f6565b61079f565b6040516102cf9190611251565b60405180910390f35b6102f260048036038101906102ed91906111f6565b610816565b6040516102ff9190611251565b60405180910390f35b610322600480360381019061031d91906113fd565b61091a565b60405161032f919061127b565b60405180910390f35b610352600480360381019061034d91906113a6565b6109a1565b005b61036e600480360381019061036991906113a6565b610a93565b005b60606003805461037f9061146c565b80601f01602080910402602001604051908101604052809291908181526020018280546103ab9061146c565b80156103f85780601f106103cd576101008083540402835291602001916103f8565b820191906000526020600020905b8154815290600101906020018083116103db57829003601f168201915b5050505050905090565b60008061040d610b16565b905061041a818585610b1e565b600191505092915050565b6000600254905090565b60008060646006548461044291906114cc565b61044c919061153d565b90506000818461045c919061156e565b9050610469868683610ce7565b60008211156105275761049f86600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610ce7565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fb4a4e935856b6f5a5da9e94d865b3957d0377d969c8cd9d552a0db5abab7303f8460405161051e919061127b565b60405180910390a35b610551863383876105388b3361091a565b610542919061156e565b61054c91906115a2565b610b1e565b6001925050509392505050565b60006012905090565b600080610572610b16565b9050610593818585610584858961091a565b61058e91906115a2565b610b1e565b600191505092915050565b6105a6610f5d565b60648111156105ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e190611622565b60405180910390fd5b806006819055507f30306edce773c1d8450d7edff27ec41173d345eda8e1e10dc3994947d1c6c9a781604051610620919061127b565b60405180910390a150565b610633610f5d565b80600760146101000a81548160ff0219169083151502179055507f5bb2376cf656637e70e36c01d3da25685bf3b353f18681b8a5e48c7b2effe1338160405161067c9190611251565b60405180910390a150565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6106d7610f5d565b6106e16000610fdb565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461071c9061146c565b80601f01602080910402602001604051908101604052809291908181526020018280546107489061146c565b80156107955780601f1061076a57610100808354040283529160200191610795565b820191906000526020600020905b81548152906001019060200180831161077857829003601f168201915b5050505050905090565b6000806107aa610b16565b905060006107b8828661091a565b9050838110156107fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f4906116b4565b60405180910390fd5b61080a8286868403610b1e565b60019250505092915050565b60008060646006548461082991906114cc565b610833919061153d565b905060008184610843919061156e565b9050610850338683610ce7565b600082111561090e5761088633600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610ce7565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fb4a4e935856b6f5a5da9e94d865b3957d0377d969c8cd9d552a0db5abab7303f84604051610905919061127b565b60405180910390a35b60019250505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6109a9610f5d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90611746565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc714d22a2f08b695f81e7c707058db484aa5b4d6b4c9fd64beb10fe85832f60881604051610a8891906113e2565b60405180910390a150565b610a9b610f5d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b01906117d8565b60405180910390fd5b610b1381610fdb565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b849061186a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf3906118fc565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610cda919061127b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d9061198e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc90611a20565b60405180910390fd5b610dd08383836110a1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90611ab2565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f44919061127b565b60405180910390a3610f578484846110a6565b50505050565b610f65610b16565b73ffffffffffffffffffffffffffffffffffffffff16610f836106e3565b73ffffffffffffffffffffffffffffffffffffffff1614610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090611b1e565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156110e55780820151818401526020810190506110ca565b60008484015250505050565b6000601f19601f8301169050919050565b600061110d826110ab565b61111781856110b6565b93506111278185602086016110c7565b611130816110f1565b840191505092915050565b600060208201905081810360008301526111558184611102565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061118d82611162565b9050919050565b61119d81611182565b81146111a857600080fd5b50565b6000813590506111ba81611194565b92915050565b6000819050919050565b6111d3816111c0565b81146111de57600080fd5b50565b6000813590506111f0816111ca565b92915050565b6000806040838503121561120d5761120c61115d565b5b600061121b858286016111ab565b925050602061122c858286016111e1565b9150509250929050565b60008115159050919050565b61124b81611236565b82525050565b60006020820190506112666000830184611242565b92915050565b611275816111c0565b82525050565b6000602082019050611290600083018461126c565b92915050565b6000806000606084860312156112af576112ae61115d565b5b60006112bd868287016111ab565b93505060206112ce868287016111ab565b92505060406112df868287016111e1565b9150509250925092565b600060ff82169050919050565b6112ff816112e9565b82525050565b600060208201905061131a60008301846112f6565b92915050565b6000602082840312156113365761133561115d565b5b6000611344848285016111e1565b91505092915050565b61135681611236565b811461136157600080fd5b50565b6000813590506113738161134d565b92915050565b60006020828403121561138f5761138e61115d565b5b600061139d84828501611364565b91505092915050565b6000602082840312156113bc576113bb61115d565b5b60006113ca848285016111ab565b91505092915050565b6113dc81611182565b82525050565b60006020820190506113f760008301846113d3565b92915050565b600080604083850312156114145761141361115d565b5b6000611422858286016111ab565b9250506020611433858286016111ab565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061148457607f821691505b6020821081036114975761149661143d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006114d7826111c0565b91506114e2836111c0565b92508282026114f0816111c0565b915082820484148315176115075761150661149d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611548826111c0565b9150611553836111c0565b9250826115635761156261150e565b5b828204905092915050565b6000611579826111c0565b9150611584836111c0565b925082820390508181111561159c5761159b61149d565b5b92915050565b60006115ad826111c0565b91506115b8836111c0565b92508282019050808211156115d0576115cf61149d565b5b92915050565b7f5461782070657263656e742063616e6e6f742065786365656420313030000000600082015250565b600061160c601d836110b6565b9150611617826115d6565b602082019050919050565b6000602082019050818103600083015261163b816115ff565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061169e6025836110b6565b91506116a982611642565b604082019050919050565b600060208201905081810360008301526116cd81611691565b9050919050565b7f54726561737572792063616e6e6f7420626520746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006117306023836110b6565b915061173b826116d4565b604082019050919050565b6000602082019050818103600083015261175f81611723565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006117c26026836110b6565b91506117cd82611766565b604082019050919050565b600060208201905081810360008301526117f1816117b5565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006118546024836110b6565b915061185f826117f8565b604082019050919050565b6000602082019050818103600083015261188381611847565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006118e66022836110b6565b91506118f18261188a565b604082019050919050565b60006020820190508181036000830152611915816118d9565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006119786025836110b6565b91506119838261191c565b604082019050919050565b600060208201905081810360008301526119a78161196b565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611a0a6023836110b6565b9150611a15826119ae565b604082019050919050565b60006020820190508181036000830152611a39816119fd565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611a9c6026836110b6565b9150611aa782611a40565b604082019050919050565b60006020820190508181036000830152611acb81611a8f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611b086020836110b6565b9150611b1382611ad2565b602082019050919050565b60006020820190508181036000830152611b3781611afb565b905091905056fea2646970667358221220e9102e491b6fc57d7fad2f6c83e0a19e3c98e55d0eeb4032963cc74ae150b9e164736f6c63430008120033