ETH Price: $3,268.58 (+1.54%)

Contract

0x4ef66E564e89a60041EeBcE4716E142626C2f2F4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve203447732024-07-20 2:31:35174 days ago1721442695IN
0x4ef66E56...626C2f2F4
0 ETH0.000097953.94652189
Transfer189211962024-01-02 17:30:59374 days ago1704216659IN
0x4ef66E56...626C2f2F4
0 ETH0.02951155229.00787826
Approve186481822023-11-25 10:41:47412 days ago1700908907IN
0x4ef66E56...626C2f2F4
0 ETH0.0010149321.67369126
Approve183049412023-10-08 9:42:35460 days ago1696758155IN
0x4ef66E56...626C2f2F4
0 ETH0.000422188.96280689
Approve166585102023-02-18 22:34:11692 days ago1676759651IN
0x4ef66E56...626C2f2F4
0 ETH0.0005460422
Approve163095402023-01-01 4:31:11740 days ago1672547471IN
0x4ef66E56...626C2f2F4
0 ETH0.0007586216.10537944
Approve151081002022-07-09 11:33:42916 days ago1657366422IN
0x4ef66E56...626C2f2F4
0 ETH0.0002677410.78757986
Approve148916662022-06-02 15:01:13953 days ago1654182073IN
0x4ef66E56...626C2f2F4
0 ETH0.0018037266.30374349
Approve148916632022-06-02 15:00:42953 days ago1654182042IN
0x4ef66E56...626C2f2F4
0 ETH0.0030735465.25024582
Transfer148915342022-06-02 14:32:19953 days ago1654180339IN
0x4ef66E56...626C2f2F4
0 ETH0.0109013482.80232441
Approve136427562021-11-19 1:21:071148 days ago1637284867IN
0x4ef66E56...626C2f2F4
0 ETH0.0060504128.44776266
Approve134587332021-10-21 3:48:471177 days ago1634788127IN
0x4ef66E56...626C2f2F4
0 ETH0.0032501769
Approve129579452021-08-04 9:53:451255 days ago1628070825IN
0x4ef66E56...626C2f2F4
0 ETH0.0003850626.00000145
Approve129071182021-07-27 8:35:111263 days ago1627374911IN
0x4ef66E56...626C2f2F4
0 ETH0.0009420820
Transfer127644852021-07-05 1:18:271285 days ago1625447907IN
0x4ef66E56...626C2f2F4
0 ETH0.001184679
Approve127193902021-06-28 0:47:011292 days ago1624841221IN
0x4ef66E56...626C2f2F4
0 ETH0.0008478718
Approve124601632021-05-18 19:02:291333 days ago1621364549IN
0x4ef66E56...626C2f2F4
0 ETH0.0034385973
Approve124198802021-05-12 13:32:191339 days ago1620826339IN
0x4ef66E56...626C2f2F4
0 ETH0.01168179248.00000145
Approve123832552021-05-06 21:45:531345 days ago1620337553IN
0x4ef66E56...626C2f2F4
0 ETH0.0030617665
Approve123717572021-05-05 3:19:361346 days ago1620184776IN
0x4ef66E56...626C2f2F4
0 ETH0.0037683280
Approve123696302021-05-04 19:30:071347 days ago1620156607IN
0x4ef66E56...626C2f2F4
0 ETH0.0030146564
Approve123590372021-05-03 4:21:261348 days ago1620015686IN
0x4ef66E56...626C2f2F4
0 ETH0.0015544333
Approve123084122021-04-25 8:38:561356 days ago1619339936IN
0x4ef66E56...626C2f2F4
0 ETH0.0019783642
Approve122223012021-04-12 1:36:391369 days ago1618191399IN
0x4ef66E56...626C2f2F4
0 ETH0.0013180989
Approve121351342021-03-29 16:05:391383 days ago1617033939IN
0x4ef66E56...626C2f2F4
0 ETH0.01093597243
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
117797042021-02-02 23:16:271438 days ago1612307787
0x4ef66E56...626C2f2F4
50 ETH
117797042021-02-02 23:16:271438 days ago1612307787
0x4ef66E56...626C2f2F4
10 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UPStable

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 2000 runs

Other Settings:
byzantium EvmVersion
File 1 of 15 : ZST.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/proxy/Initializable.sol";
import "./external/IUniswapV2Factory.sol";
import "./external/IUniswapV2Router02.sol";
import "./external/IWETH.sol";
import "./Constants.sol";
import "./Setters.sol";

