ETH Price: $3,468.66 (+4.13%)
Gas: 4 Gwei

Token

ZENRA (ZENR)
 

Overview

Max Total Supply

500,000,000,000 ZENR

Holders

1,544

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
3,333,507.4711333658 ZENR

Value
$0.00
0xdd6b4ae5e6da04728e14b99bacd92a61576cdcfb
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ZENRA

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-25
*/

// File: @openzeppelin/contracts/utils/Context.sol


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: @openzeppelin/contracts/utils/Strings.sol


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: @openzeppelin/contracts/utils/introspection/IERC165.sol


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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/access/AccessControl.sol


pragma solidity ^0.8.0;




/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

/**
 * @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 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 {_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 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]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _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 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]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        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 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 granted `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}.
     * ====
     */
    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 {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


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: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC20/ERC20.sol


pragma solidity ^0.8.0;




/**
 * @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 guidelines: functions revert instead
 * of 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: ZENRA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.3;



contract ZENRA is ERC20, AccessControl {
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");

    /**
     * @dev Constructor that gives msg.sender all of existing tokens.
     */
    constructor() ERC20("ZENRA", "ZENR") {
        // Grant the contract deployer the default admin role: it will be able
        // to grant and revoke any roles
        _setupRole(BURNER_ROLE, msg.sender);
        _mint(msg.sender, 500000000000 ether);
    }

    function burn(uint256 amount) public onlyRole(BURNER_ROLE) {
        _burn(msg.sender, amount);
    }
}

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":"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":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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"}]

