ETH Price: $2,963.95 (+1.12%)
Gas: 1 Gwei

Contract

0x9b110Fda4E20DB18Ad7052f8468a455de7449eb6
 

Overview

ETH Balance

0.00480090337454097 ETH

Eth Value

$14.23 (@ $2,963.95/ETH)

Token Holdings

Transaction Hash
Method
Block
From
To
Value
0x7ab6c6a6c2c8cd2bb18278c74e2a3daad8e46bfae80b773c0e591b5dd914e2d8 Increase Allowan...(pending)2024-06-30 1:53:156 days ago1719712395IN
Calvaria: RIA Token
0 ETH(Pending)(Pending)
Approve202419672024-07-05 18:02:118 hrs ago1720202531IN
Calvaria: RIA Token
0 ETH0.000320596.87834356
Transfer202419162024-07-05 17:51:598 hrs ago1720201919IN
Calvaria: RIA Token
0 ETH0.000393566.79498394
Transfer202418572024-07-05 17:40:118 hrs ago1720201211IN
Calvaria: RIA Token
0 ETH0.0011291718
Transfer202323152024-07-04 9:40:2340 hrs ago1720086023IN
Calvaria: RIA Token
0 ETH0.0004871411.93739701
Approve202321872024-07-04 9:14:4740 hrs ago1720084487IN
Calvaria: RIA Token
0 ETH0.000279311.48215235
Transfer202320982024-07-04 8:56:5941 hrs ago1720083419IN
Calvaria: RIA Token
0 ETH0.0006350311.86812046
Approve202255582024-07-03 11:02:352 days ago1720004555IN
Calvaria: RIA Token
0 ETH0.000378548.13223545
Transfer202241122024-07-03 6:11:592 days ago1719987119IN
Calvaria: RIA Token
0 ETH0.000136422.35584775
Approve202210052024-07-02 19:46:473 days ago1719949607IN
Calvaria: RIA Token
0 ETH0.000118534.01694745
Approve202209772024-07-02 19:41:113 days ago1719949271IN
Calvaria: RIA Token
0 ETH0.000105283.98665155
Approve202188702024-07-02 12:35:593 days ago1719923759IN
Calvaria: RIA Token
0 ETH0.000400688.64791845
Transfer202188642024-07-02 12:34:473 days ago1719923687IN
Calvaria: RIA Token
0 ETH0.000449017.75232373
Transfer202188482024-07-02 12:31:233 days ago1719923483IN
Calvaria: RIA Token
0 ETH0.000401446.64395674
Transfer202184012024-07-02 11:01:233 days ago1719918083IN
Calvaria: RIA Token
0 ETH0.000254496.23281077
Transfer202182032024-07-02 10:21:473 days ago1719915707IN
Calvaria: RIA Token
0 ETH0.000257254.1
Approve202181932024-07-02 10:19:473 days ago1719915587IN
Calvaria: RIA Token
0 ETH0.000204994.40376348
Transfer202148992024-07-01 23:17:234 days ago1719875843IN
Calvaria: RIA Token
0 ETH0.000164872.84660992
Approve202135952024-07-01 18:55:234 days ago1719860123IN
Calvaria: RIA Token
0 ETH0.0002884410.79946743
Approve202135032024-07-01 18:36:594 days ago1719859019IN
Calvaria: RIA Token
0 ETH0.000613913.17145014
Transfer202101722024-07-01 7:27:234 days ago1719818843IN
Calvaria: RIA Token
0 ETH0.000243555.96475364
Transfer202099502024-07-01 6:42:234 days ago1719816143IN
Calvaria: RIA Token
0 ETH0.000188233
Approve202099452024-07-01 6:41:234 days ago1719816083IN
Calvaria: RIA Token
0 ETH0.000148743.19125087
Approve202092822024-07-01 4:28:114 days ago1719808091IN
Calvaria: RIA Token
0 ETH0.000165723.55568258
Approve201996472024-06-29 20:11:596 days ago1719691919IN
Calvaria: RIA Token
0 ETH0.000124512.67137469
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
166900002023-02-23 8:46:11498 days ago1677141971
Calvaria: RIA Token
0.1823052 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RIA

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : RIA.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import "./lib/ERC20Capped.sol";
import "./lib/SafeMath.sol";
import "./lib/Ownable.sol";

