ETH Price: $3,355.14 (-0.89%)

Contract

0x13f5d86F0d3fE06a51a50AC7e9e5A699900dCC53
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw141979732022-02-13 13:09:301050 days ago1644757770IN
0x13f5d86F...9900dCC53
0 ETH0.0035898528.58735826
Withdraw141892382022-02-12 5:01:091051 days ago1644642069IN
0x13f5d86F...9900dCC53
0 ETH0.004256545.62805901
Withdraw141722012022-02-09 13:35:261054 days ago1644413726IN
0x13f5d86F...9900dCC53
0 ETH0.0074420464.16273474
Withdraw141338752022-02-03 15:45:161060 days ago1643903116IN
0x13f5d86F...9900dCC53
0 ETH0.01171227107.96020501
Withdraw140485722022-01-21 11:08:381073 days ago1642763318IN
0x13f5d86F...9900dCC53
0 ETH0.01334925106.30501766
Withdraw138926262021-12-28 8:21:501097 days ago1640679710IN
0x13f5d86F...9900dCC53
0 ETH0.00661557.02640506
Withdraw138558912021-12-22 15:47:091103 days ago1640188029IN
0x13f5d86F...9900dCC53
0 ETH0.0074216479.56730986
Withdraw138443962021-12-20 20:59:431104 days ago1640033983IN
0x13f5d86F...9900dCC53
0 ETH0.01786816154.05319269
Withdraw138333772021-12-19 4:21:431106 days ago1639887703IN
0x13f5d86F...9900dCC53
0 ETH0.0052528949.19412443
Withdraw138198052021-12-17 1:56:111108 days ago1639706171IN
0x13f5d86F...9900dCC53
0 ETH0.0091384584.23545719
Withdraw138198042021-12-17 1:56:101108 days ago1639706170IN
0x13f5d86F...9900dCC53
0 ETH0.0120122895.64908851
Withdraw138196962021-12-17 1:30:351108 days ago1639704635IN
0x13f5d86F...9900dCC53
0 ETH0.0096775577.06593106
Withdraw138092652021-12-15 10:44:571110 days ago1639565097IN
0x13f5d86F...9900dCC53
0 ETH0.0059743358.07375762
Deposit138092442021-12-15 10:39:511110 days ago1639564791IN
0x13f5d86F...9900dCC53
0 ETH0.0052210545.0499086
Withdraw137951142021-12-13 6:09:151112 days ago1639375755IN
0x13f5d86F...9900dCC53
0 ETH0.0050914540.53737473
Withdraw137896822021-12-12 10:14:291113 days ago1639304069IN
0x13f5d86F...9900dCC53
0 ETH0.0053724342.78271022
Withdraw137810812021-12-11 2:12:451114 days ago1639188765IN
0x13f5d86F...9900dCC53
0 ETH0.0102401881.5385982
Withdraw137635972021-12-08 7:47:221117 days ago1638949642IN
0x13f5d86F...9900dCC53
0 ETH0.0072298266.64231627
Withdraw137598442021-12-07 17:33:431118 days ago1638898423IN
0x13f5d86F...9900dCC53
0 ETH0.01239656120.48718932
Withdraw137598212021-12-07 17:26:431118 days ago1638898003IN
0x13f5d86F...9900dCC53
0 ETH0.010633599.58427111
Withdraw137590222021-12-07 14:21:271118 days ago1638886887IN
0x13f5d86F...9900dCC53
0 ETH0.0078354576.15593147
Withdraw137587572021-12-07 13:21:511118 days ago1638883311IN
0x13f5d86F...9900dCC53
0 ETH0.0053789666.17900282
Deposit137587312021-12-07 13:17:231118 days ago1638883043IN
0x13f5d86F...9900dCC53
0 ETH0.0082166570.89007271
Withdraw137554492021-12-07 0:33:231118 days ago1638837203IN
0x13f5d86F...9900dCC53
0 ETH0.0087864781
Deposit137534622021-12-06 16:57:311119 days ago1638809851IN
0x13f5d86F...9900dCC53
0 ETH0.01404253116.3820337
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:
Sorbettiere

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-11
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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);
            }
        }
    }
}

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

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

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

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

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

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

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

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

/**
 * @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.
 *
 * By default, the owner account will be the one that deploys the contract. 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.
 */
contract OwnableData {
    address public owner;
    address public pendingOwner;
}

