ETH Price: $1,983.70 (-3.68%)

Contract

0x8f84C1D37fA5e21C81A5Bf4D3D5F2E718A2D8EB4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

Transaction Hash
Method
Block
From
To
Create Token217171662025-01-27 16:50:59423 days ago1737996659IN
0x8f84C1D3...18A2D8EB4
0.005 ETH0.0028505414.35021144
Create Token217171582025-01-27 16:49:23423 days ago1737996563IN
0x8f84C1D3...18A2D8EB4
0.005 ETH0.0023520514.86590191
Create Token188399812023-12-22 7:44:47826 days ago1703231087IN
0x8f84C1D3...18A2D8EB4
0 ETH0.0062032133.17473907
Create Token188399702023-12-22 7:42:35826 days ago1703230955IN
0x8f84C1D3...18A2D8EB4
0 ETH0.0062221133.27369013
Create Token188398322023-12-22 7:14:47826 days ago1703229287IN
0x8f84C1D3...18A2D8EB4
0 ETH0.0056039729.96808004
Create Token187369362023-12-07 20:57:59840 days ago1701982679IN
0x8f84C1D3...18A2D8EB4
0.01 ETH0.0131774566.37014206
Create Token176651232023-07-10 18:45:35990 days ago1689014735IN
0x8f84C1D3...18A2D8EB4
0.001 ETH0.0048501424.43142
Create Token171042322023-04-22 20:21:471069 days ago1682194907IN
0x8f84C1D3...18A2D8EB4
0.0001 ETH0.0081267340.92403624
Create Token167304612023-03-01 1:19:111122 days ago1677633551IN
0x8f84C1D3...18A2D8EB4
0.00062 ETH0.00344417.34762996
Create Token167304582023-03-01 1:18:351122 days ago1677633515IN
0x8f84C1D3...18A2D8EB4
0.00062 ETH0.0033035816.6413077
Create Token167303492023-03-01 0:56:351122 days ago1677632195IN
0x8f84C1D3...18A2D8EB4
0.0031 ETH0.0033203516.72681912
Create Token163769722023-01-10 14:21:471172 days ago1673360507IN
0x8f84C1D3...18A2D8EB4
0.00001 ETH0.0042053221.18240341
Create Token163694222023-01-09 13:03:471173 days ago1673269427IN
0x8f84C1D3...18A2D8EB4
0.000001 ETH0.0028688814.42975596
Create Token163184702023-01-02 10:23:591180 days ago1672655039IN
0x8f84C1D3...18A2D8EB4
0.005 ETH0.0024579412.38153826
Create Token161490552022-12-09 18:52:471203 days ago1670611967IN
0x8f84C1D3...18A2D8EB4
0.0001 ETH0.0042329621.31651582
Create Token161476992022-12-09 14:20:471204 days ago1670595647IN
0x8f84C1D3...18A2D8EB4
0.0001 ETH0.004802324.16899222
Create Token161433812022-12-08 23:49:471204 days ago1670543387IN
0x8f84C1D3...18A2D8EB4
0.0001 ETH0.0028401114.30059813
Create Token161433722022-12-08 23:47:591204 days ago1670543279IN
0x8f84C1D3...18A2D8EB4
0.0001 ETH0.0024037912.10072781
Create Token161429122022-12-08 22:15:351204 days ago1670537735IN
0x8f84C1D3...18A2D8EB4
0.00001 ETH0.0024667912.41713138
Create Token161424722022-12-08 20:47:111204 days ago1670532431IN
0x8f84C1D3...18A2D8EB4
0.001 ETH0.00252112.68919398
Create Token161221032022-12-06 0:15:471207 days ago1670285747IN
0x8f84C1D3...18A2D8EB4
0 ETH0.0021158511.31655734
Create Token158509472022-10-29 3:11:111245 days ago1667013071IN
0x8f84C1D3...18A2D8EB4
0 ETH0.001603868.57600433
Create Token158365672022-10-27 2:56:591247 days ago1666839419IN
0x8f84C1D3...18A2D8EB4
0 ETH0.00175979.41109703
Create Token157155202022-10-10 5:09:111264 days ago1665378551IN
0x8f84C1D3...18A2D8EB4
0 ETH0.0057264730.62775709
Create Token157022872022-10-08 8:50:471266 days ago1665219047IN
0x8f84C1D3...18A2D8EB4
0.005 ETH0.001240776.24795923
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
0x3d602d80217171662025-01-27 16:50:59423 days ago1737996659
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer217171662025-01-27 16:50:59423 days ago1737996659
0x8f84C1D3...18A2D8EB4
0.005 ETH
0x3d602d80217171582025-01-27 16:49:23423 days ago1737996563
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer217171582025-01-27 16:49:23423 days ago1737996563
0x8f84C1D3...18A2D8EB4
0.005 ETH
0x3d602d80188399812023-12-22 7:44:47826 days ago1703231087
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
0x3d602d80188399702023-12-22 7:42:35826 days ago1703230955
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
0x3d602d80188398322023-12-22 7:14:47826 days ago1703229287
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
0x3d602d80187369362023-12-07 20:57:59840 days ago1701982679
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer187369362023-12-07 20:57:59840 days ago1701982679
0x8f84C1D3...18A2D8EB4
0.01 ETH
0x3d602d80176651232023-07-10 18:45:35990 days ago1689014735
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer176651232023-07-10 18:45:35990 days ago1689014735
0x8f84C1D3...18A2D8EB4
0.001 ETH
0x3d602d80171042322023-04-22 20:21:471069 days ago1682194907
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer171042322023-04-22 20:21:471069 days ago1682194907
0x8f84C1D3...18A2D8EB4
0.0001 ETH
0x3d602d80167304612023-03-01 1:19:111122 days ago1677633551
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer167304612023-03-01 1:19:111122 days ago1677633551
0x8f84C1D3...18A2D8EB4
0.00062 ETH
0x3d602d80167304582023-03-01 1:18:351122 days ago1677633515
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer167304582023-03-01 1:18:351122 days ago1677633515
0x8f84C1D3...18A2D8EB4
0.00062 ETH
0x3d602d80167303492023-03-01 0:56:351122 days ago1677632195
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer167303492023-03-01 0:56:351122 days ago1677632195
0x8f84C1D3...18A2D8EB4
0.0031 ETH
0x3d602d80163769722023-01-10 14:21:471172 days ago1673360507
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer163769722023-01-10 14:21:471172 days ago1673360507
0x8f84C1D3...18A2D8EB4
0.00001 ETH
0x3d602d80163694222023-01-09 13:03:471173 days ago1673269427
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer163694222023-01-09 13:03:471173 days ago1673269427
0x8f84C1D3...18A2D8EB4
0.000001 ETH
0x3d602d80163184702023-01-02 10:23:591180 days ago1672655039
0x8f84C1D3...18A2D8EB4
 Contract Creation0 ETH
