ETH Price: $3,458.22 (+1.75%)

Token

Beg (BEG)
 

Overview

Max Total Supply

525,600 BEG

Holders

1,086

Market

Price

$0.43 @ 0.000125 ETH

Onchain Market Cap

$226,742.79

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
28.6896964 BEG

Value
$12.38 ( ~0.00357987475616209 Eth) [0.0055%]
0xc1dd262d5dc040e9da5a8e13768ee3fac6b21e9d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Beg

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 7 : Beg.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

// 01000010 01000101 01000111 00100000 01000010 01001001 01010100 01000011 01001000 00100001

import {Ownable} from "./Ownable.sol";
import {SafeERC20} from "./SafeERC20.sol";
import {IERC20} from "./interfaces/IERC20.sol";
import {IUniswapV2Factory} from "./interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Router02} from "./interfaces/IUniswapV2Router02.sol";

contract Beg is Ownable {
    string public constant name = "Beg";
    string public constant symbol = "BEG";
    uint8 public constant decimals = 18;
    uint256 public constant totalSupply = 525_600 ether;

    address private constant LP_TOKEN_RECIPIENT = 0x588A03B23849E5Bc5C451C6fc696797c608a48e0;
    address private constant AIRDROPPER = 0x9a8F6EEF34A4A30763e6eA6e43cDFfdb4913fD36;
    address public treasuryWallet = 0x91364516D3CAD16E1666261dbdbb39c881Dbe9eE;
    address private constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    uint8 public constant MAX_BUY_FEES = 100;
    uint8 public constant MAX_SELL_FEES = 100;
    uint8 public constant TRADING_DISABLED = 0;
    uint8 public constant TRADING_ENABLED = 1;
    uint8 public buyTotalFees = 20;
    uint8 public sellTotalFees = 20;
    uint8 public tradingStatus = TRADING_DISABLED;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _allowedDuringPause;
    mapping(address => bool) private automatedMarketMakerPairs;
    mapping(address => uint256) public begged;

    IUniswapV2Router02 public constant uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address public immutable uniswapV2Pair;

    error ZeroAddress();
    error InsufficientAllowance();
    error InsufficientBalance();
    error CannotRemoveV2Pair();
    error WithdrawalFailed();
    error InvalidState();
    error FeesExceedMax();
    error TradingDisabled();

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

    constructor() Ownable(LP_TOKEN_RECIPIENT) payable {
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), WETH);
        automatedMarketMakerPairs[uniswapV2Pair] = true;

        _isExcludedFromFees[owner()] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[treasuryWallet] = true;
        _allowedDuringPause[AIRDROPPER] = true;

        uint256 begToLP = totalSupply * 25 / 100;
        uint256 begToAirdrop = totalSupply - begToLP;

        _balances[AIRDROPPER] = begToAirdrop;
        emit Transfer(address(0), AIRDROPPER, begToAirdrop);
        _balances[address(this)] = begToLP;
        emit Transfer(address(0), address(this), begToLP);

        _approve(address(this), address(uniswapV2Router), type(uint256).max);
    }

    function startBegging(uint256 begPerETH) external payable onlyOwner {
        uint256 ethToLP = address(this).balance;
        uint256 begToLP = begPerETH * address(this).balance;
        uint256 begBalance = _balances[address(this)];
        if(begToLP > begBalance) {
            begToLP = begBalance;
            ethToLP = begToLP / begPerETH;
        }
        uniswapV2Router.addLiquidityETH{value: ethToLP}(
            address(this),
            begToLP,
            0,
            0,
            LP_TOKEN_RECIPIENT,
            block.timestamp
        );
    }

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

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

    function approve(address spender, uint256 amount) external returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        if(owner == address(0)) revert ZeroAddress();
        if(spender == address(0)) revert ZeroAddress();

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

    function transfer(address recipient, uint256 amount) external returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool) {
        uint256 currentAllowance = _allowances[sender][msg.sender];
        if (currentAllowance != type(uint256).max) {
            if(currentAllowance < amount) revert InsufficientAllowance();
            unchecked {
                _approve(sender, msg.sender, currentAllowance - amount);
            }
        }

        _transfer(sender, recipient, amount);

        return true;
    }

    function _transfer(address from, address to, uint256 amount) private {
        if(from == address(0)) revert ZeroAddress();
        if(to == address(0)) revert ZeroAddress();

        if(tradingStatus == TRADING_DISABLED) {
            if(from != owner() && from != treasuryWallet && from != address(this) && to != owner()) {
                if(!_allowedDuringPause[from]) {
                    revert TradingDisabled();
                }
            }
        }

        bool takeFee = true;
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 senderBalance = _balances[from];
        if(senderBalance < amount) revert InsufficientBalance();

        uint256 fees = 0;
        if (takeFee) {
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / 1000;
            } else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / 1000;
            }

            if (fees > 0) {
                unchecked {
                    amount = amount - fees;
                    _balances[from] -= fees;
                    _balances[treasuryWallet] += fees;
                }
                emit Transfer(from, treasuryWallet, fees);
            }
        }
        unchecked {
            _balances[from] -= amount;
            _balances[to] += amount;
        }
        emit Transfer(from, to, amount);
    }

    function setFees(uint8 _buyTotalFees, uint8 _sellTotalFees) external onlyOwner {
        if(_buyTotalFees > MAX_BUY_FEES || _sellTotalFees > MAX_SELL_FEES) revert FeesExceedMax();
        buyTotalFees = _buyTotalFees;
        sellTotalFees = _sellTotalFees;
    }

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

    function setAllowedDuringPause(address account, bool allowed) public onlyOwner {
        _allowedDuringPause[account] = allowed;
    }

    function enableTrading() public onlyOwner {
        tradingStatus = TRADING_ENABLED;
    }

    function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner {
        if(pair == uniswapV2Pair) revert CannotRemoveV2Pair();
        automatedMarketMakerPairs[pair] = value;
    }

    function updateTreasuryWallet(address newAddress) external onlyOwner {
        if(newAddress == address(0)) revert ZeroAddress();
        treasuryWallet = newAddress;
    }

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

    function withdrawToken(address token, address to) external onlyOwner {
        uint256 _contractBalance = IERC20(token).balanceOf(address(this));
        SafeERC20.safeTransfer(token, to, _contractBalance); // Use safeTransfer
    }

    function withdrawETH(address addr) external onlyOwner {
        if(addr == address(0)) revert ZeroAddress();

        (bool success, ) = addr.call{value: address(this).balance}("");
        if(!success) revert WithdrawalFailed();
    }

    function beg() external {
        unchecked {
            ++begged[msg.sender];
        }
    }
}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "./Context.sol";

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

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

