ETH Price: $2,439.95 (-9.41%)

Contract

0x3d00c4072CFe7D46aeDc6B9319c2E88964a88321

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Withdraw3592989932025-07-19 9:41:11196 days ago1752918071IN
0x3d00c407...964a88321
0 ETH0.000000880.01
Withdraw Request3592988692025-07-19 9:40:40196 days ago1752918040IN
0x3d00c407...964a88321
0 ETH0.000000510.01
Claim3592984422025-07-19 9:38:53196 days ago1752917933IN
0x3d00c407...964a88321
0 ETH0.000000870.01
Claim3579725262025-07-15 13:43:39200 days ago1752587019IN
0x3d00c407...964a88321
0 ETH0.000004250.039659
Withdraw Request3579724442025-07-15 13:43:19200 days ago1752586999IN
0x3d00c407...964a88321
0 ETH0.000002270.042384
Withdraw3579474642025-07-15 11:59:31200 days ago1752580771IN
0x3d00c407...964a88321
0 ETH0.000000890.01
Withdraw Request3579473512025-07-15 11:59:02200 days ago1752580742IN
0x3d00c407...964a88321
0 ETH0.000000520.01
Withdraw3576574572025-07-14 15:52:25201 days ago1752508345IN
0x3d00c407...964a88321
0 ETH0.000005230.059489
Withdraw Request3576573572025-07-14 15:52:00201 days ago1752508320IN
0x3d00c407...964a88321
0 ETH0.000002460.047329
Withdraw3520457252025-06-28 9:30:46217 days ago1751103046IN
0x3d00c407...964a88321
0 ETH0.000000870.01
Withdraw3520259562025-06-28 8:08:18217 days ago1751098098IN
0x3d00c407...964a88321
0 ETH0.000000870.01
Withdraw Request3520258502025-06-28 8:07:53217 days ago1751098073IN
0x3d00c407...964a88321
0 ETH0.000000510.01
Withdraw3517007852025-06-27 9:29:05218 days ago1751016545IN
0x3d00c407...964a88321
0 ETH0.000000910.01
Withdraw Request3517006782025-06-27 9:28:38218 days ago1751016518IN
0x3d00c407...964a88321
0 ETH0.000000540.01
Claim3509486112025-06-25 5:11:58221 days ago1750828318IN
0x3d00c407...964a88321
0 ETH0.000001060.01
Withdraw3499928492025-06-22 10:45:40223 days ago1750589140IN
0x3d00c407...964a88321
0 ETH0.000000870.01
Withdraw3499905552025-06-22 10:36:05223 days ago1750588565IN
0x3d00c407...964a88321
0 ETH0.000000870.01
Withdraw3499897722025-06-22 10:32:51223 days ago1750588371IN
0x3d00c407...964a88321
0 ETH0.000000870.01
Withdraw3448135362025-06-07 9:48:21238 days ago1749289701IN
0x3d00c407...964a88321
0 ETH0.00000090.01
Claim3438917192025-06-04 17:31:25241 days ago1749058285IN
0x3d00c407...964a88321
0 ETH0.000001540.016161
Withdraw Request3438916192025-06-04 17:31:00241 days ago1749058260IN
0x3d00c407...964a88321
0 ETH0.000000620.01
Claim3438915122025-06-04 17:30:33241 days ago1749058233IN
0x3d00c407...964a88321
0 ETH0.000001010.01
Withdraw Request3438914682025-06-04 17:30:22241 days ago1749058222IN
0x3d00c407...964a88321
0 ETH0.000000620.01
Withdraw Request3438898662025-06-04 17:23:40241 days ago1749057820IN
0x3d00c407...964a88321
0 ETH0.000000620.01
Withdraw3438196962025-06-04 12:30:38241 days ago1749040238IN
0x3d00c407...964a88321
0 ETH0.000000990.01
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xa98c2058...1feD91EDA
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SynthrStaking

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.8.24;

import "@openzeppelin/contracts/access/Ownable2Step.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Pausable.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";

