ETH Price: $3,422.57 (-6.28%)

Contract

0xc9FB714cf8901d993dC2DB2533D3BF526b12b650
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MochiInu

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : MochiInu.sol
// SPDX-License-Identifier: AGPL-3.0

pragma solidity ^0.8.9;

import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";

contract MochiInu is ERC20Upgradeable {

    address public control;

    address public inflationDestination;

    uint256 public nextMint;

    function initialize(address _control, address _recipient, address _inflationDestination) external initializer {
        __ERC20_init("Mochi Inu", "MOCHI");
        control = _control;
        _mint(_recipient, 1000000000000000e18);
        nextMint = block.timestamp + 365*3 days;
        inflationDestination = _inflationDestination;
    }

    function transferControl(address _newControl) external {
        require(msg.sender == control, "!control");
        control = _newControl;
    }

    function changeInflationDestination(address _newDestination) external {
        require(msg.sender == control, "!control");
        inflationDestination = _newDestination;
    }

    function mint() external {
        require(block.timestamp > nextMint, "!nextmint");
        require(msg.sender == control, "!control");
        uint256 amount = totalSupply() / 100;
        _mint(inflationDestination, amount);
        nextMint += 365 days;
    }
}

File 2 of 6 : ERC20Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.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 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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
    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.
     */
    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 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 {}
    uint256[45] private __gap;
}

File 3 of 6 : IERC20Upgradeable.sol
// 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);
}

File 4 of 6 : IERC20MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @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 5 of 6 : ContextUpgradeable.sol
// 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) {
        return msg.data;
    }
    uint256[50] private __gap;
}

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

pragma solidity ^0.8.0;

