ETH Price: $3,053.71 (+1.72%)
Gas: 13 Gwei

Contract

0x8189AFBE7b0e81daE735EF027cd31371b3974FeB
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer196752212024-04-17 12:34:1128 hrs ago1713357251IN
0x8189AFBE...1b3974FeB
0 ETH0.0035493268
Transfer196673502024-04-16 10:08:112 days ago1713262091IN
0x8189AFBE...1b3974FeB
0 ETH0.0009397418
Approve196552892024-04-14 17:33:353 days ago1713116015IN
0x8189AFBE...1b3974FeB
0 ETH0.0011079823.62197107
Transfer196552872024-04-14 17:33:113 days ago1713115991IN
0x8189AFBE...1b3974FeB
0 ETH0.0018637335.6819459
Approve196544522024-04-14 14:44:474 days ago1713105887IN
0x8189AFBE...1b3974FeB
0 ETH0.0005625911.98199129
Transfer196544342024-04-14 14:41:114 days ago1713105671IN
0x8189AFBE...1b3974FeB
0 ETH0.0009857118.87611404
Transfer196504732024-04-14 1:22:114 days ago1713057731IN
0x8189AFBE...1b3974FeB
0 ETH0.0012916924.74123041
Transfer196395502024-04-12 12:33:116 days ago1712925191IN
0x8189AFBE...1b3974FeB
0 ETH0.0014614828
Approve196325922024-04-11 13:11:237 days ago1712841083IN
0x8189AFBE...1b3974FeB
0 ETH0.0006284125.19211028
Transfer196141932024-04-08 23:23:119 days ago1712618591IN
0x8189AFBE...1b3974FeB
0 ETH0.0022449443
Transfer196061562024-04-07 20:21:1110 days ago1712521271IN
0x8189AFBE...1b3974FeB
0 ETH0.0022449443
Transfer196049922024-04-07 16:26:1111 days ago1712507171IN
0x8189AFBE...1b3974FeB
0 ETH0.0022444243
Transfer195677802024-04-02 11:20:1116 days ago1712056811IN
0x8189AFBE...1b3974FeB
0 ETH0.0017224633
Transfer195672702024-04-02 9:37:1116 days ago1712050631IN
0x8189AFBE...1b3974FeB
0 ETH0.0018272835
Transfer195547542024-03-31 15:26:1118 days ago1711898771IN
0x8189AFBE...1b3974FeB
0 ETH0.0008494330.33712598
Approve195476912024-03-30 15:35:2319 days ago1711812923IN
0x8189AFBE...1b3974FeB
0 ETH0.0015878833.66364101
Transfer195474362024-03-30 14:43:1119 days ago1711809791IN
0x8189AFBE...1b3974FeB
0 ETH0.0021524941.22921525
Approve195473132024-03-30 14:18:2319 days ago1711808303IN
0x8189AFBE...1b3974FeB
0 ETH0.0014012329.66890612
Transfer195457592024-03-30 9:03:1119 days ago1711789391IN
0x8189AFBE...1b3974FeB
0 ETH0.0014227227.25102557
Approve195435882024-03-30 1:43:4719 days ago1711763027IN
0x8189AFBE...1b3974FeB
0 ETH0.0009609820.34734163
Transfer195406202024-03-29 15:43:1120 days ago1711726991IN
0x8189AFBE...1b3974FeB
0 ETH0.0027636152.9468461
Approve195338932024-03-28 16:56:1121 days ago1711644971IN
0x8189AFBE...1b3974FeB
0 ETH0.0021539645.66480303
Transfer195250612024-03-27 10:26:1122 days ago1711535171IN
0x8189AFBE...1b3974FeB
0 ETH0.0017641233.80589178
Transfer195239332024-03-27 6:35:1122 days ago1711521311IN
0x8189AFBE...1b3974FeB
0 ETH0.0015605129.89030364
Transfer195222052024-03-27 0:41:1122 days ago1711500071IN
0x8189AFBE...1b3974FeB
0 ETH0.0017862734.22247028
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Bean

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Bean.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.6;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract Bean is ERC20, Pausable, Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using ECDSA for bytes32;

    uint256 public constant MAX_SUPPLY = 1_000_000_000 * (10**18);

    address public signatureManager;

    // contract => tokenId => claimed
    mapping(address => mapping(uint256 => bool)) public tokenClaimed;

    // signature => claimed
    mapping(bytes => bool) public signatureClaimed;

    // contract whitelist
    mapping(address => bool) public contractSupports;

    receive() external payable {}

    constructor(
        string memory _name,
        string memory _symbol,
        address _treasury,
        address _zagabond,
        address _signatureManager,
        address[] memory _contracts
    ) ERC20(_name, _symbol) {
        _mint(address(this), MAX_SUPPLY.div(2));
        _mint(_treasury, MAX_SUPPLY.div(10).mul(4));
        _mint(_zagabond, MAX_SUPPLY.div(10).mul(1));
        signatureManager = _signatureManager;
        for (uint256 i = 0; i < _contracts.length; i++) {
            contractSupports[_contracts[i]] = true;
        }
    }

    function claim(
        address[] memory _contracts,      // NFT contracts: azuki + beanz + elementals
        uint256[] memory _amounts,        // token amount for every contract: 2 + 3 + 1
        uint256[] memory _tokenIds,       // all token id, tokenIds.length = sum(amounts)
        uint256 _claimAmount,
        uint256 _endTime,
        bytes memory _signature          // sender + contracts + tokenIds + claimAmount + endTime
    ) external whenNotPaused nonReentrant {
        // check length
        require(_contracts.length == _amounts.length, "contracts length not match amounts length");

        // check contracts
        for (uint256 i = 0; i < _contracts.length; i++) {
            require(contractSupports[_contracts[i]], "contract not support");
        }

        uint256 totalAmount;
        for (uint256 j = 0; j < _amounts.length; j++) {
            totalAmount = totalAmount + _amounts[j];
        }
        require(totalAmount == _tokenIds.length, "total amount not match tokenId length");

        // check signature
        bytes32 message = keccak256(abi.encodePacked(msg.sender, _contracts, _tokenIds, _claimAmount, _endTime));
        require(signatureManager == message.toEthSignedMessageHash().recover(_signature), "invalid signature");
        require(block.timestamp <= _endTime, "signature expired");

        // check NFT
        uint256 endIndex;
        uint256 startIndex;
        for (uint256 i = 0; i < _amounts.length; i++) {

            endIndex = startIndex + _amounts[i];

            for (uint256 j = startIndex; j < endIndex; j++) {
                address contractAddr = _contracts[i];
                uint256 tokenId = _tokenIds[j];
                require(IERC721(contractAddr).ownerOf(tokenId) == msg.sender, "not owner");
                tokenClaimed[contractAddr][tokenId] = true;
            }
            startIndex = endIndex;
        }
        signatureClaimed[_signature] = true;
        // transfer token
        _transfer(address(this), msg.sender, _claimAmount);
    }

    function setContractSupports(address[] memory _contracts, bool[] memory _enables) external onlyOwner {
        require(_contracts.length == _enables.length, "contracts length not match _enables length");
        for (uint256 i = 0; i < _contracts.length; i++) {
            contractSupports[_contracts[i]] = _enables[i];
        }
    }

    function setSignatureManager(address _signatureManager) external onlyOwner {
        signatureManager = _signatureManager;
    }

    function finish() external onlyOwner whenPaused {
        _burn(address(this), balanceOf(address(this)));
    }

    function pause() external onlyOwner whenNotPaused {
        _pause();
    }

    function unpause() external onlyOwner whenPaused {
        _unpause();
    }

    function withdraw(address _receiver, address _token, bool _isETH) external onlyOwner {
        if (_isETH) {
            payable(_receiver).transfer(address(this).balance);
        } else {
            IERC20(_token).transfer(_receiver, IERC20(_token).balanceOf(address(this)));
        }
    }

}

