MOVR Price: $21.45 (-0.52%)
Gas: 4 GWei

Contract

0xF8022F5DbA4aD1771Ed4B176DcDF2E8DE5710f94

Overview

MOVR Balance

Moonriver Chain LogoMoonriver Chain LogoMoonriver Chain Logo0 MOVR

MOVR Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Create15203782022-02-24 6:46:48763 days ago1645685208IN
0xF8022F5D...DE5710f94
0 MOVR0.000607081
Create15086502022-02-20 22:33:18766 days ago1645396398IN
0xF8022F5D...DE5710f94
0 MOVR0.000607021
Create15062752022-02-20 7:31:18767 days ago1645342278IN
0xF8022F5D...DE5710f94
0 MOVR0.000607021
Create15062592022-02-20 7:25:48767 days ago1645341948IN
0xF8022F5D...DE5710f94
0 MOVR0.000607021
Create14900092022-02-16 5:49:06771 days ago1644990546IN
0xF8022F5D...DE5710f94
0 MOVR0.000607081
Create14386392022-02-04 23:22:18782 days ago1644016938IN
0xF8022F5D...DE5710f94
0 MOVR0.000488511
Create14249902022-02-02 22:27:00784 days ago1643840820IN
0xF8022F5D...DE5710f94
0 MOVR0.000601831
Create14243842022-02-02 20:15:48784 days ago1643832948IN
0xF8022F5D...DE5710f94
0 MOVR0.000601881
Create14230482022-02-02 15:30:36784 days ago1643815836IN
0xF8022F5D...DE5710f94
0 MOVR0.000601961
Create13920732022-01-29 1:39:18789 days ago1643420358IN
0xF8022F5D...DE5710f94
0 MOVR0.000601821
Create13897082022-01-28 17:14:12789 days ago1643390052IN
0xF8022F5D...DE5710f94
0 MOVR0.000601851
Create13856792022-01-28 2:49:24790 days ago1643338164IN
0xF8022F5D...DE5710f94
0 MOVR0.000601961
Create13827262022-01-27 16:06:54790 days ago1643299614IN
0xF8022F5D...DE5710f94
0 MOVR0.000601851
Create13785272022-01-27 1:04:37791 days ago1643245477IN
0xF8022F5D...DE5710f94
0 MOVR0.000601941
Create13767162022-01-26 18:26:00791 days ago1643221560IN
0xF8022F5D...DE5710f94
0 MOVR0.000601761
Create13764182022-01-26 17:20:18791 days ago1643217618IN
0xF8022F5D...DE5710f94
0 MOVR0.000601841
Create13760352022-01-26 15:59:54791 days ago1643212794IN
0xF8022F5D...DE5710f94
0 MOVR0.000601821
Create13752092022-01-26 13:02:55792 days ago1643202175IN
0xF8022F5D...DE5710f94
0 MOVR0.000601811
Create13743792022-01-26 10:07:00792 days ago1643191620IN
0xF8022F5D...DE5710f94
0 MOVR0.000601881
Create13722522022-01-26 2:32:06792 days ago1643164326IN
0xF8022F5D...DE5710f94
0 MOVR0.000601941
Create13713982022-01-25 23:31:54792 days ago1643153514IN
0xF8022F5D...DE5710f94
0 MOVR0.000601881
Create13713642022-01-25 23:24:36792 days ago1643153076IN
0xF8022F5D...DE5710f94
0 MOVR0.000601871
Create13713422022-01-25 23:20:06792 days ago1643152806IN
0xF8022F5D...DE5710f94
0 MOVR0.000601871
Create13703392022-01-25 19:44:18792 days ago1643139858IN
0xF8022F5D...DE5710f94
0 MOVR0.000601871
Create13703182022-01-25 19:40:00792 days ago1643139600IN
0xF8022F5D...DE5710f94
0 MOVR0.000601851
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Txn Hash Block From To Value
15203782022-02-24 6:46:48763 days ago1645685208
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
15086502022-02-20 22:33:18766 days ago1645396398
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
15062752022-02-20 7:31:18767 days ago1645342278
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
15062592022-02-20 7:25:48767 days ago1645341948
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
14900092022-02-16 5:49:06771 days ago1644990546
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
14386392022-02-04 23:22:18782 days ago1644016938
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
14249902022-02-02 22:27:00784 days ago1643840820
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
14243842022-02-02 20:15:48784 days ago1643832948
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
14230482022-02-02 15:30:36784 days ago1643815836
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13920732022-01-29 1:39:18789 days ago1643420358
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13897082022-01-28 17:14:12789 days ago1643390052
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13856792022-01-28 2:49:24790 days ago1643338164
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13827262022-01-27 16:06:54790 days ago1643299614
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13785272022-01-27 1:04:37791 days ago1643245477
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13767162022-01-26 18:26:00791 days ago1643221560
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13764182022-01-26 17:20:18791 days ago1643217618
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13760352022-01-26 15:59:54791 days ago1643212794
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13752092022-01-26 13:02:55792 days ago1643202175
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13743792022-01-26 10:07:00792 days ago1643191620
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13722522022-01-26 2:32:06792 days ago1643164326
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13713982022-01-25 23:31:54792 days ago1643153514
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13713642022-01-25 23:24:36792 days ago1643153076
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13713422022-01-25 23:20:06792 days ago1643152806
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13703392022-01-25 19:44:18792 days ago1643139858
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
13703182022-01-25 19:40:00792 days ago1643139600
0xF8022F5D...DE5710f94
 Contract Creation0 MOVR
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SimpleTokenFactory

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at moonriver.moonscan.io on 2022-01-24
*/