60806040523480156200001157600080fd5b5060408051808201825260058152645a454e524160d81b6020808301918252835180850190945260048452632d22a72960e11b9084015281519192916200005b9160039162000263565b5080516200007190600490602084019062000263565b505050620000a67f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84833620000c560201b60201c565b620000bf336c064f964e68233a76f520000000620000d5565b6200036b565b620000d18282620001bf565b5050565b6001600160a01b038216620001305760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000144919062000309565b90915550506001600160a01b038216600090815260208190526040812080548392906200017390849062000309565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3620000d1565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620000d15760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200021f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b82805462000271906200032e565b90600052602060002090601f016020900481019282620002955760008555620002e0565b82601f10620002b057805160ff1916838001178555620002e0565b82800160010185558215620002e0579182015b82811115620002e0578251825591602001919060010190620002c3565b50620002ee929150620002f2565b5090565b5b80821115620002ee5760008155600101620002f3565b600082198211156200032957634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200034357607f821691505b602082108114156200036557634e487b7160e01b600052602260045260246000fd5b50919050565b611121806200037b6000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806339509351116100ad578063a217fddf11610071578063a217fddf14610291578063a457c2d714610299578063a9059cbb146102ac578063d547741f146102bf578063dd62ed3e146102d25761012c565b8063395093511461022757806342966c681461023a57806370a082311461024d57806391d148541461027657806395d89b41146102895761012c565b8063248a9ca3116100f4578063248a9ca3146101a6578063282c51f3146101c95780632f2ff15d146101f0578063313ce5671461020557806336568abe146102145761012c565b806301ffc9a71461013157806306fdde0314610159578063095ea7b31461016e57806318160ddd1461018157806323b872dd14610193575b600080fd5b61014461013f366004610f39565b61030b565b60405190151581526020015b60405180910390f35b610161610344565b6040516101509190610fd6565b61014461017c366004610ed6565b6103d6565b6002545b604051908152602001610150565b6101446101a1366004610e9b565b6103ec565b6101856101b4366004610eff565b60009081526005602052604090206001015490565b6101857f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b6102036101fe366004610f17565b61049b565b005b60405160128152602001610150565b610203610222366004610f17565b6104c7565b610144610235366004610ed6565b610545565b610203610248366004610eff565b610581565b61018561025b366004610e4f565b6001600160a01b031660009081526020819052604090205490565b610144610284366004610f17565b6105b6565b6101616105e1565b610185600081565b6101446102a7366004610ed6565b6105f0565b6101446102ba366004610ed6565b610689565b6102036102cd366004610f17565b610696565b6101856102e0366004610e69565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061033c57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6060600380546103539061109a565b80601f016020809104026020016040519081016040528092919081815260200182805461037f9061109a565b80156103cc5780601f106103a1576101008083540402835291602001916103cc565b820191906000526020600020905b8154815290600101906020018083116103af57829003601f168201915b5050505050905090565b60006103e33384846106bc565b50600192915050565b60006103f98484846107e0565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104835760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61049085338584036106bc565b506001949350505050565b6000828152600560205260409020600101546104b881335b6109b0565b6104c28383610a14565b505050565b6001600160a01b03811633146105375760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161047a565b6105418282610a9a565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103e391859061057c908690611009565b6106bc565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486105ac81336104b3565b6105413383610b01565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546103539061109a565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106725760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161047a565b61067f33858584036106bc565b5060019392505050565b60006103e33384846107e0565b6000828152600560205260409020600101546106b281336104b3565b6104c28383610a9a565b6001600160a01b03831661071e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161047a565b6001600160a01b03821661077f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161047a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108445760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161047a565b6001600160a01b0382166108a65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161047a565b6001600160a01b0383166000908152602081905260409020548181101561091e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161047a565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610955908490611009565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109a191815260200190565b60405180910390a35b50505050565b6109ba82826105b6565b610541576109d2816001600160a01b03166014610c4f565b6109dd836020610c4f565b6040516020016109ee929190610f61565b60408051601f198184030181529082905262461bcd60e51b825261047a91600401610fd6565b610a1e82826105b6565b6105415760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610a563390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610aa482826105b6565b156105415760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610b615760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161047a565b6001600160a01b03821660009081526020819052604090205481811015610bd55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161047a565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610c04908490611040565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36104c2565b60606000610c5e836002611021565b610c69906002611009565b67ffffffffffffffff811115610c8f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610cb9576020820181803683370190505b509050600360fc1b81600081518110610ce257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610d1f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000610d43846002611021565b610d4e906001611009565b90505b6001811115610de2576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610d9057634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110610db457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93610ddb81611083565b9050610d51565b508315610e315760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161047a565b9392505050565b80356001600160a01b038116811461033f57600080fd5b600060208284031215610e60578081fd5b610e3182610e38565b60008060408385031215610e7b578081fd5b610e8483610e38565b9150610e9260208401610e38565b90509250929050565b600080600060608486031215610eaf578081fd5b610eb884610e38565b9250610ec660208501610e38565b9150604084013590509250925092565b60008060408385031215610ee8578182fd5b610ef183610e38565b946020939093013593505050565b600060208284031215610f10578081fd5b5035919050565b60008060408385031215610f29578182fd5b82359150610e9260208401610e38565b600060208284031215610f4a578081fd5b81356001600160e01b031981168114610e31578182fd5b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351610f99816017850160208801611057565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610fca816028840160208801611057565b01602801949350505050565b6000602082528251806020840152610ff5816040850160208701611057565b601f01601f19169190910160400192915050565b6000821982111561101c5761101c6110d5565b500190565b600081600019048311821515161561103b5761103b6110d5565b500290565b600082821015611052576110526110d5565b500390565b60005b8381101561107257818101518382015260200161105a565b838111156109aa5750506000910152565b600081611092576110926110d5565b506000190190565b600181811c908216806110ae57607f821691505b602082108114156110cf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220975ef4544b00bd28aeef40eaa17bb831a3796f785c0c1ca035fc6fd0f274df0a64736f6c63430008030033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806339509351116100ad578063a217fddf11610071578063a217fddf14610291578063a457c2d714610299578063a9059cbb146102ac578063d547741f146102bf578063dd62ed3e146102d25761012c565b8063395093511461022757806342966c681461023a57806370a082311461024d57806391d148541461027657806395d89b41146102895761012c565b8063248a9ca3116100f4578063248a9ca3146101a6578063282c51f3146101c95780632f2ff15d146101f0578063313ce5671461020557806336568abe146102145761012c565b806301ffc9a71461013157806306fdde0314610159578063095ea7b31461016e57806318160ddd1461018157806323b872dd14610193575b600080fd5b61014461013f366004610f39565b61030b565b60405190151581526020015b60405180910390f35b610161610344565b6040516101509190610fd6565b61014461017c366004610ed6565b6103d6565b6002545b604051908152602001610150565b6101446101a1366004610e9b565b6103ec565b6101856101b4366004610eff565b60009081526005602052604090206001015490565b6101857f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b6102036101fe366004610f17565b61049b565b005b60405160128152602001610150565b610203610222366004610f17565b6104c7565b610144610235366004610ed6565b610545565b610203610248366004610eff565b610581565b61018561025b366004610e4f565b6001600160a01b031660009081526020819052604090205490565b610144610284366004610f17565b6105b6565b6101616105e1565b610185600081565b6101446102a7366004610ed6565b6105f0565b6101446102ba366004610ed6565b610689565b6102036102cd366004610f17565b610696565b6101856102e0366004610e69565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061033c57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6060600380546103539061109a565b80601f016020809104026020016040519081016040528092919081815260200182805461037f9061109a565b80156103cc5780601f106103a1576101008083540402835291602001916103cc565b820191906000526020600020905b8154815290600101906020018083116103af57829003601f168201915b5050505050905090565b60006103e33384846106bc565b50600192915050565b60006103f98484846107e0565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104835760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61049085338584036106bc565b506001949350505050565b6000828152600560205260409020600101546104b881335b6109b0565b6104c28383610a14565b505050565b6001600160a01b03811633146105375760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161047a565b6105418282610a9a565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103e391859061057c908690611009565b6106bc565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486105ac81336104b3565b6105413383610b01565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546103539061109a565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106725760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161047a565b61067f33858584036106bc565b5060019392505050565b60006103e33384846107e0565b6000828152600560205260409020600101546106b281336104b3565b6104c28383610a9a565b6001600160a01b03831661071e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161047a565b6001600160a01b03821661077f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161047a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108445760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161047a565b6001600160a01b0382166108a65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161047a565b6001600160a01b0383166000908152602081905260409020548181101561091e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161047a565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610955908490611009565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109a191815260200190565b60405180910390a35b50505050565b6109ba82826105b6565b610541576109d2816001600160a01b03166014610c4f565b6109dd836020610c4f565b6040516020016109ee929190610f61565b60408051601f198184030181529082905262461bcd60e51b825261047a91600401610fd6565b610a1e82826105b6565b6105415760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610a563390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610aa482826105b6565b156105415760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610b615760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161047a565b6001600160a01b03821660009081526020819052604090205481811015610bd55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161047a565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610c04908490611040565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36104c2565b60606000610c5e836002611021565b610c69906002611009565b67ffffffffffffffff811115610c8f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610cb9576020820181803683370190505b509050600360fc1b81600081518110610ce257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610d1f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000610d43846002611021565b610d4e906001611009565b90505b6001811115610de2576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610d9057634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110610db457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93610ddb81611083565b9050610d51565b508315610e315760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161047a565b9392505050565b80356001600160a01b038116811461033f57600080fd5b600060208284031215610e60578081fd5b610e3182610e38565b60008060408385031215610e7b578081fd5b610e8483610e38565b9150610e9260208401610e38565b90509250929050565b600080600060608486031215610eaf578081fd5b610eb884610e38565b9250610ec660208501610e38565b9150604084013590509250925092565b60008060408385031215610ee8578182fd5b610ef183610e38565b946020939093013593505050565b600060208284031215610f10578081fd5b5035919050565b60008060408385031215610f29578182fd5b82359150610e9260208401610e38565b600060208284031215610f4a578081fd5b81356001600160e01b031981168114610e31578182fd5b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351610f99816017850160208801611057565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610fca816028840160208801611057565b01602801949350505050565b6000602082528251806020840152610ff5816040850160208701611057565b601f01601f19169190910160400192915050565b6000821982111561101c5761101c6110d5565b500190565b600081600019048311821515161561103b5761103b6110d5565b500290565b600082821015611052576110526110d5565b500390565b60005b8381101561107257818101518382015260200161105a565b838111156109aa5750506000910152565b600081611092576110926110d5565b506000190190565b600181811c908216806110ae57607f821691505b602082108114156110cf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220975ef4544b00bd28aeef40eaa17bb831a3796f785c0c1ca035fc6fd0f274df0a64736f6c63430008030033

