ETH Price: $3,604.76 (+8.49%)

Token

PolkaParty (POLP)
 

Overview

Max Total Supply

200,000,000 POLP

Holders

421

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
9,512.245483877367749019 POLP

Value
$0.00
0xa13fC94b0dd2F72E889e2b07470538977ef21200
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Expanding the PolkaDot ecosystem with a user-friendly social network that exists to be the on-ramp to DeFi, DAO’s, and many other exclusive features.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PolkaParty

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 500 runs

Other Settings:
default evmVersion
File 1 of 12 : PolkaParty.sol
// SPDX-License-Identifier: Unlicensed

/**
   #PolkaParty features:
   5% fee auto add to the liquidity pool to locked forever when selling
   0% fee auto distribute to all holders - Governance vote will determine fee 
 */

pragma solidity >=0.7.6;


import './IERC20.sol';
import './IUniswapV2Factory.sol';
import './IUniswapV2Pair.sol';
import './IUniswapV2Router01.sol';
import './IUniswapV2Router02.sol';
import './IPolkaBank.sol';

import './SafeMath.sol';
import './Address.sol';

import './Context.sol';
import './Ownable.sol';



contract PolkaParty is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;
    
    IERC20 private _usdc;

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

    mapping (address => bool) private _isExcludedFromFee;

    mapping (address => bool) private _isExcluded;
    address[] private _excluded;
   
    uint256 private constant MAX = ~uint256(0);
    uint256 private constant _tTotal = 200000000 * (10**18);
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private constant _name = "PolkaParty";
    string private constant _symbol = "POLP";
    uint8 private constant _decimals = 18;
    // tx fee distributed amongst all users
    uint256 public _distributionFee = 0;
    // Previous tx fee distributed amongst all users
    uint256 private _previousDistributionFee = _distributionFee;
    // tx fee collected for liquidity pool
    uint256 public _liquidityFee = 5;
    // Previous tx fee collected for liquidity pool
    uint256 private _previousLiquidityFee = _liquidityFee;

    IUniswapV2Router02 public immutable uniswapV2Router;
    
    address public immutable uniswapPairB;
    address public immutable uniswapV2Pair;
    address public _bankAddress;
   
    
    bool private inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;
    
    uint256 public _maxTxAmount = 60000000 * (10**18);
    uint256 private constant numTokensSellToAddToLiquidity = 100000 * (10**18);
    
    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
    
    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }
    
    constructor (IERC20 usdc ) {
        _rOwned[_msgSender()] = _rTotal;
        // uniswap router address
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        
        // uniswap tokenB pair address --> USDC
        address pairB = address(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);
       
        // Create a uniswap pair for this new token 
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
        .createPair(address(this), pairB);

        // set the rest of the contract variables
        uniswapV2Router = _uniswapV2Router;
        _usdc = usdc;
        uniswapPairB = pairB;
        
        // exclude owner and this contract from fee
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        
        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public pure returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    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 _allowances[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(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

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

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

    function isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function deliver(uint256 tAmount) public {
        address sender = _msgSender();
        require(!_isExcluded[sender], "Excluded addresses cannot call this function");
        (uint256 rAmount,,,,,) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rTotal = _rTotal.sub(rAmount);
        _tFeeTotal = _tFeeTotal.add(tAmount);
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount,,,,,) = _getValues(tAmount);
            return rAmount;
        } else {
            (,uint256 rTransferAmount,,,,) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate =  _getRate();
        return rAmount.div(currentRate);
    }

    function excludeFromReward(address account) public onlyOwner() {
        // require(account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude Uniswap router.');
        require(!_isExcluded[account], "Account is not excluded");
        if(_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(address account) external onlyOwner() {
        require(_isExcluded[account], "Account is already excluded");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }
        function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);        
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }
    
        function setBankAddress (address bankAddress) external onlyOwner{
         _bankAddress = bankAddress; 
        }
    
        function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }
    
    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }
    
    function setDistributionFeePercent(uint256 distributionFee) external onlyOwner() {
        _distributionFee = distributionFee;
    }
    
    function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() {
        _liquidityFee = liquidityFee;
    }
   
    function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() {
        _maxTxAmount = _tTotal.mul(maxTxPercent).div(
            10**2
        );
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }
    
     //to receive USDT from uniswapV2Router when swapping
    receive() external payable {}

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate());
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity);
    }

    function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) {
        uint256 tFee = calculateDistributionFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
        return (tTransferAmount, tFee, tLiquidity);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns(uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns(uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;      
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }
    
    function _takeLiquidity(uint256 tLiquidity) private {
        uint256 currentRate =  _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
        if(_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
    }
    
    function calculateDistributionFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_distributionFee).div(
            10**2
        );
    }

    function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_liquidityFee).div(
            10**2
        );
    }
    
    function removeAllFee() private {
        if(_distributionFee == 0 && _liquidityFee == 0) return;
        
        _previousDistributionFee = _distributionFee;
        _previousLiquidityFee = _liquidityFee;
        
        _distributionFee = 0;
        _liquidityFee = 0;
    }
    
    function restoreAllFee() private {
        _distributionFee = _previousDistributionFee;
        _liquidityFee = _previousLiquidityFee;
    }
    
    function isExcludedFromFee(address account) public view returns(bool) {
        return _isExcludedFromFee[account];
    }

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

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if(from != owner() && to != owner())
            require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");

        // is the token balance of this contract address over the min number of
        // tokens that we need to initiate a swap + liquidity lock?
        // also, don't get caught in a circular liquidity event.
        // also, don't swap & liquify if sender is uniswap pair.
        uint256 contractTokenBalance = balanceOf(address(this));
        
        if(contractTokenBalance >= _maxTxAmount)
        {
            contractTokenBalance = _maxTxAmount;
        }
        
        bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity;
        if (
            overMinTokenBalance &&
            !inSwapAndLiquify &&
            from != uniswapV2Pair &&
            swapAndLiquifyEnabled
        ) {
            contractTokenBalance = numTokensSellToAddToLiquidity;
            // add liquidity
            swapAndLiquify(contractTokenBalance);
        }
        
        // indicates if fee should be deducted from transfer
        bool takeFee = true;
        
        // if any account belongs to _isExcludedFromFee account then remove the fee
        if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){
            takeFee = false;
        }
        
        // transfer amount, it will take tax, burn, liquidity fee
        _tokenTransfer(from,to,amount,takeFee);
    }

    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        IPolkaBank _BANK = IPolkaBank(_bankAddress);
        // split the contract balance into halves
        uint256 half = contractTokenBalance.div(2);
        uint256 otherHalf = contractTokenBalance.sub(half);

        // capture the contract's current USDC balance.
        // this is so that we can capture exactly the amount of USDC that the
        // swap creates, and not make the liquidity event include any USDC that
        // has been manually sent to the contract
        uint256 initialBalance =  _usdc.balanceOf(address(this));

        // swap tokens for USDC
        swapTokensForUSDC(half); // <- this breaks the USDC -> HATE swap when swap+liquify is triggered

        // withdraw USDC from bank 
        _BANK.bankWithdraw();
        
        // how much USDC did we just swap into?
        uint256 newBalance = _usdc.balanceOf(address(this)).sub(initialBalance);

        // add liquidity to uniswap
        addLiquidity(otherHalf, newBalance);
        
        emit SwapAndLiquify(half, newBalance, otherHalf);
    }
    
    function swapTokensForUSDC(uint256 tokenAmount) private {
        // --> Generate the uniswap pair path of token -> USDC
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapPairB;
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        
        // --> Make the USDC Swap 
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of USDC
            path,
            _bankAddress,
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 usdcAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        _usdc.approve(address(uniswapV2Router), usdcAmount);

        // add the liquidity
        uniswapV2Router.addLiquidity(
            address(this),
            uniswapPairB,
            tokenAmount,
            usdcAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            owner(),
            block.timestamp
        );
    }

    // this method is responsible for taking all fee, if takeFee is true
    function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private {
        if(!takeFee)
            removeAllFee();
        
        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }
        
        if(!takeFee)
            restoreAllFee();
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);           
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);   
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

   
     // transfer any leftover USDC from contract 
    function removeLeftoverUSDC() external onlyOwner{
      require(msg.sender == owner(), 'Unauthorized Address');
      uint256 bankBalance = _usdc.balanceOf(address(this));
      _usdc.transfer(msg.sender, bankBalance);
    }
    
    
    function removeLeftoverPolka (uint256 _tokenAmount) external onlyOwner {
      require(msg.sender == owner(), 'Unauthorized Address');
      IERC20(address(this)).transfer(msg.sender, _tokenAmount);
    }
    

}

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

