ETH Price: $2,394.56 (-2.13%)

Contract

0x1bC4D0D0a8eB5EC0be6b43E209Ba7B73f94B172B
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...178803242023-08-09 22:28:47427 days ago1691620127IN
0x1bC4D0D0...3f94B172B
0 ETH0.0004799220
Withdraw175969132023-07-01 4:43:23466 days ago1688186603IN
0x1bC4D0D0...3f94B172B
0 ETH0.0017681514.93485577
Withdraw170989272023-04-22 2:32:11536 days ago1682130731IN
0x1bC4D0D0...3f94B172B
0 ETH0.0043981232.55
Withdraw170522982023-04-15 12:05:23543 days ago1681560323IN
0x1bC4D0D0...3f94B172B
0 ETH0.0023298623.09197042
Deposit170522942023-04-15 12:04:35543 days ago1681560275IN
0x1bC4D0D0...3f94B172B
0 ETH0.002411223.35483872
Withdraw170407802023-04-13 20:37:35545 days ago1681418255IN
0x1bC4D0D0...3f94B172B
0 ETH0.0029933329.66783417
Deposit170407762023-04-13 20:36:47545 days ago1681418207IN
0x1bC4D0D0...3f94B172B
0 ETH0.0032187131.17644698
Withdraw170271912023-04-11 20:26:59547 days ago1681244819IN
0x1bC4D0D0...3f94B172B
0 ETH0.0030529928.87842333
Deposit170271742023-04-11 20:23:23547 days ago1681244603IN
0x1bC4D0D0...3f94B172B
0 ETH0.0032972127.39872186
Withdraw170085682023-04-09 5:04:35549 days ago1681016675IN
0x1bC4D0D0...3f94B172B
0 ETH0.002020820.02399347
Withdraw170085652023-04-09 5:03:59549 days ago1681016639IN
0x1bC4D0D0...3f94B172B
0 ETH0.0020011718.92921153
Deposit170085632023-04-09 5:03:35549 days ago1681016615IN
0x1bC4D0D0...3f94B172B
0 ETH0.0021313520.64424225
Deposit170044372023-04-08 15:02:47550 days ago1680966167IN
0x1bC4D0D0...3f94B172B
0 ETH0.0007299624.22251618
Withdraw170044322023-04-08 15:01:47550 days ago1680966107IN
0x1bC4D0D0...3f94B172B
0 ETH0.0022884722.67908403
Withdraw169994612023-04-07 22:08:11551 days ago1680905291IN
0x1bC4D0D0...3f94B172B
0 ETH0.0026464319.58423226
Withdraw169944062023-04-07 4:57:11551 days ago1680843431IN
0x1bC4D0D0...3f94B172B
0 ETH0.0020851420.66647098
Deposit169924862023-04-06 22:25:47552 days ago1680819947IN
0x1bC4D0D0...3f94B172B
0 ETH0.0036541625.87279198
Withdraw169906902023-04-06 16:18:23552 days ago1680797903IN
0x1bC4D0D0...3f94B172B
0 ETH0.0034697529.4
Withdraw169906832023-04-06 16:16:59552 days ago1680797819IN
0x1bC4D0D0...3f94B172B
0 ETH0.0038415132.55
Withdraw169906772023-04-06 16:15:47552 days ago1680797747IN
0x1bC4D0D0...3f94B172B
0 ETH0.0038415132.55
Withdraw169906682023-04-06 16:13:47552 days ago1680797627IN
0x1bC4D0D0...3f94B172B
0 ETH0.0042132735.7
Withdraw169905382023-04-06 15:47:11552 days ago1680796031IN
0x1bC4D0D0...3f94B172B
0 ETH0.0034972534.65
Withdraw169884532023-04-06 8:33:23552 days ago1680770003IN
0x1bC4D0D0...3f94B172B
0 ETH0.0024304124.08281934
Deposit169884492023-04-06 8:32:35552 days ago1680769955IN
0x1bC4D0D0...3f94B172B
0 ETH0.0026253425.42905226
Withdraw169556822023-04-01 17:08:11557 days ago1680368891IN
0x1bC4D0D0...3f94B172B
0 ETH0.0039533129.2632384
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SphynxMasterChefFiexed

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-01-04
*/

pragma solidity 0.6.12;

contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

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

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

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

    function mint(address recipient, uint256 amount) external returns (bool);

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

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

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

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

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

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

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

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

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

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

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

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(
            data
        );
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(
        IBEP20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transfer.selector, to, value)
        );
    }

    function safeTransferFrom(
        IBEP20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transferFrom.selector, from, to, value)
        );
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeBEP20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, value)
        );
    }

    function safeIncreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(
            value
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    function safeDecreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            "SafeBEP20: decreased allowance below zero"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    /**
     * @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(IBEP20 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,
            "SafeBEP20: low-level call failed"
        );
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(
                abi.decode(returndata, (bool)),
                "SafeBEP20: BEP20 operation did not succeed"
            );
        }
    }
}

// Have fun reading it. Hopefully it's bug-free. God bless.
contract SphynxMasterChefFiexed is Ownable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        uint256 depositTime;
        uint256 lastActionTime;
    }
    // The sphynx TOKEN!
    IBEP20 public sphynx;
    uint256 public sphynxPerBlock;
    uint256 public year = 60 * 60 * 24 * 365;
    uint256 public day = 60 * 60 * 24;

    bool public emergencyFlag;

    bool public isMint;
    uint256 public stakedTokens;
    uint256 public rewardBalance;

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

    uint256 public startTime;
    uint256 public lockDuration = 0;
    uint256 public penaltyPercent = 0;
    uint256 public stakingPerDay = 10000000 ether;

    event Deposit(address indexed user, uint256 amount);
    event Withdraw(address indexed user, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 amount);

    constructor(IBEP20 _sphynx, uint256 _sphynxPerBlock) public {
        sphynx = _sphynx;
        sphynxPerBlock = _sphynxPerBlock;
        isMint = false;
        emergencyFlag = false;
        stakedTokens = 0;
        startTime = block.timestamp;
    }

    function updateStartTime(uint256 _timestamp) external onlyOwner {
        startTime = _timestamp;
    }

    function updateStakeAmountPerDay(uint256 _amount) external onlyOwner {
        stakingPerDay = _amount;
    }

    function getCurMaxAmount() public view returns (uint256 curMaxAmount) {
        curMaxAmount = stakingPerDay.mul((block.timestamp.sub(startTime)).div(day).add(1));
    }

    function depositRewardToken(uint256 _amount) external onlyOwner {
        rewardBalance = rewardBalance.add(_amount);
        IBEP20(sphynx).safeTransferFrom(msg.sender, address(this), _amount);
    }

    function emergencyWithdrawRewardToken(uint256 _amount) external onlyOwner {
        rewardBalance = rewardBalance.sub(_amount);
        IBEP20(sphynx).safeTransfer(msg.sender, _amount);
    }

    // View function to see pending sphynxs on frontend.
    function pendingReward(address _user) public view returns (uint256) {
        UserInfo storage user = userInfo[_user];

        uint256 pendingRewards = user
            .amount
            .mul(block.timestamp.sub(user.lastActionTime))
            .mul(sphynxPerBlock)
            .div(year)
            .div(10000);                                                                                                                                                     

        return pendingRewards;
    }

    // Stake sphynx tokens to MasterChef
    function deposit(uint256 _amount) public {
        UserInfo storage user = userInfo[msg.sender];
        if (user.amount > 0) {
            uint256 pendingRewards = user
                .amount
                .mul(block.timestamp.sub(user.lastActionTime))
                .mul(sphynxPerBlock)
                .div(year)
                .div(10000);

            user.rewardDebt = user.rewardDebt + pendingRewards;
            if (pendingRewards > 0) {
                safeSphynxTransfer(msg.sender, pendingRewards);
            }
        }

        if (_amount > 0) {
            IBEP20(sphynx).safeTransferFrom(
                address(msg.sender),
                address(this),
                _amount
            );
            user.amount = user.amount.add(_amount);
            uint256 _curMaxAmount = getCurMaxAmount();
            stakedTokens = stakedTokens.add(_amount);
            require(_curMaxAmount >= stakedTokens, "over-max-amount");
            user.depositTime = block.timestamp;
        }

        user.lastActionTime = block.timestamp;
        emit Deposit(msg.sender, _amount);
    }

    // Withdraw sphynx tokens from STAKING.
    function withdraw(uint256 _amount) public {
        UserInfo storage user = userInfo[msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        // Rewards Send Part
        uint256 pendingRewards = user
            .amount
            .mul(block.timestamp.sub(user.lastActionTime))
            .mul(sphynxPerBlock)
            .div(year)
            .div(10000);

        user.rewardDebt = user.rewardDebt + pendingRewards;
        if (pendingRewards > 0) {
            safeSphynxTransfer(msg.sender, pendingRewards);
        }
        // //////////////////

        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            if (user.depositTime + lockDuration > block.timestamp) {
                uint256 fee = _amount.mul(penaltyPercent).div(10000);
                uint256 _uamount = _amount.sub(fee);
                sphynx.safeTransfer(owner(), fee);
                sphynx.safeTransfer(address(msg.sender), _uamount);
            } else {
                sphynx.safeTransfer(address(msg.sender), _amount);
            }
            stakedTokens = stakedTokens.sub(_amount);
        }

        user.lastActionTime = block.timestamp;
        emit Withdraw(msg.sender, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw() public {
        require(emergencyFlag, "emergencyWithdraw-disabled");
        UserInfo storage user = userInfo[msg.sender];
        uint256 _amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        sphynx.safeTransfer(address(msg.sender), _amount);
        stakedTokens = stakedTokens.sub(_amount);
        emit EmergencyWithdraw(msg.sender, _amount);
    }

    function updateEmergencyFlag(bool _value) external onlyOwner {
        emergencyFlag = _value;
    }

    // Safe sphynx transfer function, just in case if rounding error causes pool to not have enough sphynxs.
    function safeSphynxTransfer(address _to, uint256 _amount) internal {
        if (!isMint) {
            rewardBalance = rewardBalance.sub(_amount);
            sphynx.transfer(_to, _amount);
        } else {
            sphynx.mint(_to, _amount);
        }
    }

    function updateLockDuration(uint256 _lockDuration) external onlyOwner {
        lockDuration = _lockDuration;
    }

    function updatePenalty(uint256 _penalty) external onlyOwner {
        penaltyPercent = _penalty;
    }

    function getLockTime(address user) external view returns (uint256) {
        return userInfo[user].lastActionTime + lockDuration;
    }

    function unlockedTokens(address _user) public view returns (uint256) {
        return pendingReward(_user);
    }

    // Sphynx has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _perBlock) public onlyOwner {
        sphynxPerBlock = _perBlock;
    }

    // Set mintable of reward token
    function updateIsMint(bool _isMint) external onlyOwner {
        isMint = _isMint;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IBEP20","name":"_sphynx","type":"address"},{"internalType":"uint256","name":"_sphynxPerBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"day","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyFlag","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyWithdrawRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCurMaxAmount","outputs":[{"internalType":"uint256","name":"curMaxAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getLockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"penaltyPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sphynx","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sphynxPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingPerDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","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":[{"internalType":"address","name":"_user","type":"address"}],"name":"unlockedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"updateEmergencyFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_perBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isMint","type":"bool"}],"name":"updateIsMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lockDuration","type":"uint256"}],"name":"updateLockDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_penalty","type":"uint256"}],"name":"updatePenalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"updateStakeAmountPerDay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"updateStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"depositTime","type":"uint256"},{"internalType":"uint256","name":"lastActionTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"year","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526301e13380600355620151806004556000600a556000600b556a084595161401484a000000600c5534801561003857600080fd5b5060405161178b38038061178b8339818101604052604081101561005b57600080fd5b508051602090910151600061006e6100f5565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b0393909316929092179091556002556005805461ffff191690556000600655426009556100f9565b3390565b611683806101086000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063836115fe1161010f578063c40090fc116100a2578063f2fde38b11610071578063f2fde38b14610484578063f3269716146104aa578063f40f0f52146104b2578063f47ffd8e146104d8576101f0565b8063c40090fc14610438578063cb62900914610457578063d477edf41461045f578063db2e21bc1461047c576101f0565b8063aa5c3ab4116100de578063aa5c3ab4146103ee578063b4007cda146103f6578063b6b55f25146103fe578063c089bd741461041b576101f0565b8063836115fe1461037d5780638da5cb5b146103a3578063910863e2146103ab578063aa31aee8146103c8576101f0565b80635157702711610187578063715018a611610156578063715018a61461034657806378e979251461034e5780637b76ac91146103565780637d54979e1461035e576101f0565b806351577027146102f557806359c368981461031257806360456649146103365780636801889d1461033e576101f0565b8063161ba46a116101c3578063161ba46a146102685780631959a002146102705780632e1a7d4d146102bc57806333b3f944146102d9576101f0565b806304554443146101f557806306bcf02f1461020f5780630ba84cd21461022e5780630d3b5bb81461024b575b600080fd5b6101fd6104e0565b60408051918252519081900360200190f35b61022c6004803603602081101561022557600080fd5b50356104e6565b005b61022c6004803603602081101561024457600080fd5b5035610543565b61022c6004803603602081101561026157600080fd5b50356105a0565b6101fd610622565b6102966004803603602081101561028657600080fd5b50356001600160a01b0316610628565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61022c600480360360208110156102d257600080fd5b503561064f565b6102e16107fe565b604080519115158252519081900360200190f35b61022c6004803603602081101561030b57600080fd5b503561080c565b61031a610869565b604080516001600160a01b039092168252519081900360200190f35b6101fd610878565b6101fd6108b1565b61022c6108b7565b6101fd610959565b6101fd61095f565b61022c6004803603602081101561037457600080fd5b50351515610965565b6101fd6004803603602081101561039357600080fd5b50356001600160a01b03166109d7565b61031a6109e8565b61022c600480360360208110156103c157600080fd5b50356109f7565b6101fd600480360360208110156103de57600080fd5b50356001600160a01b0316610a54565b6101fd610a79565b6102e1610a7f565b61022c6004803603602081101561041457600080fd5b5035610a88565b61022c6004803603602081101561043157600080fd5b5035610bc3565b61022c6004803603602081101561044e57600080fd5b50351515610c43565b6101fd610cae565b61022c6004803603602081101561047557600080fd5b5035610cb4565b61022c610d11565b61022c6004803603602081101561049a57600080fd5b50356001600160a01b0316610de7565b6101fd610e48565b6101fd600480360360208110156104c857600080fd5b50356001600160a01b0316610e4e565b6101fd610e98565b600a5481565b6104ee610e9e565b6000546001600160a01b0390811691161461053e576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600955565b61054b610e9e565b6000546001600160a01b0390811691161461059b576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600255565b6105a8610e9e565b6000546001600160a01b039081169116146105f8576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b6007546106059082610ea2565b60075560015461061f906001600160a01b03163383610eeb565b50565b600b5481565b60086020526000908152604090208054600182015460028301546003909301549192909184565b33600090815260086020526040902080548211156106a9576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b60006106eb6127106106e56003546106e56002546106df6106d7896003015442610ea290919063ffffffff16565b895490610f42565b90610f42565b90610f9b565b6001830180548201905590508015610707576107073382610fdd565b82156107bd5781546107199084610ea2565b8255600a54600283015442910111156107955760006107496127106106e5600b5487610f4290919063ffffffff16565b905060006107578583610ea2565b90506107776107646109e8565b6001546001600160a01b03169084610eeb565b60015461078e906001600160a01b03163383610eeb565b50506107ac565b6001546107ac906001600160a01b03163385610eeb565b6006546107b99084610ea2565b6006555b42600383015560408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a2505050565b600554610100900460ff1681565b610814610e9e565b6000546001600160a01b03908116911614610864576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600b55565b6001546001600160a01b031681565b60006108ac6108a3600161089d6004546106e560095442610ea290919063ffffffff16565b9061110b565b600c5490610f42565b905090565b600c5481565b6108bf610e9e565b6000546001600160a01b0390811691161461090f576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60095481565b60045481565b61096d610e9e565b6000546001600160a01b039081169116146109bd576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600580549115156101000261ff0019909216919091179055565b60006109e282610e4e565b92915050565b6000546001600160a01b031690565b6109ff610e9e565b6000546001600160a01b03908116911614610a4f576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600c55565b600a546001600160a01b03821660009081526008602052604090206003015401919050565b60075481565b60055460ff1681565b336000908152600860205260409020805415610aea576000610acc6127106106e56003546106e56002546106df6106d7896003015442610ea290919063ffffffff16565b6001830180548201905590508015610ae857610ae83382610fdd565b505b8115610b8357600154610b08906001600160a01b0316333085611165565b8054610b14908361110b565b81556000610b20610878565b600654909150610b30908461110b565b6006819055811015610b7b576040805162461bcd60e51b815260206004820152600f60248201526e1bdd995c8b5b585e0b585b5bdd5b9d608a1b604482015290519081900360640190fd5b504260028201555b42600382015560408051838152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a25050565b610bcb610e9e565b6000546001600160a01b03908116911614610c1b576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600754610c28908261110b565b60075560015461061f906001600160a01b0316333084611165565b610c4b610e9e565b6000546001600160a01b03908116911614610c9b576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b6005805460ff1916911515919091179055565b60065481565b610cbc610e9e565b6000546001600160a01b03908116911614610d0c576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600a55565b60055460ff16610d68576040805162461bcd60e51b815260206004820152601a60248201527f656d657267656e637957697468647261772d64697361626c6564000000000000604482015290519081900360640190fd5b336000818152600860205260408120805482825560018083019390935591549092610d9d916001600160a01b03169083610eeb565b600654610daa9082610ea2565b60065560408051828152905133917f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd9695919081900360200190a25050565b610def610e9e565b6000546001600160a01b03908116911614610e3f576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b61061f816111bf565b60035481565b6001600160a01b038116600090815260086020526040812060038054600254918301548492610e9092612710926106e59283916106df906106d7904290610ea2565b949350505050565b60025481565b3390565b6000610ee483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061125f565b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f3d9084906112f6565b505050565b600082610f51575060006109e2565b82820282848281610f5e57fe5b0414610ee45760405162461bcd60e51b815260040180806020018281038252602181526020018061160d6021913960400191505060405180910390fd5b6000610ee483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113a7565b600554610100900460ff1661108457600754610ff99082610ea2565b6007556001546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561105257600080fd5b505af1158015611066573d6000803e3d6000fd5b505050506040513d602081101561107c57600080fd5b506111079050565b600154604080516340c10f1960e01b81526001600160a01b03858116600483015260248201859052915191909216916340c10f199160448083019260209291908290030181600087803b1580156110da57600080fd5b505af11580156110ee573d6000803e3d6000fd5b505050506040513d602081101561110457600080fd5b50505b5050565b600082820183811015610ee4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526111049085906112f6565b6001600160a01b0381166112045760405162461bcd60e51b81526004018080602001828103825260268152602001806115e76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156112ee5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156112b357818101518382015260200161129b565b50505050905090810190601f1680156112e05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b606061134b826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661140c9092919063ffffffff16565b805190915015610f3d5780806020019051602081101561136a57600080fd5b5051610f3d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806115bd602a913960400191505060405180910390fd5b600081836113f65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156112b357818101518382015260200161129b565b50600083858161140257fe5b0495945050505050565b6060610e908484600085606061142185611583565b611472576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106114b15780518252601f199092019160209182019101611492565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611513576040519150601f19603f3d011682016040523d82523d6000602084013e611518565b606091505b5091509150811561152c579150610e909050565b80511561153c5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156112b357818101518382015260200161129b565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610e9057505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212205cccecb04c4b71b6042a8d02c7a4ae1d855cf575cf3b143fb8d76eddf07ef91064736f6c634300060c00330000000000000000000000008dc89f4716e027394bba225b82328c1ea2ea58bf00000000000000000000000000000000000000000000000000000000000007d0

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063836115fe1161010f578063c40090fc116100a2578063f2fde38b11610071578063f2fde38b14610484578063f3269716146104aa578063f40f0f52146104b2578063f47ffd8e146104d8576101f0565b8063c40090fc14610438578063cb62900914610457578063d477edf41461045f578063db2e21bc1461047c576101f0565b8063aa5c3ab4116100de578063aa5c3ab4146103ee578063b4007cda146103f6578063b6b55f25146103fe578063c089bd741461041b576101f0565b8063836115fe1461037d5780638da5cb5b146103a3578063910863e2146103ab578063aa31aee8146103c8576101f0565b80635157702711610187578063715018a611610156578063715018a61461034657806378e979251461034e5780637b76ac91146103565780637d54979e1461035e576101f0565b806351577027146102f557806359c368981461031257806360456649146103365780636801889d1461033e576101f0565b8063161ba46a116101c3578063161ba46a146102685780631959a002146102705780632e1a7d4d146102bc57806333b3f944146102d9576101f0565b806304554443146101f557806306bcf02f1461020f5780630ba84cd21461022e5780630d3b5bb81461024b575b600080fd5b6101fd6104e0565b60408051918252519081900360200190f35b61022c6004803603602081101561022557600080fd5b50356104e6565b005b61022c6004803603602081101561024457600080fd5b5035610543565b61022c6004803603602081101561026157600080fd5b50356105a0565b6101fd610622565b6102966004803603602081101561028657600080fd5b50356001600160a01b0316610628565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61022c600480360360208110156102d257600080fd5b503561064f565b6102e16107fe565b604080519115158252519081900360200190f35b61022c6004803603602081101561030b57600080fd5b503561080c565b61031a610869565b604080516001600160a01b039092168252519081900360200190f35b6101fd610878565b6101fd6108b1565b61022c6108b7565b6101fd610959565b6101fd61095f565b61022c6004803603602081101561037457600080fd5b50351515610965565b6101fd6004803603602081101561039357600080fd5b50356001600160a01b03166109d7565b61031a6109e8565b61022c600480360360208110156103c157600080fd5b50356109f7565b6101fd600480360360208110156103de57600080fd5b50356001600160a01b0316610a54565b6101fd610a79565b6102e1610a7f565b61022c6004803603602081101561041457600080fd5b5035610a88565b61022c6004803603602081101561043157600080fd5b5035610bc3565b61022c6004803603602081101561044e57600080fd5b50351515610c43565b6101fd610cae565b61022c6004803603602081101561047557600080fd5b5035610cb4565b61022c610d11565b61022c6004803603602081101561049a57600080fd5b50356001600160a01b0316610de7565b6101fd610e48565b6101fd600480360360208110156104c857600080fd5b50356001600160a01b0316610e4e565b6101fd610e98565b600a5481565b6104ee610e9e565b6000546001600160a01b0390811691161461053e576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600955565b61054b610e9e565b6000546001600160a01b0390811691161461059b576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600255565b6105a8610e9e565b6000546001600160a01b039081169116146105f8576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b6007546106059082610ea2565b60075560015461061f906001600160a01b03163383610eeb565b50565b600b5481565b60086020526000908152604090208054600182015460028301546003909301549192909184565b33600090815260086020526040902080548211156106a9576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b60006106eb6127106106e56003546106e56002546106df6106d7896003015442610ea290919063ffffffff16565b895490610f42565b90610f42565b90610f9b565b6001830180548201905590508015610707576107073382610fdd565b82156107bd5781546107199084610ea2565b8255600a54600283015442910111156107955760006107496127106106e5600b5487610f4290919063ffffffff16565b905060006107578583610ea2565b90506107776107646109e8565b6001546001600160a01b03169084610eeb565b60015461078e906001600160a01b03163383610eeb565b50506107ac565b6001546107ac906001600160a01b03163385610eeb565b6006546107b99084610ea2565b6006555b42600383015560408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a2505050565b600554610100900460ff1681565b610814610e9e565b6000546001600160a01b03908116911614610864576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600b55565b6001546001600160a01b031681565b60006108ac6108a3600161089d6004546106e560095442610ea290919063ffffffff16565b9061110b565b600c5490610f42565b905090565b600c5481565b6108bf610e9e565b6000546001600160a01b0390811691161461090f576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60095481565b60045481565b61096d610e9e565b6000546001600160a01b039081169116146109bd576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600580549115156101000261ff0019909216919091179055565b60006109e282610e4e565b92915050565b6000546001600160a01b031690565b6109ff610e9e565b6000546001600160a01b03908116911614610a4f576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600c55565b600a546001600160a01b03821660009081526008602052604090206003015401919050565b60075481565b60055460ff1681565b336000908152600860205260409020805415610aea576000610acc6127106106e56003546106e56002546106df6106d7896003015442610ea290919063ffffffff16565b6001830180548201905590508015610ae857610ae83382610fdd565b505b8115610b8357600154610b08906001600160a01b0316333085611165565b8054610b14908361110b565b81556000610b20610878565b600654909150610b30908461110b565b6006819055811015610b7b576040805162461bcd60e51b815260206004820152600f60248201526e1bdd995c8b5b585e0b585b5bdd5b9d608a1b604482015290519081900360640190fd5b504260028201555b42600382015560408051838152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a25050565b610bcb610e9e565b6000546001600160a01b03908116911614610c1b576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600754610c28908261110b565b60075560015461061f906001600160a01b0316333084611165565b610c4b610e9e565b6000546001600160a01b03908116911614610c9b576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b6005805460ff1916911515919091179055565b60065481565b610cbc610e9e565b6000546001600160a01b03908116911614610d0c576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b600a55565b60055460ff16610d68576040805162461bcd60e51b815260206004820152601a60248201527f656d657267656e637957697468647261772d64697361626c6564000000000000604482015290519081900360640190fd5b336000818152600860205260408120805482825560018083019390935591549092610d9d916001600160a01b03169083610eeb565b600654610daa9082610ea2565b60065560408051828152905133917f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd9695919081900360200190a25050565b610def610e9e565b6000546001600160a01b03908116911614610e3f576040805162461bcd60e51b8152602060048201819052602482015260008051602061162e833981519152604482015290519081900360640190fd5b61061f816111bf565b60035481565b6001600160a01b038116600090815260086020526040812060038054600254918301548492610e9092612710926106e59283916106df906106d7904290610ea2565b949350505050565b60025481565b3390565b6000610ee483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061125f565b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f3d9084906112f6565b505050565b600082610f51575060006109e2565b82820282848281610f5e57fe5b0414610ee45760405162461bcd60e51b815260040180806020018281038252602181526020018061160d6021913960400191505060405180910390fd5b6000610ee483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113a7565b600554610100900460ff1661108457600754610ff99082610ea2565b6007556001546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561105257600080fd5b505af1158015611066573d6000803e3d6000fd5b505050506040513d602081101561107c57600080fd5b506111079050565b600154604080516340c10f1960e01b81526001600160a01b03858116600483015260248201859052915191909216916340c10f199160448083019260209291908290030181600087803b1580156110da57600080fd5b505af11580156110ee573d6000803e3d6000fd5b505050506040513d602081101561110457600080fd5b50505b5050565b600082820183811015610ee4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526111049085906112f6565b6001600160a01b0381166112045760405162461bcd60e51b81526004018080602001828103825260268152602001806115e76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156112ee5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156112b357818101518382015260200161129b565b50505050905090810190601f1680156112e05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b606061134b826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661140c9092919063ffffffff16565b805190915015610f3d5780806020019051602081101561136a57600080fd5b5051610f3d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806115bd602a913960400191505060405180910390fd5b600081836113f65760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156112b357818101518382015260200161129b565b50600083858161140257fe5b0495945050505050565b6060610e908484600085606061142185611583565b611472576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106114b15780518252601f199092019160209182019101611492565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611513576040519150601f19603f3d011682016040523d82523d6000602084013e611518565b606091505b5091509150811561152c579150610e909050565b80511561153c5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156112b357818101518382015260200161129b565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610e9057505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212205cccecb04c4b71b6042a8d02c7a4ae1d855cf575cf3b143fb8d76eddf07ef91064736f6c634300060c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000008dc89f4716e027394bba225b82328c1ea2ea58bf00000000000000000000000000000000000000000000000000000000000007d0

-----Decoded View---------------
Arg [0] : _sphynx (address): 0x8dc89F4716E027394Bba225b82328C1ea2Ea58Bf
Arg [1] : _sphynxPerBlock (uint256): 2000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008dc89f4716e027394bba225b82328c1ea2ea58bf
Arg [1] : 00000000000000000000000000000000000000000000000000000000000007d0


Deployed Bytecode Sourcemap

21617:7185:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22434:31;;;:::i;:::-;;;;;;;;;;;;;;;;23021:105;;;;;;;;;;;;;;;;-1:-1:-1;23021:105:0;;:::i;:::-;;28555:109;;;;;;;;;;;;;;;;-1:-1:-1;28555:109:0;;:::i;23643:194::-;;;;;;;;;;;;;;;;-1:-1:-1;23643:194:0;;:::i;22472:33::-;;;:::i;22350:44::-;;;;;;;;;;;;;;;;-1:-1:-1;22350:44:0;-1:-1:-1;;;;;22350:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25659:1269;;;;;;;;;;;;;;;;-1:-1:-1;25659:1269:0;;:::i;22205:18::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;28052:104;;;;;;;;;;;;;;;;-1:-1:-1;28052:104:0;;:::i;22019:20::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22019:20:0;;;;;;;;;;;;;;23253:171;;;:::i;22512:45::-;;;:::i;1745:140::-;;;:::i;22403:24::-;;;:::i;22129:33::-;;;:::i;28709:90::-;;;;;;;;;;;;;;;;-1:-1:-1;28709:90:0;;;;:::i;28309:115::-;;;;;;;;;;;;;;;;-1:-1:-1;28309:115:0;-1:-1:-1;;;;;28309:115:0;;:::i;1103:79::-;;;:::i;23134:111::-;;;;;;;;;;;;;;;;-1:-1:-1;23134:111:0;;:::i;28164:137::-;;;;;;;;;;;;;;;;-1:-1:-1;28164:137:0;-1:-1:-1;;;;;28164:137:0;;:::i;22264:28::-;;;:::i;22171:25::-;;;:::i;24468:1138::-;;;;;;;;;;;;;;;;-1:-1:-1;24468:1138:0;;:::i;23432:203::-;;;;;;;;;;;;;;;;-1:-1:-1;23432:203:0;;:::i;27430:102::-;;;;;;;;;;;;;;;;-1:-1:-1;27430:102:0;;;;:::i;22230:27::-;;;:::i;27927:117::-;;;;;;;;;;;;;;;;-1:-1:-1;27927:117:0;;:::i;26999:423::-;;;:::i;2040:109::-;;;;;;;;;;;;;;;;-1:-1:-1;2040:109:0;-1:-1:-1;;;;;2040:109:0;;:::i;22082:40::-;;;:::i;23903:515::-;;;;;;;;;;;;;;;;-1:-1:-1;23903:515:0;-1:-1:-1;;;;;23903:515:0;;:::i;22046:29::-;;;:::i;22434:31::-;;;;:::o;23021:105::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;23096:9:::1;:22:::0;23021:105::o;28555:109::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;28630:14:::1;:26:::0;28555:109::o;23643:194::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;23744:13:::1;::::0;:26:::1;::::0;23762:7;23744:17:::1;:26::i;:::-;23728:13;:42:::0;23788:6:::1;::::0;23781:48:::1;::::0;-1:-1:-1;;;;;23788:6:0::1;23809:10;23821:7:::0;23781:27:::1;:48::i;:::-;23643:194:::0;:::o;22472:33::-;;;;:::o;22350:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;25659:1269::-;25745:10;25712:21;25736:20;;;:8;:20;;;;;25775:11;;:22;-1:-1:-1;25775:22:0;25767:53;;;;;-1:-1:-1;;;25767:53:0;;;;;;;;;;;;-1:-1:-1;;;25767:53:0;;;;;;;;;;;;;;;25861:22;25886:168;26048:5;25886:143;26024:4;;25886:119;25990:14;;25886:85;25930:40;25950:4;:19;;;25930:15;:19;;:40;;;;:::i;:::-;25886:25;;;:43;:85::i;:::-;:103;;:119::i;:::-;:137;;:143::i;:168::-;26085:15;;;;;:32;;26067:50;;25861:193;-1:-1:-1;26132:18:0;;26128:97;;26167:46;26186:10;26198:14;26167:18;:46::i;:::-;26272:11;;26268:558;;26314:11;;:24;;26330:7;26314:15;:24::i;:::-;26300:38;;26376:12;;26357:16;;;;26391:15;26357:31;;:49;26353:407;;;26427:11;26441:38;26473:5;26441:27;26453:14;;26441:7;:11;;:27;;;;:::i;:38::-;26427:52;-1:-1:-1;26498:16:0;26517;:7;26427:52;26517:11;:16::i;:::-;26498:35;;26552:33;26572:7;:5;:7::i;:::-;26552:6;;-1:-1:-1;;;;;26552:6:0;;26581:3;26552:19;:33::i;:::-;26604:6;;:50;;-1:-1:-1;;;;;26604:6:0;26632:10;26645:8;26604:19;:50::i;:::-;26353:407;;;;;26695:6;;:49;;-1:-1:-1;;;;;26695:6:0;26723:10;26736:7;26695:19;:49::i;:::-;26789:12;;:25;;26806:7;26789:16;:25::i;:::-;26774:12;:40;26268:558;26860:15;26838:19;;;:37;26891:29;;;;;;;;26900:10;;26891:29;;;;;;;;;;25659:1269;;;:::o;22205:18::-;;;;;;;;;:::o;28052:104::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;28123:14:::1;:25:::0;28052:104::o;22019:20::-;;;-1:-1:-1;;;;;22019:20:0;;:::o;23253:171::-;23301:20;23349:67;23367:48;23413:1;23367:41;23404:3;;23368:30;23388:9;;23368:15;:19;;:30;;;;:::i;23367:41::-;:45;;:48::i;:::-;23349:13;;;:17;:67::i;:::-;23334:82;;23253:171;:::o;22512:45::-;;;;:::o;1745:140::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;1844:1:::1;1828:6:::0;;1807:40:::1;::::0;-1:-1:-1;;;;;1828:6:0;;::::1;::::0;1807:40:::1;::::0;1844:1;;1807:40:::1;1875:1;1858:19:::0;;-1:-1:-1;;;;;;1858:19:0::1;::::0;;1745:140::o;22403:24::-;;;;:::o;22129:33::-;;;;:::o;28709:90::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;28775:6:::1;:16:::0;;;::::1;;;;-1:-1:-1::0;;28775:16:0;;::::1;::::0;;;::::1;::::0;;28709:90::o;28309:115::-;28369:7;28396:20;28410:5;28396:13;:20::i;:::-;28389:27;28309:115;-1:-1:-1;;28309:115:0:o;1103:79::-;1141:7;1168:6;-1:-1:-1;;;;;1168:6:0;1103:79;:::o;23134:111::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;23214:13:::1;:23:::0;23134:111::o;28164:137::-;28281:12;;-1:-1:-1;;;;;28249:14:0;;28222:7;28249:14;;;:8;:14;;;;;:29;;;:44;28164:137;;;:::o;22264:28::-;;;;:::o;22171:25::-;;;;;;:::o;24468:1138::-;24553:10;24520:21;24544:20;;;:8;:20;;;;;24579:11;;:15;24575:447;;24611:22;24636:188;24818:5;24636:159;24790:4;;24636:131;24752:14;;24636:93;24688:40;24708:4;:19;;;24688:15;:19;;:40;;;;:::i;24636:188::-;24859:15;;;;;:32;;24841:50;;24611:213;-1:-1:-1;24910:18:0;;24906:105;;24949:46;24968:10;24980:14;24949:18;:46::i;:::-;24575:447;;25038:11;;25034:471;;25073:6;;25066:142;;-1:-1:-1;;;;;25073:6:0;25124:10;25162:4;25186:7;25066:31;:142::i;:::-;25237:11;;:24;;25253:7;25237:15;:24::i;:::-;25223:38;;:11;25300:17;:15;:17::i;:::-;25347:12;;25276:41;;-1:-1:-1;25347:25:0;;25364:7;25347:16;:25::i;:::-;25332:12;:40;;;25395:29;;;25387:57;;;;;-1:-1:-1;;;25387:57:0;;;;;;;;;;;;-1:-1:-1;;;25387:57:0;;;;;;;;;;;;;;;-1:-1:-1;25478:15:0;25459:16;;;:34;25034:471;25539:15;25517:19;;;:37;25570:28;;;;;;;;25578:10;;25570:28;;;;;;;;;;24468:1138;;:::o;23432:203::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;23523:13:::1;::::0;:26:::1;::::0;23541:7;23523:17:::1;:26::i;:::-;23507:13;:42:::0;23567:6:::1;::::0;23560:67:::1;::::0;-1:-1:-1;;;;;23567:6:0::1;23592:10;23612:4;23619:7:::0;23560:31:::1;:67::i;27430:102::-:0;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;27502:13:::1;:22:::0;;-1:-1:-1;;27502:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;27430:102::o;22230:27::-;;;;:::o;27927:117::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;28008:12:::1;:28:::0;27927:117::o;26999:423::-;27054:13;;;;27046:52;;;;;-1:-1:-1;;;27046:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27142:10;27109:21;27133:20;;;:8;:20;;;;;27182:11;;27204:15;;;-1:-1:-1;27230:15:0;;;:19;;;;27260:6;;27133:20;;27260:49;;-1:-1:-1;;;;;27260:6:0;;27182:11;27260:19;:49::i;:::-;27335:12;;:25;;27352:7;27335:16;:25::i;:::-;27320:12;:40;27376:38;;;;;;;;27394:10;;27376:38;;;;;;;;;;26999:423;;:::o;2040:109::-;1325:12;:10;:12::i;:::-;1315:6;;-1:-1:-1;;;;;1315:6:0;;;:22;;;1307:67;;;;;-1:-1:-1;;;1307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1307:67:0;;;;;;;;;;;;;;;2113:28:::1;2132:8;2113:18;:28::i;22082:40::-:0;;;;:::o;23903:515::-;-1:-1:-1;;;;;24006:15:0;;23962:7;24006:15;;;:8;:15;;;;;24197:4;;;24163:14;;24123:19;;;;23962:7;;24059:168;;24221:5;;24059:143;;;;:85;;24103:40;;:15;;:19;:40::i;24059:168::-;24034:193;23903:515;-1:-1:-1;;;;23903:515:0:o;22046:29::-;;;;:::o;240:98::-;320:10;240:98;:::o;6564:136::-;6622:7;6649:43;6653:1;6656;6649:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;6642:50;6564:136;-1:-1:-1;;;6564:136:0:o;17813:248::-;17984:58;;;-1:-1:-1;;;;;17984:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17984:58:0;-1:-1:-1;;;17984:58:0;;;17930:123;;17964:5;;17930:19;:123::i;:::-;17813:248;;;:::o;7488:471::-;7546:7;7791:6;7787:47;;-1:-1:-1;7821:1:0;7814:8;;7787:47;7858:5;;;7862:1;7858;:5;:1;7882:5;;;;;:10;7874:56;;;;-1:-1:-1;;;7874:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8435:132;8493:7;8520:39;8524:1;8527;8520:39;;;;;;;;;;;;;;;;;:3;:39::i;27650:269::-;27733:6;;;;;;;27728:184;;27772:13;;:26;;27790:7;27772:17;:26::i;:::-;27756:13;:42;27813:6;;:29;;;-1:-1:-1;;;27813:29:0;;-1:-1:-1;;;;;27813:29:0;;;;;;;;;;;;;;;:6;;;;;:15;;:29;;;;;;;;;;;;;;:6;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27728:184:0;;-1:-1:-1;27728:184:0;;27875:6;;:25;;;-1:-1:-1;;;27875:25:0;;-1:-1:-1;;;;;27875:25:0;;;;;;;;;;;;;;;:6;;;;;:11;;:25;;;;;;;;;;;;;;:6;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27728:184:0;27650:269;;:::o;6100:181::-;6158:7;6190:5;;;6214:6;;;;6206:46;;;;;-1:-1:-1;;;6206:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18069:285;18267:68;;;-1:-1:-1;;;;;18267:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18267:68:0;-1:-1:-1;;;18267:68:0;;;18213:133;;18247:5;;18213:19;:133::i;2255:266::-;-1:-1:-1;;;;;2343:22:0;;2321:110;;;;-1:-1:-1;;;2321:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2468:6;;;2447:38;;-1:-1:-1;;;;;2447:38:0;;;;2468:6;;;2447:38;;;2496:6;:17;;-1:-1:-1;;;;;;2496:17:0;-1:-1:-1;;;;;2496:17:0;;;;;;;;;;2255:266::o;7003:226::-;7123:7;7159:12;7151:6;;;;7143:29;;;;-1:-1:-1;;;7143:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7195:5:0;;;7003:226::o;20689:860::-;21113:23;21139:106;21181:4;21139:106;;;;;;;;;;;;;;;;;21147:5;-1:-1:-1;;;;;21139:27:0;;;:106;;;;;:::i;:::-;21260:17;;21113:132;;-1:-1:-1;21260:21:0;21256:286;;21433:10;21422:30;;;;;;;;;;;;;;;-1:-1:-1;21422:30:0;21396:134;;;;-1:-1:-1;;;21396:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9063:312;9183:7;9218:12;9211:5;9203:28;;;;-1:-1:-1;;;9203:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9242:9;9258:1;9254;:5;;;;;;;9063:312;-1:-1:-1;;;;;9063:312:0:o;15049:230::-;15186:12;15218:53;15241:6;15249:4;15255:1;15258:12;16843;16876:18;16887:6;16876:10;:18::i;:::-;16868:60;;;;;-1:-1:-1;;;16868:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17002:12;17016:23;17043:6;-1:-1:-1;;;;;17043:11:0;17062:8;17086:4;17043:58;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17043:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17001:100;;;;17116:7;17112:595;;;17147:10;-1:-1:-1;17140:17:0;;-1:-1:-1;17140:17:0;17112:595;17261:17;;:21;17257:439;;17524:10;17518:17;17585:15;17572:10;17568:2;17564:19;17557:44;17472:148;17660:20;;-1:-1:-1;;;17660:20:0;;;;;;;;;;;;;;;;;17667:12;;17660:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11815:641;11875:4;12356:20;;12186:66;12405:23;;;;;;:42;;-1:-1:-1;;12432:15:0;;;12397:51;-1:-1:-1;;11815:641:0:o

Swarm Source

ipfs://5cccecb04c4b71b6042a8d02c7a4ae1d855cf575cf3b143fb8d76eddf07ef910

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.