ETH Price: $3,259.63 (+0.32%)
Gas: 2 Gwei

Token

Trash (TRASH)
 

Overview

Max Total Supply

2,913,943.395486111111110707 TRASH

Holders

338 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
239,755.765972222222222206 TRASH

Value
$0.00
0xeaf8cf26b813c421c000f76f14a80fd9976c4aa2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

TRASH is an ERC-20 Token, and it will play a part in connecting Bad Face Bots with each other through the technological capabilities of blockchain. TRASH is not only the fuel for exploring the BFBS universe, it will also betoken that drives the BFBS ecosystem.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Trash

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : Trash.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';

interface BadFaceBots {
	function botsBalance(address _user) external view returns(uint256);
}

contract Trash is ERC20("Trash", "TRASH"), ReentrancyGuard, AccessControl {
using SafeMath for uint256;

	bytes32 public constant EARNER_ROLE = keccak256("EARNER_ROLE");
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");

	uint256 constant public BASE_RATE = 10 ether;
	// March 14, 2032 23:59:59 GMT+0000
	uint256 public END = 1962921599;
	uint256 public START = 1647302400;

	mapping(address => uint256) public rewards;
	mapping(address => uint256) public lastUpdate;

	BadFaceBots public botsContract;

	event RewardReceived(address indexed user, uint256 reward);
	event EarnReward(address indexed user, uint256 amount);
	event Burned(address indexed user, uint256 amount);
	modifier onlyAdmin() {
		require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender),"Restricted to admins");
		_;
	}

	constructor(address tokenAddress) {
		botsContract = BadFaceBots(tokenAddress);
		_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
		_setupRole(EARNER_ROLE, msg.sender);
        _setupRole(ADMIN_ROLE, msg.sender);

		_setRoleAdmin(EARNER_ROLE, DEFAULT_ADMIN_ROLE);
        _setRoleAdmin(ADMIN_ROLE, DEFAULT_ADMIN_ROLE);
	}

	function min(uint256 a, uint256 b) internal pure returns (uint256) {
		return a < b ? a : b;
	}

	// called on transfers
	function transferTokens(address _from, address _to) external {
		require(msg.sender == address(botsContract));
			uint256 time = min(block.timestamp, END);
			uint256 timerFrom = lastUpdate[_from];
			if(timerFrom <= 0){
				timerFrom = START;
			}
			if (timerFrom > 0)
				rewards[_from] += botsContract.botsBalance(_from).mul(BASE_RATE.mul((time.sub(timerFrom)))).div(86400);
			if (timerFrom != END)
				lastUpdate[_from] = time;
			if (_to != address(0)) {
				uint256 timerTo = lastUpdate[_to];
                if(timerTo <= 0){
                    timerTo = START;
                }
				if (timerTo > 0)
					rewards[_to] += botsContract.botsBalance(_to).mul(BASE_RATE.mul((time.sub(timerTo)))).div(86400);
				if (timerTo != END)
					lastUpdate[_to] = time;
			}
	}

	// called on transfers
	function updateReward(address _from) internal {
		require(msg.sender == _from);
		uint256 time = min(block.timestamp, END);
		uint256 timerFrom = lastUpdate[_from];
		if(timerFrom <= 0){
			timerFrom = START;
		}
		if (timerFrom > 0)
			rewards[_from] += botsContract.botsBalance(_from).mul(BASE_RATE.mul((time.sub(timerFrom)))).div(86400);
		if (timerFrom != END)
			lastUpdate[_from] = time;
	}

	function getReward(address _user) external nonReentrant {
		require(msg.sender == _user);
		updateReward(_user);
		uint256 reward = rewards[_user];
		if (reward > 0) {
			rewards[_user] = 0;
			_mint(_user, reward);
			emit RewardReceived(_user, reward);
		}
	}

	function earnReward(address _user, uint256 _amount) external {
		require(hasRole(EARNER_ROLE, msg.sender), "Caller is not a earner");
		rewards[_user] += _amount;
		emit EarnReward(_user, _amount);
	}

	function burn(address _user, uint256 _amount) external {
		require(msg.sender == _user);
		_burn(_user, _amount);
		emit Burned(_user, _amount);
	}

	function getTotalClaimable(address _user) external view returns(uint256) {
		uint256 time = min(block.timestamp, END);
		uint256 timerFrom = lastUpdate[_user];
		if(timerFrom <= 0){
			timerFrom = START;
		}
		uint256 pending = botsContract.botsBalance(_user).mul(BASE_RATE.mul((time.sub(timerFrom)))).div(86400);
		return rewards[_user] + pending;
	}

	//emergency usage
    function reserve(uint256 amount) public onlyAdmin {
        _mint(msg.sender, amount);
    }

    function setEndTime(uint256 time) public onlyAdmin {
        END = time;
    }
}

