ETH Price: $2,008.55 (+3.23%)

Contract

0xD854BA3BE2CB4E32612736dCBfEE212cA22e7Eae
 

Overview

ETH Balance

2.487232038118 ETH

Eth Value

$4,995.73 (@ $2,008.55/ETH)

More Info

Private Name Tags

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Deploy177428162023-07-21 16:50:23962 days ago1689958223IN
0xD854BA3B...cA22e7Eae
0 ETH0.0541353431.82958407
Deploy176191172023-07-04 7:36:47979 days ago1688456207IN
0xD854BA3B...cA22e7Eae
0 ETH0.0278835616.39477597
Deploy175178842023-06-20 2:16:59993 days ago1687227419IN
0xD854BA3B...cA22e7Eae
0 ETH0.0268643814.43707856
Deploy175150542023-06-19 16:43:59994 days ago1687193039IN
0xD854BA3B...cA22e7Eae
0 ETH0.0453889526.07399096
Deploy175149012023-06-19 16:12:23994 days ago1687191143IN
0xD854BA3B...cA22e7Eae
0 ETH0.0050677625.33880293
Deploy175145862023-06-19 15:08:47994 days ago1687187327IN
0xD854BA3B...cA22e7Eae
0 ETH0.0392808322.05506128
Deploy175080862023-06-18 17:15:47995 days ago1687108547IN
0xD854BA3B...cA22e7Eae
0 ETH0.0306544816.47400748
Deploy174996862023-06-17 13:00:11996 days ago1687006811IN
0xD854BA3B...cA22e7Eae
0 ETH0.0239548914.0855208
Deploy174993722023-06-17 11:57:11996 days ago1687003031IN
0xD854BA3B...cA22e7Eae
0 ETH0.0267867615.75
Deploy174773712023-06-14 9:43:59999 days ago1686735839IN
0xD854BA3B...cA22e7Eae
0 ETH0.0235209413.82729915
Deploy174693382023-06-13 6:37:231000 days ago1686638243IN
0xD854BA3B...cA22e7Eae
0 ETH0.0274727615.4289476
Deploy174620672023-06-12 6:01:231001 days ago1686549683IN
0xD854BA3B...cA22e7Eae
0 ETH0.0251988514.15337451
Deploy174581372023-06-11 16:45:111002 days ago1686501911IN
0xD854BA3B...cA22e7Eae
0 ETH0.0277702814.84564318
Deploy174580142023-06-11 16:19:471002 days ago1686500387IN
0xD854BA3B...cA22e7Eae
0 ETH0.033489319.69038495
Deploy174580012023-06-11 16:17:111002 days ago1686500231IN
0xD854BA3B...cA22e7Eae
0 ETH0.0372223521.88557877
Deploy174573522023-06-11 14:05:591002 days ago1686492359IN
0xD854BA3B...cA22e7Eae
0 ETH0.0285281216.38727019
Deploy174562652023-06-11 10:24:471002 days ago1686479087IN
0xD854BA3B...cA22e7Eae
0 ETH0.0318168217.47702061
Deploy174499452023-06-10 13:03:231003 days ago1686402203IN
0xD854BA3B...cA22e7Eae
0 ETH0.0342670518.41832468
Deploy174430492023-06-09 13:44:231004 days ago1686318263IN
0xD854BA3B...cA22e7Eae
0 ETH0.0363348320.40568431
Deploy174400442023-06-09 3:34:111004 days ago1686281651IN
0xD854BA3B...cA22e7Eae
0 ETH0.0339977619.53913742
Deploy174349392023-06-08 10:16:111005 days ago1686219371IN
0xD854BA3B...cA22e7Eae
0 ETH0.0338695919.02167566
Deploy174336522023-06-08 5:56:111005 days ago1686203771IN
0xD854BA3B...cA22e7Eae
0 ETH0.0063351225.42684435
Deploy174335402023-06-08 5:33:111005 days ago1686202391IN
0xD854BA3B...cA22e7Eae
0 ETH0.0322909918.9868952
Deploy174287672023-06-07 13:23:111006 days ago1686144191IN
0xD854BA3B...cA22e7Eae
0 ETH0.0347583420.43725072
Deploy174260382023-06-07 4:08:351006 days ago1686110915IN
0xD854BA3B...cA22e7Eae
0 ETH0.0282411928.56850531
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer197443172024-04-27 4:33:35681 days ago1714192415
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer197442602024-04-27 4:22:11681 days ago1714191731
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer192752282024-02-21 9:45:59747 days ago1708508759
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer185962082023-11-18 3:57:23842 days ago1700279843
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer185530972023-11-12 3:17:11848 days ago1699759031
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer184982102023-11-04 10:54:47856 days ago1699095287
0xD854BA3B...cA22e7Eae
0.000001 ETH
Transfer184982042023-11-04 10:53:35856 days ago1699095215
0xD854BA3B...cA22e7Eae
0.000001 ETH
Transfer182916072023-10-06 12:57:59885 days ago1696597079
0xD854BA3B...cA22e7Eae
0 ETH
Transfer182262552023-09-27 9:38:23894 days ago1695807503
0xD854BA3B...cA22e7Eae
0 ETH
Transfer182019242023-09-23 23:54:47898 days ago1695513287
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer181530012023-09-17 3:06:23904 days ago1694919983
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer181529962023-09-17 3:05:23904 days ago1694919923
0xD854BA3B...cA22e7Eae
0.000001 ETH
Transfer181454742023-09-16 1:32:23906 days ago1694827943
0xD854BA3B...cA22e7Eae
0.000001 ETH
Transfer178487622023-08-05 12:27:23947 days ago1691238443
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer177845052023-07-27 12:49:47956 days ago1690462187
0xD854BA3B...cA22e7Eae
0.004 ETH
Transfer177845012023-07-27 12:48:59956 days ago1690462139
0xD854BA3B...cA22e7Eae
0.002 ETH
Transfer177844932023-07-27 12:47:23956 days ago1690462043
0xD854BA3B...cA22e7Eae
0.001 ETH
Transfer177844852023-07-27 12:45:47956 days ago1690461947
0xD854BA3B...cA22e7Eae
0.0005 ETH
0x60806040177428162023-07-21 16:50:23962 days ago1689958223
0xD854BA3B...cA22e7Eae
 Contract Creation0 ETH
Transfer176914772023-07-14 11:43:23969 days ago1689335003
0xD854BA3B...cA22e7Eae
0.000001 ETH
Transfer176347952023-07-06 12:25:47977 days ago1688646347
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer176347952023-07-06 12:25:47977 days ago1688646347
0xD854BA3B...cA22e7Eae
0.00001 ETH
Transfer176207242023-07-04 13:01:11979 days ago1688475671
0xD854BA3B...cA22e7Eae
0.002 ETH
Transfer176207202023-07-04 13:00:23979 days ago1688475623
0xD854BA3B...cA22e7Eae
0.001 ETH
Transfer176206802023-07-04 12:52:23979 days ago1688475143
0xD854BA3B...cA22e7Eae
0.002 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InscriptionFactory

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./InscriptionV2.sol";
import "./String.sol";
import "./TransferHelper.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract InscriptionFactory is Ownable{
    using Counters for Counters.Counter;
    Counters.Counter private _inscriptionNumbers;

    uint8 public maxTickSize = 4;                   // tick(symbol) length is 4.
    uint256 public baseFee = 250000000000000;       // Will charge 0.00025 ETH as extra min tip from the second time of mint in the frozen period. And this tip will be double for each mint.
    uint256 public fundingCommission = 100;       // commission rate of fund raising, 100 means 1%

    mapping(uint256 => Token) private inscriptions; // key is inscription id, value is token data
    mapping(string => uint256) private ticks;       // Key is tick, value is inscription id
    mapping(string => bool) public stockTicks;     // check if tick is occupied

    event DeployInscription(
        uint256 indexed id, 
        string tick, 
        string name, 
        uint256 cap, 
        uint256 limitPerMint, 
        address inscriptionAddress, 
        uint256 timestamp
    );

    struct Token {
        string tick;            // same as symbol in ERC20
        string name;            // full name of token
        uint256 cap;            // Hard cap of token
        uint256 limitPerMint;   // Limitation per mint
        uint256 maxMintSize;    // // max mint size, that means the max mint quantity is: maxMintSize * limitPerMint
        uint256 inscriptionId;  // Inscription id
        uint256 freezeTime;
        address onlyContractAddress;
        uint256 onlyMinQuantity;
        uint256 crowdFundingRate;
        address crowdfundingAddress;
        address addr;           // Contract address of inscribed token 
        uint256 timestamp;      // Inscribe timestamp
    }

    string[] public v1StockTicks = [
        "ferc",
        "fdao",
        "cash",
        "fair",
        "web3",
        unicode"卧槽牛逼",
        "ordi",
        "feth",
        "shib",
        "mama",
        "doge",
        "punk",
        "fomo",
        "rich",
        "pepe",
        "elon",
        "must",
        "bayc",
        "sinu",
        "zuki",
        "migo",
        "fbtc",
        "erc2",
        "fare",
        "okbb",
        "lady",
        "meme",
        "oxbt",
        "dego",
        "frog",
        "moon",
        "weth",
        "jeet",
        "fuck",
        "piza",
        "oerc",
        "baby",
        "mint",
        "8==d",
        "pipi",
        "fxen",
        "king",
        "anti",
        "papa",
        "fish",
        "jack",
        "defi",
        "l1l2",
        "niub",
        "weid",
        "perc",
        "baba",
        "$eth",
        "fbnb",
        "shan",
        "musk",
        "drac",
        "kids",
        "tate",
        "fevm",
        "0x0x",
        "topg",
        "aaaa",
        "8686",
        unicode"梭进去操",
        "hold",
        "fben",
        "hash",
        "dddd",
        "fnft",
        "fdog",
        "abcd",
        "free",
        "$cpt",
        "gwei",
        "love",
        "cola",
        "0000",
        "flat",
        "core",
        "heyi",
        "ccup",
        "fsbf",
        "fers",
        "6666",
        "xxlb",
        "nfts",
        "nbat",
        "nfty",
        "jcjy",
        "nerc",
        "aiai",
        "czhy",
        "ftrx",
        "code",
        "mars",
        "pemn",
        "carl",
        "fire",
        "hodl",
        "flur",
        "exen",
        "bcie",
        "fool",
        unicode"中国牛逼",
        "jump",
        "shit",
        "benf",
        "sats",
        "intm",
        "dayu",
        "whee",
        "pump",
        "sexy",
        "dede",
        "ebtc",
        "bank",
        "flok",
        "meta",
        "flap",
        "$cta",
        "maxi",
        "coin",
        "ethm",
        "body",
        "frfd",
        "erc1",
        "ququ",
        "nine",
        "luck",
        "jomo",
        "giga",
        "weeb",
        "0001",
        "fev2"
    ];

    constructor() {
        // The inscription id will be from 1, not zero.
        _inscriptionNumbers.increment();
    }

    // Let this contract accept ETH as tip
    receive() external payable {}
    
    function deploy(
        string memory _name,
        string memory _tick,
        uint256 _cap,
        uint256 _limitPerMint,
        uint256 _maxMintSize, // The max lots of each mint
        uint256 _freezeTime, // Freeze seconds between two mint, during this freezing period, the mint fee will be increased 
        address _onlyContractAddress, // Only the holder of this asset can mint, optional
        uint256 _onlyMinQuantity, // The min quantity of asset for mint, optional
        uint256 _crowdFundingRate,
        address _crowdFundingAddress
    ) external returns (address _inscriptionAddress) {
        require(String.strlen(_tick) == maxTickSize, "Tick lenght should be 4");
        require(_cap >= _limitPerMint, "Limit per mint exceed cap");

        _tick = String.toLower(_tick);
        require(this.getIncriptionIdByTick(_tick) == 0, "tick is existed");
        require(!stockTicks[_tick], "tick is in stock");

        // Create inscription contract
        bytes memory bytecode = type(Inscription).creationCode;
        uint256 _id = _inscriptionNumbers.current();
		bytecode = abi.encodePacked(bytecode, abi.encode(
            _name, 
            _tick, 
            _cap, 
            _limitPerMint, 
            _id, 
            _maxMintSize,
            _freezeTime,
            _onlyContractAddress,
            _onlyMinQuantity,
            baseFee,
            fundingCommission,
            _crowdFundingRate,
            _crowdFundingAddress,
            address(this)
        ));
		bytes32 salt = keccak256(abi.encodePacked(_id));
		assembly ("memory-safe") {
			_inscriptionAddress := create2(0, add(bytecode, 32), mload(bytecode), salt)
			if iszero(extcodesize(_inscriptionAddress)) {
				revert(0, 0)
			}
		}
        inscriptions[_id] = Token(
            _tick, 
            _name, 
            _cap, 
            _limitPerMint, 
            _maxMintSize,
            _id,
            _freezeTime,
            _onlyContractAddress,
            _onlyMinQuantity,
            _crowdFundingRate,
            _crowdFundingAddress,
            _inscriptionAddress, 
            block.timestamp
        );
        ticks[_tick] = _id;

        _inscriptionNumbers.increment();
        emit DeployInscription(_id, _tick, _name, _cap, _limitPerMint, _inscriptionAddress, block.timestamp);
    }

    function getInscriptionAmount() external view returns(uint256) {
        return _inscriptionNumbers.current() - 1;
    }

    function getIncriptionIdByTick(string memory _tick) external view returns(uint256) {
        return ticks[String.toLower(_tick)];
    }

    function getIncriptionById(uint256 _id) external view returns(Token memory, uint256) {
        Token memory token = inscriptions[_id];
        return (inscriptions[_id], Inscription(token.addr).totalSupply());
    }

    function getIncriptionByTick(string memory _tick) external view returns(Token memory tokens, uint256 totalSupplies) {
        Token memory token = inscriptions[this.getIncriptionIdByTick(_tick)];
        uint256 id = this.getIncriptionIdByTick(String.toLower(_tick));
        if(id > 0) {
            tokens = inscriptions[id];
            totalSupplies = Inscription(token.addr).totalSupply();
        }
    }

    function getInscriptionAmountByType(uint256 _type) external view returns(uint256) {
        require(_type < 3, "type is 0-2");
        uint256 totalInscription = this.getInscriptionAmount();
        uint256 count = 0;
        for(uint256 i = 1; i <= totalInscription; i++) {
            (Token memory _token, uint256 _totalSupply) = this.getIncriptionById(i);
            if(_type == 1 && _totalSupply == _token.cap) continue;
            else if(_type == 2 && _totalSupply < _token.cap) continue;
            else count++;
        }
        return count;
    }
    
    // Fetch inscription data by page no, page size, type and search keyword
    function getIncriptions(
        uint256 _pageNo, 
        uint256 _pageSize, 
        uint256 _type // 0- all, 1- in-process, 2- ended
    ) external view returns(
        Token[] memory, 
        uint256[] memory
    ) {
        // if _searchBy is not empty, the _pageNo and _pageSize should be set to 1
        require(_type < 3, "type is 0-2");
        uint256 totalInscription = this.getInscriptionAmount();
        uint256 pages = (totalInscription - 1) / _pageSize + 1;
        require(_pageNo > 0 && _pageSize > 0 && pages > 0 && _pageNo <= pages, "Params wrong");

        Token[] memory inscriptions_ = new Token[](_pageSize);
        uint256[] memory totalSupplies_ = new uint256[](_pageSize);

        Token[] memory _inscriptions = new Token[](totalInscription);
        uint256[] memory _totalSupplies = new uint256[](totalInscription);

        uint256 index = 0;
        for(uint256 i = 1; i <= totalInscription; i++) {
            (Token memory _token, uint256 _totalSupply) = this.getIncriptionById(i);
            if((_type == 1 && _totalSupply == _token.cap) || (_type == 2 && _totalSupply < _token.cap)) continue; 
            else {
                _inscriptions[index] = _token;
                _totalSupplies[index] = _totalSupply;
                index++;
            }
        }

        for(uint256 i = 0; i < _pageSize; i++) {
            uint256 id = (_pageNo - 1) * _pageSize + i;
            if(id < index) {
                inscriptions_[i] = _inscriptions[id];
                totalSupplies_[i] = _totalSupplies[id];
            } else break;
        }

        return (inscriptions_, totalSupplies_);
    }

    // Withdraw the ETH tip from the contract
    function withdraw(address payable _to, uint256 _amount) external onlyOwner {
        require(_amount <= payable(address(this)).balance);
        TransferHelper.safeTransferETH(_to, _amount);
    }

    // Update base fee
    function updateBaseFee(uint256 _fee) external onlyOwner {
        baseFee = _fee;
    }

    // Update funding commission
    function updateFundingCommission(uint256 _rate) external onlyOwner {
        fundingCommission = _rate;
    }

    // Update character's length of tick
    function updateTickSize(uint8 _size) external onlyOwner {
        maxTickSize = _size;
    }

    // update stock tick
    function updateStockTick(string memory _tick, bool _status) public onlyOwner {
        stockTicks[_tick] = _status;
    }

    // Upgrade from v1 to v2
    function batchUpdateStockTick(bool status) public onlyOwner {
        for(uint256 i = 0; i < v1StockTicks.length; i++) {
            updateStockTick(v1StockTicks[i], status);
        }
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

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

// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.6.0;

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeApprove: approve failed'
        );
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeTransfer: transfer failed'
        );
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::transferFrom: transferFrom failed'
        );
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'TransferHelper::safeTransferETH: ETH transfer failed');
    }
}

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

