Contract 0xc0E6AD13BD58413Ed308729b688d601243E1CF77

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd220b9ad98b3104051c75a4d4762da724e190a04f23fed053ab0bc56e736d988Approve132243942021-12-05 19:58:211 hr 12 mins ago0x6cc209dafbdfd0f5264d1a10df62a97f0c13b2b5 IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x3a49a6f230ce01828193d7bd4990d564d9a0d196141675328e9f07f2f0cc9465Approve132241352021-12-05 19:45:241 hr 25 mins ago0x917c1eb15a427e80e51085ee9c2dc3286985f198 IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x7f6e23421cd4bacddf199573355e68d3ea47d05d83d5b4f39f79a8402b1b5ae6Approve132225602021-12-05 18:26:172 hrs 44 mins ago0xc04b8683f69cb44d595abfe1b65dbb86a46b4416 IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0xe5dad6770bb22f2c79df4c2f02465b5ab685a0c7b946e1ade7486ac339f84754Approve132179532021-12-05 14:18:456 hrs 52 mins ago0x6c59d2cae1f7ae4915317db9e0f5c2eb06db3e9e IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x3d1324ababe61042c53ddd70647a2e2796d40b5b29b0167e5fddc3da18bd571dApprove132055822021-12-05 3:47:4117 hrs 23 mins ago0x24174ddd0946922f67f2af5a1001b1cd0e7ff56d IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x8195fdb1145227fa80942fdc29d4ce971cf151beaaa6b0e08959a27ceb6357d3Approve131969152021-12-04 20:33:591 day 36 mins ago0x0e0347c14e4f5b301209fe41bdaee1f8e3bfdd1f IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0xcaa462be7a759ed732a9ff5c31c8384a5fec6b2f4317da82d1724e2781e9a6adApprove131802512021-12-04 6:29:221 day 14 hrs ago0x6b0f14a9368513bb5ad7b3de23370e368a1c2d45 IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x29a76523b734b8713eda8c3bff5ae41a7c22b22eb7b2f57e2c1457fd98b2399aApprove131777082021-12-04 4:16:241 day 16 hrs ago0xbf71e4fa6612b085c299dc25e17198a76d524dea IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x88b0bd1d194990da8374e2d52b9c0739f3f0029632843e7bae9418f1e68216caApprove131757552021-12-04 2:37:531 day 18 hrs ago0x5285940a991595294d668e3c11021600b470e73a IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x5331eee57e970f46f15d0bd386b363c9a60e910b9af83f4bccf51feeea164e14Approve131713162021-12-03 22:55:241 day 22 hrs ago0x5f32fdf3791e262dcb5cd57afb76b2d8172ce6a2 IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x1d06e83ff3cfa08b7a7c70588c7391df58d112689442e05fbb3a645a0a3dceeeApprove131707912021-12-03 22:28:461 day 22 hrs ago0x4801897040467841f1cf1271b34ec5c274bd3e8b IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0xdf6539f3fb68e10491f481b8969e4a89a6d06beaa0c7b327d4f316331ec363b0Transfer131654702021-12-03 18:01:312 days 3 hrs ago0xd9d3765a989b65aedc6e23bfe24f6a4906628275 IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00014351
0xaa9fbaee48f1102cdb7964e1358703026bb2b8b504e45519f7a4f557d244e76eApprove130780182021-11-30 13:54:435 days 7 hrs ago0xb3b7609bb97ec6f4b192bc0cbc51bb0437923dc8 IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x3998f8afbafb258849d02b248b4a5e5e0a78a88b7e4aa8ac9cb8c5cc31ea463fTransfer130757892021-11-30 11:53:425 days 9 hrs ago0x8bc56465a57b5177be40d6099a5f19b23a1a8fab IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.000149665
0x469bc47ec9562bb6c9ab33503d5cf7c2bdbaaafa1e80f8527aecfce0d93a9769Transfer130555142021-11-29 17:41:186 days 3 hrs ago0x8bc56465a57b5177be40d6099a5f19b23a1a8fab IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00029353
0xdd25dec218afcb288f3639ab975b6f6ba642231e1dc4e9fb9649ab9869575e99Approve130553002021-11-29 17:29:336 days 3 hrs ago0x7d22b53fd9929c3adf1664f0274c4a69e748c4bc IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x097b8096c6c119ca6895d64371a126c7fa81a647300069436d931eb36a0ef1faApprove130550762021-11-29 17:16:386 days 3 hrs ago0xaaf3390be07cbc13b93b0276cc7e27253dc66276 IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x617d8345067ad43ee603710a4da9225f2f5a7f7999c1d7821316a497a4ed4f09Approve130549842021-11-29 17:11:316 days 3 hrs ago0xee8422387c0e28c7f9310c80cc116f1adbc108eb IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x23d54855679c8f5b2a63bbc3fd137f153a97255960652b25e248b743153bbedbApprove130537702021-11-29 16:05:416 days 5 hrs ago0xcdcbb315f95a0bead354c6c68a14a7096fd188e5 IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0xd8f52762ef52a7a00e7dd6ffd171a04f4058bd2bcd7e99c5e34e5acaae11e4b6Transfer130536402021-11-29 15:58:456 days 5 hrs ago0x8bc56465a57b5177be40d6099a5f19b23a1a8fab IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.000188995
0x14bbeef850905ff4745d9f4e6549cd2099c36d89c16846210dfe62d84495b8afApprove130521092021-11-29 14:35:416 days 6 hrs ago0x1f9f2efba20fecd551a630b199763db497950b1d IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0x2584eca9857d9e954cb92e007a3646e4bc7ad0cda27ad435d2fc28bbd027e804Approve130509362021-11-29 13:30:166 days 7 hrs ago0x3833a77a369a3a9471676ea32d5b7fab7c17612e IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0xb77a5e2318506bb9307bc3a38e6f69a6f62a87d1dfd8cdbb4e7d4a337e0f9079Approve129863662021-11-27 3:05:428 days 18 hrs ago0x1a7a7ca94723f60b01e8e58d8c218ab930b3109b IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00012649
0x95f8f5f02284a0ecd9fca1fdd70a31dc37a17e6c1c68c60523db751ee37387abApprove129863502021-11-27 3:04:528 days 18 hrs ago0x1a7a7ca94723f60b01e8e58d8c218ab930b3109b IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
0xfa8071ece22c6a8440b471988383ce54954cf58320c5be3c919d503f5b28eff3Approve129744202021-11-26 16:27:549 days 4 hrs ago0xf8dfb10b622616fa85466f7488e5c3b781fced1c IN  0xc0e6ad13bd58413ed308729b688d601243e1cf770 BNB0.00022249
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Test_token

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : BLK_Token.sol
// SPDX-License-Identifier: MIT
pragma solidity ^ 0.8.0;