Transfer163184702023-01-02 10:23:591180 days ago1672655039
0x8f84C1D3...18A2D8EB4
0.005 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20Factory

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/token/ERC20/presets/ERC20PresetFixedSupplyUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts/proxy/Clones.sol";

contract ERC20Factory is OwnableUpgradeable {
    address immutable tokenImplementation;
    address feeTaker; // Enable the ability to charge for factory use.
    uint256 price; // Enable setting a price for the service.

    constructor() {
        OwnableUpgradeable.__Ownable_init_unchained(); // Set the initial owner.

        tokenImplementation = address(new ERC20PresetFixedSupplyUpgradeable());
        feeTaker = 0x92Ce0aC59ACCA8Ec7BdC5085AA17866a5D133a6A; // Initial fee taker address.
        price = 0; // Price starting a free.
    }

    function createToken(string calldata name, string calldata symbol, uint256 initialSupply) payable external returns (address) {
        // If we have a price set ensure the correct price has been paid.
        require(msg.value >= price, "Please send enough ether");

        // If the user sent a tip send it to the creator address.
        if(msg.value > 0) {
            address payable creator = payable(feeTaker);
            creator.transfer(address(this).balance);
        }

        // Lets create our token!
        address clone = Clones.clone(tokenImplementation);
        ERC20PresetFixedSupplyUpgradeable(clone).initialize(name, symbol, initialSupply, msg.sender);
        return clone;
    }

    function changeFeeTaker (address newAddress) public onlyOwner() returns(address) {
        feeTaker = newAddress;
        return feeTaker;
    }
    function getFeeTaker() public view returns(address) {
        return feeTaker;
    }

    function changePrice (uint256 newPrice) public onlyOwner() returns(uint256) {
        price = newPrice;
        return price;
    }

    function getPrice() public view returns(uint256) {
        return price;
    }

}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "../extensions/ERC20BurnableUpgradeable.sol";
import "../../../proxy/utils/Initializable.sol";