library String {
    function strlen(string memory s) internal pure returns (uint256) {
        uint256 len;
        uint256 i = 0;
        uint256 bytelength = bytes(s).length;

        for (len = 0; i < bytelength; len++) {
            bytes1 b = bytes(s)[i];
            if (b < 0x80) {
                i += 1;
            } else if (b < 0xE0) {
                i += 2;
            } else if (b < 0xF0) {
                i += 3;
            } else if (b < 0xF8) {
                i += 4;
            } else if (b < 0xFC) {
                i += 5;
            } else {
                i += 6;
            }
        }
        return len;
    }

    function toLower(string memory str) internal pure returns (string memory) {
		bytes memory bStr = bytes(str);
		bytes memory bLower = new bytes(bStr.length);
		for (uint i = 0; i < bStr.length; i++) {
			if (uint8(bStr[i]) >= 65 && uint8(bStr[i]) <= 90) {
				bLower[i] = bytes1(uint8(bStr[i]) + 32);
			} else {
				bLower[i] = bStr[i];
			}
		}
		return string(bLower);
	}

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    function compareStrings(string memory a, string memory b) public pure returns (bool) {
        return keccak256(abi.encodePacked(a)) == keccak256(abi.encodePacked(b));
    }
}

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

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./Logarithm.sol";
import "./TransferHelper.sol";

// This is common token interface, get balance of owner's token by ERC20/ERC721/ERC1155.
interface ICommonToken {
    function balanceOf(address owner) external returns(uint256);
}

// This contract is extended from ERC20
contract Inscription is ERC20 {
    using Logarithm for int256;
    uint256 public cap;                 // Max amount
    uint256 public limitPerMint;        // Limitaion of each mint
    uint256 public inscriptionId;       // Inscription Id
    uint256 public maxMintSize;         // max mint size, that means the max mint quantity is: maxMintSize * limitPerMint
    uint256 public freezeTime;          // The frozen time (interval) between two mints is a fixed number of seconds. You can mint, but you will need to pay an additional mint fee, and this fee will be double for each mint.
    address public onlyContractAddress; // Only addresses that hold these assets can mint
    uint256 public onlyMinQuantity;     // Only addresses that the quantity of assets hold more than this amount can mint
    uint256 public baseFee;             // base fee of the second mint after frozen interval. The first mint after frozen time is free.
    uint256 public fundingCommission;   // commission rate of fund raising, 100 means 1%
    uint256 public crowdFundingRate;    // rate of crowdfunding
    address payable public crowdfundingAddress; // receiving fee of crowdfunding
    address payable public inscriptionFactory;

    mapping(address => uint256) public lastMintTimestamp;   // record the last mint timestamp of account
    mapping(address => uint256) public lastMintFee;           // record the last mint fee

    constructor(
        string memory _name,            // token name
        string memory _tick,            // token tick, same as symbol. must be 4 characters.
        uint256 _cap,                   // Max amount
        uint256 _limitPerMint,          // Limitaion of each mint
        uint256 _inscriptionId,         // Inscription Id
        uint256 _maxMintSize,           // max mint size, that means the max mint quantity is: maxMintSize * limitPerMint. This is only availabe for non-frozen time token.
        uint256 _freezeTime,            // The frozen time (interval) between two mints is a fixed number of seconds. You can mint, but you will need to pay an additional mint fee, and this fee will be double for each mint.
        address _onlyContractAddress,   // Only addresses that hold these assets can mint
        uint256 _onlyMinQuantity,       // Only addresses that the quantity of assets hold more than this amount can mint
        uint256 _baseFee,               // base fee of the second mint after frozen interval. The first mint after frozen time is free.
        uint256 _fundingCommission,     // commission rate of fund raising, 100 means 1%
        uint256 _crowdFundingRate,      // rate of crowdfunding
        address payable _crowdFundingAddress,   // receiving fee of crowdfunding
        address payable _inscriptionFactory
    ) ERC20(_name, _tick) {
        require(_cap >= _limitPerMint, "Limit per mint exceed cap");
        cap = _cap;
        limitPerMint = _limitPerMint;
        inscriptionId = _inscriptionId;
        maxMintSize = _maxMintSize;
        freezeTime = _freezeTime;
        onlyContractAddress = _onlyContractAddress;
        onlyMinQuantity = _onlyMinQuantity;
        baseFee = _baseFee;
        fundingCommission = _fundingCommission;
        crowdFundingRate = _crowdFundingRate;
        crowdfundingAddress = _crowdFundingAddress;
        inscriptionFactory = _inscriptionFactory;
    }

    function mint(address _to) payable public {
        // Check if the quantity after mint will exceed the cap
        require(totalSupply() + limitPerMint <= cap, "Touched cap");
        // Check if the assets in the msg.sender is satisfied
        require(onlyContractAddress == address(0x0) || ICommonToken(onlyContractAddress).balanceOf(msg.sender) >= onlyMinQuantity, "You don't have required assets");
        require(lastMintTimestamp[msg.sender] < block.timestamp, "Timestamp fail");
        
        if(lastMintTimestamp[msg.sender] + freezeTime > block.timestamp) {
            // The min extra tip is double of last mint fee
            lastMintFee[msg.sender] = lastMintFee[msg.sender] == 0 ? baseFee : lastMintFee[msg.sender] * 2;
            // Transfer the fee to the crowdfunding address
            if(crowdFundingRate > 0) {
                // Check if the tip is high than the min extra fee
                require(msg.value >= crowdFundingRate + lastMintFee[msg.sender], "Send some ETH as fee and crowdfunding");
                _dispatchFunding(crowdFundingRate);
            }
            // Transfer the tip to InscriptionFactory smart contract
            if(msg.value - crowdFundingRate > 0) TransferHelper.safeTransferETH(inscriptionFactory, msg.value - crowdFundingRate);
            // Do mint
            _mint(_to, limitPerMint);
        } else {
            // Transfer the fee to the crowdfunding address
            if(crowdFundingRate > 0) {
                require(msg.value >= crowdFundingRate, "Send some ETH as crowdfunding");
                _dispatchFunding(msg.value);
            }
            // Out of frozen time, free mint. Reset the timestamp and mint times.
            lastMintFee[msg.sender] = 0;
            lastMintTimestamp[msg.sender] = block.timestamp;
            // Do mint
            _mint(_to, limitPerMint);
        }
    }

    // batch mint is only available for non-frozen-time tokens
    function batchMint(address _to, uint256 _num) payable public {
        require(_num <= maxMintSize, "exceed max mint size");
        require(totalSupply() + _num * limitPerMint <= cap, "Touch cap");
        require(freezeTime == 0, "Batch mint only for non-frozen token");
        require(onlyContractAddress == address(0x0) || ICommonToken(onlyContractAddress).balanceOf(msg.sender) >= onlyMinQuantity, "You don't have required assets");
        if(crowdFundingRate > 0) {
            require(msg.value >= crowdFundingRate * _num, "Crowdfunding ETH not enough");
            _dispatchFunding(msg.value);
        }
        for(uint256 i = 0; i < _num; i++) _mint(_to, limitPerMint);
    }

    function getMintFee(address _addr) public view returns(uint256 mintedTimes, uint256 nextMintFee) {
        if(lastMintTimestamp[_addr] + freezeTime > block.timestamp) {
            int256 scale = 1e18;
            int256 halfScale = 5e17;
            // times = log_2(lastMintFee / baseFee) + 1 (if lastMintFee > 0)
            nextMintFee = lastMintFee[_addr] == 0 ? baseFee : lastMintFee[_addr] * 2;
            mintedTimes = uint256((Logarithm.log2(int256(nextMintFee / baseFee) * scale, scale, halfScale) + 1) / scale) + 1;
        }
    }

    function _dispatchFunding(uint256 _amount) private {
        uint256 commission = _amount * fundingCommission / 10000;
        TransferHelper.safeTransferETH(crowdfundingAddress, _amount - commission);
        if(commission > 0) TransferHelper.safeTransferETH(inscriptionFactory, commission);
    }
}

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

library Logarithm {
    /// @notice Finds the zero-based index of the first one in the binary representation of x.
    /// @dev See the note on msb in the "Find First Set" Wikipedia article https://en.wikipedia.org/wiki/Find_first_set
    /// @param x The uint256 number for which to find the index of the most significant bit.
    /// @return msb The index of the most significant bit as an uint256.
    function mostSignificantBit(uint256 x) internal pure returns (uint256 msb) {
        if (x >= 2**128) {
            x >>= 128;
            msb += 128;
        }
        if (x >= 2**64) {
            x >>= 64;
            msb += 64;
        }
        if (x >= 2**32) {
            x >>= 32;
            msb += 32;
        }
        if (x >= 2**16) {
            x >>= 16;
            msb += 16;
        }
        if (x >= 2**8) {
            x >>= 8;
            msb += 8;
        }
        if (x >= 2**4) {
            x >>= 4;
            msb += 4;
        }
        if (x >= 2**2) {
            x >>= 2;
            msb += 2;
        }
        if (x >= 2**1) {
            // No need to shift x any more.
            msb += 1;
        }
    }
    /// @notice Calculates the binary logarithm of x.
    ///
    /// @dev Based on the iterative approximation algorithm.
    /// https://en.wikipedia.org/wiki/Binary_logarithm#Iterative_approximation
    ///
    /// Requirements:
    /// - x must be greater than zero.
    ///
    /// Caveats:
    /// - The results are nor perfectly accurate to the last digit, due to the lossy precision of the iterative approximation.
    ///
    /// @param x The signed 59.18-decimal fixed-point number for which to calculate the binary logarithm.
    /// @return result The binary logarithm as a signed 59.18-decimal fixed-point number.
    function log2(int256 x, int256 scale, int256 halfScale) internal pure returns (int256 result) {
        require(x > 0);
        unchecked {
            // This works because log2(x) = -log2(1/x).
            int256 sign;
            if (x >= scale) {
                sign = 1;
            } else {
                sign = -1;
                // Do the fixed-point inversion inline to save gas. The numerator is SCALE * SCALE.
                assembly {
                    x := div(1000000000000000000000000000000000000, x)
                }
            }

            // Calculate the integer part of the logarithm and add it to the result and finally calculate y = x * 2^(-n).
            uint256 n = mostSignificantBit(uint256(x / scale));

            // The integer part of the logarithm as a signed 59.18-decimal fixed-point number. The operation can't overflow
            // because n is maximum 255, SCALE is 1e18 and sign is either 1 or -1.
            result = int256(n) * scale;

            // This is y = x * 2^(-n).
            int256 y = x >> n;

            // If y = 1, the fractional part is zero.
            if (y == scale) {
                return result * sign;
            }

            // Calculate the fractional part via the iterative approximation.
            // The "delta >>= 1" part is equivalent to "delta /= 2", but shifting bits is faster.
            for (int256 delta = int256(halfScale); delta > 0; delta >>= 1) {
                y = (y * y) / scale;

                // Is y^2 > 2 and so in the range [2,4)?
                if (y >= 2 * scale) {
                    // Add the 2^(-m) factor to the logarithm.
                    result += delta;

                    // Corresponds to z/2 on Wikipedia.
                    y >>= 1;
                }
            }
            result *= sign;
        }
    }
}

