ETH Price: $3,515.94 (+4.81%)

Token

Ape.cash V2 (APEv2)
 

Overview

Max Total Supply

29,628,338.667774954577719989 APEv2

Holders

212

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
80 APEv2

Value
$0.00
0xc7b0c9c8a18949bb61aa796d5bbc1075d4b3b520
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
ApeToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 17 : ApeToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

import "./lib/ERC20Presaleable.sol";
import "./lib/ERC20Vestable.sol";
import "./lib/ERC20Burnable.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract ApeToken is ERC20Burnable, ERC20Vestable, ERC20Presaleable {
    IUniswapV2Router02 private router;
    uint256 public constant MAX_INT = uint256(-1);
    uint256 public stakingPoolDateAdd;
    address public stakingPoolPending;

    address
        public constant UNISWAP_ROUTER_ADDRESS = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;

    event LiquidityAdded(
        uint256 amountToken,
        uint256 amountEth,
        uint256 liquidity
    );

    event DeveloperAddedPendingPool(address pendingPool);
    event DeveloperAddedPool(address pool);

    constructor(
        address payable secondDeveloper,
        address[] memory stakingPools,
        address marketing,
        uint256 presaleCap,
        address[] memory supporters,
        uint256[] memory supporterRewards
    )
        public
        ERC20("Ape.cash V2", "APEv2")
        RoleAware(msg.sender, stakingPools)
        ERC20Presaleable(presaleCap)
    {
        
        // number of tokens is vested over 3 months, see ERC20Vestable
        _addBeneficiary(msg.sender, 105000, 10 days, true);
        _addBeneficiary(secondDeveloper, 45000, 10 days, true);
        _addBeneficiary(marketing, 50000, 10 days, true);
        
        router = IUniswapV2Router02(UNISWAP_ROUTER_ADDRESS);

        for (uint256 index = 0; index < supporters.length; index++) {
            _mint(supporters[index], supporterRewards[index]);
        }
    }

    // developer can add staking pools. as these can mint, function is timelocked for 24 hours
    function addStakingPoolConfirm() public onlyDeveloper {
        require(now >= stakingPoolDateAdd.add(24 hours));
        grantRole(STAKING_POOL_ROLE, stakingPoolPending);
        grantRole(WHITELIST_ROLE, stakingPoolPending);
        emit DeveloperAddedPool(stakingPoolPending);
    }

    function addStakingPoolInitial(address stakingPool) public onlyDeveloper {
        stakingPoolDateAdd = now;
        stakingPoolPending = stakingPool;
        emit DeveloperAddedPendingPool(stakingPool);
    }

    // allow contracts with role ape staking pool to mint rewards for users
    function mint(address to, uint256 amount)
        public
        onlyStakingPool
        nonReentrant
    {
        if (totalSupply() <= maximumSupply) {
            _mint(to, amount);
        }
    }

    function listOnUniswap() public onlyDeveloper {
        // mint 1800 APE per held ETH to list on Uniswap
        setTradeable();
        timeListed = now;
        addWhitelist(UNISWAP_ROUTER_ADDRESS);

        addWhitelist(uniswapEthPair);
        uint256 ethBalance = address(this).balance;
        uint256 apeBalance = ethBalance.mul(uniswapApePerEth);

        _mint(address(this), apeBalance);

        _approve(address(this), address(router), apeBalance);

        (uint256 amountToken, uint256 amountEth, uint256 liquidity) = router
            .addLiquidityETH{value: ethBalance}(
            address(this),
            apeBalance,
            apeBalance,
            ethBalance,
            address(0),
            block.timestamp + uint256(5).mul(1 minutes)
        );

        revokeRole(WHITELIST_ROLE, uniswapEthPair);
        revokeRole(WHITELIST_ROLE, UNISWAP_ROUTER_ADDRESS);

        addWhitelistFrom(uniswapEthPair);
        stopPresale();

        uniswapPairImpl = IUniswapV2Pair(uniswapEthPair);
        emit LiquidityAdded(amountToken, amountEth, liquidity);
    }

    function empty() public nonReentrant onlyDeveloper {
        _developer.transfer(address(this).balance);
    }

    function transfer(address recipient, uint256 amount)
        public
        override(ERC20Burnable, ERC20)
        returns (bool)
    {
        return ERC20Burnable.transfer(recipient, amount);
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override(ERC20Burnable, ERC20) returns (bool) {
        return ERC20Burnable.transferFrom(sender, recipient, amount);
    }

}

File 2 of 17 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "./RoleAware.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

