ETH Price: $3,855.99 (-0.16%)

Contract

0xBD7139cD24b9785E39a5519bE5f30d6622ACF0a4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve184500922023-10-28 17:09:23414 days ago1698512963IN
0xBD7139cD...622ACF0a4
0 ETH0.0015729333.82148556
Set Taxes184500912023-10-28 17:09:11414 days ago1698512951IN
0xBD7139cD...622ACF0a4
0 ETH0.0010432830.86640425
Lift Limits184500882023-10-28 17:08:35414 days ago1698512915IN
0xBD7139cD...622ACF0a4
0 ETH0.0010014332.81244408
Approve184500882023-10-28 17:08:35414 days ago1698512915IN
0xBD7139cD...622ACF0a4
0 ETH0.0019864242.71244408
Approve184500852023-10-28 17:07:59414 days ago1698512879IN
0xBD7139cD...622ACF0a4
0 ETH0.0016956336.45976426
Approve184500842023-10-28 17:07:47414 days ago1698512867IN
0xBD7139cD...622ACF0a4
0 ETH0.0017875938.44711373
Approve184500842023-10-28 17:07:47414 days ago1698512867IN
0xBD7139cD...622ACF0a4
0 ETH0.0017875938.44711373
Approve184500842023-10-28 17:07:47414 days ago1698512867IN
0xBD7139cD...622ACF0a4
0 ETH0.0017875938.44711373
Initialize LP184500802023-10-28 17:06:59414 days ago1698512819IN
0xBD7139cD...622ACF0a4
1 ETH0.0919299333.59098876

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
184500802023-10-28 17:06:59414 days ago1698512819
0xBD7139cD...622ACF0a4
1 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x3Ba32839...28eC6A8Fc
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
TokenAlpha

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, None license
File 1 of 6 : TokenAlpha.sol
pragma solidity ^0.8.17;
//SPDX-License-Identifier: MIT

import "IERC20.sol";
import "Auth.sol";
import "SafeMath.sol";
import "IDEXRouter.sol";
import "IDEXFactory.sol";