import {IERC20} from "./interfaces/IERC20.sol";

library SafeERC20 {
    function safeTransfer(address token, address to, uint256 value) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: INTERNAL TRANSFER_FAILED');
    }
}

File 4 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

interface IERC20 {
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external;
    function totalSupply() external view returns(uint256);
}

File 5 of 7 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

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

File 6 of 7 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

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

    function WETH() external pure returns (address);

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

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

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "solady/=lib/solady/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"CannotRemoveV2Pair","type":"error"},{"inputs":[],"name":"FeesExceedMax","type":"error"},{"inputs":[],"name":"InsufficientAllowance","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidState","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"TradingDisabled","type":"error"},{"inputs":[],"name":"WithdrawalFailed","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_BUY_FEES","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SELL_FEES","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRADING_DISABLED","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRADING_ENABLED","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"begged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setAllowedDuringPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_buyTotalFees","type":"uint8"},{"internalType":"uint8","name":"_sellTotalFees","type":"uint8"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"begPerETH","type":"uint256"}],"name":"startBegging","outputs":[],"stateMutability":"payable","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":"tradingStatus","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052600180546001600160b81b03191675141491364516d3cad16e1666261dbdbb39c881dbe9ee17905573588a03b23849e5bc5c451c6fc696797c608a48e06200004c816200033d565b50737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000c691906200043e565b6040516364e329cb60e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260248201526001600160a01b03919091169063c9c65396906044016020604051808303816000875af115801562000129573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014f91906200043e565b6001600160a01b031660808190526000908152600660205260408120805460ff1916600190811790915590600490620001906000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260048452828120805486166001908117909155805490921681529182208054851682179055739a8f6eef34a4a30763e6ea6e43cdffdb4913fd36825260059092527f7f6c9ba31df6d5e1133df68d801a4633dd83a589823ded498710ca2c03cc37c88054909316909117909155606462000247696f4cd54593d9e0800000601962000486565b620002539190620004a6565b905060006200026d82696f4cd54593d9e0800000620004c9565b739a8f6eef34a4a30763e6ea6e43cdffdb4913fd36600081815260026020527f36f0cd6b1dcc27f2d1b1451f4fac4c286480b56fb09aa4da4d6b98046f93e0d18390556040519293509091600080516020620018fd83398151915290620002d79085815260200190565b60405180910390a330600081815260026020908152604080832086905551858152600080516020620018fd833981519152910160405180910390a36200033530737a250d5630b4cf539739df2c5dacb4c659f2488d6000196200038d565b5050620004df565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316620003b55760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038216620003dd5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000602082840312156200045157600080fd5b81516001600160a01b03811681146200046957600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620004a057620004a062000470565b92915050565b600082620004c457634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115620004a057620004a062000470565b6080516113fb62000502600039600081816103b70152610adc01526113fb6000f3fe6080604052600436106101f95760003560e01c80636ed9f20d1161010d5780638da5cb5b116100a0578063a9059cbb1161006f578063a9059cbb1461060a578063d4fb9a011461062a578063d85ba0631461064b578063dd62ed3e1461066c578063f2fde38b146106b257600080fd5b80638da5cb5b146105705780638fdf2d111461058e57806395d89b41146105bb5780639a7a23d6146105ea57600080fd5b80637d780d82116100dc5780637d780d82146104da578063809d458d1461050257806385ecafd7146105225780638a8c523c1461055b57600080fd5b80636ed9f20d1461037057806370a082311461046f578063715018a6146104a55780637613ceb3146104ba57600080fd5b80633d05647a116101905780634fcd24461161015f5780634fcd2446146103d95780635581fc13146103f9578063590ffdce1461040e578063690d83201461042e5780636a486a8e1461044e57600080fd5b80633d05647a1461035d5780633df2c78b146103705780634626402b1461038557806349bd5a5e146103a557600080fd5b806323b872dd116101cc57806323b872dd146102df578063313ce567146102ff5780633aeac4e1146103265780633c4b632a1461034857600080fd5b806306fdde03146101fe578063095ea7b3146102435780631694505e1461027357806318160ddd146102b3575b600080fd5b34801561020a57600080fd5b5061022d6040518060400160405280600381526020016242656760e81b81525081565b60405161023a919061115b565b60405180910390f35b34801561024f57600080fd5b5061026361025e3660046111aa565b6106d2565b604051901515815260200161023a565b34801561027f57600080fd5b5061029b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161023a565b3480156102bf57600080fd5b506102d1696f4cd54593d9e080000081565b60405190815260200161023a565b3480156102eb57600080fd5b506102636102fa3660046111d4565b6106e9565b34801561030b57600080fd5b50610314601281565b60405160ff909116815260200161023a565b34801561033257600080fd5b50610346610341366004611210565b61075a565b005b34801561035457600080fd5b50610314600081565b61034661036b366004611243565b6107df565b34801561037c57600080fd5b50610314606481565b34801561039157600080fd5b5060015461029b906001600160a01b031681565b3480156103b157600080fd5b5061029b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103e557600080fd5b506103466103f436600461126d565b6108d4565b34801561040557600080fd5b50610314600181565b34801561041a57600080fd5b506103466104293660046112a5565b610943565b34801561043a57600080fd5b506103466104493660046112dc565b610976565b34801561045a57600080fd5b5060015461031490600160a81b900460ff1681565b34801561047b57600080fd5b506102d161048a3660046112dc565b6001600160a01b031660009081526002602052604090205490565b3480156104b157600080fd5b50610346610a1d565b3480156104c657600080fd5b506103466104d53660046112a5565b610a31565b3480156104e657600080fd5b5061034633600090815260076020526040902080546001019055565b34801561050e57600080fd5b5061034661051d3660046112dc565b610a64565b34801561052e57600080fd5b5061026361053d3660046112dc565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561056757600080fd5b50610346610ab5565b34801561057c57600080fd5b506000546001600160a01b031661029b565b34801561059a57600080fd5b506102d16105a93660046112dc565b60076020526000908152604090205481565b3480156105c757600080fd5b5061022d6040518060400160405280600381526020016242454760e81b81525081565b3480156105f657600080fd5b506103466106053660046112a5565b610ad2565b34801561061657600080fd5b506102636106253660046111aa565b610b57565b34801561063657600080fd5b5060015461031490600160b01b900460ff1681565b34801561065757600080fd5b5060015461031490600160a01b900460ff1681565b34801561067857600080fd5b506102d1610687366004611210565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156106be57600080fd5b506103466106cd3660046112dc565b610b64565b60006106df338484610ba7565b5060015b92915050565b6001600160a01b038316600090815260036020908152604080832033845290915281205460001981146107445782811015610737576040516313be252b60e01b815260040160405180910390fd5b6107448533858403610ba7565b61074f858585610c56565b506001949350505050565b610762610f8e565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156107a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cd91906112fe565b90506107da838383610fbb565b505050565b6107e7610f8e565b4760006107f44784611317565b306000908152600260205260409020549091508082111561081f5790508061081c848261133c565b92505b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015273588a03b23849e5bc5c451c6fc696797c608a48e060848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990859060c40160606040518083038185885af11580156108a6573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108cb919061135e565b50505050505050565b6108dc610f8e565b606460ff831611806108f15750606460ff8216115b1561090f57604051635429a4fd60e11b815260040160405180910390fd5b6001805461ffff60a01b1916600160a01b60ff9485160260ff60a81b191617600160a81b9290931691909102919091179055565b61094b610f8e565b6001600160a01b03919091166000908152600460205260409020805460ff1916911515919091179055565b61097e610f8e565b6001600160a01b0381166109a55760405163d92e233d60e01b815260040160405180910390fd5b6000816001600160a01b03164760405160006040518083038185875af1925050503d80600081146109f2576040519150601f19603f3d011682016040523d82523d6000602084013e6109f7565b606091505b5050905080610a19576040516327fcd9d160e01b815260040160405180910390fd5b5050565b610a25610f8e565b610a2f60006110e7565b565b610a39610f8e565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b610a6c610f8e565b6001600160a01b038116610a935760405163d92e233d60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610abd610f8e565b6001805460ff60b01b1916600160b01b179055565b610ada610f8e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610b2c57604051636180ad0760e01b815260040160405180910390fd5b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b60006106df338484610c56565b610b6c610f8e565b6001600160a01b038116610b9b57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610ba4816110e7565b50565b6001600160a01b038316610bce5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038216610bf55760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c7d5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038216610ca45760405163d92e233d60e01b815260040160405180910390fd5b600154600160b01b900460ff16610d4e576000546001600160a01b03848116911614801590610ce157506001546001600160a01b03848116911614155b8015610cf657506001600160a01b0383163014155b8015610d1057506000546001600160a01b03838116911614155b15610d4e576001600160a01b03831660009081526005602052604090205460ff16610d4e5760405163bcb8b8fb60e01b815260040160405180910390fd5b6001600160a01b03831660009081526004602052604090205460019060ff1680610d9057506001600160a01b03831660009081526004602052604090205460ff165b15610d99575060005b6001600160a01b03841660009081526002602052604090205482811015610dd357604051631e9acf1760e31b815260040160405180910390fd5b60008215610f1c576001600160a01b03851660009081526006602052604090205460ff168015610e0e5750600154600160a81b900460ff1615155b15610e3f576001546103e890610e2e90600160a81b900460ff1686611317565b610e38919061133c565b9050610e9f565b6001600160a01b03861660009081526006602052604090205460ff168015610e725750600154600160a01b900460ff1615155b15610e9f576001546103e890610e9290600160a01b900460ff1686611317565b610e9c919061133c565b90505b8015610f1c576001600160a01b03808716600081815260026020526040808220805486900390556001805485168352918190208054860190559054905196849003969216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f139085815260200190565b60405180910390a35b6001600160a01b03808716600081815260026020526040808220805489900390559288168082529083902080548801905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f7e9088815260200190565b60405180910390a3505050505050565b6000546001600160a01b03163314610a2f5760405163118cdaa760e01b8152336004820152602401610b92565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092839290871691611017919061138c565b6000604051808303816000865af19150503d8060008114611054576040519150601f19603f3d011682016040523d82523d6000602084013e611059565b606091505b509150915081801561108357508051158061108357508080602001905181019061108391906113a8565b6110e05760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657248656c7065723a20494e5445524e414c205452414e5346456044820152671497d1905253115160c21b6064820152608401610b92565b5050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b8381101561115257818101518382015260200161113a565b50506000910152565b602081526000825180602084015261117a816040850160208701611137565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146111a557600080fd5b919050565b600080604083850312156111bd57600080fd5b6111c68361118e565b946020939093013593505050565b6000806000606084860312156111e957600080fd5b6111f28461118e565b92506112006020850161118e565b9150604084013590509250925092565b6000806040838503121561122357600080fd5b61122c8361118e565b915061123a6020840161118e565b90509250929050565b60006020828403121561125557600080fd5b5035919050565b803560ff811681146111a557600080fd5b6000806040838503121561128057600080fd5b6112898361125c565b915061123a6020840161125c565b8015158114610ba457600080fd5b600080604083850312156112b857600080fd5b6112c18361118e565b915060208301356112d181611297565b809150509250929050565b6000602082840312156112ee57600080fd5b6112f78261118e565b9392505050565b60006020828403121561131057600080fd5b5051919050565b80820281158282048414176106e357634e487b7160e01b600052601160045260246000fd5b60008261135957634e487b7160e01b600052601260045260246000fd5b500490565b60008060006060848603121561137357600080fd5b8351925060208401519150604084015190509250925092565b6000825161139e818460208701611137565b9190910192915050565b6000602082840312156113ba57600080fd5b81516112f78161129756fea2646970667358221220a313cb694c8d63f2744929356a4eb85e7ab04c873e7494a63fbf872f5c9dffb864736f6c63430008160033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106101f95760003560e01c80636ed9f20d1161010d5780638da5cb5b116100a0578063a9059cbb1161006f578063a9059cbb1461060a578063d4fb9a011461062a578063d85ba0631461064b578063dd62ed3e1461066c578063f2fde38b146106b257600080fd5b80638da5cb5b146105705780638fdf2d111461058e57806395d89b41146105bb5780639a7a23d6146105ea57600080fd5b80637d780d82116100dc5780637d780d82146104da578063809d458d1461050257806385ecafd7146105225780638a8c523c1461055b57600080fd5b80636ed9f20d1461037057806370a082311461046f578063715018a6146104a55780637613ceb3146104ba57600080fd5b80633d05647a116101905780634fcd24461161015f5780634fcd2446146103d95780635581fc13146103f9578063590ffdce1461040e578063690d83201461042e5780636a486a8e1461044e57600080fd5b80633d05647a1461035d5780633df2c78b146103705780634626402b1461038557806349bd5a5e146103a557600080fd5b806323b872dd116101cc57806323b872dd146102df578063313ce567146102ff5780633aeac4e1146103265780633c4b632a1461034857600080fd5b806306fdde03146101fe578063095ea7b3146102435780631694505e1461027357806318160ddd146102b3575b600080fd5b34801561020a57600080fd5b5061022d6040518060400160405280600381526020016242656760e81b81525081565b60405161023a919061115b565b60405180910390f35b34801561024f57600080fd5b5061026361025e3660046111aa565b6106d2565b604051901515815260200161023a565b34801561027f57600080fd5b5061029b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161023a565b3480156102bf57600080fd5b506102d1696f4cd54593d9e080000081565b60405190815260200161023a565b3480156102eb57600080fd5b506102636102fa3660046111d4565b6106e9565b34801561030b57600080fd5b50610314601281565b60405160ff909116815260200161023a565b34801561033257600080fd5b50610346610341366004611210565b61075a565b005b34801561035457600080fd5b50610314600081565b61034661036b366004611243565b6107df565b34801561037c57600080fd5b50610314606481565b34801561039157600080fd5b5060015461029b906001600160a01b031681565b3480156103b157600080fd5b5061029b7f0000000000000000000000007c9a17f2a77e75eb03981972733f9a6d2dd12fec81565b3480156103e557600080fd5b506103466103f436600461126d565b6108d4565b34801561040557600080fd5b50610314600181565b34801561041a57600080fd5b506103466104293660046112a5565b610943565b34801561043a57600080fd5b506103466104493660046112dc565b610976565b34801561045a57600080fd5b5060015461031490600160a81b900460ff1681565b34801561047b57600080fd5b506102d161048a3660046112dc565b6001600160a01b031660009081526002602052604090205490565b3480156104b157600080fd5b50610346610a1d565b3480156104c657600080fd5b506103466104d53660046112a5565b610a31565b3480156104e657600080fd5b5061034633600090815260076020526040902080546001019055565b34801561050e57600080fd5b5061034661051d3660046112dc565b610a64565b34801561052e57600080fd5b5061026361053d3660046112dc565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561056757600080fd5b50610346610ab5565b34801561057c57600080fd5b506000546001600160a01b031661029b565b34801561059a57600080fd5b506102d16105a93660046112dc565b60076020526000908152604090205481565b3480156105c757600080fd5b5061022d6040518060400160405280600381526020016242454760e81b81525081565b3480156105f657600080fd5b506103466106053660046112a5565b610ad2565b34801561061657600080fd5b506102636106253660046111aa565b610b57565b34801561063657600080fd5b5060015461031490600160b01b900460ff1681565b34801561065757600080fd5b5060015461031490600160a01b900460ff1681565b34801561067857600080fd5b506102d1610687366004611210565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156106be57600080fd5b506103466106cd3660046112dc565b610b64565b60006106df338484610ba7565b5060015b92915050565b6001600160a01b038316600090815260036020908152604080832033845290915281205460001981146107445782811015610737576040516313be252b60e01b815260040160405180910390fd5b6107448533858403610ba7565b61074f858585610c56565b506001949350505050565b610762610f8e565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156107a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cd91906112fe565b90506107da838383610fbb565b505050565b6107e7610f8e565b4760006107f44784611317565b306000908152600260205260409020549091508082111561081f5790508061081c848261133c565b92505b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015273588a03b23849e5bc5c451c6fc696797c608a48e060848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990859060c40160606040518083038185885af11580156108a6573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108cb919061135e565b50505050505050565b6108dc610f8e565b606460ff831611806108f15750606460ff8216115b1561090f57604051635429a4fd60e11b815260040160405180910390fd5b6001805461ffff60a01b1916600160a01b60ff9485160260ff60a81b191617600160a81b9290931691909102919091179055565b61094b610f8e565b6001600160a01b03919091166000908152600460205260409020805460ff1916911515919091179055565b61097e610f8e565b6001600160a01b0381166109a55760405163d92e233d60e01b815260040160405180910390fd5b6000816001600160a01b03164760405160006040518083038185875af1925050503d80600081146109f2576040519150601f19603f3d011682016040523d82523d6000602084013e6109f7565b606091505b5050905080610a19576040516327fcd9d160e01b815260040160405180910390fd5b5050565b610a25610f8e565b610a2f60006110e7565b565b610a39610f8e565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b610a6c610f8e565b6001600160a01b038116610a935760405163d92e233d60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610abd610f8e565b6001805460ff60b01b1916600160b01b179055565b610ada610f8e565b7f0000000000000000000000007c9a17f2a77e75eb03981972733f9a6d2dd12fec6001600160a01b0316826001600160a01b031603610b2c57604051636180ad0760e01b815260040160405180910390fd5b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b60006106df338484610c56565b610b6c610f8e565b6001600160a01b038116610b9b57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610ba4816110e7565b50565b6001600160a01b038316610bce5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038216610bf55760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c7d5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038216610ca45760405163d92e233d60e01b815260040160405180910390fd5b600154600160b01b900460ff16610d4e576000546001600160a01b03848116911614801590610ce157506001546001600160a01b03848116911614155b8015610cf657506001600160a01b0383163014155b8015610d1057506000546001600160a01b03838116911614155b15610d4e576001600160a01b03831660009081526005602052604090205460ff16610d4e5760405163bcb8b8fb60e01b815260040160405180910390fd5b6001600160a01b03831660009081526004602052604090205460019060ff1680610d9057506001600160a01b03831660009081526004602052604090205460ff165b15610d99575060005b6001600160a01b03841660009081526002602052604090205482811015610dd357604051631e9acf1760e31b815260040160405180910390fd5b60008215610f1c576001600160a01b03851660009081526006602052604090205460ff168015610e0e5750600154600160a81b900460ff1615155b15610e3f576001546103e890610e2e90600160a81b900460ff1686611317565b610e38919061133c565b9050610e9f565b6001600160a01b03861660009081526006602052604090205460ff168015610e725750600154600160a01b900460ff1615155b15610e9f576001546103e890610e9290600160a01b900460ff1686611317565b610e9c919061133c565b90505b8015610f1c576001600160a01b03808716600081815260026020526040808220805486900390556001805485168352918190208054860190559054905196849003969216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f139085815260200190565b60405180910390a35b6001600160a01b03808716600081815260026020526040808220805489900390559288168082529083902080548801905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f7e9088815260200190565b60405180910390a3505050505050565b6000546001600160a01b03163314610a2f5760405163118cdaa760e01b8152336004820152602401610b92565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092839290871691611017919061138c565b6000604051808303816000865af19150503d8060008114611054576040519150601f19603f3d011682016040523d82523d6000602084013e611059565b606091505b509150915081801561108357508051158061108357508080602001905181019061108391906113a8565b6110e05760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657248656c7065723a20494e5445524e414c205452414e5346456044820152671497d1905253115160c21b6064820152608401610b92565b5050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b8381101561115257818101518382015260200161113a565b50506000910152565b602081526000825180602084015261117a816040850160208701611137565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146111a557600080fd5b919050565b600080604083850312156111bd57600080fd5b6111c68361118e565b946020939093013593505050565b6000806000606084860312156111e957600080fd5b6111f28461118e565b92506112006020850161118e565b9150604084013590509250925092565b6000806040838503121561122357600080fd5b61122c8361118e565b915061123a6020840161118e565b90509250929050565b60006020828403121561125557600080fd5b5035919050565b803560ff811681146111a557600080fd5b6000806040838503121561128057600080fd5b6112898361125c565b915061123a6020840161125c565b8015158114610ba457600080fd5b600080604083850312156112b857600080fd5b6112c18361118e565b915060208301356112d181611297565b809150509250929050565b6000602082840312156112ee57600080fd5b6112f78261118e565b9392505050565b60006020828403121561131057600080fd5b5051919050565b80820281158282048414176106e357634e487b7160e01b600052601160045260246000fd5b60008261135957634e487b7160e01b600052601260045260246000fd5b500490565b60008060006060848603121561137357600080fd5b8351925060208401519150604084015190509250925092565b6000825161139e818460208701611137565b9190910192915050565b6000602082840312156113ba57600080fd5b81516112f78161129756fea2646970667358221220a313cb694c8d63f2744929356a4eb85e7ab04c873e7494a63fbf872f5c9dffb864736f6c63430008160033

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

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