pragma solidity ^0.7.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);
    }

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

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

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

File 3 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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 4 of 12 : IUniswapV2Factory.sol
// SPDX-License-Identifier: Unlicensed
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 5 of 12 : IUniswapV2Pair.sol
// SPDX-License-Identifier: Unlicensed
pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

File 6 of 12 : IUniswapV2Router01.sol
// SPDX-License-Identifier: Unlicensed
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 7 of 12 : IUniswapV2Router02.sol
// SPDX-License-Identifier: Unlicensed
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 8 of 12 : IPolkaBank.sol
// SPDX-License-Identifier: Unlicensed
pragma solidity >=0.7.6;
 
 
 interface IPolkaBank {
     
     function bankDeposit(uint256 usdcAmount) external;
     
     function bankWithdraw() external;
 }

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

pragma solidity ^0.7.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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 10 of 12 : 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 12 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "./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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 12 : PolkaBank.sol
// SPDX-License-Identifier: Unlicensed
pragma solidity >=0.7.6;


import './IERC20.sol';
import './SafeMath.sol';
import './Address.sol';


import './Context.sol';
import './Ownable.sol';


// Alternative route after calling v2 swap function  
// UniswaoFactory.sol line 165  
// require(to != _token0 && to != _token1, 'UniswapV2: INVALID_TO');  
// Normally you would never want these circumstances except 
// this scenario where the token is essentially self sustaining