contract UPStable is Setters, Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    modifier taxlessTx {
        _taxLess = true;
        _;
        _taxLess = false;
    }

    constructor () public {
        // uniswapRouterV2 = IUniswapV2Router02(Constants.getRouterAdd());
        // uniswapFactory = IUniswapV2Factory(Constants.getFactoryAdd());
        updateEpoch();
        initializeLargeTotal();
        _totalSupply = 10**5 * 10**9;
        uint256 currentFactor = getFactor();
        _largeBalances[_msgSender()] = _largeBalances[_msgSender()].add(_totalSupply.mul(currentFactor));
        _presaleTime = now + 24 hours;
        _presalePrice = 600000;
        emit Transfer(address(0),_msgSender(),_totalSupply);
    }

    function name() public view returns (string memory) {
        return Constants.getName();
    }
    
    function symbol() public view returns (string memory) {
        return Constants.getSymbol();
    }
    
    function decimals() public view returns (uint8) {
        return Constants.getDecimals();
    }
    
    function totalSupply() public view override returns (uint256) {
        return getTotalSupply();
    }
    
    function balanceOf(address account) public view override returns (uint256) {
        uint256 currentFactor = getFactor();
        return getLargeBalances(account).div(currentFactor);
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return getAllowances(owner,spender);
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), getAllowances(sender,_msgSender()).sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, getAllowances(_msgSender(),spender).add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, getAllowances(_msgSender(),spender).sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        setAllowances(owner, spender, amount);
        emit Approval(owner, spender, amount);
    }

    function _transfer(address sender, address recipient, uint256 amount) private {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Amount must be greater than zero");
        require(amount <= balanceOf(sender),"Amount exceeds balance");
        require(isPresaleDone(),"Presale yet to close");
        if (now > getCurrentEpoch().add(Constants.getEpochLength())) updateEpoch();
        uint256 currentFactor = getFactor();
        uint256 largeAmount = amount.mul(currentFactor);
        uint256 txType;
        if (isTaxLess()) {
            txType = 3;
        } else {
            bool lpBurn;
            if (isSupportedPool(sender)) {
                lpBurn = syncPair(sender);
            } else if (isSupportedPool(recipient)){
                silentSyncPair(recipient);
            } else {
                silentSyncPair(_mainPool);
            }
            txType = _getTxType(sender, recipient, lpBurn);
        }
        // Buy Transaction from supported pools - requires mint, no utility fee
        if (txType == 1) {
            uint256 totalMint = getMintValue(sender, amount);
            // uint256 mintSize = amount.div(100);
            _largeBalances[sender] = _largeBalances[sender].sub(largeAmount);
            _largeBalances[recipient] = _largeBalances[recipient].add(largeAmount);
            _totalSupply = _totalSupply.add(totalMint);
            emit Transfer(sender, recipient, amount);
        }
        // Sells to supported pools or unsupported transfer - requires exit burn and utility fee
        else if (txType == 2) {
            (uint256 burnSize, uint256 largeBurnSize) = getBurnValues(recipient, amount);
            uint256 actualTransferAmount = amount.sub(burnSize);
            uint256 largeTransferAmount = actualTransferAmount.mul(currentFactor);
            _largeBalances[sender] = _largeBalances[sender].sub(largeAmount);
            _largeBalances[recipient] = _largeBalances[recipient].add(largeTransferAmount);
            _totalSupply = _totalSupply.sub(burnSize);
            _largeTotal = _largeTotal.sub(largeBurnSize);
            emit Transfer(sender, recipient, actualTransferAmount);
            emit Transfer(sender, address(0), burnSize);
        } 
        // Add Liquidity via interface or Remove Liquidity Transaction to supported pools - no fee of any sort
        else if (txType == 3) {
            _largeBalances[sender] = _largeBalances[sender].sub(largeAmount);
            _largeBalances[recipient] = _largeBalances[recipient].add(largeAmount);
            emit Transfer(sender, recipient, amount);
        }
    }

    function _getTxType(address sender, address recipient, bool lpBurn) private returns(uint256) {
        uint256 txType = 2;
        if (isSupportedPool(sender)) {
            if (lpBurn) {
                txType = 3;
            } else {
                txType = 1;
            }
        } else if (sender == Constants.getRouterAdd()) {
            txType = 3;
        }
        return txType;
    }

    function setPresaleTime(uint256 time) external onlyOwner() {
        require(isPresaleDone() == false, "This cannot be modified after the presale is done");
        _presaleTime = time;
    }

    function setPresalePrice(uint256 priceInWei) external onlyOwner() {
        require(!isPresaleDone(),"Can only be set before presale");
        _presalePrice = priceInWei;
    }

    // Presale function
    function buyPresale() external payable {
        require(!isPresaleDone(), "Presale is already completed");
        require(_presaleTime <= now, "Presale hasn't started yet");
        require(_presaleParticipation[_msgSender()].add(msg.value) <= Constants.getPresaleIndividualCap(), "Crossed individual cap");
        require(_presalePrice != 0, "Presale price is not set");
        require(msg.value >= Constants.getPresaleIndividualMin(), "Needs to be above min eth!");
        require(!Address.isContract(_msgSender()),"no contracts");
        require(tx.gasprice <= Constants.getMaxPresaleGas(),"gas price above limit");
        uint256 amountToDist = msg.value.div(_presalePrice);
        require(_presaleDist.add(amountToDist) <= Constants.getPresaleCap(), "Presale max cap already reached");
        uint256 currentFactor = getFactor();
        uint256 largeAmount = amountToDist.mul(currentFactor);
        _largeBalances[owner()] = _largeBalances[owner()].sub(largeAmount);
        _largeBalances[_msgSender()] = _largeBalances[_msgSender()].add(largeAmount);
        emit Transfer(owner(), _msgSender(), amountToDist);
        _presaleParticipation[_msgSender()] = _presaleParticipation[_msgSender()].add(msg.value);
        _presaleDist = _presaleDist.add(amountToDist);
    }

    function setPresaleDone() public onlyOwner() {
        require(totalSupply() <= Constants.getLaunchSupply(), "Total supply is already minted");
        _mintRemaining();
        _presaleDone = true;
        _createEthPool();
    }

    function _mintRemaining() private {
        require(!isPresaleDone(), "Cannot mint post presale");
        addToAccount(address(this),70000 * 10 ** 9);
        addToAccount(owner(),15000 * 10 ** 9);
        emit Transfer(address(0),address(this),70000 * 10 ** 9);
    }

    function _createEthPool() private taxlessTx {
        IUniswapV2Router02 uniswapRouterV2 = getUniswapRouter();
        IUniswapV2Factory uniswapFactory = getUniswapFactory();
        address tokenUniswapPair;
        if (uniswapFactory.getPair(address(uniswapRouterV2.WETH()), address(this)) == address(0)) {
            tokenUniswapPair = uniswapFactory.createPair(
            address(uniswapRouterV2.WETH()), address(this));
        } else {
            tokenUniswapPair = uniswapFactory.getPair(address(this),uniswapRouterV2.WETH());
        }
        Constants.getDeployerAdd().transfer(Constants.getDeployerCost());
        _approve(address(this), 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 7 * 10**4 * 10**9);
        uniswapRouterV2.addLiquidityETH{value: address(this).balance}(address(this),
            7 * 10**4 * 10**9, 0, 0, address(this), block.timestamp);
        addSupportedPool(tokenUniswapPair, address(uniswapRouterV2.WETH()));
        _mainPool = tokenUniswapPair;
    }

    function getBurnValues(address recipient, uint256 amount) internal returns(uint256, uint256) {
        uint256 currentFactor = getFactor();
        uint256 contractionR;
        if (isSupportedPool(recipient)) {
            contractionR = (_poolCounters[recipient].tokenBalance).mul(_poolCounters[recipient].startPairTokenBalance).mul(100).div(_poolCounters[recipient].pairTokenBalance).div(_poolCounters[recipient].startTokenBalance);
        } else {
            contractionR = (_poolCounters[_mainPool].tokenBalance).mul(_poolCounters[_mainPool].startPairTokenBalance).mul(100).div(_poolCounters[_mainPool].pairTokenBalance).div(_poolCounters[_mainPool].startTokenBalance);
        }
        uint256 burnAmount;
        if (contractionR > (Constants.getBaseContractionFactor().add(10000)).div(100)) {
            uint256 burnFactor = contractionR.mul(contractionR);
            burnAmount = amount.mul(burnFactor.sub(10000)).div(10000);
            require(burnAmount <= amount.mul(Constants.getBaseContractionCap()).div(10000),"Burn rate at max, can't sell");
        } else {
            burnAmount = amount.mul(Constants.getBaseContractionFactor()).div(10000);
        }
        return (burnAmount, burnAmount.mul(currentFactor));
    }

}

File 2 of 15 : Constants.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

library Constants {
    uint256 private constant MAX = ~uint256(0);
    uint256 private constant _launchSupply = 185000 * 10**9;
    uint256 private constant _largeTotal = (MAX - (MAX % _launchSupply));

    uint256 private constant _deployerCost = 10 ether;

    uint256 private constant _baseExpansionFactor = 300;
    uint256 private constant _baseContractionFactor = 100;
    uint256 private constant _baseUtilityFee = 50;
    uint256 private constant _baseContractionCap = 1000;

    uint256 private constant _presaleIndividualCap = 1 ether;
    uint256 private constant _presaleIndividualMin = 1 ether;
    uint256 private constant _presaleCap = 1 * 10**5 * 10**9;
    uint256 private constant _maxPresaleGas = 200000000000;

    uint256 private constant _epochLength = 30 minutes;

    address private constant _routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    address private constant _factoryAddress = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f;
    address payable private constant _deployerAddress = 0x083c3b9a697596755834dbEF3D0a70a77c36Ae07;

    string private constant _name = "UPSTABLE.PROTOCOL";
    string private constant _symbol = "UPS";
    uint8 private constant _decimals = 9;


    /****** Getters *******/
    function getLaunchSupply() internal pure returns (uint256) {
        return _launchSupply;
    }
    function getLargeTotal() internal pure returns (uint256) {
        return _largeTotal;
    }
    function getBaseExpansionFactor() internal pure returns (uint256) {
        return _baseExpansionFactor;
    }
    function getBaseContractionFactor() internal pure returns (uint256) {
        return _baseContractionFactor;
    }
    function getBaseContractionCap() internal pure returns (uint256) {
        return _baseContractionCap;
    }
    function getDeployerCost() internal pure returns (uint256) {
        return _deployerCost;
    }
    function getPresaleCap() internal pure returns (uint256) {
        return _presaleCap;
    }
    function getPresaleIndividualMin() internal pure returns (uint256) {
        return _presaleIndividualMin;
    }
    function getPresaleIndividualCap() internal pure returns (uint256) {
        return _presaleIndividualCap;
    }
    function getMaxPresaleGas() internal pure returns (uint256) {
        return _maxPresaleGas;
    }
    function getBaseUtilityFee() internal pure returns (uint256) {
        return _baseUtilityFee;
    }
    function getEpochLength() internal pure returns (uint256) {
        return _epochLength;
    }
    function getRouterAdd() internal pure returns (address) {
        return _routerAddress;
    }
    function getFactoryAdd() internal pure returns (address) {
        return _factoryAddress;
    }
    function getDeployerAdd() internal pure returns (address payable) {
        return _deployerAddress;
    }
    function getName() internal pure returns (string memory)  {
        return _name;
    }
    function getSymbol() internal pure returns (string memory) {
        return _symbol;
    }
    function getDecimals() internal pure returns (uint8) {
        return _decimals;
    }

}

File 3 of 15 : Getters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "./external/IUniswapV2Factory.sol";
import "./external/IUniswapV2Router02.sol";
import "./Constants.sol";
import "./State.sol";