abstract contract ERC20Burnable is RoleAware, ERC20 {
    uint256 public minimumSupply = 20000 * (10**18);
    uint256 public maximumSupply = 5000000 * (10**18);
    uint256 private constant roughDay = 60 * 60 * 24;
    uint256 public timeListed = 0;
    bool public tradeable = false;

    // address of giveth, an on-chain charity
    address
        public constant GIVETH_ADDRESS = 0x8f951903C9360345B4e1b536c7F5ae8f88A64e79;

    function _partialBurn(
        uint256 amount,
        address recipient,
        address sender
    ) internal returns (uint256) {
        if (anyWhitelisted(sender, recipient)) {
            return amount;
        } else if (!tradeable) {
            revert("token is not yet tradeable");
        }
        uint256 burnAmount = calculateBurnAmount(amount, recipient, sender);
        if (burnAmount > 0) {
            _burn(sender, burnAmount);
            _mint(GIVETH_ADDRESS, burnAmount.div(25));
            _mint(_developer, burnAmount.div(25));
        }

        return amount.sub(burnAmount);
    }

    function calculateBurnAmount(
        uint256 amount,
        address recipient,
        address sender
    ) public view returns (uint256) {
        uint256 burnAmount = 0;
        uint256 burnPercentage = 0;

        if (timeListed != 0) {
            uint256 sinceLaunch = now.add(1).sub(timeListed.add(1));
            uint256 daysSinceLaunch = sinceLaunch.div(roughDay);
            if (daysSinceLaunch > 10) {
                burnPercentage = 5;
            } else {
                burnPercentage = uint256(12).sub(daysSinceLaunch);
            }
        }

        if (totalSupply() > minimumSupply) {
            burnAmount = amount.mul(burnPercentage).div(100);
            uint256 availableBurn = totalSupply().sub(minimumSupply);
            if (burnAmount > availableBurn) {
                burnAmount = availableBurn;
            }
        }

        return burnAmount;
    }

    function transfer(address recipient, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {

        return
            super.transfer(
                recipient,
                _partialBurn(amount, recipient, msg.sender)
            );
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        return
            super.transferFrom(
                sender,
                recipient,
                _partialBurn(amount, recipient, sender)
            );
    }

    function setTradeable() public onlyDeveloper {
        require(tradeable == false);
        tradeable = true;
    }

}

File 3 of 17 : ERC20Presaleable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "./RoleAware.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

abstract contract ERC20Presaleable is RoleAware, ReentrancyGuard, ERC20 {
    bool public isPresale = false;

    uint256 public presaleApePerEther = 2500;
    uint256 public uniswapApePerEth = 1800;
    uint256 public presaleEtherReceived = 0 ether;
    uint256 public maxPresaleEtherValue;

    uint256 internal _minTokenPurchaseAmount = .1 ether;
    uint256 internal _maxTokenPurchaseAmount = 1.5 ether;

    mapping(address => bool) private _whitelisted;
    mapping(address => uint256) public presaleContributions;

    event PresalePurchased(address buyer, uint256 entitlement, uint256 weiContributed);

    constructor(uint256 maxPresaleValue) public {
        maxPresaleEtherValue = maxPresaleValue.mul(1 ether);
        presaleContributions[0x0799442CE0f90F8837fdeEce82Cd2735625B4bf9] = 3750000000000000000000;
        presaleContributions[0xD6dBed6297B539A11f1aAb7907e7DF7d9FFeda7e] = 3750000000000000000000;
        presaleContributions[0x5EDd81949604C74E984Ee3424a72C6733df463D3] = 2500000000000000000000;
        presaleContributions[0x43949405198B10A385959b3F53749F9267b3E3e6] = 3750000000000000000000;
        presaleContributions[0x48e4dd3e356823070D9d1B7d162d072aE9EFE0Cb] = 3750000000000000000000;
        presaleContributions[0x74DB48886b32E2dF80F6Be50f22bBFE3FCDE007d] = 2500000000000000000000;
        presaleContributions[0xFCbaA5Cbf122f8e7557Fd82d79151Ac11e73a6D3] = 3750000000000000000000;
        presaleContributions[0xf0F0f6658EeBF2683DEA8377B88313Dfb92cFF93] = 3750000000000000000000;
        presaleContributions[0x06e8BBeeA67358a4325978e075F411dee2430A40] = 3750000000000000000000;
        presaleContributions[0xE2008Ef79a7d0D75EdAE70263384D4aC5D1A9f9A] = 3750000000000000000000;
        presaleContributions[0x78024ea589A845Fb72f285371901614BAA04C168] = 3750000000000000000000;
        presaleContributions[0x4566b0876362B920f0b64e2d843330Df2b411ca8] = 3750000000000000000000;
        presaleContributions[0xdbC2E36941De2a4724EbfD25098c44B8F1ce476D] = 3750000000000000000000;
        presaleContributions[0x7329Dd949aA536E23e0a8962F5829c8a3c24b805] = 3750000000000000000000;
        presaleContributions[0xeA5DcA8cAc9c12Df3AB5908A106c15ff024CB44F] = 3750000000000000000000;
        presaleContributions[0xb7fc44237eE35D7b533037cbA2298E54c3d59276] = 3750000000000000000000;
        presaleContributions[0x49Dd2aEf2d93aB30b674E9F380AD781F820872A4] = 3250000000000000000000;
        presaleContributions[0x4D12D1148e295d09E77E8c7474E35f680EE8fD74] = 3750000000000000000000;
        presaleContributions[0x5eE42438d0D8fc399C94ef3543665E993e847b49] = 3750000000000000000000;
        presaleContributions[0xCd497374cc72c57c632917D365eeF8f74DBef891] = 3750000000000000000000;
        presaleContributions[0x5eD48eCbE5ea89720f21147080e7088fA6a8fC0D] = 3750000000000000000000;
        presaleContributions[0x59129bE4E238cf2308B2fa294E6655511cc266F3] = 3750000000000000000000;
        presaleContributions[0x432CDdF90755a2C034c94d8590298D134590169f] = 375000000000000000000;
        presaleContributions[0x74A8eA33e8Ac1259208eBa5f9688e44B501B9a28] = 1250000000000000000000;
        presaleContributions[0x8146744BaCD5d9AeF17c3ea250589f235CcD3fa9] = 3750000000000000000000;
        presaleContributions[0xA43c750d5dE3Bd88EE4F35DEF72Cf76afEbeC274] = 3750000000000000000000;
        presaleContributions[0xcA7F8f6A21C6e0F3b0177207407Fc935429BdD27] = 3750000000000000000000;
        presaleContributions[0x990225C71d9FF1886988646F97C07fd2a5476345] = 1750000000000000000000;
        presaleContributions[0xd99E28EF233B2B61020927E85Bf89d4bba7e07dF] = 3750000000000000000000;
        presaleContributions[0xb3b8273d4088F9a94B58367BE7Fe6Dd136c9340B] = 3750000000000000000000;
        presaleContributions[0x49Bb576c68Ce2334294e46D1Ffec31bC57a0CeD7] = 3750000000000000000000;
        presaleContributions[0x731C0eBB22596924611d78CF00aD5848e80F3792] = 3750000000000000000000;
        presaleContributions[0x015F2E9c1Da633C9A41Bce61B67f185035B87f38] = 3750000000000000000000;
        presaleContributions[0xD329dd0BCD0d7CABD40Bc00380AFe8934E3FF36d] = 3750000000000000000000;
        presaleContributions[0xd0c8e2F3b9f194c39867A18eD8fe646a30d15c75] = 2000000000000000000000;
        presaleContributions[0x9059B7c20390161aF7A8fD2aAc21f1b9ac7b22BE] = 3750000000000000000000;
        presaleContributions[0x6dD064d9DE98C1E19045C3D674e336a6d3aC3A80] = 3250000000000000000000;
        presaleContributions[0xa680820b3F0bBc830D23859be54A42927c0e699d] = 3750000000000000000000;
        presaleContributions[0xE94D448083dFd5FEafb629Ff1d546aE2BD189783] = 3750000000000000000000;
        presaleContributions[0x9cd8C2A7B6ab2174848d4FC2f1D886c62f21351F] = 3750000000000000000000;
        presaleContributions[0x99C87707f324e42c2B09A4A7c5Da78D50f42bdE6] = 750000000000000000000;
        presaleContributions[0xBBB62D3C86aB4c654e69E292b69c1987D7c6F35B] = 3750000000000000000000;
        presaleContributions[0xfEAb408a2e63A6c55b7C65D272a095629d216725] = 3750000000000000000000;
        presaleContributions[0x10A096f045c328bDE78C59d2bf4a45360c93fD3E] = 3750000000000000000000;
        presaleContributions[0x92048DB9D572F3D153d415A41502aD20e9756904] = 3750000000000000000000;
        presaleContributions[0x1E46Fc7c886aAcfB46d774d2281C0a64747Fd50a] = 3750000000000000000000;
        presaleContributions[0x31E1f0ae62C4C5a0A08dF32472cc6825B9d6d59f] = 3750000000000000000000;
        presaleContributions[0x641d35823e1342b5d7B541b1c701c3d4A41F82ad] = 3750000000000000000000;
        presaleContributions[0x154cd60Ba9bE36c660Aab7D4CadcfA95fE1930aC] = 3750000000000000000000;
        presaleContributions[0x86C9a1624746fCaEFaA1773E503b701417427F8b] = 3750000000000000000000;
        presaleContributions[0xd03A083589edC2aCcf09593951dCf000475cc9f2] = 3750000000000000000000;
        presaleContributions[0xB888dAeDbB2709a5052793A587758973Cf63A503] = 2500000000000000000000;
        presaleContributions[0xe2068FdC209b55bCc165E5f64f97A3119323F617] = 3750000000000000000000;
        presaleContributions[0x5EDd81949604C74E984Ee3424a72C6733df463D3] = 3750000000000000000000;
        presaleContributions[0x190c0eCCCB2796Df51FF90b900007fe980975f7A] = 3750000000000000000000;
    }

    modifier onlyDuringPresale() {
        require(isPresale == true || _whitelisted[msg.sender], "The presale is not active");
        _;
    }

    modifier onlyBeforePresale() {
        require(isPresale == false);
        _;
    }

    function stopPresale() public onlyDeveloper onlyDuringPresale {
        isPresale = false;
    }

    function startPresale() public onlyDeveloper {
        isPresale = true;
    }

    function addPresaleWhitelist(address buyer) public onlyDeveloper {
        _whitelisted[buyer] = true;
    }

    function presale()
        public
        payable
        onlyDuringPresale
        nonReentrant
        returns (bool)
    {
        require(
            msg.value >= _minTokenPurchaseAmount,
            "Minimum purchase amount not met"
        );
        require(
            presaleEtherReceived.add(msg.value) <= maxPresaleEtherValue || _whitelisted[msg.sender],
            "Presale maximum already achieved"
        );
        require(
            presaleContributions[msg.sender].add(msg.value.mul(presaleApePerEther)) <=
                _maxTokenPurchaseAmount.mul(presaleApePerEther),
            "Amount of ether sent too high"
        );

        presaleContributions[msg.sender] = presaleContributions[msg.sender].add(msg.value.mul(presaleApePerEther));


        if (!_whitelisted[msg.sender]) {
            presaleEtherReceived = presaleEtherReceived.add(msg.value);
        }

        emit PresalePurchased(msg.sender, presaleContributions[msg.sender], msg.value);

        _developer.transfer(msg.value.mul(3).div(10));
    }

    function _getPresaleEntitlement() internal returns (uint256) {
        require(
            presaleContributions[msg.sender] >= 0,
            "No presale contribution or already redeemed"
        );
        uint256 value = presaleContributions[msg.sender];
        presaleContributions[msg.sender] = 0;
        return value;
    }

    // presale funds only claimable after uniswap pair created to prevent malicious 3rd-party listing
    function claimPresale()
        public
        nonReentrant
        returns (bool)
    {
        uint256 result = _getPresaleEntitlement();
        if (result > 0) {
            _mint(msg.sender, result);
        }
    }

}

File 4 of 17 : ERC20Vestable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "./RoleAware.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

abstract contract ERC20Vestable is RoleAware, ERC20 {
    uint256 public vestingTime = 4 days;
    bool public canAddVesters = true;
    function setVestingTime(uint256 newTime) public onlyDeveloper {
        vestingTime = newTime;
    }

    // tokens vest 10% every n days. `claimFunds` can be called once every n days
    struct VestingAllowance {
        uint256 frequency;
        uint256 allowance;
        uint256 claimAmount;
        uint256 lastClaimed;
    }

    mapping(address => VestingAllowance) public vestingAllowances;

    function _grantFunds(address beneficiary) internal {
        
        VestingAllowance memory userAllowance = vestingAllowances[beneficiary];
        require(
            userAllowance.allowance > 0 &&
                userAllowance.allowance >= userAllowance.claimAmount,
            "Entire allowance already claimed, or no initial allowance"
        );
        userAllowance.allowance = userAllowance.allowance.sub(userAllowance.claimAmount);
        vestingAllowances[beneficiary] = userAllowance;
        _mint(beneficiary, userAllowance.claimAmount.mul(10**uint256(decimals())));
    }

    // internal function only ever called from constructor
    function _addBeneficiary(
        address beneficiary,
        uint256 amount,
        uint256 claimFrequency,
        bool grant
    ) internal {
        vestingAllowances[beneficiary] = VestingAllowance(
            claimFrequency,
            amount,
            amount.div(10),
            now
        );
        // beneficiary gets 10% of funds immediately
        if (grant) {
            _grantFunds(beneficiary);
        }
    }

    function claimFunds() public {
        VestingAllowance memory allowance = vestingAllowances[msg.sender];
        require(
            allowance.lastClaimed != 0 &&
                (now >= allowance.lastClaimed.add(allowance.frequency) || now >= allowance.lastClaimed.add(vestingTime)),
            "Allowance already claimed for this time period"
        );
        allowance.lastClaimed = now;
        vestingAllowances[msg.sender] = allowance;
        _grantFunds(msg.sender);
    }


    // function callable before uinswap listing to allow v1 holders to be compensated
    function addV1Beneficiary(address[] memory addresses, uint256[] memory amounts, uint256[] memory period)
        public
        onlyDeveloper
    {
        require(canAddVesters == true);
        for (uint256 index = 0; index < addresses.length; index++) {
            _addBeneficiary(addresses[index], amounts[index], period[index], false);
        }
    }

    function renounceVesting() public onlyDeveloper {
        canAddVesters = false;
    }
}

File 5 of 17 : RoleAware.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./UniswapAware.sol";


contract RoleAware is AccessControl, UniswapAware {
    bytes32 public constant STAKING_POOL_ROLE = keccak256("STAKING_POOL_ROLE");
    bytes32 public constant WHITELIST_ROLE = keccak256("WHITELIST_ROLE");
    bytes32 public constant WHITELIST_TO_ROLE = keccak256("WHITELIST_TO_ROLE");
    bytes32 public constant WHITELIST_FROM_ROLE =
        keccak256("WHITELIST_FROM_ROLE");
    bytes32 public constant DEVELOPER_ROLE = keccak256("DEVELOPER_ROLE");
    address payable public _developer;

    constructor(address payable developer, address[] memory stakingPools)
        public
    {
        _developer = developer;

        _setupRole(DEVELOPER_ROLE, _developer);
        _setupRole(DEFAULT_ADMIN_ROLE, _developer);

        grantRole(WHITELIST_ROLE, address(this));
        // O(n) iteration allowed as stakingPools will contain very few items
        for (uint256 i = 0; i < stakingPools.length; i++) {
            grantRole(STAKING_POOL_ROLE, stakingPools[i]);
            grantRole(WHITELIST_ROLE, stakingPools[i]);
        }
    }

    modifier onlyDeveloper() {
        require(hasRole(DEVELOPER_ROLE, msg.sender), "Caller is not developer");
        _;
    }

    // distinct from external staking pools, Ape staking pools can mint rewards for users
    modifier onlyStakingPool() {
        require(
            hasRole(STAKING_POOL_ROLE, msg.sender),
            "Caller is not a staking pool"
        );
        _;
    }

    // needed to add new external liquidity pools - pools should not be burned by default
    function addWhitelist(address grantee) public onlyDeveloper {
        grantRole(WHITELIST_ROLE, grantee);
    }

    function addWhitelistTo(address grantee) public onlyDeveloper {
        grantRole(WHITELIST_TO_ROLE, grantee);
    }

    function addWhitelistFrom(address grantee) public onlyDeveloper {
        grantRole(WHITELIST_FROM_ROLE, grantee);
    }

    function anyWhitelisted(address sender, address recipient)
        internal
        view
        returns (bool)
    {
        return (hasRole(WHITELIST_ROLE, sender) ||
            hasRole(WHITELIST_ROLE, recipient) ||
            hasRole(WHITELIST_ROLE, msg.sender) ||
            hasRole(WHITELIST_TO_ROLE, recipient) ||
            hasRole(WHITELIST_FROM_ROLE, sender));
    }
}

File 6 of 17 : UniswapAware.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";

contract UniswapAware {
    address public uniswapEthPair;
    IUniswapV2Pair public uniswapPairImpl;

    function isContract(address _addr) internal view returns (bool) {
        uint32 size;
        assembly {
            size := extcodesize(_addr)
        }
        return (size > 0);
    }

    constructor() public {
        uniswapEthPair = pairFor(
            0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f,
            0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,
            address(this)
        );
    }

    function pairFor(
        address factory,
        address tokenA,
        address tokenB
    ) public pure returns (address pair) {
        (address token0, address token1) =
            tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        pair = address(
            uint256(
                keccak256(
                    abi.encodePacked(
                        hex"ff",
                        factory,
                        keccak256(abi.encodePacked(token0, token1)),
                        hex"96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f"
                    )
                )
            )
        );
    }

    modifier onlyAfterUniswap() {
        _;
    }

    modifier onlyBeforeUniswap() {
        _;
    }
}

File 7 of 17 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 8 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/EnumerableSet.sol";
import "../utils/Address.sol";
import "../GSN/Context.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 9 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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

File 10 of 17 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../../GSN/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.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 guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @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 to 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 { }
}