abstract contract Ownable is OwnableData {
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () {
        owner = msg.sender;
        emit OwnershipTransferred(address(0), msg.sender);
    }

    function transferOwnership(address newOwner, bool direct, bool renounce) public onlyOwner {
        if (direct) {

            require(newOwner != address(0) || renounce, "Ownable: zero address");

            emit OwnershipTransferred(owner, newOwner);
            owner = newOwner;
        } else {
            pendingOwner = newOwner;
        }
    }

    function claimOwnership() public {
        address _pendingOwner = pendingOwner;

        require(msg.sender == _pendingOwner, "Ownable: caller != pending owner");

        emit OwnershipTransferred(owner, _pendingOwner);
        owner = _pendingOwner;
        pendingOwner = address(0);
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Ownable: caller is not the owner");
        _;
    }
}

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

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

    function safeTransferFrom(IERC20 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
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 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),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _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(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, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
// Sorbettiere is a "semifredo of popsicle stand" this contract is created to provide single side farm for IFO of Popsicle Finance.
// The contract is based on famous Masterchef contract (Ty guys for that)
// It intakes one token and allows the user to farm another token. Due to the crosschain nature of Popsicle Stand we've swapped reward per block
// to reward per second. Moreover, we've implemented safe transfer of reward instead of mint in Masterchef.
// Future is crosschain...

// The contract is ownable untill the DAO will be able to take over. Popsicle community shows that DAO is coming soon.
// And the contract ownership will be transferred to other contract
contract Sorbettiere is Ownable {
    using SafeERC20 for IERC20;
    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        uint256 remainingIceTokenReward;  // ICE Tokens that weren't distributed for user per pool.
        //
        // We do some fancy math here. Basically, any point in time, the amount of ICE
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accICEPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws Staked tokens to a pool. Here's what happens:
        //   1. The pool's `accICEPerShare` (and `lastRewardTime`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }
    // Info of each pool.
    struct PoolInfo {
        IERC20 stakingToken; // Contract address of staked token
        uint256 stakingTokenTotalAmount; //Total amount of deposited tokens
        uint256 accIcePerShare; // Accumulated ICE per share, times 1e12. See below.
        uint32 lastRewardTime; // Last timestamp number that ICE distribution occurs.
        uint16 allocPoint; // How many allocation points assigned to this pool. ICE to distribute per second.
        
        
    }
    
    IERC20 immutable public ice; // The ICE TOKEN!!
    
    uint256 public icePerSecond; // Ice tokens vested per second.
    
    PoolInfo[] public poolInfo; // Info of each pool.
    
    mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Info of each user that stakes tokens.
    
    uint256 public totalAllocPoint = 0; // Total allocation poitns. Must be the sum of all allocation points in all pools.
    
    uint32 immutable public startTime; // The timestamp when ICE farming starts.
    
    uint32 public endTime; // Time on which the reward calculation should end

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

    constructor(
        IERC20 _ice,
        uint256 _icePerSecond,
        uint32 _startTime
    ) {
        ice = _ice;
        
        icePerSecond = _icePerSecond;
        startTime = _startTime;
        endTime = _startTime + 7 days;
    }
    
    function changeEndTime(uint32 addSeconds) external onlyOwner {
        endTime += addSeconds;
    }
    
    // Changes Ice token reward per second. Use this function to moderate the `lockup amount`. Essentially this function changes the amount of the reward
    // which is entitled to the user for his token staking by the time the `endTime` is passed.
    //Good practice to update pools without messing up the contract
    function setIcePerSecond(uint256 _icePerSecond,  bool _withUpdate) external onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        icePerSecond= _icePerSecond;
    }
// How many pools are in the contract
    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Add a new staking token to the pool. Can only be called by the owner.
    // VERY IMPORTANT NOTICE 
    // ----------- DO NOT add the same staking token more than once. Rewards will be messed up if you do. -------------
    // Good practice to update pools without messing up the contract
    function add(
        uint16 _allocPoint,
        IERC20 _stakingToken,
        bool _withUpdate
    ) external onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardTime =
            block.timestamp > startTime ? block.timestamp : startTime;
        totalAllocPoint +=_allocPoint;
        poolInfo.push(
            PoolInfo({
                stakingToken: _stakingToken,
                stakingTokenTotalAmount: 0,
                allocPoint: _allocPoint,
                lastRewardTime: uint32(lastRewardTime),
                accIcePerShare: 0
            })
        );
    }

    // Update the given pool's ICE allocation point. Can only be called by the owner.
    // Good practice to update pools without messing up the contract
    function set(
        uint256 _pid,
        uint16 _allocPoint,
        bool _withUpdate
    ) external onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint - poolInfo[_pid].allocPoint + _allocPoint;
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // Return reward multiplier over the given _from to _to time.
    function getMultiplier(uint256 _from, uint256 _to)
        public
        view
        returns (uint256)
    {
        _from = _from > startTime ? _from : startTime;
        if (_from > endTime || _to < startTime) {
            return 0;
        }
        if (_to > endTime) {
            return endTime - _from;
        }
        return _to - _from;
    }

    // View function to see pending ICE on frontend.
    function pendingIce(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accIcePerShare = pool.accIcePerShare;
       
        if (block.timestamp > pool.lastRewardTime && pool.stakingTokenTotalAmount != 0) {
            uint256 multiplier =
                getMultiplier(pool.lastRewardTime, block.timestamp);
            uint256 iceReward =
                multiplier * icePerSecond * pool.allocPoint / totalAllocPoint;
            accIcePerShare += iceReward * 1e12 / pool.stakingTokenTotalAmount;
        }
        return user.amount * accIcePerShare / 1e12 - user.rewardDebt + user.remainingIceTokenReward;
    }

    // Update reward vairables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }

        if (pool.stakingTokenTotalAmount == 0) {
            pool.lastRewardTime = uint32(block.timestamp);
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp);
        uint256 iceReward =
            multiplier * icePerSecond * pool.allocPoint / totalAllocPoint;
        pool.accIcePerShare += iceReward * 1e12 / pool.stakingTokenTotalAmount;
        pool.lastRewardTime = uint32(block.timestamp);
    }

    // Deposit staking tokens to Sorbettiere for ICE allocation.
    function deposit(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending =
                user.amount * pool.accIcePerShare / 1e12 - user.rewardDebt + user.remainingIceTokenReward;
            user.remainingIceTokenReward = safeRewardTransfer(msg.sender, pending);
        }
        pool.stakingToken.safeTransferFrom(
            address(msg.sender),
            address(this),
            _amount
        );
        user.amount += _amount;
        pool.stakingTokenTotalAmount += _amount;
        user.rewardDebt = user.amount * pool.accIcePerShare / 1e12;
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw staked tokens from Sorbettiere.
    function withdraw(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "Sorbettiere: you cant eat that much popsicles");
        updatePool(_pid);
        uint256 pending =
            user.amount * pool.accIcePerShare / 1e12 - user.rewardDebt + user.remainingIceTokenReward;
        user.remainingIceTokenReward = safeRewardTransfer(msg.sender, pending);
        user.amount -= _amount;
        pool.stakingTokenTotalAmount -= _amount;
        user.rewardDebt = user.amount * pool.accIcePerShare / 1e12;
        pool.stakingToken.safeTransfer(address(msg.sender), _amount);
        emit Withdraw(msg.sender, _pid, _amount);
    }
    
    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 userAmount = user.amount;
        pool.stakingTokenTotalAmount -= userAmount;
        delete userInfo[_pid][msg.sender];
        pool.stakingToken.safeTransfer(address(msg.sender), userAmount);
        emit EmergencyWithdraw(msg.sender, _pid, userAmount);
    }

    // Safe ice transfer function. Just in case if the pool does not have enough ICE token,
    // The function returns the amount which is owed to the user
    function safeRewardTransfer(address _to, uint256 _amount) internal returns(uint256) {
        uint256 iceTokenBalance = ice.balanceOf(address(this));
        if (iceTokenBalance == 0) { //save some gas fee
            return _amount;
        }
        if (_amount > iceTokenBalance) { //save some gas fee
            ice.safeTransfer(_to, iceTokenBalance);
            return _amount - iceTokenBalance;
        }
        ice.safeTransfer(_to, _amount);
        return 0;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_ice","type":"address"},{"internalType":"uint256","name":"_icePerSecond","type":"uint256"},{"internalType":"uint32","name":"_startTime","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"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":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint16","name":"_allocPoint","type":"uint16"},{"internalType":"contract IERC20","name":"_stakingToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"addSeconds","type":"uint32"}],"name":"changeEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ice","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"icePerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingIce","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":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"stakingToken","type":"address"},{"internalType":"uint256","name":"stakingTokenTotalAmount","type":"uint256"},{"internalType":"uint256","name":"accIcePerShare","type":"uint256"},{"internalType":"uint32","name":"lastRewardTime","type":"uint32"},{"internalType":"uint16","name":"allocPoint","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint16","name":"_allocPoint","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_icePerSecond","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"setIcePerSecond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"},{"internalType":"bool","name":"direct","type":"bool"},{"internalType":"bool","name":"renounce","type":"bool"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"remainingIceTokenReward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405260006005553480156200001657600080fd5b5060405162002d7938038062002d7983398181016040528101906200003c9190620001ab565b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a38273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050816002819055508063ffffffff1660a08163ffffffff1660e01b8152505062093a80816200013d919062000207565b600660006101000a81548163ffffffff021916908363ffffffff1602179055505050506200032c565b6000815190506200017781620002de565b92915050565b6000815190506200018e81620002f8565b92915050565b600081519050620001a58162000312565b92915050565b600080600060608486031215620001c757620001c6620002d9565b5b6000620001d78682870162000166565b9350506020620001ea868287016200017d565b9250506040620001fd8682870162000194565b9150509250925092565b600062000214826200029a565b915062000221836200029a565b92508263ffffffff038211156200023d576200023c620002aa565b5b828201905092915050565b6000620002558262000270565b9050919050565b6000620002698262000248565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b620002e9816200025c565b8114620002f557600080fd5b50565b620003038162000290565b81146200030f57600080fd5b50565b6200031d816200029a565b81146200032957600080fd5b50565b60805160601c60a05160e01c6129e96200039060003960008181610def01528181610e3901528181610e6601528181610eb701528181611025015261105201526000818161090801528181611827015281816118f1015261195001526129e96000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063630b5ba1116100c3578063cf42947b1161007c578063cf42947b1461035a578063d1c1b4a814610376578063e2bbb15814610392578063e30c3978146103ae578063eaa6ef04146103cc578063f4cd1b02146103e85761014d565b8063630b5ba11461029657806378e97925146102a05780638da5cb5b146102be5780638dbb1e3a146102dc57806393f1a40b1461030c57806398ec8da61461033e5761014d565b80633197cbb6116101155780633197cbb6146101fc578063441a3e701461021a5780634c2a860d146102365780634e71e0c81461025457806351eb05a61461025e5780635312ea8e1461027a5761014d565b8063078dfbe714610152578063081e3eda1461016e5780631526fe271461018c57806317caf6f1146101c05780631b2e7d55146101de575b600080fd5b61016c60048036038101906101679190611dc4565b610418565b005b61017661062a565b60405161018391906123dd565b60405180910390f35b6101a660048036038101906101a19190611e97565b610637565b6040516101b7959493929190612288565b60405180910390f35b6101c86106bb565b6040516101d591906123dd565b60405180910390f35b6101e66106c1565b6040516101f391906123dd565b60405180910390f35b6102046106c7565b604051610211919061242f565b60405180910390f35b610234600480360381019061022f9190611fc4565b6106dd565b005b61023e610906565b60405161024b919061226d565b60405180910390f35b61025c61092a565b005b61027860048036038101906102739190611e97565b610abe565b005b610294600480360381019061028f9190611e97565b610c0d565b005b61029e610dba565b005b6102a8610ded565b6040516102b5919061242f565b60405180910390f35b6102c6610e11565b6040516102d391906121f2565b60405180910390f35b6102f660048036038101906102f19190611fc4565b610e35565b60405161030391906123dd565b60405180910390f35b61032660048036038101906103219190611ef1565b610f4d565b604051610335939291906123f8565b60405180910390f35b61035860048036038101906103539190611e44565b610f84565b005b610374600480360381019061036f9190612004565b6111be565b005b610390600480360381019061038b9190611f71565b61128e565b005b6103ac60048036038101906103a79190611fc4565b6113ca565b005b6103b66115bc565b6040516103c391906121f2565b60405180910390f35b6103e660048036038101906103e19190611f31565b6115e2565b005b61040260048036038101906103fd9190611ef1565b61168a565b60405161040f91906123dd565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049d9061235d565b60405180910390fd5b81156105e357600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415806104e55750805b610524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051b906122fd565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610625565b82600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b6000600380549050905090565b6003818154811061064757600080fd5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030160009054906101000a900463ffffffff16908060030160049054906101000a900461ffff16905085565b60055481565b60025481565b600660009054906101000a900463ffffffff1681565b6000600383815481106106f3576106f2612753565b5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050828160000154101561079e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107959061233d565b60405180910390fd5b6107a784610abe565b60008160020154826001015464e8d4a51000856002015485600001546107cd919061253d565b6107d7919061250c565b6107e19190612597565b6107eb919061247c565b90506107f73382611822565b8260020181905550838260000160008282546108139190612597565b925050819055508383600101600082825461082e9190612597565b9250508190555064e8d4a510008360020154836000015461084f919061253d565b610859919061250c565b82600101819055506108b033858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166119a09092919063ffffffff16565b843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040516108f791906123dd565b60405180910390a35050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b69061237d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060038281548110610ad457610ad3612753565b5b906000526020600020906004020190508060030160009054906101000a900463ffffffff1663ffffffff164211610b0b5750610c0a565b600081600101541415610b4157428160030160006101000a81548163ffffffff021916908363ffffffff16021790555050610c0a565b6000610b678260030160009054906101000a900463ffffffff1663ffffffff1642610e35565b905060006005548360030160049054906101000a900461ffff1661ffff1660025484610b93919061253d565b610b9d919061253d565b610ba7919061250c565b9050826001015464e8d4a5100082610bbf919061253d565b610bc9919061250c565b836002016000828254610bdc919061247c565b92505081905550428360030160006101000a81548163ffffffff021916908363ffffffff1602179055505050505b50565b600060038281548110610c2357610c22612753565b5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905080836001016000828254610ca49190612597565b925050819055506004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090555050610d6533828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166119a09092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583604051610dac91906123dd565b60405180910390a350505050565b6000600380549050905060005b81811015610de957610dd881610abe565b80610de2906126ac565b9050610dc7565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f000000000000000000000000000000000000000000000000000000000000000063ffffffff168311610e90577f000000000000000000000000000000000000000000000000000000000000000063ffffffff16610e92565b825b9250600660009054906101000a900463ffffffff1663ffffffff16831180610edf57507f000000000000000000000000000000000000000000000000000000000000000063ffffffff1682105b15610eed5760009050610f47565b600660009054906101000a900463ffffffff1663ffffffff16821115610f385782600660009054906101000a900463ffffffff1663ffffffff16610f319190612597565b9050610f47565b8282610f449190612597565b90505b92915050565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154905083565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611012576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110099061235d565b60405180910390fd5b801561102157611020610dba565b5b60007f000000000000000000000000000000000000000000000000000000000000000063ffffffff16421161107c577f000000000000000000000000000000000000000000000000000000000000000063ffffffff1661107e565b425b90508361ffff1660056000828254611096919061247c565b9250508190555060036040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020018363ffffffff1681526020018661ffff16815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030160006101000a81548163ffffffff021916908363ffffffff16021790555060808201518160030160046101000a81548161ffff021916908361ffff160217905550505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461124c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112439061235d565b60405180910390fd5b80600660008282829054906101000a900463ffffffff1661126d91906124d2565b92506101000a81548163ffffffff021916908363ffffffff16021790555050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461131c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113139061235d565b60405180910390fd5b801561132b5761132a610dba565b5b8161ffff166003848154811061134457611343612753565b5b906000526020600020906004020160030160049054906101000a900461ffff1661ffff166005546113759190612597565b61137f919061247c565b600581905550816003848154811061139a57611399612753565b5b906000526020600020906004020160030160046101000a81548161ffff021916908361ffff160217905550505050565b6000600383815481106113e0576113df612753565b5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061144d84610abe565b6000816000015411156114b45760008160020154826001015464e8d4a5100085600201548560000154611480919061253d565b61148a919061250c565b6114949190612597565b61149e919061247c565b90506114aa3382611822565b8260020181905550505b6115053330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611a26909392919063ffffffff16565b82816000016000828254611519919061247c565b9250508190555082826001016000828254611534919061247c565b9250508190555064e8d4a5100082600201548260000154611555919061253d565b61155f919061250c565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040516115ae91906123dd565b60405180910390a350505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611670576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116679061235d565b60405180910390fd5b801561167f5761167e610dba565b5b816002819055505050565b600080600384815481106116a1576116a0612753565b5b9060005260206000209060040201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000826002015490508260030160009054906101000a900463ffffffff1663ffffffff164211801561173c57506000836001015414155b156117d95760006117678460030160009054906101000a900463ffffffff1663ffffffff1642610e35565b905060006005548560030160049054906101000a900461ffff1661ffff1660025484611793919061253d565b61179d919061253d565b6117a7919061250c565b9050846001015464e8d4a51000826117bf919061253d565b6117c9919061250c565b836117d4919061247c565b925050505b8160020154826001015464e8d4a510008385600001546117f9919061253d565b611803919061250c565b61180d9190612597565b611817919061247c565b935050505092915050565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161187e91906121f2565b60206040518083038186803b15801561189657600080fd5b505afa1580156118aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ce9190611ec4565b905060008114156118e2578291505061199a565b808311156119495761193584827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166119a09092919063ffffffff16565b80836119419190612597565b91505061199a565b61199484847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166119a09092919063ffffffff16565b60009150505b92915050565b611a218363a9059cbb60e01b84846040516024016119bf929190612244565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611aaf565b505050565b611aa9846323b872dd60e01b858585604051602401611a479392919061220d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611aaf565b50505050565b6000611b11826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611b769092919063ffffffff16565b9050600081511115611b715780806020019051810190611b319190611e17565b611b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b67906123bd565b60405180910390fd5b5b505050565b6060611b858484600085611b8e565b90509392505050565b606082471015611bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bca9061231d565b60405180910390fd5b611bdc85611ca2565b611c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c129061239d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611c4491906121db565b60006040518083038185875af1925050503d8060008114611c81576040519150601f19603f3d011682016040523d82523d6000602084013e611c86565b606091505b5091509150611c96828286611cb5565b92505050949350505050565b600080823b905060008111915050919050565b60608315611cc557829050611d15565b600083511115611cd85782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0c91906122db565b60405180910390fd5b9392505050565b600081359050611d2b81612929565b92915050565b600081359050611d4081612940565b92915050565b600081519050611d5581612940565b92915050565b600081359050611d6a81612957565b92915050565b600081359050611d7f8161296e565b92915050565b600081359050611d9481612985565b92915050565b600081519050611da981612985565b92915050565b600081359050611dbe8161299c565b92915050565b600080600060608486031215611ddd57611ddc612782565b5b6000611deb86828701611d1c565b9350506020611dfc86828701611d31565b9250506040611e0d86828701611d31565b9150509250925092565b600060208284031215611e2d57611e2c612782565b5b6000611e3b84828501611d46565b91505092915050565b600080600060608486031215611e5d57611e5c612782565b5b6000611e6b86828701611d70565b9350506020611e7c86828701611d5b565b9250506040611e8d86828701611d31565b9150509250925092565b600060208284031215611ead57611eac612782565b5b6000611ebb84828501611d85565b91505092915050565b600060208284031215611eda57611ed9612782565b5b6000611ee884828501611d9a565b91505092915050565b60008060408385031215611f0857611f07612782565b5b6000611f1685828601611d85565b9250506020611f2785828601611d1c565b9150509250929050565b60008060408385031215611f4857611f47612782565b5b6000611f5685828601611d85565b9250506020611f6785828601611d31565b9150509250929050565b600080600060608486031215611f8a57611f89612782565b5b6000611f9886828701611d85565b9350506020611fa986828701611d70565b9250506040611fba86828701611d31565b9150509250925092565b60008060408385031215611fdb57611fda612782565b5b6000611fe985828601611d85565b9250506020611ffa85828601611d85565b9150509250929050565b60006020828403121561201a57612019612782565b5b600061202884828501611daf565b91505092915050565b61203a816125cb565b82525050565b600061204b8261244a565b6120558185612460565b9350612065818560208601612679565b80840191505092915050565b61207a81612643565b82525050565b600061208b82612455565b612095818561246b565b93506120a5818560208601612679565b6120ae81612787565b840191505092915050565b60006120c660158361246b565b91506120d182612798565b602082019050919050565b60006120e960268361246b565b91506120f4826127c1565b604082019050919050565b600061210c602d8361246b565b915061211782612810565b604082019050919050565b600061212f60208361246b565b915061213a8261285f565b602082019050919050565b600061215260208361246b565b915061215d82612888565b602082019050919050565b6000612175601d8361246b565b9150612180826128b1565b602082019050919050565b6000612198602a8361246b565b91506121a3826128da565b604082019050919050565b6121b7816125fb565b82525050565b6121c681612629565b82525050565b6121d581612633565b82525050565b60006121e78284612040565b915081905092915050565b60006020820190506122076000830184612031565b92915050565b60006060820190506122226000830186612031565b61222f6020830185612031565b61223c60408301846121bd565b949350505050565b60006040820190506122596000830185612031565b61226660208301846121bd565b9392505050565b60006020820190506122826000830184612071565b92915050565b600060a08201905061229d6000830188612071565b6122aa60208301876121bd565b6122b760408301866121bd565b6122c460608301856121cc565b6122d160808301846121ae565b9695505050505050565b600060208201905081810360008301526122f58184612080565b905092915050565b60006020820190508181036000830152612316816120b9565b9050919050565b60006020820190508181036000830152612336816120dc565b9050919050565b60006020820190508181036000830152612356816120ff565b9050919050565b6000602082019050818103600083015261237681612122565b9050919050565b6000602082019050818103600083015261239681612145565b9050919050565b600060208201905081810360008301526123b681612168565b9050919050565b600060208201905081810360008301526123d68161218b565b9050919050565b60006020820190506123f260008301846121bd565b92915050565b600060608201905061240d60008301866121bd565b61241a60208301856121bd565b61242760408301846121bd565b949350505050565b600060208201905061244460008301846121cc565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600061248782612629565b915061249283612629565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156124c7576124c66126f5565b5b828201905092915050565b60006124dd82612633565b91506124e883612633565b92508263ffffffff03821115612501576125006126f5565b5b828201905092915050565b600061251782612629565b915061252283612629565b92508261253257612531612724565b5b828204905092915050565b600061254882612629565b915061255383612629565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561258c5761258b6126f5565b5b828202905092915050565b60006125a282612629565b91506125ad83612629565b9250828210156125c0576125bf6126f5565b5b828203905092915050565b60006125d682612609565b9050919050565b60008115159050919050565b60006125f4826125cb565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600061264e82612655565b9050919050565b600061266082612667565b9050919050565b600061267282612609565b9050919050565b60005b8381101561269757808201518184015260208101905061267c565b838111156126a6576000848401525b50505050565b60006126b782612629565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156126ea576126e96126f5565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a207a65726f20616464726573730000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f536f7262657474696572653a20796f752063616e74206561742074686174206d60008201527f75636820706f707369636c657300000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b612932816125cb565b811461293d57600080fd5b50565b612949816125dd565b811461295457600080fd5b50565b612960816125e9565b811461296b57600080fd5b50565b612977816125fb565b811461298257600080fd5b50565b61298e81612629565b811461299957600080fd5b50565b6129a581612633565b81146129b057600080fd5b5056fea264697066735822122070ad86158d5c80e6686c9dd75108a6e0f0478ac384231b5b02cbaefc45d6f22964736f6c63430008070033000000000000000000000000f16e81dce15b08f326220742020379b855b87df9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000618eaba0

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063630b5ba1116100c3578063cf42947b1161007c578063cf42947b1461035a578063d1c1b4a814610376578063e2bbb15814610392578063e30c3978146103ae578063eaa6ef04146103cc578063f4cd1b02146103e85761014d565b8063630b5ba11461029657806378e97925146102a05780638da5cb5b146102be5780638dbb1e3a146102dc57806393f1a40b1461030c57806398ec8da61461033e5761014d565b80633197cbb6116101155780633197cbb6146101fc578063441a3e701461021a5780634c2a860d146102365780634e71e0c81461025457806351eb05a61461025e5780635312ea8e1461027a5761014d565b8063078dfbe714610152578063081e3eda1461016e5780631526fe271461018c57806317caf6f1146101c05780631b2e7d55146101de575b600080fd5b61016c60048036038101906101679190611dc4565b610418565b005b61017661062a565b60405161018391906123dd565b60405180910390f35b6101a660048036038101906101a19190611e97565b610637565b6040516101b7959493929190612288565b60405180910390f35b6101c86106bb565b6040516101d591906123dd565b60405180910390f35b6101e66106c1565b6040516101f391906123dd565b60405180910390f35b6102046106c7565b604051610211919061242f565b60405180910390f35b610234600480360381019061022f9190611fc4565b6106dd565b005b61023e610906565b60405161024b919061226d565b60405180910390f35b61025c61092a565b005b61027860048036038101906102739190611e97565b610abe565b005b610294600480360381019061028f9190611e97565b610c0d565b005b61029e610dba565b005b6102a8610ded565b6040516102b5919061242f565b60405180910390f35b6102c6610e11565b6040516102d391906121f2565b60405180910390f35b6102f660048036038101906102f19190611fc4565b610e35565b60405161030391906123dd565b60405180910390f35b61032660048036038101906103219190611ef1565b610f4d565b604051610335939291906123f8565b60405180910390f35b61035860048036038101906103539190611e44565b610f84565b005b610374600480360381019061036f9190612004565b6111be565b005b610390600480360381019061038b9190611f71565b61128e565b005b6103ac60048036038101906103a79190611fc4565b6113ca565b005b6103b66115bc565b6040516103c391906121f2565b60405180910390f35b6103e660048036038101906103e19190611f31565b6115e2565b005b61040260048036038101906103fd9190611ef1565b61168a565b60405161040f91906123dd565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049d9061235d565b60405180910390fd5b81156105e357600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415806104e55750805b610524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051b906122fd565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610625565b82600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b6000600380549050905090565b6003818154811061064757600080fd5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030160009054906101000a900463ffffffff16908060030160049054906101000a900461ffff16905085565b60055481565b60025481565b600660009054906101000a900463ffffffff1681565b6000600383815481106106f3576106f2612753565b5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050828160000154101561079e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107959061233d565b60405180910390fd5b6107a784610abe565b60008160020154826001015464e8d4a51000856002015485600001546107cd919061253d565b6107d7919061250c565b6107e19190612597565b6107eb919061247c565b90506107f73382611822565b8260020181905550838260000160008282546108139190612597565b925050819055508383600101600082825461082e9190612597565b9250508190555064e8d4a510008360020154836000015461084f919061253d565b610859919061250c565b82600101819055506108b033858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166119a09092919063ffffffff16565b843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040516108f791906123dd565b60405180910390a35050505050565b7f000000000000000000000000f16e81dce15b08f326220742020379b855b87df981565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b69061237d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060038281548110610ad457610ad3612753565b5b906000526020600020906004020190508060030160009054906101000a900463ffffffff1663ffffffff164211610b0b5750610c0a565b600081600101541415610b4157428160030160006101000a81548163ffffffff021916908363ffffffff16021790555050610c0a565b6000610b678260030160009054906101000a900463ffffffff1663ffffffff1642610e35565b905060006005548360030160049054906101000a900461ffff1661ffff1660025484610b93919061253d565b610b9d919061253d565b610ba7919061250c565b9050826001015464e8d4a5100082610bbf919061253d565b610bc9919061250c565b836002016000828254610bdc919061247c565b92505081905550428360030160006101000a81548163ffffffff021916908363ffffffff1602179055505050505b50565b600060038281548110610c2357610c22612753565b5b9060005260206000209060040201905060006004600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905080836001016000828254610ca49190612597565b925050819055506004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160009055600182016000905560028201600090555050610d6533828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166119a09092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583604051610dac91906123dd565b60405180910390a350505050565b6000600380549050905060005b81811015610de957610dd881610abe565b80610de2906126ac565b9050610dc7565b5050565b7f00000000000000000000000000000000000000000000000000000000618eaba081565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f00000000000000000000000000000000000000000000000000000000618eaba063ffffffff168311610e90577f00000000000000000000000000000000000000000000000000000000618eaba063ffffffff16610e92565b825b9250600660009054906101000a900463ffffffff1663ffffffff16831180610edf57507f00000000000000000000000000000000000000000000000000000000618eaba063ffffffff1682105b15610eed5760009050610f47565b600660009054906101000a900463ffffffff1663ffffffff16821115610f385782600660009054906101000a900463ffffffff1663ffffffff16610f319190612597565b9050610f47565b8282610f449190612597565b90505b92915050565b6004602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154905083565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611012576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110099061235d565b60405180910390fd5b801561102157611020610dba565b5b60007f00000000000000000000000000000000000000000000000000000000618eaba063ffffffff16421161107c577f00000000000000000000000000000000000000000000000000000000618eaba063ffffffff1661107e565b425b90508361ffff1660056000828254611096919061247c565b9250508190555060036040518060a001604052808573ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020018363ffffffff1681526020018661ffff16815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030160006101000a81548163ffffffff021916908363ffffffff16021790555060808201518160030160046101000a81548161ffff021916908361ffff160217905550505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461124c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112439061235d565b60405180910390fd5b80600660008282829054906101000a900463ffffffff1661126d91906124d2565b92506101000a81548163ffffffff021916908363ffffffff16021790555050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461131c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113139061235d565b60405180910390fd5b801561132b5761132a610dba565b5b8161ffff166003848154811061134457611343612753565b5b906000526020600020906004020160030160049054906101000a900461ffff1661ffff166005546113759190612597565b61137f919061247c565b600581905550816003848154811061139a57611399612753565b5b906000526020600020906004020160030160046101000a81548161ffff021916908361ffff160217905550505050565b6000600383815481106113e0576113df612753565b5b9060005260206000209060040201905060006004600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061144d84610abe565b6000816000015411156114b45760008160020154826001015464e8d4a5100085600201548560000154611480919061253d565b61148a919061250c565b6114949190612597565b61149e919061247c565b90506114aa3382611822565b8260020181905550505b6115053330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611a26909392919063ffffffff16565b82816000016000828254611519919061247c565b9250508190555082826001016000828254611534919061247c565b9250508190555064e8d4a5100082600201548260000154611555919061253d565b61155f919061250c565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040516115ae91906123dd565b60405180910390a350505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611670576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116679061235d565b60405180910390fd5b801561167f5761167e610dba565b5b816002819055505050565b600080600384815481106116a1576116a0612753565b5b9060005260206000209060040201905060006004600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000826002015490508260030160009054906101000a900463ffffffff1663ffffffff164211801561173c57506000836001015414155b156117d95760006117678460030160009054906101000a900463ffffffff1663ffffffff1642610e35565b905060006005548560030160049054906101000a900461ffff1661ffff1660025484611793919061253d565b61179d919061253d565b6117a7919061250c565b9050846001015464e8d4a51000826117bf919061253d565b6117c9919061250c565b836117d4919061247c565b925050505b8160020154826001015464e8d4a510008385600001546117f9919061253d565b611803919061250c565b61180d9190612597565b611817919061247c565b935050505092915050565b6000807f000000000000000000000000f16e81dce15b08f326220742020379b855b87df973ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161187e91906121f2565b60206040518083038186803b15801561189657600080fd5b505afa1580156118aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ce9190611ec4565b905060008114156118e2578291505061199a565b808311156119495761193584827f000000000000000000000000f16e81dce15b08f326220742020379b855b87df973ffffffffffffffffffffffffffffffffffffffff166119a09092919063ffffffff16565b80836119419190612597565b91505061199a565b61199484847f000000000000000000000000f16e81dce15b08f326220742020379b855b87df973ffffffffffffffffffffffffffffffffffffffff166119a09092919063ffffffff16565b60009150505b92915050565b611a218363a9059cbb60e01b84846040516024016119bf929190612244565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611aaf565b505050565b611aa9846323b872dd60e01b858585604051602401611a479392919061220d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611aaf565b50505050565b6000611b11826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611b769092919063ffffffff16565b9050600081511115611b715780806020019051810190611b319190611e17565b611b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b67906123bd565b60405180910390fd5b5b505050565b6060611b858484600085611b8e565b90509392505050565b606082471015611bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bca9061231d565b60405180910390fd5b611bdc85611ca2565b611c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c129061239d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611c4491906121db565b60006040518083038185875af1925050503d8060008114611c81576040519150601f19603f3d011682016040523d82523d6000602084013e611c86565b606091505b5091509150611c96828286611cb5565b92505050949350505050565b600080823b905060008111915050919050565b60608315611cc557829050611d15565b600083511115611cd85782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0c91906122db565b60405180910390fd5b9392505050565b600081359050611d2b81612929565b92915050565b600081359050611d4081612940565b92915050565b600081519050611d5581612940565b92915050565b600081359050611d6a81612957565b92915050565b600081359050611d7f8161296e565b92915050565b600081359050611d9481612985565b92915050565b600081519050611da981612985565b92915050565b600081359050611dbe8161299c565b92915050565b600080600060608486031215611ddd57611ddc612782565b5b6000611deb86828701611d1c565b9350506020611dfc86828701611d31565b9250506040611e0d86828701611d31565b9150509250925092565b600060208284031215611e2d57611e2c612782565b5b6000611e3b84828501611d46565b91505092915050565b600080600060608486031215611e5d57611e5c612782565b5b6000611e6b86828701611d70565b9350506020611e7c86828701611d5b565b9250506040611e8d86828701611d31565b9150509250925092565b600060208284031215611ead57611eac612782565b5b6000611ebb84828501611d85565b91505092915050565b600060208284031215611eda57611ed9612782565b5b6000611ee884828501611d9a565b91505092915050565b60008060408385031215611f0857611f07612782565b5b6000611f1685828601611d85565b9250506020611f2785828601611d1c565b9150509250929050565b60008060408385031215611f4857611f47612782565b5b6000611f5685828601611d85565b9250506020611f6785828601611d31565b9150509250929050565b600080600060608486031215611f8a57611f89612782565b5b6000611f9886828701611d85565b9350506020611fa986828701611d70565b9250506040611fba86828701611d31565b9150509250925092565b60008060408385031215611fdb57611fda612782565b5b6000611fe985828601611d85565b9250506020611ffa85828601611d85565b9150509250929050565b60006020828403121561201a57612019612782565b5b600061202884828501611daf565b91505092915050565b61203a816125cb565b82525050565b600061204b8261244a565b6120558185612460565b9350612065818560208601612679565b80840191505092915050565b61207a81612643565b82525050565b600061208b82612455565b612095818561246b565b93506120a5818560208601612679565b6120ae81612787565b840191505092915050565b60006120c660158361246b565b91506120d182612798565b602082019050919050565b60006120e960268361246b565b91506120f4826127c1565b604082019050919050565b600061210c602d8361246b565b915061211782612810565b604082019050919050565b600061212f60208361246b565b915061213a8261285f565b602082019050919050565b600061215260208361246b565b915061215d82612888565b602082019050919050565b6000612175601d8361246b565b9150612180826128b1565b602082019050919050565b6000612198602a8361246b565b91506121a3826128da565b604082019050919050565b6121b7816125fb565b82525050565b6121c681612629565b82525050565b6121d581612633565b82525050565b60006121e78284612040565b915081905092915050565b60006020820190506122076000830184612031565b92915050565b60006060820190506122226000830186612031565b61222f6020830185612031565b61223c60408301846121bd565b949350505050565b60006040820190506122596000830185612031565b61226660208301846121bd565b9392505050565b60006020820190506122826000830184612071565b92915050565b600060a08201905061229d6000830188612071565b6122aa60208301876121bd565b6122b760408301866121bd565b6122c460608301856121cc565b6122d160808301846121ae565b9695505050505050565b600060208201905081810360008301526122f58184612080565b905092915050565b60006020820190508181036000830152612316816120b9565b9050919050565b60006020820190508181036000830152612336816120dc565b9050919050565b60006020820190508181036000830152612356816120ff565b9050919050565b6000602082019050818103600083015261237681612122565b9050919050565b6000602082019050818103600083015261239681612145565b9050919050565b600060208201905081810360008301526123b681612168565b9050919050565b600060208201905081810360008301526123d68161218b565b9050919050565b60006020820190506123f260008301846121bd565b92915050565b600060608201905061240d60008301866121bd565b61241a60208301856121bd565b61242760408301846121bd565b949350505050565b600060208201905061244460008301846121cc565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600061248782612629565b915061249283612629565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156124c7576124c66126f5565b5b828201905092915050565b60006124dd82612633565b91506124e883612633565b92508263ffffffff03821115612501576125006126f5565b5b828201905092915050565b600061251782612629565b915061252283612629565b92508261253257612531612724565b5b828204905092915050565b600061254882612629565b915061255383612629565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561258c5761258b6126f5565b5b828202905092915050565b60006125a282612629565b91506125ad83612629565b9250828210156125c0576125bf6126f5565b5b828203905092915050565b60006125d682612609565b9050919050565b60008115159050919050565b60006125f4826125cb565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600061264e82612655565b9050919050565b600061266082612667565b9050919050565b600061267282612609565b9050919050565b60005b8381101561269757808201518184015260208101905061267c565b838111156126a6576000848401525b50505050565b60006126b782612629565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156126ea576126e96126f5565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a207a65726f20616464726573730000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f536f7262657474696572653a20796f752063616e74206561742074686174206d60008201527f75636820706f707369636c657300000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b612932816125cb565b811461293d57600080fd5b50565b612949816125dd565b811461295457600080fd5b50565b612960816125e9565b811461296b57600080fd5b50565b612977816125fb565b811461298257600080fd5b50565b61298e81612629565b811461299957600080fd5b50565b6129a581612633565b81146129b057600080fd5b5056fea264697066735822122070ad86158d5c80e6686c9dd75108a6e0f0478ac384231b5b02cbaefc45d6f22964736f6c63430008070033

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

000000000000000000000000f16e81dce15b08f326220742020379b855b87df9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000618eaba0

-----Decoded View---------------
Arg [0] : _ice (address): 0xf16e81dce15B08F326220742020379B855B87DF9
Arg [1] : _icePerSecond (uint256): 0
Arg [2] : _startTime (uint32): 1636740000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000f16e81dce15b08f326220742020379b855b87df9
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 00000000000000000000000000000000000000000000000000000000618eaba0


Deployed Bytecode Sourcemap

16783:10048:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11572:363;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;20095:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18421:26;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;18600:34;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18348:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18818:21;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;24878:778;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18289:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11943:301;;;:::i;:::-;;23284:654;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;25731:443;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;23028:180;;;:::i;:::-;;18730:33;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11250:20;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21723:369;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18482:64;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;20498:652;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;19413:101;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;21315:333;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;24012:809;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;11277:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19847:203;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;22154:791;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11572:363;12306:5;;;;;;;;;;12292:19;;:10;:19;;;12284:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;11677:6:::1;11673:255;;;11730:1;11710:22;;:8;:22;;;;:34;;;;11736:8;11710:34;11702:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;11820:8;11792:37;;11813:5;::::0;::::1;;;;;;;;11792:37;;;;;;;;;;;;11852:8;11844:5;::::0;:16:::1;;;;;;;;;;;;;;;;;;11673:255;;;11908:8;11893:12;;:23;;;;;;;;;;;;;;;;;;11673:255;11572:363:::0;;;:::o;20095:95::-;20140:7;20167:8;:15;;;;20160:22;;20095:95;:::o;18421:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18600:34::-;;;;:::o;18348:27::-;;;;:::o;18818:21::-;;;;;;;;;;;;;:::o;24878:778::-;24945:21;24969:8;24978:4;24969:14;;;;;;;;:::i;:::-;;;;;;;;;;;;24945:38;;24994:21;25018:8;:14;25027:4;25018:14;;;;;;;;;;;:26;25033:10;25018:26;;;;;;;;;;;;;;;24994:50;;25078:7;25063:4;:11;;;:22;;25055:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;25146:16;25157:4;25146:10;:16::i;:::-;25173:15;25265:4;:28;;;25247:4;:15;;;25240:4;25218;:19;;;25204:4;:11;;;:33;;;;:::i;:::-;:40;;;;:::i;:::-;:58;;;;:::i;:::-;:89;;;;:::i;:::-;25173:120;;25335:39;25354:10;25366:7;25335:18;:39::i;:::-;25304:4;:28;;:70;;;;25400:7;25385:4;:11;;;:22;;;;;;;:::i;:::-;;;;;;;;25450:7;25418:4;:28;;;:39;;;;;;;:::i;:::-;;;;;;;;25522:4;25500;:19;;;25486:4;:11;;;:33;;;;:::i;:::-;:40;;;;:::i;:::-;25468:4;:15;;:58;;;;25537:60;25576:10;25589:7;25537:4;:17;;;;;;;;;;;;:30;;;;:60;;;;;:::i;:::-;25634:4;25622:10;25613:35;;;25640:7;25613:35;;;;;;:::i;:::-;;;;;;;;24934:722;;;24878:778;;:::o;18289:27::-;;;:::o;11943:301::-;11987:21;12011:12;;;;;;;;;;;11987:36;;12058:13;12044:27;;:10;:27;;;12036:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;12154:13;12126:42;;12147:5;;;;;;;;;;12126:42;;;;;;;;;;;;12187:13;12179:5;;:21;;;;;;;;;;;;;;;;;;12234:1;12211:12;;:25;;;;;;;;;;;;;;;;;;11976:268;11943:301::o;23284:654::-;23336:21;23360:8;23369:4;23360:14;;;;;;;;:::i;:::-;;;;;;;;;;;;23336:38;;23408:4;:19;;;;;;;;;;;;23389:38;;:15;:38;23385:77;;23444:7;;;23385:77;23510:1;23478:4;:28;;;:33;23474:132;;;23557:15;23528:4;:19;;;:45;;;;;;;;;;;;;;;;;;23588:7;;;23474:132;23616:18;23637:51;23651:4;:19;;;;;;;;;;;;23637:51;;23672:15;23637:13;:51::i;:::-;23616:72;;23699:17;23778:15;;23760:4;:15;;;;;;;;;;;;23732:43;;23745:12;;23732:10;:25;;;;:::i;:::-;:43;;;;:::i;:::-;:61;;;;:::i;:::-;23699:94;;23846:4;:28;;;23839:4;23827:9;:16;;;;:::i;:::-;:47;;;;:::i;:::-;23804:4;:19;;;:70;;;;;;;:::i;:::-;;;;;;;;23914:15;23885:4;:19;;;:45;;;;;;;;;;;;;;;;;;23325:613;;;23284:654;;:::o;25731:443::-;25790:21;25814:8;25823:4;25814:14;;;;;;;;:::i;:::-;;;;;;;;;;;;25790:38;;25839:21;25863:8;:14;25872:4;25863:14;;;;;;;;;;;:26;25878:10;25863:26;;;;;;;;;;;;;;;25839:50;;25900:18;25921:4;:11;;;25900:32;;25975:10;25943:4;:28;;;:42;;;;;;;:::i;:::-;;;;;;;;26003:8;:14;26012:4;26003:14;;;;;;;;;;;:26;26018:10;26003:26;;;;;;;;;;;;;;;;25996:33;;;;;;;;;;;;;;;;;;;;26040:63;26079:10;26092;26040:4;:17;;;;;;;;;;;;:30;;;;:63;;;;;:::i;:::-;26149:4;26137:10;26119:47;;;26155:10;26119:47;;;;;;:::i;:::-;;;;;;;;25779:395;;;25731:443;:::o;23028:180::-;23073:14;23090:8;:15;;;;23073:32;;23121:11;23116:85;23144:6;23138:3;:12;23116:85;;;23174:15;23185:3;23174:10;:15::i;:::-;23152:5;;;;:::i;:::-;;;23116:85;;;;23062:146;23028:180::o;18730:33::-;;;:::o;11250:20::-;;;;;;;;;;;;:::o;21723:369::-;21822:7;21863:9;21855:17;;:5;:17;:37;;21883:9;21855:37;;;;;21875:5;21855:37;21847:45;;21915:7;;;;;;;;;;;21907:15;;:5;:15;:34;;;;21932:9;21926:15;;:3;:15;21907:34;21903:75;;;21965:1;21958:8;;;;21903:75;21998:7;;;;;;;;;;;21992:13;;:3;:13;21988:68;;;22039:5;22029:7;;;;;;;;;;;:15;;;;;;:::i;:::-;22022:22;;;;21988:68;22079:5;22073:3;:11;;;;:::i;:::-;22066:18;;21723:369;;;;;:::o;18482:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;20498:652::-;12306:5;;;;;;;;;;12292:19;;:10;:19;;;12284:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;20639:11:::1;20635:61;;;20667:17;:15;:17::i;:::-;20635:61;20706:22;20762:9;20744:27;;:15;:27;:57;;20792:9;20744:57;;;;;20774:15;20744:57;20706:95;;20830:11;20812:29;;:15;;:29;;;;;;;:::i;:::-;;;;;;;;20852:8;20880:251;;;;;;;;20922:13;20880:251;;;;;;20979:1;20880:251;;;;21114:1;20880:251;;;;21064:14;20880:251;;;;;;21011:11;20880:251;;;;::::0;20852:290:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20624:526;20498:652:::0;;;:::o;19413:101::-;12306:5;;;;;;;;;;12292:19;;:10;:19;;;12284:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;19496:10:::1;19485:7;;:21;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19413:101:::0;:::o;21315:333::-;12306:5;;;;;;;;;;12292:19;;:10;:19;;;12284:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;21448:11:::1;21444:61;;;21476:17;:15;:17::i;:::-;21444:61;21579:11;21533:57;;21551:8;21560:4;21551:14;;;;;;;;:::i;:::-;;;;;;;;;;;;:25;;;;;;;;;;;;21533:43;;:15;;:43;;;;:::i;:::-;:57;;;;:::i;:::-;21515:15;:75;;;;21629:11;21601:8;21610:4;21601:14;;;;;;;;:::i;:::-;;;;;;;;;;;;:25;;;:39;;;;;;;;;;;;;;;;;;21315:333:::0;;;:::o;24012:809::-;24078:21;24102:8;24111:4;24102:14;;;;;;;;:::i;:::-;;;;;;;;;;;;24078:38;;24127:21;24151:8;:14;24160:4;24151:14;;;;;;;;;;;:26;24166:10;24151:26;;;;;;;;;;;;;;;24127:50;;24188:16;24199:4;24188:10;:16::i;:::-;24233:1;24219:4;:11;;;:15;24215:257;;;24251:15;24347:4;:28;;;24329:4;:15;;;24322:4;24300;:19;;;24286:4;:11;;;:33;;;;:::i;:::-;:40;;;;:::i;:::-;:58;;;;:::i;:::-;:89;;;;:::i;:::-;24251:124;;24421:39;24440:10;24452:7;24421:18;:39::i;:::-;24390:4;:28;;:70;;;;24236:236;24215:257;24482:129;24539:10;24573:4;24593:7;24482:4;:17;;;;;;;;;;;;:34;;;;:129;;;;;;:::i;:::-;24637:7;24622:4;:11;;;:22;;;;;;;:::i;:::-;;;;;;;;24687:7;24655:4;:28;;;:39;;;;;;;:::i;:::-;;;;;;;;24759:4;24737;:19;;;24723:4;:11;;;:33;;;;:::i;:::-;:40;;;;:::i;:::-;24705:4;:15;;:58;;;;24799:4;24787:10;24779:34;;;24805:7;24779:34;;;;;;:::i;:::-;;;;;;;;24067:754;;24012:809;;:::o;11277:27::-;;;;;;;;;;;;;:::o;19847:203::-;12306:5;;;;;;;;;;12292:19;;:10;:19;;;12284:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;19948:11:::1;19944:61;;;19976:17;:15;:17::i;:::-;19944:61;20029:13;20015:12;:27;;;;19847:203:::0;;:::o;22154:791::-;22253:7;22278:21;22302:8;22311:4;22302:14;;;;;;;;:::i;:::-;;;;;;;;;;;;22278:38;;22327:21;22351:8;:14;22360:4;22351:14;;;;;;;;;;;:21;22366:5;22351:21;;;;;;;;;;;;;;;22327:45;;22383:22;22408:4;:19;;;22383:44;;22469:4;:19;;;;;;;;;;;;22451:37;;:15;:37;:74;;;;;22524:1;22492:4;:28;;;:33;;22451:74;22447:389;;;22542:18;22580:51;22594:4;:19;;;;;;;;;;;;22580:51;;22615:15;22580:13;:51::i;:::-;22542:89;;22646:17;22729:15;;22711:4;:15;;;;;;;;;;;;22683:43;;22696:12;;22683:10;:25;;;;:::i;:::-;:43;;;;:::i;:::-;:61;;;;:::i;:::-;22646:98;;22796:4;:28;;;22789:4;22777:9;:16;;;;:::i;:::-;:47;;;;:::i;:::-;22759:65;;;;;:::i;:::-;;;22527:309;;22447:389;22909:4;:28;;;22891:4;:15;;;22884:4;22867:14;22853:4;:11;;;:28;;;;:::i;:::-;:35;;;;:::i;:::-;:53;;;;:::i;:::-;:84;;;;:::i;:::-;22846:91;;;;;22154:791;;;;:::o;26341:487::-;26416:7;26436:23;26462:3;:13;;;26484:4;26462:28;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26436:54;;26524:1;26505:15;:20;26501:87;;;26569:7;26562:14;;;;;26501:87;26612:15;26602:7;:25;26598:163;;;26664:38;26681:3;26686:15;26664:3;:16;;;;:38;;;;;:::i;:::-;26734:15;26724:7;:25;;;;:::i;:::-;26717:32;;;;;26598:163;26771:30;26788:3;26793:7;26771:3;:16;;;;:30;;;;;:::i;:::-;26819:1;26812:8;;;26341:487;;;;;:::o;12901:177::-;12984:86;13004:5;13034:23;;;13059:2;13063:5;13011:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12984:19;:86::i;:::-;12901:177;;;:::o;13086:205::-;13187:96;13207:5;13237:27;;;13266:4;13272:2;13276:5;13214:68;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13187:19;:96::i;:::-;13086:205;;;;:::o;15335:761::-;15759:23;15785:69;15813:4;15785:69;;;;;;;;;;;;;;;;;15793:5;15785:27;;;;:69;;;;;:::i;:::-;15759:95;;15889:1;15869:10;:17;:21;15865:224;;;16011:10;16000:30;;;;;;;;;;;;:::i;:::-;15992:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;15865:224;15405:691;15335:761;;:::o;3661:195::-;3764:12;3796:52;3818:6;3826:4;3832:1;3835:12;3796:21;:52::i;:::-;3789:59;;3661:195;;;;;:::o;4713:530::-;4840:12;4898:5;4873:21;:30;;4865:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;4965:18;4976:6;4965:10;:18::i;:::-;4957:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;5091:12;5105:23;5132:6;:11;;5152:5;5160:4;5132:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5090:75;;;;5183:52;5201:7;5210:10;5222:12;5183:17;:52::i;:::-;5176:59;;;;4713:530;;;;;;:::o;743:422::-;803:4;1011:12;1122:7;1110:20;1102:28;;1156:1;1149:4;:8;1142:15;;;743:422;;;:::o;7253:742::-;7368:12;7397:7;7393:595;;;7428:10;7421:17;;;;7393:595;7562:1;7542:10;:17;:21;7538:439;;;7805:10;7799:17;7866:15;7853:10;7849:2;7845:19;7838:44;7538:439;7948:12;7941:20;;;;;;;;;;;:::i;:::-;;;;;;;;7253:742;;;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:133::-;195:5;233:6;220:20;211:29;;249:30;273:5;249:30;:::i;:::-;152:133;;;;:::o;291:137::-;345:5;376:6;370:13;361:22;;392:30;416:5;392:30;:::i;:::-;291:137;;;;:::o;434:167::-;494:5;532:6;519:20;510:29;;548:47;589:5;548:47;:::i;:::-;434:167;;;;:::o;607:137::-;652:5;690:6;677:20;668:29;;706:32;732:5;706:32;:::i;:::-;607:137;;;;:::o;750:139::-;796:5;834:6;821:20;812:29;;850:33;877:5;850:33;:::i;:::-;750:139;;;;:::o;895:143::-;952:5;983:6;977:13;968:22;;999:33;1026:5;999:33;:::i;:::-;895:143;;;;:::o;1044:137::-;1089:5;1127:6;1114:20;1105:29;;1143:32;1169:5;1143:32;:::i;:::-;1044:137;;;;:::o;1187:607::-;1258:6;1266;1274;1323:2;1311:9;1302:7;1298:23;1294:32;1291:119;;;1329:79;;:::i;:::-;1291:119;1449:1;1474:53;1519:7;1510:6;1499:9;1495:22;1474:53;:::i;:::-;1464:63;;1420:117;1576:2;1602:50;1644:7;1635:6;1624:9;1620:22;1602:50;:::i;:::-;1592:60;;1547:115;1701:2;1727:50;1769:7;1760:6;1749:9;1745:22;1727:50;:::i;:::-;1717:60;;1672:115;1187:607;;;;;:::o;1800:345::-;1867:6;1916:2;1904:9;1895:7;1891:23;1887:32;1884:119;;;1922:79;;:::i;:::-;1884:119;2042:1;2067:61;2120:7;2111:6;2100:9;2096:22;2067:61;:::i;:::-;2057:71;;2013:125;1800:345;;;;:::o;2151:639::-;2238:6;2246;2254;2303:2;2291:9;2282:7;2278:23;2274:32;2271:119;;;2309:79;;:::i;:::-;2271:119;2429:1;2454:52;2498:7;2489:6;2478:9;2474:22;2454:52;:::i;:::-;2444:62;;2400:116;2555:2;2581:67;2640:7;2631:6;2620:9;2616:22;2581:67;:::i;:::-;2571:77;;2526:132;2697:2;2723:50;2765:7;2756:6;2745:9;2741:22;2723:50;:::i;:::-;2713:60;;2668:115;2151:639;;;;;:::o;2796:329::-;2855:6;2904:2;2892:9;2883:7;2879:23;2875:32;2872:119;;;2910:79;;:::i;:::-;2872:119;3030:1;3055:53;3100:7;3091:6;3080:9;3076:22;3055:53;:::i;:::-;3045:63;;3001:117;2796:329;;;;:::o;3131:351::-;3201:6;3250:2;3238:9;3229:7;3225:23;3221:32;3218:119;;;3256:79;;:::i;:::-;3218:119;3376:1;3401:64;3457:7;3448:6;3437:9;3433:22;3401:64;:::i;:::-;3391:74;;3347:128;3131:351;;;;:::o;3488:474::-;3556:6;3564;3613:2;3601:9;3592:7;3588:23;3584:32;3581:119;;;3619:79;;:::i;:::-;3581:119;3739:1;3764:53;3809:7;3800:6;3789:9;3785:22;3764:53;:::i;:::-;3754:63;;3710:117;3866:2;3892:53;3937:7;3928:6;3917:9;3913:22;3892:53;:::i;:::-;3882:63;;3837:118;3488:474;;;;;:::o;3968:468::-;4033:6;4041;4090:2;4078:9;4069:7;4065:23;4061:32;4058:119;;;4096:79;;:::i;:::-;4058:119;4216:1;4241:53;4286:7;4277:6;4266:9;4262:22;4241:53;:::i;:::-;4231:63;;4187:117;4343:2;4369:50;4411:7;4402:6;4391:9;4387:22;4369:50;:::i;:::-;4359:60;;4314:115;3968:468;;;;;:::o;4442:611::-;4515:6;4523;4531;4580:2;4568:9;4559:7;4555:23;4551:32;4548:119;;;4586:79;;:::i;:::-;4548:119;4706:1;4731:53;4776:7;4767:6;4756:9;4752:22;4731:53;:::i;:::-;4721:63;;4677:117;4833:2;4859:52;4903:7;4894:6;4883:9;4879:22;4859:52;:::i;:::-;4849:62;;4804:117;4960:2;4986:50;5028:7;5019:6;5008:9;5004:22;4986:50;:::i;:::-;4976:60;;4931:115;4442:611;;;;;:::o;5059:474::-;5127:6;5135;5184:2;5172:9;5163:7;5159:23;5155:32;5152:119;;;5190:79;;:::i;:::-;5152:119;5310:1;5335:53;5380:7;5371:6;5360:9;5356:22;5335:53;:::i;:::-;5325:63;;5281:117;5437:2;5463:53;5508:7;5499:6;5488:9;5484:22;5463:53;:::i;:::-;5453:63;;5408:118;5059:474;;;;;:::o;5539:327::-;5597:6;5646:2;5634:9;5625:7;5621:23;5617:32;5614:119;;;5652:79;;:::i;:::-;5614:119;5772:1;5797:52;5841:7;5832:6;5821:9;5817:22;5797:52;:::i;:::-;5787:62;;5743:116;5539:327;;;;:::o;5872:118::-;5959:24;5977:5;5959:24;:::i;:::-;5954:3;5947:37;5872:118;;:::o;5996:373::-;6100:3;6128:38;6160:5;6128:38;:::i;:::-;6182:88;6263:6;6258:3;6182:88;:::i;:::-;6175:95;;6279:52;6324:6;6319:3;6312:4;6305:5;6301:16;6279:52;:::i;:::-;6356:6;6351:3;6347:16;6340:23;;6104:265;5996:373;;;;:::o;6375:159::-;6476:51;6521:5;6476:51;:::i;:::-;6471:3;6464:64;6375:159;;:::o;6540:364::-;6628:3;6656:39;6689:5;6656:39;:::i;:::-;6711:71;6775:6;6770:3;6711:71;:::i;:::-;6704:78;;6791:52;6836:6;6831:3;6824:4;6817:5;6813:16;6791:52;:::i;:::-;6868:29;6890:6;6868:29;:::i;:::-;6863:3;6859:39;6852:46;;6632:272;6540:364;;;;:::o;6910:366::-;7052:3;7073:67;7137:2;7132:3;7073:67;:::i;:::-;7066:74;;7149:93;7238:3;7149:93;:::i;:::-;7267:2;7262:3;7258:12;7251:19;;6910:366;;;:::o;7282:::-;7424:3;7445:67;7509:2;7504:3;7445:67;:::i;:::-;7438:74;;7521:93;7610:3;7521:93;:::i;:::-;7639:2;7634:3;7630:12;7623:19;;7282:366;;;:::o;7654:::-;7796:3;7817:67;7881:2;7876:3;7817:67;:::i;:::-;7810:74;;7893:93;7982:3;7893:93;:::i;:::-;8011:2;8006:3;8002:12;7995:19;;7654:366;;;:::o;8026:::-;8168:3;8189:67;8253:2;8248:3;8189:67;:::i;:::-;8182:74;;8265:93;8354:3;8265:93;:::i;:::-;8383:2;8378:3;8374:12;8367:19;;8026:366;;;:::o;8398:::-;8540:3;8561:67;8625:2;8620:3;8561:67;:::i;:::-;8554:74;;8637:93;8726:3;8637:93;:::i;:::-;8755:2;8750:3;8746:12;8739:19;;8398:366;;;:::o;8770:::-;8912:3;8933:67;8997:2;8992:3;8933:67;:::i;:::-;8926:74;;9009:93;9098:3;9009:93;:::i;:::-;9127:2;9122:3;9118:12;9111:19;;8770:366;;;:::o;9142:::-;9284:3;9305:67;9369:2;9364:3;9305:67;:::i;:::-;9298:74;;9381:93;9470:3;9381:93;:::i;:::-;9499:2;9494:3;9490:12;9483:19;;9142:366;;;:::o;9514:115::-;9599:23;9616:5;9599:23;:::i;:::-;9594:3;9587:36;9514:115;;:::o;9635:118::-;9722:24;9740:5;9722:24;:::i;:::-;9717:3;9710:37;9635:118;;:::o;9759:115::-;9844:23;9861:5;9844:23;:::i;:::-;9839:3;9832:36;9759:115;;:::o;9880:271::-;10010:3;10032:93;10121:3;10112:6;10032:93;:::i;:::-;10025:100;;10142:3;10135:10;;9880:271;;;;:::o;10157:222::-;10250:4;10288:2;10277:9;10273:18;10265:26;;10301:71;10369:1;10358:9;10354:17;10345:6;10301:71;:::i;:::-;10157:222;;;;:::o;10385:442::-;10534:4;10572:2;10561:9;10557:18;10549:26;;10585:71;10653:1;10642:9;10638:17;10629:6;10585:71;:::i;:::-;10666:72;10734:2;10723:9;10719:18;10710:6;10666:72;:::i;:::-;10748;10816:2;10805:9;10801:18;10792:6;10748:72;:::i;:::-;10385:442;;;;;;:::o;10833:332::-;10954:4;10992:2;10981:9;10977:18;10969:26;;11005:71;11073:1;11062:9;11058:17;11049:6;11005:71;:::i;:::-;11086:72;11154:2;11143:9;11139:18;11130:6;11086:72;:::i;:::-;10833:332;;;;;:::o;11171:250::-;11278:4;11316:2;11305:9;11301:18;11293:26;;11329:85;11411:1;11400:9;11396:17;11387:6;11329:85;:::i;:::-;11171:250;;;;:::o;11427:684::-;11642:4;11680:3;11669:9;11665:19;11657:27;;11694:85;11776:1;11765:9;11761:17;11752:6;11694:85;:::i;:::-;11789:72;11857:2;11846:9;11842:18;11833:6;11789:72;:::i;:::-;11871;11939:2;11928:9;11924:18;11915:6;11871:72;:::i;:::-;11953:70;12019:2;12008:9;12004:18;11995:6;11953:70;:::i;:::-;12033:71;12099:3;12088:9;12084:19;12075:6;12033:71;:::i;:::-;11427:684;;;;;;;;:::o;12117:313::-;12230:4;12268:2;12257:9;12253:18;12245:26;;12317:9;12311:4;12307:20;12303:1;12292:9;12288:17;12281:47;12345:78;12418:4;12409:6;12345:78;:::i;:::-;12337:86;;12117:313;;;;:::o;12436:419::-;12602:4;12640:2;12629:9;12625:18;12617:26;;12689:9;12683:4;12679:20;12675:1;12664:9;12660:17;12653:47;12717:131;12843:4;12717:131;:::i;:::-;12709:139;;12436:419;;;:::o;12861:::-;13027:4;13065:2;13054:9;13050:18;13042:26;;13114:9;13108:4;13104:20;13100:1;13089:9;13085:17;13078:47;13142:131;13268:4;13142:131;:::i;:::-;13134:139;;12861:419;;;:::o;13286:::-;13452:4;13490:2;13479:9;13475:18;13467:26;;13539:9;13533:4;13529:20;13525:1;13514:9;13510:17;13503:47;13567:131;13693:4;13567:131;:::i;:::-;13559:139;;13286:419;;;:::o;13711:::-;13877:4;13915:2;13904:9;13900:18;13892:26;;13964:9;13958:4;13954:20;13950:1;13939:9;13935:17;13928:47;13992:131;14118:4;13992:131;:::i;:::-;13984:139;;13711:419;;;:::o;14136:::-;14302:4;14340:2;14329:9;14325:18;14317:26;;14389:9;14383:4;14379:20;14375:1;14364:9;14360:17;14353:47;14417:131;14543:4;14417:131;:::i;:::-;14409:139;;14136:419;;;:::o;14561:::-;14727:4;14765:2;14754:9;14750:18;14742:26;;14814:9;14808:4;14804:20;14800:1;14789:9;14785:17;14778:47;14842:131;14968:4;14842:131;:::i;:::-;14834:139;;14561:419;;;:::o;14986:::-;15152:4;15190:2;15179:9;15175:18;15167:26;;15239:9;15233:4;15229:20;15225:1;15214:9;15210:17;15203:47;15267:131;15393:4;15267:131;:::i;:::-;15259:139;;14986:419;;;:::o;15411:222::-;15504:4;15542:2;15531:9;15527:18;15519:26;;15555:71;15623:1;15612:9;15608:17;15599:6;15555:71;:::i;:::-;15411:222;;;;:::o;15639:442::-;15788:4;15826:2;15815:9;15811:18;15803:26;;15839:71;15907:1;15896:9;15892:17;15883:6;15839:71;:::i;:::-;15920:72;15988:2;15977:9;15973:18;15964:6;15920:72;:::i;:::-;16002;16070:2;16059:9;16055:18;16046:6;16002:72;:::i;:::-;15639:442;;;;;;:::o;16087:218::-;16178:4;16216:2;16205:9;16201:18;16193:26;;16229:69;16295:1;16284:9;16280:17;16271:6;16229:69;:::i;:::-;16087:218;;;;:::o;16392:98::-;16443:6;16477:5;16471:12;16461:22;;16392:98;;;:::o;16496:99::-;16548:6;16582:5;16576:12;16566:22;;16496:99;;;:::o;16601:147::-;16702:11;16739:3;16724:18;;16601:147;;;;:::o;16754:169::-;16838:11;16872:6;16867:3;16860:19;16912:4;16907:3;16903:14;16888:29;;16754:169;;;;:::o;16929:305::-;16969:3;16988:20;17006:1;16988:20;:::i;:::-;16983:25;;17022:20;17040:1;17022:20;:::i;:::-;17017:25;;17176:1;17108:66;17104:74;17101:1;17098:81;17095:107;;;17182:18;;:::i;:::-;17095:107;17226:1;17223;17219:9;17212:16;;16929:305;;;;:::o;17240:246::-;17279:3;17298:19;17315:1;17298:19;:::i;:::-;17293:24;;17331:19;17348:1;17331:19;:::i;:::-;17326:24;;17428:1;17416:10;17412:18;17409:1;17406:25;17403:51;;;17434:18;;:::i;:::-;17403:51;17478:1;17475;17471:9;17464:16;;17240:246;;;;:::o;17492:185::-;17532:1;17549:20;17567:1;17549:20;:::i;:::-;17544:25;;17583:20;17601:1;17583:20;:::i;:::-;17578:25;;17622:1;17612:35;;17627:18;;:::i;:::-;17612:35;17669:1;17666;17662:9;17657:14;;17492:185;;;;:::o;17683:348::-;17723:7;17746:20;17764:1;17746:20;:::i;:::-;17741:25;;17780:20;17798:1;17780:20;:::i;:::-;17775:25;;17968:1;17900:66;17896:74;17893:1;17890:81;17885:1;17878:9;17871:17;17867:105;17864:131;;;17975:18;;:::i;:::-;17864:131;18023:1;18020;18016:9;18005:20;;17683:348;;;;:::o;18037:191::-;18077:4;18097:20;18115:1;18097:20;:::i;:::-;18092:25;;18131:20;18149:1;18131:20;:::i;:::-;18126:25;;18170:1;18167;18164:8;18161:34;;;18175:18;;:::i;:::-;18161:34;18220:1;18217;18213:9;18205:17;;18037:191;;;;:::o;18234:96::-;18271:7;18300:24;18318:5;18300:24;:::i;:::-;18289:35;;18234:96;;;:::o;18336:90::-;18370:7;18413:5;18406:13;18399:21;18388:32;;18336:90;;;:::o;18432:110::-;18483:7;18512:24;18530:5;18512:24;:::i;:::-;18501:35;;18432:110;;;:::o;18548:89::-;18584:7;18624:6;18617:5;18613:18;18602:29;;18548:89;;;:::o;18643:126::-;18680:7;18720:42;18713:5;18709:54;18698:65;;18643:126;;;:::o;18775:77::-;18812:7;18841:5;18830:16;;18775:77;;;:::o;18858:93::-;18894:7;18934:10;18927:5;18923:22;18912:33;;18858:93;;;:::o;18957:140::-;19021:9;19054:37;19085:5;19054:37;:::i;:::-;19041:50;;18957:140;;;:::o;19103:126::-;19153:9;19186:37;19217:5;19186:37;:::i;:::-;19173:50;;19103:126;;;:::o;19235:113::-;19285:9;19318:24;19336:5;19318:24;:::i;:::-;19305:37;;19235:113;;;:::o;19354:307::-;19422:1;19432:113;19446:6;19443:1;19440:13;19432:113;;;19531:1;19526:3;19522:11;19516:18;19512:1;19507:3;19503:11;19496:39;19468:2;19465:1;19461:10;19456:15;;19432:113;;;19563:6;19560:1;19557:13;19554:101;;;19643:1;19634:6;19629:3;19625:16;19618:27;19554:101;19403:258;19354:307;;;:::o;19667:233::-;19706:3;19729:24;19747:5;19729:24;:::i;:::-;19720:33;;19775:66;19768:5;19765:77;19762:103;;;19845:18;;:::i;:::-;19762:103;19892:1;19885:5;19881:13;19874:20;;19667:233;;;:::o;19906:180::-;19954:77;19951:1;19944:88;20051:4;20048:1;20041:15;20075:4;20072:1;20065:15;20092:180;20140:77;20137:1;20130:88;20237:4;20234:1;20227:15;20261:4;20258:1;20251:15;20278:180;20326:77;20323:1;20316:88;20423:4;20420:1;20413:15;20447:4;20444:1;20437:15;20587:117;20696:1;20693;20686:12;20710:102;20751:6;20802:2;20798:7;20793:2;20786:5;20782:14;20778:28;20768:38;;20710:102;;;:::o;20818:171::-;20958:23;20954:1;20946:6;20942:14;20935:47;20818:171;:::o;20995:225::-;21135:34;21131:1;21123:6;21119:14;21112:58;21204:8;21199:2;21191:6;21187:15;21180:33;20995:225;:::o;21226:232::-;21366:34;21362:1;21354:6;21350:14;21343:58;21435:15;21430:2;21422:6;21418:15;21411:40;21226:232;:::o;21464:182::-;21604:34;21600:1;21592:6;21588:14;21581:58;21464:182;:::o;21652:::-;21792:34;21788:1;21780:6;21776:14;21769:58;21652:182;:::o;21840:179::-;21980:31;21976:1;21968:6;21964:14;21957:55;21840:179;:::o;22025:229::-;22165:34;22161:1;22153:6;22149:14;22142:58;22234:12;22229:2;22221:6;22217:15;22210:37;22025:229;:::o;22260:122::-;22333:24;22351:5;22333:24;:::i;:::-;22326:5;22323:35;22313:63;;22372:1;22369;22362:12;22313:63;22260:122;:::o;22388:116::-;22458:21;22473:5;22458:21;:::i;:::-;22451:5;22448:32;22438:60;;22494:1;22491;22484:12;22438:60;22388:116;:::o;22510:150::-;22597:38;22629:5;22597:38;:::i;:::-;22590:5;22587:49;22577:77;;22650:1;22647;22640:12;22577:77;22510:150;:::o;22666:120::-;22738:23;22755:5;22738:23;:::i;:::-;22731:5;22728:34;22718:62;;22776:1;22773;22766:12;22718:62;22666:120;:::o;22792:122::-;22865:24;22883:5;22865:24;:::i;:::-;22858:5;22855:35;22845:63;;22904:1;22901;22894:12;22845:63;22792:122;:::o;22920:120::-;22992:23;23009:5;22992:23;:::i;:::-;22985:5;22982:34;22972:62;;23030:1;23027;23020:12;22972:62;22920:120;:::o

Swarm Source

ipfs://70ad86158d5c80e6686c9dd75108a6e0f0478ac384231b5b02cbaefc45d6f229

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.