Token LuckyBlock

Gaming 
 

Overview [ERC-20]

Price
$0.00 @ 0.000000 Eth (+5.90%)
Fully Diluted Market Cap
Max Total Supply:
3,650,050,129 LBlock

Holders:
885 ( -2.257%)

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

A games & competitions platform with play-to-earn rewards using blockchain protocols.

Market

Volume (24H):$99,306.00
Market Capitalization:$0.00
Circulating Supply:0.00 LBlock
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LuckyBlockToken

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-06-27
*/

pragma solidity ^0.8.9;

// SPDX-License-Identifier: MIT

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

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

interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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

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() {
        _transferOwnership(_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 {
        _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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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);
    }
}

contract LuckyBlockToken is Context, IERC20, IERC20Metadata, Ownable {
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    uint256 private _totalSupply;
    string private _name;
    string private _symbol;
    address public minter;
    bool public isMinting;
    uint256 public constant HARD_CAP = 100000000000000000000; // 100 billion(BSC Total supply)

    /**
     * @param name_ Name of the token
     * @param symbol_ Symbol of the token
     * @param isMinting_ Minting status of the token
     */
    constructor(
        string memory name_,
        string memory symbol_,
        bool isMinting_
    ) Ownable() {
        _name = name_;
        _symbol = symbol_;
        isMinting = isMinting_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     */
    function decimals() public view virtual override returns (uint8) {
        return 9;
    }

    /**
     * @dev Returns total supply of the token
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    modifier onlyMinter() {
        require(msg.sender == minter, "Not the minter");
        _;
    }

    modifier minting() {
        require(isMinting, "Minting is disabled");
        _;
    }

    /**
     * @dev Allows the owner to change the current minter
     * @param _newMinter new minter of the contract
     */
    function changeMinter(address _newMinter) external onlyOwner {
        require(_newMinter != address(0), "Zero Minting address");
        minter = _newMinter;
    }

    /**
     * @dev Allows the owner to change the minting status
     * @param isMinting_ minting status
     */
    function changeMintingStatus(bool isMinting_) external onlyOwner {
        isMinting = isMinting_;
    }

    /**
     * @dev See `IERC20.balanceOf`.
     * @return balance of the user.
     */
    function balanceOf(address account)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _balances[account];
    }

    /**
     * @param recipient cannot be the zero address.
     * - the caller must have a balance of at least amount.
     */
    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];
    }

    /**
     *
     * @param spender cannot be the zero address.
     */
    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `value`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    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;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to `approve` that can be used as a mitigation for
     * problems described in `IERC20.approve`.
     *
     * Emits an `Approval` event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender] + addedValue
        );
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to `approve` that can be used as a mitigation for
     * problems described in `IERC20.approve`.
     *
     * Emits an `Approval` event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    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;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to `transfer`, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a `Transfer` event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    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");
        uint256 senderBalance = _balances[sender];
        require(
            senderBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[sender] -= amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a `Transfer` event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

    function mint(address user, uint256 amount)
        external
        onlyMinter
        minting
        returns (bool)
    {
        require(_totalSupply + amount <= HARD_CAP, "Hard cap exceeded!");
        _mint(user, amount);
        return true;
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a `Transfer` event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an `Approval` event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    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);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"bool","name":"isMinting_","type":"bool"}],"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":[],"name":"HARD_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_newMinter","type":"address"}],"name":"changeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isMinting_","type":"bool"}],"name":"changeMintingStatus","outputs":[],"stateMutability":"nonpayable","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":[{"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":"isMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"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"}]

60806040523480156200001157600080fd5b506040516200156a3803806200156a833981016040819052620000349162000253565b6200003f3362000090565b825162000054906004906020860190620000e0565b5081516200006a906005906020850190620000e0565b5060068054911515600160a01b0260ff60a01b1990921691909117905550620003149050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620000ee90620002d7565b90600052602060002090601f0160209004810192826200011257600085556200015d565b82601f106200012d57805160ff19168380011785556200015d565b828001600101855582156200015d579182015b828111156200015d57825182559160200191906001019062000140565b506200016b9291506200016f565b5090565b5b808211156200016b576000815560010162000170565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001ae57600080fd5b81516001600160401b0380821115620001cb57620001cb62000186565b604051601f8301601f19908116603f01168101908282118183101715620001f657620001f662000186565b816040528381526020925086838588010111156200021357600080fd5b600091505b8382101562000237578582018301518183018401529082019062000218565b83821115620002495760008385830101525b9695505050505050565b6000806000606084860312156200026957600080fd5b83516001600160401b03808211156200028157600080fd5b6200028f878388016200019c565b94506020860151915080821115620002a657600080fd5b50620002b5868287016200019c565b92505060408401518015158114620002cc57600080fd5b809150509250925092565b600181811c90821680620002ec57607f821691505b602082108114156200030e57634e487b7160e01b600052602260045260246000fd5b50919050565b61124680620003246000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c806340c10f19116100cd578063a457c2d711610081578063bf9e540311610066578063bf9e540314610325578063dd62ed3e14610338578063f2fde38b1461037e57600080fd5b8063a457c2d7146102ff578063a9059cbb1461031257600080fd5b8063715018a6116100b2578063715018a6146102d15780638da5cb5b146102d957806395d89b41146102f757600080fd5b806340c10f191461028857806370a082311461029b57600080fd5b80632a8092df11610124578063313ce56711610109578063313ce5671461025657806339509351146102655780633a03171c1461027857600080fd5b80632a8092df1461021c5780632c4d4d181461024157600080fd5b8063095ea7b311610155578063095ea7b3146101d457806318160ddd146101f757806323b872dd1461020957600080fd5b806306fdde0314610171578063075461721461018f575b600080fd5b610179610391565b6040516101869190611004565b60405180910390f35b6006546101af9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610186565b6101e76101e23660046110a0565b610423565b6040519015158152602001610186565b6003545b604051908152602001610186565b6101e76102173660046110ca565b610439565b6006546101e79074010000000000000000000000000000000000000000900460ff1681565b61025461024f366004611106565b61050a565b005b60405160098152602001610186565b6101e76102733660046110a0565b61061b565b6101fb68056bc75e2d6310000081565b6101e76102963660046110a0565b610664565b6101fb6102a9366004611106565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b6102546107a8565b60005473ffffffffffffffffffffffffffffffffffffffff166101af565b61017961081b565b6101e761030d3660046110a0565b61082a565b6101e76103203660046110a0565b6108e8565b610254610333366004611128565b6108f5565b6101fb61034636600461114a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b61025461038c366004611106565b6109a6565b6060600480546103a09061117d565b80601f01602080910402602001604051908101604052809291908181526020018280546103cc9061117d565b80156104195780601f106103ee57610100808354040283529160200191610419565b820191906000526020600020905b8154815290600101906020018083116103fc57829003601f168201915b5050505050905090565b6000610430338484610aa2565b50600192915050565b6000610446848484610c21565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600260209081526040808320338452909152902054828110156104f25760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104ff8533858403610aa2565b506001949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146105715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e9565b73ffffffffffffffffffffffffffffffffffffffff81166105d45760405162461bcd60e51b815260206004820152601460248201527f5a65726f204d696e74696e67206164647265737300000000000000000000000060448201526064016104e9565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b33600081815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161043091859061065f9086906111d1565b610aa2565b60065460009073ffffffffffffffffffffffffffffffffffffffff1633146106ce5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420746865206d696e74657200000000000000000000000000000000000060448201526064016104e9565b60065474010000000000000000000000000000000000000000900460ff166107385760405162461bcd60e51b815260206004820152601360248201527f4d696e74696e672069732064697361626c65640000000000000000000000000060448201526064016104e9565b68056bc75e2d631000008260035461075091906111d1565b111561079e5760405162461bcd60e51b815260206004820152601260248201527f486172642063617020657863656564656421000000000000000000000000000060448201526064016104e9565b6104308383610e89565b60005473ffffffffffffffffffffffffffffffffffffffff16331461080f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e9565b6108196000610f8f565b565b6060600580546103a09061117d565b33600090815260026020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156108d15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104e9565b6108de3385858403610aa2565b5060019392505050565b6000610430338484610c21565b60005473ffffffffffffffffffffffffffffffffffffffff16331461095c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e9565b6006805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a0d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e9565b73ffffffffffffffffffffffffffffffffffffffff8116610a965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104e9565b610a9f81610f8f565b50565b73ffffffffffffffffffffffffffffffffffffffff8316610b2a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104e9565b73ffffffffffffffffffffffffffffffffffffffff8216610bb35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104e9565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610caa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104e9565b73ffffffffffffffffffffffffffffffffffffffff8216610d335760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104e9565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604090205481811015610dcf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104e9565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160205260408082208054869003905591851681529081208054849290610e159084906111d1565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e7b91815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610eec5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104e9565b8060036000828254610efe91906111d1565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081208054839290610f389084906111d1565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b8181101561103157858101830151858201604001528201611015565b81811115611043576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461109b57600080fd5b919050565b600080604083850312156110b357600080fd5b6110bc83611077565b946020939093013593505050565b6000806000606084860312156110df57600080fd5b6110e884611077565b92506110f660208501611077565b9150604084013590509250925092565b60006020828403121561111857600080fd5b61112182611077565b9392505050565b60006020828403121561113a57600080fd5b8135801515811461112157600080fd5b6000806040838503121561115d57600080fd5b61116683611077565b915061117460208401611077565b90509250929050565b600181811c9082168061119157607f821691505b602082108114156111cb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b6000821982111561120b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50019056fea26469706673582212209265524bbc361b6179e041cf34194a0d2d8e9eaa11f808c58e6128dc1f7999ac64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4c75636b79426c6f636b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c426c6f636b0000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4c75636b79426c6f636b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c426c6f636b0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): LuckyBlock
Arg [1] : symbol_ (string): LBlock
Arg [2] : isMinting_ (bool): False

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 4c75636b79426c6f636b00000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 4c426c6f636b0000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

5254:9657:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6135:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5547:21;;;;;;;;;;;;851:42:1;839:55;;;821:74;;809:2;794:18;5547:21:0;675:226:1;8653:210:0;;;;;;:::i;:::-;;:::i;:::-;;;1531:14:1;;1524:22;1506:41;;1494:2;1479:18;8653:210:0;1366:187:1;6870:108:0;6958:12;;6870:108;;;1704:25:1;;;1692:2;1677:18;6870:108:0;1558:177:1;9105:529:0;;;;;;:::i;:::-;;:::i;5575:21::-;;;;;;;;;;;;7323:167;;;;;;:::i;:::-;;:::i;:::-;;6705:92;;;6788:1;2406:36:1;;2394:2;2379:18;6705:92:0;2264:184:1;10043:297:0;;;;;;:::i;:::-;;:::i;5603:56::-;;5638:21;5603:56;;13014:263;;;;;;:::i;:::-;;:::i;7822:177::-;;;;;;:::i;:::-;7973:18;;7941:7;7973:18;;;:9;:18;;;;;;;7822:177;4437:103;;;:::i;3786:87::-;3832:7;3859:6;;;3786:87;;6354:104;;;:::i;10843:482::-;;;;;;:::i;:::-;;:::i;8139:216::-;;;;;;:::i;:::-;;:::i;7616:106::-;;;;;;:::i;:::-;;:::i;8363:205::-;;;;;;:::i;:::-;8531:19;;;;8499:7;8531:19;;;:11;:19;;;;;;;;:29;;;;;;;;;;;;;8363:205;4695:201;;;;;;:::i;:::-;;:::i;6135:100::-;6189:13;6222:5;6215:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6135:100;:::o;8653:210::-;8772:4;8794:39;175:10;8817:7;8826:6;8794:8;:39::i;:::-;-1:-1:-1;8851:4:0;8653:210;;;;:::o;9105:529::-;9245:4;9262:36;9272:6;9280:9;9291:6;9262:9;:36::i;:::-;9338:19;;;9311:24;9338:19;;;:11;:19;;;;;;;;175:10;9338:33;;;;;;;;9404:26;;;;9382:116;;;;-1:-1:-1;;;9382:116:0;;3640:2:1;9382:116:0;;;3622:21:1;3679:2;3659:18;;;3652:30;3718:34;3698:18;;;3691:62;3789:10;3769:18;;;3762:38;3817:19;;9382:116:0;;;;;;;;;9534:57;9543:6;175:10;9584:6;9565:16;:25;9534:8;:57::i;:::-;-1:-1:-1;9622:4:0;;9105:529;-1:-1:-1;;;;9105:529:0:o;7323:167::-;3832:7;3859:6;4006:23;3859:6;175:10;4006:23;3998:68;;;;-1:-1:-1;;;3998:68:0;;4049:2:1;3998:68:0;;;4031:21:1;;;4068:18;;;4061:30;4127:34;4107:18;;;4100:62;4179:18;;3998:68:0;3847:356:1;3998:68:0;7403:24:::1;::::0;::::1;7395:57;;;::::0;-1:-1:-1;;;7395:57:0;;4410:2:1;7395:57:0::1;::::0;::::1;4392:21:1::0;4449:2;4429:18;;;4422:30;4488:22;4468:18;;;4461:50;4528:18;;7395:57:0::1;4208:344:1::0;7395:57:0::1;7463:6;:19:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;7323:167::o;10043:297::-;175:10;10158:4;10252:25;;;:11;:25;;;;;;;;;:34;;;;;;;;;;10158:4;;10180:130;;10230:7;;10252:47;;10289:10;;10252:47;:::i;:::-;10180:8;:130::i;13014:263::-;7041:6;;13131:4;;7041:6;;7027:10;:20;7019:47;;;;-1:-1:-1;;;7019:47:0;;5046:2:1;7019:47:0;;;5028:21:1;5085:2;5065:18;;;5058:30;5124:16;5104:18;;;5097:44;5158:18;;7019:47:0;4844:338:1;7019:47:0;7132:9:::1;::::0;;;::::1;;;7124:41;;;::::0;-1:-1:-1;;;7124:41:0;;5389:2:1;7124:41:0::1;::::0;::::1;5371:21:1::0;5428:2;5408:18;;;5401:30;5467:21;5447:18;;;5440:49;5506:18;;7124:41:0::1;5187:343:1::0;7124:41:0::1;5638:21:::2;13176:6;13161:12;;:21;;;;:::i;:::-;:33;;13153:64;;;::::0;-1:-1:-1;;;13153:64:0;;5737:2:1;13153:64:0::2;::::0;::::2;5719:21:1::0;5776:2;5756:18;;;5749:30;5815:20;5795:18;;;5788:48;5853:18;;13153:64:0::2;5535:342:1::0;13153:64:0::2;13228:19;13234:4;13240:6;13228:5;:19::i;4437:103::-:0;3832:7;3859:6;4006:23;3859:6;175:10;4006:23;3998:68;;;;-1:-1:-1;;;3998:68:0;;4049:2:1;3998:68:0;;;4031:21:1;;;4068:18;;;4061:30;4127:34;4107:18;;;4100:62;4179:18;;3998:68:0;3847:356:1;3998:68:0;4502:30:::1;4529:1;4502:18;:30::i;:::-;4437:103::o:0;6354:104::-;6410:13;6443:7;6436:14;;;;;:::i;10843:482::-;175:10;10963:4;11012:25;;;:11;:25;;;;;;;;;:34;;;;;;;;;;11079:35;;;;11057:122;;;;-1:-1:-1;;;11057:122:0;;6084:2:1;11057:122:0;;;6066:21:1;6123:2;6103:18;;;6096:30;6162:34;6142:18;;;6135:62;6233:7;6213:18;;;6206:35;6258:19;;11057:122:0;5882:401:1;11057:122:0;11215:67;175:10;11238:7;11266:15;11247:16;:34;11215:8;:67::i;:::-;-1:-1:-1;11313:4:0;;10843:482;-1:-1:-1;;;10843:482:0:o;8139:216::-;8261:4;8283:42;175:10;8307:9;8318:6;8283:9;:42::i;7616:106::-;3832:7;3859:6;4006:23;3859:6;175:10;4006:23;3998:68;;;;-1:-1:-1;;;3998:68:0;;4049:2:1;3998:68:0;;;4031:21:1;;;4068:18;;;4061:30;4127:34;4107:18;;;4100:62;4179:18;;3998:68:0;3847:356:1;3998:68:0;7692:9:::1;:22:::0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;7616:106::o;4695:201::-;3832:7;3859:6;4006:23;3859:6;175:10;4006:23;3998:68;;;;-1:-1:-1;;;3998:68:0;;4049:2:1;3998:68:0;;;4031:21:1;;;4068:18;;;4061:30;4127:34;4107:18;;;4100:62;4179:18;;3998:68:0;3847:356:1;3998:68:0;4784:22:::1;::::0;::::1;4776:73;;;::::0;-1:-1:-1;;;4776:73:0;;6490:2:1;4776:73:0::1;::::0;::::1;6472:21:1::0;6529:2;6509:18;;;6502:30;6568:34;6548:18;;;6541:62;6639:8;6619:18;;;6612:36;6665:19;;4776:73:0::1;6288:402:1::0;4776:73:0::1;4860:28;4879:8;4860:18;:28::i;:::-;4695:201:::0;:::o;14517:391::-;14656:20;;;14648:69;;;;-1:-1:-1;;;14648:69:0;;6897:2:1;14648:69:0;;;6879:21:1;6936:2;6916:18;;;6909:30;6975:34;6955:18;;;6948:62;7046:6;7026:18;;;7019:34;7070:19;;14648:69:0;6695:400:1;14648:69:0;14736:22;;;14728:69;;;;-1:-1:-1;;;14728:69:0;;7302:2:1;14728:69:0;;;7284:21:1;7341:2;7321:18;;;7314:30;7380:34;7360:18;;;7353:62;7451:4;7431:18;;;7424:32;7473:19;;14728:69:0;7100:398:1;14728:69:0;14810:19;;;;;;;;:11;:19;;;;;;;;:29;;;;;;;;;;;;;:39;;;14865:35;;1704:25:1;;;14865:35:0;;1677:18:1;14865:35:0;;;;;;;14517:391;;;:::o;11815:634::-;11955:20;;;11947:70;;;;-1:-1:-1;;;11947:70:0;;7705:2:1;11947:70:0;;;7687:21:1;7744:2;7724:18;;;7717:30;7783:34;7763:18;;;7756:62;7854:7;7834:18;;;7827:35;7879:19;;11947:70:0;7503:401:1;11947:70:0;12036:23;;;12028:71;;;;-1:-1:-1;;;12028:71:0;;8111:2:1;12028:71:0;;;8093:21:1;8150:2;8130:18;;;8123:30;8189:34;8169:18;;;8162:62;8260:5;8240:18;;;8233:33;8283:19;;12028:71:0;7909:399:1;12028:71:0;12134:17;;;12110:21;12134:17;;;:9;:17;;;;;;12184:23;;;;12162:111;;;;-1:-1:-1;;;12162:111:0;;8515:2:1;12162:111:0;;;8497:21:1;8554:2;8534:18;;;8527:30;8593:34;8573:18;;;8566:62;8664:8;8644:18;;;8637:36;8690:19;;12162:111:0;8313:402:1;12162:111:0;12309:17;;;;;;;;:9;:17;;;;;;:27;;;;;;;12358:20;;;;;;;;:30;;12330:6;;12309:17;12358:30;;12330:6;;12358:30;:::i;:::-;;;;;;;;12423:9;12406:35;;12415:6;12406:35;;;12434:6;12406:35;;;;1704:25:1;;1692:2;1677:18;;1558:177;12406:35:0;;;;;;;;11936:513;11815:634;;;:::o;12730:276::-;12814:21;;;12806:65;;;;-1:-1:-1;;;12806:65:0;;8922:2:1;12806:65:0;;;8904:21:1;8961:2;8941:18;;;8934:30;9000:33;8980:18;;;8973:61;9051:18;;12806:65:0;8720:355:1;12806:65:0;12900:6;12884:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;12917:18:0;;;;;;;:9;:18;;;;;:28;;12939:6;;12917:18;:28;;12939:6;;12917:28;:::i;:::-;;;;-1:-1:-1;;12961:37:0;;1704:25:1;;;12961:37:0;;;;12978:1;;12961:37;;1692:2:1;1677:18;12961:37:0;;;;;;;12730:276;;:::o;5056:191::-;5130:16;5149:6;;;5166:17;;;;;;;;;;5199:40;;5149:6;;;;;;;5199:40;;5130:16;5199:40;5119:128;5056:191;:::o;14:656:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;586:2:1;574:15;591:66;570:88;555:104;;;;661:2;551:113;;14:656;-1:-1:-1;;;14:656:1:o;906:196::-;974:20;;1034:42;1023:54;;1013:65;;1003:93;;1092:1;1089;1082:12;1003:93;906:196;;;:::o;1107:254::-;1175:6;1183;1236:2;1224:9;1215:7;1211:23;1207:32;1204:52;;;1252:1;1249;1242:12;1204:52;1275:29;1294:9;1275:29;:::i;:::-;1265:39;1351:2;1336:18;;;;1323:32;;-1:-1:-1;;;1107:254:1:o;1740:328::-;1817:6;1825;1833;1886:2;1874:9;1865:7;1861:23;1857:32;1854:52;;;1902:1;1899;1892:12;1854:52;1925:29;1944:9;1925:29;:::i;:::-;1915:39;;1973:38;2007:2;1996:9;1992:18;1973:38;:::i;:::-;1963:48;;2058:2;2047:9;2043:18;2030:32;2020:42;;1740:328;;;;;:::o;2073:186::-;2132:6;2185:2;2173:9;2164:7;2160:23;2156:32;2153:52;;;2201:1;2198;2191:12;2153:52;2224:29;2243:9;2224:29;:::i;:::-;2214:39;2073:186;-1:-1:-1;;;2073:186:1:o;2453:273::-;2509:6;2562:2;2550:9;2541:7;2537:23;2533:32;2530:52;;;2578:1;2575;2568:12;2530:52;2617:9;2604:23;2670:5;2663:13;2656:21;2649:5;2646:32;2636:60;;2692:1;2689;2682:12;2731:260;2799:6;2807;2860:2;2848:9;2839:7;2835:23;2831:32;2828:52;;;2876:1;2873;2866:12;2828:52;2899:29;2918:9;2899:29;:::i;:::-;2889:39;;2947:38;2981:2;2970:9;2966:18;2947:38;:::i;:::-;2937:48;;2731:260;;;;;:::o;2996:437::-;3075:1;3071:12;;;;3118;;;3139:61;;3193:4;3185:6;3181:17;3171:27;;3139:61;3246:2;3238:6;3235:14;3215:18;3212:38;3209:218;;;3283:77;3280:1;3273:88;3384:4;3381:1;3374:15;3412:4;3409:1;3402:15;3209:218;;2996:437;;;:::o;4557:282::-;4597:3;4628:1;4624:6;4621:1;4618:13;4615:193;;;4664:77;4661:1;4654:88;4765:4;4762:1;4755:15;4793:4;4790:1;4783:15;4615:193;-1:-1:-1;4824:9:1;;4557:282::o

Swarm Source

ipfs://9265524bbc361b6179e041cf34194a0d2d8e9eaa11f808c58e6128dc1f7999ac

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.