ETH Price: $3,863.56 (-3.67%)

Contract

0x5aFE3855358E112B5647B952709E6165e1c1eEEe
 

More Info

Private Name Tags

TokenTracker

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Transfer214273612024-12-18 5:34:233 hrs ago1734500063IN
Safe: SAFE Token
0 ETH0.0004217812.85824484
Transfer214273612024-12-18 5:34:233 hrs ago1734500063IN
Safe: SAFE Token
0 ETH0.0004217812.85824484
Transfer214273012024-12-18 5:22:233 hrs ago1734499343IN
Safe: SAFE Token
0 ETH0.0003873311.81641241
Transfer214272622024-12-18 5:14:354 hrs ago1734498875IN
Safe: SAFE Token
0 ETH0.000433511.52847603
Transfer214272412024-12-18 5:10:234 hrs ago1734498623IN
Safe: SAFE Token
0 ETH0.0004650412.375
Transfer214272342024-12-18 5:08:594 hrs ago1734498539IN
Safe: SAFE Token
0 ETH0.0003798610.1052259
Transfer214271972024-12-18 5:01:354 hrs ago1734498095IN
Safe: SAFE Token
0 ETH0.0005397510.81873628
Transfer214271752024-12-18 4:57:114 hrs ago1734497831IN
Safe: SAFE Token
0 ETH0.0003818311.64870445
Transfer214271292024-12-18 4:47:474 hrs ago1734497267IN
Safe: SAFE Token
0 ETH0.0003604311
Transfer214270932024-12-18 4:40:354 hrs ago1734496835IN
Safe: SAFE Token
0 ETH0.0006773212.39007804
Transfer214270792024-12-18 4:37:474 hrs ago1734496667IN
Safe: SAFE Token
0 ETH0.0004263513.007
Transfer214270622024-12-18 4:34:234 hrs ago1734496463IN
Safe: SAFE Token
0 ETH0.0004186312.76665862
Transfer214270562024-12-18 4:33:114 hrs ago1734496391IN
Safe: SAFE Token
0 ETH0.0003615411.03395984
Transfer214270342024-12-18 4:28:474 hrs ago1734496127IN
Safe: SAFE Token
0 ETH0.0003606111.00137375
Transfer214270252024-12-18 4:26:594 hrs ago1734496019IN
Safe: SAFE Token
0 ETH0.0003534810.77587413
Transfer214270122024-12-18 4:24:234 hrs ago1734495863IN
Safe: SAFE Token
0 ETH0.000403912.322
Transfer214269972024-12-18 4:21:234 hrs ago1734495683IN
Safe: SAFE Token
0 ETH0.0005932910.85536493
Transfer214268722024-12-18 3:56:235 hrs ago1734494183IN
Safe: SAFE Token
0 ETH0.0004017712.257
Transfer214268722024-12-18 3:56:235 hrs ago1734494183IN
Safe: SAFE Token
0 ETH0.0004102612.52539796
Transfer214268622024-12-18 3:54:235 hrs ago1734494063IN
Safe: SAFE Token
0 ETH0.0004195512.79482096
Transfer214267632024-12-18 3:34:355 hrs ago1734492875IN
Safe: SAFE Token
0 ETH0.0004090312.483
Transfer214267122024-12-18 3:24:235 hrs ago1734492263IN
Safe: SAFE Token
0 ETH0.0004148512.64699406
Transfer214265992024-12-18 3:01:476 hrs ago1734490907IN
Safe: SAFE Token
0 ETH0.0004268413.022
Transfer214264632024-12-18 2:34:356 hrs ago1734489275IN
Safe: SAFE Token
0 ETH0.000339710.36354872
Transfer214262502024-12-18 1:51:237 hrs ago1734486683IN
Safe: SAFE Token
0 ETH0.0004402311.71481402
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
146244962022-04-20 21:55:55972 days ago1650491755  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SafeToken

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
File 1 of 8 : SafeToken.sol
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.8.0 <0.9.0;

import "./vendor/@openzeppelin/contracts/access/Ownable.sol";
import "./vendor/@openzeppelin/contracts/security/Pausable.sol";
import "./vendor/@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./TokenRescuer.sol";