contract Getters is State {
    using SafeMath for uint256;
    using Address for address;

    function getLargeBalances(address account) public view returns (uint256) {
        return _largeBalances[account];
    }
    function getAllowances(address account, address spender) public view returns (uint256) {
        return _allowances[account][spender];
    } 
    function getSupportedPools(uint256 index) public view returns (address) {
        return _supportedPools[index];
    }
    function getPoolCounters(address pool) public view returns (address, uint256, uint256, uint256, uint256, uint256) {
        PoolCounter memory pc = _poolCounters[pool];
        return (pc.pairToken, pc.tokenBalance, pc.pairTokenBalance, pc.lpBalance, pc.startTokenBalance, pc.startPairTokenBalance);
    }
    function isSupportedPool(address pool) public view returns (bool) {
        return _isSupportedPool[pool];
    }
    function mainPool() public view returns (address) {
        return _mainPool;
    }
    function getCurrentEpoch() public view returns (uint256) {
        return _currentEpoch;
    }
    function getLargeTotal() public view returns (uint256) {
        return _largeTotal;
    }
    function getTotalSupply() public view returns (uint256) {
        return _totalSupply;
    }
    function isPresaleDone() public view returns (bool) {
        return _presaleDone;
    }
    function isTaxLess() public view returns (bool) {
        return _taxLess;
    }
    function getUniswapRouter() public view returns (IUniswapV2Router02) {
        return IUniswapV2Router02(Constants.getRouterAdd());
    }
    function getUniswapFactory() public view returns (IUniswapV2Factory) {
        return IUniswapV2Factory(Constants.getFactoryAdd());
    }
    function getFactor() public view returns(uint256) {
        if (isPresaleDone()) {
            return _largeTotal.div(_totalSupply);
        } else {
            return _largeTotal.div(Constants.getLaunchSupply());
        }
    }
    function getUpdatedPoolCounters(address pool, address pairToken) public view returns (uint256, uint256, uint256) {
        uint256 lpBalance = IERC20(pool).totalSupply();
        uint256 tokenBalance = IERC20(address(this)).balanceOf(pool);
        uint256 pairTokenBalance = IERC20(address(pairToken)).balanceOf(pool);
        return (tokenBalance, pairTokenBalance, lpBalance);
    }
    function getMintValue(address sender, uint256 amount) internal view returns(uint256) {
        uint256 expansionR = (_poolCounters[sender].pairTokenBalance).mul(_poolCounters[sender].startTokenBalance).mul(100).div(_poolCounters[sender].startPairTokenBalance).div(_poolCounters[sender].tokenBalance);
        uint256 mintAmount;
        if (expansionR > (Constants.getBaseExpansionFactor()).add(10000).div(100)) {
            uint256 mintFactor = expansionR.mul(expansionR);
            mintAmount = amount.mul(mintFactor.sub(10000)).div(10000);
        } else {
            mintAmount = amount.mul(Constants.getBaseExpansionFactor()).div(10000);
        }
        return mintAmount;
    }

    function getUtilityFee(uint256 amount) internal view returns(uint256, uint256) {
        uint256 currentFactor = getFactor();
        uint256 utilityFee = amount.mul(Constants.getBaseUtilityFee()).div(10000);
        return (utilityFee, utilityFee.mul(currentFactor));
    }
    function getMintRate(address pool) external view returns (uint256) {
        uint256 expansionR = (_poolCounters[pool].pairTokenBalance).mul(_poolCounters[pool].startTokenBalance).mul(100).div(_poolCounters[pool].startPairTokenBalance).div(_poolCounters[pool].tokenBalance);
        if (expansionR > (Constants.getBaseExpansionFactor()).add(10000).div(100)) {
            uint256 mintFactor = expansionR.mul(expansionR);
            return mintFactor.sub(10000);
        } else {
            return Constants.getBaseExpansionFactor();
        }
    }
    function getBurnRate(address pool) external view returns (uint256) {
        uint256 contractionR = (_poolCounters[pool].tokenBalance).mul(_poolCounters[pool].startPairTokenBalance).mul(100).div(_poolCounters[pool].pairTokenBalance).div(_poolCounters[pool].startTokenBalance);
        uint256 burnRate;
        if (contractionR > (Constants.getBaseContractionFactor().add(10000)).div(100)) {
            uint256 burnFactor = contractionR.mul(contractionR);
            burnRate = burnFactor.sub(10000);
            if (burnRate > Constants.getBaseContractionCap()) {
                return Constants.getBaseContractionCap();
            }
            return burnRate;

        } else {
            return Constants.getBaseContractionFactor();
        }
    }
}

File 4 of 15 : Setters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "./Constants.sol";
import "./State.sol";
import "./Getters.sol";

contract Setters is State, Getters {
    function setAllowances(address owner, address spender, uint256 amount) internal {
        _allowances[owner][spender] = amount;
    }
    function addToAccount(address account, uint256 amount) internal {
        uint256 currentFactor = getFactor();
        uint256 largeAmount = amount.mul(currentFactor);
        _largeBalances[account] = _largeBalances[account].add(largeAmount);
        _totalSupply = _totalSupply.add(amount);
    }
    function addToAll(uint256 amount) internal {
        _totalSupply = _totalSupply.add(amount);
    }
    function initializeEpoch() internal {
        _currentEpoch = now;
    }
    function updateEpoch() internal {
        initializeEpoch();
        for (uint256 i=0; i<_supportedPools.length; i++) {
            _poolCounters[_supportedPools[i]].startTokenBalance = _poolCounters[_supportedPools[i]].tokenBalance;
            _poolCounters[_supportedPools[i]].startPairTokenBalance = _poolCounters[_supportedPools[i]].pairTokenBalance;
        }
    }
    function initializeLargeTotal() internal {
        _largeTotal = Constants.getLargeTotal();
    }
    function syncPair(address pool) internal returns(bool) {
        (uint256 tokenBalance, uint256 pairTokenBalance, uint256 lpBalance) = getUpdatedPoolCounters(pool, _poolCounters[pool].pairToken);
        bool lpBurn = lpBalance < _poolCounters[pool].lpBalance;
        _poolCounters[pool].lpBalance = lpBalance;
        _poolCounters[pool].tokenBalance = tokenBalance;
        _poolCounters[pool].pairTokenBalance = pairTokenBalance;
        return (lpBurn);
    }
    function silentSyncPair(address pool) public {
        (uint256 tokenBalance, uint256 pairTokenBalance, uint256 lpBalance) = getUpdatedPoolCounters(pool, _poolCounters[pool].pairToken);
        _poolCounters[pool].lpBalance = lpBalance;
        _poolCounters[pool].tokenBalance = tokenBalance;
        _poolCounters[pool].pairTokenBalance = pairTokenBalance;
    }
    function addSupportedPool(address pool, address pairToken) internal {
        require(!isSupportedPool(pool),"This pool is already supported");
        _isSupportedPool[pool] = true;
        _supportedPools.push(pool);
        (uint256 tokenBalance, uint256 pairTokenBalance, uint256 lpBalance) = getUpdatedPoolCounters(pool, pairToken);
        _poolCounters[pool] = PoolCounter(pairToken, tokenBalance, pairTokenBalance, lpBalance, tokenBalance, pairTokenBalance);
    }
    function removeSupportedPool(address pool) internal {
        require(isSupportedPool(pool), "This pool is currently not supported");
        for (uint256 i = 0; i < _supportedPools.length; i++) {
            if (_supportedPools[i] == pool) {
                _supportedPools[i] = _supportedPools[_supportedPools.length - 1];
                _isSupportedPool[pool] = false;
                delete _poolCounters[pool];
                _supportedPools.pop();
                break;
            }
        }
    }
}

File 5 of 15 : State.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

contract State {

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

    // Supported pools and data for measuring mint & burn factors
    struct PoolCounter {
        address pairToken;
        uint256 tokenBalance;
        uint256 pairTokenBalance;
        uint256 lpBalance;
        uint256 startTokenBalance;
        uint256 startPairTokenBalance;
    }

    address[] _supportedPools;
    mapping (address => PoolCounter) _poolCounters;
    mapping (address => bool) _isSupportedPool;
    address _mainPool;

    uint256 _currentEpoch;
 
    uint256 _largeTotal;
    uint256 _totalSupply;

    uint256 _presaleDist;
    uint256 _presaleTime;
    uint256 _presalePrice;
    mapping (address => uint256) _presaleParticipation;
    bool _presaleDone;
    
    bool _taxLess;
}

File 6 of 15 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 7 of 15 : 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 8 of 15 : 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;
}

File 9 of 15 : IWETH.sol
pragma solidity >=0.5.0;

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

File 10 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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 11 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

File 12 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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 13 of 15 : Initializable.sol
// SPDX-License-Identifier: MIT

// solhint-disable-next-line compiler-version
pragma solidity >=0.4.24 <0.8.0;


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 * 
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 * 
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        // extcodesize checks the size of the code stored in an address, and
        // address returns the current address. Since the code is still not
        // deployed when running a constructor, any checks on its code size will
        // yield zero, making it an effective way to detect if a contract is
        // under construction or not.
        address self = address(this);
        uint256 cs;
        // solhint-disable-next-line no-inline-assembly
        assembly { cs := extcodesize(self) }
        return cs == 0;
    }
}

