ETH Price: $3,404.26 (+2.73%)

Contract

0x8e8ed4DB7486C70b5334c275A9dc8828a13619c3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw144756282022-03-28 16:03:541001 days ago1648483434IN
0x8e8ed4DB...8a13619c3
0 ETH0.0031606497.81640022
Set Max Mint144687892022-03-27 14:30:401002 days ago1648391440IN
0x8e8ed4DB...8a13619c3
0 ETH0.0007160627.67835211
Set Max Mint144687822022-03-27 14:29:081002 days ago1648391348IN
0x8e8ed4DB...8a13619c3
0 ETH0.000862828.10902198
Set Max Mint144551292022-03-25 11:22:131004 days ago1648207333IN
0x8e8ed4DB...8a13619c3
0 ETH0.0007669824.99722323
Mint Item No Dis...144551142022-03-25 11:19:411004 days ago1648207181IN
0x8e8ed4DB...8a13619c3
0.8 ETH0.0024749728.29581445
Mint Item No Dis...144549482022-03-25 10:41:361004 days ago1648204896IN
0x8e8ed4DB...8a13619c3
0.7 ETH0.0023807627.95047705
Withdraw144548752022-03-25 10:24:561004 days ago1648203896IN
0x8e8ed4DB...8a13619c3
0 ETH0.0009774130.24940904
Mint Item No Dis...144543392022-03-25 8:23:491005 days ago1648196629IN
0x8e8ed4DB...8a13619c3
1 ETH0.0017863831.25183534
Mint Item No Dis...144491122022-03-24 13:01:371005 days ago1648126897IN
0x8e8ed4DB...8a13619c3
0.4 ETH0.0021523637.28522095
Mint Item No Dis...144490682022-03-24 12:51:511005 days ago1648126311IN
0x8e8ed4DB...8a13619c3
0.4 ETH0.0020678434.90264396
Mint Item No Dis...144489912022-03-24 12:35:211005 days ago1648125321IN
0x8e8ed4DB...8a13619c3
0.8 ETH0.002276127.05424063
Mint Item No Dis...144487802022-03-24 11:50:281005 days ago1648122628IN
0x8e8ed4DB...8a13619c3
0.4 ETH0.002518342.48865419
Mint Item No Dis...144486172022-03-24 11:11:221005 days ago1648120282IN
0x8e8ed4DB...8a13619c3
0.8 ETH0.0022046525.91876349
Mint Item No Dis...144484692022-03-24 10:37:281005 days ago1648118248IN
0x8e8ed4DB...8a13619c3
0.4 ETH0.0014311224.20963752
Mint Item No Dis...144483572022-03-24 10:13:411005 days ago1648116821IN
0x8e8ed4DB...8a13619c3
0.4 ETH0.0015889227.31945093
Mint Item No Dis...144447632022-03-23 20:36:371006 days ago1648067797IN
0x8e8ed4DB...8a13619c3
1.2 ETH0.0038960834.94403733
Set Dao144441322022-03-23 18:21:321006 days ago1648059692IN
0x8e8ed4DB...8a13619c3
0 ETH0.0015020538.07970155
Mint Item No Dis...144425942022-03-23 12:39:591006 days ago1648039199IN
0x8e8ed4DB...8a13619c3
0.3 ETH0.0018209731.6762226
Mint Item No Dis...144423492022-03-23 11:45:531006 days ago1648035953IN
0x8e8ed4DB...8a13619c3
0.3 ETH0.001367423.51561338
Mint Item No Dis...144409442022-03-23 6:21:101007 days ago1648016470IN
0x8e8ed4DB...8a13619c3
1 ETH0.0020628423.90617943
Mint Item No Dis...144407282022-03-23 5:34:081007 days ago1648013648IN
0x8e8ed4DB...8a13619c3
0.8 ETH0.0017319420.05747291
Mint Item144406762022-03-23 5:25:391007 days ago1648013139IN
0x8e8ed4DB...8a13619c3
0.24 ETH0.0025816530.17296607
Mint Item No Dis...144378082022-03-22 18:48:341007 days ago1647974914IN
0x8e8ed4DB...8a13619c3
0.8 ETH0.0052821359.24466443
Withdraw144376492022-03-22 18:11:191007 days ago1647972679IN
0x8e8ed4DB...8a13619c3
0 ETH0.00341015105.53844342
Mint Item No Dis...144373262022-03-22 17:00:031007 days ago1647968403IN
0x8e8ed4DB...8a13619c3
0.4 ETH0.0026991145.71508873
View all transactions

Latest 12 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
144756282022-03-28 16:03:541001 days ago1648483434
0x8e8ed4DB...8a13619c3
1.5 ETH
144548752022-03-25 10:24:561004 days ago1648203896
0x8e8ed4DB...8a13619c3
9.24 ETH
144376492022-03-22 18:11:191007 days ago1647972679
0x8e8ed4DB...8a13619c3
18.26 ETH
144306502022-03-21 15:56:271008 days ago1647878187
0x8e8ed4DB...8a13619c3
0.4 ETH
144253892022-03-20 20:23:321009 days ago1647807812
0x8e8ed4DB...8a13619c3
23.442 ETH
143981632022-03-16 14:31:481013 days ago1647441108
0x8e8ed4DB...8a13619c3
11.962 ETH
143671292022-03-11 18:32:121018 days ago1647023532
0x8e8ed4DB...8a13619c3
14.636 ETH
143272742022-03-05 14:00:511024 days ago1646488851
0x8e8ed4DB...8a13619c3
6.58 ETH
142833532022-02-26 18:24:561031 days ago1645899896
0x8e8ed4DB...8a13619c3
0.12 ETH
142809922022-02-26 9:50:241031 days ago1645869024
0x8e8ed4DB...8a13619c3
4.72 ETH
142252162022-02-17 18:19:131040 days ago1645121953
0x8e8ed4DB...8a13619c3
6.38 ETH
141259692022-02-02 10:00:091055 days ago1643796009
0x8e8ed4DB...8a13619c3
2.99 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ETHDubaiTicket

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 9 : ETHDubaiTicket.sol
pragma experimental ABIEncoderV2;
pragma solidity ^0.8.10;
//SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

// GET LISTED ON OPENSEA: https://testnets.opensea.io/get-listed/step-two