File 11 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 12 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @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 in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 13 of 17 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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.0.0, only sets of type `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;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            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] = toDeleteIndex + 1; // All indexes are 1-based

            // 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) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // 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(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(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(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(uint256(_at(set._inner, index)));
    }


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

File 14 of 17 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 15 of 17 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 16 of 17 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 17 of 17 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"secondDeveloper","type":"address"},{"internalType":"address[]","name":"stakingPools","type":"address[]"},{"internalType":"address","name":"marketing","type":"address"},{"internalType":"uint256","name":"presaleCap","type":"uint256"},{"internalType":"address[]","name":"supporters","type":"address[]"},{"internalType":"uint256[]","name":"supporterRewards","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pendingPool","type":"address"}],"name":"DeveloperAddedPendingPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pool","type":"address"}],"name":"DeveloperAddedPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountEth","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"LiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"entitlement","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"weiContributed","type":"uint256"}],"name":"PresalePurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEVELOPER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GIVETH_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_INT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKING_POOL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_ROUTER_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_FROM_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_TO_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_developer","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"buyer","type":"address"}],"name":"addPresaleWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"addStakingPoolConfirm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingPool","type":"address"}],"name":"addStakingPoolInitial","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"period","type":"uint256[]"}],"name":"addV1Beneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"grantee","type":"address"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"grantee","type":"address"}],"name":"addWhitelistFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"grantee","type":"address"}],"name":"addWhitelistTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"sender","type":"address"}],"name":"calculateBurnAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canAddVesters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"empty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"listOnUniswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxPresaleEtherValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"factory","type":"address"},{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"pairFor","outputs":[{"internalType":"address","name":"pair","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"presale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleApePerEther","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleContributions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleEtherReceived","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setTradeable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"setVestingTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingPoolDateAdd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingPoolPending","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeListed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapApePerEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapEthPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapPairImpl","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vestingAllowances","outputs":[{"internalType":"uint256","name":"frequency","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"claimAmount","type":"uint256"},{"internalType":"uint256","name":"lastClaimed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405269043c33c1937564800000600b556a0422ca8b0a00a425000000600c556000600d819055600e805460ff1990811690915562054600600f5560108054821660011790556012805490911690556109c460135561070860145560155567016345785d8a00006017556714d1120d7b1600006018553480156200008457600080fd5b5060405162004f4038038062004f40833981810160405260c0811015620000aa57600080fd5b815160208301805160405192949293830192919084640100000000821115620000d257600080fd5b908301906020820185811115620000e857600080fd5b82518660208202830111640100000000821117156200010657600080fd5b82525081516020918201928201910280838360005b83811015620001355781810151838201526020016200011b565b5050505091909101604081815260208401519084015160609094018051919694959294935090846401000000008211156200016f57600080fd5b9083019060208201858111156200018557600080fd5b8251866020820283011164010000000082111715620001a357600080fd5b82525081516020918201928201910280838360005b83811015620001d2578181015183820152602001620001b8565b5050505090500160405260200180516040519392919084640100000000821115620001fc57600080fd5b9083019060208201858111156200021257600080fd5b82518660208202830111640100000000821117156200023057600080fd5b82525081516020918201928201910280838360005b838110156200025f57818101518382015260200162000245565b50505050905001604052505050826040518060400160405280600b81526020017f4170652e636173682056320000000000000000000000000000000000000000008152506040518060400160405280600581526020017f415045763200000000000000000000000000000000000000000000000000000081525033886200031f735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23062000d93640100000000026401000000009004565b60018054600160a060020a0319908116600160a060020a039384161790915560038054909116848316179081905562000384917f4504b9dfd7400a1522f49a8b4a100552da9236849581fd59b7363eb48c6a474c911664010000000062000e8c810204565b600354620003a790600090600160a060020a031664010000000062000e8c810204565b620003cb60008051602062004eff8339815191523064010000000062000ea5810204565b60005b81518110156200045157620004277fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b0274898383815181106200040a57fe5b602002602001015162000ea5640100000000026401000000009004565b6200044860008051602062004eff8339815191528383815181106200040a57fe5b600101620003ce565b505060016004555081516200046e906008906020850190620016b5565b50805162000484906009906020840190620016b5565b5050600a805460ff1916601217905550620004b681670de0b6b3a76400006401000000006200266562000f3582021704565b60165550601a60205268cb49b44ba602d800007fb32a3097e5401bd0297cddf645e48181fdaf30bdf35a6fd828c317d13b8ce2c18190557f0321adbc1b652adb457289a91f94d7ce95fc84564edad992b4a147bd9408ac168190557f2fd8e709d08d1d6f7abb78b25d7a974ee9674de54fb37dacae00b9d63103ef6f8190557fc5f2942c3c4b15ffdbcbbf14e6b4d86da62a8cede43fe2707f2675b3e7760edb81905568878678326eac9000007f541ddbf88ba200ea00fb0ac065cfdc8ea8cb1c14f65c9b0e40500408256869168190557f15a6453735606670281e8b0618eecf01e558bf27b0af1344987212c4887955988290557f30a8725f18515d5fcf939e8f3aff394180f769166350689717d0b487f748ee818290557fa8158c99ce87ade003d13473da9daff7e06c7cc8be91c7ed6fbb1a1108f4eaf38290557f7e95d2f06eef8b7f111e4f631b8624363446c22c500032d3a9f7225c2ac2921f8290557fd7a80aa1bdc495aa9b6ebe102fcbd30c7b49737471a96c74f3442769d16043fc8290557f0585004e0d2876d7194e7df12a121cb12b26ac334b8001e311442cedf77dde768290557f65d2065d0b2c815ccf9c9307cd1a1935234aeb7708c491e0526563e3778d92088290557fec9d820d80d8d6d241ed13cf57dd1d042adb630e5a41a0eb1e3d1eb2cd12dc4a8290557f19827c5674c0d31b7abb2406ca24fa4ce4f5a5960b8799669b72c8178bcf71148290557f9f4a83a546e8924d7f15e3fe7de854763e69a032598309a7156eaf4c1639c15182905568b02ecf74c3138800007feb07c21dc07275b922f7a2f206632ac481d80e0bbcf3ee0e8cab7c7b1867d95e8190557fa8e46f1d2cd990afdf82bce15f4f447a72b02adb4b8ea43301e6ec71597862708390557f291bb39275051d480f0ccdfc26bcd7550c2e198cb93389d6e5dd043dd2fb74068390557fd1f220c23bb5155cb0d488afed94e041c50e48832cb22338df98269aff4993318390557fd644a47d85b9abd137c6eb89d2abea84aff85dfa4f4973d61f3b942fa612d7888390557fd7e206bc3d749299b21001ee95a53087f319cacb37691f18263d87f77d9dbea48390556814542ba12a337c00007ff0833d5514abae3a9ef0e37ac896bfac3193e21f5a9bac0243a381fecd409607556843c33c1937564800007f1ba84f060f7a34d42dc7e5921175f1e608829e34d6bc73ed44b621c16282d4dc557f306c9e70246495333da7a5a9660b40f2df43aa113e8bb45d01339ec2de1fccf48390557fea5b26d5e793c405033769d0dab67bf8df87afef26fa8f5ab61f938c62939e9a8390557f91811469877b12a45e7d5abff6933ecdcb1218b73c2b4ce943b38b29f279e2e4839055685ede20f01a459800007f2abb677a44c75b77b636292e740f693611eeb48b924c1006598f58b87db8fe98557f88b0793996290d5b1ab0d27d6b6c06404c9448e7064efa9492239b44a4b6e63e8390557f14dd0182845e32ea857176dced381c94ff859518b84fe068f55bb3cd4d8882008390557fdfe555acdba6bf81decbd4a4ceb09ad49a85b94f2fc993d999cac1072f427aea8390557f449bf1521a927c05dc1355d33366970fcf89189282bd92bc4567060ee8893ed08390557f0df739ed1a61d4f91e6dadfc525ee783c36d374990d7e857fe54051dceda87788390557f07c20ab45bf12d49cb904fdecdbf72a99d1c7b040295e1bdc9ae5041c1c05ee9839055686c6b935b8bbd4000007f2984b18a7a20ac21a9ee0d344a6c31814f9e4896eac68f868ebe306fed8779c4557ff96a4e8650ebf4f300dc863762fd3ae3d18bffb80dab5345c774e9131909945a8390557f74aa85f424f8e02fc8450d82a719b1d4372599ff9788b533d7ea8247edab5434557fe30d24cb798c7e48356afe9d6c850f25ecbe92f8d32c8244b26a9ca462a8027e8290557f5bb5cfb42e12b90f260dbc1f2e7fe5d50a4adc24e97ebd0b3c5c7ef43ae0286b8290557fb422164ed1a7784ea29c61ae44409a5344c6af7fe6e6ec0201475d13c09d187e8290556828a857425466f800007fa8a4d9377f54e03d94ba25738637670debb39fdb725ce351cbbc05d61f551232557f9cb7cc41d66771c817027b8f470a62021ee3743bace1d24d4b3c4dd25cf5a2d38290557fe074e2e970ffa59ef2d51bd04c33f623708d274c9fcf6f1fee945ad92c97e0368290557f235c3d4952f5e072fd05bd21cdf596a7a702b8283bfef404b0d2de6d8560a4f38290557fbf38af2671b40b1ac290cbadb1655cba9542766482d5b56e616214d542d628fc8290557f0f93a039f0553399de98a77f69bba1b8b76986dcb3dbe5f4d463ec3f85219a5e8290557f930571675f76762b36a6f42d157ef7b8a5ccc45ca00a9feb06651077717834028290557fe06c298455287592cac791e4340b22c76488d01ce82fd05abcd62f04ea9041858290557f523900a923af3c9413ca7f20e2f77823246ae63433e7004c7ea1356a3d6e4bab8290557f2a0a1e8adeba460daae0194430e82b129ac2588fb6714d0dac5c8a2cca696d428290557f5d6a96b918e77977cbbf955a439bee5d67bd728094f22638cdda2e37e69286668290557f258dfc47b78bd31d649296607870416dfe51a66dfac36ccd2f84e3912f31903a557fa7fe84dfe61b6aef0eebf1e1ddb8e47787d9a586b5238abef97104167b560ca58190557f95353caf9cdcdb5c3294f7dcf0ddc57876175b0b2cdccb8ab538735a1ed4703081905573190c0ecccb2796df51ff90b900007fe980975f7a6000527f393392c4451c2280017e79873bdf1946b35d310970fe0e9f2db7f27a5ebb163a5562000ccd3362019a28620d2f00600164010000000062000fb6810204565b62000cea8661afc8620d2f00600164010000000062000fb6810204565b62000d078461c350620d2f00600164010000000062000fb6810204565b601b8054600160a060020a031916737a250d5630b4cf539739df2c5dacb4c659f2488d17905560005b825181101562000d865762000d7d83828151811062000d4b57fe5b602002602001015183838151811062000d6057fe5b60200260200101516200104c640100000000026401000000009004565b60010162000d30565b5050505050505062001779565b600080600083600160a060020a031685600160a060020a03161062000dba57838562000dbd565b84845b604080516c01000000000000000000000000600160a060020a03948516810260208084019190915293851681026034830152825160288184030181526048830184528051908501207fff00000000000000000000000000000000000000000000000000000000000000606884015294909a1690990260698a0152607d8901929092527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808a01919091528251808a03909101815260bd909801909152865196019590952095945050505050565b62000ea1828264010000000062001184810204565b5050565b60008281526020819052604090206002015462000ede9062000ecf64010000000062001209810204565b6401000000006200120d810204565b62000e8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018062004ed0602f913960400191505060405180910390fd5b60008262000f465750600062000fb0565b8282028284828162000f5457fe5b041462000fad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018062004f1f6021913960400191505060405180910390fd5b90505b92915050565b604080516080810182528381526020810185905290810162000fe885600a640100000000620026c16200123582021704565b815242602091820152600160a060020a03861660009081526011825260409081902083518155918301516001830155820151600282015560609091015160039091015580156200104657620010468464010000000062001288810204565b50505050565b600160a060020a038216620010c257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620010d960008383640100000000620013f7810204565b600754620010f6908264010000000062002703620013fc82021704565b600755600160a060020a0382166000908152600560205260409020546200112c908264010000000062002703620013fc82021704565b600160a060020a03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828152602081905260409020620011ac9082640100000000620027606200147182021704565b1562000ea157620011c564010000000062001209810204565b600160a060020a031681600160a060020a0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b3390565b600082815260208190526040812062000fad9083640100000000620027756200149182021704565b600062000fad83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620014b1640100000000026401000000009004565b620012926200173a565b50600160a060020a038116600090815260116020908152604091829020825160808101845281548152600182015492810183905260028201549381019390935260030154606083015215801590620012f257508060400151816020015110155b62001349576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018062004e976039913960400191505060405180910390fd5b604081015160208201516200136c916401000000006200278a6200157282021704565b6020808301918252600160a060020a0384166000908152601190915260409081902083518155915160018301558201516002820155606082015160039091015562000ea182620013e8620013c8640100000000620015c5810204565b60408501519060ff16600a0a6401000000006200266562000f3582021704565b6401000000006200104c810204565b505050565b60008282018381101562000fad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600062000fad83600160a060020a038416640100000000620015ce810204565b600062000fad83600160a060020a03841664010000000062001626810204565b600081836200155b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200151f57818101518382015260200162001505565b50505050905090810190601f1680156200154d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200156857fe5b0495945050505050565b600062000fad83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506200163e640100000000026401000000009004565b600a5460ff1690565b6000620015e5838364010000000062001626810204565b6200161d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000fb0565b50600062000fb0565b60009081526001919091016020526040902054151590565b60008184841115620016ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156200151f57818101518382015260200162001505565b505050900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620016f857805160ff191683800117855562001728565b8280016001018555821562001728579182015b82811115620017285782518255916020019190600101906200170b565b506200173692915062001762565b5090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b5b8082111562001736576000815560010162001763565b61370e80620017896000396000f3fe6080604052600436106103eb576000357c01000000000000000000000000000000000000000000000000000000009004806370fca7451161021a578063a217fddf11610135578063c7dab436116100c8578063dd62ed3e11610097578063dd62ed3e14610e6e578063f2a75fe414610ea9578063f5ac9db614610ebe578063f80f5dd514610ed3578063fdea8e0b14610f06576103eb565b8063c7dab43614610db5578063ca15c87314610dca578063d0170ecc14610df4578063d547741f14610e35576103eb565b8063ac30777311610104578063ac30777314610cff578063b5605c9214610d14578063be53a51114610d6d578063c1cda90214610da0576103eb565b8063a217fddf14610c63578063a457c2d714610c78578063a46985cc14610cb1578063a9059cbb14610cc6576103eb565b80639010d07c116101ad57806395364a841161017c57806395364a8414610a4e57806395d89b4114610a635780639b8cb53314610a785780639cf071d114610c30576103eb565b80639010d07c146109bb5780639103a0e0146109eb57806391d1485414610a0057806391e7cd4414610a39576103eb565b80637ad8fdc1116101e95780637ad8fdc1146109525780637ede036d14610967578063802921601461097c57806383e71f30146109a6576103eb565b806370fca745146108fe57806379b36943146109135780637a997ab7146109285780637a9d07581461093d576103eb565b8063248a9ca31161030a5780633a0a5eac1161029d5780636d91c0e21161026c5780636d91c0e21461083e5780636fa7279d1461088357806370a08231146108b657806370e1d99b146108e9576103eb565b80633a0a5eac146107a857806340c10f19146107bd578063477f1eba146107f65780636a76822e14610829576103eb565b806336568abe116102d957806336568abe1461070c57806338bdff5414610745578063395093511461075a57806339d794cf14610793576103eb565b8063248a9ca31461066957806328160668146106935780632f2ff15d146106a8578063313ce567146106e1576103eb565b8063098d32281161038257806318160ddd1161035157806318160ddd146105e75780631ad2ad1a146105fc578063214039ab1461061157806323b872dd14610626576103eb565b8063098d3228146105755780630aca2e111461058a5780630cd2da381461059f57806312cc63dc146105d2576103eb565b8063057fa3a0116103be578063057fa3a01461046c57806306fdde031461048157806308ef24241461050b578063095ea7b31461053c576103eb565b806303a30008146103f0578063046ef9a5146104075780630480e58b1461043057806304c98b2b14610457575b600080fd5b3480156103fc57600080fd5b50610405610f0e565b005b34801561041357600080fd5b5061041c610f74565b604080519115158252519081900360200190f35b34801561043c57600080fd5b50610445610fe9565b60408051918252519081900360200190f35b34801561046357600080fd5b50610405610fef565b34801561047857600080fd5b50610445611058565b34801561048d57600080fd5b5061049661105e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156104d05781810151838201526020016104b8565b50505050905090810190601f1680156104fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561051757600080fd5b506105206110f4565b60408051600160a060020a039092168252519081900360200190f35b34801561054857600080fd5b5061041c6004803603604081101561055f57600080fd5b50600160a060020a03813516906020013561110c565b34801561058157600080fd5b5061044561112a565b34801561059657600080fd5b50610445611130565b3480156105ab57600080fd5b50610405600480360360208110156105c257600080fd5b5035600160a060020a0316611136565b3480156105de57600080fd5b506104456111f5565b3480156105f357600080fd5b50610445611219565b34801561060857600080fd5b5061040561121f565b34801561061d57600080fd5b506105206112fe565b34801561063257600080fd5b5061041c6004803603606081101561064957600080fd5b50600160a060020a0381358116916020810135909116906040013561130d565b34801561067557600080fd5b506104456004803603602081101561068c57600080fd5b5035611324565b34801561069f57600080fd5b50610445611339565b3480156106b457600080fd5b50610405600480360360408110156106cb57600080fd5b5080359060200135600160a060020a031661133f565b3480156106ed57600080fd5b506106f66113ae565b6040805160ff9092168252519081900360200190f35b34801561071857600080fd5b506104056004803603604081101561072f57600080fd5b5080359060200135600160a060020a03166113b7565b34801561075157600080fd5b5061044561141b565b34801561076657600080fd5b5061041c6004803603604081101561077d57600080fd5b50600160a060020a03813516906020013561143f565b34801561079f57600080fd5b50610520611492565b3480156107b457600080fd5b506104456114a1565b3480156107c957600080fd5b50610405600480360360408110156107e057600080fd5b50600160a060020a0381351690602001356114c5565b34801561080257600080fd5b506104456004803603602081101561081957600080fd5b5035600160a060020a03166115b4565b34801561083557600080fd5b506104456115c6565b34801561084a57600080fd5b506105206004803603606081101561086157600080fd5b50600160a060020a0381358116916020810135821691604090910135166115cc565b34801561088f57600080fd5b50610405600480360360208110156108a657600080fd5b5035600160a060020a03166116c3565b3480156108c257600080fd5b50610445600480360360208110156108d957600080fd5b5035600160a060020a031661174a565b3480156108f557600080fd5b50610405611765565b34801561090a57600080fd5b5061041c611878565b34801561091f57600080fd5b50610520611881565b34801561093457600080fd5b50610445611899565b34801561094957600080fd5b506105206118ab565b34801561095e57600080fd5b506104056118ba565b34801561097357600080fd5b50610445611b62565b34801561098857600080fd5b506104056004803603602081101561099f57600080fd5b5035611b68565b3480156109b257600080fd5b50610445611bc7565b3480156109c757600080fd5b50610520600480360360408110156109de57600080fd5b5080359060200135611bcd565b3480156109f757600080fd5b50610445611be5565b348015610a0c57600080fd5b5061041c60048036036040811015610a2357600080fd5b5080359060200135600160a060020a0316611bf7565b348015610a4557600080fd5b50610445611c0f565b348015610a5a57600080fd5b5061041c611c15565b348015610a6f57600080fd5b50610496611c1e565b348015610a8457600080fd5b5061040560048036036060811015610a9b57600080fd5b810190602081018135640100000000811115610ab657600080fd5b820183602082011115610ac857600080fd5b80359060200191846020830284011164010000000083111715610aea57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610b3a57600080fd5b820183602082011115610b4c57600080fd5b80359060200191846020830284011164010000000083111715610b6e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610bbe57600080fd5b820183602082011115610bd057600080fd5b80359060200191846020830284011164010000000083111715610bf257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611c7f945050505050565b348015610c3c57600080fd5b5061040560048036036020811015610c5357600080fd5b5035600160a060020a0316611d4d565b348015610c6f57600080fd5b50610445611dcb565b348015610c8457600080fd5b5061041c60048036036040811015610c9b57600080fd5b50600160a060020a038135169060200135611dd0565b348015610cbd57600080fd5b50610520611e38565b348015610cd257600080fd5b5061041c60048036036040811015610ce957600080fd5b50600160a060020a038135169060200135611e47565b348015610d0b57600080fd5b50610405611e53565b348015610d2057600080fd5b50610d4760048036036020811015610d3757600080fd5b5035600160a060020a0316611f5a565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610d7957600080fd5b5061040560048036036020811015610d9057600080fd5b5035600160a060020a0316611f81565b348015610dac57600080fd5b50610405612005565b348015610dc157600080fd5b5061044561207e565b348015610dd657600080fd5b5061044560048036036020811015610ded57600080fd5b5035612084565b348015610e0057600080fd5b5061044560048036036060811015610e1757600080fd5b50803590600160a060020a036020820135811691604001351661209b565b348015610e4157600080fd5b5061040560048036036040811015610e5857600080fd5b5080359060200135600160a060020a031661215d565b348015610e7a57600080fd5b5061044560048036036040811015610e9157600080fd5b50600160a060020a03813581169160200135166121b9565b348015610eb557600080fd5b506104056121e4565b348015610eca57600080fd5b5061041c6122ce565b348015610edf57600080fd5b5061040560048036036020811015610ef657600080fd5b5035600160a060020a03166122d7565b61041c612349565b610f2660008051602061355483398151915233611bf7565b610f68576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6010805460ff19169055565b600060026004541415610fbf576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061348a833981519152604482015290519081900360640190fd5b60026004556000610fce6127cc565b90508015610fe057610fe033826127e3565b50600160045590565b600c5481565b61100760008051602061355483398151915233611bf7565b611049576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6012805460ff19166001179055565b60165481565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110ea5780601f106110bf576101008083540402835291602001916110ea565b820191906000526020600020905b8154815290600101906020018083116110cd57829003601f168201915b5050505050905090565b738f951903c9360345b4e1b536c7f5ae8f88a64e7981565b60006111206111196128d8565b84846128dc565b5060015b92915050565b60001981565b601c5481565b61114e60008051602061355483398151915233611bf7565b611190576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b42601c55601d8054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252517f8d5ebd975d9211b464a772dce4b499da8a0a853b034f87f22e20a7734f169e939181900360200190a150565b7fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748981565b60075490565b61123760008051602061355483398151915233611bf7565b611279576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b60125460ff1615156001148061129e57503360009081526019602052604090205460ff165b6112f2576040805160e560020a62461bcd02815260206004820152601960248201527f5468652070726573616c65206973206e6f742061637469766500000000000000604482015290519081900360640190fd5b6012805460ff19169055565b601d54600160a060020a031681565b600061131a8484846129ce565b90505b9392505050565b60009081526020819052604090206002015490565b60145481565b6000828152602081905260409020600201546113629061135d6128d8565b611bf7565b6113a05760405160e560020a62461bcd02815260040180806020018281038252602f81526020018061345b602f913960400191505060405180910390fd5b6113aa82826129e5565b5050565b600a5460ff1690565b6113bf6128d8565b600160a060020a031681600160a060020a0316146114115760405160e560020a62461bcd02815260040180806020018281038252602f8152602001806136aa602f913960400191505060405180910390fd5b6113aa8282612a4e565b7ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb8381565b600061112061144c6128d8565b8461148d856006600061145d6128d8565b600160a060020a03908116825260208083019390935260409182016000908120918c168152925290205490612703565b6128dc565b600154600160a060020a031681565b7f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed281565b6114ef7fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748933611bf7565b611543576040805160e560020a62461bcd02815260206004820152601c60248201527f43616c6c6572206973206e6f742061207374616b696e6720706f6f6c00000000604482015290519081900360640190fd5b6002600454141561158c576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061348a833981519152604482015290519081900360640190fd5b6002600455600c5461159c611219565b116115ab576115ab82826127e3565b50506001600455565b601a6020526000908152604090205481565b60155481565b600080600083600160a060020a031685600160a060020a0316106115f15783856115f4565b84845b604080516c01000000000000000000000000600160a060020a03948516810260208084019190915293851681026034830152825160288184030181526048830184528051908501207fff00000000000000000000000000000000000000000000000000000000000000606884015294909a1690990260698a0152607d8901929092527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808a01919091528251808a03909101815260bd909801909152865196019590952095945050505050565b6116db60008051602061355483398151915233611bf7565b61171d576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6117477ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb838261133f565b50565b600160a060020a031660009081526005602052604090205490565b61177d60008051602061355483398151915233611bf7565b6117bf576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b601c546117cf9062015180612703565b4210156117db57600080fd5b601d54611812907fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748990600160a060020a031661133f565b601d546118379060008051602061353483398151915290600160a060020a031661133f565b601d5460408051600160a060020a039092168252517ff061281be1aea8bc07e834f42cea49373e1d59969fb72d39674f05a6380493799181900360200190a1565b60105460ff1681565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b60008051602061353483398151915281565b600354600160a060020a031681565b6118d260008051602061355483398151915233611bf7565b611914576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b61191c612005565b42600d5561193d737a250d5630b4cf539739df2c5dacb4c659f2488d6122d7565b60015461195290600160a060020a03166122d7565b601454303190600090611966908390612665565b905061197230826127e3565b601b5461198a903090600160a060020a0316836128dc565b601b5460009081908190600160a060020a031663f305d7198630878083876119b46005603c612665565b42016040518863ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018087600160a060020a0316815260200186815260200185815260200184815260200183600160a060020a0316815260200182815260200196505050505050506060604051808303818588803b158015611a3c57600080fd5b505af1158015611a50573d6000803e3d6000fd5b50505050506040513d6060811015611a6757600080fd5b5080516020820151604090920151600154919550919350909150611aa39060008051602061353483398151915290600160a060020a031661215d565b611acf600080516020613534833981519152737a250d5630b4cf539739df2c5dacb4c659f2488d61215d565b600154611ae490600160a060020a0316611f81565b611aec61121f565b6001546002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055604080518481526020810184905280820183905290517fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39181900360600190a15050505050565b600b5481565b611b8060008051602061355483398151915233611bf7565b611bc2576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b600f55565b60135481565b600082815260208190526040812061131d9083612ab7565b60008051602061355483398151915281565b600082815260208190526040812061131d9083612775565b600d5481565b60125460ff1681565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110ea5780601f106110bf576101008083540402835291602001916110ea565b611c9760008051602061355483398151915233611bf7565b611cd9576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b60105460ff161515600114611ced57600080fd5b60005b8351811015611d4757611d3f848281518110611d0857fe5b6020026020010151848381518110611d1c57fe5b6020026020010151848481518110611d3057fe5b60200260200101516000612ac3565b600101611cf0565b50505050565b611d6560008051602061355483398151915233611bf7565b611da7576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b600160a060020a03166000908152601960205260409020805460ff19166001179055565b600081565b6000611120611ddd6128d8565b8461148d856040518060600160405280602581526020016136856025913960066000611e076128d8565b600160a060020a03908116825260208083019390935260409182016000908120918d16815292529020549190612b37565b600254600160a060020a031681565b600061131d8383612bd1565b611e5b6133b4565b50336000908152601160209081526040918290208251608081018452815481526001820154928101929092526002810154928201929092526003909101546060820181905215801590611ed7575080516060820151611eb991612703565b42101580611ed75750600f546060820151611ed391612703565b4210155b611f155760405160e560020a62461bcd02815260040180806020018281038252602e815260200180613574602e913960400191505060405180910390fd5b42606082019081523360008181526011602090815260409182902085518155908501516001820155908401516002820155915160039092019190915561174790612be7565b60116020526000908152604090208054600182015460028301546003909301549192909184565b611f9960008051602061355483398151915233611bf7565b611fdb576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6117477f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed28261133f565b61201d60008051602061355483398151915233611bf7565b61205f576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b600e5460ff161561206f57600080fd5b600e805460ff19166001179055565b600f5481565b600081815260208190526040812061112490612d04565b600d54600090819081901561210c5760006120d66120c56001600d5461270390919063ffffffff16565b6120d0426001612703565b9061278a565b905060006120e782620151806126c1565b9050600a8111156120fb5760059250612109565b612106600c8261278a565b92505b50505b600b54612117611219565b111561215457612132606461212c8884612665565b906126c1565b91506000612144600b546120d0611219565b905080831115612152578092505b505b50949350505050565b60008281526020819052604090206002015461217b9061135d6128d8565b6114115760405160e560020a62461bcd0281526004018080602001828103825260308152602001806135a26030913960400191505060405180910390fd5b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b6002600454141561222d576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061348a833981519152604482015290519081900360640190fd5b600260045561224a60008051602061355483398151915233611bf7565b61228c576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b600354604051600160a060020a0390911690303180156108fc02916000818181858888f193505050501580156122c6573d6000803e3d6000fd5b506001600455565b600e5460ff1681565b6122ef60008051602061355483398151915233611bf7565b612331576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6117476000805160206135348339815191528261133f565b60125460009060ff1615156001148061237157503360009081526019602052604090205460ff165b6123c5576040805160e560020a62461bcd02815260206004820152601960248201527f5468652070726573616c65206973206e6f742061637469766500000000000000604482015290519081900360640190fd5b6002600454141561240e576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061348a833981519152604482015290519081900360640190fd5b600260045560175434101561246d576040805160e560020a62461bcd02815260206004820152601f60248201527f4d696e696d756d20707572636861736520616d6f756e74206e6f74206d657400604482015290519081900360640190fd5b60165460155461247d9034612703565b11158061249957503360009081526019602052604090205460ff165b6124ed576040805160e560020a62461bcd02815260206004820181905260248201527f50726573616c65206d6178696d756d20616c7265616479206163686965766564604482015290519081900360640190fd5b6013546018546124fc91612665565b61252a6125146013543461266590919063ffffffff16565b336000908152601a602052604090205490612703565b1115612580576040805160e560020a62461bcd02815260206004820152601d60248201527f416d6f756e74206f662065746865722073656e7420746f6f2068696768000000604482015290519081900360640190fd5b6125986125146013543461266590919063ffffffff16565b336000908152601a602090815260408083209390935560199052205460ff166125cc576015546125c89034612703565b6015555b336000818152601a6020908152604091829020548251938452908301523482820152517f531c8e55a96ff0523b632a56c0fa5421bb41070dbcf7257b046152cc0fa16a309181900360600190a160038054600160a060020a0316906108fc9061263d90600a9061212c903490612665565b6040518115909202916000818181858888f19350505050158015610fe0573d6000803e3d6000fd5b60008261267457506000611124565b8282028284828161268157fe5b041461131d5760405160e560020a62461bcd0281526004018080602001828103825260218152602001806135d26021913960400191505060405180910390fd5b600061131d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612d0f565b60008282018381101561131d576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061131d83600160a060020a038416612d77565b600061131d83600160a060020a038416612dc1565b600061131d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612b37565b336000908152601a60205260408120805491905590565b600160a060020a038216612841576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61284d60008383612dd9565b60075461285a9082612703565b600755600160a060020a0382166000908152600560205260409020546128809082612703565b600160a060020a03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b600160a060020a0383166129245760405160e560020a62461bcd0281526004018080602001828103825260248152602001806136616024913960400191505060405180910390fd5b600160a060020a03821661296c5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806134cc6022913960400191505060405180910390fd5b600160a060020a03808416600081815260066020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600061131a84846129e0858789612dde565b612ec0565b60008281526020819052604090206129fd9082612760565b156113aa57612a0a6128d8565b600160a060020a031681600160a060020a0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020612a669082612f42565b156113aa57612a736128d8565b600160a060020a031681600160a060020a0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600061131d8383612f57565b6040805160808101825283815260208101859052908101612ae585600a6126c1565b815242602091820152600160a060020a0386166000908152601182526040908190208351815591830151600183015582015160028201556060909101516003909101558015611d4757611d4784612be7565b60008184841115612bc95760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b8e578181015183820152602001612b76565b50505050905090810190601f168015612bbb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061131d83612be2848633612dde565b612fbe565b612bef6133b4565b50600160a060020a038116600090815260116020908152604091829020825160808101845281548152600182015492810183905260028201549381019390935260030154606083015215801590612c4e57508060400151816020015110155b612c8c5760405160e560020a62461bcd0281526004018080602001828103825260398152602001806133ff6039913960400191505060405180910390fd5b60408101516020820151612c9f9161278a565b6020808301918252600160a060020a038416600090815260119091526040908190208351815591516001830155820151600282015560608201516003909101556113aa82612cff612cee6113ae565b60408501519060ff16600a0a612665565b6127e3565b600061112482612fd2565b60008183612d615760405160e560020a62461bcd028152602060048201818152835160248401528351909283926044909101919085019080838360008315612b8e578181015183820152602001612b76565b506000838581612d6d57fe5b0495945050505050565b6000612d838383612dc1565b612db957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611124565b506000611124565b60009081526001919091016020526040902054151590565b505050565b6000612dea8284612fd6565b15612df657508261131d565b600e5460ff16612e50576040805160e560020a62461bcd02815260206004820152601a60248201527f746f6b656e206973206e6f742079657420747261646561626c65000000000000604482015290519081900360640190fd5b6000612e5d85858561209b565b90508015612ead57612e6f838261308c565b612e92738f951903c9360345b4e1b536c7f5ae8f88a64e79612cff8360196126c1565b600354612ead90600160a060020a0316612cff8360196126c1565b612eb7858261278a565b95945050505050565b6000612ecd84848461318b565b612f3884612ed96128d8565b61148d856040518060600160405280602881526020016135f360289139600160a060020a038a16600090815260066020526040812090612f176128d8565b600160a060020a031681526020810191909152604001600020549190612b37565b5060019392505050565b600061131d83600160a060020a0384166132ee565b81546000908210612f9c5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806133dd6022913960400191505060405180910390fd5b826000018281548110612fab57fe5b9060005260206000200154905092915050565b6000611120612fcb6128d8565b848461318b565b5490565b6000612ff060008051602061353483398151915284611bf7565b8061300e575061300e60008051602061353483398151915283611bf7565b8061302c575061302c60008051602061353483398151915233611bf7565b8061305c575061305c7ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb8383611bf7565b8061131d575061131d7f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed284611bf7565b600160a060020a0382166130d45760405160e560020a62461bcd02815260040180806020018281038252602181526020018061361b6021913960400191505060405180910390fd5b6130e082600083612dd9565b61311d816040518060600160405280602281526020016134aa60229139600160a060020a0385166000908152600560205260409020549190612b37565b600160a060020a038316600090815260056020526040902055600754613143908261278a565b600755604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a0383166131d35760405160e560020a62461bcd02815260040180806020018281038252602581526020018061363c6025913960400191505060405180910390fd5b600160a060020a03821661321b5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806134386023913960400191505060405180910390fd5b613226838383612dd9565b6132638160405180606001604052806026815260200161350e60269139600160a060020a0386166000908152600560205260409020549190612b37565b600160a060020a0380851660009081526005602052604080822093909355908416815220546132929082612703565b600160a060020a0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081815260018301602052604081205480156133aa578354600019808301919081019060009087908390811061332157fe5b906000526020600020015490508087600001848154811061333e57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061336e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611124565b6000915050611124565b604051806080016040528060008152602001600081526020016000815260200160008152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473456e7469726520616c6c6f77616e636520616c726561647920636c61696d65642c206f72206e6f20696e697469616c20616c6c6f77616e636545524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e745265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737343616c6c6572206973206e6f7420646576656c6f70657200000000000000000045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365dc72ed553f2544c34465af23b847953efeb813428162d767f9ba5f4013be67604504b9dfd7400a1522f49a8b4a100552da9236849581fd59b7363eb48c6a474c416c6c6f77616e636520616c726561647920636c61696d656420666f7220746869732074696d6520706572696f64416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212203cb5fc1c135fb9fdd4d1b66c8f7abeb0d1b25b99e8f6ae891b47f1088c1b5f9a64736f6c634300060c0033456e7469726520616c6c6f77616e636520616c726561647920636c61696d65642c206f72206e6f20696e697469616c20616c6c6f77616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74dc72ed553f2544c34465af23b847953efeb813428162d767f9ba5f4013be6760536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77000000000000000000000000754dfc085680b3a6a57e3d9cfeaa9d7eec4febaf00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e9cdbafb6420d8a1379f96e9892ce7eb202be30b0000000000000000000000000000000000000000000000000000000000000096000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a23944f38eda4de4530da5afc0744feb5d8f9382000000000000000000000000000000000000000000000000000000000000000300000000000000000000000038f5ef8fc99d891ebbe09acf3adc9acaaa48e081000000000000000000000000bf67e713ddef50496c6f27c41eaeecee3a9fa063000000000000000000000000e2726cfee8a2c71e1845af7f83fc1e399af4ace400000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000000000000000000000000000000000000d8d726b7177a800000

Deployed Bytecode

0x6080604052600436106103eb576000357c01000000000000000000000000000000000000000000000000000000009004806370fca7451161021a578063a217fddf11610135578063c7dab436116100c8578063dd62ed3e11610097578063dd62ed3e14610e6e578063f2a75fe414610ea9578063f5ac9db614610ebe578063f80f5dd514610ed3578063fdea8e0b14610f06576103eb565b8063c7dab43614610db5578063ca15c87314610dca578063d0170ecc14610df4578063d547741f14610e35576103eb565b8063ac30777311610104578063ac30777314610cff578063b5605c9214610d14578063be53a51114610d6d578063c1cda90214610da0576103eb565b8063a217fddf14610c63578063a457c2d714610c78578063a46985cc14610cb1578063a9059cbb14610cc6576103eb565b80639010d07c116101ad57806395364a841161017c57806395364a8414610a4e57806395d89b4114610a635780639b8cb53314610a785780639cf071d114610c30576103eb565b80639010d07c146109bb5780639103a0e0146109eb57806391d1485414610a0057806391e7cd4414610a39576103eb565b80637ad8fdc1116101e95780637ad8fdc1146109525780637ede036d14610967578063802921601461097c57806383e71f30146109a6576103eb565b806370fca745146108fe57806379b36943146109135780637a997ab7146109285780637a9d07581461093d576103eb565b8063248a9ca31161030a5780633a0a5eac1161029d5780636d91c0e21161026c5780636d91c0e21461083e5780636fa7279d1461088357806370a08231146108b657806370e1d99b146108e9576103eb565b80633a0a5eac146107a857806340c10f19146107bd578063477f1eba146107f65780636a76822e14610829576103eb565b806336568abe116102d957806336568abe1461070c57806338bdff5414610745578063395093511461075a57806339d794cf14610793576103eb565b8063248a9ca31461066957806328160668146106935780632f2ff15d146106a8578063313ce567146106e1576103eb565b8063098d32281161038257806318160ddd1161035157806318160ddd146105e75780631ad2ad1a146105fc578063214039ab1461061157806323b872dd14610626576103eb565b8063098d3228146105755780630aca2e111461058a5780630cd2da381461059f57806312cc63dc146105d2576103eb565b8063057fa3a0116103be578063057fa3a01461046c57806306fdde031461048157806308ef24241461050b578063095ea7b31461053c576103eb565b806303a30008146103f0578063046ef9a5146104075780630480e58b1461043057806304c98b2b14610457575b600080fd5b3480156103fc57600080fd5b50610405610f0e565b005b34801561041357600080fd5b5061041c610f74565b604080519115158252519081900360200190f35b34801561043c57600080fd5b50610445610fe9565b60408051918252519081900360200190f35b34801561046357600080fd5b50610405610fef565b34801561047857600080fd5b50610445611058565b34801561048d57600080fd5b5061049661105e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156104d05781810151838201526020016104b8565b50505050905090810190601f1680156104fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561051757600080fd5b506105206110f4565b60408051600160a060020a039092168252519081900360200190f35b34801561054857600080fd5b5061041c6004803603604081101561055f57600080fd5b50600160a060020a03813516906020013561110c565b34801561058157600080fd5b5061044561112a565b34801561059657600080fd5b50610445611130565b3480156105ab57600080fd5b50610405600480360360208110156105c257600080fd5b5035600160a060020a0316611136565b3480156105de57600080fd5b506104456111f5565b3480156105f357600080fd5b50610445611219565b34801561060857600080fd5b5061040561121f565b34801561061d57600080fd5b506105206112fe565b34801561063257600080fd5b5061041c6004803603606081101561064957600080fd5b50600160a060020a0381358116916020810135909116906040013561130d565b34801561067557600080fd5b506104456004803603602081101561068c57600080fd5b5035611324565b34801561069f57600080fd5b50610445611339565b3480156106b457600080fd5b50610405600480360360408110156106cb57600080fd5b5080359060200135600160a060020a031661133f565b3480156106ed57600080fd5b506106f66113ae565b6040805160ff9092168252519081900360200190f35b34801561071857600080fd5b506104056004803603604081101561072f57600080fd5b5080359060200135600160a060020a03166113b7565b34801561075157600080fd5b5061044561141b565b34801561076657600080fd5b5061041c6004803603604081101561077d57600080fd5b50600160a060020a03813516906020013561143f565b34801561079f57600080fd5b50610520611492565b3480156107b457600080fd5b506104456114a1565b3480156107c957600080fd5b50610405600480360360408110156107e057600080fd5b50600160a060020a0381351690602001356114c5565b34801561080257600080fd5b506104456004803603602081101561081957600080fd5b5035600160a060020a03166115b4565b34801561083557600080fd5b506104456115c6565b34801561084a57600080fd5b506105206004803603606081101561086157600080fd5b50600160a060020a0381358116916020810135821691604090910135166115cc565b34801561088f57600080fd5b50610405600480360360208110156108a657600080fd5b5035600160a060020a03166116c3565b3480156108c257600080fd5b50610445600480360360208110156108d957600080fd5b5035600160a060020a031661174a565b3480156108f557600080fd5b50610405611765565b34801561090a57600080fd5b5061041c611878565b34801561091f57600080fd5b50610520611881565b34801561093457600080fd5b50610445611899565b34801561094957600080fd5b506105206118ab565b34801561095e57600080fd5b506104056118ba565b34801561097357600080fd5b50610445611b62565b34801561098857600080fd5b506104056004803603602081101561099f57600080fd5b5035611b68565b3480156109b257600080fd5b50610445611bc7565b3480156109c757600080fd5b50610520600480360360408110156109de57600080fd5b5080359060200135611bcd565b3480156109f757600080fd5b50610445611be5565b348015610a0c57600080fd5b5061041c60048036036040811015610a2357600080fd5b5080359060200135600160a060020a0316611bf7565b348015610a4557600080fd5b50610445611c0f565b348015610a5a57600080fd5b5061041c611c15565b348015610a6f57600080fd5b50610496611c1e565b348015610a8457600080fd5b5061040560048036036060811015610a9b57600080fd5b810190602081018135640100000000811115610ab657600080fd5b820183602082011115610ac857600080fd5b80359060200191846020830284011164010000000083111715610aea57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610b3a57600080fd5b820183602082011115610b4c57600080fd5b80359060200191846020830284011164010000000083111715610b6e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610bbe57600080fd5b820183602082011115610bd057600080fd5b80359060200191846020830284011164010000000083111715610bf257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611c7f945050505050565b348015610c3c57600080fd5b5061040560048036036020811015610c5357600080fd5b5035600160a060020a0316611d4d565b348015610c6f57600080fd5b50610445611dcb565b348015610c8457600080fd5b5061041c60048036036040811015610c9b57600080fd5b50600160a060020a038135169060200135611dd0565b348015610cbd57600080fd5b50610520611e38565b348015610cd257600080fd5b5061041c60048036036040811015610ce957600080fd5b50600160a060020a038135169060200135611e47565b348015610d0b57600080fd5b50610405611e53565b348015610d2057600080fd5b50610d4760048036036020811015610d3757600080fd5b5035600160a060020a0316611f5a565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610d7957600080fd5b5061040560048036036020811015610d9057600080fd5b5035600160a060020a0316611f81565b348015610dac57600080fd5b50610405612005565b348015610dc157600080fd5b5061044561207e565b348015610dd657600080fd5b5061044560048036036020811015610ded57600080fd5b5035612084565b348015610e0057600080fd5b5061044560048036036060811015610e1757600080fd5b50803590600160a060020a036020820135811691604001351661209b565b348015610e4157600080fd5b5061040560048036036040811015610e5857600080fd5b5080359060200135600160a060020a031661215d565b348015610e7a57600080fd5b5061044560048036036040811015610e9157600080fd5b50600160a060020a03813581169160200135166121b9565b348015610eb557600080fd5b506104056121e4565b348015610eca57600080fd5b5061041c6122ce565b348015610edf57600080fd5b5061040560048036036020811015610ef657600080fd5b5035600160a060020a03166122d7565b61041c612349565b610f2660008051602061355483398151915233611bf7565b610f68576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6010805460ff19169055565b600060026004541415610fbf576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061348a833981519152604482015290519081900360640190fd5b60026004556000610fce6127cc565b90508015610fe057610fe033826127e3565b50600160045590565b600c5481565b61100760008051602061355483398151915233611bf7565b611049576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6012805460ff19166001179055565b60165481565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110ea5780601f106110bf576101008083540402835291602001916110ea565b820191906000526020600020905b8154815290600101906020018083116110cd57829003601f168201915b5050505050905090565b738f951903c9360345b4e1b536c7f5ae8f88a64e7981565b60006111206111196128d8565b84846128dc565b5060015b92915050565b60001981565b601c5481565b61114e60008051602061355483398151915233611bf7565b611190576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b42601c55601d8054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252517f8d5ebd975d9211b464a772dce4b499da8a0a853b034f87f22e20a7734f169e939181900360200190a150565b7fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748981565b60075490565b61123760008051602061355483398151915233611bf7565b611279576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b60125460ff1615156001148061129e57503360009081526019602052604090205460ff165b6112f2576040805160e560020a62461bcd02815260206004820152601960248201527f5468652070726573616c65206973206e6f742061637469766500000000000000604482015290519081900360640190fd5b6012805460ff19169055565b601d54600160a060020a031681565b600061131a8484846129ce565b90505b9392505050565b60009081526020819052604090206002015490565b60145481565b6000828152602081905260409020600201546113629061135d6128d8565b611bf7565b6113a05760405160e560020a62461bcd02815260040180806020018281038252602f81526020018061345b602f913960400191505060405180910390fd5b6113aa82826129e5565b5050565b600a5460ff1690565b6113bf6128d8565b600160a060020a031681600160a060020a0316146114115760405160e560020a62461bcd02815260040180806020018281038252602f8152602001806136aa602f913960400191505060405180910390fd5b6113aa8282612a4e565b7ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb8381565b600061112061144c6128d8565b8461148d856006600061145d6128d8565b600160a060020a03908116825260208083019390935260409182016000908120918c168152925290205490612703565b6128dc565b600154600160a060020a031681565b7f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed281565b6114ef7fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748933611bf7565b611543576040805160e560020a62461bcd02815260206004820152601c60248201527f43616c6c6572206973206e6f742061207374616b696e6720706f6f6c00000000604482015290519081900360640190fd5b6002600454141561158c576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061348a833981519152604482015290519081900360640190fd5b6002600455600c5461159c611219565b116115ab576115ab82826127e3565b50506001600455565b601a6020526000908152604090205481565b60155481565b600080600083600160a060020a031685600160a060020a0316106115f15783856115f4565b84845b604080516c01000000000000000000000000600160a060020a03948516810260208084019190915293851681026034830152825160288184030181526048830184528051908501207fff00000000000000000000000000000000000000000000000000000000000000606884015294909a1690990260698a0152607d8901929092527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808a01919091528251808a03909101815260bd909801909152865196019590952095945050505050565b6116db60008051602061355483398151915233611bf7565b61171d576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6117477ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb838261133f565b50565b600160a060020a031660009081526005602052604090205490565b61177d60008051602061355483398151915233611bf7565b6117bf576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b601c546117cf9062015180612703565b4210156117db57600080fd5b601d54611812907fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748990600160a060020a031661133f565b601d546118379060008051602061353483398151915290600160a060020a031661133f565b601d5460408051600160a060020a039092168252517ff061281be1aea8bc07e834f42cea49373e1d59969fb72d39674f05a6380493799181900360200190a1565b60105460ff1681565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b60008051602061353483398151915281565b600354600160a060020a031681565b6118d260008051602061355483398151915233611bf7565b611914576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b61191c612005565b42600d5561193d737a250d5630b4cf539739df2c5dacb4c659f2488d6122d7565b60015461195290600160a060020a03166122d7565b601454303190600090611966908390612665565b905061197230826127e3565b601b5461198a903090600160a060020a0316836128dc565b601b5460009081908190600160a060020a031663f305d7198630878083876119b46005603c612665565b42016040518863ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018087600160a060020a0316815260200186815260200185815260200184815260200183600160a060020a0316815260200182815260200196505050505050506060604051808303818588803b158015611a3c57600080fd5b505af1158015611a50573d6000803e3d6000fd5b50505050506040513d6060811015611a6757600080fd5b5080516020820151604090920151600154919550919350909150611aa39060008051602061353483398151915290600160a060020a031661215d565b611acf600080516020613534833981519152737a250d5630b4cf539739df2c5dacb4c659f2488d61215d565b600154611ae490600160a060020a0316611f81565b611aec61121f565b6001546002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055604080518481526020810184905280820183905290517fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39181900360600190a15050505050565b600b5481565b611b8060008051602061355483398151915233611bf7565b611bc2576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b600f55565b60135481565b600082815260208190526040812061131d9083612ab7565b60008051602061355483398151915281565b600082815260208190526040812061131d9083612775565b600d5481565b60125460ff1681565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110ea5780601f106110bf576101008083540402835291602001916110ea565b611c9760008051602061355483398151915233611bf7565b611cd9576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b60105460ff161515600114611ced57600080fd5b60005b8351811015611d4757611d3f848281518110611d0857fe5b6020026020010151848381518110611d1c57fe5b6020026020010151848481518110611d3057fe5b60200260200101516000612ac3565b600101611cf0565b50505050565b611d6560008051602061355483398151915233611bf7565b611da7576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b600160a060020a03166000908152601960205260409020805460ff19166001179055565b600081565b6000611120611ddd6128d8565b8461148d856040518060600160405280602581526020016136856025913960066000611e076128d8565b600160a060020a03908116825260208083019390935260409182016000908120918d16815292529020549190612b37565b600254600160a060020a031681565b600061131d8383612bd1565b611e5b6133b4565b50336000908152601160209081526040918290208251608081018452815481526001820154928101929092526002810154928201929092526003909101546060820181905215801590611ed7575080516060820151611eb991612703565b42101580611ed75750600f546060820151611ed391612703565b4210155b611f155760405160e560020a62461bcd02815260040180806020018281038252602e815260200180613574602e913960400191505060405180910390fd5b42606082019081523360008181526011602090815260409182902085518155908501516001820155908401516002820155915160039092019190915561174790612be7565b60116020526000908152604090208054600182015460028301546003909301549192909184565b611f9960008051602061355483398151915233611bf7565b611fdb576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6117477f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed28261133f565b61201d60008051602061355483398151915233611bf7565b61205f576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b600e5460ff161561206f57600080fd5b600e805460ff19166001179055565b600f5481565b600081815260208190526040812061112490612d04565b600d54600090819081901561210c5760006120d66120c56001600d5461270390919063ffffffff16565b6120d0426001612703565b9061278a565b905060006120e782620151806126c1565b9050600a8111156120fb5760059250612109565b612106600c8261278a565b92505b50505b600b54612117611219565b111561215457612132606461212c8884612665565b906126c1565b91506000612144600b546120d0611219565b905080831115612152578092505b505b50949350505050565b60008281526020819052604090206002015461217b9061135d6128d8565b6114115760405160e560020a62461bcd0281526004018080602001828103825260308152602001806135a26030913960400191505060405180910390fd5b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b6002600454141561222d576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061348a833981519152604482015290519081900360640190fd5b600260045561224a60008051602061355483398151915233611bf7565b61228c576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b600354604051600160a060020a0390911690303180156108fc02916000818181858888f193505050501580156122c6573d6000803e3d6000fd5b506001600455565b600e5460ff1681565b6122ef60008051602061355483398151915233611bf7565b612331576040805160e560020a62461bcd02815260206004820152601760248201526000805160206134ee833981519152604482015290519081900360640190fd5b6117476000805160206135348339815191528261133f565b60125460009060ff1615156001148061237157503360009081526019602052604090205460ff165b6123c5576040805160e560020a62461bcd02815260206004820152601960248201527f5468652070726573616c65206973206e6f742061637469766500000000000000604482015290519081900360640190fd5b6002600454141561240e576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061348a833981519152604482015290519081900360640190fd5b600260045560175434101561246d576040805160e560020a62461bcd02815260206004820152601f60248201527f4d696e696d756d20707572636861736520616d6f756e74206e6f74206d657400604482015290519081900360640190fd5b60165460155461247d9034612703565b11158061249957503360009081526019602052604090205460ff165b6124ed576040805160e560020a62461bcd02815260206004820181905260248201527f50726573616c65206d6178696d756d20616c7265616479206163686965766564604482015290519081900360640190fd5b6013546018546124fc91612665565b61252a6125146013543461266590919063ffffffff16565b336000908152601a602052604090205490612703565b1115612580576040805160e560020a62461bcd02815260206004820152601d60248201527f416d6f756e74206f662065746865722073656e7420746f6f2068696768000000604482015290519081900360640190fd5b6125986125146013543461266590919063ffffffff16565b336000908152601a602090815260408083209390935560199052205460ff166125cc576015546125c89034612703565b6015555b336000818152601a6020908152604091829020548251938452908301523482820152517f531c8e55a96ff0523b632a56c0fa5421bb41070dbcf7257b046152cc0fa16a309181900360600190a160038054600160a060020a0316906108fc9061263d90600a9061212c903490612665565b6040518115909202916000818181858888f19350505050158015610fe0573d6000803e3d6000fd5b60008261267457506000611124565b8282028284828161268157fe5b041461131d5760405160e560020a62461bcd0281526004018080602001828103825260218152602001806135d26021913960400191505060405180910390fd5b600061131d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612d0f565b60008282018381101561131d576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061131d83600160a060020a038416612d77565b600061131d83600160a060020a038416612dc1565b600061131d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612b37565b336000908152601a60205260408120805491905590565b600160a060020a038216612841576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61284d60008383612dd9565b60075461285a9082612703565b600755600160a060020a0382166000908152600560205260409020546128809082612703565b600160a060020a03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b600160a060020a0383166129245760405160e560020a62461bcd0281526004018080602001828103825260248152602001806136616024913960400191505060405180910390fd5b600160a060020a03821661296c5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806134cc6022913960400191505060405180910390fd5b600160a060020a03808416600081815260066020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600061131a84846129e0858789612dde565b612ec0565b60008281526020819052604090206129fd9082612760565b156113aa57612a0a6128d8565b600160a060020a031681600160a060020a0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020612a669082612f42565b156113aa57612a736128d8565b600160a060020a031681600160a060020a0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600061131d8383612f57565b6040805160808101825283815260208101859052908101612ae585600a6126c1565b815242602091820152600160a060020a0386166000908152601182526040908190208351815591830151600183015582015160028201556060909101516003909101558015611d4757611d4784612be7565b60008184841115612bc95760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b8e578181015183820152602001612b76565b50505050905090810190601f168015612bbb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061131d83612be2848633612dde565b612fbe565b612bef6133b4565b50600160a060020a038116600090815260116020908152604091829020825160808101845281548152600182015492810183905260028201549381019390935260030154606083015215801590612c4e57508060400151816020015110155b612c8c5760405160e560020a62461bcd0281526004018080602001828103825260398152602001806133ff6039913960400191505060405180910390fd5b60408101516020820151612c9f9161278a565b6020808301918252600160a060020a038416600090815260119091526040908190208351815591516001830155820151600282015560608201516003909101556113aa82612cff612cee6113ae565b60408501519060ff16600a0a612665565b6127e3565b600061112482612fd2565b60008183612d615760405160e560020a62461bcd028152602060048201818152835160248401528351909283926044909101919085019080838360008315612b8e578181015183820152602001612b76565b506000838581612d6d57fe5b0495945050505050565b6000612d838383612dc1565b612db957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611124565b506000611124565b60009081526001919091016020526040902054151590565b505050565b6000612dea8284612fd6565b15612df657508261131d565b600e5460ff16612e50576040805160e560020a62461bcd02815260206004820152601a60248201527f746f6b656e206973206e6f742079657420747261646561626c65000000000000604482015290519081900360640190fd5b6000612e5d85858561209b565b90508015612ead57612e6f838261308c565b612e92738f951903c9360345b4e1b536c7f5ae8f88a64e79612cff8360196126c1565b600354612ead90600160a060020a0316612cff8360196126c1565b612eb7858261278a565b95945050505050565b6000612ecd84848461318b565b612f3884612ed96128d8565b61148d856040518060600160405280602881526020016135f360289139600160a060020a038a16600090815260066020526040812090612f176128d8565b600160a060020a031681526020810191909152604001600020549190612b37565b5060019392505050565b600061131d83600160a060020a0384166132ee565b81546000908210612f9c5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806133dd6022913960400191505060405180910390fd5b826000018281548110612fab57fe5b9060005260206000200154905092915050565b6000611120612fcb6128d8565b848461318b565b5490565b6000612ff060008051602061353483398151915284611bf7565b8061300e575061300e60008051602061353483398151915283611bf7565b8061302c575061302c60008051602061353483398151915233611bf7565b8061305c575061305c7ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb8383611bf7565b8061131d575061131d7f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed284611bf7565b600160a060020a0382166130d45760405160e560020a62461bcd02815260040180806020018281038252602181526020018061361b6021913960400191505060405180910390fd5b6130e082600083612dd9565b61311d816040518060600160405280602281526020016134aa60229139600160a060020a0385166000908152600560205260409020549190612b37565b600160a060020a038316600090815260056020526040902055600754613143908261278a565b600755604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a0383166131d35760405160e560020a62461bcd02815260040180806020018281038252602581526020018061363c6025913960400191505060405180910390fd5b600160a060020a03821661321b5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806134386023913960400191505060405180910390fd5b613226838383612dd9565b6132638160405180606001604052806026815260200161350e60269139600160a060020a0386166000908152600560205260409020549190612b37565b600160a060020a0380851660009081526005602052604080822093909355908416815220546132929082612703565b600160a060020a0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081815260018301602052604081205480156133aa578354600019808301919081019060009087908390811061332157fe5b906000526020600020015490508087600001848154811061333e57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061336e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611124565b6000915050611124565b604051806080016040528060008152602001600081526020016000815260200160008152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473456e7469726520616c6c6f77616e636520616c726561647920636c61696d65642c206f72206e6f20696e697469616c20616c6c6f77616e636545524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e745265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737343616c6c6572206973206e6f7420646576656c6f70657200000000000000000045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365dc72ed553f2544c34465af23b847953efeb813428162d767f9ba5f4013be67604504b9dfd7400a1522f49a8b4a100552da9236849581fd59b7363eb48c6a474c416c6c6f77616e636520616c726561647920636c61696d656420666f7220746869732074696d6520706572696f64416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212203cb5fc1c135fb9fdd4d1b66c8f7abeb0d1b25b99e8f6ae891b47f1088c1b5f9a64736f6c634300060c0033

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

000000000000000000000000754dfc085680b3a6a57e3d9cfeaa9d7eec4febaf00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e9cdbafb6420d8a1379f96e9892ce7eb202be30b0000000000000000000000000000000000000000000000000000000000000096000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a23944f38eda4de4530da5afc0744feb5d8f9382000000000000000000000000000000000000000000000000000000000000000300000000000000000000000038f5ef8fc99d891ebbe09acf3adc9acaaa48e081000000000000000000000000bf67e713ddef50496c6f27c41eaeecee3a9fa063000000000000000000000000e2726cfee8a2c71e1845af7f83fc1e399af4ace400000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000000000000000000000000000000000000d8d726b7177a800000

-----Decoded View---------------
Arg [0] : secondDeveloper (address): 0x754dFC085680b3a6A57E3D9CfeAA9D7EEC4feBAf
Arg [1] : stakingPools (address[]): 0xa23944F38eDA4de4530dA5aFc0744FEb5D8F9382
Arg [2] : marketing (address): 0xe9CDbAfB6420d8a1379F96E9892cE7Eb202be30B
Arg [3] : presaleCap (uint256): 150
Arg [4] : supporters (address[]): 0x38F5eF8Fc99d891eBBE09aCf3adc9ACaAA48e081,0xbf67e713ddEf50496c6F27C41Eaeecee3A9FA063,0xe2726CfeE8a2c71E1845AF7F83fC1e399AF4acE4
Arg [5] : supporterRewards (uint256[]): 4000000000000000000000,4000000000000000000000,4000000000000000000000

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 000000000000000000000000754dfc085680b3a6a57e3d9cfeaa9d7eec4febaf
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000e9cdbafb6420d8a1379f96e9892ce7eb202be30b
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 000000000000000000000000a23944f38eda4de4530da5afc0744feb5d8f9382
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 00000000000000000000000038f5ef8fc99d891ebbe09acf3adc9acaaa48e081
Arg [10] : 000000000000000000000000bf67e713ddef50496c6f27c41eaeecee3a9fa063
Arg [11] : 000000000000000000000000e2726cfee8a2c71e1845af7f83fc1e399af4ace4
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 0000000000000000000000000000000000000000000000d8d726b7177a800000
Arg [14] : 0000000000000000000000000000000000000000000000d8d726b7177a800000
Arg [15] : 0000000000000000000000000000000000000000000000d8d726b7177a800000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.