File 14 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"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":[],"name":"buyPresale","outputs":[],"stateMutability":"payable","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":"address","name":"account","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"getAllowances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"getBurnRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getLargeBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLargeTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"getMintRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"getPoolCounters","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getSupportedPools","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUniswapFactory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"address","name":"pairToken","type":"address"}],"name":"getUpdatedPoolCounters","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"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":"isPresaleDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"isSupportedPool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTaxLess","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPresaleDone","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"setPresaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"silentSyncPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50600062000027640100000000620001d7810204565b600d80546201000060b060020a03191662010000600160a060020a03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35062000092640100000000620001dc810204565b620000a56401000000006200032a810204565b655af3107a40006008556000620000c464010000000062000347810204565b6008549091506200012e90620000e990836401000000006200135e620003bd82021704565b600080620000ff640100000000620001d7810204565b600160a060020a0316815260208101919091526040016000205490640100000000620013a06200042982021704565b60008062000144640100000000620001d7810204565b600160a060020a03168152602081019190915260400160002055620151804201600a55620927c0600b5562000181640100000000620001d7810204565b600160a060020a03166000600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600854604051620001c8919062000621565b60405180910390a3506200062a565b335b90565b620001ef6401000000006200046b810204565b60005b600254811015620003275760036000600283815481106200020f57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020019081526020016000206001015460036000600284815481106200026357fe5b6000918252602080832090910154600160a060020a0316835282019290925260400181206004019190915560028054600392919084908110620002a257fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001908152602001600020600201546003600060028481548110620002f657fe5b6000918252602080832090910154600160a060020a03168352820192909252604001902060050155600101620001f2565b50565b62000342640100000000620013cd6200047182021704565b600755565b60006200035c6401000000006200047c810204565b1562000389576008546007546200038191640100000000620013f16200048582021704565b9050620001d9565b62000381620003a564010000000062001433620004d882021704565b60075490640100000000620013f16200048582021704565b600082620003ce5750600062000423565b82820282848281620003dc57fe5b041462000420576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041790620005c4565b60405180910390fd5b90505b92915050565b60008282018381101562000420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000417906200058d565b42600655565b657d6e671a1fff1990565b600d5460ff1690565b60006200042083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620004e2640100000000026401000000009004565b65a841ab48900090565b6000818362000520576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000417919062000537565b5060008385816200052d57fe5b0495945050505050565b6000602080835283518082850152825b81811015620005655785810183015185820160400152820162000547565b81811115620005775783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b90815260200190565b613173806200063a6000396000f3fe60806040526004361061026c576000357c01000000000000000000000000000000000000000000000000000000009004806380c2bbd211610155578063ae2089ad116100cd578063bf9a3a1b1161009c578063dd62ed3e11610081578063dd62ed3e14610636578063ec2b4e3614610656578063f2fde38b146106765761026c565b8063bf9a3a1b146105f2578063c4e41b22146106215761026c565b8063ae2089ad14610588578063b21c3278146105a8578063b72455bd146105c8578063b97dd9e2146105dd5761026c565b806395d89b4111610124578063a457c2d711610109578063a457c2d714610533578063a5a302d314610553578063a9059cbb146105685761026c565b806395d89b41146105165780639fcdec611461052b5761026c565b806380c2bbd21461049a57806389398783146104ba5780638da5cb5b146104ec578063927ac386146105015761026c565b80633eedf63c116101e85780635184cc43116101b757806370a082311161019c57806370a0823114610445578063715018a6146104655780637dff26801461047a5761026c565b80635184cc431461041b578063524900b5146104305761026c565b80633eedf63c146103a657806342b5f375146103bb57806348ce8584146103db5780634f78aa82146103fb5761026c565b806323ecdf611161023f5780633549345e116102245780633549345e1461034257806339509351146103645780633e6dfa36146103845761026c565b806323ecdf611461030b578063313ce567146103205761026c565b806306fdde0314610271578063095ea7b31461029c57806318160ddd146102c957806323b872dd146102eb575b600080fd5b34801561027d57600080fd5b50610286610696565b60405161029391906129c1565b60405180910390f35b3480156102a857600080fd5b506102bc6102b7366004612889565b6106a6565b60405161029391906129ad565b3480156102d557600080fd5b506102de6106c4565b60405161029391906129b8565b3480156102f757600080fd5b506102bc610306366004612849565b6106ce565b34801561031757600080fd5b506102bc610726565b34801561032c57600080fd5b50610335610734565b60405161029391906130ad565b34801561034e57600080fd5b5061036261035d3660046128b4565b61073e565b005b34801561037057600080fd5b506102bc61037f366004612889565b6107bc565b34801561039057600080fd5b506103996107e5565b6040516102939190612911565b3480156103b257600080fd5b506103626107ef565b3480156103c757600080fd5b506102de6103d63660046127d9565b610887565b3480156103e757600080fd5b506103626103f63660046128b4565b610953565b34801561040757600080fd5b506102de6104163660046127d9565b6109c8565b34801561042757600080fd5b506102de610a57565b34801561043c57600080fd5b50610399610a90565b34801561045157600080fd5b506102de6104603660046127d9565b610a9a565b34801561047157600080fd5b50610362610abb565b34801561048657600080fd5b506103996104953660046128b4565b610b66565b3480156104a657600080fd5b506103626104b53660046127d9565b610b90565b3480156104c657600080fd5b506104da6104d53660046127d9565b610bf5565b6040516102939695949392919061297a565b3480156104f857600080fd5b50610399610c81565b34801561050d57600080fd5b506102bc610c96565b34801561052257600080fd5b50610286610c9f565b610362610ca9565b34801561053f57600080fd5b506102bc61054e366004612889565b610fbc565b34801561055f57600080fd5b50610399610ff8565b34801561057457600080fd5b506102bc610583366004612889565b611007565b34801561059457600080fd5b506102de6105a33660046127d9565b61101b565b3480156105b457600080fd5b506102de6105c3366004612811565b611036565b3480156105d457600080fd5b506102de611061565b3480156105e957600080fd5b506102de611067565b3480156105fe57600080fd5b5061061261060d366004612811565b61106d565b60405161029393929190613097565b34801561062d57600080fd5b506102de61123d565b34801561064257600080fd5b506102de610651366004612811565b611243565b34801561066257600080fd5b506102bc6106713660046127d9565b61124f565b34801561068257600080fd5b506103626106913660046127d9565b61126d565b60606106a061143d565b90505b90565b60006106ba6106b3611474565b8484611478565b5060015b92915050565b60006106a061123d565b60006106db84848461152f565b61071c846106e7611474565b610717856040518060600160405280602881526020016130f1602891396107108a6105c3611474565b91906119cd565b611478565b5060019392505050565b600d54610100900460ff1690565b60006106a0611a01565b610746611474565b600d54620100009004600160a060020a0390811691161461078a576040516000805160206130d1833981519152815260040161078190612e38565b60405180910390fd5b610792610c96565b156107b7576040516000805160206130d1833981519152815260040161078190612cc8565b600b55565b60006106ba6107c9611474565b84610717856107df6107d9611474565b89611036565b906113a0565b60006106a0611a06565b6107f7611474565b600d54620100009004600160a060020a03908116911614610832576040516000805160206130d1833981519152815260040161078190612e38565b61083a611433565b6108426106c4565b1115610868576040516000805160206130d1833981519152815260040161078190612e6d565b610870611a1e565b600d805460ff19166001179055610885611ab7565b565b600160a060020a038116600090815260036020526040812060048101546002820154600583015460019093015484936108dc93926108d692909183916064916108d0919061135e565b9061135e565b906113f1565b905060006108f360646108d66127106107df612061565b821115610941576000610906838061135e565b905061091481612710612066565b915061091e6120a8565b8211156109375761092d6120a8565b935050505061094e565b50915061094e9050565b610949612061565b925050505b919050565b61095b611474565b600d54620100009004600160a060020a03908116911614610996576040516000805160206130d1833981519152815260040161078190612e38565b61099e610c96565b156109c3576040516000805160206130d183398151915281526004016107819061303a565b600a55565b600160a060020a03811660009081526003602052604081206001810154600582015460048301546002909301548493610a1193926108d692909183916064916108d0919061135e565b9050610a2660646108d66127106107df6120ae565b811115610a47576000610a39828061135e565b905061094981612710612066565b610a4f6120ae565b91505061094e565b6000610a61610c96565b15610a7c57600854600754610a75916113f1565b90506106a3565b610a75610a87611433565b600754906113f1565b60006106a06120b4565b600080610aa5610a57565b9050610ab4816108d68561101b565b9392505050565b610ac3611474565b600d54620100009004600160a060020a03908116911614610afe576040516000805160206130d1833981519152815260040161078190612e38565b600d54604051600091620100009004600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600d80547fffffffffffffffffffff0000000000000000000000000000000000000000ffff169055565b600060028281548110610b7557fe5b600091825260209091200154600160a060020a031692915050565b600160a060020a03808216600090815260036020526040812054909182918291610bbc9186911661106d565b600160a060020a039096166000908152600360208190526040909120908101969096556001860191909155600290940193909355505050565b600080600080600080610c0661279a565b50505050600160a060020a03938416600090815260036020818152604092839020835160c0810185528154909816808952600182015492890183905260028201549489018590529281015460608901819052600482015460808a0181905260059092015460a090990189905292989197939650919450909250565b600d54620100009004600160a060020a031690565b600d5460ff1690565b60606106a06120cc565b610cb1610c96565b15610cd6576040516000805160206130d1833981519152815260040161078190612d36565b42600a541115610d00576040516000805160206130d1833981519152815260040161078190612b34565b610d08612103565b610d3834600c6000610d18611474565b600160a060020a03168152602081019190915260400160002054906113a0565b1115610d5e576040516000805160206130d1833981519152815260040161078190613003565b600b54610d85576040516000805160206130d1833981519152815260040161078190612e01565b610d8d612103565b341015610db4576040516000805160206130d1833981519152815260040161078190612afd565b610dc4610dbf611474565b61210f565b15610de9576040516000805160206130d1833981519152815260040161078190612d6d565b610df1612115565b3a1115610e18576040516000805160206130d1833981519152815260040161078190612cff565b6000610e2f600b54346113f190919063ffffffff16565b9050610e3961211e565b600954610e4690836113a0565b1115610e6c576040516000805160206130d1833981519152815260040161078190612fcc565b6000610e76610a57565b90506000610e84838361135e565b9050610eb581600080610e95610c81565b600160a060020a0316815260208101919091526040016000205490612066565b600080610ec0610c81565b600160a060020a0316600160a060020a0316815260200190815260200160002081905550610ef381600080610d18611474565b600080610efe611474565b600160a060020a03168152602081019190915260400160002055610f20611474565b600160a060020a0316610f31610c81565b600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051610f6991906129b8565b60405180910390a3610f8134600c6000610d18611474565b600c6000610f8d611474565b600160a060020a03168152602081019190915260400160002055600954610fb490846113a0565b600955505050565b60006106ba610fc9611474565b846107178560405180606001604052806025815260200161311960259139610710610ff2611474565b8a611036565b600554600160a060020a031690565b60006106ba611014611474565b848461152f565b600160a060020a031660009081526020819052604090205490565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b60075490565b60065490565b60008060008085600160a060020a03166318160ddd6040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b1580156110c857600080fd5b505afa1580156110dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110091906128cc565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815290915060009030906370a0823190611142908a90600401612911565b60206040518083038186803b15801561115a57600080fd5b505afa15801561116e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119291906128cc565b9050600086600160a060020a03166370a08231896040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016111de9190612911565b60206040518083038186803b1580156111f657600080fd5b505afa15801561120a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122e91906128cc565b91989197509195509350505050565b60085490565b6000610ab48383611036565b600160a060020a031660009081526004602052604090205460ff1690565b611275611474565b600d54620100009004600160a060020a039081169116146112b0576040516000805160206130d1833981519152815260040161078190612e38565b600160a060020a0381166112de576040516000805160206130d1833981519152815260040161078190612b6b565b600d54604051600160a060020a038084169262010000900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d8054600160a060020a0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60008261136d575060006106be565b8282028284828161137a57fe5b0414610ab4576040516000805160206130d1833981519152815260040161078190612da4565b600082820183811015610ab4576040516000805160206130d1833981519152815260040161078190612c25565b7fffffffffffffffffffffffffffffffffffffffffffffffffffff829198e5e00090565b6000610ab483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612128565b65a841ab48900090565b60408051808201909152601181527f5550535441424c452e50524f544f434f4c000000000000000000000000000000602082015290565b3390565b600160a060020a0383166114a6576040516000805160206130d1833981519152815260040161078190612f38565b600160a060020a0382166114d4576040516000805160206130d1833981519152815260040161078190612bc8565b6114df838383612167565b81600160a060020a031683600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161152291906129b8565b60405180910390a3505050565b600160a060020a03831661155d576040516000805160206130d1833981519152815260040161078190612ea4565b600160a060020a03821661158b576040516000805160206130d1833981519152815260040161078190612a69565b600081116115b3576040516000805160206130d1833981519152815260040161078190612c5c565b6115bc83610a9a565b8111156115e3576040516000805160206130d1833981519152815260040161078190612a32565b6115eb610c96565b61160f576040516000805160206130d1833981519152815260040161078190612c91565b61162261161a612193565b6107df611067565b42111561163157611631612199565b600061163b610a57565b90506000611649838361135e565b90506000611655610726565b15611662575060036116c2565b600061166d8761124f565b156116825761167b876122d6565b90506116b3565b61168b8661124f565b1561169e5761169986610b90565b6116b3565b6005546116b390600160a060020a0316610b90565b6116be878783612341565b9150505b80600114156117a95760006116d78786612397565b600160a060020a0388166000908152602081905260409020549091506116fd9084612066565b600160a060020a03808916600090815260208190526040808220939093559088168152205461172c90846113a0565b600160a060020a03871660009081526020819052604090205560085461175290826113a0565b60088190555085600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161179b91906129b8565b60405180910390a3506119c5565b806002141561190f576000806117bf878761244f565b909250905060006117d08784612066565b905060006117de828861135e565b600160a060020a038b166000908152602081905260409020549091506118049087612066565b600160a060020a03808c1660009081526020819052604080822093909355908b168152205461183390826113a0565b600160a060020a038a166000908152602081905260409020556008546118599085612066565b6008556007546118699084612066565b60078190555088600160a060020a03168a600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118b291906129b8565b60405180910390a36000600160a060020a03168a600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040516118fe91906129b8565b60405180910390a3505050506119c5565b80600314156119c557600160a060020a03861660009081526020819052604090205461193b9083612066565b600160a060020a03808816600090815260208190526040808220939093559087168152205461196a90836113a0565b600160a060020a0380871660008181526020819052604090819020939093559151908816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906119bc9088906129b8565b60405180910390a35b505050505050565b600081848411156119f9576040516000805160206130d1833981519152815260040161078191906129c1565b505050900390565b600990565b735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f90565b611a26610c96565b15611a4b576040516000805160206130d1833981519152815260040161078190612ac6565b611a5b30653faa252260006125bc565b611a72611a66610c81565b650da475abf0006125bc565b60405130906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611aad90653faa25226000906129b8565b60405180910390a3565b600d805461ff0019166101001790556000611ad0610a90565b90506000611adc6107e5565b9050600080600160a060020a031682600160a060020a031663e6a4390585600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b158015611b4e57600080fd5b505afa158015611b62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8691906127f5565b306040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611bc0929190612925565b60206040518083038186803b158015611bd857600080fd5b505afa158015611bec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1091906127f5565b600160a060020a03161415611d4e5781600160a060020a031663c9c6539684600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b158015611c8357600080fd5b505afa158015611c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbb91906127f5565b306040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611cf5929190612925565b602060405180830381600087803b158015611d0f57600080fd5b505af1158015611d23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4791906127f5565b9050611e77565b81600160a060020a031663e6a439053085600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b158015611db357600080fd5b505afa158015611dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611deb91906127f5565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611e24929190612925565b60206040518083038186803b158015611e3c57600080fd5b505afa158015611e50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7491906127f5565b90505b611e7f612629565b600160a060020a03166108fc611e93612641565b6040518115909202916000818181858888f19350505050158015611ebb573d6000803e3d6000fd5b50611ee130737a250d5630b4cf539739df2c5dacb4c659f2488d653faa25226000611478565b6040517ff305d719000000000000000000000000000000000000000000000000000000008152600160a060020a0384169063f305d7199030803191611f3a9190653faa252260009060009081908490429060040161293f565b6060604051808303818588803b158015611f5357600080fd5b505af1158015611f67573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611f8c91906128e4565b5050506120258184600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b158015611fe857600080fd5b505afa158015611ffc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202091906127f5565b61264d565b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555050600d805461ff0019169055565b606490565b6000610ab483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119cd565b6103e890565b61012c90565b737a250d5630b4cf539739df2c5dacb4c659f2488d90565b60408051808201909152600381527f5550530000000000000000000000000000000000000000000000000000000000602082015290565b670de0b6b3a764000090565b3b151590565b642e90edd00090565b655af3107a400090565b60008183612151576040516000805160206130d1833981519152815260040161078191906129c1565b50600083858161215d57fe5b0495945050505050565b600160a060020a0392831660009081526001602090815260408083209490951682529290925291902055565b61070890565b6121a1612794565b60005b6002548110156122d35760036000600283815481106121bf57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a0316815260200190815260200160002060010154600360006002848154811061221257fe5b6000918252602080832090910154600160a060020a031683528201929092526040018120600401919091556002805460039291908490811061225057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020019081526020016000206002015460036000600284815481106122a357fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020600501556001016121a4565b50565b600160a060020a0380821660009081526003602052604081205490918291829182916123049187911661106d565b600160a060020a03979097166000908152600360208190526040909120908101805490899055600182019390935560020155909410949350505050565b6000600261234e8561124f565b1561236a57821561236157506003612365565b5060015b61238f565b6123726120b4565b600160a060020a031685600160a060020a0316141561238f575060035b949350505050565b600160a060020a038216600090815260036020526040812060018101546005820154600483015460029093015484936123e093926108d692909183916064916108d0919061135e565b905060006123f760646108d66127106107df6120ae565b82111561242e57600061240a838061135e565b90506124266127106108d661241f8483612066565b889061135e565b91505061238f565b6124466127106108d661243f6120ae565b879061135e565b95945050505050565b600080600061245c610a57565b905060006124698661124f565b156124b957600160a060020a03861660009081526003602052604090206004810154600282015460058301546001909301546124b2936108d6929183916064916108d09161135e565b9050612504565b60058054600160a060020a0316600090815260036020526040902060048101546002820154928201546001909201546125019391926108d6929183916064916108d09161135e565b90505b600061251960646108d66127106107df612061565b82111561258857600061252c838061135e565b90506125486127106108d66125418483612066565b8a9061135e565b915061255b6127106108d66125416120a8565b821115612582576040516000805160206130d1833981519152815260040161078190612f01565b506125a3565b6125a06127106108d6612599612061565b899061135e565b90505b806125ae818561135e565b945094505050509250929050565b60006125c6610a57565b905060006125d4838361135e565b600160a060020a0385166000908152602081905260409020549091506125fa90826113a0565b600160a060020a03851660009081526020819052604090205560085461262090846113a0565b60085550505050565b73083c3b9a697596755834dbef3d0a70a77c36ae0790565b678ac7230489e8000090565b6126568261124f565b1561267b576040516000805160206130d1833981519152815260040161078190612f95565b600160a060020a0382166000818152600460205260408120805460ff1916600190811790915560028054918201815582527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff191690921790915580806126f9858561106d565b6040805160c081018252600160a060020a0398891681526020808201868152828401868152606084019586526080840197885260a084019687529b8b166000908152600392839052939093209151825473ffffffffffffffffffffffffffffffffffffffff19169a16999099178155905160018201559751600289015551958701959095555160048601555050905160059092019190915550565b42600655565b6040518060c001604052806000600160a060020a0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000602082840312156127ea578081fd5b8135610ab4816130bb565b600060208284031215612806578081fd5b8151610ab4816130bb565b60008060408385031215612823578081fd5b823561282e816130bb565b9150602083013561283e816130bb565b809150509250929050565b60008060006060848603121561285d578081fd5b8335612868816130bb565b92506020840135612878816130bb565b929592945050506040919091013590565b6000806040838503121561289b578182fd5b82356128a6816130bb565b946020939093013593505050565b6000602082840312156128c5578081fd5b5035919050565b6000602082840312156128dd578081fd5b5051919050565b6000806000606084860312156128f8578283fd5b8351925060208401519150604084015190509250925092565b600160a060020a0391909116815260200190565b600160a060020a0392831681529116602082015260400190565b600160a060020a039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600160a060020a03969096168652602086019490945260408501929092526060840152608083015260a082015260c00190565b901515815260200190565b90815260200190565b6000602080835283518082850152825b818110156129ed578581018301518582016040015282016129d1565b818111156129fe5783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526016908201527f416d6f756e7420657863656564732062616c616e636500000000000000000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f43616e6e6f74206d696e7420706f73742070726573616c650000000000000000604082015260600190565b6020808252601a908201527f4e6565647320746f2062652061626f7665206d696e2065746821000000000000604082015260600190565b6020808252601a908201527f50726573616c65206861736e2774207374617274656420796574000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252818101527f416d6f756e74206d7573742062652067726561746572207468616e207a65726f604082015260600190565b60208082526014908201527f50726573616c652079657420746f20636c6f7365000000000000000000000000604082015260600190565b6020808252601e908201527f43616e206f6e6c7920626520736574206265666f72652070726573616c650000604082015260600190565b60208082526015908201527f6761732070726963652061626f7665206c696d69740000000000000000000000604082015260600190565b6020808252601c908201527f50726573616c6520697320616c726561647920636f6d706c6574656400000000604082015260600190565b6020808252600c908201527f6e6f20636f6e7472616374730000000000000000000000000000000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f50726573616c65207072696365206973206e6f74207365740000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601e908201527f546f74616c20737570706c7920697320616c7265616479206d696e7465640000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4275726e2072617465206174206d61782c2063616e27742073656c6c00000000604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f5468697320706f6f6c20697320616c726561647920737570706f727465640000604082015260600190565b6020808252601f908201527f50726573616c65206d61782063617020616c7265616479207265616368656400604082015260600190565b60208082526016908201527f43726f7373656420696e646976696475616c2063617000000000000000000000604082015260600190565b60208082526031908201527f546869732063616e6e6f74206265206d6f64696669656420616674657220746860408201527f652070726573616c6520697320646f6e65000000000000000000000000000000606082015260800190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b600160a060020a03811681146122d357600080fdfe08c379a00000000000000000000000000000000000000000000000000000000045524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c9a91ac65344465522a78c9efddae6abb45bfb6385d008dc71e8e06eb66d2f1064736f6c634300060c0033