contract ETHDubaiTicket {
    using Counters for Counters.Counter;
    using EnumerableSet for EnumerableSet.AddressSet;

    Counters.Counter private _tokenIds;
    address payable public owner;

    uint256[90] public ticketOptions;
    Settings public settings;
    event Log(address indexed sender, string message);
    event Lint(uint256 indexed tokenId, string message);
    event LDiscount(address indexed sender, Discount discount, string message);
    event LMint(address indexed sender, MintInfo[] mintInfo, string message);
    enum Ticket {
        CONFERENCE,
        HOTEL_CONFERENCE,
        WORKSHOP1_AND_PRE_PARTY,
        WORKSHOP2_AND_PRE_PARTY,
        WORKSHOP3_AND_PRE_PARTY,
        HOTEL_WORKSHOP_AND_PRE_PARTY,
        HOTEL_WORKSHOP1_AND_PRE_PARTY,
        HOTEL_WORKSHOP2_AND_PRE_PARTY,
        HOTEL_WORKSHOP3_AND_PRE_PARTY,
        HOTEL2_WORKSHOP1_AND_PRE_PARTY,
        HOTEL2_WORKSHOP2_AND_PRE_PARTY,
        HOTEL2_WORKSHOP3_AND_PRE_PARTY,
        HOTEL2_CONFERENCE,
        WORKSHOP4_AND_PRE_PARTY,
        HOTEL_WORKSHOP4_AND_PRE_PARTY,
        HOTEL2_WORKSHOP4_AND_PRE_PARTY,
        HACKATHON_AND_CONFERENCE_ONLY,
        HOTEL_HACKATHON_AND_CONFERENCE_ONLY,
        HOTEL2_HACKATHON_AND_CONFERENCE_ONLY,
        HACKATHON_AND_PRE_PARTY,
        HOTEL_HACKATHON_AND_PRE_PARTY,
        HOTEL2_HACKATHON_AND_PRE_PARTY,
        WORKSHOP5_AND_PRE_PARTY,
        HOTEL_WORKSHOP5_AND_PRE_PARTY,
        HOTEL2_WORKSHOP5_AND_PRE_PARTY,
        WORKSHOP6_AND_PRE_PARTY,
        HOTEL_WORKSHOP6_AND_PRE_PARTY,
        HOTEL2_WORKSHOP6_AND_PRE_PARTY,
        WORKSHOP7_AND_PRE_PARTY,
        HOTEL_WORKSHOP7_AND_PRE_PARTY,
        HOTEL2_WORKSHOP7_AND_PRE_PARTY,
        WORKSHOP8_AND_PRE_PARTY,
        HOTEL_WORKSHOP8_AND_PRE_PARTY,
        HOTEL2_WORKSHOP8_AND_PRE_PARTY,
        WORKSHOP9_AND_PRE_PARTY,
        HOTEL_WORKSHOP9_AND_PRE_PARTY,
        HOTEL2_WORKSHOP9_AND_PRE_PARTY,
        WORKSHOP10_AND_PRE_PARTY,
        HOTEL_WORKSHOP10_AND_PRE_PARTY,
        HOTEL2_WORKSHOP10_AND_PRE_PARTY,
        WORKSHOP11_AND_PRE_PARTY,
        HOTEL_WORKSHOP11_AND_PRE_PARTY,
        HOTEL2_WORKSHOP11_AND_PRE_PARTY,
        WORKSHOP12_AND_PRE_PARTY,
        HOTEL_WORKSHOP12_AND_PRE_PARTY,
        HOTEL2_WORKSHOP12_AND_PRE_PARTY
    }
    EnumerableSet.AddressSet private daosAddresses;
    mapping(address => uint256) public daosQty;
    mapping(address => Counters.Counter) public daosUsed;
    mapping(address => uint256) public daosMinBalance;
    mapping(address => uint256) public daosDiscount;
    mapping(address => uint256) public daosMinTotal;
    mapping(address => Discount) public discounts;

    event LTicketSettings(
        TicketSettings indexed ticketSettings,
        string message
    );

    constructor() {
        emit Log(msg.sender, "created");
        owner = payable(msg.sender);
        settings.maxMint = 700;

        settings.ticketSettings = TicketSettings("early");

        ticketOptions[uint256(Ticket.CONFERENCE)] = 0.07 ether;
        ticketOptions[uint256(Ticket.HOTEL_CONFERENCE)] = 0.17 ether;
        ticketOptions[uint256(Ticket.WORKSHOP1_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[uint256(Ticket.WORKSHOP2_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[uint256(Ticket.WORKSHOP3_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[uint256(Ticket.HOTEL_WORKSHOP_AND_PRE_PARTY)] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP1_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP2_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP3_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP1_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP2_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP3_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[uint256(Ticket.HOTEL2_CONFERENCE)] = 0.3 ether;
        ticketOptions[uint256(Ticket.WORKSHOP4_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP4_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP4_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[
            uint256(Ticket.HACKATHON_AND_CONFERENCE_ONLY)
        ] = 0.10 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_HACKATHON_AND_CONFERENCE_ONLY)
        ] = 0.3 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_HACKATHON_AND_CONFERENCE_ONLY)
        ] = 0.4 ether;
        ticketOptions[uint256(Ticket.HACKATHON_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_HACKATHON_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_HACKATHON_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[uint256(Ticket.WORKSHOP5_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP5_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP5_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[uint256(Ticket.WORKSHOP6_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP6_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP6_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[uint256(Ticket.WORKSHOP7_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP7_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP7_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[uint256(Ticket.WORKSHOP8_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP8_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP8_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[uint256(Ticket.WORKSHOP9_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP9_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP9_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[uint256(Ticket.WORKSHOP10_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP10_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP10_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[uint256(Ticket.WORKSHOP11_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP11_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP11_AND_PRE_PARTY)
        ] = 0.5 ether;
        ticketOptions[uint256(Ticket.WORKSHOP12_AND_PRE_PARTY)] = 0.12 ether;
        ticketOptions[
            uint256(Ticket.HOTEL_WORKSHOP12_AND_PRE_PARTY)
        ] = 0.4 ether;
        ticketOptions[
            uint256(Ticket.HOTEL2_WORKSHOP12_AND_PRE_PARTY)
        ] = 0.5 ether;
    }

    struct Discount {
        uint256[] ticketOptions;
        uint256 amount;
    }

    struct TicketSettings {
        string name;
    }
    struct MintInfo {
        string ticketCode;
        uint256 ticketOption;
        string specialStatus;
    }
    struct Settings {
        TicketSettings ticketSettings;
        uint256 maxMint;
    }

    function setDiscount(
        address buyer,
        uint256[] memory newDiscounts,
        uint256 amount
    ) public returns (bool) {
        require(msg.sender == owner, "only owner");

        Discount memory d = Discount(newDiscounts, amount);
        emit LDiscount(buyer, d, "set discount buyer");
        discounts[buyer] = d;
        return true;
    }

    function setMaxMint(uint256 max) public returns (uint256) {
        require(msg.sender == owner, "only owner");
        settings.maxMint = max;
        emit Lint(max, "setMaxMint");
        return max;
    }

    function setTicketOptions(uint256 ticketOptionId, uint256 amount)
        public
        returns (bool)
    {
        require(msg.sender == owner, "only owner");
        ticketOptions[ticketOptionId] = amount;
        return true;
    }

    function setDao(
        address dao,
        uint256 qty,
        uint256 discount,
        uint256 minBalance,
        uint256 minTotal
    ) public returns (bool) {
        require(msg.sender == owner, "only owner");
        require(Address.isContract(dao), "nc");
        if (!daosAddresses.contains(dao)) {
            daosAddresses.add(dao);
        }
        daosQty[dao] = qty;
        daosMinBalance[dao] = minBalance;
        daosDiscount[dao] = discount;
        daosMinTotal[dao] = minTotal;
        return true;
    }

    function setTicketSettings(string memory name) public returns (bool) {
        require(msg.sender == owner, "only owner");
        settings.ticketSettings.name = name;
        emit LTicketSettings(settings.ticketSettings, "setTicketSettings");
        return true;
    }

    function cmpStr(string memory idopt, string memory opt)
        internal
        pure
        returns (bool)
    {
        return (keccak256(abi.encodePacked((idopt))) ==
            keccak256(abi.encodePacked((opt))));
    }

    function getDiscount(address sender, uint256 ticketOption)
        public
        view
        returns (uint256[2] memory)
    {
        Discount memory discount = discounts[sender];
        uint256 amount = discounts[sender].amount;
        uint256 total = 0;
        bool hasDiscount = false;
        total = total + ticketOptions[ticketOption];

        if (amount > 0) {
            for (uint256 j = 0; j < discount.ticketOptions.length; j++) {
                if (discount.ticketOptions[j] == ticketOption) {
                    hasDiscount = true;
                }
            }
            if (!hasDiscount) {
                amount = 0;
            }
        }
        return [amount, total];
    }

    function getDaoDiscountView(uint256 amount)
        internal
        view
        returns (uint256[2] memory)
    {
        uint256 minTotal = 0;
        if (amount == 0) {
            uint256 b = 0;

            for (uint256 j = 0; j < daosAddresses.length(); j++) {
                address dao = daosAddresses.at(j);
                if (daosDiscount[dao] > 0) {
                    ERC20 token = ERC20(dao);
                    b = token.balanceOf(msg.sender);
                    if (
                        b > daosMinBalance[dao] &&
                        daosUsed[dao].current() < daosQty[dao] &&
                        amount == 0
                    ) {
                        amount = daosDiscount[dao];
                        minTotal = daosMinTotal[dao];
                    }
                }
            }
        }
        return [amount, minTotal];
    }

    function getDaoDiscount(uint256 amount)
        internal
        returns (uint256[2] memory)
    {
        uint256 minTotal = 0;
        if (amount == 0) {
            uint256 b = 0;

            for (uint256 j = 0; j < daosAddresses.length(); j++) {
                address dao = daosAddresses.at(j);
                if (daosDiscount[dao] > 0) {
                    ERC20 token = ERC20(dao);
                    b = token.balanceOf(msg.sender);
                    if (
                        b > daosMinBalance[dao] &&
                        daosUsed[dao].current() < daosQty[dao] &&
                        amount == 0
                    ) {
                        amount = daosDiscount[dao];
                        daosUsed[dao].increment();
                        minTotal = daosMinTotal[dao];
                    }
                }
            }
        }
        return [amount, minTotal];
    }

    function getPrice(address sender, uint256 ticketOption)
        public
        returns (uint256)
    {
        uint256[2] memory amountAndTotal = getDiscount(sender, ticketOption);
        uint256 total = amountAndTotal[1];
        uint256[2] memory amountAndMinTotal = getDaoDiscount(amountAndTotal[0]);
        require(total > 0, "total = 0");
        if (amountAndMinTotal[0] > 0 && total >= amountAndMinTotal[1]) {
            total = total - ((total * amountAndMinTotal[0]) / 100);
        }

        return total;
    }

    function getPriceView(address sender, uint256 ticketOption)
        public
        view
        returns (uint256)
    {
        uint256[2] memory amountAndTotal = getDiscount(sender, ticketOption);
        uint256 total = amountAndTotal[1];
        uint256[2] memory amountAndMinTotal = getDaoDiscountView(
            amountAndTotal[0]
        );
        require(total > 0, "total = 0");
        if (amountAndMinTotal[0] > 0 && total >= amountAndMinTotal[1]) {
            total = total - ((total * amountAndMinTotal[0]) / 100);
        }

        return total;
    }

    function totalPrice(MintInfo[] memory mIs) public view returns (uint256) {
        uint256 t = 0;
        for (uint256 i = 0; i < mIs.length; i++) {
            t += getPriceView(msg.sender, mIs[i].ticketOption);
        }
        return t;
    }

    function totalPriceInternal(MintInfo[] memory mIs)
        internal
        returns (uint256)
    {
        uint256 t = 0;
        for (uint256 i = 0; i < mIs.length; i++) {
            t += getPrice(msg.sender, mIs[i].ticketOption);
        }
        return t;
    }

    function mintItem(MintInfo[] memory mintInfos)
        public
        payable
        returns (string memory)
    {
        require(
            _tokenIds.current() + mintInfos.length <= settings.maxMint,
            "sold out"
        );
        uint256 total = 0;

        string memory ids = "";
        for (uint256 i = 0; i < mintInfos.length; i++) {
            require(
                keccak256(abi.encodePacked(mintInfos[i].specialStatus)) ==
                    keccak256(abi.encodePacked("")) ||
                    msg.sender == owner,
                "only owner"
            );
            total += getPrice(msg.sender, mintInfos[i].ticketOption);
            _tokenIds.increment();
        }

        require(msg.value >= total, "price too low");
        //emit LMint(msg.sender, mintInfos, "minted");
        return ids;
    }

    function mintItemNoDiscount(MintInfo[] memory mintInfos)
        public
        payable
        returns (string memory)
    {
        require(
            _tokenIds.current() + mintInfos.length <= settings.maxMint,
            "sold out"
        );
        uint256 total = 0;

        string memory ids = "";
        for (uint256 i = 0; i < mintInfos.length; i++) {
            require(
                keccak256(abi.encodePacked(mintInfos[i].specialStatus)) ==
                    keccak256(abi.encodePacked("")) ||
                    msg.sender == owner,
                "only owner"
            );
            total += ticketOptions[mintInfos[i].ticketOption];
            _tokenIds.increment();
        }

        require(msg.value >= total, "price too low");
        //emit LMint(msg.sender, mintInfos, "minted");
        return ids;
    }

    function withdraw() public {
        uint256 amount = address(this).balance;

        (bool ok, ) = owner.call{value: amount}("");
        require(ok, "Failed");
        emit Lint(amount, "withdraw");
    }
}

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

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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

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

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 3 of 9 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

File 4 of 9 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 5 of 9 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 8 of 9 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 9 of 9 : Unlimited.sol
pragma solidity ^0.8.10;

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

contract Unlimited is ERC20 {
    constructor() ERC20("ETHDubaiDiscount", "EDD") {
        mintTokens();
    }

    function mintTokens() public {
        _mint(msg.sender, 100000000000000000000000);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"uint256[]","name":"ticketOptions","type":"uint256[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"indexed":false,"internalType":"struct ETHDubaiTicket.Discount","name":"discount","type":"tuple"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"LDiscount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"string","name":"ticketCode","type":"string"},{"internalType":"uint256","name":"ticketOption","type":"uint256"},{"internalType":"string","name":"specialStatus","type":"string"}],"indexed":false,"internalType":"struct ETHDubaiTicket.MintInfo[]","name":"mintInfo","type":"tuple[]"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"LMint","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"}],"indexed":true,"internalType":"struct ETHDubaiTicket.TicketSettings","name":"ticketSettings","type":"tuple"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"LTicketSettings","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"Lint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"Log","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"daosDiscount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"daosMinBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"daosMinTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"daosQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"daosUsed","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"discounts","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"ticketOption","type":"uint256"}],"name":"getDiscount","outputs":[{"internalType":"uint256[2]","name":"","type":"uint256[2]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"ticketOption","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"ticketOption","type":"uint256"}],"name":"getPriceView","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"ticketCode","type":"string"},{"internalType":"uint256","name":"ticketOption","type":"uint256"},{"internalType":"string","name":"specialStatus","type":"string"}],"internalType":"struct ETHDubaiTicket.MintInfo[]","name":"mintInfos","type":"tuple[]"}],"name":"mintItem","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"ticketCode","type":"string"},{"internalType":"uint256","name":"ticketOption","type":"uint256"},{"internalType":"string","name":"specialStatus","type":"string"}],"internalType":"struct ETHDubaiTicket.MintInfo[]","name":"mintInfos","type":"tuple[]"}],"name":"mintItemNoDiscount","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dao","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"discount","type":"uint256"},{"internalType":"uint256","name":"minBalance","type":"uint256"},{"internalType":"uint256","name":"minTotal","type":"uint256"}],"name":"setDao","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256[]","name":"newDiscounts","type":"uint256[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setDiscount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ticketOptionId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setTicketOptions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"setTicketSettings","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"settings","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"}],"internalType":"struct ETHDubaiTicket.TicketSettings","name":"ticketSettings","type":"tuple"},{"internalType":"uint256","name":"maxMint","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ticketOptions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"ticketCode","type":"string"},{"internalType":"uint256","name":"ticketOption","type":"uint256"},{"internalType":"string","name":"specialStatus","type":"string"}],"internalType":"struct ETHDubaiTicket.MintInfo[]","name":"mIs","type":"tuple[]"}],"name":"totalPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50336001600160a01b03167f0738f4da267a110d810e6e89fc59e46be6de0c37b1d5cd559b267dc3688e74e0604051620000669060208082526007908201526618dc99585d195960ca1b604082015260600190565b60405180910390a2600180546001600160a01b031916331790556102bc605d5560408051606081018252600560208201818152646561726c7960d81b93830193845282529091605c91620000bc918391620001de565b505066f8b0a10e4700006002555067025bf6196bd100006003556701aa535d3d0c000060048190556005819055600681905567058d15e176280000600781905560088190556009819055600a8190556706f05b59d3b20000600b819055600c819055600d819055670429d069189e0000600e819055600f8490556010839055601182905567016345785d8a0000601255601355601482905560158390556016829055601781905560188390556019829055601a819055601b839055601c829055601d819055601e839055601f8290556020819055602183905560228290556023819055602483905560258290556026819055602783905560288290556029819055602a839055602b829055602c819055602d92909255602e55602f55620002c1565b828054620001ec9062000284565b90600052602060002090601f0160209004810192826200021057600085556200025b565b82601f106200022b57805160ff19168380011785556200025b565b828001600101855582156200025b579182015b828111156200025b5782518255916020019190600101906200023e565b50620002699291506200026d565b5090565b5b808211156200026957600081556001016200026e565b600181811c908216806200029957607f821691505b60208210811415620002bb57634e487b7160e01b600052602260045260246000fd5b50919050565b611a5180620002d16000396000f3fe60806040526004361061012a5760003560e01c8063512d25fd116100ab578063a50ba5361161006f578063a50ba53614610385578063ad5d6cdd14610398578063af58ac75146103c5578063bdad158a146103e5578063e06174e414610412578063ed8914951461043557600080fd5b8063512d25fd146102c0578063547520fe146102e05780637c5f4d8a146103005780638da5cb5b146103205780638fa6b44d1461035857600080fd5b806327c59dba116100f257806327c59dba146102195780633ccfd60b14610249578063449e815d1461026057806349f7af91146102805780635061e73c146102a057600080fd5b806302fed17d1461012f578063060bb2131461016f5780630fff44741461019c57806312d8a17d146101cc57806313f9eff2146101f9575b600080fd5b34801561013b57600080fd5b5061015c61014a36600461131f565b60646020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561017b57600080fd5b5061015c61018a36600461131f565b60636020526000908152604090205481565b3480156101a857600080fd5b5061015c6101b736600461131f565b60656020526000908152604090206001015481565b3480156101d857600080fd5b5061015c6101e736600461131f565b60616020526000908152604090205481565b34801561020557600080fd5b5061015c61021436600461133a565b610455565b34801561022557600080fd5b506102396102343660046113f8565b610506565b6040519015158152602001610166565b34801561025557600080fd5b5061025e6105ce565b005b34801561026c57600080fd5b5061015c61027b36600461133a565b6106b5565b61029361028e366004611519565b6106d9565b604051610166919061168b565b3480156102ac57600080fd5b506102396102bb36600461169e565b610871565b3480156102cc57600080fd5b506102396102db3660046116e0565b610930565b3480156102ec57600080fd5b5061015c6102fb36600461171d565b6109eb565b34801561030c57600080fd5b5061023961031b366004611736565b610a78565b34801561032c57600080fd5b50600154610340906001600160a01b031681565b6040516001600160a01b039091168152602001610166565b34801561036457600080fd5b5061015c61037336600461131f565b60606020526000908152604090205481565b610293610393366004611519565b610ac4565b3480156103a457600080fd5b506103b86103b336600461133a565b610c1f565b6040516101669190611758565b3480156103d157600080fd5b5061015c6103e0366004611519565b610d59565b3480156103f157600080fd5b5061015c61040036600461131f565b60626020526000908152604090205481565b34801561041e57600080fd5b50610427610db3565b604051610166929190611789565b34801561044157600080fd5b5061015c61045036600461171d565b610e60565b6000806104628484610c1f565b602081015181519192509060009061047990610e77565b9050600082116104bc5760405162461bcd60e51b81526020600482015260096024820152680746f74616c203d20360bc1b60448201526064015b60405180910390fd5b8051158015906104d0575060208101518210155b156104fb5780516064906104e490846117e1565b6104ee9190611800565b6104f89083611822565b91505b509150505b92915050565b6001546000906001600160a01b031633146105335760405162461bcd60e51b81526004016104b390611839565b6040805180820182528481526020810184905290516001600160a01b038616907fef3b70e6484694f4cc28b7f0fa00005d06842a4ee1bfb26f233609fa4fbb3f389061058090849061185d565b60405180910390a26001600160a01b03851660009081526065602090815260409091208251805184936105b7928492910190611212565b506020919091015160019182015595945050505050565b60015460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461061f576040519150601f19603f3d011682016040523d82523d6000602084013e610624565b606091505b505090508061065e5760405162461bcd60e51b815260206004820152600660248201526511985a5b195960d21b60448201526064016104b3565b817f8357d8ab35f23e88ce565d8adf95e902661648acccc23d68dafcbdd1eca6764c6040516106a990602080825260089082015267776974686472617760c01b604082015260600190565b60405180910390a25050565b6000806106c28484610c1f565b602081015181519192509060009061047990610fe7565b6060605c6001015482516106ec60005490565b6106f691906118de565b111561072f5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016104b3565b6040805160208101909152600080825290815b845181101561082957604080516000815260208101918290525190208551869083908110610772576107726117b5565b60200260200101516040015160405160200161078e91906118f6565b6040516020818303038152906040528051906020012014806107ba57506001546001600160a01b031633145b6107d65760405162461bcd60e51b81526004016104b390611839565b6107fd338683815181106107ec576107ec6117b5565b6020026020010151602001516106b5565b61080790846118de565b9250610817600080546001019055565b8061082181611912565b915050610742565b508134101561086a5760405162461bcd60e51b815260206004820152600d60248201526c707269636520746f6f206c6f7760981b60448201526064016104b3565b9392505050565b6001546000906001600160a01b0316331461089e5760405162461bcd60e51b81526004016104b390611839565b853b6108d15760405162461bcd60e51b81526020600482015260026024820152616e6360f01b60448201526064016104b3565b6108dc605e8761114c565b6108ed576108eb605e8761116e565b505b506001600160a01b039490941660009081526060602090815260408083209590955560628152848220929092556063825283812092909255606490522055600190565b6001546000906001600160a01b0316331461095d5760405162461bcd60e51b81526004016104b390611839565b815161097090605c90602085019061125d565b5060405161098090605c90611968565b60405180910390207f91adaaa32f8e275893e2f8dc786e170fdb9de662a8caaaf89974339ba9a777d56040516109db906020808252601190820152707365745469636b657453657474696e677360781b604082015260600190565b60405180910390a2506001919050565b6001546000906001600160a01b03163314610a185760405162461bcd60e51b81526004016104b390611839565b605d82905560405182907f8357d8ab35f23e88ce565d8adf95e902661648acccc23d68dafcbdd1eca6764c90610a6c906020808252600a90820152691cd95d13585e135a5b9d60b21b604082015260600190565b60405180910390a25090565b6001546000906001600160a01b03163314610aa55760405162461bcd60e51b81526004016104b390611839565b81600284605a8110610ab957610ab96117b5565b015550600192915050565b6060605c600101548251610ad760005490565b610ae191906118de565b1115610b1a5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016104b3565b6040805160208101909152600080825290815b845181101561082957604080516000815260208101918290525190208551869083908110610b5d57610b5d6117b5565b602002602001015160400151604051602001610b7991906118f6565b604051602081830303815290604052805190602001201480610ba557506001546001600160a01b031633145b610bc15760405162461bcd60e51b81526004016104b390611839565b6002858281518110610bd557610bd56117b5565b602002602001015160200151605a8110610bf157610bf16117b5565b0154610bfd90846118de565b9250610c0d600080546001019055565b80610c1781611912565b915050610b2d565b610c276112d0565b6001600160a01b0383166000908152606560209081526040808320815181546060948102820185018452928101838152909391928492849190840182828015610c8f57602002820191906000526020600020905b815481526020019060010190808311610c7b575b50505091835250506001918201546020918201526001600160a01b03871660009081526065909152604081209091015491925080600286605a8110610cd657610cd66117b5565b0154610ce290836118de565b91508215610d3e5760005b845151811015610d33578685600001518281518110610d0e57610d0e6117b5565b60200260200101511415610d2157600191505b80610d2b81611912565b915050610ced565b5080610d3e57600092505b50604080518082019091529182526020820152949350505050565b600080805b8351811015610dac57610d8e33858381518110610d7d57610d7d6117b5565b602002602001015160200151610455565b610d9890836118de565b915080610da481611912565b915050610d5e565b5092915050565b605c80600001604051806020016040529081600082018054610dd49061192d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e009061192d565b8015610e4d5780601f10610e2257610100808354040283529160200191610e4d565b820191906000526020600020905b815481529060010190602001808311610e3057829003601f168201915b5050509190925250505060019091015482565b600281605a8110610e7057600080fd5b0154905081565b610e7f6112d0565b600082610fd1576000805b610e94605e611183565b811015610fce576000610ea8605e8361118d565b6001600160a01b03811660009081526063602052604090205490915015610fbb576040516370a0823160e01b815233600482015281906001600160a01b038216906370a0823190602401602060405180830381865afa158015610f0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f339190611a02565b6001600160a01b03831660009081526062602052604090205490945084118015610f7f57506001600160a01b038216600090815260606020908152604080832054606190925290912054105b8015610f89575086155b15610fb9576001600160a01b03821660009081526063602090815260408083205460649092529091205490975094505b505b5080610fc681611912565b915050610e8a565b50505b6040805180820190915292835260208301525090565b610fef6112d0565b600082610fd1576000805b611004605e611183565b811015610fce576000611018605e8361118d565b6001600160a01b03811660009081526063602052604090205490915015611139576040516370a0823160e01b815233600482015281906001600160a01b038216906370a0823190602401602060405180830381865afa15801561107f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a39190611a02565b6001600160a01b038316600090815260626020526040902054909450841180156110ef57506001600160a01b038216600090815260606020908152604080832054606190925290912054105b80156110f9575086155b15611137576001600160a01b038216600090815260636020908152604080832054606183528184208054600101905560649092529091205490975094505b505b508061114481611912565b915050610ffa565b6001600160a01b0381166000908152600183016020526040812054151561086a565b600061086a836001600160a01b038416611199565b6000610500825490565b600061086a83836111e8565b60008181526001830160205260408120546111e057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610500565b506000610500565b60008260000182815481106111ff576111ff6117b5565b9060005260206000200154905092915050565b82805482825590600052602060002090810192821561124d579160200282015b8281111561124d578251825591602001919060010190611232565b506112599291506112ee565b5090565b8280546112699061192d565b90600052602060002090601f01602090048101928261128b576000855561124d565b82601f106112a457805160ff191683800117855561124d565b8280016001018555821561124d579182018281111561124d578251825591602001919060010190611232565b60405180604001604052806002906020820280368337509192915050565b5b8082111561125957600081556001016112ef565b80356001600160a01b038116811461131a57600080fd5b919050565b60006020828403121561133157600080fd5b61086a82611303565b6000806040838503121561134d57600080fd5b61135683611303565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b6040516060810167ffffffffffffffff8111828210171561139d5761139d611364565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156113cc576113cc611364565b604052919050565b600067ffffffffffffffff8211156113ee576113ee611364565b5060051b60200190565b60008060006060848603121561140d57600080fd5b61141684611303565b925060208085013567ffffffffffffffff81111561143357600080fd5b8501601f8101871361144457600080fd5b8035611457611452826113d4565b6113a3565b81815260059190911b8201830190838101908983111561147657600080fd5b928401925b828410156114945783358252928401929084019061147b565b96999698505050506040949094013593505050565b600082601f8301126114ba57600080fd5b813567ffffffffffffffff8111156114d4576114d4611364565b6114e7601f8201601f19166020016113a3565b8181528460208386010111156114fc57600080fd5b816020850160208301376000918101602001919091529392505050565b6000602080838503121561152c57600080fd5b823567ffffffffffffffff8082111561154457600080fd5b818501915085601f83011261155857600080fd5b8135611566611452826113d4565b81815260059190911b8301840190848101908883111561158557600080fd5b8585015b83811015611622578035858111156115a15760008081fd5b86016060818c03601f19018113156115b95760008081fd5b6115c161137a565b89830135888111156115d35760008081fd5b6115e18e8c838701016114a9565b8252506040838101358b8301529183013591888311156116015760008081fd5b61160f8e8c858701016114a9565b9082015285525050918601918601611589565b5098975050505050505050565b60005b8381101561164a578181015183820152602001611632565b83811115611659576000848401525b50505050565b6000815180845261167781602086016020860161162f565b601f01601f19169290920160200192915050565b60208152600061086a602083018461165f565b600080600080600060a086880312156116b657600080fd5b6116bf86611303565b97602087013597506040870135966060810135965060800135945092505050565b6000602082840312156116f257600080fd5b813567ffffffffffffffff81111561170957600080fd5b611715848285016114a9565b949350505050565b60006020828403121561172f57600080fd5b5035919050565b6000806040838503121561174957600080fd5b50508035926020909101359150565b60408101818360005b6002811015611780578151835260209283019290910190600101611761565b50505092915050565b6040815260008351602060408401526117a5606084018261165f565b9150508260208301529392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156117fb576117fb6117cb565b500290565b60008261181d57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611834576118346117cb565b500390565b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b60408152600060808201835160408085015281815180845260a08601915060209350838301925060005b818110156118a357835183529284019291840191600101611887565b5050948201516060850152508284039281019290925250601282527139b2ba103234b9b1b7bab73a10313abcb2b960711b9082015260400190565b600082198211156118f1576118f16117cb565b500190565b6000825161190881846020870161162f565b9190910192915050565b6000600019821415611926576119266117cb565b5060010190565b600181811c9082168061194157607f821691505b6020821081141561196257634e487b7160e01b600052602260045260246000fd5b50919050565b600080835481600182811c91508083168061198457607f831692505b60208084108214156119a457634e487b7160e01b86526022600452602486fd5b8180156119b857600181146119c9576119f4565b60ff198616895281890196506119f4565b60008a81526020902060005b868110156119ee5781548b8201529085019083016119d5565b8a019750505b509498975050505050505050565b600060208284031215611a1457600080fd5b505191905056fea2646970667358221220cfc387f0f237dff8b37b1678aaacdbe2afa23d918155e3bd0e6044dac0f6ac3964736f6c634300080a0033

Deployed Bytecode

0x60806040526004361061012a5760003560e01c8063512d25fd116100ab578063a50ba5361161006f578063a50ba53614610385578063ad5d6cdd14610398578063af58ac75146103c5578063bdad158a146103e5578063e06174e414610412578063ed8914951461043557600080fd5b8063512d25fd146102c0578063547520fe146102e05780637c5f4d8a146103005780638da5cb5b146103205780638fa6b44d1461035857600080fd5b806327c59dba116100f257806327c59dba146102195780633ccfd60b14610249578063449e815d1461026057806349f7af91146102805780635061e73c146102a057600080fd5b806302fed17d1461012f578063060bb2131461016f5780630fff44741461019c57806312d8a17d146101cc57806313f9eff2146101f9575b600080fd5b34801561013b57600080fd5b5061015c61014a36600461131f565b60646020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561017b57600080fd5b5061015c61018a36600461131f565b60636020526000908152604090205481565b3480156101a857600080fd5b5061015c6101b736600461131f565b60656020526000908152604090206001015481565b3480156101d857600080fd5b5061015c6101e736600461131f565b60616020526000908152604090205481565b34801561020557600080fd5b5061015c61021436600461133a565b610455565b34801561022557600080fd5b506102396102343660046113f8565b610506565b6040519015158152602001610166565b34801561025557600080fd5b5061025e6105ce565b005b34801561026c57600080fd5b5061015c61027b36600461133a565b6106b5565b61029361028e366004611519565b6106d9565b604051610166919061168b565b3480156102ac57600080fd5b506102396102bb36600461169e565b610871565b3480156102cc57600080fd5b506102396102db3660046116e0565b610930565b3480156102ec57600080fd5b5061015c6102fb36600461171d565b6109eb565b34801561030c57600080fd5b5061023961031b366004611736565b610a78565b34801561032c57600080fd5b50600154610340906001600160a01b031681565b6040516001600160a01b039091168152602001610166565b34801561036457600080fd5b5061015c61037336600461131f565b60606020526000908152604090205481565b610293610393366004611519565b610ac4565b3480156103a457600080fd5b506103b86103b336600461133a565b610c1f565b6040516101669190611758565b3480156103d157600080fd5b5061015c6103e0366004611519565b610d59565b3480156103f157600080fd5b5061015c61040036600461131f565b60626020526000908152604090205481565b34801561041e57600080fd5b50610427610db3565b604051610166929190611789565b34801561044157600080fd5b5061015c61045036600461171d565b610e60565b6000806104628484610c1f565b602081015181519192509060009061047990610e77565b9050600082116104bc5760405162461bcd60e51b81526020600482015260096024820152680746f74616c203d20360bc1b60448201526064015b60405180910390fd5b8051158015906104d0575060208101518210155b156104fb5780516064906104e490846117e1565b6104ee9190611800565b6104f89083611822565b91505b509150505b92915050565b6001546000906001600160a01b031633146105335760405162461bcd60e51b81526004016104b390611839565b6040805180820182528481526020810184905290516001600160a01b038616907fef3b70e6484694f4cc28b7f0fa00005d06842a4ee1bfb26f233609fa4fbb3f389061058090849061185d565b60405180910390a26001600160a01b03851660009081526065602090815260409091208251805184936105b7928492910190611212565b506020919091015160019182015595945050505050565b60015460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461061f576040519150601f19603f3d011682016040523d82523d6000602084013e610624565b606091505b505090508061065e5760405162461bcd60e51b815260206004820152600660248201526511985a5b195960d21b60448201526064016104b3565b817f8357d8ab35f23e88ce565d8adf95e902661648acccc23d68dafcbdd1eca6764c6040516106a990602080825260089082015267776974686472617760c01b604082015260600190565b60405180910390a25050565b6000806106c28484610c1f565b602081015181519192509060009061047990610fe7565b6060605c6001015482516106ec60005490565b6106f691906118de565b111561072f5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016104b3565b6040805160208101909152600080825290815b845181101561082957604080516000815260208101918290525190208551869083908110610772576107726117b5565b60200260200101516040015160405160200161078e91906118f6565b6040516020818303038152906040528051906020012014806107ba57506001546001600160a01b031633145b6107d65760405162461bcd60e51b81526004016104b390611839565b6107fd338683815181106107ec576107ec6117b5565b6020026020010151602001516106b5565b61080790846118de565b9250610817600080546001019055565b8061082181611912565b915050610742565b508134101561086a5760405162461bcd60e51b815260206004820152600d60248201526c707269636520746f6f206c6f7760981b60448201526064016104b3565b9392505050565b6001546000906001600160a01b0316331461089e5760405162461bcd60e51b81526004016104b390611839565b853b6108d15760405162461bcd60e51b81526020600482015260026024820152616e6360f01b60448201526064016104b3565b6108dc605e8761114c565b6108ed576108eb605e8761116e565b505b506001600160a01b039490941660009081526060602090815260408083209590955560628152848220929092556063825283812092909255606490522055600190565b6001546000906001600160a01b0316331461095d5760405162461bcd60e51b81526004016104b390611839565b815161097090605c90602085019061125d565b5060405161098090605c90611968565b60405180910390207f91adaaa32f8e275893e2f8dc786e170fdb9de662a8caaaf89974339ba9a777d56040516109db906020808252601190820152707365745469636b657453657474696e677360781b604082015260600190565b60405180910390a2506001919050565b6001546000906001600160a01b03163314610a185760405162461bcd60e51b81526004016104b390611839565b605d82905560405182907f8357d8ab35f23e88ce565d8adf95e902661648acccc23d68dafcbdd1eca6764c90610a6c906020808252600a90820152691cd95d13585e135a5b9d60b21b604082015260600190565b60405180910390a25090565b6001546000906001600160a01b03163314610aa55760405162461bcd60e51b81526004016104b390611839565b81600284605a8110610ab957610ab96117b5565b015550600192915050565b6060605c600101548251610ad760005490565b610ae191906118de565b1115610b1a5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016104b3565b6040805160208101909152600080825290815b845181101561082957604080516000815260208101918290525190208551869083908110610b5d57610b5d6117b5565b602002602001015160400151604051602001610b7991906118f6565b604051602081830303815290604052805190602001201480610ba557506001546001600160a01b031633145b610bc15760405162461bcd60e51b81526004016104b390611839565b6002858281518110610bd557610bd56117b5565b602002602001015160200151605a8110610bf157610bf16117b5565b0154610bfd90846118de565b9250610c0d600080546001019055565b80610c1781611912565b915050610b2d565b610c276112d0565b6001600160a01b0383166000908152606560209081526040808320815181546060948102820185018452928101838152909391928492849190840182828015610c8f57602002820191906000526020600020905b815481526020019060010190808311610c7b575b50505091835250506001918201546020918201526001600160a01b03871660009081526065909152604081209091015491925080600286605a8110610cd657610cd66117b5565b0154610ce290836118de565b91508215610d3e5760005b845151811015610d33578685600001518281518110610d0e57610d0e6117b5565b60200260200101511415610d2157600191505b80610d2b81611912565b915050610ced565b5080610d3e57600092505b50604080518082019091529182526020820152949350505050565b600080805b8351811015610dac57610d8e33858381518110610d7d57610d7d6117b5565b602002602001015160200151610455565b610d9890836118de565b915080610da481611912565b915050610d5e565b5092915050565b605c80600001604051806020016040529081600082018054610dd49061192d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e009061192d565b8015610e4d5780601f10610e2257610100808354040283529160200191610e4d565b820191906000526020600020905b815481529060010190602001808311610e3057829003601f168201915b5050509190925250505060019091015482565b600281605a8110610e7057600080fd5b0154905081565b610e7f6112d0565b600082610fd1576000805b610e94605e611183565b811015610fce576000610ea8605e8361118d565b6001600160a01b03811660009081526063602052604090205490915015610fbb576040516370a0823160e01b815233600482015281906001600160a01b038216906370a0823190602401602060405180830381865afa158015610f0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f339190611a02565b6001600160a01b03831660009081526062602052604090205490945084118015610f7f57506001600160a01b038216600090815260606020908152604080832054606190925290912054105b8015610f89575086155b15610fb9576001600160a01b03821660009081526063602090815260408083205460649092529091205490975094505b505b5080610fc681611912565b915050610e8a565b50505b6040805180820190915292835260208301525090565b610fef6112d0565b600082610fd1576000805b611004605e611183565b811015610fce576000611018605e8361118d565b6001600160a01b03811660009081526063602052604090205490915015611139576040516370a0823160e01b815233600482015281906001600160a01b038216906370a0823190602401602060405180830381865afa15801561107f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a39190611a02565b6001600160a01b038316600090815260626020526040902054909450841180156110ef57506001600160a01b038216600090815260606020908152604080832054606190925290912054105b80156110f9575086155b15611137576001600160a01b038216600090815260636020908152604080832054606183528184208054600101905560649092529091205490975094505b505b508061114481611912565b915050610ffa565b6001600160a01b0381166000908152600183016020526040812054151561086a565b600061086a836001600160a01b038416611199565b6000610500825490565b600061086a83836111e8565b60008181526001830160205260408120546111e057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610500565b506000610500565b60008260000182815481106111ff576111ff6117b5565b9060005260206000200154905092915050565b82805482825590600052602060002090810192821561124d579160200282015b8281111561124d578251825591602001919060010190611232565b506112599291506112ee565b5090565b8280546112699061192d565b90600052602060002090601f01602090048101928261128b576000855561124d565b82601f106112a457805160ff191683800117855561124d565b8280016001018555821561124d579182018281111561124d578251825591602001919060010190611232565b60405180604001604052806002906020820280368337509192915050565b5b8082111561125957600081556001016112ef565b80356001600160a01b038116811461131a57600080fd5b919050565b60006020828403121561133157600080fd5b61086a82611303565b6000806040838503121561134d57600080fd5b61135683611303565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b6040516060810167ffffffffffffffff8111828210171561139d5761139d611364565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156113cc576113cc611364565b604052919050565b600067ffffffffffffffff8211156113ee576113ee611364565b5060051b60200190565b60008060006060848603121561140d57600080fd5b61141684611303565b925060208085013567ffffffffffffffff81111561143357600080fd5b8501601f8101871361144457600080fd5b8035611457611452826113d4565b6113a3565b81815260059190911b8201830190838101908983111561147657600080fd5b928401925b828410156114945783358252928401929084019061147b565b96999698505050506040949094013593505050565b600082601f8301126114ba57600080fd5b813567ffffffffffffffff8111156114d4576114d4611364565b6114e7601f8201601f19166020016113a3565b8181528460208386010111156114fc57600080fd5b816020850160208301376000918101602001919091529392505050565b6000602080838503121561152c57600080fd5b823567ffffffffffffffff8082111561154457600080fd5b818501915085601f83011261155857600080fd5b8135611566611452826113d4565b81815260059190911b8301840190848101908883111561158557600080fd5b8585015b83811015611622578035858111156115a15760008081fd5b86016060818c03601f19018113156115b95760008081fd5b6115c161137a565b89830135888111156115d35760008081fd5b6115e18e8c838701016114a9565b8252506040838101358b8301529183013591888311156116015760008081fd5b61160f8e8c858701016114a9565b9082015285525050918601918601611589565b5098975050505050505050565b60005b8381101561164a578181015183820152602001611632565b83811115611659576000848401525b50505050565b6000815180845261167781602086016020860161162f565b601f01601f19169290920160200192915050565b60208152600061086a602083018461165f565b600080600080600060a086880312156116b657600080fd5b6116bf86611303565b97602087013597506040870135966060810135965060800135945092505050565b6000602082840312156116f257600080fd5b813567ffffffffffffffff81111561170957600080fd5b611715848285016114a9565b949350505050565b60006020828403121561172f57600080fd5b5035919050565b6000806040838503121561174957600080fd5b50508035926020909101359150565b60408101818360005b6002811015611780578151835260209283019290910190600101611761565b50505092915050565b6040815260008351602060408401526117a5606084018261165f565b9150508260208301529392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156117fb576117fb6117cb565b500290565b60008261181d57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611834576118346117cb565b500390565b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b60408152600060808201835160408085015281815180845260a08601915060209350838301925060005b818110156118a357835183529284019291840191600101611887565b5050948201516060850152508284039281019290925250601282527139b2ba103234b9b1b7bab73a10313abcb2b960711b9082015260400190565b600082198211156118f1576118f16117cb565b500190565b6000825161190881846020870161162f565b9190910192915050565b6000600019821415611926576119266117cb565b5060010190565b600181811c9082168061194157607f821691505b6020821081141561196257634e487b7160e01b600052602260045260246000fd5b50919050565b600080835481600182811c91508083168061198457607f831692505b60208084108214156119a457634e487b7160e01b86526022600452602486fd5b8180156119b857600181146119c9576119f4565b60ff198616895281890196506119f4565b60008a81526020902060005b868110156119ee5781548b8201529085019083016119d5565b8a019750505b509498975050505050505050565b600060208284031215611a1457600080fd5b505191905056fea2646970667358221220cfc387f0f237dff8b37b1678aaacdbe2afa23d918155e3bd0e6044dac0f6ac3964736f6c634300080a0033

Deployed Bytecode Sourcemap

393:15541:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2927:47;;;;;;;;;;-1:-1:-1;2927:47:7;;;;;:::i;:::-;;;;;;;;;;;;;;;;;529:25:9;;;517:2;502:18;2927:47:7;;;;;;;;2874;;;;;;;;;;-1:-1:-1;2874:47:7;;;;;:::i;:::-;;;;;;;;;;;;;;2980:45;;;;;;;;;;-1:-1:-1;2980:45:7;;;;;:::i;:::-;;;;;;;;;;;;;;;;2761:52;;;;;;;;;;-1:-1:-1;2761:52:7;;;;;:::i;:::-;;;;;;;;;;;;;;12928:568;;;;;;;;;;-1:-1:-1;12928:568:7;;;;;:::i;:::-;;:::i;8022:362::-;;;;;;;;;;-1:-1:-1;8022:362:7;;;;;:::i;:::-;;:::i;:::-;;;2885:14:9;;2878:22;2860:41;;2848:2;2833:18;8022:362:7;2720:187:9;15726:206:7;;;;;;;;;;;;;:::i;:::-;;12397:525;;;;;;;;;;-1:-1:-1;12397:525:7;;;;;:::i;:::-;;:::i;14027:842::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;8845:530::-;;;;;;;;;;-1:-1:-1;8845:530:7;;;;;:::i;:::-;;:::i;9381:270::-;;;;;;;;;;-1:-1:-1;9381:270:7;;;;;:::i;:::-;;:::i;8390:207::-;;;;;;;;;;-1:-1:-1;8390:207:7;;;;;:::i;:::-;;:::i;8603:236::-;;;;;;;;;;-1:-1:-1;8603:236:7;;;;;:::i;:::-;;:::i;559:28::-;;;;;;;;;;-1:-1:-1;559:28:7;;;;-1:-1:-1;;;;;559:28:7;;;;;;-1:-1:-1;;;;;7583:32:9;;;7565:51;;7553:2;7538:18;559:28:7;7403:219:9;2713:42:7;;;;;;;;;;-1:-1:-1;2713:42:7;;;;;:::i;:::-;;;;;;;;;;;;;;14875:845;;;;;;:::i;:::-;;:::i;9888:707::-;;;;;;;;;;-1:-1:-1;9888:707:7;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;13502:246::-;;;;;;;;;;-1:-1:-1;13502:246:7;;;;;:::i;:::-;;:::i;2819:49::-;;;;;;;;;;-1:-1:-1;2819:49:7;;;;;:::i;:::-;;;;;;;;;;;;;;632:24;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;594:32::-;;;;;;;;;;-1:-1:-1;594:32:7;;;;;:::i;:::-;;:::i;12928:568::-;13033:7;13056:32;13091:33;13103:6;13111:12;13091:11;:33::i;:::-;13150:17;;;;13247;;13056:68;;-1:-1:-1;13150:17:7;13134:13;;13215:59;;:18;:59::i;:::-;13177:97;;13300:1;13292:5;:9;13284:31;;;;-1:-1:-1;;;13284:31:7;;8891:2:9;13284:31:7;;;8873:21:9;8930:1;8910:18;;;8903:29;-1:-1:-1;;;8948:18:9;;;8941:39;8997:18;;13284:31:7;;;;;;;;;13329:20;;:24;;;;:57;;-1:-1:-1;13366:20:7;;;;13357:29;;;13329:57;13325:142;;;13428:20;;13452:3;;13420:28;;:5;:28;:::i;:::-;13419:36;;;;:::i;:::-;13410:46;;:5;:46;:::i;:::-;13402:54;;13325:142;-1:-1:-1;13484:5:7;-1:-1:-1;;12928:568:7;;;;;:::o;8022:362::-;8189:5;;8151:4;;-1:-1:-1;;;;;8189:5:7;8175:10;:19;8167:42;;;;-1:-1:-1;;;8167:42:7;;;;;;;:::i;:::-;8240:30;;;;;;;;;;;;;;;;;8285:41;;-1:-1:-1;;;;;8285:41:7;;;;;;;8240:30;;8285:41;:::i;:::-;;;;;;;;-1:-1:-1;;;;;8336:16:7;;;;;;:9;:16;;;;;;;;:20;;;;8355:1;;8336:20;;:16;;:20;;;;:::i;:::-;-1:-1:-1;8336:20:7;;;;;;;;;;;;8022:362;-1:-1:-1;;;;;8022:362:7:o;15726:206::-;15826:5;;:29;;15780:21;;15763:14;;-1:-1:-1;;;;;15826:5:7;;;;15780:21;;15763:14;15826:29;15763:14;15826:29;15780:21;15826:5;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15812:43;;;15873:2;15865:21;;;;-1:-1:-1;;;15865:21:7;;11470:2:9;15865:21:7;;;11452::9;11509:1;11489:18;;;11482:29;-1:-1:-1;;;11527:18:9;;;11520:36;11573:18;;15865:21:7;11268:329:9;15865:21:7;15906:6;15901:24;;;;;11804:2:9;11786:21;;;11843:1;11823:18;;;11816:29;-1:-1:-1;;;11876:2:9;11861:18;;11854:38;11924:2;11909:18;;11602:331;15901:24:7;;;;;;;;15753:179;;15726:206::o;12397:525::-;12485:7;12508:32;12543:33;12555:6;12563:12;12543:11;:33::i;:::-;12602:17;;;;12682;;12508:68;;-1:-1:-1;12602:17:7;12586:13;;12667:33;;:14;:33::i;14027:842::-;14122:13;14214:8;:16;;;14194:9;:16;14172:19;:9;864:14:5;;773:112;14172:19:7;:38;;;;:::i;:::-;:58;;14151:113;;;;-1:-1:-1;;;14151:113:7;;12273:2:9;14151:113:7;;;12255:21:9;12312:1;12292:18;;;12285:29;-1:-1:-1;;;12330:18:9;;;12323:38;12378:18;;14151:113:7;12071:331:9;14151:113:7;14302:22;;;;;;;;;14274:13;14302:22;;;14274:13;;14334:399;14358:9;:16;14354:1;:20;14334:399;;;14509:20;;;;;;;;;;;;;14499:31;;;14447:12;;:9;;14457:1;;14447:12;;;;;;:::i;:::-;;;;;;;:26;;;14430:44;;;;;;;;:::i;:::-;;;;;;;;;;;;;14420:55;;;;;;:110;:153;;;-1:-1:-1;14568:5:7;;-1:-1:-1;;;;;14568:5:7;14554:10;:19;14420:153;14395:222;;;;-1:-1:-1;;;14395:222:7;;;;;;;:::i;:::-;14640:47;14649:10;14661:9;14671:1;14661:12;;;;;;;;:::i;:::-;;;;;;;:25;;;14640:8;:47::i;:::-;14631:56;;;;:::i;:::-;;;14701:21;:9;978:19:5;;996:1;978:19;;;891:123;14701:21:7;14376:3;;;;:::i;:::-;;;;14334:399;;;;14764:5;14751:9;:18;;14743:44;;;;-1:-1:-1;;;14743:44:7;;13241:2:9;14743:44:7;;;13223:21:9;13280:2;13260:18;;;13253:30;-1:-1:-1;;;13299:18:9;;;13292:43;13352:18;;14743:44:7;13039:337:9;14743:44:7;14859:3;14027:842;-1:-1:-1;;;14027:842:7:o;8845:530::-;9043:5;;9005:4;;-1:-1:-1;;;;;9043:5:7;9029:10;:19;9021:42;;;;-1:-1:-1;;;9021:42:7;;;;;;;:::i;:::-;1034:20:3;;9073:38:7;;;;-1:-1:-1;;;9073:38:7;;13583:2:9;9073:38:7;;;13565:21:9;13622:1;13602:18;;;13595:29;-1:-1:-1;;;13640:18:9;;;13633:32;13682:18;;9073:38:7;13381:325:9;9073:38:7;9126:27;:13;9149:3;9126:22;:27::i;:::-;9121:81;;9169:22;:13;9187:3;9169:17;:22::i;:::-;;9121:81;-1:-1:-1;;;;;;9211:12:7;;;;;;;;:7;:12;;;;;;;;:18;;;;9239:14;:19;;;;;:32;;;;9281:12;:17;;;;;:28;;;;9319:12;:17;;;:28;9364:4;;8845:530::o;9381:270::-;9482:5;;9444:4;;-1:-1:-1;;;;;9482:5:7;9468:10;:19;9460:42;;;;-1:-1:-1;;;9460:42:7;;;;;;;:::i;:::-;9512:35;;;;:8;;:35;;;;;:::i;:::-;-1:-1:-1;9562:61:7;;;;9578:8;;9562:61;:::i;:::-;;;;;;;;;;;;;15563:2:9;15545:21;;;15602:2;15582:18;;;15575:30;-1:-1:-1;;;15636:2:9;15621:18;;15614:47;15693:2;15678:18;;15361:341;9562:61:7;;;;;;;;-1:-1:-1;9640:4:7;;9381:270;-1:-1:-1;9381:270:7:o;8390:207::-;8480:5;;8439:7;;-1:-1:-1;;;;;8480:5:7;8466:10;:19;8458:42;;;;-1:-1:-1;;;8458:42:7;;;;;;;:::i;:::-;8510:16;:22;;;8547:23;;8529:3;;8547:23;;;;15909:2:9;15891:21;;;15948:2;15928:18;;;15921:30;-1:-1:-1;;;15982:2:9;15967:18;;15960:40;16032:2;16017:18;;15707:334;8547:23:7;;;;;;;;-1:-1:-1;8587:3:7;8390:207::o;8603:236::-;8743:5;;8701:4;;-1:-1:-1;;;;;8743:5:7;8729:10;:19;8721:42;;;;-1:-1:-1;;;8721:42:7;;;;;;;:::i;:::-;8805:6;8773:13;8787:14;8773:29;;;;;;;:::i;:::-;;:38;-1:-1:-1;8828:4:7;8603:236;;;;:::o;14875:845::-;14980:13;15072:8;:16;;;15052:9;:16;15030:19;:9;864:14:5;;773:112;15030:19:7;:38;;;;:::i;:::-;:58;;15009:113;;;;-1:-1:-1;;;15009:113:7;;12273:2:9;15009:113:7;;;12255:21:9;12312:1;12292:18;;;12285:29;-1:-1:-1;;;12330:18:9;;;12323:38;12378:18;;15009:113:7;12071:331:9;15009:113:7;15160:22;;;;;;;;;15132:13;15160:22;;;15132:13;;15192:392;15216:9;:16;15212:1;:20;15192:392;;;15367:20;;;;;;;;;;;;;15357:31;;;15305:12;;:9;;15315:1;;15305:12;;;;;;:::i;:::-;;;;;;;:26;;;15288:44;;;;;;;;:::i;:::-;;;;;;;;;;;;;15278:55;;;;;;:110;:153;;;-1:-1:-1;15426:5:7;;-1:-1:-1;;;;;15426:5:7;15412:10;:19;15278:153;15253:222;;;;-1:-1:-1;;;15253:222:7;;;;;;;:::i;:::-;15498:13;15512:9;15522:1;15512:12;;;;;;;;:::i;:::-;;;;;;;:25;;;15498:40;;;;;;;:::i;:::-;;;15489:49;;;;:::i;:::-;;;15552:21;:9;978:19:5;;996:1;978:19;;;891:123;15552:21:7;15234:3;;;;:::i;:::-;;;;15192:392;;9888:707;9992:17;;:::i;:::-;-1:-1:-1;;;;;10052:17:7;;10025:24;10052:17;;;:9;:17;;;;;;;;10025:44;;;;;;;;;;;;;;;;;;;;;;10052:17;;10025:44;;10052:17;;10025:44;;;10052:17;10025:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10025:44:7;;;-1:-1:-1;;10025:44:7;;;;;;;;;;-1:-1:-1;;;;;10096:17:7;;-1:-1:-1;10096:17:7;;;:9;:17;;;;;;:24;;;;10025:44;;-1:-1:-1;;10207:13:7;10221:12;10207:27;;;;;;;:::i;:::-;;;10199:35;;:5;:35;:::i;:::-;10191:43;-1:-1:-1;10249:10:7;;10245:312;;10280:9;10275:198;10299:22;;:29;10295:33;;10275:198;;;10386:12;10357:8;:22;;;10380:1;10357:25;;;;;;;;:::i;:::-;;;;;;;:41;10353:106;;;10436:4;10422:18;;10353:106;10330:3;;;;:::i;:::-;;;;10275:198;;;;10491:11;10486:61;;10531:1;10522:10;;10486:61;-1:-1:-1;10566:22:7;;;;;;;;;;;;;;;;;9888:707;-1:-1:-1;;;;9888:707:7:o;13502:246::-;13566:7;;;13608:116;13632:3;:10;13628:1;:14;13608:116;;;13668:45;13681:10;13693:3;13697:1;13693:6;;;;;;;;:::i;:::-;;;;;;;:19;;;13668:12;:45::i;:::-;13663:50;;;;:::i;:::-;;-1:-1:-1;13644:3:7;;;;:::i;:::-;;;;13608:116;;;-1:-1:-1;13740:1:7;13502:246;-1:-1:-1;;13502:246:7:o;632:24::-;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;632:24:7;;;;-1:-1:-1;;;632:24:7;;;;;;:::o;594:32::-;;;;;;;;;;;;;;;-1:-1:-1;594:32:7;:::o;10601:875::-;10692:17;;:::i;:::-;10725:16;10759:11;10755:680;;10786:9;10819;10814:611;10838:22;:13;:20;:22::i;:::-;10834:1;:26;10814:611;;;10885:11;10899:19;:13;10916:1;10899:16;:19::i;:::-;-1:-1:-1;;;;;10940:17:7;;10960:1;10940:17;;;:12;:17;;;;;;10885:33;;-1:-1:-1;10940:21:7;10936:475;;11035:27;;-1:-1:-1;;;11035:27:7;;11051:10;11035:27;;;7565:51:9;11005:3:7;;-1:-1:-1;;;;;11035:15:7;;;;;7538:18:9;;11035:27:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11117:19:7;;;;;;:14;:19;;;;;;11031:31;;-1:-1:-1;11113:23:7;;:89;;;;-1:-1:-1;;;;;;11190:12:7;;;;;;:7;:12;;;;;;;;;11164:8;:13;;;;;;864:14:5;11164:38:7;11113:89;:128;;;;-1:-1:-1;11230:11:7;;11113:128;11084:309;;;-1:-1:-1;;;;;11299:17:7;;;;;;:12;:17;;;;;;;;;11353:12;:17;;;;;;;11299;;-1:-1:-1;11353:17:7;-1:-1:-1;11084:309:7;10963:448;10936:475;-1:-1:-1;10862:3:7;;;;:::i;:::-;;;;10814:611;;;;10772:663;10755:680;11444:25;;;;;;;;;;;;;;;;-1:-1:-1;11444:25:7;10601:875::o;11482:909::-;11556:17;;:::i;:::-;11589:16;11623:11;11619:731;;11650:9;11683;11678:662;11702:22;:13;:20;:22::i;:::-;11698:1;:26;11678:662;;;11749:11;11763:19;:13;11780:1;11763:16;:19::i;:::-;-1:-1:-1;;;;;11804:17:7;;11824:1;11804:17;;;:12;:17;;;;;;11749:33;;-1:-1:-1;11804:21:7;11800:526;;11899:27;;-1:-1:-1;;;11899:27:7;;11915:10;11899:27;;;7565:51:9;11869:3:7;;-1:-1:-1;;;;;11899:15:7;;;;;7538:18:9;;11899:27:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;11981:19:7;;;;;;:14;:19;;;;;;11895:31;;-1:-1:-1;11977:23:7;;:89;;;;-1:-1:-1;;;;;;12054:12:7;;;;;;:7;:12;;;;;;;;;12028:8;:13;;;;;;864:14:5;12028:38:7;11977:89;:128;;;;-1:-1:-1;12094:11:7;;11977:128;11948:360;;;-1:-1:-1;;;;;12163:17:7;;;;;;:12;:17;;;;;;;;;12206:8;:13;;;;;978:19:5;;996:1;978:19;;;12268:12:7;:17;;;;;;;12163;;-1:-1:-1;12268:17:7;-1:-1:-1;11948:360:7;11827:499;11800:526;-1:-1:-1;11726:3:7;;;;:::i;:::-;;;;11678:662;;8100:165:6;-1:-1:-1;;;;;8233:23:6;;8180:4;3767:19;;;:12;;;:19;;;;;;:24;;8203:55;3671:127;7545:150;7615:4;7638:50;7643:3;-1:-1:-1;;;;;7663:23:6;;7638:4;:50::i;8346:115::-;8409:7;8435:19;8443:3;3961:18;;3879:107;8803:156;8877:7;8927:22;8931:3;8943:5;8927:3;:22::i;1630:404::-;1693:4;3767:19;;;:12;;;:19;;;;;;1709:319;;-1:-1:-1;1751:23:6;;;;;;;;:11;:23;;;;;;;;;;;;;1931:18;;1909:19;;;:12;;;:19;;;;;;:40;;;;1963:11;;1709:319;-1:-1:-1;2012:5:6;2005:12;;4328:118;4395:7;4421:3;:11;;4433:5;4421:18;;;;;;;;:::i;:::-;;;;;;;;;4414:25;;4328:118;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;14:173:9;82:20;;-1:-1:-1;;;;;131:31:9;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;565:254::-;633:6;641;694:2;682:9;673:7;669:23;665:32;662:52;;;710:1;707;700:12;662:52;733:29;752:9;733:29;:::i;:::-;723:39;809:2;794:18;;;;781:32;;-1:-1:-1;;;565:254:9:o;824:127::-;885:10;880:3;876:20;873:1;866:31;916:4;913:1;906:15;940:4;937:1;930:15;956:253;1028:2;1022:9;1070:4;1058:17;;1105:18;1090:34;;1126:22;;;1087:62;1084:88;;;1152:18;;:::i;:::-;1188:2;1181:22;956:253;:::o;1214:275::-;1285:2;1279:9;1350:2;1331:13;;-1:-1:-1;;1327:27:9;1315:40;;1385:18;1370:34;;1406:22;;;1367:62;1364:88;;;1432:18;;:::i;:::-;1468:2;1461:22;1214:275;;-1:-1:-1;1214:275:9:o;1494:183::-;1554:4;1587:18;1579:6;1576:30;1573:56;;;1609:18;;:::i;:::-;-1:-1:-1;1654:1:9;1650:14;1666:4;1646:25;;1494:183::o;1682:1033::-;1784:6;1792;1800;1853:2;1841:9;1832:7;1828:23;1824:32;1821:52;;;1869:1;1866;1859:12;1821:52;1892:29;1911:9;1892:29;:::i;:::-;1882:39;;1940:2;1993;1982:9;1978:18;1965:32;2020:18;2012:6;2009:30;2006:50;;;2052:1;2049;2042:12;2006:50;2075:22;;2128:4;2120:13;;2116:27;-1:-1:-1;2106:55:9;;2157:1;2154;2147:12;2106:55;2193:2;2180:16;2216:60;2232:43;2272:2;2232:43;:::i;:::-;2216:60;:::i;:::-;2310:15;;;2392:1;2388:10;;;;2380:19;;2376:28;;;2341:12;;;;2416:19;;;2413:39;;;2448:1;2445;2438:12;2413:39;2472:11;;;;2492:142;2508:6;2503:3;2500:15;2492:142;;;2574:17;;2562:30;;2525:12;;;;2612;;;;2492:142;;;1682:1033;;2653:5;;-1:-1:-1;;;;2705:2:9;2690:18;;;;2677:32;;-1:-1:-1;;;1682:1033:9:o;2912:531::-;2955:5;3008:3;3001:4;2993:6;2989:17;2985:27;2975:55;;3026:1;3023;3016:12;2975:55;3062:6;3049:20;3088:18;3084:2;3081:26;3078:52;;;3110:18;;:::i;:::-;3154:55;3197:2;3178:13;;-1:-1:-1;;3174:27:9;3203:4;3170:38;3154:55;:::i;:::-;3234:2;3225:7;3218:19;3280:3;3273:4;3268:2;3260:6;3256:15;3252:26;3249:35;3246:55;;;3297:1;3294;3287:12;3246:55;3362:2;3355:4;3347:6;3343:17;3336:4;3327:7;3323:18;3310:55;3410:1;3385:16;;;3403:4;3381:27;3374:38;;;;3389:7;2912:531;-1:-1:-1;;;2912:531:9:o;3448:1969::-;3558:6;3589:2;3632;3620:9;3611:7;3607:23;3603:32;3600:52;;;3648:1;3645;3638:12;3600:52;3688:9;3675:23;3717:18;3758:2;3750:6;3747:14;3744:34;;;3774:1;3771;3764:12;3744:34;3812:6;3801:9;3797:22;3787:32;;3857:7;3850:4;3846:2;3842:13;3838:27;3828:55;;3879:1;3876;3869:12;3828:55;3915:2;3902:16;3938:60;3954:43;3994:2;3954:43;:::i;3938:60::-;4032:15;;;4114:1;4110:10;;;;4102:19;;4098:28;;;4063:12;;;;4138:19;;;4135:39;;;4170:1;4167;4160:12;4135:39;4202:2;4198;4194:11;4214:1173;4230:6;4225:3;4222:15;4214:1173;;;4316:3;4303:17;4352:2;4339:11;4336:19;4333:109;;;4396:1;4425:2;4421;4414:14;4333:109;4465:20;;4508:4;4536:16;;;-1:-1:-1;;4532:30:9;4528:39;-1:-1:-1;4525:129:9;;;4608:1;4637:2;4633;4626:14;4525:129;4680:22;;:::i;:::-;4752:2;4748;4744:11;4731:25;4785:2;4775:8;4772:16;4769:106;;;4829:1;4858:2;4854;4847:14;4769:106;4902:54;4948:7;4943:2;4932:8;4928:2;4924:17;4920:26;4902:54;:::i;:::-;4888:69;;-1:-1:-1;4981:2:9;5032:12;;;5019:26;5003:14;;;4996:50;5088:11;;;5075:25;;5116:16;;;5113:109;;;5174:1;5204:3;5199;5192:16;5113:109;5259:54;5305:7;5300:2;5289:8;5285:2;5281:17;5277:26;5259:54;:::i;:::-;5242:15;;;5235:79;5327:18;;-1:-1:-1;;5365:12:9;;;;4247;;4214:1173;;;-1:-1:-1;5406:5:9;3448:1969;-1:-1:-1;;;;;;;;3448:1969:9:o;5422:258::-;5494:1;5504:113;5518:6;5515:1;5512:13;5504:113;;;5594:11;;;5588:18;5575:11;;;5568:39;5540:2;5533:10;5504:113;;;5635:6;5632:1;5629:13;5626:48;;;5670:1;5661:6;5656:3;5652:16;5645:27;5626:48;;5422:258;;;:::o;5685:::-;5727:3;5765:5;5759:12;5792:6;5787:3;5780:19;5808:63;5864:6;5857:4;5852:3;5848:14;5841:4;5834:5;5830:16;5808:63;:::i;:::-;5925:2;5904:15;-1:-1:-1;;5900:29:9;5891:39;;;;5932:4;5887:50;;5685:258;-1:-1:-1;;5685:258:9:o;5948:220::-;6097:2;6086:9;6079:21;6060:4;6117:45;6158:2;6147:9;6143:18;6135:6;6117:45;:::i;6173:460::-;6268:6;6276;6284;6292;6300;6353:3;6341:9;6332:7;6328:23;6324:33;6321:53;;;6370:1;6367;6360:12;6321:53;6393:29;6412:9;6393:29;:::i;:::-;6383:39;6469:2;6454:18;;6441:32;;-1:-1:-1;6520:2:9;6505:18;;6492:32;;6571:2;6556:18;;6543:32;;-1:-1:-1;6622:3:9;6607:19;6594:33;;-1:-1:-1;6173:460:9;-1:-1:-1;;;6173:460:9:o;6638:322::-;6707:6;6760:2;6748:9;6739:7;6735:23;6731:32;6728:52;;;6776:1;6773;6766:12;6728:52;6816:9;6803:23;6849:18;6841:6;6838:30;6835:50;;;6881:1;6878;6871:12;6835:50;6904;6946:7;6937:6;6926:9;6922:22;6904:50;:::i;:::-;6894:60;6638:322;-1:-1:-1;;;;6638:322:9:o;6965:180::-;7024:6;7077:2;7065:9;7056:7;7052:23;7048:32;7045:52;;;7093:1;7090;7083:12;7045:52;-1:-1:-1;7116:23:9;;6965:180;-1:-1:-1;6965:180:9:o;7150:248::-;7218:6;7226;7279:2;7267:9;7258:7;7254:23;7250:32;7247:52;;;7295:1;7292;7285:12;7247:52;-1:-1:-1;;7318:23:9;;;7388:2;7373:18;;;7360:32;;-1:-1:-1;7150:248:9:o;7627:494::-;7807:2;7792:18;;7796:9;7887:6;7765:4;7921:194;7935:4;7932:1;7929:11;7921:194;;;7994:13;;7982:26;;8031:4;8055:12;;;;8090:15;;;;7955:1;7948:9;7921:194;;;7925:3;;;7627:494;;;;:::o;8126:426::-;8347:2;8336:9;8329:21;8310:4;8385:6;8379:13;8428:4;8423:2;8412:9;8408:18;8401:32;8450:51;8497:2;8486:9;8482:18;8468:12;8450:51;:::i;:::-;8442:59;;;8539:6;8532:4;8521:9;8517:20;8510:36;8126:426;;;;;:::o;8557:127::-;8618:10;8613:3;8609:20;8606:1;8599:31;8649:4;8646:1;8639:15;8673:4;8670:1;8663:15;9026:127;9087:10;9082:3;9078:20;9075:1;9068:31;9118:4;9115:1;9108:15;9142:4;9139:1;9132:15;9158:168;9198:7;9264:1;9260;9256:6;9252:14;9249:1;9246:21;9241:1;9234:9;9227:17;9223:45;9220:71;;;9271:18;;:::i;:::-;-1:-1:-1;9311:9:9;;9158:168::o;9331:217::-;9371:1;9397;9387:132;;9441:10;9436:3;9432:20;9429:1;9422:31;9476:4;9473:1;9466:15;9504:4;9501:1;9494:15;9387:132;-1:-1:-1;9533:9:9;;9331:217::o;9553:125::-;9593:4;9621:1;9618;9615:8;9612:34;;;9626:18;;:::i;:::-;-1:-1:-1;9663:9:9;;9553:125::o;9683:334::-;9885:2;9867:21;;;9924:2;9904:18;;;9897:30;-1:-1:-1;;;9958:2:9;9943:18;;9936:40;10008:2;9993:18;;9683:334::o;10022:1031::-;10304:2;10293:9;10286:21;10267:4;10345:3;10334:9;10330:19;10384:6;10378:13;10427:2;10422;10411:9;10407:18;10400:30;10450:6;10485:12;10479:19;10522:6;10514;10507:22;10560:3;10549:9;10545:19;10538:26;;10583:4;10573:14;;10628:2;10614:12;10610:21;10596:35;;10649:1;10659:169;10673:6;10670:1;10667:13;10659:169;;;10734:13;;10722:26;;10803:15;;;;10768:12;;;;10695:1;10688:9;10659:169;;;-1:-1:-1;;10870:15:9;;;10864:22;10859:2;10844:18;;10837:50;-1:-1:-1;10923:19:9;;;10903:18;;;10896:47;;;;-1:-1:-1;10964:2:9;10952:15;;-1:-1:-1;;;10983:12:9;;;10976:42;11044:2;11035:12;;10022:1031::o;11938:128::-;11978:3;12009:1;12005:6;12002:1;11999:13;11996:39;;;12015:18;;:::i;:::-;-1:-1:-1;12051:9:9;;11938:128::o;12618:276::-;12749:3;12787:6;12781:13;12803:53;12849:6;12844:3;12837:4;12829:6;12825:17;12803:53;:::i;:::-;12872:16;;;;;12618:276;-1:-1:-1;;12618:276:9:o;12899:135::-;12938:3;-1:-1:-1;;12959:17:9;;12956:43;;;12979:18;;:::i;:::-;-1:-1:-1;13026:1:9;13015:13;;12899:135::o;13711:380::-;13790:1;13786:12;;;;13833;;;13854:61;;13908:4;13900:6;13896:17;13886:27;;13854:61;13961:2;13953:6;13950:14;13930:18;13927:38;13924:161;;;14007:10;14002:3;13998:20;13995:1;13988:31;14042:4;14039:1;14032:15;14070:4;14067:1;14060:15;13924:161;;13711:380;;;:::o;14222:1134::-;14394:3;14423:1;14456:6;14450:13;14486:3;14508:1;14536:9;14532:2;14528:18;14518:28;;14596:2;14585:9;14581:18;14618;14608:61;;14662:4;14654:6;14650:17;14640:27;;14608:61;14688:2;14736;14728:6;14725:14;14705:18;14702:38;14699:165;;;-1:-1:-1;;;14763:33:9;;14819:4;14816:1;14809:15;14849:4;14770:3;14837:17;14699:165;14880:18;14907:100;;;;15021:1;15016:315;;;;14873:458;;14907:100;-1:-1:-1;;14940:24:9;;14928:37;;14985:12;;;;-1:-1:-1;14907:100:9;;15016:315;14169:1;14162:14;;;14206:4;14193:18;;15111:1;15125:165;15139:6;15136:1;15133:13;15125:165;;;15217:14;;15204:11;;;15197:35;15260:16;;;;15154:10;;15125:165;;;15310:11;;;-1:-1:-1;;14873:458:9;-1:-1:-1;15347:3:9;;14222:1134;-1:-1:-1;;;;;;;;14222:1134:9:o;16254:184::-;16324:6;16377:2;16365:9;16356:7;16352:23;16348:32;16345:52;;;16393:1;16390;16383:12;16345:52;-1:-1:-1;16416:16:9;;16254:184;-1:-1:-1;16254:184:9:o

Swarm Source

ipfs://cfc387f0f237dff8b37b1678aaacdbe2afa23d918155e3bd0e6044dac0f6ac39

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.