ETH Price: $3,111.70 (+1.35%)

Contract

0x9Cfc1d1A45F79246e8E074Cfdfc3f4AacddE8d9a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Unstake211976652024-11-16 3:47:474 hrs ago1731728867IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.001011914.72415161
Unstake211695222024-11-12 5:29:354 days ago1731389375IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0017256925.11057911
Start Unstake211591512024-11-10 18:45:595 days ago1731264359IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0014919432.73674836
Start Unstake211202532024-11-05 8:28:1111 days ago1730795291IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000169373.71652308
Start Unstake211177432024-11-05 0:02:5911 days ago1730764979IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000310936.82272869
Start Unstake210869142024-10-31 16:47:5915 days ago1730393279IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0005430811.91656704
Unstake210865672024-10-31 15:38:2315 days ago1730389103IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0006088411.796554
Start Unstake210141582024-10-21 13:09:2325 days ago1729516163IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0005115211.22404794
Start Unstake209667972024-10-14 22:30:1132 days ago1728945011IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0007497416.45119711
Enter209285472024-10-09 14:11:2337 days ago1728483083IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0019463429.64146866
Enter209285182024-10-09 14:05:3537 days ago1728482735IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0013643326.44524967
Enter209284922024-10-09 14:00:2337 days ago1728482423IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0011913523.09237866
Unstake209230132024-10-08 19:40:4738 days ago1728416447IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.0039928658.1
Start Unstake208436572024-09-27 18:09:1149 days ago1727460551IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000292810.28321792
Unstake207393722024-09-13 4:41:4764 days ago1726202507IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000185143.58642777
Start Unstake206633542024-09-02 14:03:1174 days ago1725285791IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000405428.89601251
Start Unstake206509412024-08-31 20:28:3576 days ago1725136115IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000088063.09266459
Start Unstake205416012024-08-16 13:50:3591 days ago1723816235IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000204494.48716341
Unstake204221312024-07-30 21:43:59108 days ago1722375839IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000367125.34205731
Start Unstake203694242024-07-23 13:06:59115 days ago1721740019IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000349517.66925968
Start Unstake203503872024-07-20 21:19:59118 days ago1721510399IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000083642.93743172
Unstake202636112024-07-08 18:35:11130 days ago1720463711IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000483187.03210001
Unstake202625912024-07-08 15:09:11130 days ago1720451351IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000428516.23536101
Start Unstake202574912024-07-07 22:02:59131 days ago1720389779IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000085751.88174507
Start Unstake202557222024-07-07 16:07:11131 days ago1720368431IN
0x9Cfc1d1A...acddE8d9a
0 ETH0.000218464.79354252
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakedMuse

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

// This contract is derived from xSushi from Sushiswap https://github.com/sushiswap/sushiswap/blob/master/contracts/SushiBar.sol
// We added cooldown period

