ETH Price: $3,125.68 (-5.28%)
Gas: 4.8 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve206340002024-08-29 11:40:11156 days ago1724931611IN
Bahamas Network: BN Token
0 ETH0.000126142.70665028
Approve205670572024-08-20 3:09:11165 days ago1724123351IN
Bahamas Network: BN Token
0 ETH0.000075813.11726412
Approve205663302024-08-20 0:43:23165 days ago1724114603IN
Bahamas Network: BN Token
0 ETH0.000055032.26308865
Approve204055132024-07-28 14:01:59188 days ago1722175319IN
Bahamas Network: BN Token
0 ETH0.00005742.36635283
Transfer199097722024-05-20 7:53:23257 days ago1716191603IN
Bahamas Network: BN Token
0 ETH0.000291584.22531793
Transfer198212622024-05-07 22:47:11270 days ago1715122031IN
Bahamas Network: BN Token
0 ETH0.000410765.95443743
Approve197282782024-04-24 22:42:23283 days ago1713998543IN
Bahamas Network: BN Token
0 ETH0.000191917.89126956
Approve192557922024-02-18 16:12:11349 days ago1708272731IN
Bahamas Network: BN Token
0 ETH0.0007822432.16477621
Approve191331282024-02-01 10:56:23366 days ago1706784983IN
Bahamas Network: BN Token
0 ETH0.0004322917.77517703
Approve189177762024-01-02 5:58:47396 days ago1704175127IN
Bahamas Network: BN Token
0 ETH0.0002509210.31754801
Approve189177732024-01-02 5:58:11396 days ago1704175091IN
Bahamas Network: BN Token
0 ETH0.0002737411.28398129
Approve189095052024-01-01 2:04:11397 days ago1704074651IN
Bahamas Network: BN Token
0 ETH0.000429929.29936931
Approve189083262023-12-31 22:06:11398 days ago1704060371IN
Bahamas Network: BN Token
0 ETH0.0002904711.97320819
Approve185639322023-11-13 15:40:11446 days ago1699890011IN
Bahamas Network: BN Token
0 ETH0.001168948.0633657
Approve185256832023-11-08 7:15:23451 days ago1699427723IN
Bahamas Network: BN Token
0 ETH0.0005260621.63081082
Approve184948002023-11-03 23:26:59455 days ago1699054019IN
Bahamas Network: BN Token
0 ETH0.0003449114.21742341
Approve184419042023-10-27 13:41:11463 days ago1698414071IN
Bahamas Network: BN Token
0 ETH0.0005760823.74627474
Approve184325282023-10-26 6:12:47464 days ago1698300767IN
Bahamas Network: BN Token
0 ETH0.0009043119.42917481
Approve184251212023-10-25 5:16:59465 days ago1698211019IN
Bahamas Network: BN Token
0 ETH0.0002586710.66280127
Approve184234332023-10-24 23:36:47465 days ago1698190607IN
Bahamas Network: BN Token
0 ETH0.0006566427
Approve184234292023-10-24 23:35:59465 days ago1698190559IN
Bahamas Network: BN Token
0 ETH0.0004840919.90525685
Approve184234182023-10-24 23:33:47465 days ago1698190427IN
Bahamas Network: BN Token
0 ETH0.0005400222.20477648
Approve184234062023-10-24 23:31:23465 days ago1698190283IN
Bahamas Network: BN Token
0 ETH0.0006080725.00294387
Transfer184214622023-10-24 16:59:35466 days ago1698166775IN
Bahamas Network: BN Token
0 ETH0.0012419626.23114356
Approve184137532023-10-23 15:06:47467 days ago1698073607IN
Bahamas Network: BN Token
0 ETH0.0020023842.96594176
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
191399902024-02-02 10:02:59365 days ago1706868179
Bahamas Network: BN Token
0.00513354 ETH
191399902024-02-02 10:02:59365 days ago1706868179
Bahamas Network: BN Token
0.00513354 ETH
189095112024-01-01 2:05:23397 days ago1704074723
Bahamas Network: BN Token
0.00520325 ETH
189095112024-01-01 2:05:23397 days ago1704074723
Bahamas Network: BN Token
0.00520325 ETH
185119082023-11-06 8:59:47453 days ago1699261187
Bahamas Network: BN Token
0.00528232 ETH
185119082023-11-06 8:59:47453 days ago1699261187
Bahamas Network: BN Token
0.00528232 ETH
183496412023-10-14 15:54:11476 days ago1697298851
Bahamas Network: BN Token
0.02238265 ETH
183496412023-10-14 15:54:11476 days ago1697298851
Bahamas Network: BN Token
0.02238265 ETH
182988002023-10-07 13:06:59483 days ago1696684019
Bahamas Network: BN Token
0.20699137 ETH
182988002023-10-07 13:06:59483 days ago1696684019
Bahamas Network: BN Token
0.20699137 ETH
182646142023-10-02 18:23:23488 days ago1696271003
Bahamas Network: BN Token
0.17927765 ETH
182646142023-10-02 18:23:23488 days ago1696271003
Bahamas Network: BN Token
0.17927765 ETH
182639302023-10-02 16:05:47488 days ago1696262747
Bahamas Network: BN Token
0.21520974 ETH
182639302023-10-02 16:05:47488 days ago1696262747
Bahamas Network: BN Token
0.21520974 ETH
182622232023-10-02 10:22:59488 days ago1696242179
Bahamas Network: BN Token
0.21834724 ETH
182622232023-10-02 10:22:59488 days ago1696242179
Bahamas Network: BN Token
0.21834724 ETH
182572252023-10-01 17:38:11489 days ago1696181891
Bahamas Network: BN Token
0.24375187 ETH
182572252023-10-01 17:38:11489 days ago1696181891
Bahamas Network: BN Token
0.24375187 ETH
182521672023-10-01 0:40:47489 days ago1696120847
Bahamas Network: BN Token
0.32526593 ETH
182521672023-10-01 0:40:47489 days ago1696120847
Bahamas Network: BN Token
0.32526593 ETH
182504212023-09-30 18:50:59490 days ago1696099859
Bahamas Network: BN Token
0.23823021 ETH
182504212023-09-30 18:50:59490 days ago1696099859
Bahamas Network: BN Token
0.23823021 ETH
182487222023-09-30 13:08:47490 days ago1696079327
Bahamas Network: BN Token
0.24622172 ETH
182487222023-09-30 13:08:47490 days ago1696079327
Bahamas Network: BN Token
0.24622172 ETH
182477542023-09-30 9:53:47490 days ago1696067627
Bahamas Network: BN Token
0.32125667 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BahamasNetwork

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : new.sol
/**
https://t.me/bahamasnetwork
https://bahamasnetwork.finance
https://twitter.com/bahamasnetwork
*/
//  SPDX-License-Identifier: MIT