contract RIA is ERC20Capped, Ownable {
    using SafeMath for uint;

    bool public antiBotEnabled = true;
    uint public constant maxTxAmount = 10 * (10 ** 18);
    uint private constant coolDownInterval = 60;
    mapping (address => bool) private dexPairs;
    mapping (address => bool) private dexRouters;
    mapping (address => uint) private coolDownTimer;
    mapping (address => bool) private excludedFromLimits;

    event Mint(uint indexed amount);
    event Burn(uint indexed amount);

    constructor() ERC20("Calvaria: Duels of Eternity", "RIA") ERC20Capped(1000000000 * (10 ** 18)) {
        setExcludedFromLimits(owner(), true);
        setExcludedFromLimits(address(this), true);
    }

    receive() external payable {}

    function _transfer(address from, address to, uint amount) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if(
            antiBotEnabled &&
            !excludedFromLimits[to] &&
            !excludedFromLimits[from] &&
            (dexPairs[from] || dexRouters[to])
        ) {
            require(maxTxAmount >= amount, "Anti bot: too big amount");
            address trader;
            if(dexPairs[from]) trader = to;
            else trader = from;
            require(block.timestamp > coolDownTimer[trader], "Anti bot: too many trades for the last minute");
            coolDownTimer[trader] = block.timestamp.add(coolDownInterval);
        }

        super._transfer(from, to, amount);
    }

    function mint(uint amount) external onlyOwner {
        super._mint(owner(), amount);
        emit Mint(amount);
    }

    function burn(uint amount) external onlyOwner {
        super._burn(_msgSender(), amount);
        emit Burn(amount);
    }

    function setAntiBot(bool value) external onlyOwner {
        require(antiBotEnabled != value, "Attempt to set the same value");
        antiBotEnabled = value;
    }

    function setDexPair(address pair, bool value) external onlyOwner {
        require(dexPairs[pair] != value, "Attempt to set the same value");
        dexPairs[pair] = value;
    }

    function setDexRouter(address addr, bool value) public onlyOwner {
        require(dexRouters[addr] != value, "Attempt to set the same value");
        dexRouters[addr] = value;
    }

    function setExcludedFromLimits(address account, bool value) public onlyOwner {
        require(excludedFromLimits[account] != value, "Attempt to set the same value");
        excludedFromLimits[account] = value;
    }

    function withdrawTokens(address token, uint amount) external onlyOwner {
        require(token != address(0), "Cannot be zero address");
        require(token != address(this), "Cannot be RIA address");
        IERC20(token).transfer(owner(), amount);
    }

    function withdrawEthers() external onlyOwner {
        (bool success,) = owner().call{value: address(this).balance}("");
        require(success, "Failed to withdraw");
    }
}

File 2 of 8 : ERC20Capped.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Capped.sol)

pragma solidity ^0.8.0;

import "./ERC20.sol";

/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 private immutable _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor(uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
}

File 3 of 8 : Ownable.sol
pragma solidity ^0.8.6;

// SPDX-License-Identifier: MIT License