File 2 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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);
    }
}

File 3 of 16 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 5 of 16 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's 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 {}
}

File 6 of 16 : 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);
}

File 7 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

File 8 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

File 9 of 16 : 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;
    }
}

File 10 of 16 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 11 of 16 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

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

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32")
            mstore(0x1c, hash)
            message := keccak256(0x00, 0x3c)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}

File 12 of 16 : 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);
}

File 13 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

File 14 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 15 of 16 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 16 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_zagabond","type":"address"},{"internalType":"address","name":"_signatureManager","type":"address"},{"internalType":"address[]","name":"_contracts","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_contracts","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256","name":"_claimAmount","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contractSupports","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finish","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_contracts","type":"address[]"},{"internalType":"bool[]","name":"_enables","type":"bool[]"}],"name":"setContractSupports","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signatureManager","type":"address"}],"name":"setSignatureManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"signatureClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"signatureManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_isETH","type":"bool"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162004837380380620048378339818101604052810190620000379190620006db565b8585816003908051906020019062000051929190620004e8565b5080600490805190602001906200006a929190620004e8565b5050506000600560006101000a81548160ff021916908315150217905550620000a86200009c6200027260201b60201c565b6200027a60201b60201c565b6001600681905550620000e830620000dc60026b033b2e3c9fd0803ce80000006200034060201b620013901790919060201c565b6200035860201b60201c565b6200013a846200012e60046200011a600a6b033b2e3c9fd0803ce80000006200034060201b620013901790919060201c565b620004c660201b620013a61790919060201c565b6200035860201b60201c565b6200018c836200018060016200016c600a6b033b2e3c9fd0803ce80000006200034060201b620013901790919060201c565b620004c660201b620013a61790919060201c565b6200035860201b60201c565b81600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060005b815181101562000265576001600a6000848481518110620001f657620001f562000b9b565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806200025c9062000ac0565b915050620001d0565b5050505050505062000c66565b600033905090565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818362000350919062000947565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003cb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003c2906200080c565b60405180910390fd5b620003df60008383620004de60201b60201c565b8060026000828254620003f39190620008ea565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004a691906200082e565b60405180910390a3620004c260008383620004e360201b60201c565b5050565b60008183620004d691906200097f565b905092915050565b505050565b505050565b828054620004f69062000a54565b90600052602060002090601f0160209004810192826200051a576000855562000566565b82601f106200053557805160ff191683800117855562000566565b8280016001018555821562000566579182015b828111156200056557825182559160200191906001019062000548565b5b50905062000575919062000579565b5090565b5b80821115620005945760008160009055506001016200057a565b5090565b6000620005af620005a98462000874565b6200084b565b90508083825260208201905082856020860282011115620005d557620005d462000bfe565b5b60005b85811015620006095781620005ee88826200065e565b845260208401935060208301925050600181019050620005d8565b5050509392505050565b60006200062a6200062484620008a3565b6200084b565b90508281526020810184848401111562000649576200064862000c03565b5b6200065684828562000a1e565b509392505050565b6000815190506200066f8162000c4c565b92915050565b600082601f8301126200068d576200068c62000bf9565b5b81516200069f84826020860162000598565b91505092915050565b600082601f830112620006c057620006bf62000bf9565b5b8151620006d284826020860162000613565b91505092915050565b60008060008060008060c08789031215620006fb57620006fa62000c0d565b5b600087015167ffffffffffffffff8111156200071c576200071b62000c08565b5b6200072a89828a01620006a8565b965050602087015167ffffffffffffffff8111156200074e576200074d62000c08565b5b6200075c89828a01620006a8565b95505060406200076f89828a016200065e565b94505060606200078289828a016200065e565b93505060806200079589828a016200065e565b92505060a087015167ffffffffffffffff811115620007b957620007b862000c08565b5b620007c789828a0162000675565b9150509295509295509295565b6000620007e3601f83620008d9565b9150620007f08262000c23565b602082019050919050565b620008068162000a14565b82525050565b600060208201905081810360008301526200082781620007d4565b9050919050565b6000602082019050620008456000830184620007fb565b92915050565b6000620008576200086a565b905062000865828262000a8a565b919050565b6000604051905090565b600067ffffffffffffffff82111562000892576200089162000bca565b5b602082029050602081019050919050565b600067ffffffffffffffff821115620008c157620008c062000bca565b5b620008cc8262000c12565b9050602081019050919050565b600082825260208201905092915050565b6000620008f78262000a14565b9150620009048362000a14565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200093c576200093b62000b0e565b5b828201905092915050565b6000620009548262000a14565b9150620009618362000a14565b92508262000974576200097362000b3d565b5b828204905092915050565b60006200098c8262000a14565b9150620009998362000a14565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620009d557620009d462000b0e565b5b828202905092915050565b6000620009ed82620009f4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000a3e57808201518184015260208101905062000a21565b8381111562000a4e576000848401525b50505050565b6000600282049050600182168062000a6d57607f821691505b6020821081141562000a845762000a8362000b6c565b5b50919050565b62000a958262000c12565b810181811067ffffffffffffffff8211171562000ab75762000ab662000bca565b5b80604052505050565b600062000acd8262000a14565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000b035762000b0262000b0e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b62000c5781620009e0565b811462000c6357600080fd5b50565b613bc18062000c766000396000f3fe6080604052600436106101a05760003560e01c806370a08231116100ec578063a457c2d71161008a578063d56b288911610064578063d56b2889146105d5578063dd62ed3e146105ec578063ea3bb66714610629578063f2fde38b14610666576101a7565b8063a457c2d71461051e578063a9059cbb1461055b578063b332a30714610598576101a7565b806387503f85116100c657806387503f85146104625780638da5cb5b1461049f57806390323fd3146104ca57806395d89b41146104f3576101a7565b806370a08231146103f7578063715018a6146104345780638456cb591461044b576101a7565b80633319f3e3116101595780633f4ba83a116101335780633f4ba83a146103635780634b41f34c1461037a5780635c975abb146103a3578063677d28ca146103ce576101a7565b80633319f3e3146102d2578063359c6792146102fb5780633950935114610326576101a7565b806306fdde03146101ac578063095ea7b3146101d757806318160ddd1461021457806323b872dd1461023f578063313ce5671461027c57806332cb6b0c146102a7576101a7565b366101a757005b600080fd5b3480156101b857600080fd5b506101c161068f565b6040516101ce9190612d09565b60405180910390f35b3480156101e357600080fd5b506101fe60048036038101906101f9919061246a565b610721565b60405161020b9190612ca9565b60405180910390f35b34801561022057600080fd5b50610229610744565b604051610236919061302b565b60405180910390f35b34801561024b57600080fd5b5061026660048036038101906102619190612417565b61074e565b6040516102739190612ca9565b60405180910390f35b34801561028857600080fd5b5061029161077d565b60405161029e9190613046565b60405180910390f35b3480156102b357600080fd5b506102bc610786565b6040516102c9919061302b565b60405180910390f35b3480156102de57600080fd5b506102f960048036038101906102f49190612522565b610796565b005b34801561030757600080fd5b50610310610cc5565b60405161031d9190612c65565b60405180910390f35b34801561033257600080fd5b5061034d6004803603810190610348919061246a565b610ceb565b60405161035a9190612ca9565b60405180910390f35b34801561036f57600080fd5b50610378610d22565b005b34801561038657600080fd5b506103a1600480360381019061039c919061232a565b610d3c565b005b3480156103af57600080fd5b506103b8610d88565b6040516103c59190612ca9565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f091906123c4565b610d9f565b005b34801561040357600080fd5b5061041e6004803603810190610419919061232a565b610f15565b60405161042b919061302b565b60405180910390f35b34801561044057600080fd5b50610449610f5d565b005b34801561045757600080fd5b50610460610f71565b005b34801561046e57600080fd5b506104896004803603810190610484919061232a565b610f8b565b6040516104969190612ca9565b60405180910390f35b3480156104ab57600080fd5b506104b4610fab565b6040516104c19190612c65565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec91906124aa565b610fd5565b005b3480156104ff57600080fd5b506105086110d0565b6040516105159190612d09565b60405180910390f35b34801561052a57600080fd5b506105456004803603810190610540919061246a565b611162565b6040516105529190612ca9565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d919061246a565b6111d9565b60405161058f9190612ca9565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba919061264c565b6111fc565b6040516105cc9190612ca9565b60405180910390f35b3480156105e157600080fd5b506105ea611232565b005b3480156105f857600080fd5b50610613600480360381019061060e9190612384565b611256565b604051610620919061302b565b60405180910390f35b34801561063557600080fd5b50610650600480360381019061064b919061246a565b6112dd565b60405161065d9190612ca9565b60405180910390f35b34801561067257600080fd5b5061068d6004803603810190610688919061232a565b61130c565b005b60606003805461069e90613355565b80601f01602080910402602001604051908101604052809291908181526020018280546106ca90613355565b80156107175780601f106106ec57610100808354040283529160200191610717565b820191906000526020600020905b8154815290600101906020018083116106fa57829003601f168201915b5050505050905090565b60008061072c6113bc565b90506107398185856113c4565b600191505092915050565b6000600254905090565b6000806107596113bc565b905061076685828561158f565b61077185858561161b565b60019150509392505050565b60006012905090565b6b033b2e3c9fd0803ce800000081565b61079e611893565b6107a66118dd565b84518651146107ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e190612deb565b60405180910390fd5b60005b86518110156108af57600a600088838151811061080d5761080c6134eb565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661089c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089390612eeb565b60405180910390fd5b80806108a7906133b8565b9150506107ed565b50600080600090505b86518110156108fc578681815181106108d4576108d36134eb565b5b6020026020010151826108e791906131d3565b915080806108f4906133b8565b9150506108b8565b5084518114610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093790612e4b565b60405180910390fd5b6000338887878760405160200161095b959493929190612bf7565b60405160208183030381529060405280519060200120905061098e836109808361192d565b61196390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1490612d8b565b60405180910390fd5b83421115610a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5790612feb565b60405180910390fd5b60008060005b8951811015610c6e57898181518110610a8257610a816134eb565b5b602002602001015182610a9591906131d3565b925060008290505b83811015610c575760008c8381518110610aba57610ab96134eb565b5b6020026020010151905060008b8381518110610ad957610ad86134eb565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610b33919061302b565b60206040518083038186803b158015610b4b57600080fd5b505afa158015610b5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b839190612357565b73ffffffffffffffffffffffffffffffffffffffff1614610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd090612fcb565b60405180910390fd5b6001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050508080610c4f906133b8565b915050610a9d565b508291508080610c66906133b8565b915050610a66565b506001600986604051610c819190612c4e565b908152602001604051809103902060006101000a81548160ff021916908315150217905550610cb130338961161b565b50505050610cbd61198a565b505050505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610cf66113bc565b9050610d17818585610d088589611256565b610d1291906131d3565b6113c4565b600191505092915050565b610d2a611994565b610d32611a12565b610d3a611a5b565b565b610d44611994565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900460ff16905090565b610da7611994565b8015610df9578273ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610df3573d6000803e3d6000fd5b50610f10565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb848473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e4f9190612c65565b60206040518083038186803b158015610e6757600080fd5b505afa158015610e7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9f9190612695565b6040518363ffffffff1660e01b8152600401610ebc929190612c80565b602060405180830381600087803b158015610ed657600080fd5b505af1158015610eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0e919061261f565b505b505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f65611994565b610f6f6000611abe565b565b610f79611994565b610f81611893565b610f89611b84565b565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fdd611994565b8051825114611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890612f6b565b60405180910390fd5b60005b82518110156110cb578181815181106110405761103f6134eb565b5b6020026020010151600a600085848151811061105f5761105e6134eb565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806110c3906133b8565b915050611024565b505050565b6060600480546110df90613355565b80601f016020809104026020016040519081016040528092919081815260200182805461110b90613355565b80156111585780601f1061112d57610100808354040283529160200191611158565b820191906000526020600020905b81548152906001019060200180831161113b57829003601f168201915b5050505050905090565b60008061116d6113bc565b9050600061117b8286611256565b9050838110156111c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b79061300b565b60405180910390fd5b6111cd82868684036113c4565b60019250505092915050565b6000806111e46113bc565b90506111f181858561161b565b600191505092915050565b6009818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b61123a611994565b611242611a12565b6112543061124f30610f15565b611be7565b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60086020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611314611994565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137b90612e0b565b60405180910390fd5b61138d81611abe565b50565b6000818361139e9190613229565b905092915050565b600081836113b4919061325a565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90612f8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b90612e2b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611582919061302b565b60405180910390a3505050565b600061159b8484611256565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116155781811015611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90612e6b565b60405180910390fd5b61161484848484036113c4565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290612f4b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f290612d4b565b60405180910390fd5b611706838383611db5565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561178c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178390612e8b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161187a919061302b565b60405180910390a361188d848484611dba565b50505050565b61189b610d88565b156118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d290612ecb565b60405180910390fd5b565b60026006541415611923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191a90612fab565b60405180910390fd5b6002600681905550565b60007f19457468657265756d205369676e6564204d6573736167653a0a33320000000060005281601c52603c6000209050919050565b60008060006119728585611dbf565b9150915061197f81611e11565b819250505092915050565b6001600681905550565b61199c6113bc565b73ffffffffffffffffffffffffffffffffffffffff166119ba610fab565b73ffffffffffffffffffffffffffffffffffffffff1614611a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0790612f0b565b60405180910390fd5b565b611a1a610d88565b611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5090612d6b565b60405180910390fd5b565b611a63611a12565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611aa76113bc565b604051611ab49190612c65565b60405180910390a1565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b8c611893565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bd06113bc565b604051611bdd9190612c65565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4e90612f2b565b60405180910390fd5b611c6382600083611db5565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce090612dab565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d9c919061302b565b60405180910390a3611db083600084611dba565b505050565b505050565b505050565b600080604183511415611e015760008060006020860151925060408601519150606086015160001a9050611df587828585611f7f565b94509450505050611e0a565b60006002915091505b9250929050565b60006004811115611e2557611e2461348d565b5b816004811115611e3857611e3761348d565b5b1415611e4357611f7c565b60016004811115611e5757611e5661348d565b5b816004811115611e6a57611e6961348d565b5b1415611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290612d2b565b60405180910390fd5b60026004811115611ebf57611ebe61348d565b5b816004811115611ed257611ed161348d565b5b1415611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90612dcb565b60405180910390fd5b60036004811115611f2757611f2661348d565b5b816004811115611f3a57611f3961348d565b5b1415611f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7290612eab565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611fba576000600391509150612059565b600060018787878760405160008152602001604052604051611fdf9493929190612cc4565b6020604051602081039080840390855afa158015612001573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561205057600060019250925050612059565b80600092509250505b94509492505050565b600061207561207084613086565b613061565b905080838252602082019050828560208602820111156120985761209761354e565b5b60005b858110156120c857816120ae88826121f4565b84526020840193506020830192505060018101905061209b565b5050509392505050565b60006120e56120e0846130b2565b613061565b905080838252602082019050828560208602820111156121085761210761354e565b5b60005b85811015612138578161211e88826122a8565b84526020840193506020830192505060018101905061210b565b5050509392505050565b6000612155612150846130de565b613061565b905080838252602082019050828560208602820111156121785761217761354e565b5b60005b858110156121a8578161218e8882612300565b84526020840193506020830192505060018101905061217b565b5050509392505050565b60006121c56121c08461310a565b613061565b9050828152602081018484840111156121e1576121e0613553565b5b6121ec848285613313565b509392505050565b60008135905061220381613b46565b92915050565b60008151905061221881613b46565b92915050565b600082601f83011261223357612232613549565b5b8135612243848260208601612062565b91505092915050565b600082601f83011261226157612260613549565b5b81356122718482602086016120d2565b91505092915050565b600082601f83011261228f5761228e613549565b5b813561229f848260208601612142565b91505092915050565b6000813590506122b781613b5d565b92915050565b6000815190506122cc81613b5d565b92915050565b600082601f8301126122e7576122e6613549565b5b81356122f78482602086016121b2565b91505092915050565b60008135905061230f81613b74565b92915050565b60008151905061232481613b74565b92915050565b6000602082840312156123405761233f61355d565b5b600061234e848285016121f4565b91505092915050565b60006020828403121561236d5761236c61355d565b5b600061237b84828501612209565b91505092915050565b6000806040838503121561239b5761239a61355d565b5b60006123a9858286016121f4565b92505060206123ba858286016121f4565b9150509250929050565b6000806000606084860312156123dd576123dc61355d565b5b60006123eb868287016121f4565b93505060206123fc868287016121f4565b925050604061240d868287016122a8565b9150509250925092565b6000806000606084860312156124305761242f61355d565b5b600061243e868287016121f4565b935050602061244f868287016121f4565b925050604061246086828701612300565b9150509250925092565b600080604083850312156124815761248061355d565b5b600061248f858286016121f4565b92505060206124a085828601612300565b9150509250929050565b600080604083850312156124c1576124c061355d565b5b600083013567ffffffffffffffff8111156124df576124de613558565b5b6124eb8582860161221e565b925050602083013567ffffffffffffffff81111561250c5761250b613558565b5b6125188582860161224c565b9150509250929050565b60008060008060008060c0878903121561253f5761253e61355d565b5b600087013567ffffffffffffffff81111561255d5761255c613558565b5b61256989828a0161221e565b965050602087013567ffffffffffffffff81111561258a57612589613558565b5b61259689828a0161227a565b955050604087013567ffffffffffffffff8111156125b7576125b6613558565b5b6125c389828a0161227a565b94505060606125d489828a01612300565b93505060806125e589828a01612300565b92505060a087013567ffffffffffffffff81111561260657612605613558565b5b61261289828a016122d2565b9150509295509295509295565b6000602082840312156126355761263461355d565b5b6000612643848285016122bd565b91505092915050565b6000602082840312156126625761266161355d565b5b600082013567ffffffffffffffff8111156126805761267f613558565b5b61268c848285016122d2565b91505092915050565b6000602082840312156126ab576126aa61355d565b5b60006126b984828501612315565b91505092915050565b60006126ce8383612701565b60208301905092915050565b60006126e68383612bc2565b60208301905092915050565b6126fb816132b4565b82525050565b61270a816132b4565b82525050565b61272161271c826132b4565b613401565b82525050565b60006127328261315b565b61273c81856131a1565b93506127478361313b565b8060005b8381101561277857815161275f88826126c2565b975061276a83613187565b92505060018101905061274b565b5085935050505092915050565b600061279082613166565b61279a81856131ac565b93506127a58361314b565b8060005b838110156127d65781516127bd88826126da565b97506127c883613194565b9250506001810190506127a9565b5085935050505092915050565b6127ec816132c6565b82525050565b6127fb816132d2565b82525050565b600061280c82613171565b61281681856131b7565b9350612826818560208601613322565b80840191505092915050565b600061283d8261317c565b61284781856131c2565b9350612857818560208601613322565b61286081613562565b840191505092915050565b60006128786018836131c2565b915061288382613580565b602082019050919050565b600061289b6023836131c2565b91506128a6826135a9565b604082019050919050565b60006128be6014836131c2565b91506128c9826135f8565b602082019050919050565b60006128e16011836131c2565b91506128ec82613621565b602082019050919050565b60006129046022836131c2565b915061290f8261364a565b604082019050919050565b6000612927601f836131c2565b915061293282613699565b602082019050919050565b600061294a6029836131c2565b9150612955826136c2565b604082019050919050565b600061296d6026836131c2565b915061297882613711565b604082019050919050565b60006129906022836131c2565b915061299b82613760565b604082019050919050565b60006129b36025836131c2565b91506129be826137af565b604082019050919050565b60006129d6601d836131c2565b91506129e1826137fe565b602082019050919050565b60006129f96026836131c2565b9150612a0482613827565b604082019050919050565b6000612a1c6022836131c2565b9150612a2782613876565b604082019050919050565b6000612a3f6010836131c2565b9150612a4a826138c5565b602082019050919050565b6000612a626014836131c2565b9150612a6d826138ee565b602082019050919050565b6000612a856020836131c2565b9150612a9082613917565b602082019050919050565b6000612aa86021836131c2565b9150612ab382613940565b604082019050919050565b6000612acb6025836131c2565b9150612ad68261398f565b604082019050919050565b6000612aee602a836131c2565b9150612af9826139de565b604082019050919050565b6000612b116024836131c2565b9150612b1c82613a2d565b604082019050919050565b6000612b34601f836131c2565b9150612b3f82613a7c565b602082019050919050565b6000612b576009836131c2565b9150612b6282613aa5565b602082019050919050565b6000612b7a6011836131c2565b9150612b8582613ace565b602082019050919050565b6000612b9d6025836131c2565b9150612ba882613af7565b604082019050919050565b612bbc816132fc565b82525050565b612bcb816132fc565b82525050565b612be2612bdd826132fc565b613425565b82525050565b612bf181613306565b82525050565b6000612c038288612710565b601482019150612c138287612727565b9150612c1f8286612785565b9150612c2b8285612bd1565b602082019150612c3b8284612bd1565b6020820191508190509695505050505050565b6000612c5a8284612801565b915081905092915050565b6000602082019050612c7a60008301846126f2565b92915050565b6000604082019050612c9560008301856126f2565b612ca26020830184612bb3565b9392505050565b6000602082019050612cbe60008301846127e3565b92915050565b6000608082019050612cd960008301876127f2565b612ce66020830186612be8565b612cf360408301856127f2565b612d0060608301846127f2565b95945050505050565b60006020820190508181036000830152612d238184612832565b905092915050565b60006020820190508181036000830152612d448161286b565b9050919050565b60006020820190508181036000830152612d648161288e565b9050919050565b60006020820190508181036000830152612d84816128b1565b9050919050565b60006020820190508181036000830152612da4816128d4565b9050919050565b60006020820190508181036000830152612dc4816128f7565b9050919050565b60006020820190508181036000830152612de48161291a565b9050919050565b60006020820190508181036000830152612e048161293d565b9050919050565b60006020820190508181036000830152612e2481612960565b9050919050565b60006020820190508181036000830152612e4481612983565b9050919050565b60006020820190508181036000830152612e64816129a6565b9050919050565b60006020820190508181036000830152612e84816129c9565b9050919050565b60006020820190508181036000830152612ea4816129ec565b9050919050565b60006020820190508181036000830152612ec481612a0f565b9050919050565b60006020820190508181036000830152612ee481612a32565b9050919050565b60006020820190508181036000830152612f0481612a55565b9050919050565b60006020820190508181036000830152612f2481612a78565b9050919050565b60006020820190508181036000830152612f4481612a9b565b9050919050565b60006020820190508181036000830152612f6481612abe565b9050919050565b60006020820190508181036000830152612f8481612ae1565b9050919050565b60006020820190508181036000830152612fa481612b04565b9050919050565b60006020820190508181036000830152612fc481612b27565b9050919050565b60006020820190508181036000830152612fe481612b4a565b9050919050565b6000602082019050818103600083015261300481612b6d565b9050919050565b6000602082019050818103600083015261302481612b90565b9050919050565b60006020820190506130406000830184612bb3565b92915050565b600060208201905061305b6000830184612be8565b92915050565b600061306b61307c565b90506130778282613387565b919050565b6000604051905090565b600067ffffffffffffffff8211156130a1576130a061351a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156130cd576130cc61351a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156130f9576130f861351a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156131255761312461351a565b5b61312e82613562565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600081905092915050565b600081905092915050565b600082825260208201905092915050565b60006131de826132fc565b91506131e9836132fc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561321e5761321d61342f565b5b828201905092915050565b6000613234826132fc565b915061323f836132fc565b92508261324f5761324e61345e565b5b828204905092915050565b6000613265826132fc565b9150613270836132fc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132a9576132a861342f565b5b828202905092915050565b60006132bf826132dc565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613340578082015181840152602081019050613325565b8381111561334f576000848401525b50505050565b6000600282049050600182168061336d57607f821691505b60208210811415613381576133806134bc565b5b50919050565b61339082613562565b810181811067ffffffffffffffff821117156133af576133ae61351a565b5b80604052505050565b60006133c3826132fc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133f6576133f561342f565b5b600182019050919050565b600061340c82613413565b9050919050565b600061341e82613573565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f696e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f636f6e747261637473206c656e677468206e6f74206d6174636820616d6f756e60008201527f7473206c656e6774680000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f746f74616c20616d6f756e74206e6f74206d6174636820746f6b656e4964206c60008201527f656e677468000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f636f6e7472616374206e6f7420737570706f7274000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f636f6e747261637473206c656e677468206e6f74206d61746368205f656e616260008201527f6c6573206c656e67746800000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f6e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b7f7369676e61747572652065787069726564000000000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b613b4f816132b4565b8114613b5a57600080fd5b50565b613b66816132c6565b8114613b7157600080fd5b50565b613b7d816132fc565b8114613b8857600080fd5b5056fea26469706673582212209dbf3fd099a39b9424411758040e63b0dd9c369efd835a7af12a93d269513ea364736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000e72312853d7eb831855fa511f516cb6690eb8320000000000000000000000000451762f5ca104aa07c0c0c28244914239da59ea9000000000000000000000000706ddc29b3fc5ce86b78bf9aafd2b155c1772a4d0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000a4265616e20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044265616e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ed5af388653567af2f388e6224dc7c4b3241c544000000000000000000000000306b1ea3ecdf94ab739f1910bbda052ed4a9f949000000000000000000000000b6a37b5d14d502c3ab0ae6f3a0e058bc9517786e