// Sources flattened with hardhat v2.8.3 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

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


// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

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


// File contracts/SimpleTokenFactory.sol

pragma solidity ^0.8.10;

contract SimpleToken is ERC20 {
    uint8 private immutable _decimals;

    constructor(string memory name, string memory symbol, uint256 totalSupply, uint8 tokenDecimals) ERC20(name, symbol) {
        _decimals = tokenDecimals;
        _mint(tx.origin, totalSupply);
    }

    function decimals() public view override returns (uint8) {
        return _decimals;
    }
}

contract SimpleTokenFactory {
    event CreateToken(address addr);

    function create(string memory name, string memory symbol, uint256 totalSupply, uint8 decimals) external {
        ERC20 token = new SimpleToken(name, symbol, totalSupply * (10**decimals), decimals);
        emit CreateToken(address(token));
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"CreateToken","type":"event"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"create","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061111c806100206000396000f3fe60806040523480156200001157600080fd5b50600436106200002e5760003560e01c8063c3b80b931462000033575b600080fd5b6200004a62000044366004620001a4565b6200004c565b005b600084846200005d84600a62000347565b6200006990866200035f565b846040516200007890620000eb565b620000879493929190620003d1565b604051809103906000f080158015620000a4573d6000803e3d6000fd5b506040516001600160a01b03821681529091507f3a5f157c8701d9d6fdabee5a76f2ee452ace819d5d3e726954b45e8bb8e91cf49060200160405180910390a15050505050565b610cd1806200041683390190565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200012157600080fd5b813567ffffffffffffffff808211156200013f576200013f620000f9565b604051601f8301601f19908116603f011681019082821181831017156200016a576200016a620000f9565b816040528381528660208588010111156200018457600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215620001bb57600080fd5b843567ffffffffffffffff80821115620001d457600080fd5b620001e2888389016200010f565b95506020870135915080821115620001f957600080fd5b5062000208878288016200010f565b93505060408501359150606085013560ff811681146200022757600080fd5b939692955090935050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002895781600019048211156200026d576200026d62000232565b808516156200027b57918102915b93841c93908002906200024d565b509250929050565b600082620002a25750600162000341565b81620002b15750600062000341565b8160018114620002ca5760028114620002d557620002f5565b600191505062000341565b60ff841115620002e957620002e962000232565b50506001821b62000341565b5060208310610133831016604e8410600b84101617156200031a575081810a62000341565b62000326838362000248565b80600019048211156200033d576200033d62000232565b0290505b92915050565b60006200035860ff84168362000291565b9392505050565b60008160001904831182151516156200037c576200037c62000232565b500290565b6000815180845260005b81811015620003a9576020818501810151868301820152016200038b565b81811115620003bc576000602083870101525b50601f01601f19169290920160200192915050565b608081526000620003e6608083018762000381565b8281036020840152620003fa818762000381565b91505083604083015260ff831660608301529594505050505056fe60a06040523480156200001157600080fd5b5060405162000cd138038062000cd18339810160408190526200003491620002de565b8351849084906200004d9060039060208501906200016b565b508051620000639060049060208401906200016b565b50505060ff811660805262000079328362000083565b50505050620003cf565b6001600160a01b038216620000de5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620000f291906200036b565b90915550506001600160a01b03821660009081526020819052604081208054839290620001219084906200036b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001799062000392565b90600052602060002090601f0160209004810192826200019d5760008555620001e8565b82601f10620001b857805160ff1916838001178555620001e8565b82800160010185558215620001e8579182015b82811115620001e8578251825591602001919060010190620001cb565b50620001f6929150620001fa565b5090565b5b80821115620001f65760008155600101620001fb565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023957600080fd5b81516001600160401b038082111562000256576200025662000211565b604051601f8301601f19908116603f0116810190828211818310171562000281576200028162000211565b816040528381526020925086838588010111156200029e57600080fd5b600091505b83821015620002c25785820183015181830184015290820190620002a3565b83821115620002d45760008385830101525b9695505050505050565b60008060008060808587031215620002f557600080fd5b84516001600160401b03808211156200030d57600080fd5b6200031b8883890162000227565b955060208701519150808211156200033257600080fd5b50620003418782880162000227565b93505060408501519150606085015160ff811681146200036057600080fd5b939692955090935050565b600082198211156200038d57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003a757607f821691505b60208210811415620003c957634e487b7160e01b600052602260045260246000fd5b50919050565b6080516108e6620003eb600039600061011b01526108e66000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461014557806370a082311461015857806395d89b4114610181578063a457c2d714610189578063a9059cbb1461019c578063dd62ed3e146101af57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101e8565b6040516100c39190610723565b60405180910390f35b6100df6100da366004610794565b61027a565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046107be565b610290565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100c3565b6100df610153366004610794565b61033f565b6100f36101663660046107fa565b6001600160a01b031660009081526020819052604090205490565b6100b661037b565b6100df610197366004610794565b61038a565b6100df6101aa366004610794565b610423565b6100f36101bd36600461081c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f79061084f565b80601f01602080910402602001604051908101604052809291908181526020018280546102239061084f565b80156102705780601f1061024557610100808354040283529160200191610270565b820191906000526020600020905b81548152906001019060200180831161025357829003601f168201915b5050505050905090565b6000610287338484610430565b50600192915050565b600061029d848484610554565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103275760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103348533858403610430565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161028791859061037690869061088a565b610430565b6060600480546101f79061084f565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561040c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161031e565b6104193385858403610430565b5060019392505050565b6000610287338484610554565b6001600160a01b0383166104925760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161031e565b6001600160a01b0382166104f35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161031e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166105b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161031e565b6001600160a01b03821661061a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161031e565b6001600160a01b038316600090815260208190526040902054818110156106925760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161031e565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106c990849061088a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161071591815260200190565b60405180910390a350505050565b600060208083528351808285015260005b8181101561075057858101830151858201604001528201610734565b81811115610762576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461078f57600080fd5b919050565b600080604083850312156107a757600080fd5b6107b083610778565b946020939093013593505050565b6000806000606084860312156107d357600080fd5b6107dc84610778565b92506107ea60208501610778565b9150604084013590509250925092565b60006020828403121561080c57600080fd5b61081582610778565b9392505050565b6000806040838503121561082f57600080fd5b61083883610778565b915061084660208401610778565b90509250929050565b600181811c9082168061086357607f821691505b6020821081141561088457634e487b7160e01b600052602260045260246000fd5b50919050565b600082198211156108ab57634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220ec7f42ed7220be9f04c7bfdeef5eaa7c7d14d830d102d4ac150a343ce5226b1764736f6c634300080a0033a264697066735822122069bcac005a03751b8019df8232f9a88a19f66db3460143397e9190f41161542d64736f6c634300080a0033

Deployed Bytecode

0x60806040523480156200001157600080fd5b50600436106200002e5760003560e01c8063c3b80b931462000033575b600080fd5b6200004a62000044366004620001a4565b6200004c565b005b600084846200005d84600a62000347565b6200006990866200035f565b846040516200007890620000eb565b620000879493929190620003d1565b604051809103906000f080158015620000a4573d6000803e3d6000fd5b506040516001600160a01b03821681529091507f3a5f157c8701d9d6fdabee5a76f2ee452ace819d5d3e726954b45e8bb8e91cf49060200160405180910390a15050505050565b610cd1806200041683390190565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200012157600080fd5b813567ffffffffffffffff808211156200013f576200013f620000f9565b604051601f8301601f19908116603f011681019082821181831017156200016a576200016a620000f9565b816040528381528660208588010111156200018457600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215620001bb57600080fd5b843567ffffffffffffffff80821115620001d457600080fd5b620001e2888389016200010f565b95506020870135915080821115620001f957600080fd5b5062000208878288016200010f565b93505060408501359150606085013560ff811681146200022757600080fd5b939692955090935050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002895781600019048211156200026d576200026d62000232565b808516156200027b57918102915b93841c93908002906200024d565b509250929050565b600082620002a25750600162000341565b81620002b15750600062000341565b8160018114620002ca5760028114620002d557620002f5565b600191505062000341565b60ff841115620002e957620002e962000232565b50506001821b62000341565b5060208310610133831016604e8410600b84101617156200031a575081810a62000341565b62000326838362000248565b80600019048211156200033d576200033d62000232565b0290505b92915050565b60006200035860ff84168362000291565b9392505050565b60008160001904831182151516156200037c576200037c62000232565b500290565b6000815180845260005b81811015620003a9576020818501810151868301820152016200038b565b81811115620003bc576000602083870101525b50601f01601f19169290920160200192915050565b608081526000620003e6608083018762000381565b8281036020840152620003fa818762000381565b91505083604083015260ff831660608301529594505050505056fe60a06040523480156200001157600080fd5b5060405162000cd138038062000cd18339810160408190526200003491620002de565b8351849084906200004d9060039060208501906200016b565b508051620000639060049060208401906200016b565b50505060ff811660805262000079328362000083565b50505050620003cf565b6001600160a01b038216620000de5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620000f291906200036b565b90915550506001600160a01b03821660009081526020819052604081208054839290620001219084906200036b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001799062000392565b90600052602060002090601f0160209004810192826200019d5760008555620001e8565b82601f10620001b857805160ff1916838001178555620001e8565b82800160010185558215620001e8579182015b82811115620001e8578251825591602001919060010190620001cb565b50620001f6929150620001fa565b5090565b5b80821115620001f65760008155600101620001fb565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023957600080fd5b81516001600160401b038082111562000256576200025662000211565b604051601f8301601f19908116603f0116810190828211818310171562000281576200028162000211565b816040528381526020925086838588010111156200029e57600080fd5b600091505b83821015620002c25785820183015181830184015290820190620002a3565b83821115620002d45760008385830101525b9695505050505050565b60008060008060808587031215620002f557600080fd5b84516001600160401b03808211156200030d57600080fd5b6200031b8883890162000227565b955060208701519150808211156200033257600080fd5b50620003418782880162000227565b93505060408501519150606085015160ff811681146200036057600080fd5b939692955090935050565b600082198211156200038d57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003a757607f821691505b60208210811415620003c957634e487b7160e01b600052602260045260246000fd5b50919050565b6080516108e6620003eb600039600061011b01526108e66000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461014557806370a082311461015857806395d89b4114610181578063a457c2d714610189578063a9059cbb1461019c578063dd62ed3e146101af57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101e8565b6040516100c39190610723565b60405180910390f35b6100df6100da366004610794565b61027a565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046107be565b610290565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100c3565b6100df610153366004610794565b61033f565b6100f36101663660046107fa565b6001600160a01b031660009081526020819052604090205490565b6100b661037b565b6100df610197366004610794565b61038a565b6100df6101aa366004610794565b610423565b6100f36101bd36600461081c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f79061084f565b80601f01602080910402602001604051908101604052809291908181526020018280546102239061084f565b80156102705780601f1061024557610100808354040283529160200191610270565b820191906000526020600020905b81548152906001019060200180831161025357829003601f168201915b5050505050905090565b6000610287338484610430565b50600192915050565b600061029d848484610554565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103275760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103348533858403610430565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161028791859061037690869061088a565b610430565b6060600480546101f79061084f565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561040c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161031e565b6104193385858403610430565b5060019392505050565b6000610287338484610554565b6001600160a01b0383166104925760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161031e565b6001600160a01b0382166104f35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161031e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166105b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161031e565b6001600160a01b03821661061a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161031e565b6001600160a01b038316600090815260208190526040902054818110156106925760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161031e565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106c990849061088a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161071591815260200190565b60405180910390a350505050565b600060208083528351808285015260005b8181101561075057858101830151858201604001528201610734565b81811115610762576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461078f57600080fd5b919050565b600080604083850312156107a757600080fd5b6107b083610778565b946020939093013593505050565b6000806000606084860312156107d357600080fd5b6107dc84610778565b92506107ea60208501610778565b9150604084013590509250925092565b60006020828403121561080c57600080fd5b61081582610778565b9392505050565b6000806040838503121561082f57600080fd5b61083883610778565b915061084660208401610778565b90509250929050565b600181811c9082168061086357607f821691505b6020821081141561088457634e487b7160e01b600052602260045260246000fd5b50919050565b600082198211156108ab57634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220ec7f42ed7220be9f04c7bfdeef5eaa7c7d14d830d102d4ac150a343ce5226b1764736f6c634300080a0033a264697066735822122069bcac005a03751b8019df8232f9a88a19f66db3460143397e9190f41161542d64736f6c634300080a0033

Deployed Bytecode Sourcemap

17158:327:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17233:249;;;;;;:::i;:::-;;:::i;:::-;;;17348:11;17378:4;17384:6;17407:12;17411:8;17407:2;:12;:::i;:::-;17392:28;;:11;:28;:::i;:::-;17422:8;17362:69;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17447:27:0;;-1:-1:-1;;;;;4512:32:1;;4494:51;;17348:83:0;;-1:-1:-1;17447:27:0;;4482:2:1;4467:18;17447:27:0;;;;;;;17337:145;17233:249;;;;:::o;-1:-1:-1:-;;;;;;;;:::o;14:127:1:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:719;189:5;242:3;235:4;227:6;223:17;219:27;209:55;;260:1;257;250:12;209:55;296:6;283:20;322:18;359:2;355;352:10;349:36;;;365:18;;:::i;:::-;440:2;434:9;408:2;494:13;;-1:-1:-1;;490:22:1;;;514:2;486:31;482:40;470:53;;;538:18;;;558:22;;;535:46;532:72;;;584:18;;:::i;:::-;624:10;620:2;613:22;659:2;651:6;644:18;705:3;698:4;693:2;685:6;681:15;677:26;674:35;671:55;;;722:1;719;712:12;671:55;786:2;779:4;771:6;767:17;760:4;752:6;748:17;735:54;833:1;826:4;821:2;813:6;809:15;805:26;798:37;853:6;844:15;;;;;;146:719;;;;:::o;870:769::-;974:6;982;990;998;1051:3;1039:9;1030:7;1026:23;1022:33;1019:53;;;1068:1;1065;1058:12;1019:53;1108:9;1095:23;1137:18;1178:2;1170:6;1167:14;1164:34;;;1194:1;1191;1184:12;1164:34;1217:50;1259:7;1250:6;1239:9;1235:22;1217:50;:::i;:::-;1207:60;;1320:2;1309:9;1305:18;1292:32;1276:48;;1349:2;1339:8;1336:16;1333:36;;;1365:1;1362;1355:12;1333:36;;1388:52;1432:7;1421:8;1410:9;1406:24;1388:52;:::i;:::-;1378:62;;;1487:2;1476:9;1472:18;1459:32;1449:42;;1541:2;1530:9;1526:18;1513:32;1585:4;1578:5;1574:16;1567:5;1564:27;1554:55;;1605:1;1602;1595:12;1554:55;870:769;;;;-1:-1:-1;870:769:1;;-1:-1:-1;;870:769:1:o;1644:127::-;1705:10;1700:3;1696:20;1693:1;1686:31;1736:4;1733:1;1726:15;1760:4;1757:1;1750:15;1776:422;1865:1;1908:5;1865:1;1922:270;1943:7;1933:8;1930:21;1922:270;;;2002:4;1998:1;1994:6;1990:17;1984:4;1981:27;1978:53;;;2011:18;;:::i;:::-;2061:7;2051:8;2047:22;2044:55;;;2081:16;;;;2044:55;2160:22;;;;2120:15;;;;1922:270;;;1926:3;1776:422;;;;;:::o;2203:806::-;2252:5;2282:8;2272:80;;-1:-1:-1;2323:1:1;2337:5;;2272:80;2371:4;2361:76;;-1:-1:-1;2408:1:1;2422:5;;2361:76;2453:4;2471:1;2466:59;;;;2539:1;2534:130;;;;2446:218;;2466:59;2496:1;2487:10;;2510:5;;;2534:130;2571:3;2561:8;2558:17;2555:43;;;2578:18;;:::i;:::-;-1:-1:-1;;2634:1:1;2620:16;;2649:5;;2446:218;;2748:2;2738:8;2735:16;2729:3;2723:4;2720:13;2716:36;2710:2;2700:8;2697:16;2692:2;2686:4;2683:12;2679:35;2676:77;2673:159;;;-1:-1:-1;2785:19:1;;;2817:5;;2673:159;2864:34;2889:8;2883:4;2864:34;:::i;:::-;2934:6;2930:1;2926:6;2922:19;2913:7;2910:32;2907:58;;;2945:18;;:::i;:::-;2983:20;;-1:-1:-1;2203:806:1;;;;;:::o;3014:140::-;3072:5;3101:47;3142:4;3132:8;3128:19;3122:4;3101:47;:::i;:::-;3092:56;3014:140;-1:-1:-1;;;3014:140:1:o;3159:168::-;3199:7;3265:1;3261;3257:6;3253:14;3250:1;3247:21;3242:1;3235:9;3228:17;3224:45;3221:71;;;3272:18;;:::i;:::-;-1:-1:-1;3312:9:1;;3159:168::o;3332:472::-;3374:3;3412:5;3406:12;3439:6;3434:3;3427:19;3464:1;3474:162;3488:6;3485:1;3482:13;3474:162;;;3550:4;3606:13;;;3602:22;;3596:29;3578:11;;;3574:20;;3567:59;3503:12;3474:162;;;3654:6;3651:1;3648:13;3645:87;;;3720:1;3713:4;3704:6;3699:3;3695:16;3691:27;3684:38;3645:87;-1:-1:-1;3786:2:1;3765:15;-1:-1:-1;;3761:29:1;3752:39;;;;3793:4;3748:50;;3332:472;-1:-1:-1;;3332:472:1:o;3809:534::-;4058:3;4047:9;4040:22;4021:4;4085:46;4126:3;4115:9;4111:19;4103:6;4085:46;:::i;:::-;4179:9;4171:6;4167:22;4162:2;4151:9;4147:18;4140:50;4207:33;4233:6;4225;4207:33;:::i;:::-;4199:41;;;4276:6;4271:2;4260:9;4256:18;4249:34;4331:4;4323:6;4319:17;4314:2;4303:9;4299:18;4292:45;3809:534;;;;;;;:::o

Swarm Source

ipfs://69bcac005a03751b8019df8232f9a88a19f66db3460143397e9190f41161542d

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.