/**
 * @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 {ERC1967Proxy-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;
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "none"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newDestination","type":"address"}],"name":"changeInflationDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"control","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"inflationDestination","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_control","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"address","name":"_inflationDestination","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newControl","type":"address"}],"name":"transferControl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50610fc2806100206000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80637acf9085116100a2578063c0c53b8b11610071578063c0c53b8b14610242578063cf66544314610255578063d8de65871461025e578063d92c583c14610271578063dd62ed3e1461028457600080fd5b80637acf9085146101e957806395d89b4114610214578063a457c2d71461021c578063a9059cbb1461022f57600080fd5b806323b872dd116100e957806323b872dd14610178578063313ce5671461018b578063395093511461019a5780636d16fa41146101ad57806370a08231146101c057600080fd5b806306fdde031461011b578063095ea7b3146101395780631249c58b1461015c57806318160ddd14610166575b600080fd5b6101236102bd565b6040516101309190610d53565b60405180910390f35b61014c610147366004610dc4565b61034f565b6040519015158152602001610130565b610164610365565b005b6035545b604051908152602001610130565b61014c610186366004610dee565b61041f565b60405160128152602001610130565b61014c6101a8366004610dc4565b6104c9565b6101646101bb366004610e2a565b610505565b61016a6101ce366004610e2a565b6001600160a01b031660009081526033602052604090205490565b6066546101fc906001600160a01b031681565b6040516001600160a01b039091168152602001610130565b610123610551565b61014c61022a366004610dc4565b610560565b61014c61023d366004610dc4565b6105f9565b610164610250366004610e4c565b610606565b61016a60675481565b6065546101fc906001600160a01b031681565b61016461027f366004610e2a565b61071c565b61016a610292366004610e8f565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6060603680546102cc90610ec2565b80601f01602080910402602001604051908101604052809291908181526020018280546102f890610ec2565b80156103455780601f1061031a57610100808354040283529160200191610345565b820191906000526020600020905b81548152906001019060200180831161032857829003601f168201915b5050505050905090565b600061035c338484610768565b50600192915050565b60675442116103a75760405162461bcd60e51b8152602060048201526009602482015268085b995e1d1b5a5b9d60ba1b60448201526064015b60405180910390fd5b6065546001600160a01b031633146103d15760405162461bcd60e51b815260040161039e90610efd565b600060646103de60355490565b6103e89190610f1f565b606654909150610401906001600160a01b03168261088c565b6301e13380606760008282546104179190610f41565b909155505050565b600061042c84848461096b565b6001600160a01b0384166000908152603460209081526040808320338452909152902054828110156104b15760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161039e565b6104be8533858403610768565b506001949350505050565b3360008181526034602090815260408083206001600160a01b0387168452909152812054909161035c918590610500908690610f41565b610768565b6065546001600160a01b0316331461052f5760405162461bcd60e51b815260040161039e90610efd565b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6060603780546102cc90610ec2565b3360009081526034602090815260408083206001600160a01b0386168452909152812054828110156105e25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161039e565b6105ef3385858403610768565b5060019392505050565b600061035c33848461096b565b600054610100900460ff168061061f575060005460ff16155b61063b5760405162461bcd60e51b815260040161039e90610f67565b600054610100900460ff1615801561065d576000805461ffff19166101011790555b6106a5604051806040016040528060098152602001684d6f63686920496e7560b81b815250604051806040016040528060058152602001644d4f43484960d81b815250610b39565b606580546001600160a01b0319166001600160a01b0386161790556106d8836d314dc6448d9338c15b0a0000000061088c565b6106e6426305a39a80610f41565b606755606680546001600160a01b0319166001600160a01b0384161790558015610716576000805461ff00191690555b50505050565b6065546001600160a01b031633146107465760405162461bcd60e51b815260040161039e90610efd565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107ca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161039e565b6001600160a01b03821661082b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161039e565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0382166108e25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161039e565b80603560008282546108f49190610f41565b90915550506001600160a01b03821660009081526033602052604081208054839290610921908490610f41565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166109cf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161039e565b6001600160a01b038216610a315760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161039e565b6001600160a01b03831660009081526033602052604090205481811015610aa95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161039e565b6001600160a01b03808516600090815260336020526040808220858503905591851681529081208054849290610ae0908490610f41565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b2c91815260200190565b60405180910390a3610716565b600054610100900460ff1680610b52575060005460ff16155b610b6e5760405162461bcd60e51b815260040161039e90610f67565b600054610100900460ff16158015610b90576000805461ffff19166101011790555b610b98610bb9565b610ba28383610c25565b8015610bb4576000805461ff00191690555b505050565b600054610100900460ff1680610bd2575060005460ff16155b610bee5760405162461bcd60e51b815260040161039e90610f67565b600054610100900460ff16158015610c10576000805461ffff19166101011790555b8015610c22576000805461ff00191690555b50565b600054610100900460ff1680610c3e575060005460ff16155b610c5a5760405162461bcd60e51b815260040161039e90610f67565b600054610100900460ff16158015610c7c576000805461ffff19166101011790555b8251610c8f906036906020860190610cba565b508151610ca3906037906020850190610cba565b508015610bb4576000805461ff0019169055505050565b828054610cc690610ec2565b90600052602060002090601f016020900481019282610ce85760008555610d2e565b82601f10610d0157805160ff1916838001178555610d2e565b82800160010185558215610d2e579182015b82811115610d2e578251825591602001919060010190610d13565b50610d3a929150610d3e565b5090565b5b80821115610d3a5760008155600101610d3f565b600060208083528351808285015260005b81811015610d8057858101830151858201604001528201610d64565b81811115610d92576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610dbf57600080fd5b919050565b60008060408385031215610dd757600080fd5b610de083610da8565b946020939093013593505050565b600080600060608486031215610e0357600080fd5b610e0c84610da8565b9250610e1a60208501610da8565b9150604084013590509250925092565b600060208284031215610e3c57600080fd5b610e4582610da8565b9392505050565b600080600060608486031215610e6157600080fd5b610e6a84610da8565b9250610e7860208501610da8565b9150610e8660408501610da8565b90509250925092565b60008060408385031215610ea257600080fd5b610eab83610da8565b9150610eb960208401610da8565b90509250929050565b600181811c90821680610ed657607f821691505b60208210811415610ef757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600890820152670858dbdb9d1c9bdb60c21b604082015260600190565b600082610f3c57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115610f6257634e487b7160e01b600052601160045260246000fd5b500190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b60608201526080019056fea164736f6c6343000809000a

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c80637acf9085116100a2578063c0c53b8b11610071578063c0c53b8b14610242578063cf66544314610255578063d8de65871461025e578063d92c583c14610271578063dd62ed3e1461028457600080fd5b80637acf9085146101e957806395d89b4114610214578063a457c2d71461021c578063a9059cbb1461022f57600080fd5b806323b872dd116100e957806323b872dd14610178578063313ce5671461018b578063395093511461019a5780636d16fa41146101ad57806370a08231146101c057600080fd5b806306fdde031461011b578063095ea7b3146101395780631249c58b1461015c57806318160ddd14610166575b600080fd5b6101236102bd565b6040516101309190610d53565b60405180910390f35b61014c610147366004610dc4565b61034f565b6040519015158152602001610130565b610164610365565b005b6035545b604051908152602001610130565b61014c610186366004610dee565b61041f565b60405160128152602001610130565b61014c6101a8366004610dc4565b6104c9565b6101646101bb366004610e2a565b610505565b61016a6101ce366004610e2a565b6001600160a01b031660009081526033602052604090205490565b6066546101fc906001600160a01b031681565b6040516001600160a01b039091168152602001610130565b610123610551565b61014c61022a366004610dc4565b610560565b61014c61023d366004610dc4565b6105f9565b610164610250366004610e4c565b610606565b61016a60675481565b6065546101fc906001600160a01b031681565b61016461027f366004610e2a565b61071c565b61016a610292366004610e8f565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6060603680546102cc90610ec2565b80601f01602080910402602001604051908101604052809291908181526020018280546102f890610ec2565b80156103455780601f1061031a57610100808354040283529160200191610345565b820191906000526020600020905b81548152906001019060200180831161032857829003601f168201915b5050505050905090565b600061035c338484610768565b50600192915050565b60675442116103a75760405162461bcd60e51b8152602060048201526009602482015268085b995e1d1b5a5b9d60ba1b60448201526064015b60405180910390fd5b6065546001600160a01b031633146103d15760405162461bcd60e51b815260040161039e90610efd565b600060646103de60355490565b6103e89190610f1f565b606654909150610401906001600160a01b03168261088c565b6301e13380606760008282546104179190610f41565b909155505050565b600061042c84848461096b565b6001600160a01b0384166000908152603460209081526040808320338452909152902054828110156104b15760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161039e565b6104be8533858403610768565b506001949350505050565b3360008181526034602090815260408083206001600160a01b0387168452909152812054909161035c918590610500908690610f41565b610768565b6065546001600160a01b0316331461052f5760405162461bcd60e51b815260040161039e90610efd565b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6060603780546102cc90610ec2565b3360009081526034602090815260408083206001600160a01b0386168452909152812054828110156105e25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161039e565b6105ef3385858403610768565b5060019392505050565b600061035c33848461096b565b600054610100900460ff168061061f575060005460ff16155b61063b5760405162461bcd60e51b815260040161039e90610f67565b600054610100900460ff1615801561065d576000805461ffff19166101011790555b6106a5604051806040016040528060098152602001684d6f63686920496e7560b81b815250604051806040016040528060058152602001644d4f43484960d81b815250610b39565b606580546001600160a01b0319166001600160a01b0386161790556106d8836d314dc6448d9338c15b0a0000000061088c565b6106e6426305a39a80610f41565b606755606680546001600160a01b0319166001600160a01b0384161790558015610716576000805461ff00191690555b50505050565b6065546001600160a01b031633146107465760405162461bcd60e51b815260040161039e90610efd565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107ca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161039e565b6001600160a01b03821661082b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161039e565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0382166108e25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161039e565b80603560008282546108f49190610f41565b90915550506001600160a01b03821660009081526033602052604081208054839290610921908490610f41565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166109cf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161039e565b6001600160a01b038216610a315760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161039e565b6001600160a01b03831660009081526033602052604090205481811015610aa95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161039e565b6001600160a01b03808516600090815260336020526040808220858503905591851681529081208054849290610ae0908490610f41565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b2c91815260200190565b60405180910390a3610716565b600054610100900460ff1680610b52575060005460ff16155b610b6e5760405162461bcd60e51b815260040161039e90610f67565b600054610100900460ff16158015610b90576000805461ffff19166101011790555b610b98610bb9565b610ba28383610c25565b8015610bb4576000805461ff00191690555b505050565b600054610100900460ff1680610bd2575060005460ff16155b610bee5760405162461bcd60e51b815260040161039e90610f67565b600054610100900460ff16158015610c10576000805461ffff19166101011790555b8015610c22576000805461ff00191690555b50565b600054610100900460ff1680610c3e575060005460ff16155b610c5a5760405162461bcd60e51b815260040161039e90610f67565b600054610100900460ff16158015610c7c576000805461ffff19166101011790555b8251610c8f906036906020860190610cba565b508151610ca3906037906020850190610cba565b508015610bb4576000805461ff0019169055505050565b828054610cc690610ec2565b90600052602060002090601f016020900481019282610ce85760008555610d2e565b82601f10610d0157805160ff1916838001178555610d2e565b82800160010185558215610d2e579182015b82811115610d2e578251825591602001919060010190610d13565b50610d3a929150610d3e565b5090565b5b80821115610d3a5760008155600101610d3f565b600060208083528351808285015260005b81811015610d8057858101830151858201604001528201610d64565b81811115610d92576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610dbf57600080fd5b919050565b60008060408385031215610dd757600080fd5b610de083610da8565b946020939093013593505050565b600080600060608486031215610e0357600080fd5b610e0c84610da8565b9250610e1a60208501610da8565b9150604084013590509250925092565b600060208284031215610e3c57600080fd5b610e4582610da8565b9392505050565b600080600060608486031215610e6157600080fd5b610e6a84610da8565b9250610e7860208501610da8565b9150610e8660408501610da8565b90509250925092565b60008060408385031215610ea257600080fd5b610eab83610da8565b9150610eb960208401610da8565b90509250929050565b600181811c90821680610ed657607f821691505b60208210811415610ef757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600890820152670858dbdb9d1c9bdb60c21b604082015260600190565b600082610f3c57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115610f6257634e487b7160e01b600052601160045260246000fd5b500190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b60608201526080019056fea164736f6c6343000809000a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.