ETH Price: $3,311.88 (+2.21%)
Gas: 4 Gwei

Contract

0x22AD3Fab750fB53118E4d6aA85343056a736394B
 

Overview

ETH Balance

59.64 ETH

Eth Value

$197,520.66 (@ $3,311.88/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve126975602021-06-24 15:12:551128 days ago1624547575IN
0x22AD3Fab...6a736394B
0 ETH0.0003521524
Transfer124814622021-05-22 2:26:531162 days ago1621650413IN
0x22AD3Fab...6a736394B
0 ETH0.0022588541
Transfer114815462020-12-19 4:40:181316 days ago1608352818IN
0x22AD3Fab...6a736394B
0 ETH0.0021417345
Claim Presale114813742020-12-19 4:00:461316 days ago1608350446IN
0x22AD3Fab...6a736394B
0 ETH0.0018736969
Claim Presale114813742020-12-19 4:00:461316 days ago1608350446IN
0x22AD3Fab...6a736394B
0 ETH0.0018736969
Claim Presale114812182020-12-19 3:22:061316 days ago1608348126IN
0x22AD3Fab...6a736394B
0 ETH0.00407325150
Claim Presale114812022020-12-19 3:16:181316 days ago1608347778IN
0x22AD3Fab...6a736394B
0 ETH0.00353015130
Claim Presale114811922020-12-19 3:14:041316 days ago1608347644IN
0x22AD3Fab...6a736394B
0 ETH0.0032586120
Claim Presale114811722020-12-19 3:10:331316 days ago1608347433IN
0x22AD3Fab...6a736394B
0 ETH0.00287843106
Claim Presale114811672020-12-19 3:09:521316 days ago1608347392IN
0x22AD3Fab...6a736394B
0 ETH0.0018818469.3
Claim Presale114811472020-12-19 3:05:331316 days ago1608347133IN
0x22AD3Fab...6a736394B
0 ETH0.0025797295
Approve114810972020-12-19 2:56:111316 days ago1608346571IN
0x22AD3Fab...6a736394B
0 ETH0.00518856116
Add V1Beneficiar...114810432020-12-19 2:43:521316 days ago1608345832IN
0x22AD3Fab...6a736394B
0 ETH0.001854960
Add V1Beneficiar...114810222020-12-19 2:39:531316 days ago1608345593IN
0x22AD3Fab...6a736394B
0 ETH0.0023149860
Claim Presale114809892020-12-19 2:32:031316 days ago1608345123IN
0x22AD3Fab...6a736394B
0 ETH0.0032586120
Claim Presale114808542020-12-19 2:01:521316 days ago1608343312IN
0x22AD3Fab...6a736394B
0 ETH0.0109897242
Claim Presale114808362020-12-19 1:57:281316 days ago1608343048IN
0x22AD3Fab...6a736394B
0 ETH0.0025987395.7
Approve114808272020-12-19 1:54:531316 days ago1608342893IN
0x22AD3Fab...6a736394B
0 ETH0.00649189146.00000145
Claim Presale114808162020-12-19 1:54:111316 days ago1608342851IN
0x22AD3Fab...6a736394B
0 ETH0.00950425350
Claim Presale114808012020-12-19 1:47:291316 days ago1608342449IN
0x22AD3Fab...6a736394B
0 ETH0.00499532110
Approve114808012020-12-19 1:47:291316 days ago1608342449IN
0x22AD3Fab...6a736394B
0 ETH0.00514383115
Approve114807902020-12-19 1:44:441316 days ago1608342284IN
0x22AD3Fab...6a736394B
0 ETH0.0041196592.4000016
Approve114807722020-12-19 1:41:151316 days ago1608342075IN
0x22AD3Fab...6a736394B
0 ETH0.004786107
Transfer114807672020-12-19 1:40:301316 days ago1608342030IN
0x22AD3Fab...6a736394B
0 ETH0.004131266
Claim Presale114807542020-12-19 1:37:461316 days ago1608341866IN
0x22AD3Fab...6a736394B
0 ETH0.0024167989
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
114801992020-12-18 23:34:551316 days ago1608334495
0x22AD3Fab...6a736394B
0.3 ETH
114800772020-12-18 23:09:051316 days ago1608332945
0x22AD3Fab...6a736394B
0.1 ETH
114800412020-12-18 23:02:181316 days ago1608332538
0x22AD3Fab...6a736394B
0.3 ETH
114800342020-12-18 23:00:341316 days ago1608332434
0x22AD3Fab...6a736394B
0.2 ETH
114799522020-12-18 22:45:271316 days ago1608331527
0x22AD3Fab...6a736394B
0.3 ETH
114799382020-12-18 22:41:391316 days ago1608331299
0x22AD3Fab...6a736394B
0.3 ETH
114799372020-12-18 22:41:291316 days ago1608331289
0x22AD3Fab...6a736394B
0.3 ETH
114799202020-12-18 22:37:591316 days ago1608331079
0x22AD3Fab...6a736394B
0.3 ETH
114799142020-12-18 22:36:361316 days ago1608330996
0x22AD3Fab...6a736394B
0.3 ETH
114799122020-12-18 22:36:091316 days ago1608330969
0x22AD3Fab...6a736394B
0.3 ETH
114799062020-12-18 22:35:301316 days ago1608330930
0x22AD3Fab...6a736394B
0.3 ETH
114799052020-12-18 22:35:051316 days ago1608330905
0x22AD3Fab...6a736394B
0.3 ETH
114799042020-12-18 22:34:501316 days ago1608330890
0x22AD3Fab...6a736394B
0.3 ETH
114799032020-12-18 22:34:281316 days ago1608330868
0x22AD3Fab...6a736394B
0.3 ETH
114799022020-12-18 22:34:271316 days ago1608330867
0x22AD3Fab...6a736394B
0.06 ETH
114799002020-12-18 22:34:121316 days ago1608330852
0x22AD3Fab...6a736394B
0.3 ETH
114799002020-12-18 22:34:121316 days ago1608330852
0x22AD3Fab...6a736394B
0.3 ETH
114798942020-12-18 22:33:091316 days ago1608330789
0x22AD3Fab...6a736394B
0.3 ETH
114798942020-12-18 22:33:091316 days ago1608330789
0x22AD3Fab...6a736394B
0.26 ETH
114798902020-12-18 22:31:211316 days ago1608330681
0x22AD3Fab...6a736394B
0.3 ETH
114798892020-12-18 22:31:161316 days ago1608330676
0x22AD3Fab...6a736394B
0.16 ETH
114798882020-12-18 22:31:111316 days ago1608330671
0x22AD3Fab...6a736394B
0.3 ETH
114798872020-12-18 22:30:281316 days ago1608330628
0x22AD3Fab...6a736394B
0.3 ETH
114798872020-12-18 22:30:281316 days ago1608330628
0x22AD3Fab...6a736394B
0.3 ETH
114798832020-12-18 22:29:511316 days ago1608330591
0x22AD3Fab...6a736394B
0.3 ETH
View All Internal Transactions
Loading...
Loading

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);
        
        addWhitelist(UNISWAP_ROUTER_ADDRESS);
        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 onlyBeforeUniswap {
        // mint 1800 APE per held ETH to list on Uniswap
        timeListed = now;

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

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

}

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

    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 onlyBeforeUniswap onlyDeveloper {
        isPresale = true;
    }

    function addPresaleWhitelist(address buyer) public onlyBeforeUniswap 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(2).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
        onlyAfterUniswap
        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;

    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 onlyBeforeUniswap {
        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)
        public
        onlyDeveloper
        onlyBeforeUniswap
    {
        for (uint256 index = 0; index < addresses.length; index++) {
            _addBeneficiary(addresses[index], amounts[index], 4 days, 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() {
        require(
            isContract(uniswapEthPair),
            "You can't perform this action until the Uniswap listing"
        );
        _;
    }

    modifier onlyBeforeUniswap() {
        require(
            !isContract(uniswapEthPair),
            "You can't perform this action after the Uniswap listing"
        );
        _;
    }
}

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[]"}],"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":"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":[{"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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":[{"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"}]

608060405269043c33c1937564800000600b556a0422ca8b0a00a425000000600c556000600d81905562054600600e556010805460ff191690556109c460115561070860125560135567016345785d8a00006015556714d1120d7b1600006016553480156200006d57600080fd5b50604051620047be380380620047be833981810160405260c08110156200009357600080fd5b815160208301805160405192949293830192919084640100000000821115620000bb57600080fd5b908301906020820185811115620000d157600080fd5b8251866020820283011164010000000082111715620000ef57600080fd5b82525081516020918201928201910280838360005b838110156200011e57818101518382015260200162000104565b5050505091909101604081815260208401519084015160609094018051919694959294935090846401000000008211156200015857600080fd5b9083019060208201858111156200016e57600080fd5b82518660208202830111640100000000821117156200018c57600080fd5b82525081516020918201928201910280838360005b83811015620001bb578181015183820152602001620001a1565b5050505090500160405260200180516040519392919084640100000000821115620001e557600080fd5b908301906020820185811115620001fb57600080fd5b82518660208202830111640100000000821117156200021957600080fd5b82525081516020918201928201910280838360005b83811015620002485781810151838201526020016200022e565b50505050905001604052505050826040518060400160405280600b81526020017f4170652e636173682056320000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4150457632000000000000000000000000000000000000000000000000000000815250338862000308735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2306200059e640100000000026401000000009004565b60018054600160a060020a0319908116600160a060020a03938416179091556003805490911684831617908190556200035c9160008051602062004746833981519152911664010000000062000697810204565b6003546200037f90600090600160a060020a031664010000000062000697810204565b620003a36000805160206200472683398151915230640100000000620006b0810204565b60005b81518110156200042957620003ff7fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b027489838381518110620003e257fe5b6020026020010151620006b0640100000000026401000000009004565b6200042060008051602062004726833981519152838381518110620003e257fe5b600101620003a6565b505060016004555081516200044690600890602085019062000ffb565b5080516200045c90600990602084019062000ffb565b5050600a805460ff19166012179055506200048e81670de0b6b3a7640000640100000000620024f16200074082021704565b60145550620004b03362019a28620d2f006001640100000000620007c1810204565b620004cd8661afc8620d2f006001640100000000620007c1810204565b620004ea8461c350620d2f006001640100000000620007c1810204565b62000512737a250d5630b4cf539739df2c5dacb4c659f2488d640100000000620008cf810204565b60198054600160a060020a031916737a250d5630b4cf539739df2c5dacb4c659f2488d17905560005b82518110156200059157620005888382815181106200055657fe5b60200260200101518383815181106200056b57fe5b602002602001015162000986640100000000026401000000009004565b6001016200053b565b50505050505050620010bf565b600080600083600160a060020a031685600160a060020a031610620005c5578385620005c8565b84845b604080516c01000000000000000000000000600160a060020a03948516810260208084019190915293851681026034830152825160288184030181526048830184528051908501207fff00000000000000000000000000000000000000000000000000000000000000606884015294909a1690990260698a0152607d8901929092527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808a01919091528251808a03909101815260bd909801909152865196019590952095945050505050565b620006ac828264010000000062000abe810204565b5050565b600082815260208190526040902060020154620006e990620006da64010000000062000b43810204565b64010000000062000b47810204565b62000697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180620046f7602f913960400191505060405180910390fd5b6000826200075157506000620007bb565b828202828482816200075f57fe5b0414620007b8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180620047666021913960400191505060405180910390fd5b90505b92915050565b600154620007e190600160a060020a031664010000000062000b6f810204565b1562000839576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526037815260200180620047876037913960400191505060405180910390fd5b60408051608081018252838152602081018590529081016200086b85600a6401000000006200254d62000b7b82021704565b815242602091820152600160a060020a0386166000908152600f82526040908190208351815591830151600183015582015160028201556060909101516003909101558015620008c957620008c98464010000000062000bce810204565b50505050565b620008f3600080516020620047468339815191523364010000000062000b47810204565b6200095f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616c6c6572206973206e6f7420646576656c6f706572000000000000000000604482015290519081900360640190fd5b620009836000805160206200472683398151915282640100000000620006b0810204565b50565b600160a060020a038216620009fc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b62000a136000838364010000000062000d3d810204565b60075462000a3090826401000000006200258f62000d4282021704565b600755600160a060020a03821660009081526005602052604090205462000a6690826401000000006200258f62000d4282021704565b600160a060020a03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600082815260208190526040902062000ae69082640100000000620025ec62000db782021704565b15620006ac5762000aff64010000000062000b43810204565b600160a060020a031681600160a060020a0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b3390565b6000828152602081905260408120620007b890836401000000006200260162000dd782021704565b3b63ffffffff16151590565b6000620007b883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525062000df7640100000000026401000000009004565b62000bd862001080565b50600160a060020a0381166000908152600f602090815260409182902082516080810184528154815260018201549281018390526002820154938101939093526003015460608301521580159062000c3857508060400151816020015110155b62000c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526039815260200180620046be6039913960400191505060405180910390fd5b6040810151602082015162000cb2916401000000006200261662000eb882021704565b6020808301918252600160a060020a0384166000908152600f909152604090819020835181559151600183015582015160028201556060820151600390910155620006ac8262000d2e62000d0e64010000000062000f0b810204565b60408501519060ff16600a0a640100000000620024f16200074082021704565b64010000000062000986810204565b505050565b600082820183811015620007b857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000620007b883600160a060020a03841664010000000062000f14810204565b6000620007b883600160a060020a03841664010000000062000f6c810204565b6000818362000ea1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101562000e6557818101518382015260200162000e4b565b50505050905090810190601f16801562000e935780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858162000eae57fe5b0495945050505050565b6000620007b883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525062000f84640100000000026401000000009004565b600a5460ff1690565b600062000f2b838364010000000062000f6c810204565b62000f6357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620007bb565b506000620007bb565b60009081526001919091016020526040902054151590565b6000818484111562000ff3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815283516024840152835190928392604490910191908501908083836000831562000e6557818101518382015260200162000e4b565b505050900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200103e57805160ff19168380011785556200106e565b828001600101855582156200106e579182015b828111156200106e57825182559160200191906001019062001051565b506200107c929150620010a8565b5090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b5b808211156200107c5760008155600101620010a9565b6135ef80620010cf6000396000f3fe6080604052600436106103b4576000357c01000000000000000000000000000000000000000000000000000000009004806370e1d99b116101f9578063a217fddf1161011f578063c7dab436116100bd578063d547741f1161008c578063d547741f14610d3b578063dd62ed3e14610d74578063f80f5dd514610daf578063fdea8e0b14610de2576103b4565b8063c7dab43614610b87578063ca15c87314610b9c578063d001fb8e14610bc6578063d0170ecc14610cfa576103b4565b8063a9059cbb116100f9578063a9059cbb14610aad578063ac30777314610ae6578063b5605c9214610afb578063be53a51114610b54576103b4565b8063a217fddf14610a4a578063a457c2d714610a5f578063a46985cc14610a98576103b4565b806383e71f301161019757806391e7cd441161016657806391e7cd44146109d857806395364a84146109ed57806395d89b4114610a025780639cf071d114610a17576103b4565b806383e71f30146109455780639010d07c1461095a5780639103a0e01461098a57806391d148541461099f576103b4565b80637a9d0758116101d35780637a9d0758146108dc5780637ad8fdc1146108f15780637ede036d14610906578063802921601461091b576103b4565b806370e1d99b1461089d57806379b36943146108b25780637a997ab7146108c7576103b4565b8063248a9ca3116102de57806339d794cf1161027c5780636a76822e1161024b5780636a76822e146107dd5780636d91c0e2146107f25780636fa7279d1461083757806370a082311461086a576103b4565b806339d794cf146107475780633a0a5eac1461075c57806340c10f1914610771578063477f1eba146107aa576103b4565b8063313ce567116102b8578063313ce5671461069557806336568abe146106c057806338bdff54146106f9578063395093511461070e576103b4565b8063248a9ca31461061d57806328160668146106475780632f2ff15d1461065c576103b4565b8063098d32281161035657806318160ddd1161032557806318160ddd1461059b5780631ad2ad1a146105b0578063214039ab146105c557806323b872dd146105da576103b4565b8063098d3228146105295780630aca2e111461053e5780630cd2da381461055357806312cc63dc14610586576103b4565b8063057fa3a011610392578063057fa3a01461042057806306fdde031461043557806308ef2424146104bf578063095ea7b3146104f0576103b4565b8063046ef9a5146103b95780630480e58b146103e257806304c98b2b14610409575b600080fd5b3480156103c557600080fd5b506103ce610dea565b604080519115158252519081900360200190f35b3480156103ee57600080fd5b506103f7610ec5565b60408051918252519081900360200190f35b34801561041557600080fd5b5061041e610ecb565b005b34801561042c57600080fd5b506103f7610f88565b34801561044157600080fd5b5061044a610f8e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561048457818101518382015260200161046c565b50505050905090810190601f1680156104b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156104cb57600080fd5b506104d4611024565b60408051600160a060020a039092168252519081900360200190f35b3480156104fc57600080fd5b506103ce6004803603604081101561051357600080fd5b50600160a060020a03813516906020013561103c565b34801561053557600080fd5b506103f761105a565b34801561054a57600080fd5b506103f7611060565b34801561055f57600080fd5b5061041e6004803603602081101561057657600080fd5b5035600160a060020a0316611066565b34801561059257600080fd5b506103f7611125565b3480156105a757600080fd5b506103f7611149565b3480156105bc57600080fd5b5061041e61114f565b3480156105d157600080fd5b506104d461122e565b3480156105e657600080fd5b506103ce600480360360608110156105fd57600080fd5b50600160a060020a0381358116916020810135909116906040013561123d565b34801561062957600080fd5b506103f76004803603602081101561064057600080fd5b5035611254565b34801561065357600080fd5b506103f7611269565b34801561066857600080fd5b5061041e6004803603604081101561067f57600080fd5b5080359060200135600160a060020a031661126f565b3480156106a157600080fd5b506106aa6112de565b6040805160ff9092168252519081900360200190f35b3480156106cc57600080fd5b5061041e600480360360408110156106e357600080fd5b5080359060200135600160a060020a03166112e7565b34801561070557600080fd5b506103f761134b565b34801561071a57600080fd5b506103ce6004803603604081101561073157600080fd5b50600160a060020a03813516906020013561136f565b34801561075357600080fd5b506104d46113c2565b34801561076857600080fd5b506103f76113d1565b34801561077d57600080fd5b5061041e6004803603604081101561079457600080fd5b50600160a060020a0381351690602001356113f5565b3480156107b657600080fd5b506103f7600480360360208110156107cd57600080fd5b5035600160a060020a03166114f6565b3480156107e957600080fd5b506103f7611508565b3480156107fe57600080fd5b506104d46004803603606081101561081557600080fd5b50600160a060020a03813581169160208101358216916040909101351661150e565b34801561084357600080fd5b5061041e6004803603602081101561085a57600080fd5b5035600160a060020a0316611605565b34801561087657600080fd5b506103f76004803603602081101561088d57600080fd5b5035600160a060020a031661168c565b3480156108a957600080fd5b5061041e6116a7565b3480156108be57600080fd5b506104d46117ba565b3480156108d357600080fd5b506103f76117d2565b3480156108e857600080fd5b506104d46117e4565b3480156108fd57600080fd5b5061041e6117f3565b34801561091257600080fd5b506103f7611aca565b34801561092757600080fd5b5061041e6004803603602081101561093e57600080fd5b5035611ad0565b34801561095157600080fd5b506103f7611b2f565b34801561096657600080fd5b506104d46004803603604081101561097d57600080fd5b5080359060200135611b35565b34801561099657600080fd5b506103f7611b4d565b3480156109ab57600080fd5b506103ce600480360360408110156109c257600080fd5b5080359060200135600160a060020a0316611b5f565b3480156109e457600080fd5b506103f7611b77565b3480156109f957600080fd5b506103ce611b7d565b348015610a0e57600080fd5b5061044a611b86565b348015610a2357600080fd5b5061041e60048036036020811015610a3a57600080fd5b5035600160a060020a0316611be7565b348015610a5657600080fd5b506103f7611cb9565b348015610a6b57600080fd5b506103ce60048036036040811015610a8257600080fd5b50600160a060020a038135169060200135611cbe565b348015610aa457600080fd5b506104d4611d26565b348015610ab957600080fd5b506103ce60048036036040811015610ad057600080fd5b50600160a060020a038135169060200135611d35565b348015610af257600080fd5b5061041e611d41565b348015610b0757600080fd5b50610b2e60048036036020811015610b1e57600080fd5b5035600160a060020a0316611e48565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610b6057600080fd5b5061041e60048036036020811015610b7757600080fd5b5035600160a060020a0316611e6f565b348015610b9357600080fd5b506103f7611ef3565b348015610ba857600080fd5b506103f760048036036020811015610bbf57600080fd5b5035611ef9565b348015610bd257600080fd5b5061041e60048036036040811015610be957600080fd5b810190602081018135640100000000811115610c0457600080fd5b820183602082011115610c1657600080fd5b80359060200191846020830284011164010000000083111715610c3857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610c8857600080fd5b820183602082011115610c9a57600080fd5b80359060200191846020830284011164010000000083111715610cbc57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611f10945050505050565b348015610d0657600080fd5b506103f760048036036060811015610d1d57600080fd5b50803590600160a060020a036020820135811691604001351661200d565b348015610d4757600080fd5b5061041e60048036036040811015610d5e57600080fd5b5080359060200135600160a060020a03166120cf565b348015610d8057600080fd5b506103f760048036036040811015610d9757600080fd5b50600160a060020a038135811691602001351661212b565b348015610dbb57600080fd5b5061041e60048036036020811015610dd257600080fd5b5035600160a060020a0316612156565b6103ce6121c8565b600154600090610e0290600160a060020a0316612658565b610e405760405160e560020a62461bcd0281526004018080602001828103825260378152602001806133e76037913960400191505060405180910390fd5b60026004541415610e9b576040805160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026004556000610eaa612664565b90508015610ebc57610ebc338261267b565b50600160045590565b600c5481565b600154610ee090600160a060020a0316612658565b15610f1f5760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b610f376000805160206133c783398151915233611b5f565b610f79576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b6010805460ff19166001179055565b60145481565b60088054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561101a5780601f10610fef5761010080835404028352916020019161101a565b820191906000526020600020905b815481529060010190602001808311610ffd57829003601f168201915b5050505050905090565b738f951903c9360345b4e1b536c7f5ae8f88a64e7981565b6000611050611049612770565b8484612774565b5060015b92915050565b60001981565b601a5481565b61107e6000805160206133c783398151915233611b5f565b6110c0576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b42601a55601b8054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252517f8d5ebd975d9211b464a772dce4b499da8a0a853b034f87f22e20a7734f169e939181900360200190a150565b7fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748981565b60075490565b6111676000805160206133c783398151915233611b5f565b6111a9576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b60105460ff161515600114806111ce57503360009081526017602052604090205460ff165b611222576040805160e560020a62461bcd02815260206004820152601960248201527f5468652070726573616c65206973206e6f742061637469766500000000000000604482015290519081900360640190fd5b6010805460ff19169055565b601b54600160a060020a031681565b600061124a848484612866565b90505b9392505050565b60009081526020819052604090206002015490565b60125481565b6000828152602081905260409020600201546112929061128d612770565b611b5f565b6112d05760405160e560020a62461bcd02815260040180806020018281038252602f8152602001806132ee602f913960400191505060405180910390fd5b6112da828261287d565b5050565b600a5460ff1690565b6112ef612770565b600160a060020a031681600160a060020a0316146113415760405160e560020a62461bcd02815260040180806020018281038252602f81526020018061358b602f913960400191505060405180910390fd5b6112da82826128e6565b7ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb8381565b600061105061137c612770565b846113bd856006600061138d612770565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549061258f565b612774565b600154600160a060020a031681565b7f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed281565b61141f7fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748933611b5f565b611473576040805160e560020a62461bcd02815260206004820152601c60248201527f43616c6c6572206973206e6f742061207374616b696e6720706f6f6c00000000604482015290519081900360640190fd5b600260045414156114ce576040805160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600455600c546114de611149565b116114ed576114ed828261267b565b50506001600455565b60186020526000908152604090205481565b60135481565b600080600083600160a060020a031685600160a060020a031610611533578385611536565b84845b604080516c01000000000000000000000000600160a060020a03948516810260208084019190915293851681026034830152825160288184030181526048830184528051908501207fff00000000000000000000000000000000000000000000000000000000000000606884015294909a1690990260698a0152607d8901929092527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808a01919091528251808a03909101815260bd909801909152865196019590952095945050505050565b61161d6000805160206133c783398151915233611b5f565b61165f576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b6116897ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb838261126f565b50565b600160a060020a031660009081526005602052604090205490565b6116bf6000805160206133c783398151915233611b5f565b611701576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b601a54611711906201518061258f565b42101561171d57600080fd5b601b54611754907fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748990600160a060020a031661126f565b601b54611779906000805160206133a783398151915290600160a060020a031661126f565b601b5460408051600160a060020a039092168252517ff061281be1aea8bc07e834f42cea49373e1d59969fb72d39674f05a6380493799181900360200190a1565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000805160206133a783398151915281565b600354600160a060020a031681565b61180b6000805160206133c783398151915233611b5f565b61184d576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b60015461186290600160a060020a0316612658565b156118a15760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b42600d556001546118ba90600160a060020a0316612156565b6012543031906000906118ce9083906124f1565b90506118da308261267b565b6019546118f2903090600160a060020a031683612774565b60195460009081908190600160a060020a031663f305d71986308780838761191c6005603c6124f1565b42016040518863ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018087600160a060020a0316815260200186815260200185815260200184815260200183600160a060020a0316815260200182815260200196505050505050506060604051808303818588803b1580156119a457600080fd5b505af11580156119b8573d6000803e3d6000fd5b50505050506040513d60608110156119cf57600080fd5b5080516020820151604090920151600154919550919350909150611a0b906000805160206133a783398151915290600160a060020a03166120cf565b611a376000805160206133a7833981519152737a250d5630b4cf539739df2c5dacb4c659f2488d6120cf565b600154611a4c90600160a060020a0316611e6f565b611a5461114f565b6001546002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055604080518481526020810184905280820183905290517fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39181900360600190a15050505050565b600b5481565b611ae86000805160206133c783398151915233611b5f565b611b2a576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b600e55565b60115481565b600082815260208190526040812061124d908361294f565b6000805160206133c783398151915281565b600082815260208190526040812061124d9083612601565b600d5481565b60105460ff1681565b60098054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561101a5780601f10610fef5761010080835404028352916020019161101a565b600154611bfc90600160a060020a0316612658565b15611c3b5760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b611c536000805160206133c783398151915233611b5f565b611c95576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b600160a060020a03166000908152601760205260409020805460ff19166001179055565b600081565b6000611050611ccb612770565b846113bd856040518060600160405280602581526020016135666025913960066000611cf5612770565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919061295b565b600254600160a060020a031681565b600061124d83836129f5565b611d49613247565b50336000908152600f60209081526040918290208251608081018452815481526001820154928101929092526002810154928201929092526003909101546060820181905215801590611dc5575080516060820151611da79161258f565b42101580611dc55750600e546060820151611dc19161258f565b4210155b611e035760405160e560020a62461bcd02815260040180806020018281038252602e81526020018061341e602e913960400191505060405180910390fd5b4260608201908152336000818152600f602090815260409182902085518155908501516001820155908401516002820155915160039092019190915561168990612a0b565b600f6020526000908152604090208054600182015460028301546003909301549192909184565b611e876000805160206133c783398151915233611b5f565b611ec9576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b6116897f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed28261126f565b600e5481565b600081815260208190526040812061105490612b28565b611f286000805160206133c783398151915233611b5f565b611f6a576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b600154611f7f90600160a060020a0316612658565b15611fbe5760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b60005b825181101561200857612000838281518110611fd957fe5b6020026020010151838381518110611fed57fe5b6020026020010151620546006000612b33565b600101611fc1565b505050565b600d54600090819081901561207e5760006120486120376001600d5461258f90919063ffffffff16565b61204242600161258f565b90612616565b90506000612059826201518061254d565b9050600a81111561206d576005925061207b565b612078600f82612616565b92505b50505b600b54612089611149565b11156120c6576120a4606461209e88846124f1565b9061254d565b915060006120b6600b54612042611149565b9050808311156120c4578092505b505b50949350505050565b6000828152602081905260409020600201546120ed9061128d612770565b6113415760405160e560020a62461bcd02815260040180806020018281038252603081526020018061344c6030913960400191505060405180910390fd5b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b61216e6000805160206133c783398151915233611b5f565b6121b0576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b6116896000805160206133a78339815191528261126f565b60105460009060ff161515600114806121f057503360009081526017602052604090205460ff165b612244576040805160e560020a62461bcd02815260206004820152601960248201527f5468652070726573616c65206973206e6f742061637469766500000000000000604482015290519081900360640190fd5b6002600454141561229f576040805160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026004556015543410156122fe576040805160e560020a62461bcd02815260206004820152601f60248201527f4d696e696d756d20707572636861736520616d6f756e74206e6f74206d657400604482015290519081900360640190fd5b60145460135461230e903461258f565b11158061232a57503360009081526017602052604090205460ff165b61237e576040805160e560020a62461bcd02815260206004820181905260248201527f50726573616c65206d6178696d756d20616c7265616479206163686965766564604482015290519081900360640190fd5b60115460165461238d916124f1565b6123bb6123a5601154346124f190919063ffffffff16565b336000908152601860205260409020549061258f565b1115612411576040805160e560020a62461bcd02815260206004820152601d60248201527f416d6f756e74206f662065746865722073656e7420746f6f2068696768000000604482015290519081900360640190fd5b6124296123a5601154346124f190919063ffffffff16565b3360009081526018602090815260408083209390935560179052205460ff1661245d57601354612459903461258f565b6013555b33600081815260186020908152604091829020548251938452908301523482820152517f531c8e55a96ff0523b632a56c0fa5421bb41070dbcf7257b046152cc0fa16a309181900360600190a1600354600160a060020a03166108fc6124c9600a61209e3460026124f1565b6040518115909202916000818181858888f19350505050158015610ebc573d6000803e3d6000fd5b60008261250057506000611054565b8282028284828161250d57fe5b041461124d5760405160e560020a62461bcd02815260040180806020018281038252602181526020018061347c6021913960400191505060405180910390fd5b600061124d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612c01565b60008282018381101561124d576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061124d83600160a060020a038416612c69565b600061124d83600160a060020a038416612cb3565b600061124d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061295b565b3b63ffffffff16151590565b336000908152601860205260408120805491905590565b600160a060020a0382166126d9576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6126e560008383612008565b6007546126f2908261258f565b600755600160a060020a038216600090815260056020526040902054612718908261258f565b600160a060020a03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b600160a060020a0383166127bc5760405160e560020a62461bcd02815260040180806020018281038252602481526020018061350b6024913960400191505060405180910390fd5b600160a060020a0382166128045760405160e560020a62461bcd02815260040180806020018281038252602281526020018061333f6022913960400191505060405180910390fd5b600160a060020a03808416600081815260066020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600061124a8484612878858789612ccb565b612d53565b600082815260208190526040902061289590826125ec565b156112da576128a2612770565b600160a060020a031681600160a060020a0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020819052604090206128fe9082612dd5565b156112da5761290b612770565b600160a060020a031681600160a060020a0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600061124d8383612dea565b600081848411156129ed5760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129b257818101518382015260200161299a565b50505050905090810190601f1680156129df5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061124d83612a06848633612ccb565b612e51565b612a13613247565b50600160a060020a0381166000908152600f6020908152604091829020825160808101845281548152600182015492810183905260028201549381019390935260030154606083015215801590612a7257508060400151816020015110155b612ab05760405160e560020a62461bcd0281526004018080602001828103825260398152602001806132926039913960400191505060405180910390fd5b60408101516020820151612ac391612616565b6020808301918252600160a060020a0384166000908152600f9091526040908190208351815591516001830155820151600282015560608201516003909101556112da82612b23612b126112de565b60408501519060ff16600a0a6124f1565b61267b565b600061105482612e65565b600154612b4890600160a060020a0316612658565b15612b875760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b6040805160808101825283815260208101859052908101612ba985600a61254d565b815242602091820152600160a060020a0386166000908152600f82526040908190208351815591830151600183015582015160028201556060909101516003909101558015612bfb57612bfb84612a0b565b50505050565b60008183612c535760405160e560020a62461bcd0281526020600482018181528351602484015283519092839260449091019190850190808383600083156129b257818101518382015260200161299a565b506000838581612c5f57fe5b0495945050505050565b6000612c758383612cb3565b612cab57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611054565b506000611054565b60009081526001919091016020526040902054151590565b6000612cd78284612e69565b15612ce357508261124d565b6000612cf085858561200d565b90508015612d4057612d028382612f1f565b612d25738f951903c9360345b4e1b536c7f5ae8f88a64e79612b2383601961254d565b600354612d4090600160a060020a0316612b2383601961254d565b612d4a8582612616565b95945050505050565b6000612d6084848461301e565b612dcb84612d6c612770565b6113bd8560405180606001604052806028815260200161349d60289139600160a060020a038a16600090815260066020526040812090612daa612770565b600160a060020a03168152602081019190915260400160002054919061295b565b5060019392505050565b600061124d83600160a060020a038416613181565b81546000908210612e2f5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806132706022913960400191505060405180910390fd5b826000018281548110612e3e57fe5b9060005260206000200154905092915050565b6000611050612e5e612770565b848461301e565b5490565b6000612e836000805160206133a783398151915284611b5f565b80612ea15750612ea16000805160206133a783398151915283611b5f565b80612ebf5750612ebf6000805160206133a783398151915233611b5f565b80612eef5750612eef7ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb8383611b5f565b8061124d575061124d7f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed284611b5f565b600160a060020a038216612f675760405160e560020a62461bcd0281526004018080602001828103825260218152602001806134c56021913960400191505060405180910390fd5b612f7382600083612008565b612fb08160405180606001604052806022815260200161331d60229139600160a060020a038516600090815260056020526040902054919061295b565b600160a060020a038316600090815260056020526040902055600754612fd69082612616565b600755604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a0383166130665760405160e560020a62461bcd0281526004018080602001828103825260258152602001806134e66025913960400191505060405180910390fd5b600160a060020a0382166130ae5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806132cb6023913960400191505060405180910390fd5b6130b9838383612008565b6130f68160405180606001604052806026815260200161338160269139600160a060020a038616600090815260056020526040902054919061295b565b600160a060020a038085166000908152600560205260408082209390935590841681522054613125908261258f565b600160a060020a0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818152600183016020526040812054801561323d57835460001980830191908101906000908790839081106131b457fe5b90600052602060002001549050808760000184815481106131d157fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061320157fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611054565b6000915050611054565b604051806080016040528060008152602001600081526020016000815260200160008152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473456e7469726520616c6c6f77616e636520616c726561647920636c61696d65642c206f72206e6f20696e697469616c20616c6c6f77616e636545524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737343616c6c6572206973206e6f7420646576656c6f70657200000000000000000045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365dc72ed553f2544c34465af23b847953efeb813428162d767f9ba5f4013be67604504b9dfd7400a1522f49a8b4a100552da9236849581fd59b7363eb48c6a474c596f752063616e277420706572666f726d207468697320616374696f6e20756e74696c2074686520556e6973776170206c697374696e67416c6c6f77616e636520616c726561647920636c61696d656420666f7220746869732074696d6520706572696f64416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373596f752063616e277420706572666f726d207468697320616374696f6e2061667465722074686520556e6973776170206c697374696e6745524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122002fe9b9799f625105cb4a801af304daab991446bebfd889ec90e5a05b3c3a7f564736f6c634300060c0033456e7469726520616c6c6f77616e636520616c726561647920636c61696d65642c206f72206e6f20696e697469616c20616c6c6f77616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74dc72ed553f2544c34465af23b847953efeb813428162d767f9ba5f4013be67604504b9dfd7400a1522f49a8b4a100552da9236849581fd59b7363eb48c6a474c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77596f752063616e277420706572666f726d207468697320616374696f6e2061667465722074686520556e6973776170206c697374696e67000000000000000000000000754dfc085680b3a6a57e3d9cfeaa9d7eec4febaf00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e9cdbafb6420d8a1379f96e9892ce7eb202be30b00000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000001a6723840ae215e42ca7220b037736f11d317062000000000000000000000000000000000000000000000000000000000000000300000000000000000000000038f5ef8fc99d891ebbe09acf3adc9acaaa48e081000000000000000000000000bf67e713ddef50496c6f27c41eaeecee3a9fa063000000000000000000000000e2726cfee8a2c71e1845af7f83fc1e399af4ace400000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000000000000000000000000000000000000d8d726b7177a800000

Deployed Bytecode

0x6080604052600436106103b4576000357c01000000000000000000000000000000000000000000000000000000009004806370e1d99b116101f9578063a217fddf1161011f578063c7dab436116100bd578063d547741f1161008c578063d547741f14610d3b578063dd62ed3e14610d74578063f80f5dd514610daf578063fdea8e0b14610de2576103b4565b8063c7dab43614610b87578063ca15c87314610b9c578063d001fb8e14610bc6578063d0170ecc14610cfa576103b4565b8063a9059cbb116100f9578063a9059cbb14610aad578063ac30777314610ae6578063b5605c9214610afb578063be53a51114610b54576103b4565b8063a217fddf14610a4a578063a457c2d714610a5f578063a46985cc14610a98576103b4565b806383e71f301161019757806391e7cd441161016657806391e7cd44146109d857806395364a84146109ed57806395d89b4114610a025780639cf071d114610a17576103b4565b806383e71f30146109455780639010d07c1461095a5780639103a0e01461098a57806391d148541461099f576103b4565b80637a9d0758116101d35780637a9d0758146108dc5780637ad8fdc1146108f15780637ede036d14610906578063802921601461091b576103b4565b806370e1d99b1461089d57806379b36943146108b25780637a997ab7146108c7576103b4565b8063248a9ca3116102de57806339d794cf1161027c5780636a76822e1161024b5780636a76822e146107dd5780636d91c0e2146107f25780636fa7279d1461083757806370a082311461086a576103b4565b806339d794cf146107475780633a0a5eac1461075c57806340c10f1914610771578063477f1eba146107aa576103b4565b8063313ce567116102b8578063313ce5671461069557806336568abe146106c057806338bdff54146106f9578063395093511461070e576103b4565b8063248a9ca31461061d57806328160668146106475780632f2ff15d1461065c576103b4565b8063098d32281161035657806318160ddd1161032557806318160ddd1461059b5780631ad2ad1a146105b0578063214039ab146105c557806323b872dd146105da576103b4565b8063098d3228146105295780630aca2e111461053e5780630cd2da381461055357806312cc63dc14610586576103b4565b8063057fa3a011610392578063057fa3a01461042057806306fdde031461043557806308ef2424146104bf578063095ea7b3146104f0576103b4565b8063046ef9a5146103b95780630480e58b146103e257806304c98b2b14610409575b600080fd5b3480156103c557600080fd5b506103ce610dea565b604080519115158252519081900360200190f35b3480156103ee57600080fd5b506103f7610ec5565b60408051918252519081900360200190f35b34801561041557600080fd5b5061041e610ecb565b005b34801561042c57600080fd5b506103f7610f88565b34801561044157600080fd5b5061044a610f8e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561048457818101518382015260200161046c565b50505050905090810190601f1680156104b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156104cb57600080fd5b506104d4611024565b60408051600160a060020a039092168252519081900360200190f35b3480156104fc57600080fd5b506103ce6004803603604081101561051357600080fd5b50600160a060020a03813516906020013561103c565b34801561053557600080fd5b506103f761105a565b34801561054a57600080fd5b506103f7611060565b34801561055f57600080fd5b5061041e6004803603602081101561057657600080fd5b5035600160a060020a0316611066565b34801561059257600080fd5b506103f7611125565b3480156105a757600080fd5b506103f7611149565b3480156105bc57600080fd5b5061041e61114f565b3480156105d157600080fd5b506104d461122e565b3480156105e657600080fd5b506103ce600480360360608110156105fd57600080fd5b50600160a060020a0381358116916020810135909116906040013561123d565b34801561062957600080fd5b506103f76004803603602081101561064057600080fd5b5035611254565b34801561065357600080fd5b506103f7611269565b34801561066857600080fd5b5061041e6004803603604081101561067f57600080fd5b5080359060200135600160a060020a031661126f565b3480156106a157600080fd5b506106aa6112de565b6040805160ff9092168252519081900360200190f35b3480156106cc57600080fd5b5061041e600480360360408110156106e357600080fd5b5080359060200135600160a060020a03166112e7565b34801561070557600080fd5b506103f761134b565b34801561071a57600080fd5b506103ce6004803603604081101561073157600080fd5b50600160a060020a03813516906020013561136f565b34801561075357600080fd5b506104d46113c2565b34801561076857600080fd5b506103f76113d1565b34801561077d57600080fd5b5061041e6004803603604081101561079457600080fd5b50600160a060020a0381351690602001356113f5565b3480156107b657600080fd5b506103f7600480360360208110156107cd57600080fd5b5035600160a060020a03166114f6565b3480156107e957600080fd5b506103f7611508565b3480156107fe57600080fd5b506104d46004803603606081101561081557600080fd5b50600160a060020a03813581169160208101358216916040909101351661150e565b34801561084357600080fd5b5061041e6004803603602081101561085a57600080fd5b5035600160a060020a0316611605565b34801561087657600080fd5b506103f76004803603602081101561088d57600080fd5b5035600160a060020a031661168c565b3480156108a957600080fd5b5061041e6116a7565b3480156108be57600080fd5b506104d46117ba565b3480156108d357600080fd5b506103f76117d2565b3480156108e857600080fd5b506104d46117e4565b3480156108fd57600080fd5b5061041e6117f3565b34801561091257600080fd5b506103f7611aca565b34801561092757600080fd5b5061041e6004803603602081101561093e57600080fd5b5035611ad0565b34801561095157600080fd5b506103f7611b2f565b34801561096657600080fd5b506104d46004803603604081101561097d57600080fd5b5080359060200135611b35565b34801561099657600080fd5b506103f7611b4d565b3480156109ab57600080fd5b506103ce600480360360408110156109c257600080fd5b5080359060200135600160a060020a0316611b5f565b3480156109e457600080fd5b506103f7611b77565b3480156109f957600080fd5b506103ce611b7d565b348015610a0e57600080fd5b5061044a611b86565b348015610a2357600080fd5b5061041e60048036036020811015610a3a57600080fd5b5035600160a060020a0316611be7565b348015610a5657600080fd5b506103f7611cb9565b348015610a6b57600080fd5b506103ce60048036036040811015610a8257600080fd5b50600160a060020a038135169060200135611cbe565b348015610aa457600080fd5b506104d4611d26565b348015610ab957600080fd5b506103ce60048036036040811015610ad057600080fd5b50600160a060020a038135169060200135611d35565b348015610af257600080fd5b5061041e611d41565b348015610b0757600080fd5b50610b2e60048036036020811015610b1e57600080fd5b5035600160a060020a0316611e48565b604080519485526020850193909352838301919091526060830152519081900360800190f35b348015610b6057600080fd5b5061041e60048036036020811015610b7757600080fd5b5035600160a060020a0316611e6f565b348015610b9357600080fd5b506103f7611ef3565b348015610ba857600080fd5b506103f760048036036020811015610bbf57600080fd5b5035611ef9565b348015610bd257600080fd5b5061041e60048036036040811015610be957600080fd5b810190602081018135640100000000811115610c0457600080fd5b820183602082011115610c1657600080fd5b80359060200191846020830284011164010000000083111715610c3857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610c8857600080fd5b820183602082011115610c9a57600080fd5b80359060200191846020830284011164010000000083111715610cbc57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611f10945050505050565b348015610d0657600080fd5b506103f760048036036060811015610d1d57600080fd5b50803590600160a060020a036020820135811691604001351661200d565b348015610d4757600080fd5b5061041e60048036036040811015610d5e57600080fd5b5080359060200135600160a060020a03166120cf565b348015610d8057600080fd5b506103f760048036036040811015610d9757600080fd5b50600160a060020a038135811691602001351661212b565b348015610dbb57600080fd5b5061041e60048036036020811015610dd257600080fd5b5035600160a060020a0316612156565b6103ce6121c8565b600154600090610e0290600160a060020a0316612658565b610e405760405160e560020a62461bcd0281526004018080602001828103825260378152602001806133e76037913960400191505060405180910390fd5b60026004541415610e9b576040805160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026004556000610eaa612664565b90508015610ebc57610ebc338261267b565b50600160045590565b600c5481565b600154610ee090600160a060020a0316612658565b15610f1f5760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b610f376000805160206133c783398151915233611b5f565b610f79576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b6010805460ff19166001179055565b60145481565b60088054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561101a5780601f10610fef5761010080835404028352916020019161101a565b820191906000526020600020905b815481529060010190602001808311610ffd57829003601f168201915b5050505050905090565b738f951903c9360345b4e1b536c7f5ae8f88a64e7981565b6000611050611049612770565b8484612774565b5060015b92915050565b60001981565b601a5481565b61107e6000805160206133c783398151915233611b5f565b6110c0576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b42601a55601b8054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252517f8d5ebd975d9211b464a772dce4b499da8a0a853b034f87f22e20a7734f169e939181900360200190a150565b7fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748981565b60075490565b6111676000805160206133c783398151915233611b5f565b6111a9576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b60105460ff161515600114806111ce57503360009081526017602052604090205460ff165b611222576040805160e560020a62461bcd02815260206004820152601960248201527f5468652070726573616c65206973206e6f742061637469766500000000000000604482015290519081900360640190fd5b6010805460ff19169055565b601b54600160a060020a031681565b600061124a848484612866565b90505b9392505050565b60009081526020819052604090206002015490565b60125481565b6000828152602081905260409020600201546112929061128d612770565b611b5f565b6112d05760405160e560020a62461bcd02815260040180806020018281038252602f8152602001806132ee602f913960400191505060405180910390fd5b6112da828261287d565b5050565b600a5460ff1690565b6112ef612770565b600160a060020a031681600160a060020a0316146113415760405160e560020a62461bcd02815260040180806020018281038252602f81526020018061358b602f913960400191505060405180910390fd5b6112da82826128e6565b7ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb8381565b600061105061137c612770565b846113bd856006600061138d612770565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549061258f565b612774565b600154600160a060020a031681565b7f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed281565b61141f7fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748933611b5f565b611473576040805160e560020a62461bcd02815260206004820152601c60248201527f43616c6c6572206973206e6f742061207374616b696e6720706f6f6c00000000604482015290519081900360640190fd5b600260045414156114ce576040805160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600455600c546114de611149565b116114ed576114ed828261267b565b50506001600455565b60186020526000908152604090205481565b60135481565b600080600083600160a060020a031685600160a060020a031610611533578385611536565b84845b604080516c01000000000000000000000000600160a060020a03948516810260208084019190915293851681026034830152825160288184030181526048830184528051908501207fff00000000000000000000000000000000000000000000000000000000000000606884015294909a1690990260698a0152607d8901929092527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808a01919091528251808a03909101815260bd909801909152865196019590952095945050505050565b61161d6000805160206133c783398151915233611b5f565b61165f576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b6116897ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb838261126f565b50565b600160a060020a031660009081526005602052604090205490565b6116bf6000805160206133c783398151915233611b5f565b611701576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b601a54611711906201518061258f565b42101561171d57600080fd5b601b54611754907fdc6620a9e291af8d2d6799199d9a28fda5ae9826fd9a55fbee69a1275b02748990600160a060020a031661126f565b601b54611779906000805160206133a783398151915290600160a060020a031661126f565b601b5460408051600160a060020a039092168252517ff061281be1aea8bc07e834f42cea49373e1d59969fb72d39674f05a6380493799181900360200190a1565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000805160206133a783398151915281565b600354600160a060020a031681565b61180b6000805160206133c783398151915233611b5f565b61184d576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b60015461186290600160a060020a0316612658565b156118a15760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b42600d556001546118ba90600160a060020a0316612156565b6012543031906000906118ce9083906124f1565b90506118da308261267b565b6019546118f2903090600160a060020a031683612774565b60195460009081908190600160a060020a031663f305d71986308780838761191c6005603c6124f1565b42016040518863ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018087600160a060020a0316815260200186815260200185815260200184815260200183600160a060020a0316815260200182815260200196505050505050506060604051808303818588803b1580156119a457600080fd5b505af11580156119b8573d6000803e3d6000fd5b50505050506040513d60608110156119cf57600080fd5b5080516020820151604090920151600154919550919350909150611a0b906000805160206133a783398151915290600160a060020a03166120cf565b611a376000805160206133a7833981519152737a250d5630b4cf539739df2c5dacb4c659f2488d6120cf565b600154611a4c90600160a060020a0316611e6f565b611a5461114f565b6001546002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055604080518481526020810184905280820183905290517fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39181900360600190a15050505050565b600b5481565b611ae86000805160206133c783398151915233611b5f565b611b2a576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b600e55565b60115481565b600082815260208190526040812061124d908361294f565b6000805160206133c783398151915281565b600082815260208190526040812061124d9083612601565b600d5481565b60105460ff1681565b60098054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561101a5780601f10610fef5761010080835404028352916020019161101a565b600154611bfc90600160a060020a0316612658565b15611c3b5760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b611c536000805160206133c783398151915233611b5f565b611c95576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b600160a060020a03166000908152601760205260409020805460ff19166001179055565b600081565b6000611050611ccb612770565b846113bd856040518060600160405280602581526020016135666025913960066000611cf5612770565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919061295b565b600254600160a060020a031681565b600061124d83836129f5565b611d49613247565b50336000908152600f60209081526040918290208251608081018452815481526001820154928101929092526002810154928201929092526003909101546060820181905215801590611dc5575080516060820151611da79161258f565b42101580611dc55750600e546060820151611dc19161258f565b4210155b611e035760405160e560020a62461bcd02815260040180806020018281038252602e81526020018061341e602e913960400191505060405180910390fd5b4260608201908152336000818152600f602090815260409182902085518155908501516001820155908401516002820155915160039092019190915561168990612a0b565b600f6020526000908152604090208054600182015460028301546003909301549192909184565b611e876000805160206133c783398151915233611b5f565b611ec9576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b6116897f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed28261126f565b600e5481565b600081815260208190526040812061105490612b28565b611f286000805160206133c783398151915233611b5f565b611f6a576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b600154611f7f90600160a060020a0316612658565b15611fbe5760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b60005b825181101561200857612000838281518110611fd957fe5b6020026020010151838381518110611fed57fe5b6020026020010151620546006000612b33565b600101611fc1565b505050565b600d54600090819081901561207e5760006120486120376001600d5461258f90919063ffffffff16565b61204242600161258f565b90612616565b90506000612059826201518061254d565b9050600a81111561206d576005925061207b565b612078600f82612616565b92505b50505b600b54612089611149565b11156120c6576120a4606461209e88846124f1565b9061254d565b915060006120b6600b54612042611149565b9050808311156120c4578092505b505b50949350505050565b6000828152602081905260409020600201546120ed9061128d612770565b6113415760405160e560020a62461bcd02815260040180806020018281038252603081526020018061344c6030913960400191505060405180910390fd5b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b61216e6000805160206133c783398151915233611b5f565b6121b0576040805160e560020a62461bcd0281526020600482015260176024820152600080516020613361833981519152604482015290519081900360640190fd5b6116896000805160206133a78339815191528261126f565b60105460009060ff161515600114806121f057503360009081526017602052604090205460ff165b612244576040805160e560020a62461bcd02815260206004820152601960248201527f5468652070726573616c65206973206e6f742061637469766500000000000000604482015290519081900360640190fd5b6002600454141561229f576040805160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026004556015543410156122fe576040805160e560020a62461bcd02815260206004820152601f60248201527f4d696e696d756d20707572636861736520616d6f756e74206e6f74206d657400604482015290519081900360640190fd5b60145460135461230e903461258f565b11158061232a57503360009081526017602052604090205460ff165b61237e576040805160e560020a62461bcd02815260206004820181905260248201527f50726573616c65206d6178696d756d20616c7265616479206163686965766564604482015290519081900360640190fd5b60115460165461238d916124f1565b6123bb6123a5601154346124f190919063ffffffff16565b336000908152601860205260409020549061258f565b1115612411576040805160e560020a62461bcd02815260206004820152601d60248201527f416d6f756e74206f662065746865722073656e7420746f6f2068696768000000604482015290519081900360640190fd5b6124296123a5601154346124f190919063ffffffff16565b3360009081526018602090815260408083209390935560179052205460ff1661245d57601354612459903461258f565b6013555b33600081815260186020908152604091829020548251938452908301523482820152517f531c8e55a96ff0523b632a56c0fa5421bb41070dbcf7257b046152cc0fa16a309181900360600190a1600354600160a060020a03166108fc6124c9600a61209e3460026124f1565b6040518115909202916000818181858888f19350505050158015610ebc573d6000803e3d6000fd5b60008261250057506000611054565b8282028284828161250d57fe5b041461124d5760405160e560020a62461bcd02815260040180806020018281038252602181526020018061347c6021913960400191505060405180910390fd5b600061124d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612c01565b60008282018381101561124d576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061124d83600160a060020a038416612c69565b600061124d83600160a060020a038416612cb3565b600061124d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061295b565b3b63ffffffff16151590565b336000908152601860205260408120805491905590565b600160a060020a0382166126d9576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6126e560008383612008565b6007546126f2908261258f565b600755600160a060020a038216600090815260056020526040902054612718908261258f565b600160a060020a03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b600160a060020a0383166127bc5760405160e560020a62461bcd02815260040180806020018281038252602481526020018061350b6024913960400191505060405180910390fd5b600160a060020a0382166128045760405160e560020a62461bcd02815260040180806020018281038252602281526020018061333f6022913960400191505060405180910390fd5b600160a060020a03808416600081815260066020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600061124a8484612878858789612ccb565b612d53565b600082815260208190526040902061289590826125ec565b156112da576128a2612770565b600160a060020a031681600160a060020a0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020819052604090206128fe9082612dd5565b156112da5761290b612770565b600160a060020a031681600160a060020a0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600061124d8383612dea565b600081848411156129ed5760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129b257818101518382015260200161299a565b50505050905090810190601f1680156129df5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061124d83612a06848633612ccb565b612e51565b612a13613247565b50600160a060020a0381166000908152600f6020908152604091829020825160808101845281548152600182015492810183905260028201549381019390935260030154606083015215801590612a7257508060400151816020015110155b612ab05760405160e560020a62461bcd0281526004018080602001828103825260398152602001806132926039913960400191505060405180910390fd5b60408101516020820151612ac391612616565b6020808301918252600160a060020a0384166000908152600f9091526040908190208351815591516001830155820151600282015560608201516003909101556112da82612b23612b126112de565b60408501519060ff16600a0a6124f1565b61267b565b600061105482612e65565b600154612b4890600160a060020a0316612658565b15612b875760405160e560020a62461bcd02815260040180806020018281038252603781526020018061352f6037913960400191505060405180910390fd5b6040805160808101825283815260208101859052908101612ba985600a61254d565b815242602091820152600160a060020a0386166000908152600f82526040908190208351815591830151600183015582015160028201556060909101516003909101558015612bfb57612bfb84612a0b565b50505050565b60008183612c535760405160e560020a62461bcd0281526020600482018181528351602484015283519092839260449091019190850190808383600083156129b257818101518382015260200161299a565b506000838581612c5f57fe5b0495945050505050565b6000612c758383612cb3565b612cab57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611054565b506000611054565b60009081526001919091016020526040902054151590565b6000612cd78284612e69565b15612ce357508261124d565b6000612cf085858561200d565b90508015612d4057612d028382612f1f565b612d25738f951903c9360345b4e1b536c7f5ae8f88a64e79612b2383601961254d565b600354612d4090600160a060020a0316612b2383601961254d565b612d4a8582612616565b95945050505050565b6000612d6084848461301e565b612dcb84612d6c612770565b6113bd8560405180606001604052806028815260200161349d60289139600160a060020a038a16600090815260066020526040812090612daa612770565b600160a060020a03168152602081019190915260400160002054919061295b565b5060019392505050565b600061124d83600160a060020a038416613181565b81546000908210612e2f5760405160e560020a62461bcd0281526004018080602001828103825260228152602001806132706022913960400191505060405180910390fd5b826000018281548110612e3e57fe5b9060005260206000200154905092915050565b6000611050612e5e612770565b848461301e565b5490565b6000612e836000805160206133a783398151915284611b5f565b80612ea15750612ea16000805160206133a783398151915283611b5f565b80612ebf5750612ebf6000805160206133a783398151915233611b5f565b80612eef5750612eef7ffb1d7521264a126cafd9b576286638679b3b1108a05b47da7156d35bfcb2bb8383611b5f565b8061124d575061124d7f83e1446b95f1c1d5ef26abb4f97d0668a474fa1461910124bfb15edcb7ae5ed284611b5f565b600160a060020a038216612f675760405160e560020a62461bcd0281526004018080602001828103825260218152602001806134c56021913960400191505060405180910390fd5b612f7382600083612008565b612fb08160405180606001604052806022815260200161331d60229139600160a060020a038516600090815260056020526040902054919061295b565b600160a060020a038316600090815260056020526040902055600754612fd69082612616565b600755604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a0383166130665760405160e560020a62461bcd0281526004018080602001828103825260258152602001806134e66025913960400191505060405180910390fd5b600160a060020a0382166130ae5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806132cb6023913960400191505060405180910390fd5b6130b9838383612008565b6130f68160405180606001604052806026815260200161338160269139600160a060020a038616600090815260056020526040902054919061295b565b600160a060020a038085166000908152600560205260408082209390935590841681522054613125908261258f565b600160a060020a0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818152600183016020526040812054801561323d57835460001980830191908101906000908790839081106131b457fe5b90600052602060002001549050808760000184815481106131d157fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061320157fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611054565b6000915050611054565b604051806080016040528060008152602001600081526020016000815260200160008152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473456e7469726520616c6c6f77616e636520616c726561647920636c61696d65642c206f72206e6f20696e697469616c20616c6c6f77616e636545524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737343616c6c6572206973206e6f7420646576656c6f70657200000000000000000045524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365dc72ed553f2544c34465af23b847953efeb813428162d767f9ba5f4013be67604504b9dfd7400a1522f49a8b4a100552da9236849581fd59b7363eb48c6a474c596f752063616e277420706572666f726d207468697320616374696f6e20756e74696c2074686520556e6973776170206c697374696e67416c6c6f77616e636520616c726561647920636c61696d656420666f7220746869732074696d6520706572696f64416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373596f752063616e277420706572666f726d207468697320616374696f6e2061667465722074686520556e6973776170206c697374696e6745524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122002fe9b9799f625105cb4a801af304daab991446bebfd889ec90e5a05b3c3a7f564736f6c634300060c0033

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

000000000000000000000000754dfc085680b3a6a57e3d9cfeaa9d7eec4febaf00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000e9cdbafb6420d8a1379f96e9892ce7eb202be30b00000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000010000000000000000000000001a6723840ae215e42ca7220b037736f11d317062000000000000000000000000000000000000000000000000000000000000000300000000000000000000000038f5ef8fc99d891ebbe09acf3adc9acaaa48e081000000000000000000000000bf67e713ddef50496c6f27c41eaeecee3a9fa063000000000000000000000000e2726cfee8a2c71e1845af7f83fc1e399af4ace400000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000000000000000000000000000000000000d8d726b7177a8000000000000000000000000000000000000000000000000000d8d726b7177a800000

-----Decoded View---------------
Arg [0] : secondDeveloper (address): 0x754dFC085680b3a6A57E3D9CfeAA9D7EEC4feBAf
Arg [1] : stakingPools (address[]): 0x1a6723840Ae215E42Ca7220B037736f11D317062
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] : 0000000000000000000000001a6723840ae215e42ca7220b037736f11d317062
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 00000000000000000000000038f5ef8fc99d891ebbe09acf3adc9acaaa48e081
Arg [10] : 000000000000000000000000bf67e713ddef50496c6f27c41eaeecee3a9fa063
Arg [11] : 000000000000000000000000e2726cfee8a2c71e1845af7f83fc1e399af4ace4
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 0000000000000000000000000000000000000000000000d8d726b7177a800000
Arg [14] : 0000000000000000000000000000000000000000000000d8d726b7177a800000
Arg [15] : 0000000000000000000000000000000000000000000000d8d726b7177a800000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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