Deployed Bytecode

0x6080604052600436106101a05760003560e01c806370a08231116100ec578063a457c2d71161008a578063d56b288911610064578063d56b2889146105d5578063dd62ed3e146105ec578063ea3bb66714610629578063f2fde38b14610666576101a7565b8063a457c2d71461051e578063a9059cbb1461055b578063b332a30714610598576101a7565b806387503f85116100c657806387503f85146104625780638da5cb5b1461049f57806390323fd3146104ca57806395d89b41146104f3576101a7565b806370a08231146103f7578063715018a6146104345780638456cb591461044b576101a7565b80633319f3e3116101595780633f4ba83a116101335780633f4ba83a146103635780634b41f34c1461037a5780635c975abb146103a3578063677d28ca146103ce576101a7565b80633319f3e3146102d2578063359c6792146102fb5780633950935114610326576101a7565b806306fdde03146101ac578063095ea7b3146101d757806318160ddd1461021457806323b872dd1461023f578063313ce5671461027c57806332cb6b0c146102a7576101a7565b366101a757005b600080fd5b3480156101b857600080fd5b506101c161068f565b6040516101ce9190612d09565b60405180910390f35b3480156101e357600080fd5b506101fe60048036038101906101f9919061246a565b610721565b60405161020b9190612ca9565b60405180910390f35b34801561022057600080fd5b50610229610744565b604051610236919061302b565b60405180910390f35b34801561024b57600080fd5b5061026660048036038101906102619190612417565b61074e565b6040516102739190612ca9565b60405180910390f35b34801561028857600080fd5b5061029161077d565b60405161029e9190613046565b60405180910390f35b3480156102b357600080fd5b506102bc610786565b6040516102c9919061302b565b60405180910390f35b3480156102de57600080fd5b506102f960048036038101906102f49190612522565b610796565b005b34801561030757600080fd5b50610310610cc5565b60405161031d9190612c65565b60405180910390f35b34801561033257600080fd5b5061034d6004803603810190610348919061246a565b610ceb565b60405161035a9190612ca9565b60405180910390f35b34801561036f57600080fd5b50610378610d22565b005b34801561038657600080fd5b506103a1600480360381019061039c919061232a565b610d3c565b005b3480156103af57600080fd5b506103b8610d88565b6040516103c59190612ca9565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f091906123c4565b610d9f565b005b34801561040357600080fd5b5061041e6004803603810190610419919061232a565b610f15565b60405161042b919061302b565b60405180910390f35b34801561044057600080fd5b50610449610f5d565b005b34801561045757600080fd5b50610460610f71565b005b34801561046e57600080fd5b506104896004803603810190610484919061232a565b610f8b565b6040516104969190612ca9565b60405180910390f35b3480156104ab57600080fd5b506104b4610fab565b6040516104c19190612c65565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec91906124aa565b610fd5565b005b3480156104ff57600080fd5b506105086110d0565b6040516105159190612d09565b60405180910390f35b34801561052a57600080fd5b506105456004803603810190610540919061246a565b611162565b6040516105529190612ca9565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d919061246a565b6111d9565b60405161058f9190612ca9565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba919061264c565b6111fc565b6040516105cc9190612ca9565b60405180910390f35b3480156105e157600080fd5b506105ea611232565b005b3480156105f857600080fd5b50610613600480360381019061060e9190612384565b611256565b604051610620919061302b565b60405180910390f35b34801561063557600080fd5b50610650600480360381019061064b919061246a565b6112dd565b60405161065d9190612ca9565b60405180910390f35b34801561067257600080fd5b5061068d6004803603810190610688919061232a565b61130c565b005b60606003805461069e90613355565b80601f01602080910402602001604051908101604052809291908181526020018280546106ca90613355565b80156107175780601f106106ec57610100808354040283529160200191610717565b820191906000526020600020905b8154815290600101906020018083116106fa57829003601f168201915b5050505050905090565b60008061072c6113bc565b90506107398185856113c4565b600191505092915050565b6000600254905090565b6000806107596113bc565b905061076685828561158f565b61077185858561161b565b60019150509392505050565b60006012905090565b6b033b2e3c9fd0803ce800000081565b61079e611893565b6107a66118dd565b84518651146107ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e190612deb565b60405180910390fd5b60005b86518110156108af57600a600088838151811061080d5761080c6134eb565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661089c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089390612eeb565b60405180910390fd5b80806108a7906133b8565b9150506107ed565b50600080600090505b86518110156108fc578681815181106108d4576108d36134eb565b5b6020026020010151826108e791906131d3565b915080806108f4906133b8565b9150506108b8565b5084518114610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093790612e4b565b60405180910390fd5b6000338887878760405160200161095b959493929190612bf7565b60405160208183030381529060405280519060200120905061098e836109808361192d565b61196390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1490612d8b565b60405180910390fd5b83421115610a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5790612feb565b60405180910390fd5b60008060005b8951811015610c6e57898181518110610a8257610a816134eb565b5b602002602001015182610a9591906131d3565b925060008290505b83811015610c575760008c8381518110610aba57610ab96134eb565b5b6020026020010151905060008b8381518110610ad957610ad86134eb565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610b33919061302b565b60206040518083038186803b158015610b4b57600080fd5b505afa158015610b5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b839190612357565b73ffffffffffffffffffffffffffffffffffffffff1614610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd090612fcb565b60405180910390fd5b6001600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050508080610c4f906133b8565b915050610a9d565b508291508080610c66906133b8565b915050610a66565b506001600986604051610c819190612c4e565b908152602001604051809103902060006101000a81548160ff021916908315150217905550610cb130338961161b565b50505050610cbd61198a565b505050505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610cf66113bc565b9050610d17818585610d088589611256565b610d1291906131d3565b6113c4565b600191505092915050565b610d2a611994565b610d32611a12565b610d3a611a5b565b565b610d44611994565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900460ff16905090565b610da7611994565b8015610df9578273ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610df3573d6000803e3d6000fd5b50610f10565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb848473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e4f9190612c65565b60206040518083038186803b158015610e6757600080fd5b505afa158015610e7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9f9190612695565b6040518363ffffffff1660e01b8152600401610ebc929190612c80565b602060405180830381600087803b158015610ed657600080fd5b505af1158015610eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0e919061261f565b505b505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f65611994565b610f6f6000611abe565b565b610f79611994565b610f81611893565b610f89611b84565b565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610fdd611994565b8051825114611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890612f6b565b60405180910390fd5b60005b82518110156110cb578181815181106110405761103f6134eb565b5b6020026020010151600a600085848151811061105f5761105e6134eb565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806110c3906133b8565b915050611024565b505050565b6060600480546110df90613355565b80601f016020809104026020016040519081016040528092919081815260200182805461110b90613355565b80156111585780601f1061112d57610100808354040283529160200191611158565b820191906000526020600020905b81548152906001019060200180831161113b57829003601f168201915b5050505050905090565b60008061116d6113bc565b9050600061117b8286611256565b9050838110156111c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b79061300b565b60405180910390fd5b6111cd82868684036113c4565b60019250505092915050565b6000806111e46113bc565b90506111f181858561161b565b600191505092915050565b6009818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b61123a611994565b611242611a12565b6112543061124f30610f15565b611be7565b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60086020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611314611994565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137b90612e0b565b60405180910390fd5b61138d81611abe565b50565b6000818361139e9190613229565b905092915050565b600081836113b4919061325a565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90612f8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b90612e2b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611582919061302b565b60405180910390a3505050565b600061159b8484611256565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116155781811015611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90612e6b565b60405180910390fd5b61161484848484036113c4565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290612f4b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f290612d4b565b60405180910390fd5b611706838383611db5565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561178c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178390612e8b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161187a919061302b565b60405180910390a361188d848484611dba565b50505050565b61189b610d88565b156118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d290612ecb565b60405180910390fd5b565b60026006541415611923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191a90612fab565b60405180910390fd5b6002600681905550565b60007f19457468657265756d205369676e6564204d6573736167653a0a33320000000060005281601c52603c6000209050919050565b60008060006119728585611dbf565b9150915061197f81611e11565b819250505092915050565b6001600681905550565b61199c6113bc565b73ffffffffffffffffffffffffffffffffffffffff166119ba610fab565b73ffffffffffffffffffffffffffffffffffffffff1614611a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0790612f0b565b60405180910390fd5b565b611a1a610d88565b611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5090612d6b565b60405180910390fd5b565b611a63611a12565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611aa76113bc565b604051611ab49190612c65565b60405180910390a1565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b8c611893565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bd06113bc565b604051611bdd9190612c65565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4e90612f2b565b60405180910390fd5b611c6382600083611db5565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce090612dab565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d9c919061302b565b60405180910390a3611db083600084611dba565b505050565b505050565b505050565b600080604183511415611e015760008060006020860151925060408601519150606086015160001a9050611df587828585611f7f565b94509450505050611e0a565b60006002915091505b9250929050565b60006004811115611e2557611e2461348d565b5b816004811115611e3857611e3761348d565b5b1415611e4357611f7c565b60016004811115611e5757611e5661348d565b5b816004811115611e6a57611e6961348d565b5b1415611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290612d2b565b60405180910390fd5b60026004811115611ebf57611ebe61348d565b5b816004811115611ed257611ed161348d565b5b1415611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90612dcb565b60405180910390fd5b60036004811115611f2757611f2661348d565b5b816004811115611f3a57611f3961348d565b5b1415611f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7290612eab565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115611fba576000600391509150612059565b600060018787878760405160008152602001604052604051611fdf9493929190612cc4565b6020604051602081039080840390855afa158015612001573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561205057600060019250925050612059565b80600092509250505b94509492505050565b600061207561207084613086565b613061565b905080838252602082019050828560208602820111156120985761209761354e565b5b60005b858110156120c857816120ae88826121f4565b84526020840193506020830192505060018101905061209b565b5050509392505050565b60006120e56120e0846130b2565b613061565b905080838252602082019050828560208602820111156121085761210761354e565b5b60005b85811015612138578161211e88826122a8565b84526020840193506020830192505060018101905061210b565b5050509392505050565b6000612155612150846130de565b613061565b905080838252602082019050828560208602820111156121785761217761354e565b5b60005b858110156121a8578161218e8882612300565b84526020840193506020830192505060018101905061217b565b5050509392505050565b60006121c56121c08461310a565b613061565b9050828152602081018484840111156121e1576121e0613553565b5b6121ec848285613313565b509392505050565b60008135905061220381613b46565b92915050565b60008151905061221881613b46565b92915050565b600082601f83011261223357612232613549565b5b8135612243848260208601612062565b91505092915050565b600082601f83011261226157612260613549565b5b81356122718482602086016120d2565b91505092915050565b600082601f83011261228f5761228e613549565b5b813561229f848260208601612142565b91505092915050565b6000813590506122b781613b5d565b92915050565b6000815190506122cc81613b5d565b92915050565b600082601f8301126122e7576122e6613549565b5b81356122f78482602086016121b2565b91505092915050565b60008135905061230f81613b74565b92915050565b60008151905061232481613b74565b92915050565b6000602082840312156123405761233f61355d565b5b600061234e848285016121f4565b91505092915050565b60006020828403121561236d5761236c61355d565b5b600061237b84828501612209565b91505092915050565b6000806040838503121561239b5761239a61355d565b5b60006123a9858286016121f4565b92505060206123ba858286016121f4565b9150509250929050565b6000806000606084860312156123dd576123dc61355d565b5b60006123eb868287016121f4565b93505060206123fc868287016121f4565b925050604061240d868287016122a8565b9150509250925092565b6000806000606084860312156124305761242f61355d565b5b600061243e868287016121f4565b935050602061244f868287016121f4565b925050604061246086828701612300565b9150509250925092565b600080604083850312156124815761248061355d565b5b600061248f858286016121f4565b92505060206124a085828601612300565b9150509250929050565b600080604083850312156124c1576124c061355d565b5b600083013567ffffffffffffffff8111156124df576124de613558565b5b6124eb8582860161221e565b925050602083013567ffffffffffffffff81111561250c5761250b613558565b5b6125188582860161224c565b9150509250929050565b60008060008060008060c0878903121561253f5761253e61355d565b5b600087013567ffffffffffffffff81111561255d5761255c613558565b5b61256989828a0161221e565b965050602087013567ffffffffffffffff81111561258a57612589613558565b5b61259689828a0161227a565b955050604087013567ffffffffffffffff8111156125b7576125b6613558565b5b6125c389828a0161227a565b94505060606125d489828a01612300565b93505060806125e589828a01612300565b92505060a087013567ffffffffffffffff81111561260657612605613558565b5b61261289828a016122d2565b9150509295509295509295565b6000602082840312156126355761263461355d565b5b6000612643848285016122bd565b91505092915050565b6000602082840312156126625761266161355d565b5b600082013567ffffffffffffffff8111156126805761267f613558565b5b61268c848285016122d2565b91505092915050565b6000602082840312156126ab576126aa61355d565b5b60006126b984828501612315565b91505092915050565b60006126ce8383612701565b60208301905092915050565b60006126e68383612bc2565b60208301905092915050565b6126fb816132b4565b82525050565b61270a816132b4565b82525050565b61272161271c826132b4565b613401565b82525050565b60006127328261315b565b61273c81856131a1565b93506127478361313b565b8060005b8381101561277857815161275f88826126c2565b975061276a83613187565b92505060018101905061274b565b5085935050505092915050565b600061279082613166565b61279a81856131ac565b93506127a58361314b565b8060005b838110156127d65781516127bd88826126da565b97506127c883613194565b9250506001810190506127a9565b5085935050505092915050565b6127ec816132c6565b82525050565b6127fb816132d2565b82525050565b600061280c82613171565b61281681856131b7565b9350612826818560208601613322565b80840191505092915050565b600061283d8261317c565b61284781856131c2565b9350612857818560208601613322565b61286081613562565b840191505092915050565b60006128786018836131c2565b915061288382613580565b602082019050919050565b600061289b6023836131c2565b91506128a6826135a9565b604082019050919050565b60006128be6014836131c2565b91506128c9826135f8565b602082019050919050565b60006128e16011836131c2565b91506128ec82613621565b602082019050919050565b60006129046022836131c2565b915061290f8261364a565b604082019050919050565b6000612927601f836131c2565b915061293282613699565b602082019050919050565b600061294a6029836131c2565b9150612955826136c2565b604082019050919050565b600061296d6026836131c2565b915061297882613711565b604082019050919050565b60006129906022836131c2565b915061299b82613760565b604082019050919050565b60006129b36025836131c2565b91506129be826137af565b604082019050919050565b60006129d6601d836131c2565b91506129e1826137fe565b602082019050919050565b60006129f96026836131c2565b9150612a0482613827565b604082019050919050565b6000612a1c6022836131c2565b9150612a2782613876565b604082019050919050565b6000612a3f6010836131c2565b9150612a4a826138c5565b602082019050919050565b6000612a626014836131c2565b9150612a6d826138ee565b602082019050919050565b6000612a856020836131c2565b9150612a9082613917565b602082019050919050565b6000612aa86021836131c2565b9150612ab382613940565b604082019050919050565b6000612acb6025836131c2565b9150612ad68261398f565b604082019050919050565b6000612aee602a836131c2565b9150612af9826139de565b604082019050919050565b6000612b116024836131c2565b9150612b1c82613a2d565b604082019050919050565b6000612b34601f836131c2565b9150612b3f82613a7c565b602082019050919050565b6000612b576009836131c2565b9150612b6282613aa5565b602082019050919050565b6000612b7a6011836131c2565b9150612b8582613ace565b602082019050919050565b6000612b9d6025836131c2565b9150612ba882613af7565b604082019050919050565b612bbc816132fc565b82525050565b612bcb816132fc565b82525050565b612be2612bdd826132fc565b613425565b82525050565b612bf181613306565b82525050565b6000612c038288612710565b601482019150612c138287612727565b9150612c1f8286612785565b9150612c2b8285612bd1565b602082019150612c3b8284612bd1565b6020820191508190509695505050505050565b6000612c5a8284612801565b915081905092915050565b6000602082019050612c7a60008301846126f2565b92915050565b6000604082019050612c9560008301856126f2565b612ca26020830184612bb3565b9392505050565b6000602082019050612cbe60008301846127e3565b92915050565b6000608082019050612cd960008301876127f2565b612ce66020830186612be8565b612cf360408301856127f2565b612d0060608301846127f2565b95945050505050565b60006020820190508181036000830152612d238184612832565b905092915050565b60006020820190508181036000830152612d448161286b565b9050919050565b60006020820190508181036000830152612d648161288e565b9050919050565b60006020820190508181036000830152612d84816128b1565b9050919050565b60006020820190508181036000830152612da4816128d4565b9050919050565b60006020820190508181036000830152612dc4816128f7565b9050919050565b60006020820190508181036000830152612de48161291a565b9050919050565b60006020820190508181036000830152612e048161293d565b9050919050565b60006020820190508181036000830152612e2481612960565b9050919050565b60006020820190508181036000830152612e4481612983565b9050919050565b60006020820190508181036000830152612e64816129a6565b9050919050565b60006020820190508181036000830152612e84816129c9565b9050919050565b60006020820190508181036000830152612ea4816129ec565b9050919050565b60006020820190508181036000830152612ec481612a0f565b9050919050565b60006020820190508181036000830152612ee481612a32565b9050919050565b60006020820190508181036000830152612f0481612a55565b9050919050565b60006020820190508181036000830152612f2481612a78565b9050919050565b60006020820190508181036000830152612f4481612a9b565b9050919050565b60006020820190508181036000830152612f6481612abe565b9050919050565b60006020820190508181036000830152612f8481612ae1565b9050919050565b60006020820190508181036000830152612fa481612b04565b9050919050565b60006020820190508181036000830152612fc481612b27565b9050919050565b60006020820190508181036000830152612fe481612b4a565b9050919050565b6000602082019050818103600083015261300481612b6d565b9050919050565b6000602082019050818103600083015261302481612b90565b9050919050565b60006020820190506130406000830184612bb3565b92915050565b600060208201905061305b6000830184612be8565b92915050565b600061306b61307c565b90506130778282613387565b919050565b6000604051905090565b600067ffffffffffffffff8211156130a1576130a061351a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156130cd576130cc61351a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156130f9576130f861351a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156131255761312461351a565b5b61312e82613562565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600081905092915050565b600081905092915050565b600082825260208201905092915050565b60006131de826132fc565b91506131e9836132fc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561321e5761321d61342f565b5b828201905092915050565b6000613234826132fc565b915061323f836132fc565b92508261324f5761324e61345e565b5b828204905092915050565b6000613265826132fc565b9150613270836132fc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132a9576132a861342f565b5b828202905092915050565b60006132bf826132dc565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613340578082015181840152602081019050613325565b8381111561334f576000848401525b50505050565b6000600282049050600182168061336d57607f821691505b60208210811415613381576133806134bc565b5b50919050565b61339082613562565b810181811067ffffffffffffffff821117156133af576133ae61351a565b5b80604052505050565b60006133c3826132fc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133f6576133f561342f565b5b600182019050919050565b600061340c82613413565b9050919050565b600061341e82613573565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f696e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f636f6e747261637473206c656e677468206e6f74206d6174636820616d6f756e60008201527f7473206c656e6774680000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f746f74616c20616d6f756e74206e6f74206d6174636820746f6b656e4964206c60008201527f656e677468000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f636f6e7472616374206e6f7420737570706f7274000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f636f6e747261637473206c656e677468206e6f74206d61746368205f656e616260008201527f6c6573206c656e67746800000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f6e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b7f7369676e61747572652065787069726564000000000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b613b4f816132b4565b8114613b5a57600080fd5b50565b613b66816132c6565b8114613b7157600080fd5b50565b613b7d816132fc565b8114613b8857600080fd5b5056fea26469706673582212209dbf3fd099a39b9424411758040e63b0dd9c369efd835a7af12a93d269513ea364736f6c63430008060033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000e72312853d7eb831855fa511f516cb6690eb8320000000000000000000000000451762f5ca104aa07c0c0c28244914239da59ea9000000000000000000000000706ddc29b3fc5ce86b78bf9aafd2b155c1772a4d0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000a4265616e20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044265616e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000ed5af388653567af2f388e6224dc7c4b3241c544000000000000000000000000306b1ea3ecdf94ab739f1910bbda052ed4a9f949000000000000000000000000b6a37b5d14d502c3ab0ae6f3a0e058bc9517786e