Deployed Bytecode

0x60806040526004361061026c576000357c01000000000000000000000000000000000000000000000000000000009004806380c2bbd211610155578063ae2089ad116100cd578063bf9a3a1b1161009c578063dd62ed3e11610081578063dd62ed3e14610636578063ec2b4e3614610656578063f2fde38b146106765761026c565b8063bf9a3a1b146105f2578063c4e41b22146106215761026c565b8063ae2089ad14610588578063b21c3278146105a8578063b72455bd146105c8578063b97dd9e2146105dd5761026c565b806395d89b4111610124578063a457c2d711610109578063a457c2d714610533578063a5a302d314610553578063a9059cbb146105685761026c565b806395d89b41146105165780639fcdec611461052b5761026c565b806380c2bbd21461049a57806389398783146104ba5780638da5cb5b146104ec578063927ac386146105015761026c565b80633eedf63c116101e85780635184cc43116101b757806370a082311161019c57806370a0823114610445578063715018a6146104655780637dff26801461047a5761026c565b80635184cc431461041b578063524900b5146104305761026c565b80633eedf63c146103a657806342b5f375146103bb57806348ce8584146103db5780634f78aa82146103fb5761026c565b806323ecdf611161023f5780633549345e116102245780633549345e1461034257806339509351146103645780633e6dfa36146103845761026c565b806323ecdf611461030b578063313ce567146103205761026c565b806306fdde0314610271578063095ea7b31461029c57806318160ddd146102c957806323b872dd146102eb575b600080fd5b34801561027d57600080fd5b50610286610696565b60405161029391906129c1565b60405180910390f35b3480156102a857600080fd5b506102bc6102b7366004612889565b6106a6565b60405161029391906129ad565b3480156102d557600080fd5b506102de6106c4565b60405161029391906129b8565b3480156102f757600080fd5b506102bc610306366004612849565b6106ce565b34801561031757600080fd5b506102bc610726565b34801561032c57600080fd5b50610335610734565b60405161029391906130ad565b34801561034e57600080fd5b5061036261035d3660046128b4565b61073e565b005b34801561037057600080fd5b506102bc61037f366004612889565b6107bc565b34801561039057600080fd5b506103996107e5565b6040516102939190612911565b3480156103b257600080fd5b506103626107ef565b3480156103c757600080fd5b506102de6103d63660046127d9565b610887565b3480156103e757600080fd5b506103626103f63660046128b4565b610953565b34801561040757600080fd5b506102de6104163660046127d9565b6109c8565b34801561042757600080fd5b506102de610a57565b34801561043c57600080fd5b50610399610a90565b34801561045157600080fd5b506102de6104603660046127d9565b610a9a565b34801561047157600080fd5b50610362610abb565b34801561048657600080fd5b506103996104953660046128b4565b610b66565b3480156104a657600080fd5b506103626104b53660046127d9565b610b90565b3480156104c657600080fd5b506104da6104d53660046127d9565b610bf5565b6040516102939695949392919061297a565b3480156104f857600080fd5b50610399610c81565b34801561050d57600080fd5b506102bc610c96565b34801561052257600080fd5b50610286610c9f565b610362610ca9565b34801561053f57600080fd5b506102bc61054e366004612889565b610fbc565b34801561055f57600080fd5b50610399610ff8565b34801561057457600080fd5b506102bc610583366004612889565b611007565b34801561059457600080fd5b506102de6105a33660046127d9565b61101b565b3480156105b457600080fd5b506102de6105c3366004612811565b611036565b3480156105d457600080fd5b506102de611061565b3480156105e957600080fd5b506102de611067565b3480156105fe57600080fd5b5061061261060d366004612811565b61106d565b60405161029393929190613097565b34801561062d57600080fd5b506102de61123d565b34801561064257600080fd5b506102de610651366004612811565b611243565b34801561066257600080fd5b506102bc6106713660046127d9565b61124f565b34801561068257600080fd5b506103626106913660046127d9565b61126d565b60606106a061143d565b90505b90565b60006106ba6106b3611474565b8484611478565b5060015b92915050565b60006106a061123d565b60006106db84848461152f565b61071c846106e7611474565b610717856040518060600160405280602881526020016130f1602891396107108a6105c3611474565b91906119cd565b611478565b5060019392505050565b600d54610100900460ff1690565b60006106a0611a01565b610746611474565b600d54620100009004600160a060020a0390811691161461078a576040516000805160206130d1833981519152815260040161078190612e38565b60405180910390fd5b610792610c96565b156107b7576040516000805160206130d1833981519152815260040161078190612cc8565b600b55565b60006106ba6107c9611474565b84610717856107df6107d9611474565b89611036565b906113a0565b60006106a0611a06565b6107f7611474565b600d54620100009004600160a060020a03908116911614610832576040516000805160206130d1833981519152815260040161078190612e38565b61083a611433565b6108426106c4565b1115610868576040516000805160206130d1833981519152815260040161078190612e6d565b610870611a1e565b600d805460ff19166001179055610885611ab7565b565b600160a060020a038116600090815260036020526040812060048101546002820154600583015460019093015484936108dc93926108d692909183916064916108d0919061135e565b9061135e565b906113f1565b905060006108f360646108d66127106107df612061565b821115610941576000610906838061135e565b905061091481612710612066565b915061091e6120a8565b8211156109375761092d6120a8565b935050505061094e565b50915061094e9050565b610949612061565b925050505b919050565b61095b611474565b600d54620100009004600160a060020a03908116911614610996576040516000805160206130d1833981519152815260040161078190612e38565b61099e610c96565b156109c3576040516000805160206130d183398151915281526004016107819061303a565b600a55565b600160a060020a03811660009081526003602052604081206001810154600582015460048301546002909301548493610a1193926108d692909183916064916108d0919061135e565b9050610a2660646108d66127106107df6120ae565b811115610a47576000610a39828061135e565b905061094981612710612066565b610a4f6120ae565b91505061094e565b6000610a61610c96565b15610a7c57600854600754610a75916113f1565b90506106a3565b610a75610a87611433565b600754906113f1565b60006106a06120b4565b600080610aa5610a57565b9050610ab4816108d68561101b565b9392505050565b610ac3611474565b600d54620100009004600160a060020a03908116911614610afe576040516000805160206130d1833981519152815260040161078190612e38565b600d54604051600091620100009004600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600d80547fffffffffffffffffffff0000000000000000000000000000000000000000ffff169055565b600060028281548110610b7557fe5b600091825260209091200154600160a060020a031692915050565b600160a060020a03808216600090815260036020526040812054909182918291610bbc9186911661106d565b600160a060020a039096166000908152600360208190526040909120908101969096556001860191909155600290940193909355505050565b600080600080600080610c0661279a565b50505050600160a060020a03938416600090815260036020818152604092839020835160c0810185528154909816808952600182015492890183905260028201549489018590529281015460608901819052600482015460808a0181905260059092015460a090990189905292989197939650919450909250565b600d54620100009004600160a060020a031690565b600d5460ff1690565b60606106a06120cc565b610cb1610c96565b15610cd6576040516000805160206130d1833981519152815260040161078190612d36565b42600a541115610d00576040516000805160206130d1833981519152815260040161078190612b34565b610d08612103565b610d3834600c6000610d18611474565b600160a060020a03168152602081019190915260400160002054906113a0565b1115610d5e576040516000805160206130d1833981519152815260040161078190613003565b600b54610d85576040516000805160206130d1833981519152815260040161078190612e01565b610d8d612103565b341015610db4576040516000805160206130d1833981519152815260040161078190612afd565b610dc4610dbf611474565b61210f565b15610de9576040516000805160206130d1833981519152815260040161078190612d6d565b610df1612115565b3a1115610e18576040516000805160206130d1833981519152815260040161078190612cff565b6000610e2f600b54346113f190919063ffffffff16565b9050610e3961211e565b600954610e4690836113a0565b1115610e6c576040516000805160206130d1833981519152815260040161078190612fcc565b6000610e76610a57565b90506000610e84838361135e565b9050610eb581600080610e95610c81565b600160a060020a0316815260208101919091526040016000205490612066565b600080610ec0610c81565b600160a060020a0316600160a060020a0316815260200190815260200160002081905550610ef381600080610d18611474565b600080610efe611474565b600160a060020a03168152602081019190915260400160002055610f20611474565b600160a060020a0316610f31610c81565b600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051610f6991906129b8565b60405180910390a3610f8134600c6000610d18611474565b600c6000610f8d611474565b600160a060020a03168152602081019190915260400160002055600954610fb490846113a0565b600955505050565b60006106ba610fc9611474565b846107178560405180606001604052806025815260200161311960259139610710610ff2611474565b8a611036565b600554600160a060020a031690565b60006106ba611014611474565b848461152f565b600160a060020a031660009081526020819052604090205490565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b60075490565b60065490565b60008060008085600160a060020a03166318160ddd6040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b1580156110c857600080fd5b505afa1580156110dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110091906128cc565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815290915060009030906370a0823190611142908a90600401612911565b60206040518083038186803b15801561115a57600080fd5b505afa15801561116e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119291906128cc565b9050600086600160a060020a03166370a08231896040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016111de9190612911565b60206040518083038186803b1580156111f657600080fd5b505afa15801561120a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122e91906128cc565b91989197509195509350505050565b60085490565b6000610ab48383611036565b600160a060020a031660009081526004602052604090205460ff1690565b611275611474565b600d54620100009004600160a060020a039081169116146112b0576040516000805160206130d1833981519152815260040161078190612e38565b600160a060020a0381166112de576040516000805160206130d1833981519152815260040161078190612b6b565b600d54604051600160a060020a038084169262010000900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d8054600160a060020a0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60008261136d575060006106be565b8282028284828161137a57fe5b0414610ab4576040516000805160206130d1833981519152815260040161078190612da4565b600082820183811015610ab4576040516000805160206130d1833981519152815260040161078190612c25565b7fffffffffffffffffffffffffffffffffffffffffffffffffffff829198e5e00090565b6000610ab483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612128565b65a841ab48900090565b60408051808201909152601181527f5550535441424c452e50524f544f434f4c000000000000000000000000000000602082015290565b3390565b600160a060020a0383166114a6576040516000805160206130d1833981519152815260040161078190612f38565b600160a060020a0382166114d4576040516000805160206130d1833981519152815260040161078190612bc8565b6114df838383612167565b81600160a060020a031683600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161152291906129b8565b60405180910390a3505050565b600160a060020a03831661155d576040516000805160206130d1833981519152815260040161078190612ea4565b600160a060020a03821661158b576040516000805160206130d1833981519152815260040161078190612a69565b600081116115b3576040516000805160206130d1833981519152815260040161078190612c5c565b6115bc83610a9a565b8111156115e3576040516000805160206130d1833981519152815260040161078190612a32565b6115eb610c96565b61160f576040516000805160206130d1833981519152815260040161078190612c91565b61162261161a612193565b6107df611067565b42111561163157611631612199565b600061163b610a57565b90506000611649838361135e565b90506000611655610726565b15611662575060036116c2565b600061166d8761124f565b156116825761167b876122d6565b90506116b3565b61168b8661124f565b1561169e5761169986610b90565b6116b3565b6005546116b390600160a060020a0316610b90565b6116be878783612341565b9150505b80600114156117a95760006116d78786612397565b600160a060020a0388166000908152602081905260409020549091506116fd9084612066565b600160a060020a03808916600090815260208190526040808220939093559088168152205461172c90846113a0565b600160a060020a03871660009081526020819052604090205560085461175290826113a0565b60088190555085600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161179b91906129b8565b60405180910390a3506119c5565b806002141561190f576000806117bf878761244f565b909250905060006117d08784612066565b905060006117de828861135e565b600160a060020a038b166000908152602081905260409020549091506118049087612066565b600160a060020a03808c1660009081526020819052604080822093909355908b168152205461183390826113a0565b600160a060020a038a166000908152602081905260409020556008546118599085612066565b6008556007546118699084612066565b60078190555088600160a060020a03168a600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118b291906129b8565b60405180910390a36000600160a060020a03168a600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040516118fe91906129b8565b60405180910390a3505050506119c5565b80600314156119c557600160a060020a03861660009081526020819052604090205461193b9083612066565b600160a060020a03808816600090815260208190526040808220939093559087168152205461196a90836113a0565b600160a060020a0380871660008181526020819052604090819020939093559151908816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906119bc9088906129b8565b60405180910390a35b505050505050565b600081848411156119f9576040516000805160206130d1833981519152815260040161078191906129c1565b505050900390565b600990565b735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f90565b611a26610c96565b15611a4b576040516000805160206130d1833981519152815260040161078190612ac6565b611a5b30653faa252260006125bc565b611a72611a66610c81565b650da475abf0006125bc565b60405130906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611aad90653faa25226000906129b8565b60405180910390a3565b600d805461ff0019166101001790556000611ad0610a90565b90506000611adc6107e5565b9050600080600160a060020a031682600160a060020a031663e6a4390585600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b158015611b4e57600080fd5b505afa158015611b62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8691906127f5565b306040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611bc0929190612925565b60206040518083038186803b158015611bd857600080fd5b505afa158015611bec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1091906127f5565b600160a060020a03161415611d4e5781600160a060020a031663c9c6539684600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b158015611c8357600080fd5b505afa158015611c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbb91906127f5565b306040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611cf5929190612925565b602060405180830381600087803b158015611d0f57600080fd5b505af1158015611d23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4791906127f5565b9050611e77565b81600160a060020a031663e6a439053085600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b158015611db357600080fd5b505afa158015611dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611deb91906127f5565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611e24929190612925565b60206040518083038186803b158015611e3c57600080fd5b505afa158015611e50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7491906127f5565b90505b611e7f612629565b600160a060020a03166108fc611e93612641565b6040518115909202916000818181858888f19350505050158015611ebb573d6000803e3d6000fd5b50611ee130737a250d5630b4cf539739df2c5dacb4c659f2488d653faa25226000611478565b6040517ff305d719000000000000000000000000000000000000000000000000000000008152600160a060020a0384169063f305d7199030803191611f3a9190653faa252260009060009081908490429060040161293f565b6060604051808303818588803b158015611f5357600080fd5b505af1158015611f67573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611f8c91906128e4565b5050506120258184600160a060020a031663ad5c46486040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b158015611fe857600080fd5b505afa158015611ffc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202091906127f5565b61264d565b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555050600d805461ff0019169055565b606490565b6000610ab483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119cd565b6103e890565b61012c90565b737a250d5630b4cf539739df2c5dacb4c659f2488d90565b60408051808201909152600381527f5550530000000000000000000000000000000000000000000000000000000000602082015290565b670de0b6b3a764000090565b3b151590565b642e90edd00090565b655af3107a400090565b60008183612151576040516000805160206130d1833981519152815260040161078191906129c1565b50600083858161215d57fe5b0495945050505050565b600160a060020a0392831660009081526001602090815260408083209490951682529290925291902055565b61070890565b6121a1612794565b60005b6002548110156122d35760036000600283815481106121bf57fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a0316815260200190815260200160002060010154600360006002848154811061221257fe5b6000918252602080832090910154600160a060020a031683528201929092526040018120600401919091556002805460039291908490811061225057fe5b9060005260206000200160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020019081526020016000206002015460036000600284815481106122a357fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020600501556001016121a4565b50565b600160a060020a0380821660009081526003602052604081205490918291829182916123049187911661106d565b600160a060020a03979097166000908152600360208190526040909120908101805490899055600182019390935560020155909410949350505050565b6000600261234e8561124f565b1561236a57821561236157506003612365565b5060015b61238f565b6123726120b4565b600160a060020a031685600160a060020a0316141561238f575060035b949350505050565b600160a060020a038216600090815260036020526040812060018101546005820154600483015460029093015484936123e093926108d692909183916064916108d0919061135e565b905060006123f760646108d66127106107df6120ae565b82111561242e57600061240a838061135e565b90506124266127106108d661241f8483612066565b889061135e565b91505061238f565b6124466127106108d661243f6120ae565b879061135e565b95945050505050565b600080600061245c610a57565b905060006124698661124f565b156124b957600160a060020a03861660009081526003602052604090206004810154600282015460058301546001909301546124b2936108d6929183916064916108d09161135e565b9050612504565b60058054600160a060020a0316600090815260036020526040902060048101546002820154928201546001909201546125019391926108d6929183916064916108d09161135e565b90505b600061251960646108d66127106107df612061565b82111561258857600061252c838061135e565b90506125486127106108d66125418483612066565b8a9061135e565b915061255b6127106108d66125416120a8565b821115612582576040516000805160206130d1833981519152815260040161078190612f01565b506125a3565b6125a06127106108d6612599612061565b899061135e565b90505b806125ae818561135e565b945094505050509250929050565b60006125c6610a57565b905060006125d4838361135e565b600160a060020a0385166000908152602081905260409020549091506125fa90826113a0565b600160a060020a03851660009081526020819052604090205560085461262090846113a0565b60085550505050565b73083c3b9a697596755834dbef3d0a70a77c36ae0790565b678ac7230489e8000090565b6126568261124f565b1561267b576040516000805160206130d1833981519152815260040161078190612f95565b600160a060020a0382166000818152600460205260408120805460ff1916600190811790915560028054918201815582527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff191690921790915580806126f9858561106d565b6040805160c081018252600160a060020a0398891681526020808201868152828401868152606084019586526080840197885260a084019687529b8b166000908152600392839052939093209151825473ffffffffffffffffffffffffffffffffffffffff19169a16999099178155905160018201559751600289015551958701959095555160048601555050905160059092019190915550565b42600655565b6040518060c001604052806000600160a060020a0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000602082840312156127ea578081fd5b8135610ab4816130bb565b600060208284031215612806578081fd5b8151610ab4816130bb565b60008060408385031215612823578081fd5b823561282e816130bb565b9150602083013561283e816130bb565b809150509250929050565b60008060006060848603121561285d578081fd5b8335612868816130bb565b92506020840135612878816130bb565b929592945050506040919091013590565b6000806040838503121561289b578182fd5b82356128a6816130bb565b946020939093013593505050565b6000602082840312156128c5578081fd5b5035919050565b6000602082840312156128dd578081fd5b5051919050565b6000806000606084860312156128f8578283fd5b8351925060208401519150604084015190509250925092565b600160a060020a0391909116815260200190565b600160a060020a0392831681529116602082015260400190565b600160a060020a039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600160a060020a03969096168652602086019490945260408501929092526060840152608083015260a082015260c00190565b901515815260200190565b90815260200190565b6000602080835283518082850152825b818110156129ed578581018301518582016040015282016129d1565b818111156129fe5783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526016908201527f416d6f756e7420657863656564732062616c616e636500000000000000000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f43616e6e6f74206d696e7420706f73742070726573616c650000000000000000604082015260600190565b6020808252601a908201527f4e6565647320746f2062652061626f7665206d696e2065746821000000000000604082015260600190565b6020808252601a908201527f50726573616c65206861736e2774207374617274656420796574000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252818101527f416d6f756e74206d7573742062652067726561746572207468616e207a65726f604082015260600190565b60208082526014908201527f50726573616c652079657420746f20636c6f7365000000000000000000000000604082015260600190565b6020808252601e908201527f43616e206f6e6c7920626520736574206265666f72652070726573616c650000604082015260600190565b60208082526015908201527f6761732070726963652061626f7665206c696d69740000000000000000000000604082015260600190565b6020808252601c908201527f50726573616c6520697320616c726561647920636f6d706c6574656400000000604082015260600190565b6020808252600c908201527f6e6f20636f6e7472616374730000000000000000000000000000000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f50726573616c65207072696365206973206e6f74207365740000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601e908201527f546f74616c20737570706c7920697320616c7265616479206d696e7465640000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4275726e2072617465206174206d61782c2063616e27742073656c6c00000000604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f5468697320706f6f6c20697320616c726561647920737570706f727465640000604082015260600190565b6020808252601f908201527f50726573616c65206d61782063617020616c7265616479207265616368656400604082015260600190565b60208082526016908201527f43726f7373656420696e646976696475616c2063617000000000000000000000604082015260600190565b60208082526031908201527f546869732063616e6e6f74206265206d6f64696669656420616674657220746860408201527f652070726573616c6520697320646f6e65000000000000000000000000000000606082015260800190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b600160a060020a03811681146122d357600080fdfe08c379a00000000000000000000000000000000000000000000000000000000045524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c9a91ac65344465522a78c9efddae6abb45bfb6385d008dc71e8e06eb66d2f1064736f6c634300060c0033

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.