contract PolkaBank is Context, Ownable {

 using SafeMath for uint256;
 using Address for address;
 
 
 IERC20 private _usdc;
 address public immutable _polkaContract;
 
 constructor (address polkaContract, IERC20 usdc) {
     _usdc = usdc;
     _polkaContract = polkaContract;

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

    // Added in case of any unforseen errors 
    function bankDeposit( uint256 usdcAmount) external {
     require(msg.sender == owner(), 'Unauthorized Address');    
     _usdc.transferFrom(msg.sender, address(this), usdcAmount);
 }

    // Make token transfer back to primary contract 
    function bankWithdraw() external {
      require(msg.sender == _polkaContract, 'Unauthorized Address');
      uint256 bankBalance = _usdc.balanceOf(address(this));
     _usdc.transfer(_polkaContract, bankBalance);
 }
 
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"usdc","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_bankAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_distributionFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"removeLeftoverPolka","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLeftoverUSDC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bankAddress","type":"address"}],"name":"setBankAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"distributionFee","type":"uint256"}],"name":"setDistributionFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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"},{"inputs":[],"name":"uniswapPairB","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040526a87b0b4d075b8302fffffff196008556000600a819055600b556005600c819055600d55600e805460ff60a81b1916600160a81b1790556a31a17e847807b1bc000000600f553480156200005757600080fd5b506040516200316038038062003160833981810160405260208110156200007d57600080fd5b505160006200008b6200031b565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060085460026000620000e66200031b565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050600073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489050816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200017657600080fd5b505afa1580156200018b573d6000803e3d6000fd5b505050506040513d6020811015620001a257600080fd5b5051604080516364e329cb60e11b81523060048201526001600160a01b0384811660248301529151919092169163c9c653969160448083019260209291908290030181600087803b158015620001f757600080fd5b505af11580156200020c573d6000803e3d6000fd5b505050506040513d60208110156200022357600080fd5b5051606090811b6001600160601b031990811660c05283821b8116608052600180546001600160a01b0319166001600160a01b0387161781559183901b1660a05260056000620002726200031f565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526005909252902080549091166001179055620002bc6200031b565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6aa56fa5b99019a5c80000006040518082815260200191505060405180910390a35050506200032e565b3390565b6000546001600160a01b031690565b60805160601c60a05160601c60c05160601c612dd46200038c60003980610ef05280611bf8525080610c8352806124c7528061273452508061099752806125195280612540528061263b528061267b528061270c5250612dd46000f3fe6080604052600436106102345760003560e01c806353d168e71161012e57806395d89b41116100ab578063dd62ed3e1161006f578063dd62ed3e146107e8578063ea2f0b3714610823578063f2fde38b14610856578063f8134adc14610889578063fc3c0eee146108b35761023b565b806395d89b411461070b578063a457c2d714610720578063a9059cbb14610759578063c49b9a8014610792578063d543dbeb146107be5761023b565b806388f82020116100f257806388f820201461066f5780638da5cb5b146106a25780638e19208a146106b75780638e75c124146106cc5780638ee88c53146106e15761023b565b806353d168e7146105e85780636bc87c3a146105fd57806370a0823114610612578063715018a6146106455780637d1db4a51461065a5761023b565b80633685d419116101bc5780634549b039116101805780634549b0391461052657806349bd5a5e146105585780634a74bb021461056d57806352390c02146105825780635342acb4146105b55761023b565b80633685d41914610448578063389635b21461047b57806339509351146104905780633bd5d173146104c9578063437823ec146104f35761023b565b80631694505e116102035780631694505e1461036a57806318160ddd1461039b57806323b872dd146103b05780632d838119146103f3578063313ce5671461041d5761023b565b806306fdde0314610240578063095ea7b3146102ca57806311fb15111461031757806313114a9d146103435761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b506102556108e6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028f578181015183820152602001610277565b50505050905090810190601f1680156102bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102d657600080fd5b50610303600480360360408110156102ed57600080fd5b506001600160a01b03813516906020013561090a565b604080519115158252519081900360200190f35b34801561032357600080fd5b506103416004803603602081101561033a57600080fd5b5035610928565b005b34801561034f57600080fd5b5061035861098f565b60408051918252519081900360200190f35b34801561037657600080fd5b5061037f610995565b604080516001600160a01b039092168252519081900360200190f35b3480156103a757600080fd5b506103586109b9565b3480156103bc57600080fd5b50610303600480360360608110156103d357600080fd5b506001600160a01b038135811691602081013590911690604001356109c8565b3480156103ff57600080fd5b506103586004803603602081101561041657600080fd5b5035610a4f565b34801561042957600080fd5b50610432610ab1565b6040805160ff9092168252519081900360200190f35b34801561045457600080fd5b506103416004803603602081101561046b57600080fd5b50356001600160a01b0316610ab6565b34801561048757600080fd5b5061037f610c81565b34801561049c57600080fd5b50610303600480360360408110156104b357600080fd5b506001600160a01b038135169060200135610ca5565b3480156104d557600080fd5b50610341600480360360208110156104ec57600080fd5b5035610cf3565b3480156104ff57600080fd5b506103416004803603602081101561051657600080fd5b50356001600160a01b0316610dcd565b34801561053257600080fd5b506103586004803603604081101561054957600080fd5b50803590602001351515610e53565b34801561056457600080fd5b5061037f610eee565b34801561057957600080fd5b50610303610f12565b34801561058e57600080fd5b50610341600480360360208110156105a557600080fd5b50356001600160a01b0316610f22565b3480156105c157600080fd5b50610303600480360360208110156105d857600080fd5b50356001600160a01b03166110b2565b3480156105f457600080fd5b5061037f6110d0565b34801561060957600080fd5b506103586110df565b34801561061e57600080fd5b506103586004803603602081101561063557600080fd5b50356001600160a01b03166110e5565b34801561065157600080fd5b50610341611147565b34801561066657600080fd5b506103586111f3565b34801561067b57600080fd5b506103036004803603602081101561069257600080fd5b50356001600160a01b03166111f9565b3480156106ae57600080fd5b5061037f611217565b3480156106c357600080fd5b50610341611226565b3480156106d857600080fd5b506103586113e9565b3480156106ed57600080fd5b506103416004803603602081101561070457600080fd5b50356113ef565b34801561071757600080fd5b50610255611456565b34801561072c57600080fd5b506103036004803603604081101561074357600080fd5b506001600160a01b038135169060200135611474565b34801561076557600080fd5b506103036004803603604081101561077c57600080fd5b506001600160a01b0381351690602001356114dc565b34801561079e57600080fd5b50610341600480360360208110156107b557600080fd5b503515156114f0565b3480156107ca57600080fd5b50610341600480360360208110156107e157600080fd5b50356115a5565b3480156107f457600080fd5b506103586004803603604081101561080b57600080fd5b506001600160a01b038135811691602001351661162d565b34801561082f57600080fd5b506103416004803603602081101561084657600080fd5b50356001600160a01b0316611658565b34801561086257600080fd5b506103416004803603602081101561087957600080fd5b50356001600160a01b03166116db565b34801561089557600080fd5b50610341600480360360208110156108ac57600080fd5b50356117dd565b3480156108bf57600080fd5b50610341600480360360208110156108d657600080fd5b50356001600160a01b03166118e9565b60408051808201909152600a815269506f6c6b61506172747960b01b602082015290565b600061091e61091761196d565b8484611971565b5060015b92915050565b61093061196d565b6001600160a01b0316610941611217565b6001600160a01b03161461098a576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600a55565b60095490565b7f000000000000000000000000000000000000000000000000000000000000000081565b6aa56fa5b99019a5c800000090565b60006109d5848484611a5d565b610a45846109e161196d565b610a4085604051806060016040528060288152602001612c94602891396001600160a01b038a16600090815260046020526040812090610a1f61196d565b6001600160a01b031681526020810191909152604001600020549190611cbc565b611971565b5060019392505050565b6000600854821115610a925760405162461bcd60e51b815260040180806020018281038252602a815260200180612bd9602a913960400191505060405180910390fd5b6000610a9c611d53565b9050610aa88382611d76565b9150505b919050565b601290565b610abe61196d565b6001600160a01b0316610acf611217565b6001600160a01b031614610b18576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526006602052604090205460ff16610b85576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b60005b600754811015610c7d57816001600160a01b031660078281548110610ba957fe5b6000918252602090912001546001600160a01b03161415610c7557600780546000198101908110610bd657fe5b600091825260209091200154600780546001600160a01b039092169183908110610bfc57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600690925220805460ff191690556007805480610c4e57fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610c7d565b600101610b88565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061091e610cb261196d565b84610a408560046000610cc361196d565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611ddd565b6000610cfd61196d565b6001600160a01b03811660009081526006602052604090205490915060ff1615610d585760405162461bcd60e51b815260040180806020018281038252602c815260200180612d4e602c913960400191505060405180910390fd5b6000610d6383611e3e565b505050506001600160a01b038416600090815260026020526040902054919250610d8f91905082611e8d565b6001600160a01b038316600090815260026020526040902055600854610db59082611e8d565b600855600954610dc59084611ddd565b600955505050565b610dd561196d565b6001600160a01b0316610de6611217565b6001600160a01b031614610e2f576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b60006aa56fa5b99019a5c8000000831115610eb5576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b81610ed4576000610ec584611e3e565b50939550610922945050505050565b6000610edf84611e3e565b50929550610922945050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600e54600160a81b900460ff1681565b610f2a61196d565b6001600160a01b0316610f3b611217565b6001600160a01b031614610f84576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526006602052604090205460ff1615610ff2576040805162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604482015290519081900360640190fd5b6001600160a01b0381166000908152600260205260409020541561104c576001600160a01b03811660009081526002602052604090205461103290610a4f565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b6001600160a01b031660009081526005602052604090205460ff1690565b600e546001600160a01b031681565b600c5481565b6001600160a01b03811660009081526006602052604081205460ff161561112557506001600160a01b038116600090815260036020526040902054610aac565b6001600160a01b03821660009081526002602052604090205461092290610a4f565b61114f61196d565b6001600160a01b0316611160611217565b6001600160a01b0316146111a9576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600f5481565b6001600160a01b031660009081526006602052604090205460ff1690565b6000546001600160a01b031690565b61122e61196d565b6001600160a01b031661123f611217565b6001600160a01b031614611288576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b611290611217565b6001600160a01b0316336001600160a01b0316146112ec576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a6564204164647265737360601b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561133757600080fd5b505afa15801561134b573d6000803e3d6000fd5b505050506040513d602081101561136157600080fd5b50516001546040805163a9059cbb60e01b81523360048201526024810184905290519293506001600160a01b039091169163a9059cbb916044808201926020929091908290030181600087803b1580156113ba57600080fd5b505af11580156113ce573d6000803e3d6000fd5b505050506040513d60208110156113e457600080fd5b505050565b600a5481565b6113f761196d565b6001600160a01b0316611408611217565b6001600160a01b031614611451576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600c55565b6040805180820190915260048152630504f4c560e41b602082015290565b600061091e61148161196d565b84610a4085604051806060016040528060258152602001612d7a60259139600460006114ab61196d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611cbc565b600061091e6114e961196d565b8484611a5d565b6114f861196d565b6001600160a01b0316611509611217565b6001600160a01b031614611552576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600e8054821515600160a81b810260ff60a81b199092169190911790915560408051918252517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599181900360200190a150565b6115ad61196d565b6001600160a01b03166115be611217565b6001600160a01b031614611607576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b61162760646116216aa56fa5b99019a5c800000084611eea565b90611d76565b600f5550565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b61166061196d565b6001600160a01b0316611671611217565b6001600160a01b0316146116ba576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600560205260409020805460ff19169055565b6116e361196d565b6001600160a01b03166116f4611217565b6001600160a01b03161461173d576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b0381166117825760405162461bcd60e51b8152600401808060200182810382526026815260200180612c036026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6117e561196d565b6001600160a01b03166117f6611217565b6001600160a01b03161461183f576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b611847611217565b6001600160a01b0316336001600160a01b0316146118a3576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a6564204164647265737360601b604482015290519081900360640190fd5b6040805163a9059cbb60e01b8152336004820152602481018390529051309163a9059cbb9160448083019260209291908290030181600087803b1580156113ba57600080fd5b6118f161196d565b6001600160a01b0316611902611217565b6001600160a01b03161461194b576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0383166119b65760405162461bcd60e51b8152600401808060200182810382526024815260200180612d2a6024913960400191505060405180910390fd5b6001600160a01b0382166119fb5760405162461bcd60e51b8152600401808060200182810382526022815260200180612c296022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611aa25760405162461bcd60e51b8152600401808060200182810382526025815260200180612d056025913960400191505060405180910390fd5b6001600160a01b038216611ae75760405162461bcd60e51b8152600401808060200182810382526023815260200180612bb66023913960400191505060405180910390fd5b60008111611b265760405162461bcd60e51b8152600401808060200182810382526029815260200180612cdc6029913960400191505060405180910390fd5b611b2e611217565b6001600160a01b0316836001600160a01b031614158015611b685750611b52611217565b6001600160a01b0316826001600160a01b031614155b15611bae57600f54811115611bae5760405162461bcd60e51b8152600401808060200182810382526028815260200180612c4b6028913960400191505060405180910390fd5b6000611bb9306110e5565b9050600f548110611bc95750600f545b69152d02c7e14af680000081108015908190611bef5750600e54600160a01b900460ff16155b8015611c2d57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b8015611c425750600e54600160a81b900460ff165b15611c5d5769152d02c7e14af68000009150611c5d82611f43565b6001600160a01b03851660009081526005602052604090205460019060ff1680611c9f57506001600160a01b03851660009081526005602052604090205460ff165b15611ca8575060005b611cb48686868461213b565b505050505050565b60008184841115611d4b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d10578181015183820152602001611cf8565b50505050905090810190601f168015611d3d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000611d6061225d565b9092509050611d6f8282611d76565b9250505090565b6000808211611dcc576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611dd557fe5b049392505050565b600082820183811015611e37576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000806000806000806000806000611e558a6123e4565b9250925092506000806000611e738d8686611e6e611d53565b612426565b919f909e50909c50959a5093985091965092945050505050565b600082821115611ee4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611ef957506000610922565b82820282848281611f0657fe5b0414611e375760405162461bcd60e51b8152600401808060200182810382526021815260200180612c736021913960400191505060405180910390fd5b600e805460ff60a01b1916600160a01b17908190556001600160a01b03166000611f6e836002611d76565b90506000611f7c8483611e8d565b600154604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611fcd57600080fd5b505afa158015611fe1573d6000803e3d6000fd5b505050506040513d6020811015611ff757600080fd5b5051905061200483612476565b836001600160a01b031663648967396040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561203f57600080fd5b505af1158015612053573d6000803e3d6000fd5b5050600154604080516370a0823160e01b81523060048201529051600094506120da935085926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156120a857600080fd5b505afa1580156120bc573d6000803e3d6000fd5b505050506040513d60208110156120d257600080fd5b505190611e8d565b90506120e68382612635565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15050600e805460ff60a01b1916905550505050565b806121485761214861280d565b6001600160a01b03841660009081526006602052604090205460ff16801561218957506001600160a01b03831660009081526006602052604090205460ff16155b1561219e5761219984848461283f565b61224a565b6001600160a01b03841660009081526006602052604090205460ff161580156121df57506001600160a01b03831660009081526006602052604090205460ff165b156121ef57612199848484612963565b6001600160a01b03841660009081526006602052604090205460ff16801561222f57506001600160a01b03831660009081526006602052604090205460ff165b1561223f57612199848484612a0c565b61224a848484612a7f565b8061225757612257612ac3565b50505050565b60085460009081906aa56fa5b99019a5c8000000825b6007548110156123a05782600260006007848154811061228f57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806122f457508160036000600784815481106122cd57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612314576008546aa56fa5b99019a5c8000000945094505050506123e0565b612354600260006007848154811061232857fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611e8d565b9250612396600360006007848154811061236a57fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611e8d565b9150600101612273565b506008546123b9906aa56fa5b99019a5c8000000611d76565b8210156123da576008546aa56fa5b99019a5c80000009350935050506123e0565b90925090505b9091565b6000806000806123f385612ad1565b9050600061240086612aed565b90506000612418826124128986611e8d565b90611e8d565b979296509094509092505050565b60008080806124358886611eea565b905060006124438887611eea565b905060006124518888611eea565b90506000612463826124128686611e8d565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124a557fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106124f357fe5b60200260200101906001600160a01b031690816001600160a01b03168152505061253e307f000000000000000000000000000000000000000000000000000000000000000084611971565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c11d79583600084600e60009054906101000a90046001600160a01b0316426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156125f85781810151838201526020016125e0565b505050509050019650505050505050600060405180830381600087803b15801561262157600080fd5b505af1158015611cb4573d6000803e3d6000fd5b612660307f000000000000000000000000000000000000000000000000000000000000000084611971565b6001546040805163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018590529151919092169163095ea7b39160448083019260209291908290030181600087803b1580156126d657600080fd5b505af11580156126ea573d6000803e3d6000fd5b505050506040513d602081101561270057600080fd5b50506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663e8e33700307f00000000000000000000000000000000000000000000000000000000000000008585600080612760611217565b426040518963ffffffff1660e01b815260040180896001600160a01b03168152602001886001600160a01b03168152602001878152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200198505050505050505050606060405180830381600087803b1580156127e357600080fd5b505af11580156127f7573d6000803e3d6000fd5b505050506040513d606081101561225757600080fd5b600a5415801561281d5750600c54155b156128275761283d565b600a8054600b55600c8054600d55600091829055555b565b60008060008060008061285187611e3e565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506128839088611e8d565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546128b29087611e8d565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546128e19086611ddd565b6001600160a01b03891660009081526002602052604090205561290381612b09565b61290d8483612b91565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050505050565b60008060008060008061297587611e3e565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506129a79087611e8d565b6001600160a01b03808b16600090815260026020908152604080832094909455918b168152600390915220546129dd9084611ddd565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546128e19086611ddd565b600080600080600080612a1e87611e3e565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150612a509088611e8d565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546129a79087611e8d565b600080600080600080612a9187611e3e565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506128b29087611e8d565b600b54600a55600d54600c55565b60006109226064611621600a5485611eea90919063ffffffff16565b60006109226064611621600c5485611eea90919063ffffffff16565b6000612b13611d53565b90506000612b218383611eea565b30600090815260026020526040902054909150612b3e9082611ddd565b3060009081526002602090815260408083209390935560069052205460ff16156113e45730600090815260036020526040902054612b7c9084611ddd565b30600090815260036020526040902055505050565b600854612b9e9083611e8d565b600855600954612bae9082611ddd565b600955505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320746865206d61785478416d6f756e742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c71a10ec03b17203830d9d39415757e755e9402cdacb071d14bd4a248dfbf62164736f6c63430007060033000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

Deployed Bytecode

0x6080604052600436106102345760003560e01c806353d168e71161012e57806395d89b41116100ab578063dd62ed3e1161006f578063dd62ed3e146107e8578063ea2f0b3714610823578063f2fde38b14610856578063f8134adc14610889578063fc3c0eee146108b35761023b565b806395d89b411461070b578063a457c2d714610720578063a9059cbb14610759578063c49b9a8014610792578063d543dbeb146107be5761023b565b806388f82020116100f257806388f820201461066f5780638da5cb5b146106a25780638e19208a146106b75780638e75c124146106cc5780638ee88c53146106e15761023b565b806353d168e7146105e85780636bc87c3a146105fd57806370a0823114610612578063715018a6146106455780637d1db4a51461065a5761023b565b80633685d419116101bc5780634549b039116101805780634549b0391461052657806349bd5a5e146105585780634a74bb021461056d57806352390c02146105825780635342acb4146105b55761023b565b80633685d41914610448578063389635b21461047b57806339509351146104905780633bd5d173146104c9578063437823ec146104f35761023b565b80631694505e116102035780631694505e1461036a57806318160ddd1461039b57806323b872dd146103b05780632d838119146103f3578063313ce5671461041d5761023b565b806306fdde0314610240578063095ea7b3146102ca57806311fb15111461031757806313114a9d146103435761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b506102556108e6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028f578181015183820152602001610277565b50505050905090810190601f1680156102bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102d657600080fd5b50610303600480360360408110156102ed57600080fd5b506001600160a01b03813516906020013561090a565b604080519115158252519081900360200190f35b34801561032357600080fd5b506103416004803603602081101561033a57600080fd5b5035610928565b005b34801561034f57600080fd5b5061035861098f565b60408051918252519081900360200190f35b34801561037657600080fd5b5061037f610995565b604080516001600160a01b039092168252519081900360200190f35b3480156103a757600080fd5b506103586109b9565b3480156103bc57600080fd5b50610303600480360360608110156103d357600080fd5b506001600160a01b038135811691602081013590911690604001356109c8565b3480156103ff57600080fd5b506103586004803603602081101561041657600080fd5b5035610a4f565b34801561042957600080fd5b50610432610ab1565b6040805160ff9092168252519081900360200190f35b34801561045457600080fd5b506103416004803603602081101561046b57600080fd5b50356001600160a01b0316610ab6565b34801561048757600080fd5b5061037f610c81565b34801561049c57600080fd5b50610303600480360360408110156104b357600080fd5b506001600160a01b038135169060200135610ca5565b3480156104d557600080fd5b50610341600480360360208110156104ec57600080fd5b5035610cf3565b3480156104ff57600080fd5b506103416004803603602081101561051657600080fd5b50356001600160a01b0316610dcd565b34801561053257600080fd5b506103586004803603604081101561054957600080fd5b50803590602001351515610e53565b34801561056457600080fd5b5061037f610eee565b34801561057957600080fd5b50610303610f12565b34801561058e57600080fd5b50610341600480360360208110156105a557600080fd5b50356001600160a01b0316610f22565b3480156105c157600080fd5b50610303600480360360208110156105d857600080fd5b50356001600160a01b03166110b2565b3480156105f457600080fd5b5061037f6110d0565b34801561060957600080fd5b506103586110df565b34801561061e57600080fd5b506103586004803603602081101561063557600080fd5b50356001600160a01b03166110e5565b34801561065157600080fd5b50610341611147565b34801561066657600080fd5b506103586111f3565b34801561067b57600080fd5b506103036004803603602081101561069257600080fd5b50356001600160a01b03166111f9565b3480156106ae57600080fd5b5061037f611217565b3480156106c357600080fd5b50610341611226565b3480156106d857600080fd5b506103586113e9565b3480156106ed57600080fd5b506103416004803603602081101561070457600080fd5b50356113ef565b34801561071757600080fd5b50610255611456565b34801561072c57600080fd5b506103036004803603604081101561074357600080fd5b506001600160a01b038135169060200135611474565b34801561076557600080fd5b506103036004803603604081101561077c57600080fd5b506001600160a01b0381351690602001356114dc565b34801561079e57600080fd5b50610341600480360360208110156107b557600080fd5b503515156114f0565b3480156107ca57600080fd5b50610341600480360360208110156107e157600080fd5b50356115a5565b3480156107f457600080fd5b506103586004803603604081101561080b57600080fd5b506001600160a01b038135811691602001351661162d565b34801561082f57600080fd5b506103416004803603602081101561084657600080fd5b50356001600160a01b0316611658565b34801561086257600080fd5b506103416004803603602081101561087957600080fd5b50356001600160a01b03166116db565b34801561089557600080fd5b50610341600480360360208110156108ac57600080fd5b50356117dd565b3480156108bf57600080fd5b50610341600480360360208110156108d657600080fd5b50356001600160a01b03166118e9565b60408051808201909152600a815269506f6c6b61506172747960b01b602082015290565b600061091e61091761196d565b8484611971565b5060015b92915050565b61093061196d565b6001600160a01b0316610941611217565b6001600160a01b03161461098a576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600a55565b60095490565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6aa56fa5b99019a5c800000090565b60006109d5848484611a5d565b610a45846109e161196d565b610a4085604051806060016040528060288152602001612c94602891396001600160a01b038a16600090815260046020526040812090610a1f61196d565b6001600160a01b031681526020810191909152604001600020549190611cbc565b611971565b5060019392505050565b6000600854821115610a925760405162461bcd60e51b815260040180806020018281038252602a815260200180612bd9602a913960400191505060405180910390fd5b6000610a9c611d53565b9050610aa88382611d76565b9150505b919050565b601290565b610abe61196d565b6001600160a01b0316610acf611217565b6001600160a01b031614610b18576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526006602052604090205460ff16610b85576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b60005b600754811015610c7d57816001600160a01b031660078281548110610ba957fe5b6000918252602090912001546001600160a01b03161415610c7557600780546000198101908110610bd657fe5b600091825260209091200154600780546001600160a01b039092169183908110610bfc57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600690925220805460ff191690556007805480610c4e57fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610c7d565b600101610b88565b5050565b7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b600061091e610cb261196d565b84610a408560046000610cc361196d565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611ddd565b6000610cfd61196d565b6001600160a01b03811660009081526006602052604090205490915060ff1615610d585760405162461bcd60e51b815260040180806020018281038252602c815260200180612d4e602c913960400191505060405180910390fd5b6000610d6383611e3e565b505050506001600160a01b038416600090815260026020526040902054919250610d8f91905082611e8d565b6001600160a01b038316600090815260026020526040902055600854610db59082611e8d565b600855600954610dc59084611ddd565b600955505050565b610dd561196d565b6001600160a01b0316610de6611217565b6001600160a01b031614610e2f576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b60006aa56fa5b99019a5c8000000831115610eb5576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b81610ed4576000610ec584611e3e565b50939550610922945050505050565b6000610edf84611e3e565b50929550610922945050505050565b7f00000000000000000000000048356de0473fa6993ec68a1c5e04da2896becf7c81565b600e54600160a81b900460ff1681565b610f2a61196d565b6001600160a01b0316610f3b611217565b6001600160a01b031614610f84576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526006602052604090205460ff1615610ff2576040805162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604482015290519081900360640190fd5b6001600160a01b0381166000908152600260205260409020541561104c576001600160a01b03811660009081526002602052604090205461103290610a4f565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b6001600160a01b031660009081526005602052604090205460ff1690565b600e546001600160a01b031681565b600c5481565b6001600160a01b03811660009081526006602052604081205460ff161561112557506001600160a01b038116600090815260036020526040902054610aac565b6001600160a01b03821660009081526002602052604090205461092290610a4f565b61114f61196d565b6001600160a01b0316611160611217565b6001600160a01b0316146111a9576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600f5481565b6001600160a01b031660009081526006602052604090205460ff1690565b6000546001600160a01b031690565b61122e61196d565b6001600160a01b031661123f611217565b6001600160a01b031614611288576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b611290611217565b6001600160a01b0316336001600160a01b0316146112ec576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a6564204164647265737360601b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561133757600080fd5b505afa15801561134b573d6000803e3d6000fd5b505050506040513d602081101561136157600080fd5b50516001546040805163a9059cbb60e01b81523360048201526024810184905290519293506001600160a01b039091169163a9059cbb916044808201926020929091908290030181600087803b1580156113ba57600080fd5b505af11580156113ce573d6000803e3d6000fd5b505050506040513d60208110156113e457600080fd5b505050565b600a5481565b6113f761196d565b6001600160a01b0316611408611217565b6001600160a01b031614611451576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600c55565b6040805180820190915260048152630504f4c560e41b602082015290565b600061091e61148161196d565b84610a4085604051806060016040528060258152602001612d7a60259139600460006114ab61196d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611cbc565b600061091e6114e961196d565b8484611a5d565b6114f861196d565b6001600160a01b0316611509611217565b6001600160a01b031614611552576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600e8054821515600160a81b810260ff60a81b199092169190911790915560408051918252517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599181900360200190a150565b6115ad61196d565b6001600160a01b03166115be611217565b6001600160a01b031614611607576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b61162760646116216aa56fa5b99019a5c800000084611eea565b90611d76565b600f5550565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b61166061196d565b6001600160a01b0316611671611217565b6001600160a01b0316146116ba576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600560205260409020805460ff19169055565b6116e361196d565b6001600160a01b03166116f4611217565b6001600160a01b03161461173d576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b6001600160a01b0381166117825760405162461bcd60e51b8152600401808060200182810382526026815260200180612c036026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6117e561196d565b6001600160a01b03166117f6611217565b6001600160a01b03161461183f576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b611847611217565b6001600160a01b0316336001600160a01b0316146118a3576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a6564204164647265737360601b604482015290519081900360640190fd5b6040805163a9059cbb60e01b8152336004820152602481018390529051309163a9059cbb9160448083019260209291908290030181600087803b1580156113ba57600080fd5b6118f161196d565b6001600160a01b0316611902611217565b6001600160a01b03161461194b576040805162461bcd60e51b81526020600482018190526024820152600080516020612cbc833981519152604482015290519081900360640190fd5b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b0383166119b65760405162461bcd60e51b8152600401808060200182810382526024815260200180612d2a6024913960400191505060405180910390fd5b6001600160a01b0382166119fb5760405162461bcd60e51b8152600401808060200182810382526022815260200180612c296022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611aa25760405162461bcd60e51b8152600401808060200182810382526025815260200180612d056025913960400191505060405180910390fd5b6001600160a01b038216611ae75760405162461bcd60e51b8152600401808060200182810382526023815260200180612bb66023913960400191505060405180910390fd5b60008111611b265760405162461bcd60e51b8152600401808060200182810382526029815260200180612cdc6029913960400191505060405180910390fd5b611b2e611217565b6001600160a01b0316836001600160a01b031614158015611b685750611b52611217565b6001600160a01b0316826001600160a01b031614155b15611bae57600f54811115611bae5760405162461bcd60e51b8152600401808060200182810382526028815260200180612c4b6028913960400191505060405180910390fd5b6000611bb9306110e5565b9050600f548110611bc95750600f545b69152d02c7e14af680000081108015908190611bef5750600e54600160a01b900460ff16155b8015611c2d57507f00000000000000000000000048356de0473fa6993ec68a1c5e04da2896becf7c6001600160a01b0316856001600160a01b031614155b8015611c425750600e54600160a81b900460ff165b15611c5d5769152d02c7e14af68000009150611c5d82611f43565b6001600160a01b03851660009081526005602052604090205460019060ff1680611c9f57506001600160a01b03851660009081526005602052604090205460ff165b15611ca8575060005b611cb48686868461213b565b505050505050565b60008184841115611d4b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d10578181015183820152602001611cf8565b50505050905090810190601f168015611d3d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000611d6061225d565b9092509050611d6f8282611d76565b9250505090565b6000808211611dcc576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611dd557fe5b049392505050565b600082820183811015611e37576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000806000806000806000806000611e558a6123e4565b9250925092506000806000611e738d8686611e6e611d53565b612426565b919f909e50909c50959a5093985091965092945050505050565b600082821115611ee4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611ef957506000610922565b82820282848281611f0657fe5b0414611e375760405162461bcd60e51b8152600401808060200182810382526021815260200180612c736021913960400191505060405180910390fd5b600e805460ff60a01b1916600160a01b17908190556001600160a01b03166000611f6e836002611d76565b90506000611f7c8483611e8d565b600154604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611fcd57600080fd5b505afa158015611fe1573d6000803e3d6000fd5b505050506040513d6020811015611ff757600080fd5b5051905061200483612476565b836001600160a01b031663648967396040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561203f57600080fd5b505af1158015612053573d6000803e3d6000fd5b5050600154604080516370a0823160e01b81523060048201529051600094506120da935085926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156120a857600080fd5b505afa1580156120bc573d6000803e3d6000fd5b505050506040513d60208110156120d257600080fd5b505190611e8d565b90506120e68382612635565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15050600e805460ff60a01b1916905550505050565b806121485761214861280d565b6001600160a01b03841660009081526006602052604090205460ff16801561218957506001600160a01b03831660009081526006602052604090205460ff16155b1561219e5761219984848461283f565b61224a565b6001600160a01b03841660009081526006602052604090205460ff161580156121df57506001600160a01b03831660009081526006602052604090205460ff165b156121ef57612199848484612963565b6001600160a01b03841660009081526006602052604090205460ff16801561222f57506001600160a01b03831660009081526006602052604090205460ff165b1561223f57612199848484612a0c565b61224a848484612a7f565b8061225757612257612ac3565b50505050565b60085460009081906aa56fa5b99019a5c8000000825b6007548110156123a05782600260006007848154811061228f57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806122f457508160036000600784815481106122cd57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612314576008546aa56fa5b99019a5c8000000945094505050506123e0565b612354600260006007848154811061232857fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611e8d565b9250612396600360006007848154811061236a57fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611e8d565b9150600101612273565b506008546123b9906aa56fa5b99019a5c8000000611d76565b8210156123da576008546aa56fa5b99019a5c80000009350935050506123e0565b90925090505b9091565b6000806000806123f385612ad1565b9050600061240086612aed565b90506000612418826124128986611e8d565b90611e8d565b979296509094509092505050565b60008080806124358886611eea565b905060006124438887611eea565b905060006124518888611eea565b90506000612463826124128686611e8d565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124a557fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48816001815181106124f357fe5b60200260200101906001600160a01b031690816001600160a01b03168152505061253e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611971565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316635c11d79583600084600e60009054906101000a90046001600160a01b0316426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156125f85781810151838201526020016125e0565b505050509050019650505050505050600060405180830381600087803b15801561262157600080fd5b505af1158015611cb4573d6000803e3d6000fd5b612660307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611971565b6001546040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81166004830152602482018590529151919092169163095ea7b39160448083019260209291908290030181600087803b1580156126d657600080fd5b505af11580156126ea573d6000803e3d6000fd5b505050506040513d602081101561270057600080fd5b50506001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663e8e33700307f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488585600080612760611217565b426040518963ffffffff1660e01b815260040180896001600160a01b03168152602001886001600160a01b03168152602001878152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200198505050505050505050606060405180830381600087803b1580156127e357600080fd5b505af11580156127f7573d6000803e3d6000fd5b505050506040513d606081101561225757600080fd5b600a5415801561281d5750600c54155b156128275761283d565b600a8054600b55600c8054600d55600091829055555b565b60008060008060008061285187611e3e565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506128839088611e8d565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546128b29087611e8d565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546128e19086611ddd565b6001600160a01b03891660009081526002602052604090205561290381612b09565b61290d8483612b91565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050505050505050565b60008060008060008061297587611e3e565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506129a79087611e8d565b6001600160a01b03808b16600090815260026020908152604080832094909455918b168152600390915220546129dd9084611ddd565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546128e19086611ddd565b600080600080600080612a1e87611e3e565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150612a509088611e8d565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546129a79087611e8d565b600080600080600080612a9187611e3e565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506128b29087611e8d565b600b54600a55600d54600c55565b60006109226064611621600a5485611eea90919063ffffffff16565b60006109226064611621600c5485611eea90919063ffffffff16565b6000612b13611d53565b90506000612b218383611eea565b30600090815260026020526040902054909150612b3e9082611ddd565b3060009081526002602090815260408083209390935560069052205460ff16156113e45730600090815260036020526040902054612b7c9084611ddd565b30600090815260036020526040902055505050565b600854612b9e9083611e8d565b600855600954612bae9082611ddd565b600955505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320746865206d61785478416d6f756e742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c71a10ec03b17203830d9d39415757e755e9402cdacb071d14bd4a248dfbf62164736f6c63430007060033

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

000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

-----Decoded View---------------
Arg [0] : usdc (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48


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

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