pragma solidity >=0.8.19;

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

}

abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _transferOwnership(_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 {
        _transferOwnership(address(0));
    }

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

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

interface IERC20Metadata is IERC20 {

    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 9;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

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

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

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

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

library SafeMath {

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

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

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

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router02 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

contract BahamasNetwork is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;

    address public marketingWallet;
    address public devWallet;
    address public lpWallet;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    uint256 public buyTotalFees;
    uint256 public buyMarketingFee;
    uint256 public buyLiquidityFee;
    uint256 public buyDevFee;

    uint256 public sellTotalFees;
    uint256 public sellMarketingFee;
    uint256 public sellLiquidityFee;
    uint256 public sellDevFee;

    /******************/

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;
    bool inSwap;
    modifier swapping() { inSwap = true; _; inSwap = false; }
    mapping (address => bool) public _unauthorized;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;

    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event LimitsRemoved();

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event marketingWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event devWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event lpWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    constructor() ERC20("Bahamas Network", "BN") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _buyMarketingFee = 12;
        uint256 _buyLiquidityFee = 0;
        uint256 _buyDevFee = 8;

        uint256 _sellMarketingFee = 15;
        uint256 _sellLiquidityFee = 0;
        uint256 _sellDevFee = 10;

        uint256 totalSupply = 10000000 * 1e9;

        maxTransactionAmount = (totalSupply * 1) /100;
        maxWallet = (totalSupply * 1)/ 100;
        swapTokensAtAmount = (totalSupply * 2) / 1000; // 0.2% swap wallet

        buyMarketingFee = _buyMarketingFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyDevFee = _buyDevFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;

        sellMarketingFee = _sellMarketingFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellDevFee = _sellDevFee;
        sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee;

        marketingWallet = address(0xa1DF493DF409f5F2b28b676EcF9c64B2Cb89f106); 
        devWallet = address(0xa1DF493DF409f5F2b28b676EcF9c64B2Cb89f106);
        lpWallet = msg.sender;

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromFees(marketingWallet, true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        excludeFromMaxTransaction(marketingWallet, true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        emit LimitsRemoved();
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
         require(
            newAmount >= ((totalSupply() * 1) / 10000) / 1e9,
            "Swap amount cannot be lower than 0.01% total supply."
        );
        require(
            newAmount <= ((totalSupply() * 1) / 100) / 1e9,
            "Swap amount cannot be higher than 1% total supply."
        );
        swapTokensAtAmount = newAmount * 1e9;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e9,
            "Cannot set maxTransactionAmount lower than 0.5%"
        );
        maxTransactionAmount = newNum * 1e9;
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 100) / 1e9,
            "Cannot set maxWallet lower than 1%"
        );
        maxWallet = newNum * 1e9;
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    function updateBuyFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee
    ) external onlyOwner {
         require((_marketingFee + _liquidityFee + _devFee) <= 25 ,"Buy fee cant be sent more than 25%");
        buyMarketingFee = _marketingFee;
        buyLiquidityFee = _liquidityFee;
        buyDevFee = _devFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;
    }

    function updateSellFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee
    ) external onlyOwner {
        require((_marketingFee + _liquidityFee + _devFee) <= 25 ,"Sell fee cant be sent more than 25% ");
        sellMarketingFee = _marketingFee;
        sellLiquidityFee = _liquidityFee;
        sellDevFee = _devFee;
        sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee;
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateMarketingWallet(address newMarketingWallet)
        external
        onlyOwner
    {
        emit marketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }

    function updateLPWallet(address newLPWallet)
        external
        onlyOwner
    {
        emit lpWalletUpdated(newLPWallet, lpWallet);
        lpWallet = newLPWallet;
    }

    function updateDevWallet(address newWallet) external onlyOwner {
        emit devWalletUpdated(newWallet, devWallet);
        devWallet = newWallet;
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(!_unauthorized[from] && !_unauthorized[to]);

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !inSwap
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            swapEnabled &&
            !inSwap &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapBack();
        }

        bool takeFee = !inSwap;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(100);
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }

        super._transfer(from, to, amount);
    }
    function manageUnauthorizedAddress(address unauth, bool value) public onlyOwner{
        require(unauth != uniswapV2Pair);
        _unauthorized[unauth] = value;
    }

    function manageUnauthorizedAddresses(address[] memory unauths, bool value) public onlyOwner{
        for(uint256 i = 0; i < unauths.length; i++){
            require(unauths[i] != uniswapV2Pair);
            _unauthorized[unauths[i]] = value;
        }
    }

    function manualSwapBack() external onlyOwner {
           swapBack();
    
    }

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

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

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

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

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

    function swapBack() private swapping{
        uint256 contractBalance = balanceOf(address(this));

        uint256 TotalLiquidityFee = buyLiquidityFee + sellLiquidityFee;
        uint256 TotalDevFee = buyDevFee + sellDevFee;
        uint256 TotalFees = buyTotalFees + sellTotalFees;

        uint256 totalTokensToSwap = swapTokensAtAmount;
        bool success;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = ((totalTokensToSwap * TotalLiquidityFee) / TotalFees ) / 2;
        uint256 amountToSwapForETH = totalTokensToSwap.sub(liquidityTokens);

        swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance;

        uint256 ethForDev = ethBalance.mul(TotalDevFee).div(TotalFees);
        uint256 ethForLiquidity = ethBalance.mul(TotalLiquidityFee).div(TotalFees);
        
        (success, ) = address(devWallet).call{value: ethForDev}("");

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                liquidityTokens
            );
        }

        (success, ) = address(marketingWallet).call{
            value: address(this).balance
        }("");
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[],"name":"LimitsRemoved","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"devWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"lpWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_unauthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","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":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"unauth","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"manageUnauthorizedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"unauths","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"manageUnauthorizedAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","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":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newLPWallet","type":"address"}],"name":"updateLPWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600c805462ffffff191660011790553480156200002057600080fd5b506040518060400160405280600f81526020016e426168616d6173204e6574776f726b60881b81525060405180604001604052806002815260200161212760f11b81525081600390816200007591906200076b565b5060046200008482826200076b565b505050620000a16200009b6200040f60201b60201c565b62000413565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000c381600162000465565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200010e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000134919062000837565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000182573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a8919062000837565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021c919062000837565b6001600160a01b031660a08190526200023790600162000465565b60a05162000247906001620004df565b600c60006008600f82600a662386f26fc100006064620002698260016200087f565b6200027591906200089f565b6009556064620002878260016200087f565b6200029391906200089f565b600b556103e8620002a68260026200087f565b620002b291906200089f565b600a55600e879055600f869055601085905584620002d18789620008c2565b620002dd9190620008c2565b600d5560128490556013839055601482905581620002fc8486620008c2565b620003089190620008c2565b601155600680546001600160a01b031990811673a1df493df409f5f2b28b676ecf9c64b2cb89f10690811790925560078054821690921790915560088054909116331790556200036c620003646005546001600160a01b031690565b600162000533565b6200037930600162000533565b6200038861dead600162000533565b600654620003a1906001600160a01b0316600162000533565b620003c0620003b86005546001600160a01b031690565b600162000465565b620003cd30600162000465565b620003dc61dead600162000465565b600654620003f5906001600160a01b0316600162000465565b620004013382620005dd565b5050505050505050620008d8565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004b45760405162461bcd60e51b815260206004820181905260248201526000805160206200345783398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b031633146200057e5760405162461bcd60e51b81526020600482018190526024820152600080516020620034578339815191526044820152606401620004ab565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006355760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004ab565b8060026000828254620006499190620008c2565b90915550506001600160a01b0382166000908152602081905260408120805483929062000678908490620008c2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006f257607f821691505b6020821081036200071357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006c257600081815260208120601f850160051c81016020861015620007425750805b601f850160051c820191505b8181101562000763578281556001016200074e565b505050505050565b81516001600160401b03811115620007875762000787620006c7565b6200079f81620007988454620006dd565b8462000719565b602080601f831160018114620007d75760008415620007be5750858301515b600019600386901b1c1916600185901b17855562000763565b600085815260208120601f198616915b828110156200080857888601518255948401946001909101908401620007e7565b5085821015620008275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200084a57600080fd5b81516001600160a01b03811681146200086257600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000899576200089962000869565b92915050565b600082620008bd57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000899576200089962000869565b60805160a051612b21620009366000396000818161053b01528181610d540152818161106201526114910152600081816103e2015281816123820152818161243b01528181612477015281816124f101526125590152612b216000f3fe6080604052600436106103395760003560e01c80638da5cb5b116101ab578063c0246668116100f7578063dd62ed3e11610095578063f2fde38b1161006f578063f2fde38b146109c8578063f6374342146109e8578063f8b45b05146109fe578063fbc10c5514610a1457600080fd5b8063dd62ed3e14610956578063e2f456051461099c578063f11a24d3146109b257600080fd5b8063c8a11ca8116100d1578063c8a11ca8146108ea578063c8c8ebe41461090a578063d257b34f14610920578063d85ba0631461094057600080fd5b8063c02466681461088a578063c17b5b8c146108aa578063c18bc195146108ca57600080fd5b80639c3b4fdc11610164578063a9059cbb1161013e578063a9059cbb146107fb578063aacebbe31461081b578063b62496f51461083b578063bbc0c7421461086b57600080fd5b80639c3b4fdc146107af578063a0d82dc5146107c5578063a457c2d7146107db57600080fd5b80638da5cb5b146107065780638ea5220f146107245780639213691314610744578063924de9b71461075a57806395d89b411461077a5780639a7a23d61461078f57600080fd5b80634a62bb6511610285578063715018a61161022357806375f0a874116101fd57806375f0a8741461069b5780637bce5a04146106bb5780638095d564146106d15780638a8c523c146106f157600080fd5b8063715018a614610651578063751039fc146106665780637571336a1461067b57600080fd5b806366eb37851161025f57806366eb3785146105d05780636a486a8e146105e55780636ddd1713146105fb57806370a082311461061b57600080fd5b80634a62bb651461055d5780634fbee193146105775780636303516c146105b057600080fd5b8063203e727e116102f2578063313ce567116102cc578063313ce567146104cd57806339509351146104e957806345a4b8e51461050957806349bd5a5e1461052957600080fd5b8063203e727e1461045d57806323b872dd1461047d5780632402ab051461049d57600080fd5b806306fdde0314610345578063095ea7b31461037057806310d5de53146103a05780631694505e146103d057806318160ddd1461041c5780631816467f1461043b57600080fd5b3661034057005b600080fd5b34801561035157600080fd5b5061035a610a34565b60405161036791906125d1565b60405180910390f35b34801561037c57600080fd5b5061039061038b36600461263f565b610ac6565b6040519015158152602001610367565b3480156103ac57600080fd5b506103906103bb36600461266b565b60166020526000908152604090205460ff1681565b3480156103dc57600080fd5b506104047f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610367565b34801561042857600080fd5b506002545b604051908152602001610367565b34801561044757600080fd5b5061045b61045636600461266b565b610add565b005b34801561046957600080fd5b5061045b610478366004612688565b610b6d565b34801561048957600080fd5b506103906104983660046126a1565b610c42565b3480156104a957600080fd5b506103906104b836600461266b565b60186020526000908152604090205460ff1681565b3480156104d957600080fd5b5060405160098152602001610367565b3480156104f557600080fd5b5061039061050436600461263f565b610cec565b34801561051557600080fd5b5061045b6105243660046126f2565b610d28565b34801561053557600080fd5b506104047f000000000000000000000000000000000000000000000000000000000000000081565b34801561056957600080fd5b50600c546103909060ff1681565b34801561058357600080fd5b5061039061059236600461266b565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156105bc57600080fd5b50600854610404906001600160a01b031681565b3480156105dc57600080fd5b5061045b610dbb565b3480156105f157600080fd5b5061042d60115481565b34801561060757600080fd5b50600c546103909062010000900460ff1681565b34801561062757600080fd5b5061042d61063636600461266b565b6001600160a01b031660009081526020819052604090205490565b34801561065d57600080fd5b5061045b610def565b34801561067257600080fd5b50610390610e23565b34801561068757600080fd5b5061045b6106963660046126f2565b610e89565b3480156106a757600080fd5b50600654610404906001600160a01b031681565b3480156106c757600080fd5b5061042d600e5481565b3480156106dd57600080fd5b5061045b6106ec366004612727565b610ede565b3480156106fd57600080fd5b5061045b610fa4565b34801561071257600080fd5b506005546001600160a01b0316610404565b34801561073057600080fd5b50600754610404906001600160a01b031681565b34801561075057600080fd5b5061042d60125481565b34801561076657600080fd5b5061045b610775366004612753565b610fe1565b34801561078657600080fd5b5061035a611027565b34801561079b57600080fd5b5061045b6107aa3660046126f2565b611036565b3480156107bb57600080fd5b5061042d60105481565b3480156107d157600080fd5b5061042d60145481565b3480156107e757600080fd5b506103906107f636600461263f565b611115565b34801561080757600080fd5b5061039061081636600461263f565b6111ae565b34801561082757600080fd5b5061045b61083636600461266b565b6111bb565b34801561084757600080fd5b5061039061085636600461266b565b60196020526000908152604090205460ff1681565b34801561087757600080fd5b50600c5461039090610100900460ff1681565b34801561089657600080fd5b5061045b6108a53660046126f2565b611242565b3480156108b657600080fd5b5061045b6108c5366004612727565b6112cb565b3480156108d657600080fd5b5061045b6108e5366004612688565b611392565b3480156108f657600080fd5b5061045b610905366004612784565b611459565b34801561091657600080fd5b5061042d60095481565b34801561092c57600080fd5b5061039061093b366004612688565b611546565b34801561094c57600080fd5b5061042d600d5481565b34801561096257600080fd5b5061042d61097136600461285b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109a857600080fd5b5061042d600a5481565b3480156109be57600080fd5b5061042d600f5481565b3480156109d457600080fd5b5061045b6109e336600461266b565b6116c2565b3480156109f457600080fd5b5061042d60135481565b348015610a0a57600080fd5b5061042d600b5481565b348015610a2057600080fd5b5061045b610a2f36600461266b565b61175d565b606060038054610a4390612894565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6f90612894565b8015610abc5780601f10610a9157610100808354040283529160200191610abc565b820191906000526020600020905b815481529060010190602001808311610a9f57829003601f168201915b5050505050905090565b6000610ad33384846117e4565b5060015b92915050565b6005546001600160a01b03163314610b105760405162461bcd60e51b8152600401610b07906128ce565b60405180910390fd5b6007546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610b975760405162461bcd60e51b8152600401610b07906128ce565b633b9aca006103e8610ba860025490565b610bb3906005612919565b610bbd9190612930565b610bc79190612930565b811015610c2e5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610b07565b610c3c81633b9aca00612919565b60095550565b6000610c4f848484611908565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610cd45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610b07565b610ce185338584036117e4565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610ad3918590610d23908690612952565b6117e4565b6005546001600160a01b03163314610d525760405162461bcd60e51b8152600401610b07906128ce565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610d9057600080fd5b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610de55760405162461bcd60e51b8152600401610b07906128ce565b610ded611f05565b565b6005546001600160a01b03163314610e195760405162461bcd60e51b8152600401610b07906128ce565b610ded6000612105565b6005546000906001600160a01b03163314610e505760405162461bcd60e51b8152600401610b07906128ce565b600c805460ff191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a150600190565b6005546001600160a01b03163314610eb35760405162461bcd60e51b8152600401610b07906128ce565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610f085760405162461bcd60e51b8152600401610b07906128ce565b601981610f158486612952565b610f1f9190612952565b1115610f785760405162461bcd60e51b815260206004820152602260248201527f427579206665652063616e742062652073656e74206d6f7265207468616e2032604482015261352560f01b6064820152608401610b07565b600e839055600f829055601081905580610f928385612952565b610f9c9190612952565b600d55505050565b6005546001600160a01b03163314610fce5760405162461bcd60e51b8152600401610b07906128ce565b600c805462ffff00191662010100179055565b6005546001600160a01b0316331461100b5760405162461bcd60e51b8152600401610b07906128ce565b600c8054911515620100000262ff000019909216919091179055565b606060048054610a4390612894565b6005546001600160a01b031633146110605760405162461bcd60e51b8152600401610b07906128ce565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036111075760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b07565b6111118282612157565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156111975760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b07565b6111a433858584036117e4565b5060019392505050565b6000610ad3338484611908565b6005546001600160a01b031633146111e55760405162461bcd60e51b8152600401610b07906128ce565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461126c5760405162461bcd60e51b8152600401610b07906128ce565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146112f55760405162461bcd60e51b8152600401610b07906128ce565b6019816113028486612952565b61130c9190612952565b11156113665760405162461bcd60e51b8152602060048201526024808201527f53656c6c206665652063616e742062652073656e74206d6f7265207468616e206044820152630191a92960e51b6064820152608401610b07565b601283905560138290556014819055806113808385612952565b61138a9190612952565b601155505050565b6005546001600160a01b031633146113bc5760405162461bcd60e51b8152600401610b07906128ce565b633b9aca0060646113cc60025490565b6113d7906001612919565b6113e19190612930565b6113eb9190612930565b8110156114455760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610b07565b61145381633b9aca00612919565b600b5550565b6005546001600160a01b031633146114835760405162461bcd60e51b8152600401610b07906128ce565b60005b8251811015611541577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168382815181106114cb576114cb612965565b60200260200101516001600160a01b0316036114e657600080fd5b81601860008584815181106114fd576114fd612965565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806115398161297b565b915050611486565b505050565b6005546000906001600160a01b031633146115735760405162461bcd60e51b8152600401610b07906128ce565b633b9aca0061271061158460025490565b61158f906001612919565b6115999190612930565b6115a39190612930565b82101561160f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e604482015273101817181892903a37ba30b61039bab838363c9760611b6064820152608401610b07565b633b9aca00606461161f60025490565b61162a906001612919565b6116349190612930565b61163e9190612930565b8211156116a85760405162461bcd60e51b815260206004820152603260248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527137101892903a37ba30b61039bab838363c9760711b6064820152608401610b07565b6116b682633b9aca00612919565b600a555060015b919050565b6005546001600160a01b031633146116ec5760405162461bcd60e51b8152600401610b07906128ce565b6001600160a01b0381166117515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b07565b61175a81612105565b50565b6005546001600160a01b031633146117875760405162461bcd60e51b8152600401610b07906128ce565b6008546040516001600160a01b03918216918316907f8e4fb3162b55d3fcdb7507ecfed5ab4ea5d2bd7494d0bb621d698a52ea3f74b490600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166118465760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b07565b6001600160a01b0382166118a75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b07565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661192e5760405162461bcd60e51b8152600401610b0790612994565b6001600160a01b0382166119545760405162461bcd60e51b8152600401610b07906129d9565b6001600160a01b03831660009081526018602052604090205460ff1615801561199657506001600160a01b03821660009081526018602052604090205460ff16155b61199f57600080fd5b806000036119b357611541838360006121ab565b600c5460ff1615611d22576005546001600160a01b038481169116148015906119ea57506005546001600160a01b03838116911614155b80156119fe57506001600160a01b03821615155b8015611a1557506001600160a01b03821661dead14155b8015611a24575060175460ff16155b15611d2257600c54610100900460ff16611abc576001600160a01b03831660009081526015602052604090205460ff1680611a7757506001600160a01b03821660009081526015602052604090205460ff165b611abc5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b07565b6001600160a01b03831660009081526019602052604090205460ff168015611afd57506001600160a01b03821660009081526016602052604090205460ff16155b15611be157600954811115611b725760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b07565b600b546001600160a01b038316600090815260208190526040902054611b989083612952565b1115611bdc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b07565b611d22565b6001600160a01b03821660009081526019602052604090205460ff168015611c2257506001600160a01b03831660009081526016602052604090205460ff16155b15611c9857600954811115611bdc5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b07565b6001600160a01b03821660009081526016602052604090205460ff16611d2257600b546001600160a01b038316600090815260208190526040902054611cde9083612952565b1115611d225760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b07565b30600090815260208190526040902054600a5481108015908190611d4e5750600c5462010000900460ff165b8015611d5d575060175460ff16155b8015611d8257506001600160a01b03851660009081526019602052604090205460ff16155b8015611da757506001600160a01b03851660009081526015602052604090205460ff16155b8015611dcc57506001600160a01b03841660009081526015602052604090205460ff16155b15611dd957611dd9611f05565b6017546001600160a01b03861660009081526015602052604090205460ff91821615911680611e2057506001600160a01b03851660009081526015602052604090205460ff165b15611e29575060005b60008115611ef1576001600160a01b03861660009081526019602052604090205460ff168015611e5b57506000601154115b15611e8757611e806064611e7a6011548861230090919063ffffffff16565b90612313565b9050611ed3565b6001600160a01b03871660009081526019602052604090205460ff168015611eb157506000600d54115b15611ed357611ed06064611e7a600d548861230090919063ffffffff16565b90505b8015611ee457611ee48730836121ab565b611eee8186612a1c565b94505b611efc8787876121ab565b50505050505050565b6017805460ff191660011790553060009081526020819052604081205490506000601354600f54611f369190612952565b90506000601454601054611f4a9190612952565b90506000601154600d54611f5e9190612952565b600a549091506000851580611f71575081155b15611f81575050505050506120f9565b6000600284611f908886612919565b611f9a9190612930565b611fa49190612930565b90506000611fb2848361231f565b9050611fbd8161232b565b476000611fce87611e7a848b612300565b90506000611fe088611e7a858d612300565b6007546040519192506001600160a01b0316908390600081818185875af1925050503d806000811461202e576040519150601f19603f3d011682016040523d82523d6000602084013e612033565b606091505b509096505084158015906120475750600081115b156120985761205685826124eb565b60408051858152602081018390529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d80600081146120e5576040519150601f19603f3d011682016040523d82523d6000602084013e6120ea565b606091505b50505050505050505050505050505b6017805460ff19169055565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166121d15760405162461bcd60e51b8152600401610b0790612994565b6001600160a01b0382166121f75760405162461bcd60e51b8152600401610b07906129d9565b6001600160a01b0383166000908152602081905260409020548181101561226f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b07565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906122a6908490612952565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516122f291815260200190565b60405180910390a350505050565b600061230c8284612919565b9392505050565b600061230c8284612930565b600061230c8284612a1c565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061236057612360612965565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124029190612a2f565b8160018151811061241557612415612965565b60200260200101906001600160a01b031690816001600160a01b031681525050612460307f0000000000000000000000000000000000000000000000000000000000000000846117e4565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906124b5908590600090869030904290600401612a4c565b600060405180830381600087803b1580156124cf57600080fd5b505af11580156124e3573d6000803e3d6000fd5b505050505050565b612516307f0000000000000000000000000000000000000000000000000000000000000000846117e4565b60085460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af11580156125a5573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906125ca9190612abd565b5050505050565b600060208083528351808285015260005b818110156125fe578581018301518582016040015282016125e2565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461175a57600080fd5b80356116bd8161261f565b6000806040838503121561265257600080fd5b823561265d8161261f565b946020939093013593505050565b60006020828403121561267d57600080fd5b813561230c8161261f565b60006020828403121561269a57600080fd5b5035919050565b6000806000606084860312156126b657600080fd5b83356126c18161261f565b925060208401356126d18161261f565b929592945050506040919091013590565b803580151581146116bd57600080fd5b6000806040838503121561270557600080fd5b82356127108161261f565b915061271e602084016126e2565b90509250929050565b60008060006060848603121561273c57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561276557600080fd5b61230c826126e2565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561279757600080fd5b823567ffffffffffffffff808211156127af57600080fd5b818501915085601f8301126127c357600080fd5b81356020828211156127d7576127d761276e565b8160051b604051601f19603f830116810181811086821117156127fc576127fc61276e565b60405292835281830193508481018201928984111561281a57600080fd5b948201945b8386101561283f5761283086612634565b8552948201949382019361281f565b965061284e90508782016126e2565b9450505050509250929050565b6000806040838503121561286e57600080fd5b82356128798161261f565b915060208301356128898161261f565b809150509250929050565b600181811c908216806128a857607f821691505b6020821081036128c857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610ad757610ad7612903565b60008261294d57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610ad757610ad7612903565b634e487b7160e01b600052603260045260246000fd5b60006001820161298d5761298d612903565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610ad757610ad7612903565b600060208284031215612a4157600080fd5b815161230c8161261f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612a9c5784516001600160a01b031683529383019391830191600101612a77565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612ad257600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220e38e51eaa9b645e5bdd11d1f765e41bc605af3990bacc2b1e651be5d4c65c6aa64736f6c634300081300334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x6080604052600436106103395760003560e01c80638da5cb5b116101ab578063c0246668116100f7578063dd62ed3e11610095578063f2fde38b1161006f578063f2fde38b146109c8578063f6374342146109e8578063f8b45b05146109fe578063fbc10c5514610a1457600080fd5b8063dd62ed3e14610956578063e2f456051461099c578063f11a24d3146109b257600080fd5b8063c8a11ca8116100d1578063c8a11ca8146108ea578063c8c8ebe41461090a578063d257b34f14610920578063d85ba0631461094057600080fd5b8063c02466681461088a578063c17b5b8c146108aa578063c18bc195146108ca57600080fd5b80639c3b4fdc11610164578063a9059cbb1161013e578063a9059cbb146107fb578063aacebbe31461081b578063b62496f51461083b578063bbc0c7421461086b57600080fd5b80639c3b4fdc146107af578063a0d82dc5146107c5578063a457c2d7146107db57600080fd5b80638da5cb5b146107065780638ea5220f146107245780639213691314610744578063924de9b71461075a57806395d89b411461077a5780639a7a23d61461078f57600080fd5b80634a62bb6511610285578063715018a61161022357806375f0a874116101fd57806375f0a8741461069b5780637bce5a04146106bb5780638095d564146106d15780638a8c523c146106f157600080fd5b8063715018a614610651578063751039fc146106665780637571336a1461067b57600080fd5b806366eb37851161025f57806366eb3785146105d05780636a486a8e146105e55780636ddd1713146105fb57806370a082311461061b57600080fd5b80634a62bb651461055d5780634fbee193146105775780636303516c146105b057600080fd5b8063203e727e116102f2578063313ce567116102cc578063313ce567146104cd57806339509351146104e957806345a4b8e51461050957806349bd5a5e1461052957600080fd5b8063203e727e1461045d57806323b872dd1461047d5780632402ab051461049d57600080fd5b806306fdde0314610345578063095ea7b31461037057806310d5de53146103a05780631694505e146103d057806318160ddd1461041c5780631816467f1461043b57600080fd5b3661034057005b600080fd5b34801561035157600080fd5b5061035a610a34565b60405161036791906125d1565b60405180910390f35b34801561037c57600080fd5b5061039061038b36600461263f565b610ac6565b6040519015158152602001610367565b3480156103ac57600080fd5b506103906103bb36600461266b565b60166020526000908152604090205460ff1681565b3480156103dc57600080fd5b506104047f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610367565b34801561042857600080fd5b506002545b604051908152602001610367565b34801561044757600080fd5b5061045b61045636600461266b565b610add565b005b34801561046957600080fd5b5061045b610478366004612688565b610b6d565b34801561048957600080fd5b506103906104983660046126a1565b610c42565b3480156104a957600080fd5b506103906104b836600461266b565b60186020526000908152604090205460ff1681565b3480156104d957600080fd5b5060405160098152602001610367565b3480156104f557600080fd5b5061039061050436600461263f565b610cec565b34801561051557600080fd5b5061045b6105243660046126f2565b610d28565b34801561053557600080fd5b506104047f0000000000000000000000000efa36501402af964ebd7e8f6aa05e3e2bd67c0b81565b34801561056957600080fd5b50600c546103909060ff1681565b34801561058357600080fd5b5061039061059236600461266b565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156105bc57600080fd5b50600854610404906001600160a01b031681565b3480156105dc57600080fd5b5061045b610dbb565b3480156105f157600080fd5b5061042d60115481565b34801561060757600080fd5b50600c546103909062010000900460ff1681565b34801561062757600080fd5b5061042d61063636600461266b565b6001600160a01b031660009081526020819052604090205490565b34801561065d57600080fd5b5061045b610def565b34801561067257600080fd5b50610390610e23565b34801561068757600080fd5b5061045b6106963660046126f2565b610e89565b3480156106a757600080fd5b50600654610404906001600160a01b031681565b3480156106c757600080fd5b5061042d600e5481565b3480156106dd57600080fd5b5061045b6106ec366004612727565b610ede565b3480156106fd57600080fd5b5061045b610fa4565b34801561071257600080fd5b506005546001600160a01b0316610404565b34801561073057600080fd5b50600754610404906001600160a01b031681565b34801561075057600080fd5b5061042d60125481565b34801561076657600080fd5b5061045b610775366004612753565b610fe1565b34801561078657600080fd5b5061035a611027565b34801561079b57600080fd5b5061045b6107aa3660046126f2565b611036565b3480156107bb57600080fd5b5061042d60105481565b3480156107d157600080fd5b5061042d60145481565b3480156107e757600080fd5b506103906107f636600461263f565b611115565b34801561080757600080fd5b5061039061081636600461263f565b6111ae565b34801561082757600080fd5b5061045b61083636600461266b565b6111bb565b34801561084757600080fd5b5061039061085636600461266b565b60196020526000908152604090205460ff1681565b34801561087757600080fd5b50600c5461039090610100900460ff1681565b34801561089657600080fd5b5061045b6108a53660046126f2565b611242565b3480156108b657600080fd5b5061045b6108c5366004612727565b6112cb565b3480156108d657600080fd5b5061045b6108e5366004612688565b611392565b3480156108f657600080fd5b5061045b610905366004612784565b611459565b34801561091657600080fd5b5061042d60095481565b34801561092c57600080fd5b5061039061093b366004612688565b611546565b34801561094c57600080fd5b5061042d600d5481565b34801561096257600080fd5b5061042d61097136600461285b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109a857600080fd5b5061042d600a5481565b3480156109be57600080fd5b5061042d600f5481565b3480156109d457600080fd5b5061045b6109e336600461266b565b6116c2565b3480156109f457600080fd5b5061042d60135481565b348015610a0a57600080fd5b5061042d600b5481565b348015610a2057600080fd5b5061045b610a2f36600461266b565b61175d565b606060038054610a4390612894565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6f90612894565b8015610abc5780601f10610a9157610100808354040283529160200191610abc565b820191906000526020600020905b815481529060010190602001808311610a9f57829003601f168201915b5050505050905090565b6000610ad33384846117e4565b5060015b92915050565b6005546001600160a01b03163314610b105760405162461bcd60e51b8152600401610b07906128ce565b60405180910390fd5b6007546040516001600160a01b03918216918316907f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74390600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610b975760405162461bcd60e51b8152600401610b07906128ce565b633b9aca006103e8610ba860025490565b610bb3906005612919565b610bbd9190612930565b610bc79190612930565b811015610c2e5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610b07565b610c3c81633b9aca00612919565b60095550565b6000610c4f848484611908565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610cd45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610b07565b610ce185338584036117e4565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610ad3918590610d23908690612952565b6117e4565b6005546001600160a01b03163314610d525760405162461bcd60e51b8152600401610b07906128ce565b7f0000000000000000000000000efa36501402af964ebd7e8f6aa05e3e2bd67c0b6001600160a01b0316826001600160a01b031603610d9057600080fd5b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610de55760405162461bcd60e51b8152600401610b07906128ce565b610ded611f05565b565b6005546001600160a01b03163314610e195760405162461bcd60e51b8152600401610b07906128ce565b610ded6000612105565b6005546000906001600160a01b03163314610e505760405162461bcd60e51b8152600401610b07906128ce565b600c805460ff191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a150600190565b6005546001600160a01b03163314610eb35760405162461bcd60e51b8152600401610b07906128ce565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610f085760405162461bcd60e51b8152600401610b07906128ce565b601981610f158486612952565b610f1f9190612952565b1115610f785760405162461bcd60e51b815260206004820152602260248201527f427579206665652063616e742062652073656e74206d6f7265207468616e2032604482015261352560f01b6064820152608401610b07565b600e839055600f829055601081905580610f928385612952565b610f9c9190612952565b600d55505050565b6005546001600160a01b03163314610fce5760405162461bcd60e51b8152600401610b07906128ce565b600c805462ffff00191662010100179055565b6005546001600160a01b0316331461100b5760405162461bcd60e51b8152600401610b07906128ce565b600c8054911515620100000262ff000019909216919091179055565b606060048054610a4390612894565b6005546001600160a01b031633146110605760405162461bcd60e51b8152600401610b07906128ce565b7f0000000000000000000000000efa36501402af964ebd7e8f6aa05e3e2bd67c0b6001600160a01b0316826001600160a01b0316036111075760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b07565b6111118282612157565b5050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156111975760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b07565b6111a433858584036117e4565b5060019392505050565b6000610ad3338484611908565b6005546001600160a01b031633146111e55760405162461bcd60e51b8152600401610b07906128ce565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461126c5760405162461bcd60e51b8152600401610b07906128ce565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146112f55760405162461bcd60e51b8152600401610b07906128ce565b6019816113028486612952565b61130c9190612952565b11156113665760405162461bcd60e51b8152602060048201526024808201527f53656c6c206665652063616e742062652073656e74206d6f7265207468616e206044820152630191a92960e51b6064820152608401610b07565b601283905560138290556014819055806113808385612952565b61138a9190612952565b601155505050565b6005546001600160a01b031633146113bc5760405162461bcd60e51b8152600401610b07906128ce565b633b9aca0060646113cc60025490565b6113d7906001612919565b6113e19190612930565b6113eb9190612930565b8110156114455760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015261312560f01b6064820152608401610b07565b61145381633b9aca00612919565b600b5550565b6005546001600160a01b031633146114835760405162461bcd60e51b8152600401610b07906128ce565b60005b8251811015611541577f0000000000000000000000000efa36501402af964ebd7e8f6aa05e3e2bd67c0b6001600160a01b03168382815181106114cb576114cb612965565b60200260200101516001600160a01b0316036114e657600080fd5b81601860008584815181106114fd576114fd612965565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806115398161297b565b915050611486565b505050565b6005546000906001600160a01b031633146115735760405162461bcd60e51b8152600401610b07906128ce565b633b9aca0061271061158460025490565b61158f906001612919565b6115999190612930565b6115a39190612930565b82101561160f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e604482015273101817181892903a37ba30b61039bab838363c9760611b6064820152608401610b07565b633b9aca00606461161f60025490565b61162a906001612919565b6116349190612930565b61163e9190612930565b8211156116a85760405162461bcd60e51b815260206004820152603260248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527137101892903a37ba30b61039bab838363c9760711b6064820152608401610b07565b6116b682633b9aca00612919565b600a555060015b919050565b6005546001600160a01b031633146116ec5760405162461bcd60e51b8152600401610b07906128ce565b6001600160a01b0381166117515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b07565b61175a81612105565b50565b6005546001600160a01b031633146117875760405162461bcd60e51b8152600401610b07906128ce565b6008546040516001600160a01b03918216918316907f8e4fb3162b55d3fcdb7507ecfed5ab4ea5d2bd7494d0bb621d698a52ea3f74b490600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166118465760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b07565b6001600160a01b0382166118a75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b07565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661192e5760405162461bcd60e51b8152600401610b0790612994565b6001600160a01b0382166119545760405162461bcd60e51b8152600401610b07906129d9565b6001600160a01b03831660009081526018602052604090205460ff1615801561199657506001600160a01b03821660009081526018602052604090205460ff16155b61199f57600080fd5b806000036119b357611541838360006121ab565b600c5460ff1615611d22576005546001600160a01b038481169116148015906119ea57506005546001600160a01b03838116911614155b80156119fe57506001600160a01b03821615155b8015611a1557506001600160a01b03821661dead14155b8015611a24575060175460ff16155b15611d2257600c54610100900460ff16611abc576001600160a01b03831660009081526015602052604090205460ff1680611a7757506001600160a01b03821660009081526015602052604090205460ff165b611abc5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b07565b6001600160a01b03831660009081526019602052604090205460ff168015611afd57506001600160a01b03821660009081526016602052604090205460ff16155b15611be157600954811115611b725760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b07565b600b546001600160a01b038316600090815260208190526040902054611b989083612952565b1115611bdc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b07565b611d22565b6001600160a01b03821660009081526019602052604090205460ff168015611c2257506001600160a01b03831660009081526016602052604090205460ff16155b15611c9857600954811115611bdc5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b07565b6001600160a01b03821660009081526016602052604090205460ff16611d2257600b546001600160a01b038316600090815260208190526040902054611cde9083612952565b1115611d225760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b07565b30600090815260208190526040902054600a5481108015908190611d4e5750600c5462010000900460ff165b8015611d5d575060175460ff16155b8015611d8257506001600160a01b03851660009081526019602052604090205460ff16155b8015611da757506001600160a01b03851660009081526015602052604090205460ff16155b8015611dcc57506001600160a01b03841660009081526015602052604090205460ff16155b15611dd957611dd9611f05565b6017546001600160a01b03861660009081526015602052604090205460ff91821615911680611e2057506001600160a01b03851660009081526015602052604090205460ff165b15611e29575060005b60008115611ef1576001600160a01b03861660009081526019602052604090205460ff168015611e5b57506000601154115b15611e8757611e806064611e7a6011548861230090919063ffffffff16565b90612313565b9050611ed3565b6001600160a01b03871660009081526019602052604090205460ff168015611eb157506000600d54115b15611ed357611ed06064611e7a600d548861230090919063ffffffff16565b90505b8015611ee457611ee48730836121ab565b611eee8186612a1c565b94505b611efc8787876121ab565b50505050505050565b6017805460ff191660011790553060009081526020819052604081205490506000601354600f54611f369190612952565b90506000601454601054611f4a9190612952565b90506000601154600d54611f5e9190612952565b600a549091506000851580611f71575081155b15611f81575050505050506120f9565b6000600284611f908886612919565b611f9a9190612930565b611fa49190612930565b90506000611fb2848361231f565b9050611fbd8161232b565b476000611fce87611e7a848b612300565b90506000611fe088611e7a858d612300565b6007546040519192506001600160a01b0316908390600081818185875af1925050503d806000811461202e576040519150601f19603f3d011682016040523d82523d6000602084013e612033565b606091505b509096505084158015906120475750600081115b156120985761205685826124eb565b60408051858152602081018390529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d80600081146120e5576040519150601f19603f3d011682016040523d82523d6000602084013e6120ea565b606091505b50505050505050505050505050505b6017805460ff19169055565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166121d15760405162461bcd60e51b8152600401610b0790612994565b6001600160a01b0382166121f75760405162461bcd60e51b8152600401610b07906129d9565b6001600160a01b0383166000908152602081905260409020548181101561226f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b07565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906122a6908490612952565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516122f291815260200190565b60405180910390a350505050565b600061230c8284612919565b9392505050565b600061230c8284612930565b600061230c8284612a1c565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061236057612360612965565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124029190612a2f565b8160018151811061241557612415612965565b60200260200101906001600160a01b031690816001600160a01b031681525050612460307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846117e4565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906124b5908590600090869030904290600401612a4c565b600060405180830381600087803b1580156124cf57600080fd5b505af11580156124e3573d6000803e3d6000fd5b505050505050565b612516307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846117e4565b60085460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af11580156125a5573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906125ca9190612abd565b5050505050565b600060208083528351808285015260005b818110156125fe578581018301518582016040015282016125e2565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461175a57600080fd5b80356116bd8161261f565b6000806040838503121561265257600080fd5b823561265d8161261f565b946020939093013593505050565b60006020828403121561267d57600080fd5b813561230c8161261f565b60006020828403121561269a57600080fd5b5035919050565b6000806000606084860312156126b657600080fd5b83356126c18161261f565b925060208401356126d18161261f565b929592945050506040919091013590565b803580151581146116bd57600080fd5b6000806040838503121561270557600080fd5b82356127108161261f565b915061271e602084016126e2565b90509250929050565b60008060006060848603121561273c57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561276557600080fd5b61230c826126e2565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561279757600080fd5b823567ffffffffffffffff808211156127af57600080fd5b818501915085601f8301126127c357600080fd5b81356020828211156127d7576127d761276e565b8160051b604051601f19603f830116810181811086821117156127fc576127fc61276e565b60405292835281830193508481018201928984111561281a57600080fd5b948201945b8386101561283f5761283086612634565b8552948201949382019361281f565b965061284e90508782016126e2565b9450505050509250929050565b6000806040838503121561286e57600080fd5b82356128798161261f565b915060208301356128898161261f565b809150509250929050565b600181811c908216806128a857607f821691505b6020821081036128c857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610ad757610ad7612903565b60008261294d57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610ad757610ad7612903565b634e487b7160e01b600052603260045260246000fd5b60006001820161298d5761298d612903565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610ad757610ad7612903565b600060208284031215612a4157600080fd5b815161230c8161261f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612a9c5784516001600160a01b031683529383019391830191600101612a77565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612ad257600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220e38e51eaa9b645e5bdd11d1f765e41bc605af3990bacc2b1e651be5d4c65c6aa64736f6c63430008130033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Bahamas Network is a new (PoA) blockchain network that aims to address the shortcomings of low-fee chains that have become breeding grounds for scams and malicious activities.

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.