// This contract handles swapping to and from sMuse, NFT20's staking token.
contract StakedMuse is ERC20("stakedMUSE", "sMuse") {
    using SafeMath for uint256;

    IERC20 public muse = IERC20(0xB6Ca7399B4F9CA56FC27cBfF44F4d2e4Eef1fc81);
    mapping(address => uint256) public timeLock;
    uint256 public unlockPeriod = 10 days;

    address public owner;

    constructor() {
        owner = msg.sender;
    }

    // Enter the bar. Pay some Muse. Earn some shares.
    // Locks Muse and mints sMuse
    function enter(uint256 _amount) public {
        timeLock[msg.sender] = 0; //reset timelock in case they stake twice.
        // Gets the amount of Muse locked in the contract
        uint256 totalMuse = muse.balanceOf(address(this));
        // Gets the amount of sMuse in existence
        uint256 totalShares = totalSupply();
        // If no sMuse exists, mint it 1:1 to the amount put in
        if (totalShares == 0 || totalMuse == 0) {
            _mint(msg.sender, _amount);
        }
        // Calculate and mint the amount of sMuse the Muse is worth. The ratio will change overtime, as sMuse is burned/minted and Muse deposited + gained from fees / withdrawn.
        else {
            uint256 what = _amount.mul(totalShares).div(totalMuse);
            _mint(msg.sender, what);
        }
        // Lock the Muse in the contract
        muse.transferFrom(msg.sender, address(this), _amount);
    }

    function changeUnlockPeriod(uint256 _period) external {
        require(msg.sender == owner, "forbidden");
        unlockPeriod = _period;
    }

    function startUnstake() public {
        timeLock[msg.sender] = block.timestamp + unlockPeriod;
    }

    // Leave the bar. Claim back your Muse.
    // Unlocks the staked + gained Muse and burns sMuse
    function unstake(uint256 _share) public {
        uint256 lockedUntil = timeLock[msg.sender];
        timeLock[msg.sender] = 0;
        require(
            lockedUntil != 0 &&
                block.timestamp >= lockedUntil &&
                block.timestamp <= lockedUntil + 2 days,
            "!still locked"
        );

        uint256 totalShares = totalSupply();
        // Calculates the amount of Muse the sMuse is worth
        uint256 what = _share.mul(muse.balanceOf(address(this))).div(
            totalShares
        );
        _burn(msg.sender, _share);
        muse.transfer(msg.sender, what);
    }

    function userInfo(address _user)
        public
        view
        returns (
            uint256 balance,
            uint256 museValue,
            uint256 timelock,
            bool isClaimable,
            uint256 globalShares,
            uint256 globalBalance
        )
    {
        balance = balanceOf(_user);
        museValue = balance.mul(muse.balanceOf(address(this))).div(
            totalSupply()
        );
        timelock = timeLock[_user];
        isClaimable = (timelock != 0 &&
            block.timestamp >= timelock &&
            block.timestamp <= timelock + 2 days);
        globalShares = totalSupply();
        globalBalance = muse.balanceOf(address(this));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin 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 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 defaut 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");
        _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 { }
}

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

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"uint256","name":"_period","type":"uint256"}],"name":"changeUnlockPeriod","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_amount","type":"uint256"}],"name":"enter","outputs":[],"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":"muse","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startUnstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"timeLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_share","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"museValue","type":"uint256"},{"internalType":"uint256","name":"timelock","type":"uint256"},{"internalType":"bool","name":"isClaimable","type":"bool"},{"internalType":"uint256","name":"globalShares","type":"uint256"},{"internalType":"uint256","name":"globalBalance","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052600580546001600160a01b03191673b6ca7399b4f9ca56fc27cbff44f4d2e4eef1fc81179055620d2f006007553480156200003e57600080fd5b50604080518082018252600a8152697374616b65644d55534560b01b602080830191825283518085019094526005845264734d75736560d81b9084015281519192916200008e91600391620000bf565b508051620000a4906004906020840190620000bf565b5050600880546001600160a01b0319163317905550620001a2565b828054620000cd9062000165565b90600052602060002090601f016020900481019282620000f157600085556200013c565b82601f106200010c57805160ff19168380011785556200013c565b828001600101855582156200013c579182015b828111156200013c5782518255916020019190600101906200011f565b506200014a9291506200014e565b5090565b5b808211156200014a57600081556001016200014f565b6002810460018216806200017a57607f821691505b602082108114156200019c57634e487b7160e01b600052602260045260246000fd5b50919050565b6113d280620001b26000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80636de114bb116100ad578063a457c2d711610071578063a457c2d71461025f578063a59f3e0c14610272578063a9059cbb14610285578063dd62ed3e14610298578063f8e1f51e146102ab5761012c565b80636de114bb1461021457806370a082311461021c5780638da5cb5b1461022f578063911dd3a11461024457806395d89b41146102575761012c565b806323b872dd116100f457806323b872dd146101b15780632e17de78146101c4578063313ce567146101d957806339509351146101ee57806343496568146102015761012c565b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461016f5780631959a0021461018457806320d3a0b4146101a9575b600080fd5b6101396102b3565b6040516101469190610f64565b60405180910390f35b61016261015d366004610e8f565b610345565b6040516101469190610f59565b610177610362565b604051610146919061129c565b610197610192366004610e08565b610368565b604051610146969594939291906112a5565b6101776104f1565b6101626101bf366004610e54565b6104f7565b6101d76101d2366004610ed8565b610597565b005b6101e1610724565b60405161014691906112cf565b6101626101fc366004610e8f565b610729565b61017761020f366004610e08565b610778565b6101d761078a565b61017761022a366004610e08565b6107a9565b6102376107c8565b6040516101469190610f08565b6101d7610252366004610ed8565b6107d7565b610139610806565b61016261026d366004610e8f565b610815565b6101d7610280366004610ed8565b610890565b610162610293366004610e8f565b6109f9565b6101776102a6366004610e22565b610a0d565b610237610a38565b6060600380546102c29061134b565b80601f01602080910402602001604051908101604052809291908181526020018280546102ee9061134b565b801561033b5780601f106103105761010080835404028352916020019161033b565b820191906000526020600020905b81548152906001019060200180831161031e57829003601f168201915b5050505050905090565b6000610359610352610a47565b8484610a4b565b50600192915050565b60025490565b60008060008060008061037a876107a9565b9550610416610387610362565b6005546040516370a0823160e01b8152610410916001600160a01b0316906370a08231906103b9903090600401610f08565b60206040518083038186803b1580156103d157600080fd5b505afa1580156103e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104099190610ef0565b8990610aff565b90610b12565b6001600160a01b038816600090815260066020526040902054909550935083158015906104435750834210155b801561045b5750610457846202a3006112dd565b4211155b9250610465610362565b6005546040516370a0823160e01b81529193506001600160a01b0316906370a0823190610496903090600401610f08565b60206040518083038186803b1580156104ae57600080fd5b505afa1580156104c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e69190610ef0565b905091939550919395565b60075481565b6000610504848484610b1e565b6001600160a01b038416600090815260016020526040812081610525610a47565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105715760405162461bcd60e51b8152600401610568906110e7565b60405180910390fd5b61058c8561057d610a47565b6105878685611334565b610a4b565b506001949350505050565b336000908152600660205260408120805491905580158015906105ba5750804210155b80156105d257506105ce816202a3006112dd565b4211155b6105ee5760405162461bcd60e51b815260040161056890611170565b60006105f8610362565b6005546040516370a0823160e01b815291925060009161068d918491610410916001600160a01b0316906370a0823190610636903090600401610f08565b60206040518083038186803b15801561064e57600080fd5b505afa158015610662573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106869190610ef0565b8790610aff565b90506106993385610c46565b60055460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906106cb9033908590600401610f40565b602060405180830381600087803b1580156106e557600080fd5b505af11580156106f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071d9190610eb8565b5050505050565b601290565b6000610359610736610a47565b848460016000610744610a47565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461058791906112dd565b60066020526000908152604090205481565b60075461079790426112dd565b33600090815260066020526040902055565b6001600160a01b0381166000908152602081905260409020545b919050565b6008546001600160a01b031681565b6008546001600160a01b031633146108015760405162461bcd60e51b81526004016105689061103c565b600755565b6060600480546102c29061134b565b60008060016000610824610a47565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156108705760405162461bcd60e51b815260040161056890611220565b61088661087b610a47565b856105878685611334565b5060019392505050565b3360009081526006602052604080822082905560055490516370a0823160e01b81526001600160a01b03909116906370a08231906108d2903090600401610f08565b60206040518083038186803b1580156108ea57600080fd5b505afa1580156108fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109229190610ef0565b9050600061092e610362565b905080158061093b575081155b1561094f5761094a3384610d2c565b61096d565b600061095f836104108685610aff565b905061096b3382610d2c565b505b6005546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906109a190339030908890600401610f1c565b602060405180830381600087803b1580156109bb57600080fd5b505af11580156109cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f39190610eb8565b50505050565b6000610359610a06610a47565b8484610b1e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031681565b3390565b6001600160a01b038316610a715760405162461bcd60e51b8152600401610568906111dc565b6001600160a01b038216610a975760405162461bcd60e51b81526004016105689061105f565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610af290859061129c565b60405180910390a3505050565b6000610b0b8284611315565b9392505050565b6000610b0b82846112f5565b6001600160a01b038316610b445760405162461bcd60e51b815260040161056890611197565b6001600160a01b038216610b6a5760405162461bcd60e51b815260040161056890610fb7565b610b75838383610dec565b6001600160a01b03831660009081526020819052604090205481811015610bae5760405162461bcd60e51b8152600401610568906110a1565b610bb88282611334565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610bee9084906112dd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c38919061129c565b60405180910390a350505050565b6001600160a01b038216610c6c5760405162461bcd60e51b81526004016105689061112f565b610c7882600083610dec565b6001600160a01b03821660009081526020819052604090205481811015610cb15760405162461bcd60e51b815260040161056890610ffa565b610cbb8282611334565b6001600160a01b03841660009081526020819052604081209190915560028054849290610ce9908490611334565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610af290869061129c565b6001600160a01b038216610d525760405162461bcd60e51b815260040161056890611265565b610d5e60008383610dec565b8060026000828254610d7091906112dd565b90915550506001600160a01b03821660009081526020819052604081208054839290610d9d9084906112dd565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610de090859061129c565b60405180910390a35050565b505050565b80356001600160a01b03811681146107c357600080fd5b600060208284031215610e19578081fd5b610b0b82610df1565b60008060408385031215610e34578081fd5b610e3d83610df1565b9150610e4b60208401610df1565b90509250929050565b600080600060608486031215610e68578081fd5b610e7184610df1565b9250610e7f60208501610df1565b9150604084013590509250925092565b60008060408385031215610ea1578182fd5b610eaa83610df1565b946020939093013593505050565b600060208284031215610ec9578081fd5b81518015158114610b0b578182fd5b600060208284031215610ee9578081fd5b5035919050565b600060208284031215610f01578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b81811015610f9057858101830151858201604001528201610f74565b81811115610fa15783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b6020808252600990820152683337b93134b23232b760b91b604082015260600190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252600d908201526c085cdd1a5b1b081b1bd8dad959609a1b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9586526020860194909452604085019290925215156060840152608083015260a082015260c00190565b60ff91909116815260200190565b600082198211156112f0576112f0611386565b500190565b60008261131057634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561132f5761132f611386565b500290565b60008282101561134657611346611386565b500390565b60028104600182168061135f57607f821691505b6020821081141561138057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212202dacd9f1a52f64d889d104ee21b41135f2af9ac160d5c803db939b89d226c96d64736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80636de114bb116100ad578063a457c2d711610071578063a457c2d71461025f578063a59f3e0c14610272578063a9059cbb14610285578063dd62ed3e14610298578063f8e1f51e146102ab5761012c565b80636de114bb1461021457806370a082311461021c5780638da5cb5b1461022f578063911dd3a11461024457806395d89b41146102575761012c565b806323b872dd116100f457806323b872dd146101b15780632e17de78146101c4578063313ce567146101d957806339509351146101ee57806343496568146102015761012c565b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461016f5780631959a0021461018457806320d3a0b4146101a9575b600080fd5b6101396102b3565b6040516101469190610f64565b60405180910390f35b61016261015d366004610e8f565b610345565b6040516101469190610f59565b610177610362565b604051610146919061129c565b610197610192366004610e08565b610368565b604051610146969594939291906112a5565b6101776104f1565b6101626101bf366004610e54565b6104f7565b6101d76101d2366004610ed8565b610597565b005b6101e1610724565b60405161014691906112cf565b6101626101fc366004610e8f565b610729565b61017761020f366004610e08565b610778565b6101d761078a565b61017761022a366004610e08565b6107a9565b6102376107c8565b6040516101469190610f08565b6101d7610252366004610ed8565b6107d7565b610139610806565b61016261026d366004610e8f565b610815565b6101d7610280366004610ed8565b610890565b610162610293366004610e8f565b6109f9565b6101776102a6366004610e22565b610a0d565b610237610a38565b6060600380546102c29061134b565b80601f01602080910402602001604051908101604052809291908181526020018280546102ee9061134b565b801561033b5780601f106103105761010080835404028352916020019161033b565b820191906000526020600020905b81548152906001019060200180831161031e57829003601f168201915b5050505050905090565b6000610359610352610a47565b8484610a4b565b50600192915050565b60025490565b60008060008060008061037a876107a9565b9550610416610387610362565b6005546040516370a0823160e01b8152610410916001600160a01b0316906370a08231906103b9903090600401610f08565b60206040518083038186803b1580156103d157600080fd5b505afa1580156103e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104099190610ef0565b8990610aff565b90610b12565b6001600160a01b038816600090815260066020526040902054909550935083158015906104435750834210155b801561045b5750610457846202a3006112dd565b4211155b9250610465610362565b6005546040516370a0823160e01b81529193506001600160a01b0316906370a0823190610496903090600401610f08565b60206040518083038186803b1580156104ae57600080fd5b505afa1580156104c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e69190610ef0565b905091939550919395565b60075481565b6000610504848484610b1e565b6001600160a01b038416600090815260016020526040812081610525610a47565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105715760405162461bcd60e51b8152600401610568906110e7565b60405180910390fd5b61058c8561057d610a47565b6105878685611334565b610a4b565b506001949350505050565b336000908152600660205260408120805491905580158015906105ba5750804210155b80156105d257506105ce816202a3006112dd565b4211155b6105ee5760405162461bcd60e51b815260040161056890611170565b60006105f8610362565b6005546040516370a0823160e01b815291925060009161068d918491610410916001600160a01b0316906370a0823190610636903090600401610f08565b60206040518083038186803b15801561064e57600080fd5b505afa158015610662573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106869190610ef0565b8790610aff565b90506106993385610c46565b60055460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906106cb9033908590600401610f40565b602060405180830381600087803b1580156106e557600080fd5b505af11580156106f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071d9190610eb8565b5050505050565b601290565b6000610359610736610a47565b848460016000610744610a47565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461058791906112dd565b60066020526000908152604090205481565b60075461079790426112dd565b33600090815260066020526040902055565b6001600160a01b0381166000908152602081905260409020545b919050565b6008546001600160a01b031681565b6008546001600160a01b031633146108015760405162461bcd60e51b81526004016105689061103c565b600755565b6060600480546102c29061134b565b60008060016000610824610a47565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156108705760405162461bcd60e51b815260040161056890611220565b61088661087b610a47565b856105878685611334565b5060019392505050565b3360009081526006602052604080822082905560055490516370a0823160e01b81526001600160a01b03909116906370a08231906108d2903090600401610f08565b60206040518083038186803b1580156108ea57600080fd5b505afa1580156108fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109229190610ef0565b9050600061092e610362565b905080158061093b575081155b1561094f5761094a3384610d2c565b61096d565b600061095f836104108685610aff565b905061096b3382610d2c565b505b6005546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906109a190339030908890600401610f1c565b602060405180830381600087803b1580156109bb57600080fd5b505af11580156109cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f39190610eb8565b50505050565b6000610359610a06610a47565b8484610b1e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031681565b3390565b6001600160a01b038316610a715760405162461bcd60e51b8152600401610568906111dc565b6001600160a01b038216610a975760405162461bcd60e51b81526004016105689061105f565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610af290859061129c565b60405180910390a3505050565b6000610b0b8284611315565b9392505050565b6000610b0b82846112f5565b6001600160a01b038316610b445760405162461bcd60e51b815260040161056890611197565b6001600160a01b038216610b6a5760405162461bcd60e51b815260040161056890610fb7565b610b75838383610dec565b6001600160a01b03831660009081526020819052604090205481811015610bae5760405162461bcd60e51b8152600401610568906110a1565b610bb88282611334565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610bee9084906112dd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c38919061129c565b60405180910390a350505050565b6001600160a01b038216610c6c5760405162461bcd60e51b81526004016105689061112f565b610c7882600083610dec565b6001600160a01b03821660009081526020819052604090205481811015610cb15760405162461bcd60e51b815260040161056890610ffa565b610cbb8282611334565b6001600160a01b03841660009081526020819052604081209190915560028054849290610ce9908490611334565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610af290869061129c565b6001600160a01b038216610d525760405162461bcd60e51b815260040161056890611265565b610d5e60008383610dec565b8060026000828254610d7091906112dd565b90915550506001600160a01b03821660009081526020819052604081208054839290610d9d9084906112dd565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610de090859061129c565b60405180910390a35050565b505050565b80356001600160a01b03811681146107c357600080fd5b600060208284031215610e19578081fd5b610b0b82610df1565b60008060408385031215610e34578081fd5b610e3d83610df1565b9150610e4b60208401610df1565b90509250929050565b600080600060608486031215610e68578081fd5b610e7184610df1565b9250610e7f60208501610df1565b9150604084013590509250925092565b60008060408385031215610ea1578182fd5b610eaa83610df1565b946020939093013593505050565b600060208284031215610ec9578081fd5b81518015158114610b0b578182fd5b600060208284031215610ee9578081fd5b5035919050565b600060208284031215610f01578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b81811015610f9057858101830151858201604001528201610f74565b81811115610fa15783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b6020808252600990820152683337b93134b23232b760b91b604082015260600190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252600d908201526c085cdd1a5b1b081b1bd8dad959609a1b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9586526020860194909452604085019290925215156060840152608083015260a082015260c00190565b60ff91909116815260200190565b600082198211156112f0576112f0611386565b500190565b60008261131057634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561132f5761132f611386565b500290565b60008282101561134657611346611386565b500390565b60028104600182168061135f57607f821691505b6020821081141561138057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212202dacd9f1a52f64d889d104ee21b41135f2af9ac160d5c803db939b89d226c96d64736f6c63430008000033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.