/// @title Safe Token contract
/// @author Richard Meissner - @rmeissner
contract SafeToken is ERC20, Pausable, Ownable, TokenRescuer {
    /// @dev Will mint 1 billion tokens to the owner and pause the contract
    constructor(address owner) ERC20("Safe Token", "SAFE") {
        // Transfer ownership immediately
        _transferOwnership(owner);
        // "ether" is used here to get 18 decimals
        _mint(owner, 1_000_000_000 ether);
        // Contract is paused by default
        // This has to be done after _mint, else minting will fail
        _pause();
    }

    /// @notice Unpauses all token transfers.
    /// @dev See {Pausable-_unpause}
    /// Requirements: caller must be the owner
    function unpause() public virtual onlyOwner {
        require(paused(), "SafeToken: token is not paused");
        _unpause();
    }

    /// @dev See {ERC20-_beforeTokenTransfer}
    /// Requirements: the contract must not be paused OR transfer must be initiated by owner
    /// @param from The account that is sending the tokens
    /// @param to The account that should receive the tokens
    /// @param amount Amount of tokens that should be transferred
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(to != address(this), "SafeToken: cannot transfer tokens to token contract");
        // Token transfers are only possible if the contract is not paused
        // OR if triggered by the owner of the contract
        require(!paused() || owner() == _msgSender(), "SafeToken: token transfer while paused");
    }
}

File 2 of 8 : TokenRescuer.sol
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.8.0 <0.9.0;

import "./vendor/@openzeppelin/contracts/access/Ownable.sol";
import "./vendor/@openzeppelin/contracts/token/ERC20/IERC20.sol";

/// @title Token Rescuer contract
/// @author Richard Meissner - @rmeissner
contract TokenRescuer is Ownable {
    /// @param token Token that should be rescued
    /// @param beneficiary The account that should receive the tokens
    /// @param amount Amount of tokens that should be rescued
    function _beforeTokenRescue(
        IERC20 token,
        address beneficiary,
        uint256 amount
    ) internal virtual {}

    /// @notice Transfer all tokens with address `token` owned by this contract to `beneficiary`.
    /// @dev This can only be called by the owner of the contract
    /// @param token The token that should be rescued
    /// @param beneficiary The account that should receive the tokens.
    function rescueToken(IERC20 token, address beneficiary) external onlyOwner {
        uint256 balanceToRescue = token.balanceOf(address(this));
        require(balanceToRescue > 0, "TokenRescuer: No tokens to rescue");
        _beforeTokenRescue(token, beneficiary, balanceToRescue);
        require(token.transfer(beneficiary, balanceToRescue), "TokenRescuer: Could not rescue token");
    }
}