-----Decoded View---------------
Arg [0] : _name (string): Bean Token
Arg [1] : _symbol (string): Bean
Arg [2] : _treasury (address): 0xE72312853D7eb831855Fa511f516cB6690EB8320
Arg [3] : _zagabond (address): 0x451762F5CA104Aa07C0c0C28244914239dA59EA9
Arg [4] : _signatureManager (address): 0x706DDc29B3fC5CE86b78bF9aaFd2B155C1772A4d
Arg [5] : _contracts (address[]): 0xED5AF388653567Af2F388E6224dC7C4b3241C544,0x306b1ea3ecdf94aB739F1910bbda052Ed4A9f949,0xB6a37b5d14D502c3Ab0Ae6f3a0E058BC9517786e

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000e72312853d7eb831855fa511f516cb6690eb8320
Arg [3] : 000000000000000000000000451762f5ca104aa07c0c0c28244914239da59ea9
Arg [4] : 000000000000000000000000706ddc29b3fc5ce86b78bf9aafd2b155c1772a4d
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 4265616e20546f6b656e00000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4265616e00000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 000000000000000000000000ed5af388653567af2f388e6224dc7c4b3241c544
Arg [12] : 000000000000000000000000306b1ea3ecdf94ab739f1910bbda052ed4a9f949
Arg [13] : 000000000000000000000000b6a37b5d14d502c3ab0ae6f3a0e058bc9517786e


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.