ETH Price: $3,088.79 (-1.04%)

Contract

0xbDA76D419F554B549D6f4583591Ec444a1D3A637
 

Overview

ETH Balance

0.000043905037618491 ETH

Eth Value

$0.14 (@ $3,088.79/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer208179422024-09-24 4:04:2355 days ago1727150663IN
0xbDA76D41...4a1D3A637
0 ETH0.0014001710.95352758
Approve204811102024-08-08 3:14:35102 days ago1723086875IN
0xbDA76D41...4a1D3A637
0 ETH0.000084621.81729273
Approve204777612024-08-07 16:02:35102 days ago1723046555IN
0xbDA76D41...4a1D3A637
0 ETH0.0036523378.43356599
Approve204135672024-07-29 16:58:23111 days ago1722272303IN
0xbDA76D41...4a1D3A637
0 ETH0.00027935.99799255
Approve198913932024-05-17 18:11:47184 days ago1715969507IN
0xbDA76D41...4a1D3A637
0 ETH0.000321756.9007062
Approve196399912024-04-12 14:01:35219 days ago1712930495IN
0xbDA76D41...4a1D3A637
0 ETH0.0021471946.11082872
Approve196187852024-04-09 14:49:23222 days ago1712674163IN
0xbDA76D41...4a1D3A637
0 ETH0.0023980451.49778931
Approve195696262024-04-02 17:35:47229 days ago1712079347IN
0xbDA76D41...4a1D3A637
0 ETH0.0046566100
Transfer195625432024-04-01 17:43:59230 days ago1711993439IN
0xbDA76D41...4a1D3A637
0 ETH0.0028679222.43563346
Transfer195613932024-04-01 13:52:11230 days ago1711979531IN
0xbDA76D41...4a1D3A637
0 ETH0.0031635821.82852695
Transfer195613822024-04-01 13:49:59230 days ago1711979399IN
0xbDA76D41...4a1D3A637
0 ETH0.0031673721.8546431
Transfer195613542024-04-01 13:44:23230 days ago1711979063IN
0xbDA76D41...4a1D3A637
0 ETH0.0038017826.23207808
Transfer195613522024-04-01 13:43:59230 days ago1711979039IN
0xbDA76D41...4a1D3A637
0 ETH0.0037360625.77858141
Transfer195483092024-03-30 17:40:59232 days ago1711820459IN
0xbDA76D41...4a1D3A637
0 ETH0.0029012422.69627618
Transfer195477142024-03-30 15:39:59232 days ago1711813199IN
0xbDA76D41...4a1D3A637
0 ETH0.0039772727.44519257
Transfer195477142024-03-30 15:39:59232 days ago1711813199IN
0xbDA76D41...4a1D3A637
0 ETH0.0039772727.44519257
Transfer195477142024-03-30 15:39:59232 days ago1711813199IN
0xbDA76D41...4a1D3A637
0 ETH0.0039772727.44519257
Transfer195477142024-03-30 15:39:59232 days ago1711813199IN
0xbDA76D41...4a1D3A637
0 ETH0.0039769427.44519257
Transfer195477142024-03-30 15:39:59232 days ago1711813199IN
0xbDA76D41...4a1D3A637
0 ETH0.0039772727.44519257
Approve195473512024-03-30 14:25:59232 days ago1711808759IN
0xbDA76D41...4a1D3A637
0 ETH0.0012964627.97841462
Transfer195406012024-03-29 15:39:11233 days ago1711726751IN
0xbDA76D41...4a1D3A637
0 ETH0.0056356938.88914189
Transfer195406012024-03-29 15:39:11233 days ago1711726751IN
0xbDA76D41...4a1D3A637
0 ETH0.0056356938.88914189
Transfer195406002024-03-29 15:38:59233 days ago1711726739IN
0xbDA76D41...4a1D3A637
0 ETH0.0050102734.57340172
Transfer195405882024-03-29 15:36:35233 days ago1711726595IN
0xbDA76D41...4a1D3A637
0 ETH0.0057782139.87255284
Transfer195405852024-03-29 15:35:59233 days ago1711726559IN
0xbDA76D41...4a1D3A637
0 ETH0.005794139.98226516
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
194623162024-03-18 14:37:47244 days ago1710772667
0xbDA76D41...4a1D3A637
0.1369 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TrumpDonationCoin

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Token.sol
// SPDX-License-Identifier: NOLICENSE
pragma solidity ^0.8.0;
interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

library SafeMath {
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}



abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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



library Address {
    function isContract(address account) internal view returns (bool) {

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

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

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

    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

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

    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            if (returndata.length > 0) {

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




abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _setOwner(_msgSender());
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IFactory{
        function createPair(address tokenA, address tokenB) external returns (address pair);
        function getPair(address tokenA, address tokenB) external view returns (address pair);
}

interface IRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);

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

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

    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;

    bool public swapEnabled;
    bool public buyBackEnabled = true;
    bool private swapping;

    IRouter public router;
    address public pair;

    uint8 private constant _decimals = 18;
    uint256 private constant MAX = ~uint256(0);

    uint256 private _tTotal = 100000000 * 10**_decimals;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));

    uint256 public swapTokensAtAmount = 10000 * 10**_decimals;
    uint256 public buyBackUpperLimit = 1 * 10**18;


    address public operationsAddress = 0x94845333028B1204Fbe14E1278Fd4Adde46B22ce;
    address public constant deadAddress = 0x000000000000000000000000000000000000dEaD;

    string private constant _name = "Trump Donation Coin";
    string private constant _symbol = "TDC";

    // Trump Donation Coin
    // TDC

    struct feeRatesStruct {
      uint256 rfi;
      uint256 operations;
      uint256 liquidity;
      uint256 buyback;
    }

    feeRatesStruct public feeRates = feeRatesStruct(
     {rfi: 0,
      operations: 0,
      liquidity: 0,
      buyback: 0
    });

    feeRatesStruct public sellFeeRates = feeRatesStruct(
    {rfi: 0,
     operations: 20,
     liquidity: 0,
     buyback: 0
    });

    struct TotFeesPaidStruct{
        uint256 rfi;
        uint256 operations;
        uint256 liquidity;
        uint256 buyBack;
    }
    TotFeesPaidStruct public totFeesPaid;

    struct valuesFromGetValues{
      uint256 rAmount;
      uint256 rTransferAmount;
      uint256 rRfi;
      uint256 rOperations;
      uint256 rLiquidity;
      uint256 rBuyback;
      uint256 tTransferAmount;
      uint256 tRfi;
      uint256 tOperations;
      uint256 tLiquidity;
      uint256 tBuyback;
    }

    event FeesChanged();
    event UpdatedRouter(address oldRouter, address newRouter);

    modifier lockTheSwap {
        swapping = true;
        _;
        swapping = false;
    }

    constructor (address routerAddress) {
        IRouter _router = IRouter(routerAddress);
        address _pair = IFactory(_router.factory())
            .createPair(address(this), _router.WETH());

        router = _router;
        pair = _pair;

        _rOwned[owner()] = _rTotal;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[operationsAddress] = true;

        emit Transfer(address(0), owner(), _tTotal);
    }

    //std ERC20:
    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;
    }

    //override ERC20:
    function totalSupply() public view 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]+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 deliver(uint256 tAmount) public {
        address sender = _msgSender();
        require(!_isExcluded[sender], "Excluded addresses cannot call this function");
        valuesFromGetValues memory s = _getValues(tAmount, true, false);
        _rOwned[sender] = _rOwned[sender].sub(s.rAmount);
        _rTotal = _rTotal.sub(s.rAmount);
        totFeesPaid.rfi += tAmount;
    }

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


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

    //@dev kept original RFI naming -> "reward" as in reflection
    function excludeFromReward(address account) public onlyOwner() {
        require(!_isExcluded[account], "Account is already 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 not 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 excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }


    function isExcludedFromFee(address account) public view returns(bool) {
        return _isExcludedFromFee[account];
    }

    function setFeeRates(uint256 _operations, uint256 _liquidity) external onlyOwner {
        feeRates.operations = _operations;
        feeRates.liquidity = _liquidity;
        emit FeesChanged();
    }

    function setSellFeeRates(uint256 _operations, uint256 _liquidity) external onlyOwner{
        sellFeeRates.operations = _operations;
        sellFeeRates.liquidity = _liquidity;
        emit FeesChanged();
    }

    function _reflectRfi(uint256 rRfi, uint256 tRfi) private {
        _rTotal -=rRfi;
        totFeesPaid.rfi +=tRfi;
    }

    function _takeOperations(uint256 rOperations, uint256 tOperations) private {
        totFeesPaid.operations +=tOperations;
        if(_isExcluded[address(this)]){
             _tOwned[address(this)]+=tOperations;
        }
        _rOwned[address(this)] +=rOperations;

    }

    function _takeBuyback(uint256 rBuyback, uint256 tBuyback) private {
        totFeesPaid.buyBack +=tBuyback;

        if(_isExcluded[address(this)])
        {
            _tOwned[address(this)]+=tBuyback;
        }
        _rOwned[address(this)] +=rBuyback;
    }

    function _takeLiquidity(uint256 rLiquidity, uint256 tLiquidity) private {
        totFeesPaid.liquidity +=tLiquidity;

        if(_isExcluded[address(this)])
        {
            _tOwned[address(this)]+=tLiquidity;
        }
        _rOwned[address(this)] +=rLiquidity;
    }

    function _getValues(uint256 tAmount, bool takeFee, bool isSale) private view returns (valuesFromGetValues memory to_return) {
        to_return = _getTValues(tAmount, takeFee, isSale);
        (to_return.rAmount, to_return.rTransferAmount, to_return.rRfi,to_return.rOperations, to_return.rLiquidity, to_return.rBuyback) = _getRValues(to_return, tAmount, takeFee, _getRate());
        return to_return;
    }

    function _getTValues(uint256 tAmount, bool takeFee, bool isSale) private view returns (valuesFromGetValues memory s) {

        if(!takeFee) {
          s.tTransferAmount = tAmount;
          return s;
        }

        if(isSale){
            s.tRfi = tAmount*sellFeeRates.rfi/1000;
            s.tOperations = tAmount*sellFeeRates.operations/1000;
            s.tLiquidity = tAmount*sellFeeRates.liquidity/1000;
            s.tBuyback = tAmount*sellFeeRates.buyback/1000;
            s.tTransferAmount = tAmount-s.tRfi-s.tOperations-s.tLiquidity-s.tBuyback;
        }
        else{
            s.tRfi = tAmount*feeRates.rfi/1000;
            s.tOperations = tAmount*feeRates.operations/1000;
            s.tLiquidity = tAmount*feeRates.liquidity/1000;
            s.tBuyback = tAmount*feeRates.buyback/1000;
            s.tTransferAmount = tAmount-s.tRfi-s.tOperations-s.tLiquidity-s.tBuyback;
        }
        return s;
    }

    function _getRValues(valuesFromGetValues memory s, uint256 tAmount, bool takeFee, uint256 currentRate) private pure returns (uint256 rAmount, uint256 rTransferAmount, uint256 rRfi, uint256 rOperations, uint256 rLiquidity, uint256 rBuyback) {
        rAmount = tAmount*currentRate;

        if(!takeFee) {
          return(rAmount, rAmount, 0,0,0,0);
        }

        rRfi = s.tRfi*currentRate;
        rOperations = s.tOperations*currentRate;
        rLiquidity = s.tLiquidity*currentRate;
        rBuyback = s.tBuyback*currentRate;
        rTransferAmount =  rAmount-rRfi-rOperations-rLiquidity-rBuyback;
        return (rAmount, rTransferAmount, rRfi,rOperations,rLiquidity, rBuyback);
    }

    function _getRate() private view returns(uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply/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-_rOwned[_excluded[i]];
            tSupply = tSupply-_tOwned[_excluded[i]];
        }
        if (rSupply < _rTotal/_tTotal) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    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");
        require(amount <= balanceOf(from),"You are trying to transfer more than your balance");

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
        if(!swapping && swapEnabled && canSwap && from != pair){
            uint256 balance = address(this).balance;
            if (buyBackEnabled && balance > uint256(1 * 10**18) && to == pair) {
                if (balance > buyBackUpperLimit) balance = buyBackUpperLimit;
                buyBackTokens(balance.div(100));
            }

            swapAndLiquify(swapTokensAtAmount);
        }
        bool isSale;
        if(to == pair) isSale = true;

        _tokenTransfer(from, to, amount, !(_isExcludedFromFee[from] || _isExcludedFromFee[to]), isSale);
    }


    //this method is responsible for taking all fee, if takeFee is true
    function _tokenTransfer(address sender, address recipient, uint256 tAmount, bool takeFee, bool isSale) private {

        valuesFromGetValues memory s = _getValues(tAmount, takeFee, isSale);

        if (_isExcluded[sender] ) {  //from excluded
                _tOwned[sender] = _tOwned[sender]-tAmount;
        }
        if (_isExcluded[recipient]) { //to excluded
                _tOwned[recipient] = _tOwned[recipient]+s.tTransferAmount;
        }

        _rOwned[sender] = _rOwned[sender]-s.rAmount;
        _rOwned[recipient] = _rOwned[recipient]+s.rTransferAmount;
        _reflectRfi(s.rRfi, s.tRfi);
        _takeOperations(s.rOperations,s.tOperations);
        _takeLiquidity(s.rLiquidity,s.tLiquidity);
        _takeBuyback(s.rBuyback, s.tBuyback);
        emit Transfer(sender, recipient, s.tTransferAmount);
        emit Transfer(sender, address(this), s.tLiquidity + s.tOperations + s.tBuyback);

    }

    function buyBackTokens(uint256 amount) private lockTheSwap{
    	if (amount > 0) {
    	    swapETHForTokens(amount);
	    }
    }

    function swapETHForTokens(uint256 amount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = router.WETH();
        path[1] = address(this);

      // make the swap
        router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(
            0, // accept any amount of Tokens
            path,
            deadAddress, // Burn address
            block.timestamp.add(300)
        );
     }

    function swapAndLiquify(uint256 tokens) private lockTheSwap{
         // Split the contract balance into halves
        uint256 denominator= (feeRates.liquidity + feeRates.buyback + feeRates.operations) * 2;
        uint256 tokensToAddLiquidityWith = tokens * feeRates.liquidity / denominator;
        uint256 toSwap = tokens - tokensToAddLiquidityWith;

        uint256 initialBalance = address(this).balance;

        swapTokensForBNB(toSwap);

        uint256 deltaBalance = address(this).balance - initialBalance;
        uint256 unitBalance= deltaBalance / (denominator - feeRates.liquidity);
        uint256 bnbToAddLiquidityWith = unitBalance * feeRates.liquidity;

        if(bnbToAddLiquidityWith > 0){
            // Add liquidity to pancake
            addLiquidity(tokensToAddLiquidityWith, bnbToAddLiquidityWith);
        }

        // Send BNB to operationsWallet
        uint256 operationsAmt = unitBalance * 2 * feeRates.operations;
        if(operationsAmt > 0){
          payable(operationsAddress).transfer(operationsAmt);
        }
    }

    function addLiquidity(uint256 tokenAmount, uint256 bnbAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(router), tokenAmount);

        // add the liquidity
        router.addLiquidityETH{value: bnbAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            address(0),
            block.timestamp
        );
    }

    function swapTokensForBNB(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

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

        // make the swap
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );

    }

    function updateOperationsWallet(address newWallet) external onlyOwner{
        require(operationsAddress != newWallet ,'Wallet already set');
        operationsAddress = newWallet;
        _isExcludedFromFee[operationsAddress];
    }

    function updateSwapTokensAtAmount(uint256 amount) external onlyOwner{
        swapTokensAtAmount = amount * 10**_decimals;
    }

    function updateSwapEnabled(bool _enabled) external onlyOwner{
        swapEnabled = _enabled;
    }

    function updateBuybackEnabled(bool _enabled) external onlyOwner{
        buyBackEnabled = _enabled;
    }

    function setBuybackUpperLimit(uint256 buyBackLimit) external onlyOwner() {
        buyBackUpperLimit = buyBackLimit * 10**15;
    }

    function rescueETH(uint256 weiAmount) external onlyOwner{
        require(address(this).balance >= weiAmount, "insufficient BNB balance");
        payable(msg.sender).transfer(weiAmount);
    }

    function rescueETHTokens(address tokenAddress) external onlyOwner{
        IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this)));
    }

    /// @dev Update router address in case of pancakeswap migration
    function setRouterAddress(address newRouter) external onlyOwner {
        require(newRouter != address(router));
        IRouter _newRouter = IRouter(newRouter);
        address get_pair = IFactory(_newRouter.factory()).getPair(address(this), _newRouter.WETH());
        if (get_pair == address(0)) {
            pair = IFactory(_newRouter.factory()).createPair(address(this), _newRouter.WETH());
        }
        else {
            pair = get_pair;
        }
        router = _newRouter;
    }

    receive() external payable{
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"routerAddress","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":[],"name":"FeesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldRouter","type":"address"},{"indexed":false,"internalType":"address","name":"newRouter","type":"address"}],"name":"UpdatedRouter","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackUpperLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"feeRates","outputs":[{"internalType":"uint256","name":"rfi","type":"uint256"},{"internalType":"uint256","name":"operations","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"buyback","type":"uint256"}],"stateMutability":"view","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":"operationsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferRfi","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"rescueETHTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFeeRates","outputs":[{"internalType":"uint256","name":"rfi","type":"uint256"},{"internalType":"uint256","name":"operations","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"buyback","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyBackLimit","type":"uint256"}],"name":"setBuybackUpperLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operations","type":"uint256"},{"internalType":"uint256","name":"_liquidity","type":"uint256"}],"name":"setFeeRates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operations","type":"uint256"},{"internalType":"uint256","name":"_liquidity","type":"uint256"}],"name":"setSellFeeRates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"totFeesPaid","outputs":[{"internalType":"uint256","name":"rfi","type":"uint256"},{"internalType":"uint256","name":"operations","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"buyBack","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateBuybackEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateOperationsWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526007805461ff001916610100179055620000216012600a620004bf565b62000031906305f5e10062000580565b60098190556200004490600019620005bc565b6200005290600019620005a2565b600a556012600a620000659190620004bf565b620000739061271062000580565b600b55670de0b6b3a7640000600c55600d80546001600160a01b0319167394845333028b1204fbe14e1278fd4adde46b22ce1790556040805160808082018352600080835260208084018290528385018290526060938401829052600e829055600f82905560108290556011829055845192830185528183526014908301819052938201819052910181905260128190556013829055908190556015553480156200011d57600080fd5b506040516200360d3803806200360d833981016040819052620001409162000446565b6200014b33620003f6565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200018c57600080fd5b505afa158015620001a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c7919062000446565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200021057600080fd5b505afa15801562000225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024b919062000446565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200029457600080fd5b505af1158015620002a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cf919062000446565b600780546301000000600160b81b03191663010000006001600160a01b038681169190910291909117909155600880546001600160a01b031916838316179055600a54600080549092168252600160208190526040832091909155919250600490620003436000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055600d54909116815260049092529020805490911660011790556200039d6000546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600954604051620003e591815260200190565b60405180910390a3505050620005f3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121562000458578081fd5b81516001600160a01b03811681146200046f578182fd5b9392505050565b600181815b80851115620004b75781600019048211156200049b576200049b620005dd565b80851615620004a957918102915b93841c93908002906200047b565b509250929050565b60006200046f60ff841683600082620004db575060016200057a565b81620004ea575060006200057a565b81600181146200050357600281146200050e576200052e565b60019150506200057a565b60ff841115620005225762000522620005dd565b50506001821b6200057a565b5060208310610133831016604e8410600b841016171562000553575081810a6200057a565b6200055f838362000476565b8060001904821115620005765762000576620005dd565b0290505b92915050565b60008160001904831182151516156200059d576200059d620005dd565b500290565b600082821015620005b757620005b7620005dd565b500390565b600082620005d857634e487b7160e01b81526012600452602481fd5b500690565b634e487b7160e01b600052601160045260246000fd5b61300a80620006036000396000f3fe60806040526004361061026b5760003560e01c806370e5024111610144578063a8aa1b31116100b6578063ea2f0b371161007a578063ea2f0b37146107e5578063ea4cfe1214610805578063f2fde38b14610825578063f887ea4014610845578063f9e089691461086c578063feaca5831461088c57600080fd5b8063a8aa1b3114610729578063a9059cbb14610749578063d257b34f14610769578063dd62ed3e14610789578063e2f45605146107cf57600080fd5b80638da5cb5b116101085780638da5cb5b1461065c578063924de9b71461067a57806395d89b411461069a5780639ba5e4d5146106c65780639e252f00146106e9578063a457c2d71461070957600080fd5b806370e50241146105b5578063715018a6146105cb5780637688c584146105e057806382d2a4bb1461060357806388f820201461062357600080fd5b806339509351116101dd5780634f2c4fa5116101a15780634f2c4fa5146104e357806352390c02146105035780635342acb4146105235780636053a0e31461055c5780636ddd17131461057b57806370a082311461059557600080fd5b806339509351146104435780633bd5d1731461046357806341cb87fc14610483578063437823ec146104a35780634549b039146104c357600080fd5b806323b872dd1161022f57806323b872dd1461037957806327c8f835146103995780632d838119146103c757806330d5d18d146103e7578063313ce567146104075780633685d4191461042357600080fd5b806303f7b7861461027757806306fdde0314610299578063095ea7b3146102e757806318160ddd1461031757806318a90c441461033657600080fd5b3661027257005b600080fd5b34801561028357600080fd5b50610297610292366004612c4d565b6108ac565b005b3480156102a557600080fd5b506040805180820190915260138152722a393ab6b8102237b730ba34b7b71021b7b4b760691b60208201525b6040516102de9190612d13565b60405180910390f35b3480156102f357600080fd5b50610307610302366004612b96565b610916565b60405190151581526020016102de565b34801561032357600080fd5b506009545b6040519081526020016102de565b34801561034257600080fd5b506012546013546014546015546103599392919084565b6040805194855260208501939093529183015260608201526080016102de565b34801561038557600080fd5b50610307610394366004612b56565b61092d565b3480156103a557600080fd5b506103af61dead81565b6040516001600160a01b0390911681526020016102de565b3480156103d357600080fd5b506103286103e2366004612bf9565b610997565b3480156103f357600080fd5b50610297610402366004612ae6565b610a14565b34801561041357600080fd5b50604051601281526020016102de565b34801561042f57600080fd5b5061029761043e366004612ae6565b610aba565b34801561044f57600080fd5b5061030761045e366004612b96565b610ca9565b34801561046f57600080fd5b5061029761047e366004612bf9565b610ce0565b34801561048f57600080fd5b5061029761049e366004612ae6565b610dd5565b3480156104af57600080fd5b506102976104be366004612ae6565b611187565b3480156104cf57600080fd5b506103286104de366004612c29565b6111d5565b3480156104ef57600080fd5b506102976104fe366004612ae6565b611263565b34801561050f57600080fd5b5061029761051e366004612ae6565b61138c565b34801561052f57600080fd5b5061030761053e366004612ae6565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561056857600080fd5b5060075461030790610100900460ff1681565b34801561058757600080fd5b506007546103079060ff1681565b3480156105a157600080fd5b506103286105b0366004612ae6565b6114df565b3480156105c157600080fd5b50610328600c5481565b3480156105d757600080fd5b5061029761153e565b3480156105ec57600080fd5b50600e54600f546010546011546103599392919084565b34801561060f57600080fd5b5061029761061e366004612bf9565b611574565b34801561062f57600080fd5b5061030761063e366004612ae6565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561066857600080fd5b506000546001600160a01b03166103af565b34801561068657600080fd5b50610297610695366004612bc1565b6115b5565b3480156106a657600080fd5b5060408051808201909152600381526254444360e81b60208201526102d1565b3480156106d257600080fd5b506016546017546018546019546103599392919084565b3480156106f557600080fd5b50610297610704366004612bf9565b6115f2565b34801561071557600080fd5b50610307610724366004612b96565b611699565b34801561073557600080fd5b506008546103af906001600160a01b031681565b34801561075557600080fd5b50610307610764366004612b96565b6116e8565b34801561077557600080fd5b50610297610784366004612bf9565b6116f5565b34801561079557600080fd5b506103286107a4366004612b1e565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156107db57600080fd5b50610328600b5481565b3480156107f157600080fd5b50610297610800366004612ae6565b61173b565b34801561081157600080fd5b50600d546103af906001600160a01b031681565b34801561083157600080fd5b50610297610840366004612ae6565b611786565b34801561085157600080fd5b506007546103af90630100000090046001600160a01b031681565b34801561087857600080fd5b50610297610887366004612bc1565b611821565b34801561089857600080fd5b506102976108a7366004612c4d565b611865565b6000546001600160a01b031633146108df5760405162461bcd60e51b81526004016108d690612d66565b60405180910390fd5b601382905560148190556040517f846206d6c3449ac0b05841dfb88bf28b55aef00f96152490c69c96238048de1590600090a15050565b60006109233384846118c6565b5060015b92915050565b600061093a8484846119ea565b61098c843361098785604051806060016040528060288152602001612f88602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611cbe565b6118c6565b5060015b9392505050565b6000600a548211156109fe5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016108d6565b6000610a08611cea565b90506109908184612def565b6000546001600160a01b03163314610a3e5760405162461bcd60e51b81526004016108d690612d66565b600d546001600160a01b0382811691161415610a915760405162461bcd60e51b815260206004820152601260248201527115d85b1b195d08185b1c9958591e481cd95d60721b60448201526064016108d6565b600d80546001600160a01b039092166001600160a01b0319909216821790556000526004602052565b6000546001600160a01b03163314610ae45760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b03811660009081526005602052604090205460ff16610b4c5760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c7564656400000000000000000060448201526064016108d6565b60005b600654811015610ca557816001600160a01b031660068281548110610b8457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610c935760068054610baf90600190612f1c565b81548110610bcd57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610c0757634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610c6d57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610c9d81612f33565b915050610b4f565b5050565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091610923918590610987908690612dd7565b3360008181526005602052604090205460ff1615610d555760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016108d6565b6000610d648360016000611d0d565b80516001600160a01b038416600090815260016020526040902054919250610d8c9190611d57565b6001600160a01b0383166000908152600160205260409020558051600a54610db391611d57565b600a5560168054849190600090610dcb908490612dd7565b9091555050505050565b6000546001600160a01b03163314610dff5760405162461bcd60e51b81526004016108d690612d66565b6007546001600160a01b038281166301000000909204161415610e2157600080fd5b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610e6157600080fd5b505afa158015610e75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e999190612b02565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee157600080fd5b505afa158015610ef5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f199190612b02565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b158015610f5f57600080fd5b505afa158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612b02565b90506001600160a01b03811661113d57816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe057600080fd5b505afa158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110189190612b02565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561106057600080fd5b505afa158015611074573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110989190612b02565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111189190612b02565b600880546001600160a01b0319166001600160a01b0392909216919091179055611159565b600880546001600160a01b0319166001600160a01b0383161790555b50600780546001600160a01b039092166301000000026301000000600160b81b031990921691909117905550565b6000546001600160a01b031633146111b15760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b60006009548311156112295760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016108d6565b8161124757600061123d8460016000611d0d565b5191506109279050565b60006112568460016000611d0d565b6020015191506109279050565b6000546001600160a01b0316331461128d5760405162461bcd60e51b81526004016108d690612d66565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a082319060240160206040518083038186803b1580156112d657600080fd5b505afa1580156112ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130e9190612c11565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561135457600080fd5b505af1158015611368573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca59190612bdd565b6000546001600160a01b031633146113b65760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b03811660009081526005602052604090205460ff161561141f5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016108d6565b6001600160a01b03811660009081526001602052604090205415611479576001600160a01b03811660009081526001602052604090205461145f90610997565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526005602052604081205460ff161561151c57506001600160a01b031660009081526002602052604090205490565b6001600160a01b03821660009081526001602052604090205461092790610997565b6000546001600160a01b031633146115685760405162461bcd60e51b81526004016108d690612d66565b6115726000611d63565b565b6000546001600160a01b0316331461159e5760405162461bcd60e51b81526004016108d690612d66565b6115af8166038d7ea4c68000612efd565b600c5550565b6000546001600160a01b031633146115df5760405162461bcd60e51b81526004016108d690612d66565b6007805460ff1916911515919091179055565b6000546001600160a01b0316331461161c5760405162461bcd60e51b81526004016108d690612d66565b8047101561166c5760405162461bcd60e51b815260206004820152601860248201527f696e73756666696369656e7420424e422062616c616e6365000000000000000060448201526064016108d6565b604051339082156108fc029083906000818181858888f19350505050158015610ca5573d6000803e3d6000fd5b6000610923338461098785604051806060016040528060258152602001612fb0602591393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611cbe565b60006109233384846119ea565b6000546001600160a01b0316331461171f5760405162461bcd60e51b81526004016108d690612d66565b61172b6012600a612e52565b6117359082612efd565b600b5550565b6000546001600160a01b031633146117655760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6000546001600160a01b031633146117b05760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b0381166118155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d6565b61181e81611d63565b50565b6000546001600160a01b0316331461184b5760405162461bcd60e51b81526004016108d690612d66565b600780549115156101000261ff0019909216919091179055565b6000546001600160a01b0316331461188f5760405162461bcd60e51b81526004016108d690612d66565b600f82905560108190556040517f846206d6c3449ac0b05841dfb88bf28b55aef00f96152490c69c96238048de1590600090a15050565b6001600160a01b0383166119285760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108d6565b6001600160a01b0382166119895760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108d6565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611a4e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108d6565b6001600160a01b038216611ab05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108d6565b60008111611b125760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108d6565b611b1b836114df565b811115611b845760405162461bcd60e51b815260206004820152603160248201527f596f752061726520747279696e6720746f207472616e73666572206d6f7265206044820152707468616e20796f75722062616c616e636560781b60648201526084016108d6565b6000611b8f306114df565b600b546007549192508210159062010000900460ff16158015611bb4575060075460ff165b8015611bbd5750805b8015611bd757506008546001600160a01b03868116911614155b15611c49576007544790610100900460ff168015611bfc5750670de0b6b3a764000081115b8015611c1557506008546001600160a01b038681169116145b15611c3c57600c54811115611c295750600c545b611c3c611c37826064611db3565b611dbf565b611c47600b54611dee565b505b6008546000906001600160a01b0386811691161415611c66575060015b6001600160a01b038616600090815260046020526040902054611cb69087908790879060ff1680611caf57506001600160a01b03891660009081526004602052604090205460ff165b1585611f28565b505050505050565b60008184841115611ce25760405162461bcd60e51b81526004016108d69190612d13565b505050900390565b6000806000611cf7612184565b9092509050611d068183612def565b9250505090565b611d15612a8c565b611d2084848461233f565b9050611d35818585611d30611cea565b6124f0565b60a0870152608086015260608501526040840152602083015281529392505050565b60006109908284612f1c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006109908284612def565b6007805462ff00001916620100001790558015611ddf57611ddf816125a2565b506007805462ff000019169055565b6007805462ff0000191662010000179055600f5460115460105460009291611e1591612dd7565b611e1f9190612dd7565b611e2a906002612efd565b9050600081600e6002015484611e409190612efd565b611e4a9190612def565b90506000611e588285612f1c565b905047611e648261273a565b6000611e708247612f1c565b601054909150600090611e839087612f1c565b611e8d9083612def565b601054909150600090611ea09083612efd565b90508015611eb257611eb286826128de565b600f54600090611ec3846002612efd565b611ecd9190612efd565b90508015611f1157600d546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611f0f573d6000803e3d6000fd5b505b50506007805462ff00001916905550505050505050565b6000611f35848484611d0d565b6001600160a01b03871660009081526005602052604090205490915060ff1615611f97576001600160a01b038616600090815260026020526040902054611f7d908590612f1c565b6001600160a01b0387166000908152600260205260409020555b6001600160a01b03851660009081526005602052604090205460ff1615611ffa5760c08101516001600160a01b038616600090815260026020526040902054611fe09190612dd7565b6001600160a01b0386166000908152600260205260409020555b80516001600160a01b03871660009081526001602052604090205461201f9190612f1c565b6001600160a01b03808816600090815260016020908152604080832094909455840151918816815291909120546120569190612dd7565b6001600160a01b038616600090815260016020526040908190209190915581015160e082015161208691906129ab565b61209981606001518261010001516129e0565b6120ac8160800151826101200151612a56565b6120bf8160a00151826101400151612a6b565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360c0015160405161210891815260200190565b60405180910390a3306001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8361014001518461010001518561012001516121619190612dd7565b61216b9190612dd7565b60405190815260200160405180910390a3505050505050565b600a546009546000918291825b60065481101561230e578260016000600684815481106121c157634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061223a575081600260006006848154811061221357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561225057600a54600954945094505050509091565b600160006006838154811061227557634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546122a49084612f1c565b925060026000600683815481106122cb57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546122fa9083612f1c565b91508061230681612f33565b915050612191565b50600954600a5461231f9190612def565b82101561233657600a546009549350935050509091565b90939092509050565b612347612a8c565b826123585760c08101849052610990565b8115612426576012546103e89061236f9086612efd565b6123799190612def565b60e08201526013546103e89061238f9086612efd565b6123999190612def565b6101008201526014546103e8906123b09086612efd565b6123ba9190612def565b6101208201526015546103e8906123d19086612efd565b6123db9190612def565b610140820181905261012082015161010083015160e08401516123fe9088612f1c565b6124089190612f1c565b6124129190612f1c565b61241c9190612f1c565b60c0820152610990565b600e546103e8906124379086612efd565b6124419190612def565b60e0820152600f546103e8906124579086612efd565b6124619190612def565b6101008201526010546103e8906124789086612efd565b6124829190612def565b6101208201526011546103e8906124999086612efd565b6124a39190612def565b610140820181905261012082015161010083015160e08401516124c69088612f1c565b6124d09190612f1c565b6124da9190612f1c565b6124e49190612f1c565b60c08201529392505050565b60008080808080612501878a612efd565b95508761251c57508493506000925082915081905080612595565b868a60e0015161252c9190612efd565b9350868a610100015161253f9190612efd565b9250868a61012001516125529190612efd565b9150868a61014001516125659190612efd565b9050808284612574878a612f1c565b61257e9190612f1c565b6125889190612f1c565b6125929190612f1c565b94505b9499939850945094509450565b604080516002808252606082018352600092602083019080368337019050509050600760039054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561261157600080fd5b505afa158015612625573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126499190612b02565b8160008151811061266a57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106126ac57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600754630100000090041663b6f9de958360008461dead6126e54261012c612a80565b6040518663ffffffff1660e01b81526004016127049493929190612cde565b6000604051808303818588803b15801561271d57600080fd5b505af1158015612731573d6000803e3d6000fd5b50505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061277d57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050600760039054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156127eb57600080fd5b505afa1580156127ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128239190612b02565b8160018151811061284457634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526007546128719130916301000000900416846118c6565b60075460405163791ac94760e01b815263010000009091046001600160a01b03169063791ac947906128b0908590600090869030904290600401612d9b565b600060405180830381600087803b1580156128ca57600080fd5b505af1158015611cb6573d6000803e3d6000fd5b6007546128fd903090630100000090046001600160a01b0316846118c6565b60075460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a482015263010000009091046001600160a01b03169063f305d71990839060c4016060604051808303818588803b15801561296b57600080fd5b505af115801561297f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906129a49190612c6e565b5050505050565b81600a60008282546129bd9190612f1c565b9091555050601680548291906000906129d7908490612dd7565b90915550505050565b80601660010160008282546129f59190612dd7565b90915550503060009081526005602052604090205460ff1615612a37573060009081526002602052604081208054839290612a31908490612dd7565b90915550505b30600090815260016020526040812080548492906129d7908490612dd7565b80601660020160008282546129f59190612dd7565b80601660030160008282546129f59190612dd7565b60006109908284612dd7565b60405180610160016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b600060208284031215612af7578081fd5b813561099081612f64565b600060208284031215612b13578081fd5b815161099081612f64565b60008060408385031215612b30578081fd5b8235612b3b81612f64565b91506020830135612b4b81612f64565b809150509250929050565b600080600060608486031215612b6a578081fd5b8335612b7581612f64565b92506020840135612b8581612f64565b929592945050506040919091013590565b60008060408385031215612ba8578182fd5b8235612bb381612f64565b946020939093013593505050565b600060208284031215612bd2578081fd5b813561099081612f79565b600060208284031215612bee578081fd5b815161099081612f79565b600060208284031215612c0a578081fd5b5035919050565b600060208284031215612c22578081fd5b5051919050565b60008060408385031215612c3b578182fd5b823591506020830135612b4b81612f79565b60008060408385031215612c5f578182fd5b50508035926020909101359150565b600080600060608486031215612c82578283fd5b8351925060208401519150604084015190509250925092565b6000815180845260208085019450808401835b83811015612cd35781516001600160a01b031687529582019590820190600101612cae565b509495945050505050565b848152608060208201526000612cf76080830186612c9b565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b81811015612d3f57858101830151858201604001528201612d23565b81811115612d505783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b85815284602082015260a060408201526000612dba60a0830186612c9b565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612dea57612dea612f4e565b500190565b600082612e0a57634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115612e4a578160001904821115612e3057612e30612f4e565b80851615612e3d57918102915b93841c9390800290612e14565b509250929050565b600061099060ff841683600082612e6b57506001610927565b81612e7857506000610927565b8160018114612e8e5760028114612e9857612eb4565b6001915050610927565b60ff841115612ea957612ea9612f4e565b50506001821b610927565b5060208310610133831016604e8410600b8410161715612ed7575081810a610927565b612ee18383612e0f565b8060001904821115612ef557612ef5612f4e565b029392505050565b6000816000190483118215151615612f1757612f17612f4e565b500290565b600082821015612f2e57612f2e612f4e565b500390565b6000600019821415612f4757612f47612f4e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461181e57600080fd5b801515811461181e57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122044e11b7f6ef5f882a7d127213c3abb20ce4450180ccc28385d86f7775d45d9f564736f6c634300080400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x60806040526004361061026b5760003560e01c806370e5024111610144578063a8aa1b31116100b6578063ea2f0b371161007a578063ea2f0b37146107e5578063ea4cfe1214610805578063f2fde38b14610825578063f887ea4014610845578063f9e089691461086c578063feaca5831461088c57600080fd5b8063a8aa1b3114610729578063a9059cbb14610749578063d257b34f14610769578063dd62ed3e14610789578063e2f45605146107cf57600080fd5b80638da5cb5b116101085780638da5cb5b1461065c578063924de9b71461067a57806395d89b411461069a5780639ba5e4d5146106c65780639e252f00146106e9578063a457c2d71461070957600080fd5b806370e50241146105b5578063715018a6146105cb5780637688c584146105e057806382d2a4bb1461060357806388f820201461062357600080fd5b806339509351116101dd5780634f2c4fa5116101a15780634f2c4fa5146104e357806352390c02146105035780635342acb4146105235780636053a0e31461055c5780636ddd17131461057b57806370a082311461059557600080fd5b806339509351146104435780633bd5d1731461046357806341cb87fc14610483578063437823ec146104a35780634549b039146104c357600080fd5b806323b872dd1161022f57806323b872dd1461037957806327c8f835146103995780632d838119146103c757806330d5d18d146103e7578063313ce567146104075780633685d4191461042357600080fd5b806303f7b7861461027757806306fdde0314610299578063095ea7b3146102e757806318160ddd1461031757806318a90c441461033657600080fd5b3661027257005b600080fd5b34801561028357600080fd5b50610297610292366004612c4d565b6108ac565b005b3480156102a557600080fd5b506040805180820190915260138152722a393ab6b8102237b730ba34b7b71021b7b4b760691b60208201525b6040516102de9190612d13565b60405180910390f35b3480156102f357600080fd5b50610307610302366004612b96565b610916565b60405190151581526020016102de565b34801561032357600080fd5b506009545b6040519081526020016102de565b34801561034257600080fd5b506012546013546014546015546103599392919084565b6040805194855260208501939093529183015260608201526080016102de565b34801561038557600080fd5b50610307610394366004612b56565b61092d565b3480156103a557600080fd5b506103af61dead81565b6040516001600160a01b0390911681526020016102de565b3480156103d357600080fd5b506103286103e2366004612bf9565b610997565b3480156103f357600080fd5b50610297610402366004612ae6565b610a14565b34801561041357600080fd5b50604051601281526020016102de565b34801561042f57600080fd5b5061029761043e366004612ae6565b610aba565b34801561044f57600080fd5b5061030761045e366004612b96565b610ca9565b34801561046f57600080fd5b5061029761047e366004612bf9565b610ce0565b34801561048f57600080fd5b5061029761049e366004612ae6565b610dd5565b3480156104af57600080fd5b506102976104be366004612ae6565b611187565b3480156104cf57600080fd5b506103286104de366004612c29565b6111d5565b3480156104ef57600080fd5b506102976104fe366004612ae6565b611263565b34801561050f57600080fd5b5061029761051e366004612ae6565b61138c565b34801561052f57600080fd5b5061030761053e366004612ae6565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561056857600080fd5b5060075461030790610100900460ff1681565b34801561058757600080fd5b506007546103079060ff1681565b3480156105a157600080fd5b506103286105b0366004612ae6565b6114df565b3480156105c157600080fd5b50610328600c5481565b3480156105d757600080fd5b5061029761153e565b3480156105ec57600080fd5b50600e54600f546010546011546103599392919084565b34801561060f57600080fd5b5061029761061e366004612bf9565b611574565b34801561062f57600080fd5b5061030761063e366004612ae6565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561066857600080fd5b506000546001600160a01b03166103af565b34801561068657600080fd5b50610297610695366004612bc1565b6115b5565b3480156106a657600080fd5b5060408051808201909152600381526254444360e81b60208201526102d1565b3480156106d257600080fd5b506016546017546018546019546103599392919084565b3480156106f557600080fd5b50610297610704366004612bf9565b6115f2565b34801561071557600080fd5b50610307610724366004612b96565b611699565b34801561073557600080fd5b506008546103af906001600160a01b031681565b34801561075557600080fd5b50610307610764366004612b96565b6116e8565b34801561077557600080fd5b50610297610784366004612bf9565b6116f5565b34801561079557600080fd5b506103286107a4366004612b1e565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156107db57600080fd5b50610328600b5481565b3480156107f157600080fd5b50610297610800366004612ae6565b61173b565b34801561081157600080fd5b50600d546103af906001600160a01b031681565b34801561083157600080fd5b50610297610840366004612ae6565b611786565b34801561085157600080fd5b506007546103af90630100000090046001600160a01b031681565b34801561087857600080fd5b50610297610887366004612bc1565b611821565b34801561089857600080fd5b506102976108a7366004612c4d565b611865565b6000546001600160a01b031633146108df5760405162461bcd60e51b81526004016108d690612d66565b60405180910390fd5b601382905560148190556040517f846206d6c3449ac0b05841dfb88bf28b55aef00f96152490c69c96238048de1590600090a15050565b60006109233384846118c6565b5060015b92915050565b600061093a8484846119ea565b61098c843361098785604051806060016040528060288152602001612f88602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611cbe565b6118c6565b5060015b9392505050565b6000600a548211156109fe5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016108d6565b6000610a08611cea565b90506109908184612def565b6000546001600160a01b03163314610a3e5760405162461bcd60e51b81526004016108d690612d66565b600d546001600160a01b0382811691161415610a915760405162461bcd60e51b815260206004820152601260248201527115d85b1b195d08185b1c9958591e481cd95d60721b60448201526064016108d6565b600d80546001600160a01b039092166001600160a01b0319909216821790556000526004602052565b6000546001600160a01b03163314610ae45760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b03811660009081526005602052604090205460ff16610b4c5760405162461bcd60e51b815260206004820152601760248201527f4163636f756e74206973206e6f74206578636c7564656400000000000000000060448201526064016108d6565b60005b600654811015610ca557816001600160a01b031660068281548110610b8457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610c935760068054610baf90600190612f1c565b81548110610bcd57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610c0757634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610c6d57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610c9d81612f33565b915050610b4f565b5050565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091610923918590610987908690612dd7565b3360008181526005602052604090205460ff1615610d555760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016108d6565b6000610d648360016000611d0d565b80516001600160a01b038416600090815260016020526040902054919250610d8c9190611d57565b6001600160a01b0383166000908152600160205260409020558051600a54610db391611d57565b600a5560168054849190600090610dcb908490612dd7565b9091555050505050565b6000546001600160a01b03163314610dff5760405162461bcd60e51b81526004016108d690612d66565b6007546001600160a01b038281166301000000909204161415610e2157600080fd5b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610e6157600080fd5b505afa158015610e75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e999190612b02565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610ee157600080fd5b505afa158015610ef5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f199190612b02565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b158015610f5f57600080fd5b505afa158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612b02565b90506001600160a01b03811661113d57816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe057600080fd5b505afa158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110189190612b02565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561106057600080fd5b505afa158015611074573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110989190612b02565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111189190612b02565b600880546001600160a01b0319166001600160a01b0392909216919091179055611159565b600880546001600160a01b0319166001600160a01b0383161790555b50600780546001600160a01b039092166301000000026301000000600160b81b031990921691909117905550565b6000546001600160a01b031633146111b15760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b60006009548311156112295760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016108d6565b8161124757600061123d8460016000611d0d565b5191506109279050565b60006112568460016000611d0d565b6020015191506109279050565b6000546001600160a01b0316331461128d5760405162461bcd60e51b81526004016108d690612d66565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a082319060240160206040518083038186803b1580156112d657600080fd5b505afa1580156112ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130e9190612c11565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561135457600080fd5b505af1158015611368573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca59190612bdd565b6000546001600160a01b031633146113b65760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b03811660009081526005602052604090205460ff161561141f5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016108d6565b6001600160a01b03811660009081526001602052604090205415611479576001600160a01b03811660009081526001602052604090205461145f90610997565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526005602052604081205460ff161561151c57506001600160a01b031660009081526002602052604090205490565b6001600160a01b03821660009081526001602052604090205461092790610997565b6000546001600160a01b031633146115685760405162461bcd60e51b81526004016108d690612d66565b6115726000611d63565b565b6000546001600160a01b0316331461159e5760405162461bcd60e51b81526004016108d690612d66565b6115af8166038d7ea4c68000612efd565b600c5550565b6000546001600160a01b031633146115df5760405162461bcd60e51b81526004016108d690612d66565b6007805460ff1916911515919091179055565b6000546001600160a01b0316331461161c5760405162461bcd60e51b81526004016108d690612d66565b8047101561166c5760405162461bcd60e51b815260206004820152601860248201527f696e73756666696369656e7420424e422062616c616e6365000000000000000060448201526064016108d6565b604051339082156108fc029083906000818181858888f19350505050158015610ca5573d6000803e3d6000fd5b6000610923338461098785604051806060016040528060258152602001612fb0602591393360009081526003602090815260408083206001600160a01b038d1684529091529020549190611cbe565b60006109233384846119ea565b6000546001600160a01b0316331461171f5760405162461bcd60e51b81526004016108d690612d66565b61172b6012600a612e52565b6117359082612efd565b600b5550565b6000546001600160a01b031633146117655760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6000546001600160a01b031633146117b05760405162461bcd60e51b81526004016108d690612d66565b6001600160a01b0381166118155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d6565b61181e81611d63565b50565b6000546001600160a01b0316331461184b5760405162461bcd60e51b81526004016108d690612d66565b600780549115156101000261ff0019909216919091179055565b6000546001600160a01b0316331461188f5760405162461bcd60e51b81526004016108d690612d66565b600f82905560108190556040517f846206d6c3449ac0b05841dfb88bf28b55aef00f96152490c69c96238048de1590600090a15050565b6001600160a01b0383166119285760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108d6565b6001600160a01b0382166119895760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108d6565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611a4e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108d6565b6001600160a01b038216611ab05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108d6565b60008111611b125760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108d6565b611b1b836114df565b811115611b845760405162461bcd60e51b815260206004820152603160248201527f596f752061726520747279696e6720746f207472616e73666572206d6f7265206044820152707468616e20796f75722062616c616e636560781b60648201526084016108d6565b6000611b8f306114df565b600b546007549192508210159062010000900460ff16158015611bb4575060075460ff165b8015611bbd5750805b8015611bd757506008546001600160a01b03868116911614155b15611c49576007544790610100900460ff168015611bfc5750670de0b6b3a764000081115b8015611c1557506008546001600160a01b038681169116145b15611c3c57600c54811115611c295750600c545b611c3c611c37826064611db3565b611dbf565b611c47600b54611dee565b505b6008546000906001600160a01b0386811691161415611c66575060015b6001600160a01b038616600090815260046020526040902054611cb69087908790879060ff1680611caf57506001600160a01b03891660009081526004602052604090205460ff165b1585611f28565b505050505050565b60008184841115611ce25760405162461bcd60e51b81526004016108d69190612d13565b505050900390565b6000806000611cf7612184565b9092509050611d068183612def565b9250505090565b611d15612a8c565b611d2084848461233f565b9050611d35818585611d30611cea565b6124f0565b60a0870152608086015260608501526040840152602083015281529392505050565b60006109908284612f1c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006109908284612def565b6007805462ff00001916620100001790558015611ddf57611ddf816125a2565b506007805462ff000019169055565b6007805462ff0000191662010000179055600f5460115460105460009291611e1591612dd7565b611e1f9190612dd7565b611e2a906002612efd565b9050600081600e6002015484611e409190612efd565b611e4a9190612def565b90506000611e588285612f1c565b905047611e648261273a565b6000611e708247612f1c565b601054909150600090611e839087612f1c565b611e8d9083612def565b601054909150600090611ea09083612efd565b90508015611eb257611eb286826128de565b600f54600090611ec3846002612efd565b611ecd9190612efd565b90508015611f1157600d546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611f0f573d6000803e3d6000fd5b505b50506007805462ff00001916905550505050505050565b6000611f35848484611d0d565b6001600160a01b03871660009081526005602052604090205490915060ff1615611f97576001600160a01b038616600090815260026020526040902054611f7d908590612f1c565b6001600160a01b0387166000908152600260205260409020555b6001600160a01b03851660009081526005602052604090205460ff1615611ffa5760c08101516001600160a01b038616600090815260026020526040902054611fe09190612dd7565b6001600160a01b0386166000908152600260205260409020555b80516001600160a01b03871660009081526001602052604090205461201f9190612f1c565b6001600160a01b03808816600090815260016020908152604080832094909455840151918816815291909120546120569190612dd7565b6001600160a01b038616600090815260016020526040908190209190915581015160e082015161208691906129ab565b61209981606001518261010001516129e0565b6120ac8160800151826101200151612a56565b6120bf8160a00151826101400151612a6b565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360c0015160405161210891815260200190565b60405180910390a3306001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8361014001518461010001518561012001516121619190612dd7565b61216b9190612dd7565b60405190815260200160405180910390a3505050505050565b600a546009546000918291825b60065481101561230e578260016000600684815481106121c157634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061223a575081600260006006848154811061221357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561225057600a54600954945094505050509091565b600160006006838154811061227557634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546122a49084612f1c565b925060026000600683815481106122cb57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546122fa9083612f1c565b91508061230681612f33565b915050612191565b50600954600a5461231f9190612def565b82101561233657600a546009549350935050509091565b90939092509050565b612347612a8c565b826123585760c08101849052610990565b8115612426576012546103e89061236f9086612efd565b6123799190612def565b60e08201526013546103e89061238f9086612efd565b6123999190612def565b6101008201526014546103e8906123b09086612efd565b6123ba9190612def565b6101208201526015546103e8906123d19086612efd565b6123db9190612def565b610140820181905261012082015161010083015160e08401516123fe9088612f1c565b6124089190612f1c565b6124129190612f1c565b61241c9190612f1c565b60c0820152610990565b600e546103e8906124379086612efd565b6124419190612def565b60e0820152600f546103e8906124579086612efd565b6124619190612def565b6101008201526010546103e8906124789086612efd565b6124829190612def565b6101208201526011546103e8906124999086612efd565b6124a39190612def565b610140820181905261012082015161010083015160e08401516124c69088612f1c565b6124d09190612f1c565b6124da9190612f1c565b6124e49190612f1c565b60c08201529392505050565b60008080808080612501878a612efd565b95508761251c57508493506000925082915081905080612595565b868a60e0015161252c9190612efd565b9350868a610100015161253f9190612efd565b9250868a61012001516125529190612efd565b9150868a61014001516125659190612efd565b9050808284612574878a612f1c565b61257e9190612f1c565b6125889190612f1c565b6125929190612f1c565b94505b9499939850945094509450565b604080516002808252606082018352600092602083019080368337019050509050600760039054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561261157600080fd5b505afa158015612625573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126499190612b02565b8160008151811061266a57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106126ac57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600754630100000090041663b6f9de958360008461dead6126e54261012c612a80565b6040518663ffffffff1660e01b81526004016127049493929190612cde565b6000604051808303818588803b15801561271d57600080fd5b505af1158015612731573d6000803e3d6000fd5b50505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061277d57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050600760039054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156127eb57600080fd5b505afa1580156127ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128239190612b02565b8160018151811061284457634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526007546128719130916301000000900416846118c6565b60075460405163791ac94760e01b815263010000009091046001600160a01b03169063791ac947906128b0908590600090869030904290600401612d9b565b600060405180830381600087803b1580156128ca57600080fd5b505af1158015611cb6573d6000803e3d6000fd5b6007546128fd903090630100000090046001600160a01b0316846118c6565b60075460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a482015263010000009091046001600160a01b03169063f305d71990839060c4016060604051808303818588803b15801561296b57600080fd5b505af115801561297f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906129a49190612c6e565b5050505050565b81600a60008282546129bd9190612f1c565b9091555050601680548291906000906129d7908490612dd7565b90915550505050565b80601660010160008282546129f59190612dd7565b90915550503060009081526005602052604090205460ff1615612a37573060009081526002602052604081208054839290612a31908490612dd7565b90915550505b30600090815260016020526040812080548492906129d7908490612dd7565b80601660020160008282546129f59190612dd7565b80601660030160008282546129f59190612dd7565b60006109908284612dd7565b60405180610160016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b600060208284031215612af7578081fd5b813561099081612f64565b600060208284031215612b13578081fd5b815161099081612f64565b60008060408385031215612b30578081fd5b8235612b3b81612f64565b91506020830135612b4b81612f64565b809150509250929050565b600080600060608486031215612b6a578081fd5b8335612b7581612f64565b92506020840135612b8581612f64565b929592945050506040919091013590565b60008060408385031215612ba8578182fd5b8235612bb381612f64565b946020939093013593505050565b600060208284031215612bd2578081fd5b813561099081612f79565b600060208284031215612bee578081fd5b815161099081612f79565b600060208284031215612c0a578081fd5b5035919050565b600060208284031215612c22578081fd5b5051919050565b60008060408385031215612c3b578182fd5b823591506020830135612b4b81612f79565b60008060408385031215612c5f578182fd5b50508035926020909101359150565b600080600060608486031215612c82578283fd5b8351925060208401519150604084015190509250925092565b6000815180845260208085019450808401835b83811015612cd35781516001600160a01b031687529582019590820190600101612cae565b509495945050505050565b848152608060208201526000612cf76080830186612c9b565b6001600160a01b03949094166040830152506060015292915050565b6000602080835283518082850152825b81811015612d3f57858101830151858201604001528201612d23565b81811115612d505783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b85815284602082015260a060408201526000612dba60a0830186612c9b565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612dea57612dea612f4e565b500190565b600082612e0a57634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115612e4a578160001904821115612e3057612e30612f4e565b80851615612e3d57918102915b93841c9390800290612e14565b509250929050565b600061099060ff841683600082612e6b57506001610927565b81612e7857506000610927565b8160018114612e8e5760028114612e9857612eb4565b6001915050610927565b60ff841115612ea957612ea9612f4e565b50506001821b610927565b5060208310610133831016604e8410600b8410161715612ed7575081810a610927565b612ee18383612e0f565b8060001904821115612ef557612ef5612f4e565b029392505050565b6000816000190483118215151615612f1757612f17612f4e565b500290565b600082821015612f2e57612f2e612f4e565b500390565b6000600019821415612f4757612f47612f4e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461181e57600080fd5b801515811461181e57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122044e11b7f6ef5f882a7d127213c3abb20ce4450180ccc28385d86f7775d45d9f564736f6c63430008040033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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