/**
 * @dev {ERC20} token, including:
 *
 *  - Preminted initial supply
 *  - Ability for holders to burn (destroy) their tokens
 *  - No access control mechanism (for minting/pausing) and hence no governance
 *
 * This contract uses {ERC20Burnable} to include burn capabilities - head to
 * its documentation for details.
 *
 * _Available since v3.4._
 */
contract ERC20PresetFixedSupplyUpgradeable is Initializable, ERC20BurnableUpgradeable {
    function initialize(
        string memory name,
        string memory symbol,
        uint256 initialSupply,
        address owner
    ) public virtual initializer {
        __ERC20PresetFixedSupply_init(name, symbol, initialSupply, owner);
    }
    /**
     * @dev Mints `initialSupply` amount of token and transfers them to `owner`.
     *
     * See {ERC20-constructor}.
     */
    function __ERC20PresetFixedSupply_init(
        string memory name,
        string memory symbol,
        uint256 initialSupply,
        address owner
    ) internal initializer {
        __Context_init_unchained();
        __ERC20_init_unchained(name, symbol);
        __ERC20Burnable_init_unchained();
        __ERC20PresetFixedSupply_init_unchained(name, symbol, initialSupply, owner);
    }

    function __ERC20PresetFixedSupply_init_unchained(
        string memory name,
        string memory symbol,
        uint256 initialSupply,
        address owner
    ) internal initializer {
        _mint(owner, initialSupply);
    }
    uint256[50] private __gap;
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for
 * deploying minimal proxy contracts, also known as "clones".
 *
 * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies
 * > a minimal bytecode implementation that delegates all calls to a known, fixed address.
 *
 * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2`
 * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the
 * deterministic method.
 *
 * _Available since v3.4._
 */
library Clones {
    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create opcode, which should never revert.
     */
    function clone(address implementation) internal returns (address instance) {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(ptr, 0x14), shl(0x60, implementation))
            mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
            instance := create(0, ptr, 0x37)
        }
        require(instance != address(0), "ERC1167: create failed");
    }

    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create2 opcode and a `salt` to deterministically deploy
     * the clone. Using the same `implementation` and `salt` multiple time will revert, since
     * the clones cannot be deployed twice at the same address.
     */
    function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(ptr, 0x14), shl(0x60, implementation))
            mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
            instance := create2(0, ptr, 0x37, salt)
        }
        require(instance != address(0), "ERC1167: create2 failed");
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(address implementation, bytes32 salt, address deployer) internal pure returns (address predicted) {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(ptr, 0x14), shl(0x60, implementation))
            mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000)
            mstore(add(ptr, 0x38), shl(0x60, deployer))
            mstore(add(ptr, 0x4c), salt)
            mstore(add(ptr, 0x6c), keccak256(ptr, 0x37))
            predicted := keccak256(add(ptr, 0x37), 0x55)
        }
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(address implementation, bytes32 salt) internal view returns (address predicted) {
        return predictDeterministicAddress(implementation, salt, address(this));
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20Upgradeable.sol";
import "../../../utils/ContextUpgradeable.sol";
import "../../../proxy/utils/Initializable.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 ERC20BurnableUpgradeable is Initializable, ContextUpgradeable, ERC20Upgradeable {
    function __ERC20Burnable_init() internal initializer {
        __Context_init_unchained();
        __ERC20Burnable_init_unchained();
    }

    function __ERC20Burnable_init_unchained() internal initializer {
    }
    /**
     * @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");
        _approve(account, _msgSender(), currentAllowance - amount);
        _burn(account, amount);
    }
    uint256[50] private __gap;
}

File 6 of 10 : Initializable.sol
// SPDX-License-Identifier: MIT

// solhint-disable-next-line compiler-version
pragma solidity ^0.8.0;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20Upgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../proxy/utils/Initializable.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 guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable {
    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 defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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
     * overloaded;
     *
     * 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 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");
        _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");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(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:
     *
     * - `to` 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);
    }

    /**
     * @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");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(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 to 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 { }
    uint256[45] private __gap;
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/*
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
    uint256[50] private __gap;
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"changeFeeTaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"changePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"name":"createToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getFeeTaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b5061002361008e60201b6104e01760201c565b60405161002f90610168565b604051809103906000f08015801561004b573d6000803e3d6000fd5b5060601b6001600160601b031916608052606580547392ce0ac59acca8ec7bdc5085aa17866a5d133a6a6001600160a01b031990911617905560006066556101c3565b600054610100900460ff16806100a7575060005460ff16155b6100cc5760405162461bcd60e51b81526004016100c390610175565b60405180910390fd5b600054610100900460ff161580156100f7576000805460ff1961ff0019909116610100171660011790555b6000610101610164565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015610161576000805461ff00191690555b50565b3390565b61132080610b4783390190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60805160601c6109666101e160003960006101e401526109666000f3fe60806040526004361061007b5760003560e01c8063955661e51161004e578063955661e5146100f557806398d5fdca1461010a578063a2b40d191461012c578063f2fde38b1461014c5761007b565b80635b06053014610080578063715018a6146100a95780638da5cb5b146100c0578063932d70ef146100d5575b600080fd5b61009361008e3660046106b9565b61016c565b6040516100a0919061076c565b60405180910390f35b3480156100b557600080fd5b506100be610297565b005b3480156100cc57600080fd5b5061009361032d565b3480156100e157600080fd5b506100936100f036600461068b565b61033c565b34801561010157600080fd5b506100936103b3565b34801561011657600080fd5b5061011f6103c2565b6040516100a09190610927565b34801561013857600080fd5b5061011f61014736600461072a565b6103c8565b34801561015857600080fd5b506100be61016736600461068b565b610412565b60006066543410156101995760405162461bcd60e51b815260040161019090610827565b60405180910390fd5b34156101dd576065546040516001600160a01b039091169081904780156108fc02916000818181858888f193505050501580156101da573d6000803e3d6000fd5b50505b60006102087f00000000000000000000000000000000000000000000000000000000000000006105ba565b6040517fbd3a13f60000000000000000000000000000000000000000000000000000000081529091506001600160a01b0382169063bd3a13f69061025a908a908a908a908a908a903390600401610780565b600060405180830381600087803b15801561027457600080fd5b505af1158015610288573d6000803e3d6000fd5b50929998505050505050505050565b61029f610640565b6001600160a01b03166102b061032d565b6001600160a01b0316146102d65760405162461bcd60e51b8152600401610190906108f2565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36033805473ffffffffffffffffffffffffffffffffffffffff19169055565b6033546001600160a01b031690565b6000610346610640565b6001600160a01b031661035761032d565b6001600160a01b03161461037d5760405162461bcd60e51b8152600401610190906108f2565b506065805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038381169190911791829055165b919050565b6065546001600160a01b031690565b60665490565b60006103d2610640565b6001600160a01b03166103e361032d565b6001600160a01b0316146104095760405162461bcd60e51b8152600401610190906108f2565b50606681905590565b61041a610640565b6001600160a01b031661042b61032d565b6001600160a01b0316146104515760405162461bcd60e51b8152600401610190906108f2565b6001600160a01b0381166104775760405162461bcd60e51b8152600401610190906107ca565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36033805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600054610100900460ff16806104f9575060005460ff16155b6105155760405162461bcd60e51b815260040161019090610895565b600054610100900460ff16158015610540576000805460ff1961ff0019909116610100171660011790555b600061054a610640565b6033805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156105b7576000805461ff00191690555b50565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f09150506001600160a01b0381166103ae5760405162461bcd60e51b81526004016101909061085e565b3390565b60008083601f840112610655578182fd5b50813567ffffffffffffffff81111561066c578182fd5b60208301915083602082850101111561068457600080fd5b9250929050565b60006020828403121561069c578081fd5b81356001600160a01b03811681146106b2578182fd5b9392505050565b6000806000806000606086880312156106d0578081fd5b853567ffffffffffffffff808211156106e7578283fd5b6106f389838a01610644565b9097509550602088013591508082111561070b578283fd5b5061071888828901610644565b96999598509660400135949350505050565b60006020828403121561073b578081fd5b5035919050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b6001600160a01b0391909116815260200190565b60006080825261079460808301888a610742565b82810360208401526107a7818789610742565b9150508360408301526001600160a01b0383166060830152979650505050505050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f506c656173652073656e6420656e6f7567682065746865720000000000000000604082015260600190565b60208082526016908201527f455243313136373a20637265617465206661696c656400000000000000000000604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201527f647920696e697469616c697a6564000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b9081526020019056fea2646970667358221220f861382f1fbc7e3bd83cc9db16c108653d784fb3ebfc3ee27973ae6f2e6cdd5664736f6c63430008000033608060405234801561001057600080fd5b50611300806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101c0578063a9059cbb146101d3578063bd3a13f6146101e6578063dd62ed3e146101f9576100ea565b806370a082311461019257806379cc6790146101a557806395d89b41146101b8576100ea565b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016a57806342966c681461017d576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd1461012d575b600080fd5b6100f761020c565b6040516101049190610d94565b60405180910390f35b61012061011b366004610ccd565b61029e565b6040516101049190610d89565b6101356102bb565b604051610104919061121d565b610120610150366004610c92565b6102c1565b61015d610361565b6040516101049190611226565b610120610178366004610ccd565b610366565b61019061018b366004610d71565b6103b5565b005b6101356101a0366004610c3f565b6103c9565b6101906101b3366004610ccd565b6103e8565b6100f761043d565b6101206101ce366004610ccd565b61044c565b6101206101e1366004610ccd565b6104c7565b6101906101f4366004610cf6565b6104db565b610135610207366004610c60565b610560565b60606036805461021b90611263565b80601f016020809104026020016040519081016040528092919081815260200182805461024790611263565b80156102945780601f1061026957610100808354040283529160200191610294565b820191906000526020600020905b81548152906001019060200180831161027757829003601f168201915b5050505050905090565b60006102b26102ab61058b565b848461058f565b50600192915050565b60355490565b60006102ce848484610643565b6001600160a01b0384166000908152603460205260408120816102ef61058b565b6001600160a01b03166001600160a01b031681526020019081526020016000205490508281101561033b5760405162461bcd60e51b815260040161033290610fb8565b60405180910390fd5b6103568561034761058b565b610351868561124c565b61058f565b506001949350505050565b601290565b60006102b261037361058b565b84846034600061038161058b565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546103519190611234565b6103c66103c061058b565b8261076b565b50565b6001600160a01b0381166000908152603360205260409020545b919050565b60006103f68361020761058b565b9050818110156104185760405162461bcd60e51b815260040161033290611015565b61042e8361042461058b565b610351858561124c565b610438838361076b565b505050565b60606037805461021b90611263565b6000806034600061045b61058b565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156104a75760405162461bcd60e51b815260040161033290611189565b6104bd6104b261058b565b85610351868561124c565b5060019392505050565b60006102b26104d461058b565b8484610643565b600054610100900460ff16806104f4575060005460ff16155b6105105760405162461bcd60e51b815260040161033290610f5b565b600054610100900460ff1615801561053b576000805460ff1961ff0019909116610100171660011790555b61054785858585610851565b8015610559576000805461ff00191690555b5050505050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166105b55760405162461bcd60e51b81526004016103329061112c565b6001600160a01b0382166105db5760405162461bcd60e51b815260040161033290610ea1565b6001600160a01b0380841660008181526034602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061063690859061121d565b60405180910390a3505050565b6001600160a01b0383166106695760405162461bcd60e51b8152600401610332906110cf565b6001600160a01b03821661068f5760405162461bcd60e51b815260040161033290610de7565b61069a838383610438565b6001600160a01b038316600090815260336020526040902054818110156106d35760405162461bcd60e51b815260040161033290610efe565b6106dd828261124c565b6001600160a01b038086166000908152603360205260408082209390935590851681529081208054849290610713908490611234565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161075d919061121d565b60405180910390a350505050565b6001600160a01b0382166107915760405162461bcd60e51b815260040161033290611072565b61079d82600083610438565b6001600160a01b038216600090815260336020526040902054818110156107d65760405162461bcd60e51b815260040161033290610e44565b6107e0828261124c565b6001600160a01b0384166000908152603360205260408120919091556035805484929061080e90849061124c565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061063690869061121d565b600054610100900460ff168061086a575060005460ff16155b6108865760405162461bcd60e51b815260040161033290610f5b565b600054610100900460ff161580156108b1576000805460ff1961ff0019909116610100171660011790555b6108b96108d7565b6108c3858561094b565b6108cb6108d7565b610547858585856109e9565b600054610100900460ff16806108f0575060005460ff16155b61090c5760405162461bcd60e51b815260040161033290610f5b565b600054610100900460ff16158015610937576000805460ff1961ff0019909116610100171660011790555b80156103c6576000805461ff001916905550565b600054610100900460ff1680610964575060005460ff16155b6109805760405162461bcd60e51b815260040161033290610f5b565b600054610100900460ff161580156109ab576000805460ff1961ff0019909116610100171660011790555b82516109be906036906020860190610b0e565b5081516109d2906037906020850190610b0e565b508015610438576000805461ff0019169055505050565b600054610100900460ff1680610a02575060005460ff16155b610a1e5760405162461bcd60e51b815260040161033290610f5b565b600054610100900460ff16158015610a49576000805460ff1961ff0019909116610100171660011790555b61054782846001600160a01b038216610a745760405162461bcd60e51b8152600401610332906111e6565b610a8060008383610438565b8060356000828254610a929190611234565b90915550506001600160a01b03821660009081526033602052604081208054839290610abf908490611234565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b0290859061121d565b60405180910390a35050565b828054610b1a90611263565b90600052602060002090601f016020900481019282610b3c5760008555610b82565b82601f10610b5557805160ff1916838001178555610b82565b82800160010185558215610b82579182015b82811115610b82578251825591602001919060010190610b67565b50610b8e929150610b92565b5090565b5b80821115610b8e5760008155600101610b93565b80356001600160a01b03811681146103e357600080fd5b600082601f830112610bce578081fd5b813567ffffffffffffffff80821115610be957610be96112b4565b604051601f8301601f191681016020018281118282101715610c0d57610c0d6112b4565b604052828152848301602001861015610c24578384fd5b82602086016020830137918201602001929092529392505050565b600060208284031215610c50578081fd5b610c5982610ba7565b9392505050565b60008060408385031215610c72578081fd5b610c7b83610ba7565b9150610c8960208401610ba7565b90509250929050565b600080600060608486031215610ca6578081fd5b610caf84610ba7565b9250610cbd60208501610ba7565b9150604084013590509250925092565b60008060408385031215610cdf578182fd5b610ce883610ba7565b946020939093013593505050565b60008060008060808587031215610d0b578081fd5b843567ffffffffffffffff80821115610d22578283fd5b610d2e88838901610bbe565b95506020870135915080821115610d43578283fd5b50610d5087828801610bbe565b93505060408501359150610d6660608601610ba7565b905092959194509250565b600060208284031215610d82578081fd5b5035919050565b901515815260200190565b6000602080835283518082850152825b81811015610dc057858101830151858201604001528201610da4565b81811115610dd15783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60408201527f6365000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201527f647920696e697469616c697a6564000000000000000000000000000000000000606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160408201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760408201527f616e636500000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b600082198211156112475761124761129e565b500190565b60008282101561125e5761125e61129e565b500390565b60028104600182168061127757607f821691505b6020821081141561129857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220db16152a0d3e1a0c21d82070999aea7429c37a709813b9a1f4e10e361726c8f564736f6c63430008000033

Deployed Bytecode

0x60806040526004361061007b5760003560e01c8063955661e51161004e578063955661e5146100f557806398d5fdca1461010a578063a2b40d191461012c578063f2fde38b1461014c5761007b565b80635b06053014610080578063715018a6146100a95780638da5cb5b146100c0578063932d70ef146100d5575b600080fd5b61009361008e3660046106b9565b61016c565b6040516100a0919061076c565b60405180910390f35b3480156100b557600080fd5b506100be610297565b005b3480156100cc57600080fd5b5061009361032d565b3480156100e157600080fd5b506100936100f036600461068b565b61033c565b34801561010157600080fd5b506100936103b3565b34801561011657600080fd5b5061011f6103c2565b6040516100a09190610927565b34801561013857600080fd5b5061011f61014736600461072a565b6103c8565b34801561015857600080fd5b506100be61016736600461068b565b610412565b60006066543410156101995760405162461bcd60e51b815260040161019090610827565b60405180910390fd5b34156101dd576065546040516001600160a01b039091169081904780156108fc02916000818181858888f193505050501580156101da573d6000803e3d6000fd5b50505b60006102087f00000000000000000000000075f694dc44d07864bcaa493ee9eb0313c72dd2806105ba565b6040517fbd3a13f60000000000000000000000000000000000000000000000000000000081529091506001600160a01b0382169063bd3a13f69061025a908a908a908a908a908a903390600401610780565b600060405180830381600087803b15801561027457600080fd5b505af1158015610288573d6000803e3d6000fd5b50929998505050505050505050565b61029f610640565b6001600160a01b03166102b061032d565b6001600160a01b0316146102d65760405162461bcd60e51b8152600401610190906108f2565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36033805473ffffffffffffffffffffffffffffffffffffffff19169055565b6033546001600160a01b031690565b6000610346610640565b6001600160a01b031661035761032d565b6001600160a01b03161461037d5760405162461bcd60e51b8152600401610190906108f2565b506065805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038381169190911791829055165b919050565b6065546001600160a01b031690565b60665490565b60006103d2610640565b6001600160a01b03166103e361032d565b6001600160a01b0316146104095760405162461bcd60e51b8152600401610190906108f2565b50606681905590565b61041a610640565b6001600160a01b031661042b61032d565b6001600160a01b0316146104515760405162461bcd60e51b8152600401610190906108f2565b6001600160a01b0381166104775760405162461bcd60e51b8152600401610190906107ca565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36033805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600054610100900460ff16806104f9575060005460ff16155b6105155760405162461bcd60e51b815260040161019090610895565b600054610100900460ff16158015610540576000805460ff1961ff0019909116610100171660011790555b600061054a610640565b6033805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156105b7576000805461ff00191690555b50565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f09150506001600160a01b0381166103ae5760405162461bcd60e51b81526004016101909061085e565b3390565b60008083601f840112610655578182fd5b50813567ffffffffffffffff81111561066c578182fd5b60208301915083602082850101111561068457600080fd5b9250929050565b60006020828403121561069c578081fd5b81356001600160a01b03811681146106b2578182fd5b9392505050565b6000806000806000606086880312156106d0578081fd5b853567ffffffffffffffff808211156106e7578283fd5b6106f389838a01610644565b9097509550602088013591508082111561070b578283fd5b5061071888828901610644565b96999598509660400135949350505050565b60006020828403121561073b578081fd5b5035919050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b6001600160a01b0391909116815260200190565b60006080825261079460808301888a610742565b82810360208401526107a7818789610742565b9150508360408301526001600160a01b0383166060830152979650505050505050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f506c656173652073656e6420656e6f7567682065746865720000000000000000604082015260600190565b60208082526016908201527f455243313136373a20637265617465206661696c656400000000000000000000604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201527f647920696e697469616c697a6564000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b9081526020019056fea2646970667358221220f861382f1fbc7e3bd83cc9db16c108653d784fb3ebfc3ee27973ae6f2e6cdd5664736f6c63430008000033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.