File 3 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 8 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

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

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][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) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 6 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

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

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

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

    /**
     * @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 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

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 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
    }
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"beneficiary","type":"address"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002b8338038062002b838339818101604052810190620000379190620006f3565b6040518060400160405280600a81526020017f5361666520546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f53414645000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000bb929190620005d9565b508060049080519060200190620000d4929190620005d9565b5050506000600560006101000a81548160ff02191690831515021790555062000112620001066200015860201b60201c565b6200016060201b60201c565b62000123816200016060201b60201c565b62000141816b033b2e3c9fd0803ce80000006200022660201b60201c565b620001516200039f60201b60201c565b5062000aa1565b600033905090565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000299576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002909062000786565b60405180910390fd5b620002ad600083836200045760201b60201c565b8060026000828254620002c19190620007e1565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620003189190620007e1565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200037f91906200084f565b60405180910390a36200039b600083836200058e60201b60201c565b5050565b620003af6200059360201b60201c565b15620003f2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003e990620008bc565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200043e6200015860201b60201c565b6040516200044d9190620008ef565b60405180910390a1565b6200046f838383620005aa60201b62000c071760201c565b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004d89062000982565b60405180910390fd5b620004f16200059360201b60201c565b1580620005475750620005096200015860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200052f620005af60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16145b62000589576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005809062000a1a565b60405180910390fd5b505050565b505050565b6000600560009054906101000a900460ff16905090565b505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620005e79062000a6b565b90600052602060002090601f0160209004810192826200060b576000855562000657565b82601f106200062657805160ff191683800117855562000657565b8280016001018555821562000657579182015b828111156200065657825182559160200191906001019062000639565b5b5090506200066691906200066a565b5090565b5b80821115620006855760008160009055506001016200066b565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006bb826200068e565b9050919050565b620006cd81620006ae565b8114620006d957600080fd5b50565b600081519050620006ed81620006c2565b92915050565b6000602082840312156200070c576200070b62000689565b5b60006200071c84828501620006dc565b91505092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006200076e601f8362000725565b91506200077b8262000736565b602082019050919050565b60006020820190508181036000830152620007a1816200075f565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620007ee82620007a8565b9150620007fb83620007a8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620008335762000832620007b2565b5b828201905092915050565b6200084981620007a8565b82525050565b60006020820190506200086660008301846200083e565b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620008a460108362000725565b9150620008b1826200086c565b602082019050919050565b60006020820190508181036000830152620008d78162000895565b9050919050565b620008e981620006ae565b82525050565b6000602082019050620009066000830184620008de565b92915050565b7f53616665546f6b656e3a2063616e6e6f74207472616e7366657220746f6b656e60008201527f7320746f20746f6b656e20636f6e747261637400000000000000000000000000602082015250565b60006200096a60338362000725565b915062000977826200090c565b604082019050919050565b600060208201905081810360008301526200099d816200095b565b9050919050565b7f53616665546f6b656e3a20746f6b656e207472616e73666572207768696c652060008201527f7061757365640000000000000000000000000000000000000000000000000000602082015250565b600062000a0260268362000725565b915062000a0f82620009a4565b604082019050919050565b6000602082019050818103600083015262000a3581620009f3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a8457607f821691505b6020821081141562000a9b5762000a9a62000a3c565b5b50919050565b6120d28062000ab16000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80635c975abb116100a257806395d89b411161007157806395d89b4114610296578063a457c2d7146102b4578063a9059cbb146102e4578063dd62ed3e14610314578063f2fde38b146103445761010b565b80635c975abb1461022057806370a082311461023e578063715018a61461026e5780638da5cb5b146102785761010b565b8063313ce567116100de578063313ce567146101ac57806339509351146101ca5780633f4ba83a146101fa5780634707d000146102045761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b610118610360565b6040516101259190611402565b60405180910390f35b610148600480360381019061014391906114bd565b6103f2565b6040516101559190611518565b60405180910390f35b610166610415565b6040516101739190611542565b60405180910390f35b6101966004803603810190610191919061155d565b61041f565b6040516101a39190611518565b60405180910390f35b6101b461044e565b6040516101c191906115cc565b60405180910390f35b6101e460048036038101906101df91906114bd565b610457565b6040516101f19190611518565b60405180910390f35b610202610501565b005b61021e60048036038101906102199190611625565b6105ce565b005b6102286107d8565b6040516102359190611518565b60405180910390f35b61025860048036038101906102539190611665565b6107ef565b6040516102659190611542565b60405180910390f35b610276610837565b005b6102806108bf565b60405161028d91906116a1565b60405180910390f35b61029e6108e9565b6040516102ab9190611402565b60405180910390f35b6102ce60048036038101906102c991906114bd565b61097b565b6040516102db9190611518565b60405180910390f35b6102fe60048036038101906102f991906114bd565b610a65565b60405161030b9190611518565b60405180910390f35b61032e600480360381019061032991906116bc565b610a88565b60405161033b9190611542565b60405180910390f35b61035e60048036038101906103599190611665565b610b0f565b005b60606003805461036f9061172b565b80601f016020809104026020016040519081016040528092919081815260200182805461039b9061172b565b80156103e85780601f106103bd576101008083540402835291602001916103e8565b820191906000526020600020905b8154815290600101906020018083116103cb57829003601f168201915b5050505050905090565b6000806103fd610c0c565b905061040a818585610c14565b600191505092915050565b6000600254905090565b60008061042a610c0c565b9050610437858285610ddf565b610442858585610e6b565b60019150509392505050565b60006012905090565b600080610462610c0c565b90506104f6818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104f1919061178c565b610c14565b600191505092915050565b610509610c0c565b73ffffffffffffffffffffffffffffffffffffffff166105276108bf565b73ffffffffffffffffffffffffffffffffffffffff161461057d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105749061182e565b60405180910390fd5b6105856107d8565b6105c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105bb9061189a565b60405180910390fd5b6105cc6110ec565b565b6105d6610c0c565b73ffffffffffffffffffffffffffffffffffffffff166105f46108bf565b73ffffffffffffffffffffffffffffffffffffffff161461064a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106419061182e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161068591906116a1565b602060405180830381865afa1580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c691906118cf565b90506000811161070b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107029061196e565b60405180910390fd5b61071683838361118e565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161075192919061198e565b6020604051808303816000875af1158015610770573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079491906119e3565b6107d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ca90611a82565b60405180910390fd5b505050565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61083f610c0c565b73ffffffffffffffffffffffffffffffffffffffff1661085d6108bf565b73ffffffffffffffffffffffffffffffffffffffff16146108b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108aa9061182e565b60405180910390fd5b6108bd6000611193565b565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546108f89061172b565b80601f01602080910402602001604051908101604052809291908181526020018280546109249061172b565b80156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b5050505050905090565b600080610986610c0c565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4390611b14565b60405180910390fd5b610a598286868403610c14565b60019250505092915050565b600080610a70610c0c565b9050610a7d818585610e6b565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610b17610c0c565b73ffffffffffffffffffffffffffffffffffffffff16610b356108bf565b73ffffffffffffffffffffffffffffffffffffffff1614610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b829061182e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290611ba6565b60405180910390fd5b610c0481611193565b50565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b90611c38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb90611cca565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610dd29190611542565b60405180910390a3505050565b6000610deb8484610a88565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e655781811015610e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4e90611d36565b60405180910390fd5b610e648484848403610c14565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290611dc8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290611e5a565b60405180910390fd5b610f56838383611259565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd390611eec565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461106f919061178c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110d39190611542565b60405180910390a36110e6848484611364565b50505050565b6110f46107d8565b611133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112a90611f58565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611177610c0c565b60405161118491906116a1565b60405180910390a1565b505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611264838383610c07565b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ca90611fea565b60405180910390fd5b6112db6107d8565b158061132057506112ea610c0c565b73ffffffffffffffffffffffffffffffffffffffff166113086108bf565b73ffffffffffffffffffffffffffffffffffffffff16145b61135f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113569061207c565b60405180910390fd5b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156113a3578082015181840152602081019050611388565b838111156113b2576000848401525b50505050565b6000601f19601f8301169050919050565b60006113d482611369565b6113de8185611374565b93506113ee818560208601611385565b6113f7816113b8565b840191505092915050565b6000602082019050818103600083015261141c81846113c9565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061145482611429565b9050919050565b61146481611449565b811461146f57600080fd5b50565b6000813590506114818161145b565b92915050565b6000819050919050565b61149a81611487565b81146114a557600080fd5b50565b6000813590506114b781611491565b92915050565b600080604083850312156114d4576114d3611424565b5b60006114e285828601611472565b92505060206114f3858286016114a8565b9150509250929050565b60008115159050919050565b611512816114fd565b82525050565b600060208201905061152d6000830184611509565b92915050565b61153c81611487565b82525050565b60006020820190506115576000830184611533565b92915050565b60008060006060848603121561157657611575611424565b5b600061158486828701611472565b935050602061159586828701611472565b92505060406115a6868287016114a8565b9150509250925092565b600060ff82169050919050565b6115c6816115b0565b82525050565b60006020820190506115e160008301846115bd565b92915050565b60006115f282611449565b9050919050565b611602816115e7565b811461160d57600080fd5b50565b60008135905061161f816115f9565b92915050565b6000806040838503121561163c5761163b611424565b5b600061164a85828601611610565b925050602061165b85828601611472565b9150509250929050565b60006020828403121561167b5761167a611424565b5b600061168984828501611472565b91505092915050565b61169b81611449565b82525050565b60006020820190506116b66000830184611692565b92915050565b600080604083850312156116d3576116d2611424565b5b60006116e185828601611472565b92505060206116f285828601611472565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061174357607f821691505b60208210811415611757576117566116fc565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061179782611487565b91506117a283611487565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156117d7576117d661175d565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611818602083611374565b9150611823826117e2565b602082019050919050565b600060208201905081810360008301526118478161180b565b9050919050565b7f53616665546f6b656e3a20746f6b656e206973206e6f74207061757365640000600082015250565b6000611884601e83611374565b915061188f8261184e565b602082019050919050565b600060208201905081810360008301526118b381611877565b9050919050565b6000815190506118c981611491565b92915050565b6000602082840312156118e5576118e4611424565b5b60006118f3848285016118ba565b91505092915050565b7f546f6b656e526573637565723a204e6f20746f6b656e7320746f20726573637560008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000611958602183611374565b9150611963826118fc565b604082019050919050565b600060208201905081810360008301526119878161194b565b9050919050565b60006040820190506119a36000830185611692565b6119b06020830184611533565b9392505050565b6119c0816114fd565b81146119cb57600080fd5b50565b6000815190506119dd816119b7565b92915050565b6000602082840312156119f9576119f8611424565b5b6000611a07848285016119ce565b91505092915050565b7f546f6b656e526573637565723a20436f756c64206e6f7420726573637565207460008201527f6f6b656e00000000000000000000000000000000000000000000000000000000602082015250565b6000611a6c602483611374565b9150611a7782611a10565b604082019050919050565b60006020820190508181036000830152611a9b81611a5f565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611afe602583611374565b9150611b0982611aa2565b604082019050919050565b60006020820190508181036000830152611b2d81611af1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611b90602683611374565b9150611b9b82611b34565b604082019050919050565b60006020820190508181036000830152611bbf81611b83565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611c22602483611374565b9150611c2d82611bc6565b604082019050919050565b60006020820190508181036000830152611c5181611c15565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611cb4602283611374565b9150611cbf82611c58565b604082019050919050565b60006020820190508181036000830152611ce381611ca7565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611d20601d83611374565b9150611d2b82611cea565b602082019050919050565b60006020820190508181036000830152611d4f81611d13565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611db2602583611374565b9150611dbd82611d56565b604082019050919050565b60006020820190508181036000830152611de181611da5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611e44602383611374565b9150611e4f82611de8565b604082019050919050565b60006020820190508181036000830152611e7381611e37565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611ed6602683611374565b9150611ee182611e7a565b604082019050919050565b60006020820190508181036000830152611f0581611ec9565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000611f42601483611374565b9150611f4d82611f0c565b602082019050919050565b60006020820190508181036000830152611f7181611f35565b9050919050565b7f53616665546f6b656e3a2063616e6e6f74207472616e7366657220746f6b656e60008201527f7320746f20746f6b656e20636f6e747261637400000000000000000000000000602082015250565b6000611fd4603383611374565b9150611fdf82611f78565b604082019050919050565b6000602082019050818103600083015261200381611fc7565b9050919050565b7f53616665546f6b656e3a20746f6b656e207472616e73666572207768696c652060008201527f7061757365640000000000000000000000000000000000000000000000000000602082015250565b6000612066602683611374565b91506120718261200a565b604082019050919050565b6000602082019050818103600083015261209581612059565b905091905056fea2646970667358221220a368f719696af082bbf825ebf1efe070741e2ab87b4d745e60398e47e70272f864736f6c634300080b00330000000000000000000000008cf60b289f8d31f737049b590b5e4285ff0bd1d1

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80635c975abb116100a257806395d89b411161007157806395d89b4114610296578063a457c2d7146102b4578063a9059cbb146102e4578063dd62ed3e14610314578063f2fde38b146103445761010b565b80635c975abb1461022057806370a082311461023e578063715018a61461026e5780638da5cb5b146102785761010b565b8063313ce567116100de578063313ce567146101ac57806339509351146101ca5780633f4ba83a146101fa5780634707d000146102045761010b565b806306fdde0314610110578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017c575b600080fd5b610118610360565b6040516101259190611402565b60405180910390f35b610148600480360381019061014391906114bd565b6103f2565b6040516101559190611518565b60405180910390f35b610166610415565b6040516101739190611542565b60405180910390f35b6101966004803603810190610191919061155d565b61041f565b6040516101a39190611518565b60405180910390f35b6101b461044e565b6040516101c191906115cc565b60405180910390f35b6101e460048036038101906101df91906114bd565b610457565b6040516101f19190611518565b60405180910390f35b610202610501565b005b61021e60048036038101906102199190611625565b6105ce565b005b6102286107d8565b6040516102359190611518565b60405180910390f35b61025860048036038101906102539190611665565b6107ef565b6040516102659190611542565b60405180910390f35b610276610837565b005b6102806108bf565b60405161028d91906116a1565b60405180910390f35b61029e6108e9565b6040516102ab9190611402565b60405180910390f35b6102ce60048036038101906102c991906114bd565b61097b565b6040516102db9190611518565b60405180910390f35b6102fe60048036038101906102f991906114bd565b610a65565b60405161030b9190611518565b60405180910390f35b61032e600480360381019061032991906116bc565b610a88565b60405161033b9190611542565b60405180910390f35b61035e60048036038101906103599190611665565b610b0f565b005b60606003805461036f9061172b565b80601f016020809104026020016040519081016040528092919081815260200182805461039b9061172b565b80156103e85780601f106103bd576101008083540402835291602001916103e8565b820191906000526020600020905b8154815290600101906020018083116103cb57829003601f168201915b5050505050905090565b6000806103fd610c0c565b905061040a818585610c14565b600191505092915050565b6000600254905090565b60008061042a610c0c565b9050610437858285610ddf565b610442858585610e6b565b60019150509392505050565b60006012905090565b600080610462610c0c565b90506104f6818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104f1919061178c565b610c14565b600191505092915050565b610509610c0c565b73ffffffffffffffffffffffffffffffffffffffff166105276108bf565b73ffffffffffffffffffffffffffffffffffffffff161461057d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105749061182e565b60405180910390fd5b6105856107d8565b6105c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105bb9061189a565b60405180910390fd5b6105cc6110ec565b565b6105d6610c0c565b73ffffffffffffffffffffffffffffffffffffffff166105f46108bf565b73ffffffffffffffffffffffffffffffffffffffff161461064a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106419061182e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161068591906116a1565b602060405180830381865afa1580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c691906118cf565b90506000811161070b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107029061196e565b60405180910390fd5b61071683838361118e565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161075192919061198e565b6020604051808303816000875af1158015610770573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079491906119e3565b6107d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ca90611a82565b60405180910390fd5b505050565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61083f610c0c565b73ffffffffffffffffffffffffffffffffffffffff1661085d6108bf565b73ffffffffffffffffffffffffffffffffffffffff16146108b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108aa9061182e565b60405180910390fd5b6108bd6000611193565b565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546108f89061172b565b80601f01602080910402602001604051908101604052809291908181526020018280546109249061172b565b80156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b5050505050905090565b600080610986610c0c565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4390611b14565b60405180910390fd5b610a598286868403610c14565b60019250505092915050565b600080610a70610c0c565b9050610a7d818585610e6b565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610b17610c0c565b73ffffffffffffffffffffffffffffffffffffffff16610b356108bf565b73ffffffffffffffffffffffffffffffffffffffff1614610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b829061182e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290611ba6565b60405180910390fd5b610c0481611193565b50565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b90611c38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb90611cca565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610dd29190611542565b60405180910390a3505050565b6000610deb8484610a88565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e655781811015610e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4e90611d36565b60405180910390fd5b610e648484848403610c14565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290611dc8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290611e5a565b60405180910390fd5b610f56838383611259565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd390611eec565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461106f919061178c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110d39190611542565b60405180910390a36110e6848484611364565b50505050565b6110f46107d8565b611133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112a90611f58565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611177610c0c565b60405161118491906116a1565b60405180910390a1565b505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611264838383610c07565b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ca90611fea565b60405180910390fd5b6112db6107d8565b158061132057506112ea610c0c565b73ffffffffffffffffffffffffffffffffffffffff166113086108bf565b73ffffffffffffffffffffffffffffffffffffffff16145b61135f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113569061207c565b60405180910390fd5b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156113a3578082015181840152602081019050611388565b838111156113b2576000848401525b50505050565b6000601f19601f8301169050919050565b60006113d482611369565b6113de8185611374565b93506113ee818560208601611385565b6113f7816113b8565b840191505092915050565b6000602082019050818103600083015261141c81846113c9565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061145482611429565b9050919050565b61146481611449565b811461146f57600080fd5b50565b6000813590506114818161145b565b92915050565b6000819050919050565b61149a81611487565b81146114a557600080fd5b50565b6000813590506114b781611491565b92915050565b600080604083850312156114d4576114d3611424565b5b60006114e285828601611472565b92505060206114f3858286016114a8565b9150509250929050565b60008115159050919050565b611512816114fd565b82525050565b600060208201905061152d6000830184611509565b92915050565b61153c81611487565b82525050565b60006020820190506115576000830184611533565b92915050565b60008060006060848603121561157657611575611424565b5b600061158486828701611472565b935050602061159586828701611472565b92505060406115a6868287016114a8565b9150509250925092565b600060ff82169050919050565b6115c6816115b0565b82525050565b60006020820190506115e160008301846115bd565b92915050565b60006115f282611449565b9050919050565b611602816115e7565b811461160d57600080fd5b50565b60008135905061161f816115f9565b92915050565b6000806040838503121561163c5761163b611424565b5b600061164a85828601611610565b925050602061165b85828601611472565b9150509250929050565b60006020828403121561167b5761167a611424565b5b600061168984828501611472565b91505092915050565b61169b81611449565b82525050565b60006020820190506116b66000830184611692565b92915050565b600080604083850312156116d3576116d2611424565b5b60006116e185828601611472565b92505060206116f285828601611472565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061174357607f821691505b60208210811415611757576117566116fc565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061179782611487565b91506117a283611487565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156117d7576117d661175d565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611818602083611374565b9150611823826117e2565b602082019050919050565b600060208201905081810360008301526118478161180b565b9050919050565b7f53616665546f6b656e3a20746f6b656e206973206e6f74207061757365640000600082015250565b6000611884601e83611374565b915061188f8261184e565b602082019050919050565b600060208201905081810360008301526118b381611877565b9050919050565b6000815190506118c981611491565b92915050565b6000602082840312156118e5576118e4611424565b5b60006118f3848285016118ba565b91505092915050565b7f546f6b656e526573637565723a204e6f20746f6b656e7320746f20726573637560008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000611958602183611374565b9150611963826118fc565b604082019050919050565b600060208201905081810360008301526119878161194b565b9050919050565b60006040820190506119a36000830185611692565b6119b06020830184611533565b9392505050565b6119c0816114fd565b81146119cb57600080fd5b50565b6000815190506119dd816119b7565b92915050565b6000602082840312156119f9576119f8611424565b5b6000611a07848285016119ce565b91505092915050565b7f546f6b656e526573637565723a20436f756c64206e6f7420726573637565207460008201527f6f6b656e00000000000000000000000000000000000000000000000000000000602082015250565b6000611a6c602483611374565b9150611a7782611a10565b604082019050919050565b60006020820190508181036000830152611a9b81611a5f565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611afe602583611374565b9150611b0982611aa2565b604082019050919050565b60006020820190508181036000830152611b2d81611af1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611b90602683611374565b9150611b9b82611b34565b604082019050919050565b60006020820190508181036000830152611bbf81611b83565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611c22602483611374565b9150611c2d82611bc6565b604082019050919050565b60006020820190508181036000830152611c5181611c15565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611cb4602283611374565b9150611cbf82611c58565b604082019050919050565b60006020820190508181036000830152611ce381611ca7565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611d20601d83611374565b9150611d2b82611cea565b602082019050919050565b60006020820190508181036000830152611d4f81611d13565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611db2602583611374565b9150611dbd82611d56565b604082019050919050565b60006020820190508181036000830152611de181611da5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611e44602383611374565b9150611e4f82611de8565b604082019050919050565b60006020820190508181036000830152611e7381611e37565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611ed6602683611374565b9150611ee182611e7a565b604082019050919050565b60006020820190508181036000830152611f0581611ec9565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000611f42601483611374565b9150611f4d82611f0c565b602082019050919050565b60006020820190508181036000830152611f7181611f35565b9050919050565b7f53616665546f6b656e3a2063616e6e6f74207472616e7366657220746f6b656e60008201527f7320746f20746f6b656e20636f6e747261637400000000000000000000000000602082015250565b6000611fd4603383611374565b9150611fdf82611f78565b604082019050919050565b6000602082019050818103600083015261200381611fc7565b9050919050565b7f53616665546f6b656e3a20746f6b656e207472616e73666572207768696c652060008201527f7061757365640000000000000000000000000000000000000000000000000000602082015250565b6000612066602683611374565b91506120718261200a565b604082019050919050565b6000602082019050818103600083015261209581612059565b905091905056fea2646970667358221220a368f719696af082bbf825ebf1efe070741e2ab87b4d745e60398e47e70272f864736f6c634300080b0033

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

0000000000000000000000008cf60b289f8d31f737049b590b5e4285ff0bd1d1

-----Decoded View---------------
Arg [0] : owner (address): 0x8CF60B289f8d31F737049B590b5E4285Ff0Bd1D1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008cf60b289f8d31f737049b590b5e4285ff0bd1d1


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.