import "./Context.sol";

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 4 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.6;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 5 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./IERC20Metadata.sol";
import "./Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
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;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `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;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - 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) {
        uint256 currentAllowance = _allowances[sender][_msgSender()];
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
            unchecked {
                _approve(sender, _msgSender(), currentAllowance - amount);
            }
        }

        _transfer(sender, recipient, 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 `amount` of tokens from `sender` to `recipient`.
     *
     * This 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");

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

    /** @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:
     *
     * - `account` cannot be the zero address.
     */
    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);
    }

    /**
     * @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");

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This 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);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 6 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.6;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
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);
}

File 7 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.6;

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 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

/*
 * @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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","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":[],"name":"antiBotEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"bool","name":"value","type":"bool"}],"name":"setAntiBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setDexPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setDexRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setExcludedFromLimits","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":[],"name":"withdrawEthers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040526005805460ff60a01b1916600160a01b1790553480156200002457600080fd5b506b033b2e3c9fd0803ce80000006040518060400160405280601b81526020017f43616c76617269613a204475656c73206f6620457465726e69747900000000008152506040518060400160405280600381526020016252494160e81b815250816003908162000095919062000313565b506004620000a4828262000313565b50505060008111620000fd5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a206361702069732030000000000000000000000060448201526064015b60405180910390fd5b608052600580546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001626200015a6005546001600160a01b031690565b600162000175565b6200016f30600162000175565b620003df565b6005546001600160a01b03163314620001d15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620000f4565b6001600160a01b03821660009081526009602052604090205481151560ff909116151503620002435760405162461bcd60e51b815260206004820152601d60248201527f417474656d707420746f20736574207468652073616d652076616c75650000006044820152606401620000f4565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029957607f821691505b602082108103620002ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030e57600081815260208120601f850160051c81016020861015620002e95750805b601f850160051c820191505b818110156200030a57828155600101620002f5565b5050505b505050565b81516001600160401b038111156200032f576200032f6200026e565b620003478162000340845462000284565b84620002c0565b602080601f8311600181146200037f5760008415620003665750858301515b600019600386901b1c1916600185901b1785556200030a565b600085815260208120601f198616915b82811015620003b0578886015182559484019460019091019084016200038f565b5085821015620003cf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051611897620004026000396000818161027d015261126b01526118976000f3fe60806040526004361061016a5760003560e01c806370a08231116100d1578063a457c2d71161008a578063d8c6404b11610064578063d8c6404b1461043a578063dd62ed3e1461045b578063e55648f4146104a1578063f2fde38b146104c157600080fd5b8063a457c2d7146103da578063a9059cbb146103fa578063c2c7c03a1461041a57600080fd5b806370a0823114610316578063715018a61461034c5780638c0b5e22146103615780638da5cb5b1461037d57806395d89b41146103a5578063a0712d68146103ba57600080fd5b8063313ce56711610123578063313ce56714610252578063355274ea1461026e57806336fddb04146102a157806339509351146102c157806342966c68146102e1578063687e6f441461030157600080fd5b806306b091f91461017657806306fdde0314610198578063095ea7b3146101c3578063113f2e9d146101f357806318160ddd1461021357806323b872dd1461023257600080fd5b3661017157005b600080fd5b34801561018257600080fd5b5061019661019136600461155d565b6104e1565b005b3480156101a457600080fd5b506101ad61064a565b6040516101ba9190611587565b60405180910390f35b3480156101cf57600080fd5b506101e36101de36600461155d565b6106dc565b60405190151581526020016101ba565b3480156101ff57600080fd5b5061019661020e3660046115e3565b6106f3565b34801561021f57600080fd5b506002545b6040519081526020016101ba565b34801561023e57600080fd5b506101e361024d36600461161a565b610788565b34801561025e57600080fd5b50604051601281526020016101ba565b34801561027a57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610224565b3480156102ad57600080fd5b506101966102bc3660046115e3565b610839565b3480156102cd57600080fd5b506101e36102dc36600461155d565b6108ce565b3480156102ed57600080fd5b506101966102fc366004611656565b61090a565b34801561030d57600080fd5b5061019661096c565b34801561032257600080fd5b5061022461033136600461166f565b6001600160a01b031660009081526020819052604090205490565b34801561035857600080fd5b50610196610a42565b34801561036d57600080fd5b50610224678ac7230489e8000081565b34801561038957600080fd5b506005546040516001600160a01b0390911681526020016101ba565b3480156103b157600080fd5b506101ad610ab6565b3480156103c657600080fd5b506101966103d5366004611656565b610ac5565b3480156103e657600080fd5b506101e36103f536600461155d565b610b38565b34801561040657600080fd5b506101e361041536600461155d565b610bd1565b34801561042657600080fd5b5061019661043536600461168a565b610bde565b34801561044657600080fd5b506005546101e390600160a01b900460ff1681565b34801561046757600080fd5b506102246104763660046116a7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104ad57600080fd5b506101966104bc3660046115e3565b610c58565b3480156104cd57600080fd5b506101966104dc36600461166f565b610ced565b6005546001600160a01b031633146105145760405162461bcd60e51b815260040161050b906116da565b60405180910390fd5b6001600160a01b0382166105635760405162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015260640161050b565b306001600160a01b038316036105b35760405162461bcd60e51b815260206004820152601560248201527443616e6e6f7420626520524941206164647265737360581b604482015260640161050b565b816001600160a01b031663a9059cbb6105d46005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610621573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061170f565b505050565b6060600380546106599061172c565b80601f01602080910402602001604051908101604052809291908181526020018280546106859061172c565b80156106d25780601f106106a7576101008083540402835291602001916106d2565b820191906000526020600020905b8154815290600101906020018083116106b557829003601f168201915b5050505050905090565b60006106e9338484610dd8565b5060015b92915050565b6005546001600160a01b0316331461071d5760405162461bcd60e51b815260040161050b906116da565b6001600160a01b03821660009081526007602052604090205481151560ff90911615150361075d5760405162461bcd60e51b815260040161050b90611766565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b0383166000908152600160209081526040808320338452909152812054600019811461082357828110156108165760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161050b565b6108238533858403610dd8565b61082e858585610efc565b506001949350505050565b6005546001600160a01b031633146108635760405162461bcd60e51b815260040161050b906116da565b6001600160a01b03821660009081526009602052604090205481151560ff9091161515036108a35760405162461bcd60e51b815260040161050b90611766565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106e99185906109059086906117b3565b610dd8565b6005546001600160a01b031633146109345760405162461bcd60e51b815260040161050b906116da565b61093e338261111b565b60405181907fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb90600090a250565b6005546001600160a01b031633146109965760405162461bcd60e51b815260040161050b906116da565b60006109aa6005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146109f4576040519150601f19603f3d011682016040523d82523d6000602084013e6109f9565b606091505b5050905080610a3f5760405162461bcd60e51b81526020600482015260126024820152714661696c656420746f20776974686472617760701b604482015260640161050b565b50565b6005546001600160a01b03163314610a6c5760405162461bcd60e51b815260040161050b906116da565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6060600480546106599061172c565b6005546001600160a01b03163314610aef5760405162461bcd60e51b815260040161050b906116da565b610b0a610b046005546001600160a01b031690565b82611269565b60405181907f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466590600090a250565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bba5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161050b565b610bc73385858403610dd8565b5060019392505050565b60006106e9338484610efc565b6005546001600160a01b03163314610c085760405162461bcd60e51b815260040161050b906116da565b801515600560149054906101000a900460ff16151503610c3a5760405162461bcd60e51b815260040161050b90611766565b60058054911515600160a01b0260ff60a01b19909216919091179055565b6005546001600160a01b03163314610c825760405162461bcd60e51b815260040161050b906116da565b6001600160a01b03821660009081526006602052604090205481151560ff909116151503610cc25760405162461bcd60e51b815260040161050b90611766565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d175760405162461bcd60e51b815260040161050b906116da565b6001600160a01b038116610d7c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161050b565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610e3a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161050b565b6001600160a01b038216610e9b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161050b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610f225760405162461bcd60e51b815260040161050b906117c6565b6001600160a01b038216610f485760405162461bcd60e51b815260040161050b9061180b565b600554600160a01b900460ff168015610f7a57506001600160a01b03821660009081526009602052604090205460ff16155b8015610f9f57506001600160a01b03831660009081526009602052604090205460ff16155b8015610fe557506001600160a01b03831660009081526006602052604090205460ff1680610fe557506001600160a01b03821660009081526007602052604090205460ff165b156111105780678ac7230489e8000010156110425760405162461bcd60e51b815260206004820152601860248201527f416e746920626f743a20746f6f2062696720616d6f756e740000000000000000604482015260640161050b565b6001600160a01b03831660009081526006602052604081205460ff161561106a57508161106d565b50825b6001600160a01b03811660009081526008602052604090205442116110ea5760405162461bcd60e51b815260206004820152602d60248201527f416e746920626f743a20746f6f206d616e792074726164657320666f7220746860448201526c65206c617374206d696e75746560981b606482015260840161050b565b6110f542603c6112fa565b6001600160a01b039091166000908152600860205260409020555b61064583838361130d565b6001600160a01b03821661117b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161050b565b6001600160a01b038216600090815260208190526040902054818110156111ef5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161050b565b6001600160a01b038316600090815260208190526040812083830390556002805484929061121e90849061184e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b7f00000000000000000000000000000000000000000000000000000000000000008161129460025490565b61129e91906117b3565b11156112ec5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015260640161050b565b6112f68282611462565b5050565b600061130682846117b3565b9392505050565b6001600160a01b0383166113335760405162461bcd60e51b815260040161050b906117c6565b6001600160a01b0382166113595760405162461bcd60e51b815260040161050b9061180b565b6001600160a01b038316600090815260208190526040902054818110156113d15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161050b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906114089084906117b3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161145491815260200190565b60405180910390a350505050565b6001600160a01b0382166114b85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161050b565b80600260008282546114ca91906117b3565b90915550506001600160a01b038216600090815260208190526040812080548392906114f79084906117b3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461155857600080fd5b919050565b6000806040838503121561157057600080fd5b61157983611541565b946020939093013593505050565b600060208083528351808285015260005b818110156115b457858101830151858201604001528201611598565b506000604082860101526040601f19601f8301168501019250505092915050565b8015158114610a3f57600080fd5b600080604083850312156115f657600080fd5b6115ff83611541565b9150602083013561160f816115d5565b809150509250929050565b60008060006060848603121561162f57600080fd5b61163884611541565b925061164660208501611541565b9150604084013590509250925092565b60006020828403121561166857600080fd5b5035919050565b60006020828403121561168157600080fd5b61130682611541565b60006020828403121561169c57600080fd5b8135611306816115d5565b600080604083850312156116ba57600080fd5b6116c383611541565b91506116d160208401611541565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561172157600080fd5b8151611306816115d5565b600181811c9082168061174057607f821691505b60208210810361176057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601d908201527f417474656d707420746f20736574207468652073616d652076616c7565000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156106ed576106ed61179d565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156106ed576106ed61179d56fea2646970667358221220684d3fbe2a5089e9b8bf715ff7d983c619d1dc51a7dccc74421443ce459ae1c464736f6c63430008110033

Deployed Bytecode

0x60806040526004361061016a5760003560e01c806370a08231116100d1578063a457c2d71161008a578063d8c6404b11610064578063d8c6404b1461043a578063dd62ed3e1461045b578063e55648f4146104a1578063f2fde38b146104c157600080fd5b8063a457c2d7146103da578063a9059cbb146103fa578063c2c7c03a1461041a57600080fd5b806370a0823114610316578063715018a61461034c5780638c0b5e22146103615780638da5cb5b1461037d57806395d89b41146103a5578063a0712d68146103ba57600080fd5b8063313ce56711610123578063313ce56714610252578063355274ea1461026e57806336fddb04146102a157806339509351146102c157806342966c68146102e1578063687e6f441461030157600080fd5b806306b091f91461017657806306fdde0314610198578063095ea7b3146101c3578063113f2e9d146101f357806318160ddd1461021357806323b872dd1461023257600080fd5b3661017157005b600080fd5b34801561018257600080fd5b5061019661019136600461155d565b6104e1565b005b3480156101a457600080fd5b506101ad61064a565b6040516101ba9190611587565b60405180910390f35b3480156101cf57600080fd5b506101e36101de36600461155d565b6106dc565b60405190151581526020016101ba565b3480156101ff57600080fd5b5061019661020e3660046115e3565b6106f3565b34801561021f57600080fd5b506002545b6040519081526020016101ba565b34801561023e57600080fd5b506101e361024d36600461161a565b610788565b34801561025e57600080fd5b50604051601281526020016101ba565b34801561027a57600080fd5b507f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000610224565b3480156102ad57600080fd5b506101966102bc3660046115e3565b610839565b3480156102cd57600080fd5b506101e36102dc36600461155d565b6108ce565b3480156102ed57600080fd5b506101966102fc366004611656565b61090a565b34801561030d57600080fd5b5061019661096c565b34801561032257600080fd5b5061022461033136600461166f565b6001600160a01b031660009081526020819052604090205490565b34801561035857600080fd5b50610196610a42565b34801561036d57600080fd5b50610224678ac7230489e8000081565b34801561038957600080fd5b506005546040516001600160a01b0390911681526020016101ba565b3480156103b157600080fd5b506101ad610ab6565b3480156103c657600080fd5b506101966103d5366004611656565b610ac5565b3480156103e657600080fd5b506101e36103f536600461155d565b610b38565b34801561040657600080fd5b506101e361041536600461155d565b610bd1565b34801561042657600080fd5b5061019661043536600461168a565b610bde565b34801561044657600080fd5b506005546101e390600160a01b900460ff1681565b34801561046757600080fd5b506102246104763660046116a7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104ad57600080fd5b506101966104bc3660046115e3565b610c58565b3480156104cd57600080fd5b506101966104dc36600461166f565b610ced565b6005546001600160a01b031633146105145760405162461bcd60e51b815260040161050b906116da565b60405180910390fd5b6001600160a01b0382166105635760405162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015260640161050b565b306001600160a01b038316036105b35760405162461bcd60e51b815260206004820152601560248201527443616e6e6f7420626520524941206164647265737360581b604482015260640161050b565b816001600160a01b031663a9059cbb6105d46005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610621573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610645919061170f565b505050565b6060600380546106599061172c565b80601f01602080910402602001604051908101604052809291908181526020018280546106859061172c565b80156106d25780601f106106a7576101008083540402835291602001916106d2565b820191906000526020600020905b8154815290600101906020018083116106b557829003601f168201915b5050505050905090565b60006106e9338484610dd8565b5060015b92915050565b6005546001600160a01b0316331461071d5760405162461bcd60e51b815260040161050b906116da565b6001600160a01b03821660009081526007602052604090205481151560ff90911615150361075d5760405162461bcd60e51b815260040161050b90611766565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b0383166000908152600160209081526040808320338452909152812054600019811461082357828110156108165760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161050b565b6108238533858403610dd8565b61082e858585610efc565b506001949350505050565b6005546001600160a01b031633146108635760405162461bcd60e51b815260040161050b906116da565b6001600160a01b03821660009081526009602052604090205481151560ff9091161515036108a35760405162461bcd60e51b815260040161050b90611766565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106e99185906109059086906117b3565b610dd8565b6005546001600160a01b031633146109345760405162461bcd60e51b815260040161050b906116da565b61093e338261111b565b60405181907fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb90600090a250565b6005546001600160a01b031633146109965760405162461bcd60e51b815260040161050b906116da565b60006109aa6005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146109f4576040519150601f19603f3d011682016040523d82523d6000602084013e6109f9565b606091505b5050905080610a3f5760405162461bcd60e51b81526020600482015260126024820152714661696c656420746f20776974686472617760701b604482015260640161050b565b50565b6005546001600160a01b03163314610a6c5760405162461bcd60e51b815260040161050b906116da565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6060600480546106599061172c565b6005546001600160a01b03163314610aef5760405162461bcd60e51b815260040161050b906116da565b610b0a610b046005546001600160a01b031690565b82611269565b60405181907f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466590600090a250565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bba5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161050b565b610bc73385858403610dd8565b5060019392505050565b60006106e9338484610efc565b6005546001600160a01b03163314610c085760405162461bcd60e51b815260040161050b906116da565b801515600560149054906101000a900460ff16151503610c3a5760405162461bcd60e51b815260040161050b90611766565b60058054911515600160a01b0260ff60a01b19909216919091179055565b6005546001600160a01b03163314610c825760405162461bcd60e51b815260040161050b906116da565b6001600160a01b03821660009081526006602052604090205481151560ff909116151503610cc25760405162461bcd60e51b815260040161050b90611766565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d175760405162461bcd60e51b815260040161050b906116da565b6001600160a01b038116610d7c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161050b565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610e3a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161050b565b6001600160a01b038216610e9b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161050b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610f225760405162461bcd60e51b815260040161050b906117c6565b6001600160a01b038216610f485760405162461bcd60e51b815260040161050b9061180b565b600554600160a01b900460ff168015610f7a57506001600160a01b03821660009081526009602052604090205460ff16155b8015610f9f57506001600160a01b03831660009081526009602052604090205460ff16155b8015610fe557506001600160a01b03831660009081526006602052604090205460ff1680610fe557506001600160a01b03821660009081526007602052604090205460ff165b156111105780678ac7230489e8000010156110425760405162461bcd60e51b815260206004820152601860248201527f416e746920626f743a20746f6f2062696720616d6f756e740000000000000000604482015260640161050b565b6001600160a01b03831660009081526006602052604081205460ff161561106a57508161106d565b50825b6001600160a01b03811660009081526008602052604090205442116110ea5760405162461bcd60e51b815260206004820152602d60248201527f416e746920626f743a20746f6f206d616e792074726164657320666f7220746860448201526c65206c617374206d696e75746560981b606482015260840161050b565b6110f542603c6112fa565b6001600160a01b039091166000908152600860205260409020555b61064583838361130d565b6001600160a01b03821661117b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161050b565b6001600160a01b038216600090815260208190526040902054818110156111ef5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161050b565b6001600160a01b038316600090815260208190526040812083830390556002805484929061121e90849061184e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000008161129460025490565b61129e91906117b3565b11156112ec5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015260640161050b565b6112f68282611462565b5050565b600061130682846117b3565b9392505050565b6001600160a01b0383166113335760405162461bcd60e51b815260040161050b906117c6565b6001600160a01b0382166113595760405162461bcd60e51b815260040161050b9061180b565b6001600160a01b038316600090815260208190526040902054818110156113d15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161050b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906114089084906117b3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161145491815260200190565b60405180910390a350505050565b6001600160a01b0382166114b85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161050b565b80600260008282546114ca91906117b3565b90915550506001600160a01b038216600090815260208190526040812080548392906114f79084906117b3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461155857600080fd5b919050565b6000806040838503121561157057600080fd5b61157983611541565b946020939093013593505050565b600060208083528351808285015260005b818110156115b457858101830151858201604001528201611598565b506000604082860101526040601f19601f8301168501019250505092915050565b8015158114610a3f57600080fd5b600080604083850312156115f657600080fd5b6115ff83611541565b9150602083013561160f816115d5565b809150509250929050565b60008060006060848603121561162f57600080fd5b61163884611541565b925061164660208501611541565b9150604084013590509250925092565b60006020828403121561166857600080fd5b5035919050565b60006020828403121561168157600080fd5b61130682611541565b60006020828403121561169c57600080fd5b8135611306816115d5565b600080604083850312156116ba57600080fd5b6116c383611541565b91506116d160208401611541565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561172157600080fd5b8151611306816115d5565b600181811c9082168061174057607f821691505b60208210810361176057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601d908201527f417474656d707420746f20736574207468652073616d652076616c7565000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156106ed576106ed61179d565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156106ed576106ed61179d56fea2646970667358221220684d3fbe2a5089e9b8bf715ff7d983c619d1dc51a7dccc74421443ce459ae1c464736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

The P2E battle card game set beyond the veil of death. Duel, earn and upgrade your cards to become the ultimate force on the battlefield.

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.