contract TokenAlpha is IERC20, Auth {
    using SafeMath for uint256;

    string _name;
    string _symbol;

    uint8 constant _decimals = 9;

    uint256 public _totalSupply;

    uint256 public _maxWalletToken;
    uint256 public _swapThreshold;

    uint256 public _marketingBuyTax;
    uint256 public _marketingSellTax;

    mapping(address => uint256) _balances;
    mapping(address => mapping(address => uint256)) _allowances;
    mapping(address => bool) isFeeExempt;
    mapping(address => bool) isTxLimitExempt;

    address public pair;
    address public routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    address public _marketingAddress;
    address public WETHAddress = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    IDEXRouter public router;

    bool inSwap;

    modifier swapping() {
        inSwap = true;
        _;
        inSwap = false;
    }

    event AutoLiquify(uint256 amountETH, uint256 amountCoin);

    constructor(
        string[] memory _stringData,
        address _addressData,
        uint256[] memory _intData
    ) payable Auth(msg.sender) {
        require(_stringData.length == 2, "String List needs 4 string inputs");
        require(_intData.length == 5, "Int List needs 5 int inputs");
        router = IDEXRouter(routerAddress);

        authorizations[routerAddress] = true;
        authorizations[address(this)] = true;

        _name = _stringData[0];
        _symbol = _stringData[1];

        require(_intData[0] > 0, "Total Supply must be greater than 0.");
        _totalSupply = _intData[0] * 10 ** _decimals;
        _balances[address(this)] = _totalSupply;
        emit Transfer(address(0), address(this), _totalSupply);

        _marketingAddress = _addressData;

        _maxWalletToken = (_totalSupply * _intData[1]) / 1000;
        _swapThreshold = (_totalSupply * _intData[2]) / 1000;

        _marketingBuyTax = _intData[3];
        _marketingSellTax = _intData[4];

        _allowances[address(this)][routerAddress] = _totalSupply;
        isTxLimitExempt[address(this)] = true;

        require(
            _marketingAddress != address(0),
            "Reciever wallets can't be Zero address."
        );

        require(_swapThreshold > 0, "Swap Threshold must be greater than 0%.");
        require(_maxWalletToken > 0, "Max Wallet must be greater than 0%.");
    }

    receive() external payable {}

    function initializeLP() external payable onlyOwner {
        require(address(this).balance > 0);
        pair = IDEXFactory(router.factory()).createPair(
            router.WETH(),
            address(this)
        );
        router.addLiquidityETH{value: msg.value}(
            address(this),
            _totalSupply,
            0,
            0,
            msg.sender,
            block.timestamp + 1
        );
    }

    function getAddressBalance(address _address) public view returns (uint256) {
        return _address.balance;
    }

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

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

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

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

    function getOwner() external view override returns (address) {
        return owner;
    }

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

    function allowance(
        address holder,
        address spender
    ) external view override returns (uint256) {
        return _allowances[holder][spender];
    }

    function approve(
        address spender,
        uint256 amount
    ) public override returns (bool) {
        _allowances[msg.sender][spender] = amount;
        emit Approval(msg.sender, spender, amount);
        return true;
    }

    function approveMax(address spender) external returns (bool) {
        return approve(spender, _totalSupply);
    }

    function transfer(
        address recipient,
        uint256 amount
    ) external override returns (bool) {
        if (owner == msg.sender) {
            return _basicTransfer(msg.sender, recipient, amount);
        } else {
            return _transferFrom(msg.sender, recipient, amount);
        }
    }

    function _basicTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (bool) {
        _balances[sender] = _balances[sender].sub(
            amount,
            "Insufficient Balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external override returns (bool) {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        if (_allowances[sender][msg.sender] != _totalSupply) {
            _allowances[sender][msg.sender] = _allowances[sender][msg.sender]
                .sub(amount, "Insufficient Allowance");
        }
        return _transferFrom(sender, recipient, amount);
    }

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

        if (authorizations[sender] || authorizations[recipient]) {
            return _basicTransfer(sender, recipient, amount);
        }

        if (inSwap) {
            return _basicTransfer(sender, recipient, amount);
        }

        checkLimits(sender, recipient, amount);
        if (shouldTokenSwap(recipient)) {
            tokenSwap();
        }

        _balances[sender] = _balances[sender].sub(
            amount,
            "Insufficient Balance"
        );
        uint256 amountReceived = (recipient == pair || sender == pair)
            ? takeFee(sender, recipient, amount)
            : amount;

        _balances[recipient] = _balances[recipient].add(amountReceived);

        emit Transfer(sender, recipient, amountReceived);
        return true;
    }

    function takeFee(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (uint256) {
        if (isFeeExempt[sender] || isFeeExempt[recipient]) {
            return amount;
        }
        uint256 _totalFee;

        _totalFee = (recipient == pair) ? getSellTax() : getBuyTax();

        uint256 feeAmount = amount.mul(_totalFee).div(1000);

        _balances[address(this)] = _balances[address(this)].add(feeAmount);

        emit Transfer(sender, address(this), feeAmount);

        return amount.sub(feeAmount);
    }

    function getBuyTax() public view returns (uint) {
        return _marketingBuyTax;
    }

    function getSellTax() public view returns (uint) {
        return _marketingSellTax;
    }

    function getTotalTax() public view returns (uint) {
        return getSellTax() + getBuyTax();
    }

    function setTaxes(
        uint256 _marketingBuyPercent,
        uint256 _marketingSellPercent
    ) external onlyOwner {
        _marketingBuyTax = _marketingBuyPercent;
        _marketingSellTax = _marketingSellPercent;
    }

    function tokenSwap() internal swapping {
        uint256 amountToSwap = _swapThreshold;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETHAddress;

        uint256 balanceBefore = address(this).balance;

        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amountToSwap,
            0,
            path,
            address(this),
            block.timestamp
        );

        bool tmpSuccess;

        uint256 amountETH = address(this).balance.sub(balanceBefore);
        uint256 totalETHFee = getTotalTax();

        if (_marketingBuyTax + _marketingSellTax > 0) {
            uint256 amountETHMarketing = amountETH
                .mul(_marketingBuyTax + _marketingSellTax)
                .div(totalETHFee);
            (tmpSuccess, ) = payable(_marketingAddress).call{
                value: amountETHMarketing,
                gas: 100000
            }("");
            tmpSuccess = false;
        }
    }

    function shouldTokenSwap(address recipient) internal view returns (bool) {
        return ((recipient == pair) &&
            !inSwap &&
            _balances[address(this)] >= _swapThreshold);
    }

    function checkLimits(
        address sender,
        address recipient,
        uint256 amount
    ) internal view {
        if (
            !authorizations[sender] &&
            !authorizations[recipient] &&
            recipient != address(this) &&
            sender != address(this) &&
            recipient != 0x000000000000000000000000000000000000dEaD &&
            recipient != pair &&
            recipient != _marketingAddress
        ) {
            uint256 heldTokens = balanceOf(recipient);
            require(
                (heldTokens + amount) <= _maxWalletToken,
                "Total Holding is currently limited, you can not buy that much."
            );
        }
    }

    function setMaxWallet(uint256 percent) external onlyOwner {
        _maxWalletToken = (_totalSupply * percent) / 1000;
        require(_maxWalletToken > 0, "Max Wallet must be greater than 0%.");
    }

    function setTokenSwapSettings(uint256 percent) external onlyOwner {
        _swapThreshold = (_totalSupply * percent) / 1000;
        require(percent > 0, "Swap Threshold must be greater than 0%.");
    }

    function liftLimits() external onlyOwner {
        _maxWalletToken = _totalSupply;
    }

    function setAddresses(address marketingAddress) external onlyOwner {
        if (marketingAddress != address(0)) {
            _marketingAddress = marketingAddress;
        }
    }

    function setTXExemption(address user, bool status) external onlyOwner {
        isTxLimitExempt[user] = status;
    }

    function setFeeExemption(address user, bool status) external onlyOwner {
        isFeeExempt[user] = status;
    }

    function clearStuckBalance() external {
        payable(_marketingAddress).transfer(address(this).balance);
    }
}

