ETH Price: $3,290.64 (-1.19%)

Token

Rocket Fuel (FUEL)
 

Overview

Max Total Supply

1,295,755,000 FUEL

Holders

23

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
303.eth
Balance
30,000,000 FUEL

Value
$0.00
0xf5a4f9407ef5acce981a3212c29eb302ed5deb23
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:
FUEL

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

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

/// @dao: MEME
/// @author: Wizard

/*


                █████▒█    ██ ▓█████  ██▓    
              ▓██   ▒ ██  ▓██▒▓█   ▀ ▓██▒    
              ▒████ ░▓██  ▒██░▒███   ▒██░    
              ░▓█▒  ░▓▓█  ░██░▒▓█  ▄ ▒██░    
              ░▒█░   ▒▒█████▓ ░▒████▒░██████▒
              ▒ ░   ░▒▓▒ ▒ ▒ ░░ ▒░ ░░ ▒░▓  ░
              ░     ░░▒░ ░ ░  ░ ░  ░░ ░ ▒  ░
              ░ ░    ░░░ ░ ░    ░     ░ ░   
                        ░        ░  ░    ░  ░


*/

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

contract FUEL is ERC20, ERC20Burnable, ERC20Capped, AccessControl {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    uint256 public constant DENOMINATOR = 10000;

    uint256 public fuelAmount = 30000000000000000000000000;
    address public fuelTreasury;
    uint256 public fuelToTreasury = 5555000000000000000000000;

    constructor(address _treasury)
        ERC20("Rocket Fuel", "FUEL")
        ERC20Capped(355550000000 * (10**uint256(18)))
    {
        fuelTreasury = _treasury;
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

    modifier onlyMinter() {
        require(hasRole(MINTER_ROLE, _msgSender()), "caller is not a minter");
        _;
    }

    modifier onlyOwner() {
        require(
            hasRole(DEFAULT_ADMIN_ROLE, _msgSender()),
            "caller is not owner"
        );
        _;
    }

    function setFuelTreasury(address treasury) public virtual onlyOwner {
        fuelTreasury = treasury;
    }

    function setFuelAmount(uint256 amount) public virtual onlyOwner {
        fuelAmount = amount;
    }

    function mint(address account) public onlyMinter {
        _mint(account, fuelAmount);
        _mint(fuelTreasury, fuelToTreasury);
    }

    function _mint(address account, uint256 amount)
        internal
        virtual
        override(ERC20, ERC20Capped)
    {
        require(ERC20.totalSupply() + amount <= cap(), "cap exceeded");
        super._mint(account, amount);
    }
}

File 2 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 3 of 12 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

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

pragma solidity ^0.8.0;

import "../ERC20.sol";

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

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

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

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

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

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 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 {
        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 {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, 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 6 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 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 : 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 9 of 12 : IAccessControl.sol
// SPDX-License-Identifier: MIT

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 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 : 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 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"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_treasury","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":"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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fuelAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fuelToTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fuelTreasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"address","name":"account","type":"address"}],"name":"mint","outputs":[],"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":"uint256","name":"amount","type":"uint256"}],"name":"setFuelAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"treasury","type":"address"}],"name":"setFuelTreasury","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"}]