// import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";





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

    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 _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
    unchecked {
        _balances[account] = accountBalance - amount;
    }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), 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 {}
}


contract Test_token is ERC20, Ownable {
    using Address for address;
    mapping(address => bool) admin;
    uint public holder;
    uint public limit;
    mapping(address => bool) public white;
    constructor (string memory symbol_, string memory name_) ERC20(name_, symbol_){
        admin[_msgSender()] = true;
    }

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

    function mint(address addr_, uint amount_) public onlyAdmin {
        _mint(addr_, amount_);
    }
    modifier onlyAdmin {
        require(admin[_msgSender()],"not damin");
        _;
    }
    function setAdmin(address com_) public onlyOwner{
        require(com_!=address(0),"wrong adress");
        admin[com_] = true;
    }

    function transfer(address recipient, uint256 amount) public  override returns (bool) {
        if (balanceOf(recipient) == 0){
            holder +=1;
        }
        _transfer(_msgSender(), recipient, amount);
        if (balanceOf(msg.sender) == 0){
            holder -= 1;
        }
        return true;
    }
    function setWhite(address addr_) public onlyOwner {
        white[addr_] = true;
    }
    function setLimit(uint com_) public onlyOwner {
        limit = com_;
    }



    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public  override returns (bool) {
        if (balanceOf(recipient) == 0){
            holder +=1;
        }
        if (!white[sender]){
            require(balanceOf(sender) >= limit,'wrong limit');
        }
        _transfer(sender, recipient, amount);


        uint256 currentAllowance = allowance(sender,_msgSender());
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
    unchecked {
        _approve(sender, _msgSender(), currentAllowance - amount);
    }
        if (balanceOf(sender) == 0){
            holder -=1;
        }

        return true;
    }

    function burn (uint amount_) public returns(bool) {
        _burn(msg.sender,amount_);
        return true;

    }
    function checkHolder() public view returns(uint out){
        out = holder;
    }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 6 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 5 of 6 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"name_","type":"string"}],"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":"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":[{"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":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"checkHolder","outputs":[{"internalType":"uint256","name":"out","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":"holder","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"com_","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"com_","type":"uint256"}],"name":"setLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr_","type":"address"}],"name":"setWhite","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","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"white","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200135238038062001352833981016040819052620000349162000251565b8051819083906200004d906003906020850190620000f8565b50805162000063906004906020840190620000f8565b505050620000806200007a620000a260201b60201c565b620000a6565b5050336000908152600660205260409020805460ff191660011790556200030b565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010690620002b8565b90600052602060002090601f0160209004810192826200012a576000855562000175565b82601f106200014557805160ff191683800117855562000175565b8280016001018555821562000175579182015b828111156200017557825182559160200191906001019062000158565b506200018392915062000187565b5090565b5b8082111562000183576000815560010162000188565b600082601f830112620001af578081fd5b81516001600160401b0380821115620001cc57620001cc620002f5565b604051601f8301601f19908116603f01168101908282118183101715620001f757620001f7620002f5565b8160405283815260209250868385880101111562000213578485fd5b8491505b8382101562000236578582018301518183018401529082019062000217565b838211156200024757848385830101525b9695505050505050565b6000806040838503121562000264578182fd5b82516001600160401b03808211156200027b578384fd5b62000289868387016200019e565b935060208501519150808211156200029f578283fd5b50620002ae858286016200019e565b9150509250929050565b600181811c90821680620002cd57607f821691505b60208210811415620002ef57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611037806200031b6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063704b6c02116100c3578063a4d66daf1161007c578063a4d66daf146102b6578063a9059cbb146102bf578063c03646ba146102d2578063dd62ed3e146102e5578063e534155d1461031e578063f2fde38b1461032757600080fd5b8063704b6c021461023c57806370a082311461024f578063715018a6146102785780638da5cb5b1461028057806395d89b411461029b578063a457c2d7146102a357600080fd5b806327ea6f2b1161011557806327ea6f2b146101d7578063313ce567146101ec57806339509351146101fb57806340c10f191461020e57806342966c6814610221578063486198e31461023457600080fd5b806304f5a0771461015257806306fdde031461018a578063095ea7b31461019f57806318160ddd146101b257806323b872dd146101c4575b600080fd5b610175610160366004610e2a565b60096020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61019261033a565b6040516101819190610ef9565b6101756101ad366004610eb8565b6103cc565b6002545b604051908152602001610181565b6101756101d2366004610e7d565b6103e2565b6101ea6101e5366004610ee1565b61055d565b005b60405160128152602001610181565b610175610209366004610eb8565b61058c565b6101ea61021c366004610eb8565b6105c8565b61017561022f366004610ee1565b610621565b6007546101b6565b6101ea61024a366004610e2a565b610635565b6101b661025d366004610e2a565b6001600160a01b031660009081526020819052604090205490565b6101ea6106c8565b6005546040516001600160a01b039091168152602001610181565b6101926106fe565b6101756102b1366004610eb8565b61070d565b6101b660085481565b6101756102cd366004610eb8565b6107a6565b6101ea6102e0366004610e2a565b61081c565b6101b66102f3366004610e4b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101b660075481565b6101ea610335366004610e2a565b61086a565b60606003805461034990610fb0565b80601f016020809104026020016040519081016040528092919081815260200182805461037590610fb0565b80156103c25780601f10610397576101008083540402835291602001916103c2565b820191906000526020600020905b8154815290600101906020018083116103a557829003601f168201915b5050505050905090565b60006103d9338484610905565b50600192915050565b6001600160a01b038216600090815260208190526040812054610418576001600760008282546104129190610f81565b90915550505b6001600160a01b03841660009081526009602052604090205460ff16610495576008546001600160a01b03851660009081526020819052604090205410156104955760405162461bcd60e51b815260206004820152600b60248201526a1ddc9bdb99c81b1a5b5a5d60aa1b60448201526064015b60405180910390fd5b6104a0848484610a2a565b60006104ac85336102f3565b90508281101561050f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161048c565b61051c8533858403610905565b6001600160a01b0385166000908152602081905260409020546105525760016007600082825461054c9190610f99565b90915550505b506001949350505050565b6005546001600160a01b031633146105875760405162461bcd60e51b815260040161048c90610f4c565b600855565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103d99185906105c3908690610f81565b610905565b3360009081526006602052604090205460ff166106135760405162461bcd60e51b81526020600482015260096024820152683737ba103230b6b4b760b91b604482015260640161048c565b61061d8282610b97565b5050565b600061062d3383610c76565b506001919050565b6005546001600160a01b0316331461065f5760405162461bcd60e51b815260040161048c90610f4c565b6001600160a01b0381166106a45760405162461bcd60e51b815260206004820152600c60248201526b77726f6e672061647265737360a01b604482015260640161048c565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6005546001600160a01b031633146106f25760405162461bcd60e51b815260040161048c90610f4c565b6106fc6000610dbc565b565b60606004805461034990610fb0565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561078f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161048c565b61079c3385858403610905565b5060019392505050565b6001600160a01b0382166000908152602081905260408120546107dc576001600760008282546107d69190610f81565b90915550505b6107e7338484610a2a565b336000908152602081905260409020546103d95760016007600082825461080e9190610f99565b909155505050600192915050565b6005546001600160a01b031633146108465760405162461bcd60e51b815260040161048c90610f4c565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6005546001600160a01b031633146108945760405162461bcd60e51b815260040161048c90610f4c565b6001600160a01b0381166108f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161048c565b61090281610dbc565b50565b6001600160a01b0383166109675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161048c565b6001600160a01b0382166109c85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161048c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610a8e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161048c565b6001600160a01b03831660009081526020819052604090205481811015610b065760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161048c565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610b3d908490610f81565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b8991815260200190565b60405180910390a350505050565b6001600160a01b038216610bed5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161048c565b8060026000828254610bff9190610f81565b90915550506001600160a01b03821660009081526020819052604081208054839290610c2c908490610f81565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610cd65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161048c565b6001600160a01b03821660009081526020819052604090205481811015610d4a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161048c565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610d79908490610f99565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610a1d565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b0381168114610e2557600080fd5b919050565b600060208284031215610e3b578081fd5b610e4482610e0e565b9392505050565b60008060408385031215610e5d578081fd5b610e6683610e0e565b9150610e7460208401610e0e565b90509250929050565b600080600060608486031215610e91578081fd5b610e9a84610e0e565b9250610ea860208501610e0e565b9150604084013590509250925092565b60008060408385031215610eca578182fd5b610ed383610e0e565b946020939093013593505050565b600060208284031215610ef2578081fd5b5035919050565b6000602080835283518082850152825b81811015610f2557858101830151858201604001528201610f09565b81811115610f365783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115610f9457610f94610feb565b500190565b600082821015610fab57610fab610feb565b500390565b600181811c90821680610fc457607f821691505b60208210811415610fe557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212201fd9650234ebed43b6437e71142545f65642d8d8119322a282c7693d6b07589f64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003424c4b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011426c61636b205768616c6520546f6b656e000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000003424c4b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011426c61636b205768616c6520546f6b656e000000000000000000000000000000

-----Decoded View---------------
Arg [0] : symbol_ (string): BLK
Arg [1] : name_ (string): Black Whale Token

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [3] : 424c4b0000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [5] : 426c61636b205768616c6520546f6b656e000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.