File 2 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function decimals() external view returns (uint8);

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

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

    function getOwner() external view returns (address);

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

File 3 of 6 : Auth.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

abstract contract Auth {
    address internal owner;
    mapping(address => bool) internal authorizations;

    constructor(address _owner) {
        owner = _owner;
        authorizations[_owner] = true;
    }

    modifier onlyOwner() {
        require(isOwner(msg.sender), "!OWNER");
        _;
    }

    modifier authorized() {
        require(isAuthorized(msg.sender), "!AUTHORIZED");
        _;
    }

    function authorize(address adr) public onlyOwner {
        authorizations[adr] = true;
    }

    function unauthorize(address adr) public onlyOwner {
        authorizations[adr] = false;
    }

    function isOwner(address account) public view returns (bool) {
        return account == owner;
    }

    function isAuthorized(address adr) public view returns (bool) {
        return authorizations[adr];
    }

    function transferOwnership(address payable adr) public onlyOwner {
        owner = adr;
        authorizations[adr] = true;
        emit OwnershipTransferred(adr);
    }

    event OwnershipTransferred(address owner);
}

File 4 of 6 : SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

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

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }
}

File 5 of 6 : IDEXRouter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

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

    function WETH() external pure returns (address);

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

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

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

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

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

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

File 6 of 6 : IDEXFactory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IDEXFactory {
    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string[]","name":"_stringData","type":"string[]"},{"internalType":"address","name":"_addressData","type":"address"},{"internalType":"uint256[]","name":"_intData","type":"uint256[]"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountCoin","type":"uint256"}],"name":"AutoLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","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":"WETHAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","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":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"authorize","outputs":[],"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":"clearStuckBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getAddressBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initializeLP","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liftLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"routerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"marketingAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setFeeExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setTXExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_marketingSellPercent","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setTokenSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"adr","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"unauthorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080604052600436106102345760003560e01c8063751fd1791161012e578063c647b20e116100ab578063f2fde38b1161006f578063f2fde38b1461068e578063f60b3d6d146106ae578063f887ea40146106c3578063fb4aa585146106e3578063fe9fbb80146106f957600080fd5b8063c647b20e146105c8578063caac7934146105e8578063dd62ed3e14610608578063e5f2758f1461064e578063f0b37c041461066e57600080fd5b8063a6690cf9116100f2578063a6690cf91461054b578063a8aa1b3114610553578063a9059cbb14610573578063b0bc85de14610593578063b6a5d7de146105a857600080fd5b8063751fd179146104c257806378109e54146104e257806381d3c435146104f8578063893d20e81461051857806395d89b411461053657600080fd5b806327d62e25116101bc578063364333f411610180578063364333f4146104215780633eaaf86b14610436578063571ac8b01461044c5780635d0044ca1461046c57806370a082311461048c57600080fd5b806327d62e251461036c5780632f54bf6e1461038e578063313ce567146103bd5780633268cc56146103d957806335046722146103f957600080fd5b806318160ddd1161020357806318160ddd146102f75780631f1b845b1461030c57806323b872dd14610322578063252d723a14610342578063276ef2d51461035757600080fd5b806306fdde0314610240578063095ea7b31461026b5780630af88b241461029b5780630e5a9231146102d357600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b50610255610732565b6040516102629190611995565b60405180910390f35b34801561027757600080fd5b5061028b6102863660046119f8565b6107c4565b6040519015158152602001610262565b3480156102a757600080fd5b506010546102bb906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b3480156102df57600080fd5b506102e960065481565b604051908152602001610262565b34801561030357600080fd5b506004546102e9565b34801561031857600080fd5b506102e960085481565b34801561032e57600080fd5b5061028b61033d366004611a24565b610831565b34801561034e57600080fd5b506007546102e9565b34801561036357600080fd5b506102e961094a565b34801561037857600080fd5b5061038c610387366004611a65565b610967565b005b34801561039a57600080fd5b5061028b6103a9366004611aa3565b6000546001600160a01b0391821691161490565b3480156103c957600080fd5b5060405160098152602001610262565b3480156103e557600080fd5b50600e546102bb906001600160a01b031681565b34801561040557600080fd5b506102e9610414366004611aa3565b6001600160a01b03163190565b34801561042d57600080fd5b5061038c6109bc565b34801561044257600080fd5b506102e960045481565b34801561045857600080fd5b5061028b610467366004611aa3565b6109f8565b34801561047857600080fd5b5061038c610487366004611ac0565b610a06565b34801561049857600080fd5b506102e96104a7366004611aa3565b6001600160a01b031660009081526009602052604090205490565b3480156104ce57600080fd5b5061038c6104dd366004611a65565b610aa8565b3480156104ee57600080fd5b506102e960055481565b34801561050457600080fd5b5061038c610513366004611aa3565b610afd565b34801561052457600080fd5b506000546001600160a01b03166102bb565b34801561054257600080fd5b50610255610b56565b61038c610b65565b34801561055f57600080fd5b50600d546102bb906001600160a01b031681565b34801561057f57600080fd5b5061028b61058e3660046119f8565b610ddd565b34801561059f57600080fd5b506008546102e9565b3480156105b457600080fd5b5061038c6105c3366004611aa3565b610e0f565b3480156105d457600080fd5b5061038c6105e3366004611ad9565b610e60565b3480156105f457600080fd5b50600f546102bb906001600160a01b031681565b34801561061457600080fd5b506102e9610623366004611afb565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205490565b34801561065a57600080fd5b5061038c610669366004611ac0565b610e95565b34801561067a57600080fd5b5061038c610689366004611aa3565b610f3a565b34801561069a57600080fd5b5061038c6106a9366004611aa3565b610f85565b3480156106ba57600080fd5b5061038c61101b565b3480156106cf57600080fd5b506011546102bb906001600160a01b031681565b3480156106ef57600080fd5b506102e960075481565b34801561070557600080fd5b5061028b610714366004611aa3565b6001600160a01b031660009081526001602052604090205460ff1690565b60606002805461074190611b29565b80601f016020809104026020016040519081016040528092919081815260200182805461076d90611b29565b80156107ba5780601f1061078f576101008083540402835291602001916107ba565b820191906000526020600020905b81548152906001019060200180831161079d57829003601f168201915b5050505050905090565b336000818152600a602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061081f9086815260200190565b60405180910390a35060015b92915050565b60006001600160a01b0384166108625760405162461bcd60e51b815260040161085990611b63565b60405180910390fd5b6001600160a01b0383166108885760405162461bcd60e51b815260040161085990611ba8565b6004546001600160a01b0385166000908152600a6020908152604080832033845290915290205414610935576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152600a8252838120338252909152919091205461091091849061104d565b6001600160a01b0385166000908152600a602090815260408083203384529091529020555b610940848484611087565b90505b9392505050565b600061095560075490565b6008546109629190611c01565b905090565b6000546001600160a01b031633146109915760405162461bcd60e51b815260040161085990611c14565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b600f546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156109f5573d6000803e3d6000fd5b50565b600061082b826004546107c4565b6000546001600160a01b03163314610a305760405162461bcd60e51b815260040161085990611c14565b6103e881600454610a419190611c34565b610a4b9190611c4b565b60058190556109f55760405162461bcd60e51b815260206004820152602360248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e2060448201526218129760e91b6064820152608401610859565b6000546001600160a01b03163314610ad25760405162461bcd60e51b815260040161085990611c14565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610b275760405162461bcd60e51b815260040161085990611c14565b6001600160a01b038116156109f557600f80546001600160a01b0383166001600160a01b031990911617905550565b60606003805461074190611b29565b6000546001600160a01b03163314610b8f5760405162461bcd60e51b815260040161085990611c14565b60004711610b9c57600080fd5b601160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c139190611c6d565b6001600160a01b031663c9c65396601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c989190611c6d565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af1158015610ce4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d089190611c6d565b600d80546001600160a01b0319166001600160a01b0392831617905560115460045491169063f305d719903490309060008033610d46426001611c01565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015610db3573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610dd89190611c8a565b505050565b60008054336001600160a01b0390911603610e0457610dfd33848461129b565b905061082b565b610dfd338484611087565b6000546001600160a01b03163314610e395760405162461bcd60e51b815260040161085990611c14565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b6000546001600160a01b03163314610e8a5760405162461bcd60e51b815260040161085990611c14565b600791909155600855565b6000546001600160a01b03163314610ebf5760405162461bcd60e51b815260040161085990611c14565b6103e881600454610ed09190611c34565b610eda9190611c4b565b600655806109f55760405162461bcd60e51b815260206004820152602760248201527f53776170205468726573686f6c64206d757374206265206772656174657220746044820152663430b71018129760c91b6064820152608401610859565b6000546001600160a01b03163314610f645760405162461bcd60e51b815260040161085990611c14565b6001600160a01b03166000908152600160205260409020805460ff19169055565b6000546001600160a01b03163314610faf5760405162461bcd60e51b815260040161085990611c14565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b6000546001600160a01b031633146110455760405162461bcd60e51b815260040161085990611c14565b600454600555565b600081848411156110715760405162461bcd60e51b81526004016108599190611995565b50600061107e8486611cb8565b95945050505050565b60006001600160a01b0384166110af5760405162461bcd60e51b815260040161085990611b63565b6001600160a01b0383166110d55760405162461bcd60e51b815260040161085990611ba8565b6001600160a01b03841660009081526001602052604090205460ff168061111457506001600160a01b03831660009081526001602052604090205460ff165b1561112b5761112484848461129b565b9050610943565b601154600160a01b900460ff16156111485761112484848461129b565b611153848484611381565b61115c836114dd565b1561116957611169611529565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0387166000908152600990915291909120546111bb91849061104d565b6001600160a01b03808616600090815260096020526040812092909255600d54858216911614806111f95750600d546001600160a01b038681169116145b611203578261120e565b61120e8585856116fa565b6001600160a01b0385166000908152600960205260409020549091506112349082611807565b6001600160a01b0380861660008181526009602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112889085815260200190565b60405180910390a3506001949350505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03861660009081526009909152918220546112ec91849061104d565b6001600160a01b03808616600090815260096020526040808220939093559085168152205461131b9083611807565b6001600160a01b0380851660008181526009602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061136f9086815260200190565b60405180910390a35060019392505050565b6001600160a01b03831660009081526001602052604090205460ff161580156113c357506001600160a01b03821660009081526001602052604090205460ff16155b80156113d857506001600160a01b0382163014155b80156113ed57506001600160a01b0383163014155b8015611404575061dead6001600160a01b03831614155b801561141e5750600d546001600160a01b03838116911614155b80156114385750600f546001600160a01b03838116911614155b15610dd8576001600160a01b0382166000908152600960205260409020546005546114638383611c01565b11156114d75760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e00006064820152608401610859565b50505050565b600d546000906001600160a01b0383811691161480156115075750601154600160a01b900460ff16155b801561082b575060065430600090815260096020526040902054101592915050565b6011805460ff60a01b1916600160a01b179055600654604080516002808252606082018352600092602083019080368337019050509050308160008151811061157457611574611ccb565b6001600160a01b0392831660209182029290920101526010548251911690829060019081106115a5576115a5611ccb565b6001600160a01b03928316602091820292909201015260115460405163791ac94760e01b81524792919091169063791ac947906115ef908690600090879030904290600401611ce1565b600060405180830381600087803b15801561160957600080fd5b505af115801561161d573d6000803e3d6000fd5b50505050600080611637834761186690919063ffffffff16565b9050600061164361094a565b905060006008546007546116579190611c01565b11156116e55760006116838261167d6008546007546116769190611c01565b86906118a8565b9061192a565b600f546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d80600081146116d7576040519150601f19603f3d011682016040523d82523d6000602084013e6116dc565b606091505b50600095505050505b50506011805460ff60a01b1916905550505050565b6001600160a01b0383166000908152600b602052604081205460ff168061173957506001600160a01b0383166000908152600b602052604090205460ff165b15611745575080610943565b600d546000906001600160a01b0385811691161461176557600754611769565b6008545b9050600061177d6103e861167d86856118a8565b3060009081526009602052604090205490915061179a9082611807565b30600081815260096020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906117eb9085815260200190565b60405180910390a36117fd8482611866565b9695505050505050565b6000806118148385611c01565b9050838110156109435760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610859565b600061094383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061104d565b6000826000036118ba5750600061082b565b60006118c68385611c34565b9050826118d38583611c4b565b146109435760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610859565b600061094383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836119885760405162461bcd60e51b81526004016108599190611995565b50600061107e8486611c4b565b600060208083528351808285015260005b818110156119c2578581018301518582016040015282016119a6565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109f557600080fd5b60008060408385031215611a0b57600080fd5b8235611a16816119e3565b946020939093013593505050565b600080600060608486031215611a3957600080fd5b8335611a44816119e3565b92506020840135611a54816119e3565b929592945050506040919091013590565b60008060408385031215611a7857600080fd5b8235611a83816119e3565b915060208301358015158114611a9857600080fd5b809150509250929050565b600060208284031215611ab557600080fd5b8135610943816119e3565b600060208284031215611ad257600080fd5b5035919050565b60008060408385031215611aec57600080fd5b50508035926020909101359150565b60008060408385031215611b0e57600080fd5b8235611b19816119e3565b91506020830135611a98816119e3565b600181811c90821680611b3d57607f821691505b602082108103611b5d57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561082b5761082b611beb565b60208082526006908201526510a7aba722a960d11b604082015260600190565b808202811582820484141761082b5761082b611beb565b600082611c6857634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611c7f57600080fd5b8151610943816119e3565b600080600060608486031215611c9f57600080fd5b8351925060208401519150604084015190509250925092565b8181038181111561082b5761082b611beb565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d315784516001600160a01b031683529383019391830191600101611d0c565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212206a447470d85574a2f621cacec7955d47aa7ae7a9aefdda94da1b25972a95b60664736f6c63430008150033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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