60a06040526a18d0bf423c03d8de0000006006556a0498512745bc9dc9e000006008553480156200002f57600080fd5b5060405162001c7f38038062001c7f8339810160408190526200005291620002b1565b620000606012600a62000365565b62000071906452c86e73806200044d565b604080518082018252600b81526a149bd8dad95d08119d595b60aa1b6020808301918252835180850190945260048452631195515360e21b908401528151919291620000c0916003916200020b565b508051620000d69060049060208401906200020b565b50505060008111620001055760405162461bcd60e51b8152600401620000fc90620002e1565b60405180910390fd5b608052600780546001600160a01b0319166001600160a01b0383161790556200013960006200013362000140565b62000144565b50620004c2565b3390565b62000150828262000154565b5050565b620001608282620001e0565b620001505760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200019c62000140565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b82805462000219906200046f565b90600052602060002090601f0160209004810192826200023d576000855562000288565b82601f106200025857805160ff191683800117855562000288565b8280016001018555821562000288579182015b82811115620002885782518255916020019190600101906200026b565b50620002969291506200029a565b5090565b5b808211156200029657600081556001016200029b565b600060208284031215620002c3578081fd5b81516001600160a01b0381168114620002da578182fd5b9392505050565b60208082526015908201527f45524332304361707065643a2063617020697320300000000000000000000000604082015260600190565b80825b60018086116200032c57506200035c565b818704821115620003415762000341620004ac565b808616156200034f57918102915b9490941c9380026200031b565b94509492505050565b6000620002da60001984846000826200038157506001620002da565b816200039057506000620002da565b8160018114620003a95760028114620003b457620003e8565b6001915050620002da565b60ff841115620003c857620003c8620004ac565b6001841b915084821115620003e157620003e1620004ac565b50620002da565b5060208310610133831016604e8410600b841016171562000420575081810a838111156200041a576200041a620004ac565b620002da565b6200042f848484600162000318565b808604821115620004445762000444620004ac565b02949350505050565b60008160001904831182151516156200046a576200046a620004ac565b500290565b6002810460018216806200048457607f821691505b60208210811415620004a657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6080516117a1620004de60003960006105d801526117a16000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c806370a0823111610104578063a457c2d7116100a2578063d547741f11610071578063d547741f1461038c578063dd62ed3e1461039f578063e420fdeb146103b2578063f7bc0dea146103c5576101ce565b8063a457c2d714610349578063a9059cbb1461035c578063aa106fc21461036f578063d539139314610384576101ce565b8063918f8674116100de578063918f86741461031e57806391d148541461032657806395d89b4114610339578063a217fddf14610341576101ce565b806370a08231146102f057806379cc6790146103035780637b8fdbe014610316576101ce565b80632f2ff15d1161017157806336568abe1161014b57806336568abe146102a457806339509351146102b757806342966c68146102ca5780636a627842146102dd576101ce565b80632f2ff15d14610274578063313ce56714610287578063355274ea1461029c576101ce565b8063095ea7b3116101ad578063095ea7b31461022657806318160ddd1461023957806323b872dd1461024e578063248a9ca314610261576101ce565b806280d978146101d357806301ffc9a7146101e857806306fdde0314610211575b600080fd5b6101e66101e136600461107c565b6103cd565b005b6101fb6101f6366004611166565b610421565b6040516102089190611217565b60405180910390f35b61021961044e565b604051610208919061122b565b6101fb610234366004611103565b6104e0565b6102416104fd565b6040516102089190611222565b6101fb61025c3660046110c8565b610503565b61024161026f36600461112c565b610593565b6101e6610282366004611144565b6105a8565b61028f6105d1565b604051610208919061167b565b6102416105d6565b6101e66102b2366004611144565b6105fa565b6101fb6102c5366004611103565b610640565b6101e66102d836600461112c565b610694565b6101e66102eb36600461107c565b6106a8565b6102416102fe36600461107c565b610715565b6101e6610311366004611103565b610730565b61024161077e565b610241610784565b6101fb610334366004611144565b61078a565b6102196107b5565b6102416107c4565b6101fb610357366004611103565b6107c9565b6101fb61036a366004611103565b610842565b610377610856565b6040516102089190611203565b610241610865565b6101e661039a366004611144565b610889565b6102416103ad366004611096565b6108a8565b6101e66103c036600461112c565b6108d3565b610241610901565b6103da6000610334610907565b6103ff5760405162461bcd60e51b81526004016103f6906113c6565b60405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b03198216637965db0b60e01b148061044657506104468261090b565b90505b919050565b60606003805461045d9061171a565b80601f01602080910402602001604051908101604052809291908181526020018280546104899061171a565b80156104d65780601f106104ab576101008083540402835291602001916104d6565b820191906000526020600020905b8154815290600101906020018083116104b957829003601f168201915b5050505050905090565b60006104f46104ed610907565b8484610924565b50600192915050565b60025490565b60006105108484846109d8565b6001600160a01b038416600090815260016020526040812081610531610907565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105745760405162461bcd60e51b81526004016103f690611423565b61058885610580610907565b858403610924565b506001949350505050565b60009081526005602052604090206001015490565b6105b182610593565b6105c2816105bd610907565b610b02565b6105cc8383610b66565b505050565b601290565b7f000000000000000000000000000000000000000000000000000000000000000090565b610602610907565b6001600160a01b0316816001600160a01b0316146106325760405162461bcd60e51b81526004016103f6906115f5565b61063c8282610bed565b5050565b60006104f461064d610907565b84846001600061065b610907565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461068f9190611689565b610924565b6106a561069f610907565b82610c72565b50565b6106d47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610334610907565b6106f05760405162461bcd60e51b81526004016103f6906113f3565b6106fc81600654610d63565b6007546008546106a5916001600160a01b031690610d63565b6001600160a01b031660009081526020819052604090205490565b600061073e836103ad610907565b9050818110156107605760405162461bcd60e51b81526004016103f69061146b565b6107748361076c610907565b848403610924565b6105cc8383610c72565b60085481565b61271081565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461045d9061171a565b600081565b600080600160006107d8610907565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156108245760405162461bcd60e51b81526004016103f6906115b0565b61083861082f610907565b85858403610924565b5060019392505050565b60006104f461084f610907565b84846109d8565b6007546001600160a01b031681565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61089282610593565b61089e816105bd610907565b6105cc8383610bed565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108e06000610334610907565b6108fc5760405162461bcd60e51b81526004016103f6906113c6565b600655565b60065481565b3390565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b03831661094a5760405162461bcd60e51b81526004016103f69061156c565b6001600160a01b0382166109705760405162461bcd60e51b81526004016103f690611318565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906109cb908590611222565b60405180910390a3505050565b6001600160a01b0383166109fe5760405162461bcd60e51b81526004016103f6906114f0565b6001600160a01b038216610a245760405162461bcd60e51b81526004016103f690611293565b610a2f8383836105cc565b6001600160a01b03831660009081526020819052604090205481811015610a685760405162461bcd60e51b81526004016103f690611380565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610a9f908490611689565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ae99190611222565b60405180910390a3610afc8484846105cc565b50505050565b610b0c828261078a565b61063c57610b24816001600160a01b03166014610da6565b610b2f836020610da6565b604051602001610b4092919061118e565b60408051601f198184030181529082905262461bcd60e51b82526103f69160040161122b565b610b70828261078a565b61063c5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610ba9610907565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610bf7828261078a565b1561063c5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19169055610c2e610907565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b038216610c985760405162461bcd60e51b81526004016103f6906114af565b610ca4826000836105cc565b6001600160a01b03821660009081526020819052604090205481811015610cdd5760405162461bcd60e51b81526004016103f6906112d6565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610d0c9084906116c0565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d4f908690611222565b60405180910390a36105cc836000846105cc565b610d6b6105d6565b81610d746104fd565b610d7e9190611689565b1115610d9c5760405162461bcd60e51b81526004016103f69061135a565b61063c8282610f5f565b60606000610db58360026116a1565b610dc0906002611689565b67ffffffffffffffff811115610de657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610e10576020820181803683370190505b509050600360fc1b81600081518110610e3957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610e7657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000610e9a8460026116a1565b610ea5906001611689565b90505b6001811115610f39576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610ee757634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110610f0b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93610f3281611703565b9050610ea8565b508315610f585760405162461bcd60e51b81526004016103f69061125e565b9392505050565b610f676105d6565b81610f706104fd565b610f7a9190611689565b1115610f985760405162461bcd60e51b81526004016103f690611535565b61063c82826001600160a01b038216610fc35760405162461bcd60e51b81526004016103f690611644565b610fcf600083836105cc565b8060026000828254610fe19190611689565b90915550506001600160a01b0382166000908152602081905260408120805483929061100e908490611689565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611051908590611222565b60405180910390a361063c600083836105cc565b80356001600160a01b038116811461044957600080fd5b60006020828403121561108d578081fd5b610f5882611065565b600080604083850312156110a8578081fd5b6110b183611065565b91506110bf60208401611065565b90509250929050565b6000806000606084860312156110dc578081fd5b6110e584611065565b92506110f360208501611065565b9150604084013590509250925092565b60008060408385031215611115578182fd5b61111e83611065565b946020939093013593505050565b60006020828403121561113d578081fd5b5035919050565b60008060408385031215611156578182fd5b823591506110bf60208401611065565b600060208284031215611177578081fd5b81356001600160e01b031981168114610f58578182fd5b60007f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000825283516111c68160178501602088016116d7565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516111f78160288401602088016116d7565b01602801949350505050565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b600060208252825180602084015261124a8160408501602087016116d7565b601f01601f19169190910160400192915050565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252600c908201526b18d85c08195e18d95959195960a21b604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526013908201527231b0b63632b91034b9903737ba1037bbb732b960691b604082015260600190565b60208082526016908201527531b0b63632b91034b9903737ba10309036b4b73a32b960511b604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604082015263616e636560e01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526019908201527f45524332304361707065643a2063617020657863656564656400000000000000604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b6000821982111561169c5761169c611755565b500190565b60008160001904831182151516156116bb576116bb611755565b500290565b6000828210156116d2576116d2611755565b500390565b60005b838110156116f25781810151838201526020016116da565b83811115610afc5750506000910152565b60008161171257611712611755565b506000190190565b60028104600182168061172e57607f821691505b6020821081141561174f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122066ab7266d38abe4ac5b8c816002d3e9c42a5d5d86814b175b2b570329c51871564736f6c634300080000330000000000000000000000007af3ba4a5854438a6bf27e4d005cd07d5497c33e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c806370a0823111610104578063a457c2d7116100a2578063d547741f11610071578063d547741f1461038c578063dd62ed3e1461039f578063e420fdeb146103b2578063f7bc0dea146103c5576101ce565b8063a457c2d714610349578063a9059cbb1461035c578063aa106fc21461036f578063d539139314610384576101ce565b8063918f8674116100de578063918f86741461031e57806391d148541461032657806395d89b4114610339578063a217fddf14610341576101ce565b806370a08231146102f057806379cc6790146103035780637b8fdbe014610316576101ce565b80632f2ff15d1161017157806336568abe1161014b57806336568abe146102a457806339509351146102b757806342966c68146102ca5780636a627842146102dd576101ce565b80632f2ff15d14610274578063313ce56714610287578063355274ea1461029c576101ce565b8063095ea7b3116101ad578063095ea7b31461022657806318160ddd1461023957806323b872dd1461024e578063248a9ca314610261576101ce565b806280d978146101d357806301ffc9a7146101e857806306fdde0314610211575b600080fd5b6101e66101e136600461107c565b6103cd565b005b6101fb6101f6366004611166565b610421565b6040516102089190611217565b60405180910390f35b61021961044e565b604051610208919061122b565b6101fb610234366004611103565b6104e0565b6102416104fd565b6040516102089190611222565b6101fb61025c3660046110c8565b610503565b61024161026f36600461112c565b610593565b6101e6610282366004611144565b6105a8565b61028f6105d1565b604051610208919061167b565b6102416105d6565b6101e66102b2366004611144565b6105fa565b6101fb6102c5366004611103565b610640565b6101e66102d836600461112c565b610694565b6101e66102eb36600461107c565b6106a8565b6102416102fe36600461107c565b610715565b6101e6610311366004611103565b610730565b61024161077e565b610241610784565b6101fb610334366004611144565b61078a565b6102196107b5565b6102416107c4565b6101fb610357366004611103565b6107c9565b6101fb61036a366004611103565b610842565b610377610856565b6040516102089190611203565b610241610865565b6101e661039a366004611144565b610889565b6102416103ad366004611096565b6108a8565b6101e66103c036600461112c565b6108d3565b610241610901565b6103da6000610334610907565b6103ff5760405162461bcd60e51b81526004016103f6906113c6565b60405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b03198216637965db0b60e01b148061044657506104468261090b565b90505b919050565b60606003805461045d9061171a565b80601f01602080910402602001604051908101604052809291908181526020018280546104899061171a565b80156104d65780601f106104ab576101008083540402835291602001916104d6565b820191906000526020600020905b8154815290600101906020018083116104b957829003601f168201915b5050505050905090565b60006104f46104ed610907565b8484610924565b50600192915050565b60025490565b60006105108484846109d8565b6001600160a01b038416600090815260016020526040812081610531610907565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105745760405162461bcd60e51b81526004016103f690611423565b61058885610580610907565b858403610924565b506001949350505050565b60009081526005602052604090206001015490565b6105b182610593565b6105c2816105bd610907565b610b02565b6105cc8383610b66565b505050565b601290565b7f00000000000000000000000000000000000000047cd811195c6e1afd9e00000090565b610602610907565b6001600160a01b0316816001600160a01b0316146106325760405162461bcd60e51b81526004016103f6906115f5565b61063c8282610bed565b5050565b60006104f461064d610907565b84846001600061065b610907565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461068f9190611689565b610924565b6106a561069f610907565b82610c72565b50565b6106d47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610334610907565b6106f05760405162461bcd60e51b81526004016103f6906113f3565b6106fc81600654610d63565b6007546008546106a5916001600160a01b031690610d63565b6001600160a01b031660009081526020819052604090205490565b600061073e836103ad610907565b9050818110156107605760405162461bcd60e51b81526004016103f69061146b565b6107748361076c610907565b848403610924565b6105cc8383610c72565b60085481565b61271081565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461045d9061171a565b600081565b600080600160006107d8610907565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156108245760405162461bcd60e51b81526004016103f6906115b0565b61083861082f610907565b85858403610924565b5060019392505050565b60006104f461084f610907565b84846109d8565b6007546001600160a01b031681565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61089282610593565b61089e816105bd610907565b6105cc8383610bed565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108e06000610334610907565b6108fc5760405162461bcd60e51b81526004016103f6906113c6565b600655565b60065481565b3390565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b03831661094a5760405162461bcd60e51b81526004016103f69061156c565b6001600160a01b0382166109705760405162461bcd60e51b81526004016103f690611318565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906109cb908590611222565b60405180910390a3505050565b6001600160a01b0383166109fe5760405162461bcd60e51b81526004016103f6906114f0565b6001600160a01b038216610a245760405162461bcd60e51b81526004016103f690611293565b610a2f8383836105cc565b6001600160a01b03831660009081526020819052604090205481811015610a685760405162461bcd60e51b81526004016103f690611380565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610a9f908490611689565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ae99190611222565b60405180910390a3610afc8484846105cc565b50505050565b610b0c828261078a565b61063c57610b24816001600160a01b03166014610da6565b610b2f836020610da6565b604051602001610b4092919061118e565b60408051601f198184030181529082905262461bcd60e51b82526103f69160040161122b565b610b70828261078a565b61063c5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610ba9610907565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610bf7828261078a565b1561063c5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19169055610c2e610907565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b038216610c985760405162461bcd60e51b81526004016103f6906114af565b610ca4826000836105cc565b6001600160a01b03821660009081526020819052604090205481811015610cdd5760405162461bcd60e51b81526004016103f6906112d6565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610d0c9084906116c0565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d4f908690611222565b60405180910390a36105cc836000846105cc565b610d6b6105d6565b81610d746104fd565b610d7e9190611689565b1115610d9c5760405162461bcd60e51b81526004016103f69061135a565b61063c8282610f5f565b60606000610db58360026116a1565b610dc0906002611689565b67ffffffffffffffff811115610de657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610e10576020820181803683370190505b509050600360fc1b81600081518110610e3957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610e7657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000610e9a8460026116a1565b610ea5906001611689565b90505b6001811115610f39576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610ee757634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110610f0b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93610f3281611703565b9050610ea8565b508315610f585760405162461bcd60e51b81526004016103f69061125e565b9392505050565b610f676105d6565b81610f706104fd565b610f7a9190611689565b1115610f985760405162461bcd60e51b81526004016103f690611535565b61063c82826001600160a01b038216610fc35760405162461bcd60e51b81526004016103f690611644565b610fcf600083836105cc565b8060026000828254610fe19190611689565b90915550506001600160a01b0382166000908152602081905260408120805483929061100e908490611689565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611051908590611222565b60405180910390a361063c600083836105cc565b80356001600160a01b038116811461044957600080fd5b60006020828403121561108d578081fd5b610f5882611065565b600080604083850312156110a8578081fd5b6110b183611065565b91506110bf60208401611065565b90509250929050565b6000806000606084860312156110dc578081fd5b6110e584611065565b92506110f360208501611065565b9150604084013590509250925092565b60008060408385031215611115578182fd5b61111e83611065565b946020939093013593505050565b60006020828403121561113d578081fd5b5035919050565b60008060408385031215611156578182fd5b823591506110bf60208401611065565b600060208284031215611177578081fd5b81356001600160e01b031981168114610f58578182fd5b60007f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000825283516111c68160178501602088016116d7565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516111f78160288401602088016116d7565b01602801949350505050565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b600060208252825180602084015261124a8160408501602087016116d7565b601f01601f19169190910160400192915050565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252600c908201526b18d85c08195e18d95959195960a21b604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526013908201527231b0b63632b91034b9903737ba1037bbb732b960691b604082015260600190565b60208082526016908201527531b0b63632b91034b9903737ba10309036b4b73a32b960511b604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604082015263616e636560e01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526019908201527f45524332304361707065643a2063617020657863656564656400000000000000604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b6000821982111561169c5761169c611755565b500190565b60008160001904831182151516156116bb576116bb611755565b500290565b6000828210156116d2576116d2611755565b500390565b60005b838110156116f25781810151838201526020016116da565b83811115610afc5750506000910152565b60008161171257611712611755565b506000190190565b60028104600182168061172e57607f821691505b6020821081141561174f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122066ab7266d38abe4ac5b8c816002d3e9c42a5d5d86814b175b2b570329c51871564736f6c63430008000033

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

0000000000000000000000007af3ba4a5854438a6bf27e4d005cd07d5497c33e

-----Decoded View---------------
Arg [0] : _treasury (address): 0x7AF3bA4A5854438a6BF27E4d005cD07d5497C33E

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007af3ba4a5854438a6bf27e4d005cd07d5497c33e


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.