Deployed Bytecode Sourcemap

28988:581:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8825:204;;;;;;:::i;:::-;;:::i;:::-;;;3206:14:1;;3199:22;3181:41;;3169:2;3154:18;8825:204:0;;;;;;;;18941:100;;;:::i;:::-;;;;;;;:::i;21108:169::-;;;;;;:::i;:::-;;:::i;20061:108::-;20149:12;;20061:108;;;3379:25:1;;;3367:2;3352:18;20061:108:0;3334:76:1;21759:492:0;;;;;;:::i;:::-;;:::i;10236:123::-;;;;;;:::i;:::-;10302:7;10329:12;;;:6;:12;;;;;:22;;;;10236:123;29034:62;;29072:24;29034:62;;10621:147;;;;;;:::i;:::-;;:::i;:::-;;19903:93;;;19986:2;8549:36:1;;8537:2;8522:18;19903:93:0;8504:87:1;11669:218:0;;;;;;:::i;:::-;;:::i;22660:215::-;;;;;;:::i;:::-;;:::i;29463:103::-;;;;;;:::i;:::-;;:::i;20232:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;20333:18:0;20306:7;20333:18;;;;;;;;;;;;20232:127;9121:139;;;;;;:::i;:::-;;:::i;19160:104::-;;;:::i;7099:49::-;;7144:4;7099:49;;23378:413;;;;;;:::i;:::-;;:::i;20572:175::-;;;;;;:::i;:::-;;:::i;11013:149::-;;;;;;:::i;:::-;;:::i;20810:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;20926:18:0;;;20899:7;20926:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;20810:151;8825:204;8910:4;-1:-1:-1;;;;;;8934:47:0;;-1:-1:-1;;;8934:47:0;;:87;;-1:-1:-1;;;;;;;;;;4656:40:0;;;8985:36;8927:94;;8825:204;;;;:::o;18941:100::-;18995:13;19028:5;19021:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18941:100;:::o;21108:169::-;21191:4;21208:39;702:10;21231:7;21240:6;21208:8;:39::i;:::-;-1:-1:-1;21265:4:0;21108:169;;;;:::o;21759:492::-;21899:4;21916:36;21926:6;21934:9;21945:6;21916:9;:36::i;:::-;-1:-1:-1;;;;;21992:19:0;;21965:24;21992:19;;;:11;:19;;;;;;;;702:10;21992:33;;;;;;;;22044:26;;;;22036:79;;;;-1:-1:-1;;;22036:79:0;;5983:2:1;22036:79:0;;;5965:21:1;6022:2;6002:18;;;5995:30;6061:34;6041:18;;;6034:62;-1:-1:-1;;;6112:18:1;;;6105:38;6160:19;;22036:79:0;;;;;;;;;22151:57;22160:6;702:10;22201:6;22182:16;:25;22151:8;:57::i;:::-;-1:-1:-1;22239:4:0;;21759:492;-1:-1:-1;;;;21759:492:0:o;10621:147::-;10302:7;10329:12;;;:6;:12;;;;;:22;;;8703:30;8714:4;702:10;8720:12;8703:10;:30::i;:::-;10735:25:::1;10746:4;10752:7;10735:10;:25::i;:::-;10621:147:::0;;;:::o;11669:218::-;-1:-1:-1;;;;;11765:23:0;;702:10;11765:23;11757:83;;;;-1:-1:-1;;;11757:83:0;;8011:2:1;11757:83:0;;;7993:21:1;8050:2;8030:18;;;8023:30;8089:34;8069:18;;;8062:62;-1:-1:-1;;;8140:18:1;;;8133:45;8195:19;;11757:83:0;7983:237:1;11757:83:0;11853:26;11865:4;11871:7;11853:11;:26::i;:::-;11669:218;;:::o;22660:215::-;702:10;22748:4;22797:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;22797:34:0;;;;;;;;;;22748:4;;22765:80;;22788:7;;22797:47;;22834:10;;22797:47;:::i;:::-;22765:8;:80::i;29463:103::-;29072:24;8703:30;29072:24;702:10;8720:12;622:98;8703:30;29533:25:::1;29539:10;29551:6;29533:5;:25::i;9121:139::-:0;9199:4;9223:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;9223:29:0;;;;;;;;;;;;;;;9121:139::o;19160:104::-;19216:13;19249:7;19242:14;;;;;:::i;23378:413::-;702:10;23471:4;23515:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;23515:34:0;;;;;;;;;;23568:35;;;;23560:85;;;;-1:-1:-1;;;23560:85:0;;7605:2:1;23560:85:0;;;7587:21:1;7644:2;7624:18;;;7617:30;7683:34;7663:18;;;7656:62;-1:-1:-1;;;7734:18:1;;;7727:35;7779:19;;23560:85:0;7577:227:1;23560:85:0;23681:67;702:10;23704:7;23732:15;23713:16;:34;23681:8;:67::i;:::-;-1:-1:-1;23779:4:0;;23378:413;-1:-1:-1;;;23378:413:0:o;20572:175::-;20658:4;20675:42;702:10;20699:9;20710:6;20675:9;:42::i;11013:149::-;10302:7;10329:12;;;:6;:12;;;;;:22;;;8703:30;8714:4;702:10;8720:12;622:98;8703:30;11128:26:::1;11140:4;11146:7;11128:11;:26::i;27062:380::-:0;-1:-1:-1;;;;;27198:19:0;;27190:68;;;;-1:-1:-1;;;27190:68:0;;7200:2:1;27190:68:0;;;7182:21:1;7239:2;7219:18;;;7212:30;7278:34;7258:18;;;7251:62;-1:-1:-1;;;7329:18:1;;;7322:34;7373:19;;27190:68:0;7172:226:1;27190:68:0;-1:-1:-1;;;;;27277:21:0;;27269:68;;;;-1:-1:-1;;;27269:68:0;;5173:2:1;27269:68:0;;;5155:21:1;5212:2;5192:18;;;5185:30;5251:34;5231:18;;;5224:62;-1:-1:-1;;;5302:18:1;;;5295:32;5344:19;;27269:68:0;5145:224:1;27269:68:0;-1:-1:-1;;;;;27350:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;27402:32;;3379:25:1;;;27402:32:0;;3352:18:1;27402:32:0;;;;;;;27062:380;;;:::o;24281:733::-;-1:-1:-1;;;;;24421:20:0;;24413:70;;;;-1:-1:-1;;;24413:70:0;;6794:2:1;24413:70:0;;;6776:21:1;6833:2;6813:18;;;6806:30;6872:34;6852:18;;;6845:62;-1:-1:-1;;;6923:18:1;;;6916:35;6968:19;;24413:70:0;6766:227:1;24413:70:0;-1:-1:-1;;;;;24502:23:0;;24494:71;;;;-1:-1:-1;;;24494:71:0;;4366:2:1;24494:71:0;;;4348:21:1;4405:2;4385:18;;;4378:30;4444:34;4424:18;;;4417:62;-1:-1:-1;;;4495:18:1;;;4488:33;4538:19;;24494:71:0;4338:225:1;24494:71:0;-1:-1:-1;;;;;24662:17:0;;24638:21;24662:17;;;;;;;;;;;24698:23;;;;24690:74;;;;-1:-1:-1;;;24690:74:0;;5576:2:1;24690:74:0;;;5558:21:1;5615:2;5595:18;;;5588:30;5654:34;5634:18;;;5627:62;-1:-1:-1;;;5705:18:1;;;5698:36;5751:19;;24690:74:0;5548:228:1;24690:74:0;-1:-1:-1;;;;;24800:17:0;;;:9;:17;;;;;;;;;;;24820:22;;;24800:42;;24864:20;;;;;;;;:30;;24836:6;;24800:9;24864:30;;24836:6;;24864:30;:::i;:::-;;;;;;;;24929:9;-1:-1:-1;;;;;24912:35:0;24921:6;-1:-1:-1;;;;;24912:35:0;;24940:6;24912:35;;;;3379:25:1;;3367:2;3352:18;;3334:76;24912:35:0;;;;;;;;24960:46;24281:733;;;;:::o;9550:497::-;9631:22;9639:4;9645:7;9631;:22::i;:::-;9626:414;;9819:41;9847:7;-1:-1:-1;;;;;9819:41:0;9857:2;9819:19;:41::i;:::-;9933:38;9961:4;9968:2;9933:19;:38::i;:::-;9724:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;9724:270:0;;;;;;;;;;-1:-1:-1;;;9670:358:0;;;;;;;:::i;12917:229::-;12992:22;13000:4;13006:7;12992;:22::i;:::-;12987:152;;13031:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;13031:29:0;;;;;;;;;:36;;-1:-1:-1;;13031:36:0;13063:4;13031:36;;;13114:12;702:10;622:98;;13114:12;-1:-1:-1;;;;;13087:40:0;13105:7;-1:-1:-1;;;;;13087:40:0;13099:4;13087:40;;;;;;;;;;12917:229;;:::o;13154:230::-;13229:22;13237:4;13243:7;13229;:22::i;:::-;13225:152;;;13300:5;13268:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;13268:29:0;;;;;;;;;;:37;;-1:-1:-1;;13268:37:0;;;13325:40;702:10;;13268:12;;13325:40;;13300:5;13325:40;13154:230;;:::o;26033:591::-;-1:-1:-1;;;;;26117:21:0;;26109:67;;;;-1:-1:-1;;;26109:67:0;;6392:2:1;26109:67:0;;;6374:21:1;6431:2;6411:18;;;6404:30;6470:34;6450:18;;;6443:62;-1:-1:-1;;;6521:18:1;;;6514:31;6562:19;;26109:67:0;6364:223:1;26109:67:0;-1:-1:-1;;;;;26276:18:0;;26251:22;26276:18;;;;;;;;;;;26313:24;;;;26305:71;;;;-1:-1:-1;;;26305:71:0;;4770:2:1;26305:71:0;;;4752:21:1;4809:2;4789:18;;;4782:30;4848:34;4828:18;;;4821:62;-1:-1:-1;;;4899:18:1;;;4892:32;4941:19;;26305:71:0;4742:224:1;26305:71:0;-1:-1:-1;;;;;26412:18:0;;:9;:18;;;;;;;;;;26433:23;;;26412:44;;26478:12;:22;;26450:6;;26412:9;26478:22;;26450:6;;26478:22;:::i;:::-;;;;-1:-1:-1;;26518:37:0;;3379:25:1;;;26544:1:0;;-1:-1:-1;;;;;26518:37:0;;;;;3367:2:1;3352:18;26518:37:0;;;;;;;26568:48;10621:147;2446:451;2521:13;2547:19;2579:10;2583:6;2579:1;:10;:::i;:::-;:14;;2592:1;2579:14;:::i;:::-;2569:25;;;;;;-1:-1:-1;;;2569:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2569:25:0;;2547:47;;-1:-1:-1;;;2605:6:0;2612:1;2605:9;;;;;;-1:-1:-1;;;2605:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;2605:15:0;;;;;;;;;-1:-1:-1;;;2631:6:0;2638:1;2631:9;;;;;;-1:-1:-1;;;2631:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;2631:15:0;;;;;;;;-1:-1:-1;2662:9:0;2674:10;2678:6;2674:1;:10;:::i;:::-;:14;;2687:1;2674:14;:::i;:::-;2662:26;;2657:135;2694:1;2690;:5;2657:135;;;-1:-1:-1;;;2742:5:0;2750:3;2742:11;2729:25;;;;;-1:-1:-1;;;2729:25:0;;;;;;;;;;;;2717:6;2724:1;2717:9;;;;;;-1:-1:-1;;;2717:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;2717:37:0;;;;;;;;-1:-1:-1;2779:1:0;2769:11;;;;;2697:3;;;:::i;:::-;;;2657:135;;;-1:-1:-1;2810:10:0;;2802:55;;;;-1:-1:-1;;;2802:55:0;;4005:2:1;2802:55:0;;;3987:21:1;;;4024:18;;;4017:30;4083:34;4063:18;;;4056:62;4135:18;;2802:55:0;3977:182:1;2802:55:0;2882:6;2446:451;-1:-1:-1;;;2446:451:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;192:196;;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;;;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;;;;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;;;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1280:190::-;;1392:2;1380:9;1371:7;1367:23;1363:32;1360:2;;;1413:6;1405;1398:22;1360:2;-1:-1:-1;1441:23:1;;1350:120;-1:-1:-1;1350:120:1:o;1475:264::-;;;1604:2;1592:9;1583:7;1579:23;1575:32;1572:2;;;1625:6;1617;1610:22;1572:2;1666:9;1653:23;1643:33;;1695:38;1729:2;1718:9;1714:18;1695:38;:::i;1744:306::-;;1855:2;1843:9;1834:7;1830:23;1826:32;1823:2;;;1876:6;1868;1861:22;1823:2;1907:23;;-1:-1:-1;;;;;;1959:32:1;;1949:43;;1939:2;;2011:6;2003;1996:22;2250:786;;2661:25;2656:3;2649:38;2716:6;2710:13;2732:62;2787:6;2782:2;2777:3;2773:12;2766:4;2758:6;2754:17;2732:62;:::i;:::-;-1:-1:-1;;;2853:2:1;2813:16;;;2845:11;;;2838:40;2903:13;;2925:63;2903:13;2974:2;2966:11;;2959:4;2947:17;;2925:63;:::i;:::-;3008:17;3027:2;3004:26;;2639:397;-1:-1:-1;;;;2639:397:1:o;3415:383::-;;3564:2;3553:9;3546:21;3596:6;3590:13;3639:6;3634:2;3623:9;3619:18;3612:34;3655:66;3714:6;3709:2;3698:9;3694:18;3689:2;3681:6;3677:15;3655:66;:::i;:::-;3782:2;3761:15;-1:-1:-1;;3757:29:1;3742:45;;;;3789:2;3738:54;;3536:262;-1:-1:-1;;3536:262:1:o;8596:128::-;;8667:1;8663:6;8660:1;8657:13;8654:2;;;8673:18;;:::i;:::-;-1:-1:-1;8709:9:1;;8644:80::o;8729:168::-;;8835:1;8831;8827:6;8823:14;8820:1;8817:21;8812:1;8805:9;8798:17;8794:45;8791:2;;;8842:18;;:::i;:::-;-1:-1:-1;8882:9:1;;8781:116::o;8902:125::-;;8970:1;8967;8964:8;8961:2;;;8975:18;;:::i;:::-;-1:-1:-1;9012:9:1;;8951:76::o;9032:258::-;9104:1;9114:113;9128:6;9125:1;9122:13;9114:113;;;9204:11;;;9198:18;9185:11;;;9178:39;9150:2;9143:10;9114:113;;;9245:6;9242:1;9239:13;9236:2;;;-1:-1:-1;;9280:1:1;9262:16;;9255:27;9085:205::o;9295:136::-;;9362:5;9352:2;;9371:18;;:::i;:::-;-1:-1:-1;;;9407:18:1;;9342:89::o;9436:380::-;9515:1;9511:12;;;;9558;;;9579:2;;9633:4;9625:6;9621:17;9611:27;;9579:2;9686;9678:6;9675:14;9655:18;9652:38;9649:2;;;9732:10;9727:3;9723:20;9720:1;9713:31;9767:4;9764:1;9757:15;9795:4;9792:1;9785:15;9649:2;;9491:325;;;:::o;9821:127::-;9882:10;9877:3;9873:20;9870:1;9863:31;9913:4;9910:1;9903:15;9937:4;9934:1;9927:15

Swarm Source

ipfs://975ef4544b00bd28aeef40eaa17bb831a3796f785c0c1ca035fc6fd0f274df0a
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.