// 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 {}
}

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "viaIR": true
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"string","name":"tick","type":"string"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"uint256","name":"cap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"limitPerMint","type":"uint256"},{"indexed":false,"internalType":"address","name":"inscriptionAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"DeployInscription","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"},{"inputs":[],"name":"baseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"batchUpdateStockTick","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_tick","type":"string"},{"internalType":"uint256","name":"_cap","type":"uint256"},{"internalType":"uint256","name":"_limitPerMint","type":"uint256"},{"internalType":"uint256","name":"_maxMintSize","type":"uint256"},{"internalType":"uint256","name":"_freezeTime","type":"uint256"},{"internalType":"address","name":"_onlyContractAddress","type":"address"},{"internalType":"uint256","name":"_onlyMinQuantity","type":"uint256"},{"internalType":"uint256","name":"_crowdFundingRate","type":"uint256"},{"internalType":"address","name":"_crowdFundingAddress","type":"address"}],"name":"deploy","outputs":[{"internalType":"address","name":"_inscriptionAddress","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundingCommission","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getIncriptionById","outputs":[{"components":[{"internalType":"string","name":"tick","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"limitPerMint","type":"uint256"},{"internalType":"uint256","name":"maxMintSize","type":"uint256"},{"internalType":"uint256","name":"inscriptionId","type":"uint256"},{"internalType":"uint256","name":"freezeTime","type":"uint256"},{"internalType":"address","name":"onlyContractAddress","type":"address"},{"internalType":"uint256","name":"onlyMinQuantity","type":"uint256"},{"internalType":"uint256","name":"crowdFundingRate","type":"uint256"},{"internalType":"address","name":"crowdfundingAddress","type":"address"},{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"internalType":"struct InscriptionFactory.Token","name":"","type":"tuple"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tick","type":"string"}],"name":"getIncriptionByTick","outputs":[{"components":[{"internalType":"string","name":"tick","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"limitPerMint","type":"uint256"},{"internalType":"uint256","name":"maxMintSize","type":"uint256"},{"internalType":"uint256","name":"inscriptionId","type":"uint256"},{"internalType":"uint256","name":"freezeTime","type":"uint256"},{"internalType":"address","name":"onlyContractAddress","type":"address"},{"internalType":"uint256","name":"onlyMinQuantity","type":"uint256"},{"internalType":"uint256","name":"crowdFundingRate","type":"uint256"},{"internalType":"address","name":"crowdfundingAddress","type":"address"},{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"internalType":"struct InscriptionFactory.Token","name":"tokens","type":"tuple"},{"internalType":"uint256","name":"totalSupplies","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tick","type":"string"}],"name":"getIncriptionIdByTick","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pageNo","type":"uint256"},{"internalType":"uint256","name":"_pageSize","type":"uint256"},{"internalType":"uint256","name":"_type","type":"uint256"}],"name":"getIncriptions","outputs":[{"components":[{"internalType":"string","name":"tick","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"limitPerMint","type":"uint256"},{"internalType":"uint256","name":"maxMintSize","type":"uint256"},{"internalType":"uint256","name":"inscriptionId","type":"uint256"},{"internalType":"uint256","name":"freezeTime","type":"uint256"},{"internalType":"address","name":"onlyContractAddress","type":"address"},{"internalType":"uint256","name":"onlyMinQuantity","type":"uint256"},{"internalType":"uint256","name":"crowdFundingRate","type":"uint256"},{"internalType":"address","name":"crowdfundingAddress","type":"address"},{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"internalType":"struct InscriptionFactory.Token[]","name":"","type":"tuple[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInscriptionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_type","type":"uint256"}],"name":"getInscriptionAmountByType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTickSize","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"stockTicks","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateBaseFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"updateFundingCommission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tick","type":"string"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"updateStockTick","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_size","type":"uint8"}],"name":"updateTickSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"v1StockTicks","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608034620012f15760008054336001600160a01b0319821681178355919291906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08480a36002805460ff1916600490811790915565e35fa931a000600390815560648255926001600160401b036110e0840181811185821017620012de5760405262000093620012f6565b94838652602095636665726360e01b878201528552620000b2620012f6565b848152636664616f60e01b8782015286860152620000cf620012f6565b848152630c6c2e6d60e31b878201526040860152620000ed620012f6565b848152633330b4b960e11b8782015260608601526200010b620012f6565b848152637765623360e01b87820152608086015262000129620012f6565b600c81526b396369f9a9ef79e266fa602f60a21b8782015260a086015262000150620012f6565b848152636f72646960e01b8782015260c08601526200016e620012f6565b848152630cccae8d60e31b8782015260e08601526200018c620012f6565b8481526339b434b160e11b87820152610100860152620001ab620012f6565b848152636d616d6160e01b87820152610120860152620001ca620012f6565b84815263646f676560e01b87820152610140860152620001e9620012f6565b8481526370756e6b60e01b8782015261016086015262000208620012f6565b84815263666f6d6f60e01b8782015261018086015262000227620012f6565b848152630e4d2c6d60e31b878201526101a086015262000246620012f6565b848152637065706560e01b878201526101c086015262000265620012f6565b8481526332b637b760e11b878201526101e086015262000284620012f6565b848152631b5d5cdd60e21b87820152610200860152620002a3620012f6565b848152636261796360e01b87820152610220860152620002c2620012f6565b8481526373696e7560e01b87820152610240860152620002e1620012f6565b848152637a756b6960e01b8782015261026086015262000300620012f6565b848152636d69676f60e01b878201526102808601526200031f620012f6565b848152636662746360e01b878201526102a08601526200033e620012f6565b8481526332b9319960e11b878201526102c08601526200035d620012f6565b848152636661726560e01b878201526102e08601526200037c620012f6565b8481526337b5b13160e11b878201526103008601526200039b620012f6565b848152636c61647960e01b87820152610320860152620003ba620012f6565b848152636d656d6560e01b87820152610340860152620003d9620012f6565b848152631bde189d60e21b87820152610360860152620003f8620012f6565b848152636465676f60e01b8782015261038086015262000417620012f6565b8481526366726f6760e01b878201526103a086015262000436620012f6565b8481526336b7b7b760e11b878201526103c086015262000455620012f6565b848152630eecae8d60e31b878201526103e086015262000474620012f6565b848152631a99595d60e21b8782015261040086015262000493620012f6565b848152636675636b60e01b87820152610420860152620004b2620012f6565b8481526370697a6160e01b87820152610440860152620004d1620012f6565b848152636f65726360e01b87820152610460860152620004f0620012f6565b848152636261627960e01b878201526104808601526200050f620012f6565b848152631b5a5b9d60e21b878201526104a08601526200052e620012f6565b848152630e0f4f5960e21b878201526104c08601526200054d620012f6565b848152637069706960e01b878201526104e08601526200056c620012f6565b84815263333c32b760e11b878201526105008601526200058b620012f6565b848152636b696e6760e01b87820152610520860152620005aa620012f6565b84815263616e746960e01b87820152610540860152620005c9620012f6565b848152637061706160e01b87820152610560860152620005e8620012f6565b848152630ccd2e6d60e31b8782015261058086015262000607620012f6565b848152636a61636b60e01b878201526105a086015262000626620012f6565b848152636465666960e01b878201526105c086015262000645620012f6565b848152633618b61960e11b878201526105e086015262000664620012f6565b848152633734bab160e11b8782015261060086015262000683620012f6565b848152631dd95a5960e21b87820152610620860152620006a2620012f6565b848152637065726360e01b87820152610640860152620006c1620012f6565b848152636261626160e01b87820152610660860152620006e0620012f6565b84815263048cae8d60e31b87820152610680860152620006ff620012f6565b848152633331373160e11b878201526106a08601526200071e620012f6565b8481526339b430b760e11b878201526106c08601526200073d620012f6565b848152636d75736b60e01b878201526106e08601526200075c620012f6565b848152636472616360e01b878201526107008601526200077b620012f6565b848152636b69647360e01b878201526107208601526200079a620012f6565b848152637461746560e01b87820152610740860152620007b9620012f6565b848152636665766d60e01b87820152610760860152620007d8620012f6565b84815263060f060f60e31b87820152610780860152620007f7620012f6565b84815263746f706760e01b878201526107a086015262000816620012f6565b848152636161616160e01b878201526107c086015262000835620012f6565b848152631c1b1c1b60e11b878201526107e086015262000854620012f6565b600c81526be6a2ade8bf9be58ebbe6938d60a01b878201526108008601526200087c620012f6565b848152631a1bdb1960e21b878201526108208601526200089b620012f6565b84815263333132b760e11b87820152610840860152620008ba620012f6565b848152630d0c2e6d60e31b87820152610860860152620008d9620012f6565b848152631919191960e21b87820152610880860152620008f8620012f6565b84815263199b999d60e21b878201526108a086015262000917620012f6565b8481526366646f6760e01b878201526108c086015262000936620012f6565b84815263185898d960e21b878201526108e086015262000955620012f6565b848152636672656560e01b8782015261090086015262000974620012f6565b848152630918dc1d60e21b8782015261092086015262000993620012f6565b848152636777656960e01b87820152610940860152620009b2620012f6565b848152636c6f766560e01b87820152610960860152620009d1620012f6565b84815263636f6c6160e01b87820152610980860152620009f0620012f6565b848152630303030360e41b878201526109a086015262000a0f620012f6565b84815263199b185d60e21b878201526109c086015262000a2e620012f6565b84815263636f726560e01b878201526109e086015262000a4d620012f6565b848152636865796960e01b87820152610a0086015262000a6c620012f6565b848152630636375760e41b87820152610a2086015262000a8b620012f6565b848152633339b13360e11b87820152610a4086015262000aaa620012f6565b848152636665727360e01b87820152610a6086015262000ac9620012f6565b848152631b1b1b1b60e11b87820152610a8086015262000ae8620012f6565b848152633c3c363160e11b87820152610aa086015262000b07620012f6565b848152636e66747360e01b87820152610ac086015262000b26620012f6565b848152631b98985d60e21b87820152610ae086015262000b45620012f6565b848152636e66747960e01b87820152610b0086015262000b64620012f6565b848152636a636a7960e01b87820152610b2086015262000b83620012f6565b848152636e65726360e01b87820152610b4086015262000ba2620012f6565b848152636169616960e01b87820152610b6086015262000bc1620012f6565b84815263637a687960e01b87820152610b8086015262000be0620012f6565b848152630cce8e4f60e31b87820152610ba086015262000bff620012f6565b84815263636f646560e01b87820152610bc086015262000c1e620012f6565b848152636d61727360e01b87820152610be086015262000c3d620012f6565b848152633832b6b760e11b87820152610c0086015262000c5c620012f6565b8481526318d85c9b60e21b87820152610c2086015262000c7b620012f6565b848152636669726560e01b87820152610c4086015262000c9a620012f6565b848152631a1bd91b60e21b87820152610c6086015262000cb9620012f6565b8481526333363ab960e11b87820152610c8086015262000cd8620012f6565b8481526332bc32b760e11b87820152610ca086015262000cf7620012f6565b848152636263696560e01b87820152610cc086015262000d16620012f6565b84815263199bdbdb60e21b87820152610ce086015262000d35620012f6565b600c81526b392e2b7966ef79e266fa602f60a21b87820152610d0086015262000d5d620012f6565b8481526306a756d760e41b87820152610d2086015262000d7c620012f6565b848152631cda1a5d60e21b87820152610d4086015262000d9b620012f6565b848152633132b73360e11b87820152610d6086015262000dba620012f6565b848152637361747360e01b87820152610d8086015262000dd9620012f6565b84815263696e746d60e01b87820152610da086015262000df8620012f6565b848152636461797560e01b87820152610dc086015262000e17620012f6565b848152637768656560e01b87820152610de086015262000e36620012f6565b84815263070756d760e41b87820152610e0086015262000e55620012f6565b848152637365787960e01b87820152610e2086015262000e74620012f6565b848152636465646560e01b87820152610e4086015262000e93620012f6565b848152636562746360e01b87820152610e6086015262000eb2620012f6565b8481526362616e6b60e01b87820152610e8086015262000ed1620012f6565b84815263666c6f6b60e01b87820152610ea086015262000ef0620012f6565b848152636d65746160e01b87820152610ec086015262000f0f620012f6565b848152630666c61760e41b87820152610ee086015262000f2e620012f6565b848152632463746160e01b87820152610f0086015262000f4d620012f6565b848152636d61786960e01b87820152610f2086015262000f6c620012f6565b8481526331b7b4b760e11b87820152610f4086015262000f8b620012f6565b848152636574686d60e01b87820152610f6086015262000faa620012f6565b84815263626f647960e01b87820152610f8086015262000fc9620012f6565b84815263199c999960e21b87820152610fa086015262000fe8620012f6565b848152636572633160e01b87820152610fc086015262001007620012f6565b848152637175717560e01b87820152610fe086015262001026620012f6565b848152636e696e6560e01b8782015261100086015262001045620012f6565b848152636c75636b60e01b8782015261102086015262001064620012f6565b848152636a6f6d6f60e01b8782015261104086015262001083620012f6565b848152636769676160e01b87820152611060860152620010a2620012f6565b848152633bb2b2b160e11b87820152611080860152620010c1620012f6565b848152633030303160e01b878201526110a0860152620010e0620012f6565b848152633332bb1960e11b878201526110c0860152600854946087958660085580871062001263575b5060088452868420939485915b87871062001136576001805401600155604051613bd39081620013838239f35b80518051908682116200125057908a92916200115389546200132c565b90601f9182811162001215575b5084918311600114620011aa579180600195939286959389926200119e575b5050600019828a1b1c191690841b1789555b0196019601959462001116565b0151905038806200117f565b8987528487209190601f198416885b818110620011fd575091600196949291838897959310620011e4575b505050831b8301895562001191565b0151600019838b1b60f8161c19169055388080620011d5565b929387600181928786015181550195019301620011b9565b6200123f908b8952868920600585808801821c8301938a891062001246575b01901c019062001369565b3862001160565b9350829362001234565b634e487b7160e01b855260418452602485fd5b600885528688862091820191015b81811062001280575062001109565b808662001290600193546200132c565b80620012a0575b50500162001271565b601f8082118514620012b957505081555b863862001297565b620012d4908484528d8420920160051c820185830162001369565b81835555620012b1565b634e487b7160e01b835260418452602483fd5b600080fd5b60408051919082016001600160401b038111838210176200131657604052565b634e487b7160e01b600052604160045260246000fd5b90600182811c921680156200135e575b60208310146200134857565b634e487b7160e01b600052602260045260246000fd5b91607f16916200133c565b81811062001375575050565b600081556001016200136956fe608060405260043610156200001d575b36156200001b57600080fd5b005b60003560e01c806304571fae14620017df578063076bf2411462001703578063135d9f7314620015a65780633689f91b146200151f578063396d5b7014620014e35780634d76be2a14620014c0578063583c15b51462000b9057806363a8cc071462000b375780636ef25c3a1462000b17578063715018a61462000aba5780638b67a5211462000a8c5780638da5cb5b1462000a615780638e6901861462000a3c578063a18a127a1462000a17578063a7b8a7d0146200063a578063bda0b97814620005cb578063cb06bfdb14620005ab578063d9ed2c251462000526578063dc8773e91462000312578063f2fde38b14620002415763f3fef3a3036200000f57346200023c5760403660031901126200023c576004356001600160a01b038116908190036200023c57602435906200015562001b14565b4782116200023c5760405160208101908082106001600160401b03831117620002265760008080868682809688604052525af13d1562000220573d6200019b8162001872565b90620001ab604051928362001850565b8152600060203d92013e5b15620001be57005b60405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527308115512081d1c985b9cd9995c8819985a5b195960621b6064820152608490fd5b620001b6565b634e487b7160e01b600052604160045260246000fd5b600080fd5b346200023c5760203660031901126200023c576004356001600160a01b03818116918290036200023c576200027562001b14565b8115620002be57600054826bffffffffffffffffffffffff60a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b346200023c576020806003193601126200023c576004356001600160401b0381116200023c57620003489036906004016200188e565b906200035362001b6d565b906000604051936363a8cc0760e01b948581528360048201528381806200037e602482018662001900565b0381305afa908115620004af57600091620004f0575b50620003d995849160005260058252620003bd620003b6604060002062001bd2565b9362001f0f565b9060405197889283928352846004840152602483019062001900565b0381305afa948515620004af57600095620004bb575b50846200041b575b5062000413935060405193849360408552604085019062001927565b918301520390f35b925050600492600052600581528062000438604060002062001bd2565b610160909301516040516318160ddd60e01b815294859182906001600160a01b03165afa8015620004af5760009062000479575b62000413935084620003f7565b508083813d8311620004a7575b62000492818362001850565b810103126200023c576200041392516200046c565b503d62000486565b6040513d6000823e3d90fd5b9094508281813d8311620004e8575b620004d6818362001850565b810103126200023c57519385620003ef565b503d620004ca565b90508381813d83116200051e575b6200050a818362001850565b810103126200023c5751620003d962000394565b503d620004fe565b346200023c5760403660031901126200023c576004356001600160401b0381116200023c576200055b9036906004016200188e565b602435908115158092036200023c5760206200058f916200057b62001b14565b8160405193828580945193849201620018db565b810160078152030190209060ff80198354169116179055600080f35b346200023c5760003660031901126200023c576020600454604051908152f35b346200023c5760203660031901126200023c576004356008548110156200023c57620005f790620019d7565b62000624576200060b620006209162001a62565b60405191829160208352602083019062001900565b0390f35b634e487b7160e01b600052600060045260246000fd5b346200023c5760603660031901126200023c576200065d60036044351062001c85565b604051638b67a52160e01b8152602081600481305afa908115620004af57600091620009df575b5060001981018181116200086a5760243515620009c9576024359004906001918281018091116200086a5760043515159081620009c0575b81620009b5575b81620009a7575b5015620009735790620006df60243562001e56565b90620006ed60243562001eb0565b92620006f98162001e56565b620007048262001eb0565b600092845b81811115620008805750506024356004356000198101828102959181119492811591870414171560005b6024358110620007e7575b5050505050505060405191604083016040845281518091526060840190602060608260051b8701019301916000905b828210620007b5575050505082810360208401526020808551928381520194019060005b8181106200079f5784860385f35b8251865260209586019590920191830162000791565b9091929394602080620007d5839a98605f198b8203018652885162001927565b9601920192019092919694966200076d565b859997996200086a57816200086a57808701908188116200086a5783821015620008605762000843828b6200082e846200082662000857978b62001ee8565b519262001ee8565b526200083b838d62001ee8565b508762001ee8565b5162000850828b62001ee8565b5262001cc0565b98969862000733565b509896986200073e565b634e487b7160e01b600052601160045260246000fd5b60405163076bf24160e01b815260048101829052959795600081602481305afa908115620004af5760009060009262000948575b506044358a14806200093a575b80156200091e575b15620008e5575050620008dc9062001cc0565b96949662000709565b956200091791620008dc9397620008fd838962001ee8565b526200090a828862001ee8565b5062000850828762001ee8565b9462001cc0565b506002604435148015620008c9575060408101518210620008c9565b5060408101518214620008c1565b90506200096b91503d806000833e62000962818362001850565b81019062001d32565b908a620008b4565b60405162461bcd60e51b815260206004820152600c60248201526b506172616d732077726f6e6760a01b6044820152606490fd5b9050600435111583620006ca565b8015159150620006c3565b839150620006bc565b634e487b7160e01b600052601260045260246000fd5b90506020813d60201162000a0e575b81620009fd6020938362001850565b810103126200023c57518162000684565b3d9150620009ee565b346200023c5760203660031901126200023c5762000a3462001b14565b600480359055005b346200023c5760203660031901126200023c5762000a5962001b14565b600435600355005b346200023c5760003660031901126200023c576000546040516001600160a01b039091168152602090f35b346200023c5760003660031901126200023c5760015460001981019081116200086a57602090604051908152f35b346200023c5760003660031901126200023c5762000ad762001b14565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346200023c5760003660031901126200023c576020600354604051908152f35b346200023c5760203660031901126200023c576004356001600160401b0381116200023c5762000b7d60206200057b62000b77829436906004016200188e565b62001f0f565b8101600681520301902054604051908152f35b346200023c576101403660031901126200023c576004356001600160401b0381116200023c5762000bc69036906004016200188e565b6024356001600160401b0381116200023c5762000be89036906004016200188e565b60c435906001600160a01b03821682036200023c5761012435906001600160a01b03821682036200023c5780516000805b828110620013ce5750905060ff6002541603620013895760643560443510620013445762000c479062001f0f565b6040516363a8cc0760e01b8152602060048201819052818062000c6e602482018662001900565b0381305afa908115620004af576000916200130c575b50620012d55760ff604051602081845162000ca38183858901620018db565b8101600781520301902054166200129d5760405193611b9062000cca602082018762001850565b8086526200200e60208701396001549262000dd860206003549762000d9b6004546040519a8b916101c08684015262000d1f62000d0c6101e085018b62001900565b848103601f190160408601528b62001900565b6044356060850152606435608085015260a084018c905260843560c085015260a43560e08501526001600160a01b038d811661010086015260e435610120860152610140850193909352610160840191909152610104356101808401529087166101a0830152306101c083015203601f1981018b528a62001850565b604051988162000db58b93518092868087019101620018db565b820162000dcb82518093868085019101620018db565b0103808952018762001850565b60405195846020880152602087528660408101106001600160401b0360408901111762000226576040870160405286516020880120906020815191016000f594853b156200023c5762000e2e6040880162001833565b60408781018581526060890185905260443560808a015260643560a08a015260843560c08a015260e0890187905260a4356101008a01526001600160a01b039283166101208a015260e4356101408a0152610104356101608a01529282166101808901529086166101a0880152426101c0880152600085815260056020522090518051906001600160401b0382116200022657819062000ecf845462001a25565b601f811162001248575b50602090601f8311600114620011d757600092620011cb575b50508160011b916000199060031b1c19161781555b60608601519586516001600160401b038111620002265762000f2d600184015462001a25565b97601f89116200117f575b602098508890601f8311600114620010da576101c06200109494846200108698957fc9be58508fa11c9bc250c6c7b10320e7b06c0a8b71fbab161b34d62043ae846c9a9895600c95600092620010ce575b50508160011b916000199060031b1c19161760018501555b6080810151600285015560a0810151600385015560c0810151600485015560e0810151600585015561010081015160068501556101208101516007850180546001600160a01b039283166001600160a01b03199182161790915561014083015160088701556101608301516009870155610180830151600a870180549184169183169190911790556101a0830151600b87018054919093169116179055015191015560405183518791908a9082906200105e8183858b01620018db565b8101600681520301902055600180540160015560405193849360c0855260c085019062001900565b908382038985015262001900565b604435604083015260643560608301526001600160a01b03861660808301524260a08301520390a26040516001600160a01b039091168152f35b015190508e8062000f89565b9060018501600052896000209160005b601f198516811062001167575062001094946001857fc9be58508fa11c9bc250c6c7b10320e7b06c0a8b71fbab161b34d62043ae846c9a9895600c956101c095620010869c99601f198116106200114d575b505050811b01600185015562000fa1565b015160001960f88460031b161c191690558e80806200113c565b91928b600181928685015181550194019201620010ea565b600184016000526020600020601f830160051c810160208410620011c3575b601f8b0160051c82018110620011b657505062000f38565b600081556001016200119e565b50806200119e565b01519050888062000ef2565b9250836000526020600020906000935b601f19841685106200122c576001945083601f1981161062001212575b505050811b01815562000f07565b015160001960f88460031b161c1916905588808062001204565b81810151835560209485019460019093019290910190620011e7565b909150836000526020600020601f840160051c81016020851062001295575b90849392915b601f830160051c820181106200128557505062000ed9565b600081558594506001016200126d565b508062001267565b60405162461bcd60e51b815260206004820152601060248201526f7469636b20697320696e2073746f636b60801b6044820152606490fd5b60405162461bcd60e51b815260206004820152600f60248201526e1d1a58dac81a5cc8195e1a5cdd1959608a1b6044820152606490fd5b90506020813d6020116200133b575b816200132a6020938362001850565b810103126200023c57518562000c84565b3d91506200131b565b60405162461bcd60e51b815260206004820152601960248201527f4c696d697420706572206d696e742065786365656420636170000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601760248201527f5469636b206c656e6768742073686f756c6420626520340000000000000000006044820152606490fd5b6001600160f81b0319620013e3828662001efd565b5116600160ff1b811015620014125750600181018091116200086a576200140b909162001cc0565b9062000c19565b600760fd1b811015620014385750600281018091116200086a576200140b909162001cc0565b600f60fc1b8110156200145e5750600381018091116200086a576200140b909162001cc0565b601f60fb1b811015620014845750600481018091116200086a576200140b909162001cc0565b603f60fa1b1115620014a857600581018091116200086a576200140b909162001cc0565b600681018091116200086a576200140b909162001cc0565b346200023c5760003660031901126200023c57602060ff60025416604051908152f35b346200023c5760203660031901126200023c5760043560ff81168091036200023c576200150f62001b14565b60ff196002541617600255600080f35b346200023c576020806003193601126200023c576004358015158091036200023c576200154b62001b14565b60ff1660005b6008548110156200001b578062001586846200157c62001575620015a095620019d7565b5062001a62565b6200057b62001b14565b810160078152030190208360ff1982541617905562001cc0565b62001551565b346200023c576020806003193601126200023c57600435620015cb6003821062001c85565b604051638b67a52160e01b81528281600481305afa908115620004af57600091620016d0575b5090600091600191828114925b8281111562001611578585604051908152f35b60405163076bf24160e01b815260048101829052600081602481305afa8015620004af57600091600091620016af575b508580620016a1575b15620016635750506200165d9062001cc0565b620015fe565b60028414918262001692575b50501562001682576200165d9062001cc0565b93620009176200165d9162001cc0565b6040015111905087806200166f565b50604082015181146200164a565b9050620016c991503d806000833e62000962818362001850565b8862001641565b90508281813d8311620016fb575b620016ea818362001850565b810103126200023c575183620015f1565b503d620016de565b346200023c576020806003193601126200023c5760048035916200172662001b6d565b5082600052600581526200173e604060002062001bd2565b92600052600581528060406000209361016060018060a01b0391015116604051938480926318160ddd60e01b82525afa918215620004af57600092620017a5575b506200178f620004139362001bd2565b9160405193849360408552604085019062001927565b9291508083813d8311620017d7575b620017c0818362001850565b810103126200023c57915190916200178f6200177f565b503d620017b4565b346200023c5760203660031901126200023c576004356001600160401b0381116200023c5760ff6200181d60206200057b819436906004016200188e565b8101600781520301902054166040519015158152f35b6101a081019081106001600160401b038211176200022657604052565b90601f801991011681019081106001600160401b038211176200022657604052565b6001600160401b0381116200022657601f01601f191660200190565b81601f820112156200023c57803590620018a88262001872565b92620018b8604051948562001850565b828452602083830101116200023c57816000926020809301838601378301015290565b60005b838110620018ef5750506000910152565b8181015183820152602001620018de565b906020916200191b81518092818552858086019101620018db565b601f01601f1916010190565b90620019546200194183516101a080855284019062001900565b6020840151838203602085015262001900565b9160408101516040830152606081015160608301526080810151608083015260a081015160a083015260c081015160c083015260018060a01b038060e08301511660e08401526101008083015190840152610120808301519084015261014081818401511690840152610160908183015116908301526101808091015191015290565b60085481101562001a0f5760086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30190600090565b634e487b7160e01b600052603260045260246000fd5b90600182811c9216801562001a57575b602083101462001a4157565b634e487b7160e01b600052602260045260246000fd5b91607f169162001a35565b906040519182600082549262001a788462001a25565b90818452600194858116908160001462001aef575060011462001aa8575b505062001aa69250038362001850565b565b9093915060005260209081600020936000915b81831062001ad657505062001aa69350820101388062001a96565b8554888401850152948501948794509183019162001abb565b91505062001aa694506020925060ff191682840152151560051b820101388062001a96565b6000546001600160a01b0316330362001b2957565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6040519062001b7c8262001833565b8160608152606060208201526101806000918260408201528260608201528260808201528260a08201528260c08201528260e0820152826101008201528261012082015282610140820152826101608201520152565b9060405162001be18162001833565b610180600c829462001bf38162001a62565b845262001c036001820162001a62565b6020850152600281015460408501526003810154606085015260048101546080850152600581015460a0850152600681015460c085015260078101546001600160a01b0390811660e086015260088201546101008601526009820154610120860152600a8201548116610140860152600b820154166101608501520154910152565b1562001c8d57565b60405162461bcd60e51b815260206004820152600b60248201526a3a3cb8329034b99018169960a91b6044820152606490fd5b60001981146200086a5760010190565b81601f820112156200023c57805162001ce98162001872565b9262001cf9604051948562001850565b818452602082840101116200023c5762001d1a9160208085019101620018db565b90565b51906001600160a01b03821682036200023c57565b91906040838203126200023c5782516001600160401b03908181116200023c5784016101a0818403126200023c576040519162001d6f8362001833565b81518181116200023c578462001d8791840162001cd0565b835260208201519081116200023c5760209362001da691830162001cd0565b8383015260408101516040830152606081015160608301526080810151608083015260a081015160a083015260c081015160c083015262001dea60e0820162001d1d565b60e08301526101008082015190830152610120808201519083015261014062001e1581830162001d1d565b9083015261016062001e2981830162001d1d565b90830152610180809101519082015292015190565b6001600160401b038111620002265760051b60200190565b9062001e628262001e3e565b62001e71604051918262001850565b828152809262001e84601f199162001e3e565b019060005b82811062001e9657505050565b60209062001ea362001b6d565b8282850101520162001e89565b9062001ebc8262001e3e565b62001ecb604051918262001850565b828152809262001ede601f199162001e3e565b0190602036910137565b805182101562001a0f5760209160051b010190565b90815181101562001a0f570160200190565b90815162001f1d8162001872565b9062001f2d604051928362001850565b80825262001f3e601f199162001872565b01602090368284013760005b8451811015620020065762001f60818662001efd565b5190604160f892831c10158062001fec575b1562001fc0578262001f85828862001efd565b51831c019160ff83116200086a5762001fba92901b6001600160f81b03191660001a62001fb3828662001efd565b5362001cc0565b62001f4a565b62001fba91506001600160f81b031962001fdb828862001efd565b511660001a62001fb3828662001efd565b50605a62001ffb828862001efd565b51831c111562001f72565b509092505056fe608060405234620004c35762001b90803803806200001d81620004c8565b92833981016101c082820312620004c35781516001600160401b038111620004c357816200004d918401620004ee565b602083015190916001600160401b038211620004c35762000070918401620004ee565b60408301516060840151608085015160a086015160c087015160e08801519795929492916001600160a01b0389168903620004c3578695869586958695620000e36101a0620000db6101806101606101406101206101008e01519d01519d01519d01519d0162000560565b9c0162000560565b8c51909c6001600160401b038211620003965760035490600182811c92168015620004b8575b6020831014620003755781601f84931162000443575b50602090601f8311600114620003b857600092620003ac575b50508160011b916000199060031b1c1916176003555b8051906001600160401b038211620003965760045490600182811c921680156200038b575b6020831014620003755781601f84931162000303575b50602090601f831160011462000278576000926200026c575b50508160011b916000199060031b1c1916176004555b818110620002275760055560065560075560085560095560018060a01b03199660018060a01b031687600a541617600a55600b55600c55600d55600e5560018060a01b031682600f541617600f5560018060a01b031690601054161760105560405161161a9081620005768239f35b60405162461bcd60e51b815260206004820152601960248201527f4c696d697420706572206d696e742065786365656420636170000000000000006044820152606490fd5b015190503880620001a2565b600460009081527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9350601f198516905b818110620002ea5750908460019594939210620002d0575b505050811b01600455620001b8565b015160001960f88460031b161c19169055388080620002c1565b92936020600181928786015181550195019301620002a9565b60046000529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c8101602085106200036d575b90849392915b601f830160051c820181106200035d57505062000189565b6000815585945060010162000345565b50806200033f565b634e487b7160e01b600052602260045260246000fd5b91607f169162000173565b634e487b7160e01b600052604160045260246000fd5b01519050388062000138565b600360009081527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b9350601f198516905b8181106200042a575090846001959493921062000410575b505050811b016003556200014e565b015160001960f88460031b161c1916905538808062000401565b92936020600181928786015181550195019301620003e9565b60036000529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c81019160208510620004ad575b90601f859493920160051c01905b8181106200049d57506200011f565b600081558493506001016200048e565b909150819062000480565b91607f169162000109565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200039657604052565b919080601f84011215620004c35782516001600160401b038111620003965760209062000524601f8201601f19168301620004c8565b92818452828287010111620004c35760005b8181106200054c57508260009394955001015290565b858101830151848201840152820162000536565b51906001600160a01b0382168203620004c35756fe608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde0314610db657508163095ea7b314610d8c57816316b8060c14610d6d57816318160ddd14610d4e5781631c4cd1a514610d1657816323b872dd14610c4c5781632ca9160414610c2d578163313ce56714610c11578163355274ea14610bf25781633950935114610ba257816343508b05146109585781635c4caf951461092f5781636a627842146106265781636ef25c3a1461060757816370a08231146105d05781638f81537b1461049e57816395d89b411461039b5781639f805924146103725781639fc6a1dc14610349578163a457c2d7146102a157508063a9059cbb14610271578063bde593c614610253578063be13197b1461021c578063cb06bfdb146101fe578063dd62ed3e146101b6578063def504bb14610198578063e2ce9f511461017a5763fd7e1bee1461015957600080fd5b346101765781600319360112610176576020906009549051908152f35b5080fd5b50346101765781600319360112610176576020906006549051908152f35b5034610176578160031936011261017657602090600b549051908152f35b5034610176578060031936011261017657806020926101d3610ef4565b6101db610f0f565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5034610176578160031936011261017657602090600d549051908152f35b50346101765760203660031901126101765760209181906001600160a01b03610243610ef4565b1681526011845220549051908152f35b50346101765781600319360112610176576020906007549051908152f35b503461017657806003193601126101765760209061029a610290610ef4565b6024359033610f80565b5160018152f35b905082346103465782600319360112610346576102bc610ef4565b918360243592338152600160205281812060018060a01b03861682526020522054908282106102f55760208561029a85850387336110ee565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b80fd5b50503461017657816003193601126101765760105490516001600160a01b039091168152602090f35b505034610176578160031936011261017657600a5490516001600160a01b039091168152602090f35b838334610176578160031936011261017657805191809380549160019083821c92828516948515610494575b60209586861081146104815785895290811561045d5750600114610405575b61040187876103f7828c0383610f25565b5191829182610eab565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061044a5750505082610401946103f7928201019486806103e6565b805486850188015292860192810161042c565b60ff19168887015250505050151560051b83010192506103f78261040186806103e6565b634e487b7160e01b845260228352602484fd5b93607f16936103c7565b90508234610346576020366003190112610346576104ba610ef4565b908092819260018060a01b031680835260116020526104df8684205460095490610f5d565b42106104f5575b50505082519182526020820152f35b82526012602052848220549193509150806105a95750600c54915b600c548381156105965704670de0b6b3a764000090818102908082058314901517156105835761053f90611341565b60018101908360018312911290801582169115161761058357059160018301809311610570575050908380806104e6565b634e487b7160e01b825260119052602490fd5b634e487b7160e01b835260118452602483fd5b634e487b7160e01b835260128452602483fd5b8060011b9081046002036105bd5791610510565b634e487b7160e01b835260118252602483fd5b5050346101765760203660031901126101765760209181906001600160a01b036105f8610ef4565b16815280845220549051908152f35b505034610176578160031936011261017657602090600c549051908152f35b83915060208060031936011261092b5761063e610ef4565b9161064e60025460065490610f5d565b600554106108fc57600a546001600160a01b0392908590841680159083908215610887575b505061067f91506111f0565b33855260118152858520544211156108545733855260118152858520546106aa429160095490610f5d565b11156107c55733855260128152858520548061079e5750600c54955b338652601282528681872055600e549687610725575b50505050610703929350600e546106f3813461124f565b610706575b50506006549061125c565b80f35b61071861071e9260105416913461124f565b90611503565b83806106f8565b61072f9088610f5d565b341061074f5750505061074561070393946112ff565b83928580806106dc565b5162461bcd60e51b815291820152602560248201527f53656e6420736f6d65204554482061732066656520616e642063726f776466756044820152646e64696e6760d81b606482015260849150fd5b8060011b9081046002036107b257956106c6565b634e487b7160e01b865260118352602486fd5b949150600e54806107f5575b5050601161070393943386526012815285838120555242908420556006549061125c565b341061081357506011610703939461080c346112ff565b94936107d1565b84606492519162461bcd60e51b8352820152601d60248201527f53656e6420736f6d65204554482061732063726f776466756e64696e670000006044820152fd5b855162461bcd60e51b815291820152600e60248201526d151a5b595cdd185b5c0819985a5b60921b604482015260649150fd5b90915060248951809481936370a0823160e01b835233898401525af180156108f25786906108bf575b600b5487925011158289610673565b508181813d83116108eb575b6108d58183610f25565b810103126108e75761067f90516108b0565b8580fd5b503d6108cb565b87513d88823e3d90fd5b60649185519162461bcd60e51b8352820152600b60248201526a0546f7563686564206361760ac1b6044820152fd5b8280fd5b505034610176578160031936011261017657600f5490516001600160a01b039091168152602090f35b9180915060031936011261092b5761096e610ef4565b916024928335926008548411610b6a576002549061099960069261099384548861123c565b90610f5d565b60055410610b3d57600954610aef57600a5487906001600160a01b03168015908115610a75575b506109cb91506111f0565b600e548581610a13575b505050855b8481106109e5578680f35b6109f082548461125c565b6000198114610a01576001016109da565b634e487b7160e01b8752601184528587fd5b610a1c9161123c565b3410610a345750610a2c346112ff565b3880856109d5565b5162461bcd60e51b8152602081850152601b818701527f43726f776466756e64696e6720455448206e6f7420656e6f75676800000000006044820152606490fd5b60209150888451809481936370a0823160e01b8352338b8401525af18015610ae5578890610aae575b600b5489925011156109cb6109c0565b506020813d8211610add575b81610ac760209383610f25565b81010312610ad9576109cb9051610a9e565b8780fd5b3d9150610aba565b82513d8a823e3d90fd5b5162461bcd60e51b81526020818501528086018690527f4261746368206d696e74206f6e6c7920666f72206e6f6e2d66726f7a656e207460448201526337b5b2b760e11b6064820152608490fd5b5162461bcd60e51b8152602081850152600981870152680546f756368206361760bc1b6044820152606490fd5b5162461bcd60e51b815260208184015260148186015273657863656564206d6178206d696e742073697a6560601b6044820152606490fd5b50503461017657806003193601126101765761029a602092610beb610bc5610ef4565b338352600186528483206001600160a01b03821684528652918490205460243590610f5d565b90336110ee565b5050346101765781600319360112610176576020906005549051908152f35b5050346101765781600319360112610176576020905160128152f35b505034610176578160031936011261017657602090600e549051908152f35b8391503461017657606036600319011261017657610c68610ef4565b610c70610f0f565b91846044359460018060a01b038416815260016020528181203382526020522054906000198203610caa575b60208661029a878787610f80565b848210610cd35750918391610cc86020969561029a950333836110ee565b919394819350610c9c565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b5050346101765760203660031901126101765760209181906001600160a01b03610d3e610ef4565b1681526012845220549051908152f35b5050346101765781600319360112610176576020906002549051908152f35b5050346101765781600319360112610176576020906008549051908152f35b50503461017657806003193601126101765760209061029a610dac610ef4565b60243590336110ee565b92915034610ea75783600319360112610ea757600354600181811c9186908281168015610e9d575b6020958686108214610e8a5750848852908115610e685750600114610e0f575b61040186866103f7828b0383610f25565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610e555750505082610401946103f7928201019438610dfe565b8054868501880152928601928101610e38565b60ff191687860152505050151560051b83010192506103f78261040138610dfe565b634e487b7160e01b845260229052602483fd5b93607f1693610dde565b8380fd5b6020808252825181830181905290939260005b828110610ee057505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610ebe565b600435906001600160a01b0382168203610f0a57565b600080fd5b602435906001600160a01b0382168203610f0a57565b90601f8019910116810190811067ffffffffffffffff821117610f4757604052565b634e487b7160e01b600052604160045260246000fd5b91908201809211610f6a57565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0390811691821561109b571691821561104a57600082815280602052604081205491808310610ff657604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b6001600160a01b0390811691821561119f571691821561114f5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b156111f757565b60405162461bcd60e51b815260206004820152601e60248201527f596f7520646f6e277420686176652072657175697265642061737365747300006044820152606490fd5b81810292918115918404141715610f6a57565b91908203918211610f6a57565b6001600160a01b03169081156112ba577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60208261129e600094600254610f5d565b60025584845283825260408420818154019055604051908152a3565b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b61271061130e600d548361123c565b0461132960018060a01b03926107188385600f54169261124f565b80611332575050565b61133f9160105416611503565b565b6000908181131561017657670de0b6b3a7640000918282126114e5576001925b81818405600160801b8110156114da575b680100000000000000008110156114c5575b6401000000008110156114b0575b6201000081101561149b575b610100811015611486575b6010811015611471575b6004811015611448575b60021115611428575b81810293811d9082821461141d57506706f05b59d3b20000905b8382136113ef57505050500290565b808391020590671bc16d674ec8000082121561140f575b60011d906113e0565b809194019360011d90611406565b925050929150020290565b60018101809111156113c657634e487b7160e01b83526011600452602483fd5b60021c906002810180911161145d57906113bd565b634e487b7160e01b84526011600452602484fd5b60041c906004810180911161145d57906113b3565b60081c906008810180911161145d57906113a9565b60101c906010810180911161145d579061139e565b60201c906020810180911161145d5790611392565b60401c906040810180911161145d5790611384565b60809150811c611372565b600019926ec097ce7bc90715b34b9f10000000009290920491611361565b60405167ffffffffffffffff91906020810183811182821017610f475760405260008080958194828095525af1913d156115dd573d9182116115c95760405191611557601f8201601f191660200184610f25565b825260203d92013e5b1561156757565b60405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527308115512081d1c985b9cd9995c8819985a5b195960621b6064820152608490fd5b634e487b7160e01b81526041600452602490fd5b505061156056fea2646970667358221220cac9a4b804f7492f76ed40e8e1d0bdd7608244db59460f2b5d93032e9759f3f064736f6c63430008120033a2646970667358221220810b67b0a94d320656150b86add10f0e54920ba109bb5e51d6cfa19aa4f0ff7664736f6c63430008120033

Deployed Bytecode

0x608060405260043610156200001d575b36156200001b57600080fd5b005b60003560e01c806304571fae14620017df578063076bf2411462001703578063135d9f7314620015a65780633689f91b146200151f578063396d5b7014620014e35780634d76be2a14620014c0578063583c15b51462000b9057806363a8cc071462000b375780636ef25c3a1462000b17578063715018a61462000aba5780638b67a5211462000a8c5780638da5cb5b1462000a615780638e6901861462000a3c578063a18a127a1462000a17578063a7b8a7d0146200063a578063bda0b97814620005cb578063cb06bfdb14620005ab578063d9ed2c251462000526578063dc8773e91462000312578063f2fde38b14620002415763f3fef3a3036200000f57346200023c5760403660031901126200023c576004356001600160a01b038116908190036200023c57602435906200015562001b14565b4782116200023c5760405160208101908082106001600160401b03831117620002265760008080868682809688604052525af13d1562000220573d6200019b8162001872565b90620001ab604051928362001850565b8152600060203d92013e5b15620001be57005b60405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527308115512081d1c985b9cd9995c8819985a5b195960621b6064820152608490fd5b620001b6565b634e487b7160e01b600052604160045260246000fd5b600080fd5b346200023c5760203660031901126200023c576004356001600160a01b03818116918290036200023c576200027562001b14565b8115620002be57600054826bffffffffffffffffffffffff60a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b346200023c576020806003193601126200023c576004356001600160401b0381116200023c57620003489036906004016200188e565b906200035362001b6d565b906000604051936363a8cc0760e01b948581528360048201528381806200037e602482018662001900565b0381305afa908115620004af57600091620004f0575b50620003d995849160005260058252620003bd620003b6604060002062001bd2565b9362001f0f565b9060405197889283928352846004840152602483019062001900565b0381305afa948515620004af57600095620004bb575b50846200041b575b5062000413935060405193849360408552604085019062001927565b918301520390f35b925050600492600052600581528062000438604060002062001bd2565b610160909301516040516318160ddd60e01b815294859182906001600160a01b03165afa8015620004af5760009062000479575b62000413935084620003f7565b508083813d8311620004a7575b62000492818362001850565b810103126200023c576200041392516200046c565b503d62000486565b6040513d6000823e3d90fd5b9094508281813d8311620004e8575b620004d6818362001850565b810103126200023c57519385620003ef565b503d620004ca565b90508381813d83116200051e575b6200050a818362001850565b810103126200023c5751620003d962000394565b503d620004fe565b346200023c5760403660031901126200023c576004356001600160401b0381116200023c576200055b9036906004016200188e565b602435908115158092036200023c5760206200058f916200057b62001b14565b8160405193828580945193849201620018db565b810160078152030190209060ff80198354169116179055600080f35b346200023c5760003660031901126200023c576020600454604051908152f35b346200023c5760203660031901126200023c576004356008548110156200023c57620005f790620019d7565b62000624576200060b620006209162001a62565b60405191829160208352602083019062001900565b0390f35b634e487b7160e01b600052600060045260246000fd5b346200023c5760603660031901126200023c576200065d60036044351062001c85565b604051638b67a52160e01b8152602081600481305afa908115620004af57600091620009df575b5060001981018181116200086a5760243515620009c9576024359004906001918281018091116200086a5760043515159081620009c0575b81620009b5575b81620009a7575b5015620009735790620006df60243562001e56565b90620006ed60243562001eb0565b92620006f98162001e56565b620007048262001eb0565b600092845b81811115620008805750506024356004356000198101828102959181119492811591870414171560005b6024358110620007e7575b5050505050505060405191604083016040845281518091526060840190602060608260051b8701019301916000905b828210620007b5575050505082810360208401526020808551928381520194019060005b8181106200079f5784860385f35b8251865260209586019590920191830162000791565b9091929394602080620007d5839a98605f198b8203018652885162001927565b9601920192019092919694966200076d565b859997996200086a57816200086a57808701908188116200086a5783821015620008605762000843828b6200082e846200082662000857978b62001ee8565b519262001ee8565b526200083b838d62001ee8565b508762001ee8565b5162000850828b62001ee8565b5262001cc0565b98969862000733565b509896986200073e565b634e487b7160e01b600052601160045260246000fd5b60405163076bf24160e01b815260048101829052959795600081602481305afa908115620004af5760009060009262000948575b506044358a14806200093a575b80156200091e575b15620008e5575050620008dc9062001cc0565b96949662000709565b956200091791620008dc9397620008fd838962001ee8565b526200090a828862001ee8565b5062000850828762001ee8565b9462001cc0565b506002604435148015620008c9575060408101518210620008c9565b5060408101518214620008c1565b90506200096b91503d806000833e62000962818362001850565b81019062001d32565b908a620008b4565b60405162461bcd60e51b815260206004820152600c60248201526b506172616d732077726f6e6760a01b6044820152606490fd5b9050600435111583620006ca565b8015159150620006c3565b839150620006bc565b634e487b7160e01b600052601260045260246000fd5b90506020813d60201162000a0e575b81620009fd6020938362001850565b810103126200023c57518162000684565b3d9150620009ee565b346200023c5760203660031901126200023c5762000a3462001b14565b600480359055005b346200023c5760203660031901126200023c5762000a5962001b14565b600435600355005b346200023c5760003660031901126200023c576000546040516001600160a01b039091168152602090f35b346200023c5760003660031901126200023c5760015460001981019081116200086a57602090604051908152f35b346200023c5760003660031901126200023c5762000ad762001b14565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346200023c5760003660031901126200023c576020600354604051908152f35b346200023c5760203660031901126200023c576004356001600160401b0381116200023c5762000b7d60206200057b62000b77829436906004016200188e565b62001f0f565b8101600681520301902054604051908152f35b346200023c576101403660031901126200023c576004356001600160401b0381116200023c5762000bc69036906004016200188e565b6024356001600160401b0381116200023c5762000be89036906004016200188e565b60c435906001600160a01b03821682036200023c5761012435906001600160a01b03821682036200023c5780516000805b828110620013ce5750905060ff6002541603620013895760643560443510620013445762000c479062001f0f565b6040516363a8cc0760e01b8152602060048201819052818062000c6e602482018662001900565b0381305afa908115620004af576000916200130c575b50620012d55760ff604051602081845162000ca38183858901620018db565b8101600781520301902054166200129d5760405193611b9062000cca602082018762001850565b8086526200200e60208701396001549262000dd860206003549762000d9b6004546040519a8b916101c08684015262000d1f62000d0c6101e085018b62001900565b848103601f190160408601528b62001900565b6044356060850152606435608085015260a084018c905260843560c085015260a43560e08501526001600160a01b038d811661010086015260e435610120860152610140850193909352610160840191909152610104356101808401529087166101a0830152306101c083015203601f1981018b528a62001850565b604051988162000db58b93518092868087019101620018db565b820162000dcb82518093868085019101620018db565b0103808952018762001850565b60405195846020880152602087528660408101106001600160401b0360408901111762000226576040870160405286516020880120906020815191016000f594853b156200023c5762000e2e6040880162001833565b60408781018581526060890185905260443560808a015260643560a08a015260843560c08a015260e0890187905260a4356101008a01526001600160a01b039283166101208a015260e4356101408a0152610104356101608a01529282166101808901529086166101a0880152426101c0880152600085815260056020522090518051906001600160401b0382116200022657819062000ecf845462001a25565b601f811162001248575b50602090601f8311600114620011d757600092620011cb575b50508160011b916000199060031b1c19161781555b60608601519586516001600160401b038111620002265762000f2d600184015462001a25565b97601f89116200117f575b602098508890601f8311600114620010da576101c06200109494846200108698957fc9be58508fa11c9bc250c6c7b10320e7b06c0a8b71fbab161b34d62043ae846c9a9895600c95600092620010ce575b50508160011b916000199060031b1c19161760018501555b6080810151600285015560a0810151600385015560c0810151600485015560e0810151600585015561010081015160068501556101208101516007850180546001600160a01b039283166001600160a01b03199182161790915561014083015160088701556101608301516009870155610180830151600a870180549184169183169190911790556101a0830151600b87018054919093169116179055015191015560405183518791908a9082906200105e8183858b01620018db565b8101600681520301902055600180540160015560405193849360c0855260c085019062001900565b908382038985015262001900565b604435604083015260643560608301526001600160a01b03861660808301524260a08301520390a26040516001600160a01b039091168152f35b015190508e8062000f89565b9060018501600052896000209160005b601f198516811062001167575062001094946001857fc9be58508fa11c9bc250c6c7b10320e7b06c0a8b71fbab161b34d62043ae846c9a9895600c956101c095620010869c99601f198116106200114d575b505050811b01600185015562000fa1565b015160001960f88460031b161c191690558e80806200113c565b91928b600181928685015181550194019201620010ea565b600184016000526020600020601f830160051c810160208410620011c3575b601f8b0160051c82018110620011b657505062000f38565b600081556001016200119e565b50806200119e565b01519050888062000ef2565b9250836000526020600020906000935b601f19841685106200122c576001945083601f1981161062001212575b505050811b01815562000f07565b015160001960f88460031b161c1916905588808062001204565b81810151835560209485019460019093019290910190620011e7565b909150836000526020600020601f840160051c81016020851062001295575b90849392915b601f830160051c820181106200128557505062000ed9565b600081558594506001016200126d565b508062001267565b60405162461bcd60e51b815260206004820152601060248201526f7469636b20697320696e2073746f636b60801b6044820152606490fd5b60405162461bcd60e51b815260206004820152600f60248201526e1d1a58dac81a5cc8195e1a5cdd1959608a1b6044820152606490fd5b90506020813d6020116200133b575b816200132a6020938362001850565b810103126200023c57518562000c84565b3d91506200131b565b60405162461bcd60e51b815260206004820152601960248201527f4c696d697420706572206d696e742065786365656420636170000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601760248201527f5469636b206c656e6768742073686f756c6420626520340000000000000000006044820152606490fd5b6001600160f81b0319620013e3828662001efd565b5116600160ff1b811015620014125750600181018091116200086a576200140b909162001cc0565b9062000c19565b600760fd1b811015620014385750600281018091116200086a576200140b909162001cc0565b600f60fc1b8110156200145e5750600381018091116200086a576200140b909162001cc0565b601f60fb1b811015620014845750600481018091116200086a576200140b909162001cc0565b603f60fa1b1115620014a857600581018091116200086a576200140b909162001cc0565b600681018091116200086a576200140b909162001cc0565b346200023c5760003660031901126200023c57602060ff60025416604051908152f35b346200023c5760203660031901126200023c5760043560ff81168091036200023c576200150f62001b14565b60ff196002541617600255600080f35b346200023c576020806003193601126200023c576004358015158091036200023c576200154b62001b14565b60ff1660005b6008548110156200001b578062001586846200157c62001575620015a095620019d7565b5062001a62565b6200057b62001b14565b810160078152030190208360ff1982541617905562001cc0565b62001551565b346200023c576020806003193601126200023c57600435620015cb6003821062001c85565b604051638b67a52160e01b81528281600481305afa908115620004af57600091620016d0575b5090600091600191828114925b8281111562001611578585604051908152f35b60405163076bf24160e01b815260048101829052600081602481305afa8015620004af57600091600091620016af575b508580620016a1575b15620016635750506200165d9062001cc0565b620015fe565b60028414918262001692575b50501562001682576200165d9062001cc0565b93620009176200165d9162001cc0565b6040015111905087806200166f565b50604082015181146200164a565b9050620016c991503d806000833e62000962818362001850565b8862001641565b90508281813d8311620016fb575b620016ea818362001850565b810103126200023c575183620015f1565b503d620016de565b346200023c576020806003193601126200023c5760048035916200172662001b6d565b5082600052600581526200173e604060002062001bd2565b92600052600581528060406000209361016060018060a01b0391015116604051938480926318160ddd60e01b82525afa918215620004af57600092620017a5575b506200178f620004139362001bd2565b9160405193849360408552604085019062001927565b9291508083813d8311620017d7575b620017c0818362001850565b810103126200023c57915190916200178f6200177f565b503d620017b4565b346200023c5760203660031901126200023c576004356001600160401b0381116200023c5760ff6200181d60206200057b819436906004016200188e565b8101600781520301902054166040519015158152f35b6101a081019081106001600160401b038211176200022657604052565b90601f801991011681019081106001600160401b038211176200022657604052565b6001600160401b0381116200022657601f01601f191660200190565b81601f820112156200023c57803590620018a88262001872565b92620018b8604051948562001850565b828452602083830101116200023c57816000926020809301838601378301015290565b60005b838110620018ef5750506000910152565b8181015183820152602001620018de565b906020916200191b81518092818552858086019101620018db565b601f01601f1916010190565b90620019546200194183516101a080855284019062001900565b6020840151838203602085015262001900565b9160408101516040830152606081015160608301526080810151608083015260a081015160a083015260c081015160c083015260018060a01b038060e08301511660e08401526101008083015190840152610120808301519084015261014081818401511690840152610160908183015116908301526101808091015191015290565b60085481101562001a0f5760086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30190600090565b634e487b7160e01b600052603260045260246000fd5b90600182811c9216801562001a57575b602083101462001a4157565b634e487b7160e01b600052602260045260246000fd5b91607f169162001a35565b906040519182600082549262001a788462001a25565b90818452600194858116908160001462001aef575060011462001aa8575b505062001aa69250038362001850565b565b9093915060005260209081600020936000915b81831062001ad657505062001aa69350820101388062001a96565b8554888401850152948501948794509183019162001abb565b91505062001aa694506020925060ff191682840152151560051b820101388062001a96565b6000546001600160a01b0316330362001b2957565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6040519062001b7c8262001833565b8160608152606060208201526101806000918260408201528260608201528260808201528260a08201528260c08201528260e0820152826101008201528261012082015282610140820152826101608201520152565b9060405162001be18162001833565b610180600c829462001bf38162001a62565b845262001c036001820162001a62565b6020850152600281015460408501526003810154606085015260048101546080850152600581015460a0850152600681015460c085015260078101546001600160a01b0390811660e086015260088201546101008601526009820154610120860152600a8201548116610140860152600b820154166101608501520154910152565b1562001c8d57565b60405162461bcd60e51b815260206004820152600b60248201526a3a3cb8329034b99018169960a91b6044820152606490fd5b60001981146200086a5760010190565b81601f820112156200023c57805162001ce98162001872565b9262001cf9604051948562001850565b818452602082840101116200023c5762001d1a9160208085019101620018db565b90565b51906001600160a01b03821682036200023c57565b91906040838203126200023c5782516001600160401b03908181116200023c5784016101a0818403126200023c576040519162001d6f8362001833565b81518181116200023c578462001d8791840162001cd0565b835260208201519081116200023c5760209362001da691830162001cd0565b8383015260408101516040830152606081015160608301526080810151608083015260a081015160a083015260c081015160c083015262001dea60e0820162001d1d565b60e08301526101008082015190830152610120808201519083015261014062001e1581830162001d1d565b9083015261016062001e2981830162001d1d565b90830152610180809101519082015292015190565b6001600160401b038111620002265760051b60200190565b9062001e628262001e3e565b62001e71604051918262001850565b828152809262001e84601f199162001e3e565b019060005b82811062001e9657505050565b60209062001ea362001b6d565b8282850101520162001e89565b9062001ebc8262001e3e565b62001ecb604051918262001850565b828152809262001ede601f199162001e3e565b0190602036910137565b805182101562001a0f5760209160051b010190565b90815181101562001a0f570160200190565b90815162001f1d8162001872565b9062001f2d604051928362001850565b80825262001f3e601f199162001872565b01602090368284013760005b8451811015620020065762001f60818662001efd565b5190604160f892831c10158062001fec575b1562001fc0578262001f85828862001efd565b51831c019160ff83116200086a5762001fba92901b6001600160f81b03191660001a62001fb3828662001efd565b5362001cc0565b62001f4a565b62001fba91506001600160f81b031962001fdb828862001efd565b511660001a62001fb3828662001efd565b50605a62001ffb828862001efd565b51831c111562001f72565b509092505056fe608060405234620004c35762001b90803803806200001d81620004c8565b92833981016101c082820312620004c35781516001600160401b038111620004c357816200004d918401620004ee565b602083015190916001600160401b038211620004c35762000070918401620004ee565b60408301516060840151608085015160a086015160c087015160e08801519795929492916001600160a01b0389168903620004c3578695869586958695620000e36101a0620000db6101806101606101406101206101008e01519d01519d01519d01519d0162000560565b9c0162000560565b8c51909c6001600160401b038211620003965760035490600182811c92168015620004b8575b6020831014620003755781601f84931162000443575b50602090601f8311600114620003b857600092620003ac575b50508160011b916000199060031b1c1916176003555b8051906001600160401b038211620003965760045490600182811c921680156200038b575b6020831014620003755781601f84931162000303575b50602090601f831160011462000278576000926200026c575b50508160011b916000199060031b1c1916176004555b818110620002275760055560065560075560085560095560018060a01b03199660018060a01b031687600a541617600a55600b55600c55600d55600e5560018060a01b031682600f541617600f5560018060a01b031690601054161760105560405161161a9081620005768239f35b60405162461bcd60e51b815260206004820152601960248201527f4c696d697420706572206d696e742065786365656420636170000000000000006044820152606490fd5b015190503880620001a2565b600460009081527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b9350601f198516905b818110620002ea5750908460019594939210620002d0575b505050811b01600455620001b8565b015160001960f88460031b161c19169055388080620002c1565b92936020600181928786015181550195019301620002a9565b60046000529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c8101602085106200036d575b90849392915b601f830160051c820181106200035d57505062000189565b6000815585945060010162000345565b50806200033f565b634e487b7160e01b600052602260045260246000fd5b91607f169162000173565b634e487b7160e01b600052604160045260246000fd5b01519050388062000138565b600360009081527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b9350601f198516905b8181106200042a575090846001959493921062000410575b505050811b016003556200014e565b015160001960f88460031b161c1916905538808062000401565b92936020600181928786015181550195019301620003e9565b60036000529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c81019160208510620004ad575b90601f859493920160051c01905b8181106200049d57506200011f565b600081558493506001016200048e565b909150819062000480565b91607f169162000109565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200039657604052565b919080601f84011215620004c35782516001600160401b038111620003965760209062000524601f8201601f19168301620004c8565b92818452828287010111620004c35760005b8181106200054c57508260009394955001015290565b858101830151848201840152820162000536565b51906001600160a01b0382168203620004c35756fe608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde0314610db657508163095ea7b314610d8c57816316b8060c14610d6d57816318160ddd14610d4e5781631c4cd1a514610d1657816323b872dd14610c4c5781632ca9160414610c2d578163313ce56714610c11578163355274ea14610bf25781633950935114610ba257816343508b05146109585781635c4caf951461092f5781636a627842146106265781636ef25c3a1461060757816370a08231146105d05781638f81537b1461049e57816395d89b411461039b5781639f805924146103725781639fc6a1dc14610349578163a457c2d7146102a157508063a9059cbb14610271578063bde593c614610253578063be13197b1461021c578063cb06bfdb146101fe578063dd62ed3e146101b6578063def504bb14610198578063e2ce9f511461017a5763fd7e1bee1461015957600080fd5b346101765781600319360112610176576020906009549051908152f35b5080fd5b50346101765781600319360112610176576020906006549051908152f35b5034610176578160031936011261017657602090600b549051908152f35b5034610176578060031936011261017657806020926101d3610ef4565b6101db610f0f565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5034610176578160031936011261017657602090600d549051908152f35b50346101765760203660031901126101765760209181906001600160a01b03610243610ef4565b1681526011845220549051908152f35b50346101765781600319360112610176576020906007549051908152f35b503461017657806003193601126101765760209061029a610290610ef4565b6024359033610f80565b5160018152f35b905082346103465782600319360112610346576102bc610ef4565b918360243592338152600160205281812060018060a01b03861682526020522054908282106102f55760208561029a85850387336110ee565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b80fd5b50503461017657816003193601126101765760105490516001600160a01b039091168152602090f35b505034610176578160031936011261017657600a5490516001600160a01b039091168152602090f35b838334610176578160031936011261017657805191809380549160019083821c92828516948515610494575b60209586861081146104815785895290811561045d5750600114610405575b61040187876103f7828c0383610f25565b5191829182610eab565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061044a5750505082610401946103f7928201019486806103e6565b805486850188015292860192810161042c565b60ff19168887015250505050151560051b83010192506103f78261040186806103e6565b634e487b7160e01b845260228352602484fd5b93607f16936103c7565b90508234610346576020366003190112610346576104ba610ef4565b908092819260018060a01b031680835260116020526104df8684205460095490610f5d565b42106104f5575b50505082519182526020820152f35b82526012602052848220549193509150806105a95750600c54915b600c548381156105965704670de0b6b3a764000090818102908082058314901517156105835761053f90611341565b60018101908360018312911290801582169115161761058357059160018301809311610570575050908380806104e6565b634e487b7160e01b825260119052602490fd5b634e487b7160e01b835260118452602483fd5b634e487b7160e01b835260128452602483fd5b8060011b9081046002036105bd5791610510565b634e487b7160e01b835260118252602483fd5b5050346101765760203660031901126101765760209181906001600160a01b036105f8610ef4565b16815280845220549051908152f35b505034610176578160031936011261017657602090600c549051908152f35b83915060208060031936011261092b5761063e610ef4565b9161064e60025460065490610f5d565b600554106108fc57600a546001600160a01b0392908590841680159083908215610887575b505061067f91506111f0565b33855260118152858520544211156108545733855260118152858520546106aa429160095490610f5d565b11156107c55733855260128152858520548061079e5750600c54955b338652601282528681872055600e549687610725575b50505050610703929350600e546106f3813461124f565b610706575b50506006549061125c565b80f35b61071861071e9260105416913461124f565b90611503565b83806106f8565b61072f9088610f5d565b341061074f5750505061074561070393946112ff565b83928580806106dc565b5162461bcd60e51b815291820152602560248201527f53656e6420736f6d65204554482061732066656520616e642063726f776466756044820152646e64696e6760d81b606482015260849150fd5b8060011b9081046002036107b257956106c6565b634e487b7160e01b865260118352602486fd5b949150600e54806107f5575b5050601161070393943386526012815285838120555242908420556006549061125c565b341061081357506011610703939461080c346112ff565b94936107d1565b84606492519162461bcd60e51b8352820152601d60248201527f53656e6420736f6d65204554482061732063726f776466756e64696e670000006044820152fd5b855162461bcd60e51b815291820152600e60248201526d151a5b595cdd185b5c0819985a5b60921b604482015260649150fd5b90915060248951809481936370a0823160e01b835233898401525af180156108f25786906108bf575b600b5487925011158289610673565b508181813d83116108eb575b6108d58183610f25565b810103126108e75761067f90516108b0565b8580fd5b503d6108cb565b87513d88823e3d90fd5b60649185519162461bcd60e51b8352820152600b60248201526a0546f7563686564206361760ac1b6044820152fd5b8280fd5b505034610176578160031936011261017657600f5490516001600160a01b039091168152602090f35b9180915060031936011261092b5761096e610ef4565b916024928335926008548411610b6a576002549061099960069261099384548861123c565b90610f5d565b60055410610b3d57600954610aef57600a5487906001600160a01b03168015908115610a75575b506109cb91506111f0565b600e548581610a13575b505050855b8481106109e5578680f35b6109f082548461125c565b6000198114610a01576001016109da565b634e487b7160e01b8752601184528587fd5b610a1c9161123c565b3410610a345750610a2c346112ff565b3880856109d5565b5162461bcd60e51b8152602081850152601b818701527f43726f776466756e64696e6720455448206e6f7420656e6f75676800000000006044820152606490fd5b60209150888451809481936370a0823160e01b8352338b8401525af18015610ae5578890610aae575b600b5489925011156109cb6109c0565b506020813d8211610add575b81610ac760209383610f25565b81010312610ad9576109cb9051610a9e565b8780fd5b3d9150610aba565b82513d8a823e3d90fd5b5162461bcd60e51b81526020818501528086018690527f4261746368206d696e74206f6e6c7920666f72206e6f6e2d66726f7a656e207460448201526337b5b2b760e11b6064820152608490fd5b5162461bcd60e51b8152602081850152600981870152680546f756368206361760bc1b6044820152606490fd5b5162461bcd60e51b815260208184015260148186015273657863656564206d6178206d696e742073697a6560601b6044820152606490fd5b50503461017657806003193601126101765761029a602092610beb610bc5610ef4565b338352600186528483206001600160a01b03821684528652918490205460243590610f5d565b90336110ee565b5050346101765781600319360112610176576020906005549051908152f35b5050346101765781600319360112610176576020905160128152f35b505034610176578160031936011261017657602090600e549051908152f35b8391503461017657606036600319011261017657610c68610ef4565b610c70610f0f565b91846044359460018060a01b038416815260016020528181203382526020522054906000198203610caa575b60208661029a878787610f80565b848210610cd35750918391610cc86020969561029a950333836110ee565b919394819350610c9c565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b5050346101765760203660031901126101765760209181906001600160a01b03610d3e610ef4565b1681526012845220549051908152f35b5050346101765781600319360112610176576020906002549051908152f35b5050346101765781600319360112610176576020906008549051908152f35b50503461017657806003193601126101765760209061029a610dac610ef4565b60243590336110ee565b92915034610ea75783600319360112610ea757600354600181811c9186908281168015610e9d575b6020958686108214610e8a5750848852908115610e685750600114610e0f575b61040186866103f7828b0383610f25565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610e555750505082610401946103f7928201019438610dfe565b8054868501880152928601928101610e38565b60ff191687860152505050151560051b83010192506103f78261040138610dfe565b634e487b7160e01b845260229052602483fd5b93607f1693610dde565b8380fd5b6020808252825181830181905290939260005b828110610ee057505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610ebe565b600435906001600160a01b0382168203610f0a57565b600080fd5b602435906001600160a01b0382168203610f0a57565b90601f8019910116810190811067ffffffffffffffff821117610f4757604052565b634e487b7160e01b600052604160045260246000fd5b91908201809211610f6a57565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0390811691821561109b571691821561104a57600082815280602052604081205491808310610ff657604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b6001600160a01b0390811691821561119f571691821561114f5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b156111f757565b60405162461bcd60e51b815260206004820152601e60248201527f596f7520646f6e277420686176652072657175697265642061737365747300006044820152606490fd5b81810292918115918404141715610f6a57565b91908203918211610f6a57565b6001600160a01b03169081156112ba577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60208261129e600094600254610f5d565b60025584845283825260408420818154019055604051908152a3565b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b61271061130e600d548361123c565b0461132960018060a01b03926107188385600f54169261124f565b80611332575050565b61133f9160105416611503565b565b6000908181131561017657670de0b6b3a7640000918282126114e5576001925b81818405600160801b8110156114da575b680100000000000000008110156114c5575b6401000000008110156114b0575b6201000081101561149b575b610100811015611486575b6010811015611471575b6004811015611448575b60021115611428575b81810293811d9082821461141d57506706f05b59d3b20000905b8382136113ef57505050500290565b808391020590671bc16d674ec8000082121561140f575b60011d906113e0565b809194019360011d90611406565b925050929150020290565b60018101809111156113c657634e487b7160e01b83526011600452602483fd5b60021c906002810180911161145d57906113bd565b634e487b7160e01b84526011600452602484fd5b60041c906004810180911161145d57906113b3565b60081c906008810180911161145d57906113a9565b60101c906010810180911161145d579061139e565b60201c906020810180911161145d5790611392565b60401c906040810180911161145d5790611384565b60809150811c611372565b600019926ec097ce7bc90715b34b9f10000000009290920491611361565b60405167ffffffffffffffff91906020810183811182821017610f475760405260008080958194828095525af1913d156115dd573d9182116115c95760405191611557601f8201601f191660200184610f25565b825260203d92013e5b1561156757565b60405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527308115512081d1c985b9cd9995c8819985a5b195960621b6064820152608490fd5b634e487b7160e01b81526041600452602490fd5b505061156056fea2646970667358221220cac9a4b804f7492f76ed40e8e1d0bdd7608244db59460f2b5d93032e9759f3f064736f6c63430008120033a2646970667358221220810b67b0a94d320656150b86add10f0e54920ba109bb5e51d6cfa19aa4f0ff7664736f6c63430008120033

Deployed Bytecode Sourcemap

248:10726:6:-:0;;;;;;;;;-1:-1:-1;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;1063:62:0;;;:::i;:::-;10100:30:6;10089:41;;248:10726;;;;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;;;;;;;1678:35:10;;248:10726:6;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;1063:62:0;;:::i;:::-;2169:22;;248:10726:6;;;;;;;;;;;;;;2573:40:0;248:10726:6;2573:40:0;;248:10726:6;;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;7333:21;248:10726;;;;;;;7400:33;;;;;248:10726;7400:33;;248:10726;;;;;;;;;;:::i;:::-;7400:33;:4;;:33;;;;;;;248:10726;7400:33;;;248:10726;;;;;;;;7387:12;248:10726;;7484:21;248:10726;;;;;:::i;:::-;7484:21;;:::i;:::-;248:10726;;;7457:49;;;;;;;;248:10726;7457:49;;248:10726;;;;;;:::i;:::-;7457:49;7400:4;;7457:49;;;;;;;248:10726;7457:49;;;248:10726;7519:6;;7516:128;;248:10726;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;7516:128;248:10726;;;;;;;7387:12;248:10726;;;;;;;;:::i;:::-;7608:10;;;;248:10726;;;-1:-1:-1;;;7596:37:6;;248:10726;;;;;-1:-1:-1;;;;;248:10726:6;7596:37;;;;;;248:10726;7596:37;;;7516:128;248:10726;7580:53;;7516:128;;;7596:37;;;;;;;;;;;;;;;:::i;:::-;;;248:10726;;;;;;;7596:37;;;;;;;;248:10726;;;;;;;;;7457:49;;;;;;;;;;;;;;;;;:::i;:::-;;;248:10726;;;;;7457:49;;;;;;;;;7400:33;;;;;;;;;;;;;;;;:::i;:::-;;;248:10726;;;;;;7400:33;;;;;;;248:10726;;;;;;-1:-1:-1;;248:10726:6;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;1063:62:0;;;:::i;:::-;248:10726:6;;;;;;;;;;;;;;:::i;:::-;;;10713:10;248:10726;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;1961:2242;248:10726;1961:2242;;;;;;;;:::i;:::-;248:10726;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;8618:33;248:10726;;;8626:9;8618:33;:::i;:::-;248:10726;;-1:-1:-1;;;8688:27:6;;248:10726;;;;8688:4;:27;;;;;;;248:10726;8688:27;;;248:10726;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8797:11;;:28;;;;248:10726;8797:41;;;248:10726;8797:61;;;248:10726;;;;;;8917:22;248:10726;;8917:22;:::i;:::-;248:10726;8983:24;248:10726;;8983:24;:::i;:::-;9049:29;;;;:::i;:::-;9122:31;;;:::i;:::-;248:10726;9195:13;;9210:21;;;;;;;-1:-1:-1;;248:10726:6;;;;-1:-1:-1;;248:10726:6;;;;;;;;;;;;;;;;;;;;9637:13;248:10726;;9637:13;;;;9618:271;248:10726;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;9652:3;248:10726;;;;;;;;;;;;;;;;;;9730:10;;;;;;9834:18;9779:17;;9760:36;9779:17;;9652:3;9779:17;;;:::i;:::-;;9760:36;;:::i;:::-;;;;;;:::i;:::-;;9834:18;;:::i;:::-;248:10726;9814:38;;;;:::i;:::-;248:10726;9652:3;:::i;:::-;9622:13;;;;;9727:151;9873:5;;;;;;248:10726;;;;;;;;;;;;9233:3;248:10726;;-1:-1:-1;;;9298:25:6;;248:10726;9298:25;;248:10726;;;;;;-1:-1:-1;248:10726:6;;;8688:4;9298:25;;;;;;;248:10726;;;9298:25;;;9233:3;-1:-1:-1;248:10726:6;;9341:10;;;:40;;9233:3;9340:87;;;;9233:3;9337:261;;;9429:8;;9233:3;9429:8;9233:3;:::i;:::-;9195:13;;;;;9337:261;9475:29;9576:7;9475:29;9233:3;9475:29;;;;;;:::i;:::-;;;;;;:::i;:::-;;9522:36;;;;:::i;9576:7::-;9337:261;9233:3;:::i;9340:87::-;248:10726;9396:1;248:10726;;9387:10;:39;;9340:87;9387:39;9416:10;248:10726;9416:10;;248:10726;9401:25;;9340:87;;9341:40;9371:10;248:10726;9371:10;;248:10726;9355:26;;9341:40;;9298:25;;;;;;;;248:10726;9298:25;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;248:10726;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;8797:61;248:10726;;;;8842:16;;8797:61;;;:41;8829:9;;;;-1:-1:-1;8797:41:6;;:28;;;-1:-1:-1;8797:28:6;;248:10726;;;;;;;;;;;;8688:27;;;248:10726;8688:27;;248:10726;8688:27;;;;;;248:10726;8688:27;;;:::i;:::-;;;248:10726;;;;;8688:27;;;;;;-1:-1:-1;8688:27:6;;248:10726;;;;;;-1:-1:-1;;248:10726:6;;;;1063:62:0;;:::i;:::-;248:10726:6;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;1063:62:0;;:::i;:::-;248:10726:6;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;6832:19;248:10726;-1:-1:-1;;248:10726:6;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;1063:62:0;;:::i;:::-;248:10726:6;;;-1:-1:-1;;;;;;248:10726:6;;;;-1:-1:-1;;;;;248:10726:6;2573:40:0;248:10726:6;;2573:40:0;248:10726:6;;;;;;;-1:-1:-1;;248:10726:6;;;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;6984:21;248:10726;;;;;;;;:::i;:::-;6984:21;:::i;248:10726::-;;;6978:5;248:10726;;;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;258:14:9;;;;;;248:10726:6;;;;5068:11;248:10726;;5044:35;248:10726;;;;;;5125:21;248:10726;;5195:21;;;:::i;:::-;248:10726;;-1:-1:-1;;;5234:33:6;;248:10726;;5234:33;;248:10726;;;;;;;;;;;:::i;:::-;5234:33;:4;;:33;;;;;;;248:10726;5234:33;;;244:431:9;5234:38:6;248:10726;;;;;;;;;;;;;;;;:::i;:::-;;;5311:10;248:10726;;;;;;;;;;;;5423:30;;248:10726;;5423:30;;248:10726;;:::i;:::-;5423:30;;;;248:10726;5423:30;;;248:10726;;;5521:412;248:10726;;;;5548:384;248:10726;;;;5548:384;;;248:10726;5548:384;;;248:10726;;;;;;;;:::i;:::-;;;;-1:-1:-1;;248:10726:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5234:4;248:10726;;;;5548:384;-1:-1:-1;;5548:384:6;;;;;;:::i;:::-;248:10726;;;;;;;;5521:412;;;;;;5423:30;;248:10726;:::i;:::-;;;;;;;;;;;;5548:384;;248:10726;:::i;:::-;;5521:412;;;;;;;:::i;:::-;248:10726;;5962:21;;248:10726;5962:21;;248:10726;;5962:21;;248:10726;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;;;;;5962:21;;5952:32;5988:180;248:10726;5988:180;;5521:412;;248:10726;5988:180;;;;;;;248:10726;;;;;:::i;:::-;;;;;;;;;6197:362;;248:10726;;;;;;6197:362;;248:10726;;;;6197:362;;248:10726;;;;6197:362;;248:10726;;6197:362;;248:10726;;;;;;6197:362;;248:10726;-1:-1:-1;;;;;248:10726:6;;;;6197:362;;248:10726;;;;6197:362;;248:10726;;;;6197:362;;248:10726;;;;;6197:362;;248:10726;;;;;6197:362;;248:10726;6534:15;248:10726;6197:362;;248:10726;-1:-1:-1;248:10726:6;;;6177:12;248:10726;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;:::i;:::-;;;;;;244:431:9;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6197:362;;248:10726;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;6644:95;248:10726;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6197:362;;248:10726;5068:11;248:10726;;;;6197:362;;248:10726;;;;;;6197:362;;248:10726;;;;;;6197:362;;248:10726;6177:12;248:10726;;;;6197:362;;248:10726;;;;;;6197:362;;248:10726;5311:10;248:10726;;;;-1:-1:-1;;;;;248:10726:6;;;-1:-1:-1;;;;;;248:10726:6;;;;;;;;6197:362;;248:10726;;;;;;6197:362;;248:10726;;;;;;6197:362;;248:10726;;;;;;;;;;;;;;;;;;;6197:362;;248:10726;;;;;;;;;;;;;;;6197:362;248:10726;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;6534:15;248:10726;;;;6644:95;;;248:10726;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;-1:-1:-1;248:10726:6;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;;;;;;6644:95;248:10726;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6177:12;248:10726;;;;;;;;;;;;6177:12;248:10726;;;;;;;;;;;;;;;;;;;;-1:-1:-1;248:10726:6;;;;;;;-1:-1:-1;248:10726:6;;;;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6177:12;248:10726;;;;;;;;;;;;;;;;;;6177:12;248:10726;;;;;;;;;;;;;;;;;-1:-1:-1;248:10726:6;;;;;-1:-1:-1;248:10726:6;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;5234:33;;;248:10726;5234:33;;248:10726;5234:33;;;;;;248:10726;5234:33;;;:::i;:::-;;;248:10726;;;;;5234:33;;;;;;-1:-1:-1;5234:33:6;;248:10726;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;;;;;;;;;274:5:9;-1:-1:-1;;;;;;306:11:9;;;;:::i;:::-;248:10726:6;;-1:-1:-1;;;335:8:9;;248:10726:6;;;;;;;;;;;;274:5:9;363:6;331:334;274:5;:::i;:::-;249:7;;;331:334;-1:-1:-1;;;394:8:9;;248:10726:6;;;;427:1:9;248:10726:6;;;;;;;274:5:9;422:6;390:275;274:5;:::i;390:275::-;-1:-1:-1;;;453:8:9;;248:10726:6;;;;;;;;;;;;274:5:9;481:6;449:216;274:5;:::i;449:216::-;-1:-1:-1;;;512:8:9;;248:10726:6;;;;;;;;;;;;274:5:9;540:6;508:157;274:5;:::i;508:157::-;-1:-1:-1;;;;248:10726:6;;;604:1:9;248:10726:6;;;;;;;274:5:9;599:6;567:98;274:5;:::i;567:98::-;649:1;248:10726:6;;;;;;;274:5:9;644:6;567:98;274:5;:::i;248:10726:6:-;;;;;;-1:-1:-1;;248:10726:6;;;;;;384:28;248:10726;;;;;;;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;;;;;;;;;1063:62:0;;:::i;:::-;248:10726:6;;10569:19;248:10726;;;10569:19;248:10726;;;;;;;;;;;;;;;;;;;;;;;;;;;1063:62:0;;:::i;:::-;248:10726:6;;;10896:3;10875:12;248:10726;10871:23;;;;;10931:15;248:10726;10931:15;248:10726;10931:15;10896:3;10931:15;;:::i;:::-;248:10726;;:::i;:::-;1063:62:0;;:::i;248:10726:6:-;;;10713:10;248:10726;;;;;;;;;;;;;;;10896:3;:::i;:::-;10856:13;;248:10726;;;;;;;;;;;;;;;7748:33;248:10726;7756:9;;7748:33;:::i;:::-;248:10726;;-1:-1:-1;;;7818:27:6;;:4;248:10726;;;7818:4;:27;;;;;;;248:10726;7818:27;;;248:10726;7855:17;;248:10726;7886:13;248:10726;8031:10;;;;7882:307;7901:21;;;;;;;248:10726;;;;;;;;7924:3;248:10726;;-1:-1:-1;;;7989:25:6;;248:10726;7989:25;;248:10726;;;-1:-1:-1;248:10726:6;;;7818:4;7989:25;;;;;;248:10726;;;7989:25;;;7924:3;8031:40;;;;;7924:3;8028:150;;;8073:8;;7924:3;8073:8;7924:3;:::i;:::-;7886:13;;8028:150;8112:1;8103:10;;:39;;;;8028:150;-1:-1:-1;;8100:78:6;;;7924:3;8144:8;7924:3;:::i;8100:78::-;8171:7;;7924:3;8171:7;;:::i;8103:39::-;248:10726;8132:10;248:10726;-1:-1:-1;;;8103:39:6;;;;8031:40;8061:10;248:10726;8061:10;;248:10726;8045:26;;8031:40;;7989:25;;;;;;;;248:10726;7989:25;;;;;;:::i;:::-;;;;7818:27;;;;;;;;;;;;;;;;:::i;:::-;;;248:10726;;;;;7818:27;;;;;;;;248:10726;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;7135:12;248:10726;;;;;;;:::i;:::-;;;;7135:12;248:10726;;;;;;;7201:10;248:10726;;;;;7201:10;;248:10726;;;;;;;;;;;7189:37;;;;;;;;;248:10726;7189:37;;;248:10726;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;7189:37::-;;;;;;;;;;;;;;;;;:::i;:::-;;;248:10726;;;;;;7189:37;;248:10726;7189:37;;;;;;;248:10726;;;;;;-1:-1:-1;;248:10726:6;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;;;;;:::i;:::-;;;945:41;248:10726;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;:::o;:::-;-1:-1:-1;;;;;248:10726:6;;;;;;-1:-1:-1;;248:10726:6;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;248:10726:6;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;248:10726:6;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;248:10726:6;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;10875:12;248:10726;;;;;;10875:12;-1:-1:-1;248:10726:6;;;;-1:-1:-1;248:10726:6;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;248:10726:6;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;;;;;-1:-1:-1;248:10726:6;;;;-1:-1:-1;248:10726:6;;-1:-1:-1;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1359:130:0;1273:6;248:10726:6;-1:-1:-1;;;;;248:10726:6;719:10:4;1422:23:0;248:10726:6;;1359:130:0:o;248:10726:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;248:10726:6;;;;;;;;;;;;-1:-1:-1;;;248:10726:6;;;;;;;;-1:-1:-1;;248:10726:6;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;-1:-1:-1;;;;;248:10726:6;;;;;;:::o;:::-;;;;;;;;;;;;-1:-1:-1;;;;;248:10726:6;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;248:10726:6;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;248:10726:6;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;707:374:9:-;;248:10726:6;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;901:3:9;248:10726:6;;884:15:9;;;;;921:7;;;;:::i;:::-;248:10726:6;;933:2:9;248:10726:6;;;;915:20:9;;:44;;;901:3;911:138;;;992:7;;;;;:::i;:::-;248:10726:6;;;;;;;;;;901:3:9;;248:10726:6;;-1:-1:-1;;;;;;248:10726:6;-1:-1:-1;967:39:9;;;;;:::i;:::-;;901:3;:::i;:::-;872:10;;911:138;901:3;;-1:-1:-1;;;;;;;1036:7:9;;;;:::i;:::-;248:10726:6;;-1:-1:-1;1024:19:9;;;;;:::i;915:44::-;945:7;957:2;945:7;;;;:::i;:::-;248:10726:6;;;939:20:9;;915:44;;884:15;-1:-1:-1;884:15:9;;-1:-1:-1;;707:374:9:o

Swarm Source

ipfs://810b67b0a94d320656150b86add10f0e54920ba109bb5e51d6cfa19aa4f0ff76

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.