File 2 of 12 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 4 of 12 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// 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 no longer needed starting with Solidity 0.8. 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 substraction 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 12 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/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}.
     *
     * 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}.
     *
     * 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) {
        _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 `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 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 7 of 12 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 8 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 9 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 11 of 12 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EarnReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EARNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START","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":[],"name":"botsContract","outputs":[{"internalType":"contract BadFaceBots","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","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":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"earnReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getTotalClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"setEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"transferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526374ffce7f60075563622fd7006008553480156200002157600080fd5b5060405162001e4f38038062001e4f8339810160408190526200004491620002f8565b604051806040016040528060058152602001640a8e4c2e6d60db1b815250604051806040016040528060058152602001640a8a482a6960db1b81525081600390805190602001906200009892919062000252565b508051620000ae90600490602084019062000252565b5050600160055550600b80546001600160a01b0319166001600160a01b038316179055620000de60003362000153565b620000f960008051602062001e0f8339815191523362000153565b6200011460008051602062001e2f8339815191523362000153565b6200013060008051602062001e0f833981519152600062000163565b6200014c60008051602062001e2f833981519152600062000163565b5062000367565b6200015f8282620001ae565b5050565b600082815260066020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff166200015f5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200020e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b82805462000260906200032a565b90600052602060002090601f016020900481019282620002845760008555620002cf565b82601f106200029f57805160ff1916838001178555620002cf565b82800160010185558215620002cf579182015b82811115620002cf578251825591602001919060010190620002b2565b50620002dd929150620002e1565b5090565b5b80821115620002dd5760008155600101620002e2565b6000602082840312156200030b57600080fd5b81516001600160a01b03811681146200032357600080fd5b9392505050565b600181811c908216806200033f57607f821691505b602082108114156200036157634e487b7160e01b600052602260045260246000fd5b50919050565b611a9880620003776000396000f3fe608060405234801561001057600080fd5b50600436106101fa5760003560e01c806375b238fc1161011a578063a9059cbb116100ad578063cb03fb1e1161007c578063cb03fb1e1461047a578063ccb98ffc1461049a578063d547741f146104ad578063dd62ed3e146104c0578063efe7a504146104f957600080fd5b8063a9059cbb14610420578063ba9a061a14610433578063c00007b01461043c578063c56aaa181461044f57600080fd5b8063993e6339116100e9578063993e6339146103cb5780639dc29fac146103f2578063a217fddf14610405578063a457c2d71461040d57600080fd5b806375b238fc14610376578063819b25ba1461039d57806391d14854146103b057806395d89b41146103c357600080fd5b8063267e8ab6116101925780633950935111610161578063395093511461031857806341910f901461032b5780636a092e791461033a57806370a082311461034d57600080fd5b8063267e8ab6146102d05780632f2ff15d146102e3578063313ce567146102f657806336568abe1461030557600080fd5b8063095ea7b3116101ce578063095ea7b31461027f57806318160ddd1461029257806323b872dd1461029a578063248a9ca3146102ad57600080fd5b80628c04a4146101ff57806301ffc9a71461021457806306fdde031461023c5780630700037d14610251575b600080fd5b61021261020d366004611757565b610502565b005b610227610222366004611781565b6105e6565b60405190151581526020015b60405180910390f35b61024461061d565b60405161023391906117d7565b61027161025f36600461180a565b60096020526000908152604090205481565b604051908152602001610233565b61022761028d366004611757565b6106af565b600254610271565b6102276102a8366004611825565b6106c5565b6102716102bb366004611861565b60009081526006602052604090206001015490565b6102716102de36600461180a565b61076f565b6102126102f136600461187a565b610877565b60405160128152602001610233565b61021261031336600461187a565b6108a2565b610227610326366004611757565b610920565b610271678ac7230489e8000081565b6102126103483660046118a6565b61095c565b61027161035b36600461180a565b6001600160a01b031660009081526020819052604090205490565b6102717fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6102126103ab366004611861565b610af3565b6102276103be36600461187a565b610b4e565b610244610b79565b6102717faf5cd33eb1dcf39cc29f1cbee3b3dc4dd5921cf8f497f81b237cdb211029a25881565b610212610400366004611757565b610b88565b610271600081565b61022761041b366004611757565b610be2565b61022761042e366004611757565b610c7b565b61027160085481565b61021261044a36600461180a565b610c88565b600b54610462906001600160a01b031681565b6040516001600160a01b039091168152602001610233565b61027161048836600461180a565b600a6020526000908152604090205481565b6102126104a8366004611861565b610d8d565b6102126104bb36600461187a565b610de0565b6102716104ce3660046118a6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61027160075481565b61052c7faf5cd33eb1dcf39cc29f1cbee3b3dc4dd5921cf8f497f81b237cdb211029a25833610b4e565b6105765760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba10309032b0b93732b960511b60448201526064015b60405180910390fd5b6001600160a01b0382166000908152600960205260408120805483929061059e9084906118e6565b90915550506040518181526001600160a01b038316907f9aeb2a660eaa716d527ebea5677cfc94e800bff77541b525e9750a38660e83a1906020015b60405180910390a25050565b60006001600160e01b03198216637965db0b60e01b148061061757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461062c906118fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610658906118fe565b80156106a55780601f1061067a576101008083540402835291602001916106a5565b820191906000526020600020905b81548152906001019060200180831161068857829003601f168201915b5050505050905090565b60006106bc338484610e06565b50600192915050565b60006106d2848484610f2a565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107575760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161056d565b6107648533858403610e06565b506001949350505050565b60008061077e426007546110f8565b6001600160a01b0384166000908152600a6020526040902054909150806107a457506008545b6000610847620151806108416107cc6107bd8787611110565b678ac7230489e800009061111c565b600b54604051632ca65e2f60e21b81526001600160a01b038b811660048301529091169063b29978bc906024015b602060405180830381865afa158015610817573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083b9190611939565b9061111c565b90611128565b6001600160a01b03861660009081526009602052604090205490915061086e9082906118e6565b95945050505050565b6000828152600660205260409020600101546108938133611134565b61089d8383611198565b505050565b6001600160a01b03811633146109125760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161056d565b61091c828261121e565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106bc9185906109579086906118e6565b610e06565b600b546001600160a01b0316331461097357600080fd5b6000610981426007546110f8565b6001600160a01b0384166000908152600a6020526040902054909150806109a757506008545b8015610a24576109f6620151806108416109c46107bd8686611110565b600b54604051632ca65e2f60e21b81526001600160a01b038a811660048301529091169063b29978bc906024016107fa565b6001600160a01b03851660009081526009602052604081208054909190610a1e9084906118e6565b90915550505b6007548114610a49576001600160a01b0384166000908152600a602052604090208290555b6001600160a01b03831615610aed576001600160a01b0383166000908152600a602052604090205480610a7b57506008545b8015610ac657610a98620151806108416109c46107bd8786611110565b6001600160a01b03851660009081526009602052604081208054909190610ac09084906118e6565b90915550505b6007548114610aeb576001600160a01b0384166000908152600a602052604090208390555b505b50505050565b610afe600033610b4e565b610b415760405162461bcd60e51b81526020600482015260146024820152735265737472696374656420746f2061646d696e7360601b604482015260640161056d565b610b4b3382611285565b50565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461062c906118fe565b336001600160a01b03831614610b9d57600080fd5b610ba78282611364565b816001600160a01b03167f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7826040516105da91815260200190565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610c645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161056d565b610c713385858403610e06565b5060019392505050565b60006106bc338484610f2a565b60026005541415610cdb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161056d565b6002600555336001600160a01b03821614610cf557600080fd5b610cfe816114b2565b6001600160a01b0381166000908152600960205260409020548015610d84576001600160a01b038216600090815260096020526040812055610d408282611285565b816001600160a01b03167f9ac954606f877c9c9e6deec30e9265abff5a57c7123a34777ca9321eb6c26d8e82604051610d7b91815260200190565b60405180910390a25b50506001600555565b610d98600033610b4e565b610ddb5760405162461bcd60e51b81526020600482015260146024820152735265737472696374656420746f2061646d696e7360601b604482015260640161056d565b600755565b600082815260066020526040902060010154610dfc8133611134565b61089d838361121e565b6001600160a01b038316610e685760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161056d565b6001600160a01b038216610ec95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161056d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610f8e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161056d565b6001600160a01b038216610ff05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161056d565b6001600160a01b038316600090815260208190526040902054818110156110685760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161056d565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061109f9084906118e6565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110eb91815260200190565b60405180910390a3610aed565b60008183106111075781611109565b825b9392505050565b60006111098284611952565b60006111098284611969565b60006111098284611988565b61113e8282610b4e565b61091c57611156816001600160a01b0316601461159f565b61116183602061159f565b6040516020016111729291906119aa565b60408051601f198184030181529082905262461bcd60e51b825261056d916004016117d7565b6111a28282610b4e565b61091c5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556111da3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6112288282610b4e565b1561091c5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166112db5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161056d565b80600260008282546112ed91906118e6565b90915550506001600160a01b0382166000908152602081905260408120805483929061131a9084906118e6565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166113c45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161056d565b6001600160a01b038216600090815260208190526040902054818110156114385760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161056d565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611467908490611952565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b336001600160a01b038216146114c757600080fd5b60006114d5426007546110f8565b6001600160a01b0383166000908152600a6020526040902054909150806114fb57506008545b80156115785761154a620151806108416115186107bd8686611110565b600b54604051632ca65e2f60e21b81526001600160a01b0389811660048301529091169063b29978bc906024016107fa565b6001600160a01b038416600090815260096020526040812080549091906115729084906118e6565b90915550505b600754811461089d57506001600160a01b03919091166000908152600a6020526040902055565b606060006115ae836002611969565b6115b99060026118e6565b67ffffffffffffffff8111156115d1576115d1611a1f565b6040519080825280601f01601f1916602001820160405280156115fb576020820181803683370190505b509050600360fc1b8160008151811061161657611616611a35565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061164557611645611a35565b60200101906001600160f81b031916908160001a9053506000611669846002611969565b6116749060016118e6565b90505b60018111156116ec576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106116a8576116a8611a35565b1a60f81b8282815181106116be576116be611a35565b60200101906001600160f81b031916908160001a90535060049490941c936116e581611a4b565b9050611677565b5083156111095760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161056d565b80356001600160a01b038116811461175257600080fd5b919050565b6000806040838503121561176a57600080fd5b6117738361173b565b946020939093013593505050565b60006020828403121561179357600080fd5b81356001600160e01b03198116811461110957600080fd5b60005b838110156117c65781810151838201526020016117ae565b83811115610aed5750506000910152565b60208152600082518060208401526117f68160408501602087016117ab565b601f01601f19169190910160400192915050565b60006020828403121561181c57600080fd5b6111098261173b565b60008060006060848603121561183a57600080fd5b6118438461173b565b92506118516020850161173b565b9150604084013590509250925092565b60006020828403121561187357600080fd5b5035919050565b6000806040838503121561188d57600080fd5b8235915061189d6020840161173b565b90509250929050565b600080604083850312156118b957600080fd5b6118c28361173b565b915061189d6020840161173b565b634e487b7160e01b600052601160045260246000fd5b600082198211156118f9576118f96118d0565b500190565b600181811c9082168061191257607f821691505b6020821081141561193357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561194b57600080fd5b5051919050565b600082821015611964576119646118d0565b500390565b6000816000190483118215151615611983576119836118d0565b500290565b6000826119a557634e487b7160e01b600052601260045260246000fd5b500490565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516119e28160178501602088016117ab565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611a138160288401602088016117ab565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611a5a57611a5a6118d0565b50600019019056fea2646970667358221220fe46e06dc5ab11a83106665839710ab65caddc53889234f32e1b8ebb21b7752364736f6c634300080a0033af5cd33eb1dcf39cc29f1cbee3b3dc4dd5921cf8f497f81b237cdb211029a258a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177500000000000000000000000065cc7530e8c6f5a51257f7b7586361c4a22cec93

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fa5760003560e01c806375b238fc1161011a578063a9059cbb116100ad578063cb03fb1e1161007c578063cb03fb1e1461047a578063ccb98ffc1461049a578063d547741f146104ad578063dd62ed3e146104c0578063efe7a504146104f957600080fd5b8063a9059cbb14610420578063ba9a061a14610433578063c00007b01461043c578063c56aaa181461044f57600080fd5b8063993e6339116100e9578063993e6339146103cb5780639dc29fac146103f2578063a217fddf14610405578063a457c2d71461040d57600080fd5b806375b238fc14610376578063819b25ba1461039d57806391d14854146103b057806395d89b41146103c357600080fd5b8063267e8ab6116101925780633950935111610161578063395093511461031857806341910f901461032b5780636a092e791461033a57806370a082311461034d57600080fd5b8063267e8ab6146102d05780632f2ff15d146102e3578063313ce567146102f657806336568abe1461030557600080fd5b8063095ea7b3116101ce578063095ea7b31461027f57806318160ddd1461029257806323b872dd1461029a578063248a9ca3146102ad57600080fd5b80628c04a4146101ff57806301ffc9a71461021457806306fdde031461023c5780630700037d14610251575b600080fd5b61021261020d366004611757565b610502565b005b610227610222366004611781565b6105e6565b60405190151581526020015b60405180910390f35b61024461061d565b60405161023391906117d7565b61027161025f36600461180a565b60096020526000908152604090205481565b604051908152602001610233565b61022761028d366004611757565b6106af565b600254610271565b6102276102a8366004611825565b6106c5565b6102716102bb366004611861565b60009081526006602052604090206001015490565b6102716102de36600461180a565b61076f565b6102126102f136600461187a565b610877565b60405160128152602001610233565b61021261031336600461187a565b6108a2565b610227610326366004611757565b610920565b610271678ac7230489e8000081565b6102126103483660046118a6565b61095c565b61027161035b36600461180a565b6001600160a01b031660009081526020819052604090205490565b6102717fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6102126103ab366004611861565b610af3565b6102276103be36600461187a565b610b4e565b610244610b79565b6102717faf5cd33eb1dcf39cc29f1cbee3b3dc4dd5921cf8f497f81b237cdb211029a25881565b610212610400366004611757565b610b88565b610271600081565b61022761041b366004611757565b610be2565b61022761042e366004611757565b610c7b565b61027160085481565b61021261044a36600461180a565b610c88565b600b54610462906001600160a01b031681565b6040516001600160a01b039091168152602001610233565b61027161048836600461180a565b600a6020526000908152604090205481565b6102126104a8366004611861565b610d8d565b6102126104bb36600461187a565b610de0565b6102716104ce3660046118a6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61027160075481565b61052c7faf5cd33eb1dcf39cc29f1cbee3b3dc4dd5921cf8f497f81b237cdb211029a25833610b4e565b6105765760405162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba10309032b0b93732b960511b60448201526064015b60405180910390fd5b6001600160a01b0382166000908152600960205260408120805483929061059e9084906118e6565b90915550506040518181526001600160a01b038316907f9aeb2a660eaa716d527ebea5677cfc94e800bff77541b525e9750a38660e83a1906020015b60405180910390a25050565b60006001600160e01b03198216637965db0b60e01b148061061757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461062c906118fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610658906118fe565b80156106a55780601f1061067a576101008083540402835291602001916106a5565b820191906000526020600020905b81548152906001019060200180831161068857829003601f168201915b5050505050905090565b60006106bc338484610e06565b50600192915050565b60006106d2848484610f2a565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107575760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161056d565b6107648533858403610e06565b506001949350505050565b60008061077e426007546110f8565b6001600160a01b0384166000908152600a6020526040902054909150806107a457506008545b6000610847620151806108416107cc6107bd8787611110565b678ac7230489e800009061111c565b600b54604051632ca65e2f60e21b81526001600160a01b038b811660048301529091169063b29978bc906024015b602060405180830381865afa158015610817573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083b9190611939565b9061111c565b90611128565b6001600160a01b03861660009081526009602052604090205490915061086e9082906118e6565b95945050505050565b6000828152600660205260409020600101546108938133611134565b61089d8383611198565b505050565b6001600160a01b03811633146109125760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161056d565b61091c828261121e565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106bc9185906109579086906118e6565b610e06565b600b546001600160a01b0316331461097357600080fd5b6000610981426007546110f8565b6001600160a01b0384166000908152600a6020526040902054909150806109a757506008545b8015610a24576109f6620151806108416109c46107bd8686611110565b600b54604051632ca65e2f60e21b81526001600160a01b038a811660048301529091169063b29978bc906024016107fa565b6001600160a01b03851660009081526009602052604081208054909190610a1e9084906118e6565b90915550505b6007548114610a49576001600160a01b0384166000908152600a602052604090208290555b6001600160a01b03831615610aed576001600160a01b0383166000908152600a602052604090205480610a7b57506008545b8015610ac657610a98620151806108416109c46107bd8786611110565b6001600160a01b03851660009081526009602052604081208054909190610ac09084906118e6565b90915550505b6007548114610aeb576001600160a01b0384166000908152600a602052604090208390555b505b50505050565b610afe600033610b4e565b610b415760405162461bcd60e51b81526020600482015260146024820152735265737472696374656420746f2061646d696e7360601b604482015260640161056d565b610b4b3382611285565b50565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461062c906118fe565b336001600160a01b03831614610b9d57600080fd5b610ba78282611364565b816001600160a01b03167f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7826040516105da91815260200190565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610c645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161056d565b610c713385858403610e06565b5060019392505050565b60006106bc338484610f2a565b60026005541415610cdb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161056d565b6002600555336001600160a01b03821614610cf557600080fd5b610cfe816114b2565b6001600160a01b0381166000908152600960205260409020548015610d84576001600160a01b038216600090815260096020526040812055610d408282611285565b816001600160a01b03167f9ac954606f877c9c9e6deec30e9265abff5a57c7123a34777ca9321eb6c26d8e82604051610d7b91815260200190565b60405180910390a25b50506001600555565b610d98600033610b4e565b610ddb5760405162461bcd60e51b81526020600482015260146024820152735265737472696374656420746f2061646d696e7360601b604482015260640161056d565b600755565b600082815260066020526040902060010154610dfc8133611134565b61089d838361121e565b6001600160a01b038316610e685760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161056d565b6001600160a01b038216610ec95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161056d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610f8e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161056d565b6001600160a01b038216610ff05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161056d565b6001600160a01b038316600090815260208190526040902054818110156110685760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161056d565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061109f9084906118e6565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110eb91815260200190565b60405180910390a3610aed565b60008183106111075781611109565b825b9392505050565b60006111098284611952565b60006111098284611969565b60006111098284611988565b61113e8282610b4e565b61091c57611156816001600160a01b0316601461159f565b61116183602061159f565b6040516020016111729291906119aa565b60408051601f198184030181529082905262461bcd60e51b825261056d916004016117d7565b6111a28282610b4e565b61091c5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556111da3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6112288282610b4e565b1561091c5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166112db5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161056d565b80600260008282546112ed91906118e6565b90915550506001600160a01b0382166000908152602081905260408120805483929061131a9084906118e6565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166113c45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161056d565b6001600160a01b038216600090815260208190526040902054818110156114385760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161056d565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611467908490611952565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b336001600160a01b038216146114c757600080fd5b60006114d5426007546110f8565b6001600160a01b0383166000908152600a6020526040902054909150806114fb57506008545b80156115785761154a620151806108416115186107bd8686611110565b600b54604051632ca65e2f60e21b81526001600160a01b0389811660048301529091169063b29978bc906024016107fa565b6001600160a01b038416600090815260096020526040812080549091906115729084906118e6565b90915550505b600754811461089d57506001600160a01b03919091166000908152600a6020526040902055565b606060006115ae836002611969565b6115b99060026118e6565b67ffffffffffffffff8111156115d1576115d1611a1f565b6040519080825280601f01601f1916602001820160405280156115fb576020820181803683370190505b509050600360fc1b8160008151811061161657611616611a35565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061164557611645611a35565b60200101906001600160f81b031916908160001a9053506000611669846002611969565b6116749060016118e6565b90505b60018111156116ec576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106116a8576116a8611a35565b1a60f81b8282815181106116be576116be611a35565b60200101906001600160f81b031916908160001a90535060049490941c936116e581611a4b565b9050611677565b5083156111095760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161056d565b80356001600160a01b038116811461175257600080fd5b919050565b6000806040838503121561176a57600080fd5b6117738361173b565b946020939093013593505050565b60006020828403121561179357600080fd5b81356001600160e01b03198116811461110957600080fd5b60005b838110156117c65781810151838201526020016117ae565b83811115610aed5750506000910152565b60208152600082518060208401526117f68160408501602087016117ab565b601f01601f19169190910160400192915050565b60006020828403121561181c57600080fd5b6111098261173b565b60008060006060848603121561183a57600080fd5b6118438461173b565b92506118516020850161173b565b9150604084013590509250925092565b60006020828403121561187357600080fd5b5035919050565b6000806040838503121561188d57600080fd5b8235915061189d6020840161173b565b90509250929050565b600080604083850312156118b957600080fd5b6118c28361173b565b915061189d6020840161173b565b634e487b7160e01b600052601160045260246000fd5b600082198211156118f9576118f96118d0565b500190565b600181811c9082168061191257607f821691505b6020821081141561193357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561194b57600080fd5b5051919050565b600082821015611964576119646118d0565b500390565b6000816000190483118215151615611983576119836118d0565b500290565b6000826119a557634e487b7160e01b600052601260045260246000fd5b500490565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516119e28160178501602088016117ab565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611a138160288401602088016117ab565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611a5a57611a5a6118d0565b50600019019056fea2646970667358221220fe46e06dc5ab11a83106665839710ab65caddc53889234f32e1b8ebb21b7752364736f6c634300080a0033

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

00000000000000000000000065cc7530e8c6f5a51257f7b7586361c4a22cec93

-----Decoded View---------------
Arg [0] : tokenAddress (address): 0x65CC7530e8C6f5a51257f7b7586361C4a22CeC93

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000065cc7530e8c6f5a51257f7b7586361c4a22cec93


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

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