contract SynthrStaking is Ownable2Step, Pausable, ReentrancyGuard {
    using SafeERC20 for IERC20;

    /// @notice Address of reward token contract.
    IERC20 public immutable SYNTH;

    uint256 public constant ACC_REWARD_PRECISION = 1e18;

    /// @notice Info of each user.
    /// `amount` SYNTH token amount the user has provided.
    /// `rewardDebt` The amount of reward token entitled to the user.
    struct UserInfo {
        uint256 amount;
        uint256 lockType;
        uint256 unlockEnd;
        int256 rewardDebt;
    }

    struct LockInfo {
        bool exist;
        uint64 lastRewardBlock;
        uint256 maxPoolSize;
        uint256 penalty;
        uint256 coolDownPeriod;
        uint256 totalStaked;
        uint256 rewardPerBlock;
        uint256 accRewardPerShare;
        uint256 epoch;
    }

    bool public killed;
    bool public emergencyWithdrawAllowed;

    /// @notice Total lock amount of users
    uint256 public totalSupply;

    uint256 public penaltyAmount;

    /// @notice Info of each user that stakes SYNTH tokens.
    mapping(address => UserInfo) public userInfo;

    mapping(address => uint256) public coolDownPeriod;

    mapping(uint256 => LockInfo) public lockInfo;

    event Deposit(address indexed user, uint256 amount);
    event Withdraw(address indexed user, address indexed to, uint256 amount);
    event Claimed(address indexed user, address indexed to, uint256 pendingRewardAmount);
    event LogUpdatePool(uint64 lastRewardBlock, uint256 accRewardPerShare);
    event EpochUpdated(address indexed owner, uint256[] lockType, uint256[] rewardPerBlock);
    event EmergencyWithdraw(address indexed user, uint256 amount);
    event PoolAlived(address indexed owner, bool _alive);
    event KillPool(address indexed owner, bool _killed);
    event RecoveredToken(address indexed owner, address indexed token, uint256 amount);
    event WithdrawPenalty(address indexed owner, address indexed to, uint256 penaltyAmount);
    event ToggleEmergencyWithdraw(address indexed owner, bool emergencyWithdrawAllowed);

    constructor(
        address _admin,
        address _SYNTH,
        uint256[] memory _lockType,
        LockInfo[] memory _lockInfo
    ) Ownable(_admin) {
        require(_lockInfo.length == _lockType.length, "SynthrStaking: length not equal");
        require(_SYNTH != address(0), "SynthrStaking: Address Zero Found");
        SYNTH = IERC20(_SYNTH);

        for (uint256 i; i < _lockType.length; ++i) {
            lockInfo[_lockType[i]] = _lockInfo[i];
        }
    }

    modifier isAlive() {
        require(!killed, "SynthrStaking: pool is killed");
        _;
    }

    /// @dev return user reward debt
    /// @param _user address of user
    function userRewardsDebt(address _user) external view returns (int256) {
        return userInfo[_user].rewardDebt;
    }

    /// @notice View function to see pending reward of user in pool at current block.
    /// @param _user Address of user.
    /// @return pending_ reward for a given user.
    function pendingReward(address _user) external view returns (uint256 pending_) {
        pending_ = _pendingRewardAmount(_user, block.number);
    }

    /// @notice View function to see pending reward of user at future block.
    /// @param _user Address of user.
    /// @return pending_ reward for a given user.
    function pendingRewardAtBlock(
        address _user,
        uint256 _blockNumber
    ) external view returns (uint256 pending_) {
        pending_ = _pendingRewardAmount(_user, _blockNumber);
    }

    /**
     * @dev pause pool to restrict pool functionality, can only be called by admin
     */
    function pausePool() external onlyOwner {
        _pause();
    }

    /**
     * @dev unpause pool, can only be called by admin
     */
    function unpausePool() external onlyOwner {
        _unpause();
    }

    /**
     * @dev kill pool to restrict pool functionality, can only be called by admin
     */
    function killPool() external onlyOwner {
        killed = true;
        emit KillPool(msg.sender, true);
    }

    /**
     * @dev revive pool, can only be called by admin
     */
    function revivePool() external onlyOwner {
        killed = false;
        emit PoolAlived(msg.sender, false);
    }

    function setLockInfo(
        uint256 _lockType,
        uint256 _maxPoolSize,
        uint256 _penalty,
        uint256 _coolDownPeriod
    ) external onlyOwner {
        require(_penalty <= 100, "SynthrStaking: Penalty percentage greater than 100");
        LockInfo memory _lockInfo = lockInfo[_lockType];
        _lockInfo.coolDownPeriod = _coolDownPeriod;
        _lockInfo.maxPoolSize = _maxPoolSize;
        _lockInfo.penalty = _penalty;
        _lockInfo.exist = true;

        lockInfo[_lockType] = _lockInfo;
    }

    function toggleEmergencyWithdraw() external onlyOwner {
        emergencyWithdrawAllowed = !emergencyWithdrawAllowed;

        emit ToggleEmergencyWithdraw(msg.sender, emergencyWithdrawAllowed);
    }

    /// @notice update epoch of pool
    function updateEpoch(
        uint256 _rewardAmount,
        uint256[] memory _rewardPerBlock,
        uint256[] memory _lockType
    ) external whenNotPaused isAlive onlyOwner {
        require(_rewardPerBlock.length == _lockType.length, "SynthrStaking: length not equal");

        for (uint256 i; i < _rewardPerBlock.length; ++i) {
            LockInfo memory _lockInfo = lockInfo[_lockType[i]];
            _lockInfo.rewardPerBlock = _rewardPerBlock[i];
            ++_lockInfo.epoch;

            lockInfo[_lockType[i]] = _lockInfo;
        }

        SYNTH.safeTransferFrom(msg.sender, address(this), _rewardAmount);
        emit EpochUpdated(msg.sender, _lockType, _rewardPerBlock);
    }

    /// @notice Deposit token.
    function deposit(uint256 _amount, uint256 _lockType) external whenNotPaused isAlive {
        LockInfo memory _lockInfo = _updatePool(_lockType);

        require(
            _lockInfo.totalStaked + _amount <= _lockInfo.maxPoolSize,
            "SynthrStaking: max amount limit exceed"
        );

        UserInfo memory _user = userInfo[msg.sender];
        require(
            _user.unlockEnd == 0 || _user.unlockEnd > block.timestamp,
            "SynthrStaking: withdraw locked token"
        );

        require(
            _user.lockType == 0 || _user.lockType == _lockType,
            "SynthrStaking: lock type differ"
        );

        // Effects
        int256 _calRewardDebt = _calAccRewardPerShare(_lockInfo.accRewardPerShare, _amount);

        if (_user.amount == 0) {
            _user.unlockEnd = block.timestamp + _lockType;
            _user.lockType = _lockType;
        }
        _user.amount += _amount;
        _user.rewardDebt += _calRewardDebt;

        userInfo[msg.sender] = _user;

        totalSupply += _amount;
        _lockInfo.totalStaked += _amount;
        lockInfo[_lockType] = _lockInfo;

        SYNTH.safeTransferFrom(msg.sender, address(this), _amount);

        emit Deposit(msg.sender, _amount);
    }

    /// @notice Claim proceeds for transaction sender to `to`.
    /// @param _to Receiver receives SYNTH token as reward.
    function claim(address _to) external nonReentrant whenNotPaused {
        UserInfo memory _user = userInfo[msg.sender];
        require(_user.unlockEnd < block.timestamp, "SynthrStaking: claim after lock end");
        LockInfo memory _lockInfo = _updatePool(_user.lockType);

        (int256 accumulatedReward, uint256 _pendingReward) = _calAccumulatedAndPendingReward(
            _lockInfo.accRewardPerShare,
            _user.amount,
            _user.rewardDebt
        );

        // Effects
        lockInfo[_user.lockType] = _lockInfo;
        _user.rewardDebt = accumulatedReward;
        userInfo[msg.sender] = _user;

        // Interactions
        if (_pendingReward != 0) {
            SYNTH.safeTransfer(_to, _pendingReward);
        }

        emit Claimed(msg.sender, _to, _pendingReward);
    }

    function withdrawRequest() external whenNotPaused {
        uint256 _lockType = userInfo[msg.sender].lockType;
        coolDownPeriod[msg.sender] = block.timestamp + lockInfo[_lockType].coolDownPeriod;
    }

    /// @notice Withdraw  token from pool and claim proceeds for transaction sender to `to`.
    /// @param _to Receiver of the SYNTH tokens with their pending reward(in SYNTHs).
    function withdraw(address _to) external nonReentrant whenNotPaused {
        uint256 _coolDownPeriod = coolDownPeriod[msg.sender];
        require(_coolDownPeriod != 0, "SynthrStaking: request for withdraw");
        require(_coolDownPeriod < block.timestamp, "SynthrStaking: lock time not end");
        UserInfo memory _user = userInfo[msg.sender];
        LockInfo memory _lockInfo = _updatePool(_user.lockType);

        (, uint256 _pendingReward) = _calAccumulatedAndPendingReward(
            _lockInfo.accRewardPerShare,
            _user.amount,
            _user.rewardDebt
        );

        uint256 _amount = _user.amount;
        totalSupply -= _amount;
        _lockInfo.totalStaked -= _amount;
        if (_user.unlockEnd > block.timestamp) {
            uint256 _lockType = _user.lockType;
            _amount = (_amount * (100 - lockInfo[_lockType].penalty)) / 100;
            penaltyAmount += _user.amount - _amount;
        }

        lockInfo[_user.lockType] = _lockInfo;
        delete userInfo[msg.sender];
        coolDownPeriod[msg.sender] = 0;

        // Interactions
        SYNTH.safeTransfer(_to, _pendingReward + _amount);

        emit Withdraw(msg.sender, _to, _pendingReward + _amount);
    }

    function emergencyWithdraw() public nonReentrant whenNotPaused {
        require(emergencyWithdrawAllowed, "SynthrStaking: emergency withdraw not allowed");
        UserInfo memory _user = userInfo[msg.sender];
        uint256 _amount = _user.amount;
        require(_amount > 0, "SynthrStaking: Amount should be non zero");

        LockInfo memory _lockInfo = lockInfo[_user.lockType];
        _lockInfo.totalStaked -= _amount;
        lockInfo[_user.lockType] = _lockInfo;
        delete userInfo[msg.sender];

        totalSupply -= _amount;

        // Interactions
        SYNTH.safeTransfer(msg.sender, _amount);

        emit EmergencyWithdraw(msg.sender, _amount);
    }

    function recoverToken(
        address _token,
        address _to,
        uint256 _amount
    ) external onlyOwner nonReentrant whenNotPaused {
        if (_token == address(SYNTH)) {
            require(
                IERC20(_token).balanceOf(address(this)) - _amount >= totalSupply,
                "SynthrStaking: can not withdraw user token"
            );
        }
        IERC20(_token).safeTransfer(_to, _amount);

        emit RecoveredToken(msg.sender, _token, _amount);
    }

    function withdrawPenalty(address _to) external onlyOwner nonReentrant whenNotPaused {
        uint256 oldPenaltyAmount = penaltyAmount;
        penaltyAmount = 0;
        emit WithdrawPenalty(msg.sender, _to, oldPenaltyAmount);
        SYNTH.safeTransfer(_to, oldPenaltyAmount);
    }

    /// @notice Update reward variables of the pool.
    function _updatePool(uint256 _lockType) internal returns (LockInfo memory _lockInfo) {
        _lockInfo = lockInfo[_lockType];
        require(_lockInfo.exist, "SynthrStaking: lock type not exist");
        uint256 _lpSupply = totalSupply;
        if (block.number > _lockInfo.lastRewardBlock) {
            if (_lpSupply > 0) {
                uint256 _blocks = block.number - _lockInfo.lastRewardBlock;
                uint256 _rewardAmount = (_blocks * _lockInfo.rewardPerBlock);
                _lockInfo.accRewardPerShare += _calAccPerShare(_rewardAmount, _lpSupply);
            }
            _lockInfo.lastRewardBlock = uint64(block.number);

            emit LogUpdatePool(_lockInfo.lastRewardBlock, _lockInfo.accRewardPerShare);
        }
    }

    function _pendingRewardAmount(
        address _user,
        uint256 _blockNumber
    ) internal view returns (uint256 _pending) {
        uint256 _lpSupply = totalSupply;
        UserInfo memory _userInfo = userInfo[_user];
        LockInfo memory _lockInfo = lockInfo[_userInfo.lockType];
        uint256 _accRewardPerShare = _lockInfo.accRewardPerShare;
        if (_blockNumber > _lockInfo.lastRewardBlock && _lpSupply != 0) {
            uint256 _blocks = _blockNumber - (_lockInfo.lastRewardBlock);
            uint256 _rewardAmount = (_blocks * _lockInfo.rewardPerBlock);
            _accRewardPerShare += (_calAccPerShare(_rewardAmount, _lpSupply));
        }
        _pending = uint256(
            _calAccRewardPerShare(_accRewardPerShare, _userInfo.amount) - _userInfo.rewardDebt
        );
    }

    function _calAccPerShare(
        uint256 _rewardAmount,
        uint256 _lpSupply
    ) internal pure returns (uint256) {
        return (_rewardAmount * ACC_REWARD_PRECISION) / _lpSupply;
    }

    function _calAccRewardPerShare(
        uint256 _accRewardPerShare,
        uint256 _amount
    ) internal pure returns (int256) {
        return int256((_amount * _accRewardPerShare) / ACC_REWARD_PRECISION);
    }

    function _calAccumulatedAndPendingReward(
        uint256 _accRewardPerShare,
        uint256 _amount,
        int256 _rewardDebt
    ) internal pure returns (int256 _accumulatedReward, uint256 _pendingReward) {
        _accumulatedReward = _calAccRewardPerShare(_accRewardPerShare, _amount);
        _pendingReward = uint256(_accumulatedReward - (_rewardDebt));
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.20;

import {Ownable} from "./Ownable.sol";

/**
 * @dev Contract module which provides access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is specified at deployment time in the constructor for `Ownable`. This
 * can later be changed with {transferOwnership} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

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

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

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        if (pendingOwner() != sender) {
            revert OwnableUnauthorizedAccount(sender);
        }
        _transferOwnership(sender);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

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

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

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

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

    /**
     * @dev The operation failed because the contract is paused.
     */
    error EnforcedPause();

    /**
     * @dev The operation failed because the contract is not paused.
     */
    error ExpectedPause();

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        if (paused()) {
            revert EnforcedPause();
        }
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        if (!paused()) {
            revert ExpectedPause();
        }
    }

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_SYNTH","type":"address"},{"internalType":"uint256[]","name":"_lockType","type":"uint256[]"},{"components":[{"internalType":"bool","name":"exist","type":"bool"},{"internalType":"uint64","name":"lastRewardBlock","type":"uint64"},{"internalType":"uint256","name":"maxPoolSize","type":"uint256"},{"internalType":"uint256","name":"penalty","type":"uint256"},{"internalType":"uint256","name":"coolDownPeriod","type":"uint256"},{"internalType":"uint256","name":"totalStaked","type":"uint256"},{"internalType":"uint256","name":"rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"accRewardPerShare","type":"uint256"},{"internalType":"uint256","name":"epoch","type":"uint256"}],"internalType":"struct SynthrStaking.LockInfo[]","name":"_lockInfo","type":"tuple[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"pendingRewardAmount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"lockType","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"rewardPerBlock","type":"uint256[]"}],"name":"EpochUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"bool","name":"_killed","type":"bool"}],"name":"KillPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"lastRewardBlock","type":"uint64"},{"indexed":false,"internalType":"uint256","name":"accRewardPerShare","type":"uint256"}],"name":"LogUpdatePool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"bool","name":"_alive","type":"bool"}],"name":"PoolAlived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RecoveredToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"bool","name":"emergencyWithdrawAllowed","type":"bool"}],"name":"ToggleEmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"penaltyAmount","type":"uint256"}],"name":"WithdrawPenalty","type":"event"},{"inputs":[],"name":"ACC_REWARD_PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYNTH","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"coolDownPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_lockType","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdrawAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"killPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"killed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockInfo","outputs":[{"internalType":"bool","name":"exist","type":"bool"},{"internalType":"uint64","name":"lastRewardBlock","type":"uint64"},{"internalType":"uint256","name":"maxPoolSize","type":"uint256"},{"internalType":"uint256","name":"penalty","type":"uint256"},{"internalType":"uint256","name":"coolDownPeriod","type":"uint256"},{"internalType":"uint256","name":"totalStaked","type":"uint256"},{"internalType":"uint256","name":"rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"accRewardPerShare","type":"uint256"},{"internalType":"uint256","name":"epoch","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"penaltyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"pending_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_blockNumber","type":"uint256"}],"name":"pendingRewardAtBlock","outputs":[{"internalType":"uint256","name":"pending_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revivePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lockType","type":"uint256"},{"internalType":"uint256","name":"_maxPoolSize","type":"uint256"},{"internalType":"uint256","name":"_penalty","type":"uint256"},{"internalType":"uint256","name":"_coolDownPeriod","type":"uint256"}],"name":"setLockInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleEmergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpausePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardAmount","type":"uint256"},{"internalType":"uint256[]","name":"_rewardPerBlock","type":"uint256[]"},{"internalType":"uint256[]","name":"_lockType","type":"uint256[]"}],"name":"updateEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"lockType","type":"uint256"},{"internalType":"uint256","name":"unlockEnd","type":"uint256"},{"internalType":"int256","name":"rewardDebt","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"userRewardsDebt","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawPenalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawRequest","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x60a06040523480156200001157600080fd5b5060405162002bf638038062002bf683398101604081905262000034916200047b565b836001600160a01b0381166200006557604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000708162000238565b506001805460ff60a01b191681556002558151815114620000d45760405162461bcd60e51b815260206004820152601f60248201527f53796e7468725374616b696e673a206c656e677468206e6f7420657175616c0060448201526064016200005c565b6001600160a01b038316620001365760405162461bcd60e51b815260206004820152602160248201527f53796e7468725374616b696e673a2041646472657373205a65726f20466f756e6044820152601960fa1b60648201526084016200005c565b6001600160a01b03831660805260005b82518110156200022d5781818151811062000165576200016562000568565b60200260200101516008600085848151811062000186576200018662000568565b602090810291909101810151825281810192909252604090810160002083518154938501516001600160481b0319909416901515610100600160481b031916176101006001600160401b03909416840217815590830151600180830191909155606084015160028301556080840151600383015560a0840151600483015560c0840151600583015560e0840151600683015591909201516007909201919091550162000146565b50505050506200057e565b600180546001600160a01b0319169055620002538162000256565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620002be57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715620002ff57620002ff620002c3565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620003305762000330620002c3565b604052919050565b60006001600160401b03821115620003545762000354620002c3565b5060051b60200190565b80518015158114620002be57600080fd5b80516001600160401b0381168114620002be57600080fd5b600082601f8301126200039957600080fd5b81516020620003b2620003ac8362000338565b62000305565b8281526101209283028501820192828201919087851115620003d357600080fd5b8387015b858110156200046e5781818a031215620003f15760008081fd5b620003fb620002d9565b62000406826200035e565b8152620004158683016200036f565b8187015260408281015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e0808301519082015261010080830151908201528452928401928101620003d7565b5090979650505050505050565b600080600080608085870312156200049257600080fd5b6200049d85620002a6565b93506020620004ae818701620002a6565b60408701519094506001600160401b0380821115620004cc57600080fd5b818801915088601f830112620004e157600080fd5b8151620004f2620003ac8262000338565b81815260059190911b8301840190848101908b8311156200051257600080fd5b938501935b82851015620005325784518252938501939085019062000517565b60608b015190975094505050808311156200054c57600080fd5b50506200055c8782880162000387565b91505092959194509250565b634e487b7160e01b600052603260045260246000fd5b60805161262b620005cb600039600081816104a40152818161081301528181610a4701528181610d3501528181611067015281816111f30152818161162201526119bf015261262b6000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063677554151161010f578063d1c6a231116100a2578063e30c397811610071578063e30c3978146104d9578063f218f48c146104ea578063f2fde38b146104f3578063f40f0f521461050657600080fd5b8063d1c6a23114610488578063db2e21bc14610497578063e1eddde31461049f578063e2bbb158146104c657600080fd5b80638da5cb5b116100de5780638da5cb5b14610436578063a7229fd91461045b578063aa09d5b71461046e578063aceda7f91461047657600080fd5b80636775541514610416578063715018a61461041e57806379ba5097146104265780637a39b8d81461042e57600080fd5b80631f3a0e411161018757806351cff8d91161015657806351cff8d9146103355780635b1a4c24146103485780635c975abb146103f15780636611a3891461040357600080fd5b80631f3a0e41146102ea578063213fed14146103075780632b6a72211461031a578063380e687a1461032d57600080fd5b806316689954116101c3578063166899541461024d57806318160ddd146102795780631959a002146102825780631e83409a146102d757600080fd5b8063068cc514146101f5578063093cf18f146101ff578063132611f014610207578063153d5ac51461023a575b600080fd5b6101fd610519565b005b6101fd61052b565b61022761021536600461222c565b60076020526000908152604090205481565b6040519081526020015b60405180910390f35b6101fd6102483660046122ef565b610595565b61022761025b36600461222c565b6001600160a01b031660009081526006602052604090206003015490565b61022760045481565b6102b761029036600461222c565b60066020526000908152604090208054600182015460028301546003909301549192909184565b604080519485526020850193909352918301526060820152608001610231565b6101fd6102e536600461222c565b610883565b6003546102f79060ff1681565b6040519015158152602001610231565b6101fd61031536600461235b565b610abf565b6101fd61032836600461222c565b610cc7565b6101fd610d67565b6101fd61034336600461222c565b610db1565b6103a361035636600461238d565b6008602052600090815260409020805460018201546002830154600384015460048501546005860154600687015460079097015460ff8716976101009097046001600160401b0316969089565b604080519915158a526001600160401b0390981660208a0152968801959095526060870193909352608086019190915260a085015260c084015260e083015261010082015261012001610231565b600154600160a01b900460ff166102f7565b6102276104113660046123a6565b6110e4565b6101fd6110f7565b6101fd61113c565b6101fd61114e565b6101fd61118f565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610231565b6101fd6104693660046123d0565b6111d9565b6101fd611369565b6003546102f790610100900460ff1681565b610227670de0b6b3a764000081565b6101fd611379565b6104437f000000000000000000000000000000000000000000000000000000000000000081565b6101fd6104d436600461240c565b61168b565b6001546001600160a01b0316610443565b61022760055481565b6101fd61050136600461222c565b611a2b565b61022761051436600461222c565b611a9c565b610521611aae565b610529611adb565b565b610533611aae565b6003805460ff610100808304821615810261ff0019909316929092179283905560405133937f492bd43563eee0c236005121ea0ff9fc5c6ab4942b84402d67fac942013cdbb19361058b939104161515815260200190565b60405180910390a2565b61059d611b30565b60035460ff16156105f55760405162461bcd60e51b815260206004820152601d60248201527f53796e7468725374616b696e673a20706f6f6c206973206b696c6c656400000060448201526064015b60405180910390fd5b6105fd611aae565b805182511461064e5760405162461bcd60e51b815260206004820152601f60248201527f53796e7468725374616b696e673a206c656e677468206e6f7420657175616c0060448201526064016105ec565b60005b8251811015610805576000600860008484815181106106725761067261242e565b6020908102919091018101518252818101929092526040908101600020815161012081018352815460ff8116151582526001600160401b036101009182900416948201949094526001820154928101929092526002810154606083015260038101546080830152600481015460a0830152600581015460c0830152600681015460e0830152600701549181019190915284519091508490839081106107195761071961242e565b60200260200101518160c00181815250508061010001805161073a9061245a565b90818152505080600860008585815181106107575761075761242e565b6020908102919091018101518252818101929092526040908101600020835181549385015168ffffffffffffffffff1990941690151568ffffffffffffffff001916176101006001600160401b03909416840217815590830151600180830191909155606084015160028301556080840151600383015560a0840151600483015560c0840151600583015560e084015160068301559190920151600790920191909155919091019050610651565b5061083b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333086611b5b565b336001600160a01b03167f1762287875469c878ab6651d1ec276953f5f0ef1777bc29cf75ecd623a40bce282846040516108769291906124af565b60405180910390a2505050565b61088b611bc8565b610893611b30565b33600090815260066020908152604091829020825160808101845281548152600182015492810192909252600281015492820183905260030154606082015290421161092d5760405162461bcd60e51b815260206004820152602360248201527f53796e7468725374616b696e673a20636c61696d206166746572206c6f636b20604482015262195b9960ea1b60648201526084016105ec565b600061093c8260200151611bf0565b90506000806109588360e0015185600001518660600151611dee565b602086810180516000908152600883526040808220895181548b87015168ffffffffffffffffff1990911691151568ffffffffffffffff001916919091176101006001600160401b0390921682021782558a8301516001808401919091556060808d015160028086019190915560808e015160038087019190915560a08f0151600487015560c08f0151600587015560e08f0151600680880191909155948f0151600790960195909555908e018a815233875292909752938390208c518155945193850193909355908a0151938301939093555191015590925090508015610a6e57610a6e6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168683611e11565b6040518181526001600160a01b0386169033907ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd39926839060200160405180910390a350505050610abc6001600255565b50565b610ac7611aae565b6064821115610b335760405162461bcd60e51b815260206004820152603260248201527f53796e7468725374616b696e673a2050656e616c74792070657263656e7461676044820152710652067726561746572207468616e203130360741b60648201526084016105ec565b600060086000868152602001908152602001600020604051806101200160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a90046001600160401b03166001600160401b03166001600160401b0316815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815260200160078201548152505090508181608001818152505083816040018181525050828160600181815250506001816000019015159081151581525050806008600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a8154816001600160401b0302191690836001600160401b0316021790555060408201518160010155606082015181600201556080820151816003015560a0820151816004015560c0820151816005015560e0820151816006015561010082015181600701559050505050505050565b610ccf611aae565b610cd7611bc8565b610cdf611b30565b6005805460009091556040518181526001600160a01b0383169033907f16af3e69b2cf2824289274389004b89c1da6d33361d7379ad0631f14b9869e819060200160405180910390a3610d5c6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168383611e11565b50610abc6001600255565b610d6f611b30565b33600090815260066020908152604080832060010154808452600890925290912060030154610d9e90426124dd565b3360009081526007602052604090205550565b610db9611bc8565b610dc1611b30565b3360009081526007602052604081205490819003610e2d5760405162461bcd60e51b815260206004820152602360248201527f53796e7468725374616b696e673a207265717565737420666f7220776974686460448201526272617760e81b60648201526084016105ec565b428110610e7c5760405162461bcd60e51b815260206004820181905260248201527f53796e7468725374616b696e673a206c6f636b2074696d65206e6f7420656e6460448201526064016105ec565b33600090815260066020908152604080832081516080810183528154815260018201549381018490526002820154928101929092526003015460608201529190610ec590611bf0565b90506000610ee08260e0015184600001518560600151611dee565b9150506000836000015190508060046000828254610efe91906124f0565b92505081905550808360a001818151610f1791906124f0565b9052506040840151421015610f885760208085015160008181526008909252604090912060020154606490610f4c90826124f0565b610f569084612503565b610f60919061251a565b8551909250610f709083906124f0565b60056000828254610f8191906124dd565b9091555050505b6020848101516000908152600882526040808220865181548886015168ffffffffffffffffff1990911691151568ffffffffffffffff001916919091176101006001600160401b03909216820217825587830151600180840191909155606089015160028085019190915560808a015160038086019190915560a08b0151600486015560c08b0151600586015560e08b0151600680870191909155938b01516007958601553387529287528486208681559182018690558101859055018390559092529081205561108e8661105d83856124dd565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169190611e11565b6001600160a01b038616337f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb6110c484866124dd565b60405190815260200160405180910390a35050505050610abc6001600255565b60006110f08383611e42565b9392505050565b6110ff611aae565b6003805460ff191690556040516000815233907f77337fcf1b48e6e024b256962b66c49de98c9f606b2cd9937cc0edbc7a0fb7099060200161058b565b611144611aae565b6105296000611f9c565b60015433906001600160a01b031681146111865760405163118cdaa760e01b81526001600160a01b03821660048201526024016105ec565b610abc81611f9c565b611197611aae565b6003805460ff1916600190811790915560405190815233907f7c952f2e528aa25b4eaf8b6c07af29184b27ce591295e543ced0a27b167dc7949060200161058b565b6111e1611aae565b6111e9611bc8565b6111f1611b30565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361130657600480546040516370a0823160e01b815230928101929092529082906001600160a01b038616906370a0823190602401602060405180830381865afa158015611277573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129b919061253c565b6112a591906124f0565b10156113065760405162461bcd60e51b815260206004820152602a60248201527f53796e7468725374616b696e673a2063616e206e6f74207769746864726177206044820152693ab9b2b9103a37b5b2b760b11b60648201526084016105ec565b61131a6001600160a01b0384168383611e11565b6040518181526001600160a01b0384169033907f76fb5f9555be8170fef33d7b413bcbe740a6a96cd162b1234b602329b0c84e329060200160405180910390a36113646001600255565b505050565b611371611aae565b610529611fb5565b611381611bc8565b611389611b30565b600354610100900460ff166113f65760405162461bcd60e51b815260206004820152602d60248201527f53796e7468725374616b696e673a20656d657267656e6379207769746864726160448201526c1dc81b9bdd08185b1b1bddd959609a1b60648201526084016105ec565b3360009081526006602090815260409182902082516080810184528154808252600183015493820193909352600282015493810193909352600301546060830152806114955760405162461bcd60e51b815260206004820152602860248201527f53796e7468725374616b696e673a20416d6f756e742073686f756c64206265206044820152676e6f6e207a65726f60c01b60648201526084016105ec565b602080830151600090815260088252604090819020815161012081018352815460ff8116151582526001600160401b036101009182900416948201949094526001820154928101929092526002810154606083015260038101546080830152600481015460a08301818152600583015460c0850152600683015460e08501526007909201549383019390935290918391906115319083906124f0565b9052506020838101516000908152600882526040808220845181548686015168ffffffffffffffffff1990911691151568ffffffffffffffff001916919091176101006001600160401b039092168202178255858301516001808401919091556060870151600280850191909155608088015160038086019190915560a089015160048087019190915560c08a0151600587015560e08a0151600680880191909155948a015160079096019590955533875292909652928420848155928301849055938201839055920181905581548492919061160f9084906124f0565b9091555061164990506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163384611e11565b60405182815233907f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd96959060200160405180910390a25050506105296001600255565b611693611b30565b60035460ff16156116e65760405162461bcd60e51b815260206004820152601d60248201527f53796e7468725374616b696e673a20706f6f6c206973206b696c6c656400000060448201526064016105ec565b60006116f182611bf0565b90508060400151838260a0015161170891906124dd565b11156117655760405162461bcd60e51b815260206004820152602660248201527f53796e7468725374616b696e673a206d617820616d6f756e74206c696d697420604482015265195e18d9595960d21b60648201526084016105ec565b3360009081526006602090815260409182902082516080810184528154815260018201549281019290925260028101549282018390526003015460608201529015806117b45750428160400151115b61180c5760405162461bcd60e51b8152602060048201526024808201527f53796e7468725374616b696e673a207769746864726177206c6f636b6564207460448201526337b5b2b760e11b60648201526084016105ec565b602081015115806118205750828160200151145b61186c5760405162461bcd60e51b815260206004820152601f60248201527f53796e7468725374616b696e673a206c6f636b2074797065206469666665720060448201526064016105ec565b600061187c8360e0015186611ff8565b825190915060000361189f5761189284426124dd565b6040830152602082018490525b84826000018181516118b191906124dd565b9052506060820180518291906118c8908390612555565b90525033600090815260066020908152604080832085518155918501516001830155840151600282015560608401516003909101556004805487929061190f9084906124dd565b92505081905550848360a00181815161192891906124dd565b905250600084815260086020908152604091829020855181549287015168ffffffffffffffffff1990931690151568ffffffffffffffff001916176101006001600160401b039093168302178155918501516001830155606085015160028301556080850151600383015560a0850151600483015560c0850151600583015560e085015160068301558401516007909101556119ef7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316333088611b5b565b60405185815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a25050505050565b611a33611aae565b600180546001600160a01b0383166001600160a01b03199091168117909155611a646000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000611aa88243611e42565b92915050565b6000546001600160a01b031633146105295760405163118cdaa760e01b81523360048201526024016105ec565b611ae3612017565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600154600160a01b900460ff16156105295760405163d93c066560e01b815260040160405180910390fd5b6040516001600160a01b038481166024830152838116604483015260648201839052611bc29186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612041565b50505050565b6002805403611bea57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b611c4a60405180610120016040528060001515815260200160006001600160401b03168152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b50600081815260086020908152604091829020825161012081018452815460ff811615158083526001600160401b036101009283900416948301949094526001830154948201949094526002820154606082015260038201546080820152600482015460a0820152600582015460c0820152600682015460e082015260079091015492810192909252611d2a5760405162461bcd60e51b815260206004820152602260248201527f53796e7468725374616b696e673a206c6f636b2074797065206e6f74206578696044820152611cdd60f21b60648201526084016105ec565b60045460208201516001600160401b0316431115611de8578015611d9a57600082602001516001600160401b031643611d6391906124f0565b905060008360c0015182611d779190612503565b9050611d8381846120a4565b8460e001818151611d9491906124dd565b90525050505b436001600160401b0316602083810182905260e084015160408051938452918301527ff7425522fc94826010fa0fd4e6e2777d8d7e42dcfe5534d29eaef7c25faba851910160405180910390a15b50919050565b600080611dfb8585611ff8565b9150611e07838361257d565b9050935093915050565b6040516001600160a01b0383811660248301526044820183905261136491859182169063a9059cbb90606401611b90565b600480546001600160a01b03841660009081526006602081815260408084208151608080820184528254825260018084015483870181905260028086015485880152600395860154606080870191909152918a5260088852868a20875161012081018952815460ff8116151582526001600160401b0361010091829004169a82018b90529482015498810198909852908101549187019190915293840154918501919091529782015460a0840152600582015460c08401529381015460e083018190526007909101549682019690965292949192919086118015611f2557508315155b15611f7457600082602001516001600160401b031687611f4591906124f0565b905060008360c0015182611f599190612503565b9050611f6581876120a4565b611f6f90846124dd565b925050505b8260600151611f87828560000151611ff8565b611f91919061257d565b979650505050505050565b600180546001600160a01b0319169055610abc816120b9565b611fbd611b30565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b133390565b6000670de0b6b3a764000061200d8484612503565b6110f0919061251a565b600154600160a01b900460ff1661052957604051638dfc202b60e01b815260040160405180910390fd5b60006120566001600160a01b03841683612109565b9050805160001415801561207b57508080602001905181019061207991906125a4565b155b1561136457604051635274afe760e01b81526001600160a01b03841660048201526024016105ec565b60008161200d670de0b6b3a764000085612503565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60606110f08383600084600080856001600160a01b0316848660405161212f91906125c6565b60006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b509150915061218186838361218b565b9695505050505050565b6060826121a05761219b826121e7565b6110f0565b81511580156121b757506001600160a01b0384163b155b156121e057604051639996b31560e01b81526001600160a01b03851660048201526024016105ec565b50806110f0565b8051156121f75780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461222757600080fd5b919050565b60006020828403121561223e57600080fd5b6110f082612210565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261226e57600080fd5b813560206001600160401b038083111561228a5761228a612247565b8260051b604051601f19603f830116810181811084821117156122af576122af612247565b60405293845260208187018101949081019250878511156122cf57600080fd5b6020870191505b84821015611f91578135835291830191908301906122d6565b60008060006060848603121561230457600080fd5b8335925060208401356001600160401b038082111561232257600080fd5b61232e8783880161225d565b9350604086013591508082111561234457600080fd5b506123518682870161225d565b9150509250925092565b6000806000806080858703121561237157600080fd5b5050823594602084013594506040840135936060013592509050565b60006020828403121561239f57600080fd5b5035919050565b600080604083850312156123b957600080fd5b6123c283612210565b946020939093013593505050565b6000806000606084860312156123e557600080fd5b6123ee84612210565b92506123fc60208501612210565b9150604084013590509250925092565b6000806040838503121561241f57600080fd5b50508035926020909101359150565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161246c5761246c612444565b5060010190565b60008151808452602080850194506020840160005b838110156124a457815187529582019590820190600101612488565b509495945050505050565b6040815260006124c26040830185612473565b82810360208401526124d48185612473565b95945050505050565b80820180821115611aa857611aa8612444565b81810381811115611aa857611aa8612444565b8082028115828204841417611aa857611aa8612444565b60008261253757634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561254e57600080fd5b5051919050565b808201828112600083128015821682158216171561257557612575612444565b505092915050565b818103600083128015838313168383128216171561259d5761259d612444565b5092915050565b6000602082840312156125b657600080fd5b815180151581146110f057600080fd5b6000825160005b818110156125e757602081860181015185830152016125cd565b50600092019182525091905056fea264697066735822122091505abf76a14279ec19e952150dece4c2ea1e49dba5a78ed18c08bf1c8d0e8264736f6c63430008180033000000000000000000000000f091ae0c39debd87a763d6369df138677c2ba8980000000000000000000000000721b3c9f19cfef1d622c918dcd431960f35e060000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084595161401484a0000000000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000013c68000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000129e521786aa00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063677554151161010f578063d1c6a231116100a2578063e30c397811610071578063e30c3978146104d9578063f218f48c146104ea578063f2fde38b146104f3578063f40f0f521461050657600080fd5b8063d1c6a23114610488578063db2e21bc14610497578063e1eddde31461049f578063e2bbb158146104c657600080fd5b80638da5cb5b116100de5780638da5cb5b14610436578063a7229fd91461045b578063aa09d5b71461046e578063aceda7f91461047657600080fd5b80636775541514610416578063715018a61461041e57806379ba5097146104265780637a39b8d81461042e57600080fd5b80631f3a0e411161018757806351cff8d91161015657806351cff8d9146103355780635b1a4c24146103485780635c975abb146103f15780636611a3891461040357600080fd5b80631f3a0e41146102ea578063213fed14146103075780632b6a72211461031a578063380e687a1461032d57600080fd5b806316689954116101c3578063166899541461024d57806318160ddd146102795780631959a002146102825780631e83409a146102d757600080fd5b8063068cc514146101f5578063093cf18f146101ff578063132611f014610207578063153d5ac51461023a575b600080fd5b6101fd610519565b005b6101fd61052b565b61022761021536600461222c565b60076020526000908152604090205481565b6040519081526020015b60405180910390f35b6101fd6102483660046122ef565b610595565b61022761025b36600461222c565b6001600160a01b031660009081526006602052604090206003015490565b61022760045481565b6102b761029036600461222c565b60066020526000908152604090208054600182015460028301546003909301549192909184565b604080519485526020850193909352918301526060820152608001610231565b6101fd6102e536600461222c565b610883565b6003546102f79060ff1681565b6040519015158152602001610231565b6101fd61031536600461235b565b610abf565b6101fd61032836600461222c565b610cc7565b6101fd610d67565b6101fd61034336600461222c565b610db1565b6103a361035636600461238d565b6008602052600090815260409020805460018201546002830154600384015460048501546005860154600687015460079097015460ff8716976101009097046001600160401b0316969089565b604080519915158a526001600160401b0390981660208a0152968801959095526060870193909352608086019190915260a085015260c084015260e083015261010082015261012001610231565b600154600160a01b900460ff166102f7565b6102276104113660046123a6565b6110e4565b6101fd6110f7565b6101fd61113c565b6101fd61114e565b6101fd61118f565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610231565b6101fd6104693660046123d0565b6111d9565b6101fd611369565b6003546102f790610100900460ff1681565b610227670de0b6b3a764000081565b6101fd611379565b6104437f0000000000000000000000000721b3c9f19cfef1d622c918dcd431960f35e06081565b6101fd6104d436600461240c565b61168b565b6001546001600160a01b0316610443565b61022760055481565b6101fd61050136600461222c565b611a2b565b61022761051436600461222c565b611a9c565b610521611aae565b610529611adb565b565b610533611aae565b6003805460ff610100808304821615810261ff0019909316929092179283905560405133937f492bd43563eee0c236005121ea0ff9fc5c6ab4942b84402d67fac942013cdbb19361058b939104161515815260200190565b60405180910390a2565b61059d611b30565b60035460ff16156105f55760405162461bcd60e51b815260206004820152601d60248201527f53796e7468725374616b696e673a20706f6f6c206973206b696c6c656400000060448201526064015b60405180910390fd5b6105fd611aae565b805182511461064e5760405162461bcd60e51b815260206004820152601f60248201527f53796e7468725374616b696e673a206c656e677468206e6f7420657175616c0060448201526064016105ec565b60005b8251811015610805576000600860008484815181106106725761067261242e565b6020908102919091018101518252818101929092526040908101600020815161012081018352815460ff8116151582526001600160401b036101009182900416948201949094526001820154928101929092526002810154606083015260038101546080830152600481015460a0830152600581015460c0830152600681015460e0830152600701549181019190915284519091508490839081106107195761071961242e565b60200260200101518160c00181815250508061010001805161073a9061245a565b90818152505080600860008585815181106107575761075761242e565b6020908102919091018101518252818101929092526040908101600020835181549385015168ffffffffffffffffff1990941690151568ffffffffffffffff001916176101006001600160401b03909416840217815590830151600180830191909155606084015160028301556080840151600383015560a0840151600483015560c0840151600583015560e084015160068301559190920151600790920191909155919091019050610651565b5061083b6001600160a01b037f0000000000000000000000000721b3c9f19cfef1d622c918dcd431960f35e06016333086611b5b565b336001600160a01b03167f1762287875469c878ab6651d1ec276953f5f0ef1777bc29cf75ecd623a40bce282846040516108769291906124af565b60405180910390a2505050565b61088b611bc8565b610893611b30565b33600090815260066020908152604091829020825160808101845281548152600182015492810192909252600281015492820183905260030154606082015290421161092d5760405162461bcd60e51b815260206004820152602360248201527f53796e7468725374616b696e673a20636c61696d206166746572206c6f636b20604482015262195b9960ea1b60648201526084016105ec565b600061093c8260200151611bf0565b90506000806109588360e0015185600001518660600151611dee565b602086810180516000908152600883526040808220895181548b87015168ffffffffffffffffff1990911691151568ffffffffffffffff001916919091176101006001600160401b0390921682021782558a8301516001808401919091556060808d015160028086019190915560808e015160038087019190915560a08f0151600487015560c08f0151600587015560e08f0151600680880191909155948f0151600790960195909555908e018a815233875292909752938390208c518155945193850193909355908a0151938301939093555191015590925090508015610a6e57610a6e6001600160a01b037f0000000000000000000000000721b3c9f19cfef1d622c918dcd431960f35e060168683611e11565b6040518181526001600160a01b0386169033907ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd39926839060200160405180910390a350505050610abc6001600255565b50565b610ac7611aae565b6064821115610b335760405162461bcd60e51b815260206004820152603260248201527f53796e7468725374616b696e673a2050656e616c74792070657263656e7461676044820152710652067726561746572207468616e203130360741b60648201526084016105ec565b600060086000868152602001908152602001600020604051806101200160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a90046001600160401b03166001600160401b03166001600160401b0316815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815260200160078201548152505090508181608001818152505083816040018181525050828160600181815250506001816000019015159081151581525050806008600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a8154816001600160401b0302191690836001600160401b0316021790555060408201518160010155606082015181600201556080820151816003015560a0820151816004015560c0820151816005015560e0820151816006015561010082015181600701559050505050505050565b610ccf611aae565b610cd7611bc8565b610cdf611b30565b6005805460009091556040518181526001600160a01b0383169033907f16af3e69b2cf2824289274389004b89c1da6d33361d7379ad0631f14b9869e819060200160405180910390a3610d5c6001600160a01b037f0000000000000000000000000721b3c9f19cfef1d622c918dcd431960f35e060168383611e11565b50610abc6001600255565b610d6f611b30565b33600090815260066020908152604080832060010154808452600890925290912060030154610d9e90426124dd565b3360009081526007602052604090205550565b610db9611bc8565b610dc1611b30565b3360009081526007602052604081205490819003610e2d5760405162461bcd60e51b815260206004820152602360248201527f53796e7468725374616b696e673a207265717565737420666f7220776974686460448201526272617760e81b60648201526084016105ec565b428110610e7c5760405162461bcd60e51b815260206004820181905260248201527f53796e7468725374616b696e673a206c6f636b2074696d65206e6f7420656e6460448201526064016105ec565b33600090815260066020908152604080832081516080810183528154815260018201549381018490526002820154928101929092526003015460608201529190610ec590611bf0565b90506000610ee08260e0015184600001518560600151611dee565b9150506000836000015190508060046000828254610efe91906124f0565b92505081905550808360a001818151610f1791906124f0565b9052506040840151421015610f885760208085015160008181526008909252604090912060020154606490610f4c90826124f0565b610f569084612503565b610f60919061251a565b8551909250610f709083906124f0565b60056000828254610f8191906124dd565b9091555050505b6020848101516000908152600882526040808220865181548886015168ffffffffffffffffff1990911691151568ffffffffffffffff001916919091176101006001600160401b03909216820217825587830151600180840191909155606089015160028085019190915560808a015160038086019190915560a08b0151600486015560c08b0151600586015560e08b0151600680870191909155938b01516007958601553387529287528486208681559182018690558101859055018390559092529081205561108e8661105d83856124dd565b6001600160a01b037f0000000000000000000000000721b3c9f19cfef1d622c918dcd431960f35e060169190611e11565b6001600160a01b038616337f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb6110c484866124dd565b60405190815260200160405180910390a35050505050610abc6001600255565b60006110f08383611e42565b9392505050565b6110ff611aae565b6003805460ff191690556040516000815233907f77337fcf1b48e6e024b256962b66c49de98c9f606b2cd9937cc0edbc7a0fb7099060200161058b565b611144611aae565b6105296000611f9c565b60015433906001600160a01b031681146111865760405163118cdaa760e01b81526001600160a01b03821660048201526024016105ec565b610abc81611f9c565b611197611aae565b6003805460ff1916600190811790915560405190815233907f7c952f2e528aa25b4eaf8b6c07af29184b27ce591295e543ced0a27b167dc7949060200161058b565b6111e1611aae565b6111e9611bc8565b6111f1611b30565b7f0000000000000000000000000721b3c9f19cfef1d622c918dcd431960f35e0606001600160a01b0316836001600160a01b03160361130657600480546040516370a0823160e01b815230928101929092529082906001600160a01b038616906370a0823190602401602060405180830381865afa158015611277573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129b919061253c565b6112a591906124f0565b10156113065760405162461bcd60e51b815260206004820152602a60248201527f53796e7468725374616b696e673a2063616e206e6f74207769746864726177206044820152693ab9b2b9103a37b5b2b760b11b60648201526084016105ec565b61131a6001600160a01b0384168383611e11565b6040518181526001600160a01b0384169033907f76fb5f9555be8170fef33d7b413bcbe740a6a96cd162b1234b602329b0c84e329060200160405180910390a36113646001600255565b505050565b611371611aae565b610529611fb5565b611381611bc8565b611389611b30565b600354610100900460ff166113f65760405162461bcd60e51b815260206004820152602d60248201527f53796e7468725374616b696e673a20656d657267656e6379207769746864726160448201526c1dc81b9bdd08185b1b1bddd959609a1b60648201526084016105ec565b3360009081526006602090815260409182902082516080810184528154808252600183015493820193909352600282015493810193909352600301546060830152806114955760405162461bcd60e51b815260206004820152602860248201527f53796e7468725374616b696e673a20416d6f756e742073686f756c64206265206044820152676e6f6e207a65726f60c01b60648201526084016105ec565b602080830151600090815260088252604090819020815161012081018352815460ff8116151582526001600160401b036101009182900416948201949094526001820154928101929092526002810154606083015260038101546080830152600481015460a08301818152600583015460c0850152600683015460e08501526007909201549383019390935290918391906115319083906124f0565b9052506020838101516000908152600882526040808220845181548686015168ffffffffffffffffff1990911691151568ffffffffffffffff001916919091176101006001600160401b039092168202178255858301516001808401919091556060870151600280850191909155608088015160038086019190915560a089015160048087019190915560c08a0151600587015560e08a0151600680880191909155948a015160079096019590955533875292909652928420848155928301849055938201839055920181905581548492919061160f9084906124f0565b9091555061164990506001600160a01b037f0000000000000000000000000721b3c9f19cfef1d622c918dcd431960f35e060163384611e11565b60405182815233907f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd96959060200160405180910390a25050506105296001600255565b611693611b30565b60035460ff16156116e65760405162461bcd60e51b815260206004820152601d60248201527f53796e7468725374616b696e673a20706f6f6c206973206b696c6c656400000060448201526064016105ec565b60006116f182611bf0565b90508060400151838260a0015161170891906124dd565b11156117655760405162461bcd60e51b815260206004820152602660248201527f53796e7468725374616b696e673a206d617820616d6f756e74206c696d697420604482015265195e18d9595960d21b60648201526084016105ec565b3360009081526006602090815260409182902082516080810184528154815260018201549281019290925260028101549282018390526003015460608201529015806117b45750428160400151115b61180c5760405162461bcd60e51b8152602060048201526024808201527f53796e7468725374616b696e673a207769746864726177206c6f636b6564207460448201526337b5b2b760e11b60648201526084016105ec565b602081015115806118205750828160200151145b61186c5760405162461bcd60e51b815260206004820152601f60248201527f53796e7468725374616b696e673a206c6f636b2074797065206469666665720060448201526064016105ec565b600061187c8360e0015186611ff8565b825190915060000361189f5761189284426124dd565b6040830152602082018490525b84826000018181516118b191906124dd565b9052506060820180518291906118c8908390612555565b90525033600090815260066020908152604080832085518155918501516001830155840151600282015560608401516003909101556004805487929061190f9084906124dd565b92505081905550848360a00181815161192891906124dd565b905250600084815260086020908152604091829020855181549287015168ffffffffffffffffff1990931690151568ffffffffffffffff001916176101006001600160401b039093168302178155918501516001830155606085015160028301556080850151600383015560a0850151600483015560c0850151600583015560e085015160068301558401516007909101556119ef7f0000000000000000000000000721b3c9f19cfef1d622c918dcd431960f35e0606001600160a01b0316333088611b5b565b60405185815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a25050505050565b611a33611aae565b600180546001600160a01b0383166001600160a01b03199091168117909155611a646000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000611aa88243611e42565b92915050565b6000546001600160a01b031633146105295760405163118cdaa760e01b81523360048201526024016105ec565b611ae3612017565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600154600160a01b900460ff16156105295760405163d93c066560e01b815260040160405180910390fd5b6040516001600160a01b038481166024830152838116604483015260648201839052611bc29186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612041565b50505050565b6002805403611bea57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b611c4a60405180610120016040528060001515815260200160006001600160401b03168152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b50600081815260086020908152604091829020825161012081018452815460ff811615158083526001600160401b036101009283900416948301949094526001830154948201949094526002820154606082015260038201546080820152600482015460a0820152600582015460c0820152600682015460e082015260079091015492810192909252611d2a5760405162461bcd60e51b815260206004820152602260248201527f53796e7468725374616b696e673a206c6f636b2074797065206e6f74206578696044820152611cdd60f21b60648201526084016105ec565b60045460208201516001600160401b0316431115611de8578015611d9a57600082602001516001600160401b031643611d6391906124f0565b905060008360c0015182611d779190612503565b9050611d8381846120a4565b8460e001818151611d9491906124dd565b90525050505b436001600160401b0316602083810182905260e084015160408051938452918301527ff7425522fc94826010fa0fd4e6e2777d8d7e42dcfe5534d29eaef7c25faba851910160405180910390a15b50919050565b600080611dfb8585611ff8565b9150611e07838361257d565b9050935093915050565b6040516001600160a01b0383811660248301526044820183905261136491859182169063a9059cbb90606401611b90565b600480546001600160a01b03841660009081526006602081815260408084208151608080820184528254825260018084015483870181905260028086015485880152600395860154606080870191909152918a5260088852868a20875161012081018952815460ff8116151582526001600160401b0361010091829004169a82018b90529482015498810198909852908101549187019190915293840154918501919091529782015460a0840152600582015460c08401529381015460e083018190526007909101549682019690965292949192919086118015611f2557508315155b15611f7457600082602001516001600160401b031687611f4591906124f0565b905060008360c0015182611f599190612503565b9050611f6581876120a4565b611f6f90846124dd565b925050505b8260600151611f87828560000151611ff8565b611f91919061257d565b979650505050505050565b600180546001600160a01b0319169055610abc816120b9565b611fbd611b30565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b133390565b6000670de0b6b3a764000061200d8484612503565b6110f0919061251a565b600154600160a01b900460ff1661052957604051638dfc202b60e01b815260040160405180910390fd5b60006120566001600160a01b03841683612109565b9050805160001415801561207b57508080602001905181019061207991906125a4565b155b1561136457604051635274afe760e01b81526001600160a01b03841660048201526024016105ec565b60008161200d670de0b6b3a764000085612503565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60606110f08383600084600080856001600160a01b0316848660405161212f91906125c6565b60006040518083038185875af1925050503d806000811461216c576040519150601f19603f3d011682016040523d82523d6000602084013e612171565b606091505b509150915061218186838361218b565b9695505050505050565b6060826121a05761219b826121e7565b6110f0565b81511580156121b757506001600160a01b0384163b155b156121e057604051639996b31560e01b81526001600160a01b03851660048201526024016105ec565b50806110f0565b8051156121f75780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461222757600080fd5b919050565b60006020828403121561223e57600080fd5b6110f082612210565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261226e57600080fd5b813560206001600160401b038083111561228a5761228a612247565b8260051b604051601f19603f830116810181811084821117156122af576122af612247565b60405293845260208187018101949081019250878511156122cf57600080fd5b6020870191505b84821015611f91578135835291830191908301906122d6565b60008060006060848603121561230457600080fd5b8335925060208401356001600160401b038082111561232257600080fd5b61232e8783880161225d565b9350604086013591508082111561234457600080fd5b506123518682870161225d565b9150509250925092565b6000806000806080858703121561237157600080fd5b5050823594602084013594506040840135936060013592509050565b60006020828403121561239f57600080fd5b5035919050565b600080604083850312156123b957600080fd5b6123c283612210565b946020939093013593505050565b6000806000606084860312156123e557600080fd5b6123ee84612210565b92506123fc60208501612210565b9150604084013590509250925092565b6000806040838503121561241f57600080fd5b50508035926020909101359150565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161246c5761246c612444565b5060010190565b60008151808452602080850194506020840160005b838110156124a457815187529582019590820190600101612488565b509495945050505050565b6040815260006124c26040830185612473565b82810360208401526124d48185612473565b95945050505050565b80820180821115611aa857611aa8612444565b81810381811115611aa857611aa8612444565b8082028115828204841417611aa857611aa8612444565b60008261253757634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561254e57600080fd5b5051919050565b808201828112600083128015821682158216171561257557612575612444565b505092915050565b818103600083128015838313168383128216171561259d5761259d612444565b5092915050565b6000602082840312156125b657600080fd5b815180151581146110f057600080fd5b6000825160005b818110156125e757602081860181015185830152016125cd565b50600092019182525091905056fea264697066735822122091505abf76a14279ec19e952150dece4c2ea1e49dba5a78ed18c08bf1c8d0e8264736f6c63430008180033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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