ETH Price: $2,543.03 (+4.59%)

Contract

0x9667947B67199C91c109Be912807190cc490A2A3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Rewards120957892021-03-23 14:49:011276 days ago1616510941IN
0x9667947B...cc490A2A3
0 ETH0.0170808165
Unstake And Clai...117053692021-01-22 12:45:291336 days ago1611319529IN
0x9667947B...cc490A2A3
0 ETH0.0072867874.00000145
Claim Rewards117016152021-01-21 22:44:531337 days ago1611269093IN
0x9667947B...cc490A2A3
0 ETH0.02525888244
Unstake And Clai...116816842021-01-18 21:33:221340 days ago1611005602IN
0x9667947B...cc490A2A3
0 ETH0.0057427444
Claim Rewards116730512021-01-17 13:45:001341 days ago1610891100IN
0x9667947B...cc490A2A3
0 ETH0.0061882892
Claim Rewards116688182021-01-16 21:57:041342 days ago1610834224IN
0x9667947B...cc490A2A3
0 ETH0.005044875
Unstake116688182021-01-16 21:57:041342 days ago1610834224IN
0x9667947B...cc490A2A3
0 ETH0.0059873462
Claim Rewards116688162021-01-16 21:56:481342 days ago1610834208IN
0x9667947B...cc490A2A3
0 ETH0.0046479769
Claim Rewards116669592021-01-16 15:11:581342 days ago1610809918IN
0x9667947B...cc490A2A3
0 ETH0.0074563575.00000145
Unstake116645392021-01-16 5:54:481343 days ago1610776488IN
0x9667947B...cc490A2A3
0 ETH0.0046353648
Claim Rewards116645342021-01-16 5:54:071343 days ago1610776447IN
0x9667947B...cc490A2A3
0 ETH0.0042536648
Unstake116627062021-01-15 23:23:591343 days ago1610753039IN
0x9667947B...cc490A2A3
0 ETH0.0044615346.2
Claim Rewards116627012021-01-15 23:22:271343 days ago1610752947IN
0x9667947B...cc490A2A3
0 ETH0.0045732246
Claim Rewards116580212021-01-15 6:24:051344 days ago1610691845IN
0x9667947B...cc490A2A3
0 ETH0.0029243933
Unstake116575412021-01-15 4:45:211344 days ago1610685921IN
0x9667947B...cc490A2A3
0 ETH0.0045468637.9
Claim Rewards116566672021-01-15 1:27:321344 days ago1610674052IN
0x9667947B...cc490A2A3
0 ETH0.0059361270.40000148
Unstake116566592021-01-15 1:26:071344 days ago1610673967IN
0x9667947B...cc490A2A3
0 ETH0.0072856281
Unstake116559872021-01-14 22:51:551344 days ago1610664715IN
0x9667947B...cc490A2A3
0 ETH0.0041525143
Claim Rewards116559772021-01-14 22:50:131344 days ago1610664613IN
0x9667947B...cc490A2A3
0 ETH0.0048061242.005
Unstake116524602021-01-14 9:39:401345 days ago1610617180IN
0x9667947B...cc490A2A3
0 ETH0.0062770565
Claim Rewards116524312021-01-14 9:34:221345 days ago1610616862IN
0x9667947B...cc490A2A3
0 ETH0.0060644961
Claim Rewards116523792021-01-14 9:23:201345 days ago1610616200IN
0x9667947B...cc490A2A3
0 ETH0.00632475
Unstake116523712021-01-14 9:21:031345 days ago1610616063IN
0x9667947B...cc490A2A3
0 ETH0.0091177276.00000145
Claim Rewards116521902021-01-14 8:39:161345 days ago1610613556IN
0x9667947B...cc490A2A3
0 ETH0.0047219256
Unstake116521752021-01-14 8:35:161345 days ago1610613316IN
0x9667947B...cc490A2A3
0 ETH0.0067176456
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
114262562020-12-10 16:27:171379 days ago1607617637  Contract Creation0 ETH
Loading...
Loading

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

Contract Name:
StakingRewards

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

// File: openzeppelin-solidity-2.3.0/contracts/utils/Address.sol

pragma solidity ^0.5.0;

/**
 * @dev Collection of functions related to the address type,
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing a contract.
     *
     * > It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in 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;
    }
}

// File: openzeppelin-solidity-2.3.0/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see `ERC20Detailed`.
 */
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.
     *
     * > Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an `Approval` event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

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

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


// File: openzeppelin-solidity-2.3.0/contracts/math/Math.sol

pragma solidity ^0.5.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}


// File: openzeppelin-solidity-2.3.0/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

        return c;
    }

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

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

        return c;
    }

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

        return c;
    }

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


/**
 * @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 ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    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));
    }

    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).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "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");
        }
    }
}


// File: openzeppelin-solidity-2.3.0/contracts/utils/ReentrancyGuard.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the `nonReentrant` modifier
 * available, which can be aplied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 */
contract ReentrancyGuard {
    /// @dev counter to allow mutex lock with only one SSTORE operation
    uint256 private _guardCounter;

    constructor () internal {
        // The counter starts at one to prevent changing it from zero to a non-zero
        // value, which is a more expensive operation.
        _guardCounter = 1;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _guardCounter += 1;
        uint256 localCounter = _guardCounter;
        _;
        require(localCounter == _guardCounter, "ReentrancyGuard: reentrant call");
    }
}

// File: contracts/interfaces/ILinkswapERC20.sol

pragma solidity 0.5.16;

interface ILinkswapERC20 {
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}

// File: contracts/interfaces/IStakingRewards.sol

pragma solidity 0.5.16;

interface IStakingRewards {
    // Mutative
    function stake(uint256 amount) external;

    function unstakeAndClaimRewards(uint256 unstakeAmount) external;

    function unstake(uint256 amount) external;

    function claimRewards() external;

    // Views
    function lastTimeRewardApplicable() external view returns (uint256);

    function rewardPerToken(uint256 rewardTokenIndex) external view returns (uint256);

    function earned(address account, uint256 rewardTokenIndex) external view returns (uint256);

    function getRewardForDuration(uint256 rewardTokenIndex) external view returns (uint256);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);
}

// File: contracts/RewardsRecipient.sol

pragma solidity 0.5.16;

contract RewardsRecipient {
    address public rewardsDistributor;

    modifier onlyRewardsDistributor() {
        require(msg.sender == rewardsDistributor, "!rewardsDistributor");
        _;
    }

    function notifyRewardAmount(uint256 rewardTokenIndex, uint256 amount) external;
}


// File: contracts/StakingRewards.sol

pragma solidity 0.5.16;


contract StakingRewards is IStakingRewards, RewardsRecipient, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /* ========== EVENTS ========== */

    event RewardAdded(address indexed rewardToken, uint256 amount);
    event Staked(address indexed user, uint256 amount);
    event Unstaked(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, address indexed rewardToken, uint256 amount);

    /* ========== STATE VARIABLES ========== */

    address public owner;
    IERC20 public stakingToken;
    uint256 public lastUpdateTime;
    uint256 public periodFinish;
    uint256 public rewardsDuration;

    IERC20[2] public rewardTokens;
    uint256[2] public rewardRate;
    uint256[2] public rewardPerTokenStored;
    mapping(address => uint256)[2] public userRewardPerTokenPaid;
    mapping(address => uint256)[2] public unclaimedRewards;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    /* ========== CONSTRUCTOR ========== */

    constructor(
        address _stakingToken,
        address _rewardsDistributor,
        address _yflToken,
        address _extraRewardToken, // optional
        uint256 _rewardsDuration,
        address _owner
    ) public {
        require(
            _rewardsDistributor != address(0) &&
                _yflToken != address(0) &&
                _stakingToken != address(0),
            "address(0)"
        );
        require(_rewardsDuration > 0, "rewardsDuration=0");
        rewardsDistributor = _rewardsDistributor;
        rewardTokens[0] = IERC20(_yflToken);
        rewardTokens[1] = IERC20(_extraRewardToken);
        stakingToken = IERC20(_stakingToken);
        rewardsDuration = _rewardsDuration;
        owner = _owner;
    }

    /* ========== MODIFIERS ========== */

    modifier updateReward(address account) {
        rewardPerTokenStored[0] = rewardPerToken(0);
        if (address(rewardTokens[1]) != address(0)) rewardPerTokenStored[1] = rewardPerToken(1);
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            unclaimedRewards[0][account] = earned(account, 0);
            unclaimedRewards[1][account] = earned(account, 1);
            userRewardPerTokenPaid[0][account] = rewardPerTokenStored[0];
            userRewardPerTokenPaid[1][account] = rewardPerTokenStored[1];
        }
        _;
    }

    /* ========== VIEWS ========== */

    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) external view returns (uint256) {
        return _balances[account];
    }

    function getRewardForDuration(uint256 rewardTokenIndex) external view returns (uint256) {
        return rewardRate[rewardTokenIndex].mul(rewardsDuration);
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerToken(uint256 rewardTokenIndex) public view returns (uint256) {
        if (_totalSupply == 0) {
            return rewardPerTokenStored[rewardTokenIndex];
        }
        return
            rewardPerTokenStored[rewardTokenIndex].add(
                lastTimeRewardApplicable()
                    .sub(lastUpdateTime)
                    .mul(rewardRate[rewardTokenIndex])
                    .mul(1e18)
                    .div(_totalSupply)
            );
    }

    function earned(address account, uint256 rewardTokenIndex) public view returns (uint256) {
        return
            _balances[account]
                .mul(
                rewardPerToken(rewardTokenIndex).sub(
                    userRewardPerTokenPaid[rewardTokenIndex][account]
                )
            )
                .div(1e18)
                .add(unclaimedRewards[rewardTokenIndex][account]);
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function stakeWithPermit(
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        ILinkswapERC20(address(stakingToken)).permit(
            msg.sender,
            address(this),
            amount,
            deadline,
            v,
            r,
            s
        );
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function stake(uint256 amount) external nonReentrant updateReward(msg.sender) {
        _stake(amount);
    }

    function unstakeAndClaimRewards(uint256 unstakeAmount)
        external
        nonReentrant
        updateReward(msg.sender)
    {
        _unstake(unstakeAmount);
        _claimReward(0);
        _claimReward(1);
    }

    // Unstake without claiming rewards. For emergency use if claiming rewards is failing.
    function unstake(uint256 amount) external nonReentrant updateReward(msg.sender) {
        _unstake(amount);
    }

    // Sends to the caller any unclaimed rewards earned by the caller.
    function claimRewards() external nonReentrant updateReward(msg.sender) {
        _claimReward(0);
        _claimReward(1);
    }

    /* ========== PRIVATE FUNCTIONS ========== */

    function _stake(uint256 amount) private {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function _unstake(uint256 amount) private {
        require(amount > 0, "Cannot unstake 0");
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        stakingToken.safeTransfer(msg.sender, amount);
        emit Unstaked(msg.sender, amount);
    }

    function _claimReward(uint256 rewardTokenIndex) private {
        uint256 rewardAmount = unclaimedRewards[rewardTokenIndex][msg.sender];
        if (rewardAmount > 0) {
            uint256 rewardsBal = rewardTokens[rewardTokenIndex].balanceOf(address(this));
            if (rewardsBal == 0) return;
            // avoid paying more than total rewards balance
            rewardAmount = rewardsBal < rewardAmount ? rewardsBal : rewardAmount;
            unclaimedRewards[rewardTokenIndex][msg.sender] = unclaimedRewards[rewardTokenIndex][msg
                .sender]
                .sub(rewardAmount);
            rewardTokens[rewardTokenIndex].safeTransfer(msg.sender, rewardAmount);
            emit RewardPaid(msg.sender, address(rewardTokens[rewardTokenIndex]), rewardAmount);
        }
    }

    /* ========== RESTRICTED FUNCTIONS ========== */

    function notifyRewardAmount(uint256 amount, uint256 extraAmount)
        external
        onlyRewardsDistributor
        updateReward(address(0))
    {
        require(amount > 0 || extraAmount > 0, "zero amount");
        if (extraAmount > 0) {
            require(address(rewardTokens[1]) != address(0), "extraRewardToken=0x0");
        }
        if (block.timestamp >= periodFinish) {
            rewardRate[0] = amount.div(rewardsDuration);
            if (extraAmount > 0) rewardRate[1] = extraAmount.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate[0]);
            rewardRate[0] = amount.add(leftover).div(rewardsDuration);
            if (extraAmount > 0) {
                leftover = remaining.mul(rewardRate[1]);
                rewardRate[1] = extraAmount.add(leftover).div(rewardsDuration);
            }
        }

        // Ensure the provided reward amount is not more than the balance in the contract.
        // This keeps the reward rate in the right range, preventing overflows due to
        // very high values of rewardRate in the earned and rewardsPerToken functions;
        // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
        uint256 balance = rewardTokens[0].balanceOf(address(this));
        require(rewardRate[0] <= balance.div(rewardsDuration), "Provided reward too high");
        if (extraAmount > 0) {
            balance = rewardTokens[1].balanceOf(address(this));
            require(
                rewardRate[1] <= balance.div(rewardsDuration),
                "Provided extra reward too high"
            );
        }

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(address(rewardTokens[0]), amount);
        if (extraAmount > 0) emit RewardAdded(address(rewardTokens[1]), extraAmount);
    }

    function emergencyWithdraw(address _token) external {
        require(msg.sender == owner, "!owner");
        require(_token != address(stakingToken), "cannot withdraw staking token");
        IERC20(_token).transfer(owner, IERC20(_token).balanceOf(address(this)));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"address","name":"_rewardsDistributor","type":"address"},{"internalType":"address","name":"_yflToken","type":"address"},{"internalType":"address","name":"_extraRewardToken","type":"address"},{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"rewardToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Unstaked","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimRewards","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"rewardTokenIndex","type":"uint256"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"emergencyWithdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"rewardTokenIndex","type":"uint256"}],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"extraAmount","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"rewardTokenIndex","type":"uint256"}],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokens","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardsDistributor","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"stakeWithPermit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"unclaimedRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unstake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"unstakeAmount","type":"uint256"}],"name":"unstakeAndClaimRewards","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101975760003560e01c806372f702f3116100e3578063a694fc3a1161008c578063e0c6c19d11610066578063e0c6c19d14610418578063ebe2b12b14610435578063ecd9ba821461043d57610197565b8063a694fc3a146103d6578063c8f33c91146103f3578063cea01962146103fb57610197565b8063874c120b116100bd578063874c120b14610394578063882324b4146103b15780638da5cb5b146103ce57610197565b806372f702f3146103675780637bb7bed11461036f57806380faa57d1461038c57610197565b8063386a95251161014557806346f907481161011f57806346f90748146102c85780636ff1c9bc1461030157806370a082311461033457610197565b8063386a9525146102565780633e491d471461025e5780633f2a55401461029757610197565b8063246132f911610176578063246132f91461020c5780632e17de7814610231578063372500ab1461024e57610197565b8062a47ddd1461019c5780630e213a3d146101e757806318160ddd14610204575b600080fd5b6101d5600480360360408110156101b257600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610475565b60408051918252519081900360200190f35b6101d5600480360360208110156101fd57600080fd5b5035610495565b6101d56104c0565b61022f6004803603604081101561022257600080fd5b50803590602001356104c6565b005b61022f6004803603602081101561024757600080fd5b5035610b16565b61022f610c7f565b6101d5610df2565b6101d56004803603604081101561027457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610df8565b61029f610ed1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101d5600480360360408110156102de57600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610eed565b61022f6004803603602081101561031757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610efa565b6101d56004803603602081101561034a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611154565b61029f61117c565b61029f6004803603602081101561038557600080fd5b5035611198565b6101d56111c2565b6101d5600480360360208110156103aa57600080fd5b50356111d5565b6101d5600480360360208110156103c757600080fd5b5035611254565b61029f611268565b61022f600480360360208110156103ec57600080fd5b5035611284565b6101d5611378565b6101d56004803603602081101561041157600080fd5b503561137e565b61022f6004803603602081101561042e57600080fd5b503561138b565b6101d5611493565b61022f600480360360a081101561045357600080fd5b5080359060208101359060ff6040820135169060608101359060800135611499565b600d826002811061048257fe5b0160205260009081526040902054905081565b60006104b8600654600984600281106104aa57fe5b01549063ffffffff6117c916565b90505b919050565b60115490565b60005473ffffffffffffffffffffffffffffffffffffffff16331461054c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f21726577617264734469737472696275746f7200000000000000000000000000604482015290519081900360640190fd5b600061055860006111d5565b600b5560085473ffffffffffffffffffffffffffffffffffffffff16156105875761058360016111d5565b600c555b61058f6111c2565b60045573ffffffffffffffffffffffffffffffffffffffff81161561062e576105b9816000610df8565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600f60205260409020556105ea816001610df8565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260106020908152604080832093909355600b54600d825283832055600c54600e909152919020555b600083118061063d5750600082115b6106a857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f7a65726f20616d6f756e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b81156107325760085473ffffffffffffffffffffffffffffffffffffffff1661073257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f6578747261526577617264546f6b656e3d307830000000000000000000000000604482015290519081900360640190fd5b60055442106107755760065461074f90849063ffffffff61183c16565b60095581156107705760065461076c90839063ffffffff61183c16565b600a555b610801565b60055460009061078b904263ffffffff6118c016565b905060006107a56009825b0154839063ffffffff6117c916565b6006549091506107cb906107bf878463ffffffff61193716565b9063ffffffff61183c16565b60095583156107fe576107e060096001610796565b6006549091506107fa906107bf868463ffffffff61193716565b600a555b50505b600754604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561087257600080fd5b505afa158015610886573d6000803e3d6000fd5b505050506040513d602081101561089c57600080fd5b50516006549091506108b590829063ffffffff61183c16565b600954111561092557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b8215610a4f57600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b15801561099c57600080fd5b505afa1580156109b0573d6000803e3d6000fd5b505050506040513d60208110156109c657600080fd5b50516006549091506109df90829063ffffffff61183c16565b600a541115610a4f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726f76696465642065787472612072657761726420746f6f20686967680000604482015290519081900360640190fd5b426004819055600654610a68919063ffffffff61193716565b60055560075460408051868152905173ffffffffffffffffffffffffffffffffffffffff909216917fac24935fd910bc682b5ccb1a07b718cadf8cf2f6d1404c4f3ddc3662dae40e299181900360200190a28215610b105760085460408051858152905173ffffffffffffffffffffffffffffffffffffffff909216917fac24935fd910bc682b5ccb1a07b718cadf8cf2f6d1404c4f3ddc3662dae40e299181900360200190a25b50505050565b6001805481019081905533610b2b60006111d5565b600b5560085473ffffffffffffffffffffffffffffffffffffffff1615610b5a57610b5660016111d5565b600c555b610b626111c2565b60045573ffffffffffffffffffffffffffffffffffffffff811615610c0157610b8c816000610df8565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600f6020526040902055610bbd816001610df8565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260106020908152604080832093909355600b54600d825283832055600c54600e909152919020555b610c0a836119ab565b506001548114610c7b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b5050565b6001805481019081905533610c9460006111d5565b600b5560085473ffffffffffffffffffffffffffffffffffffffff1615610cc357610cbf60016111d5565b600c555b610ccb6111c2565b60045573ffffffffffffffffffffffffffffffffffffffff811615610d6a57610cf5816000610df8565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600f6020526040902055610d26816001610df8565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260106020908152604080832093909355600b54600d825283832055600c54600e909152919020555b610d746000611ac2565b610d7e6001611ac2565b506001548114610def57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b50565b60065481565b6000610ec8600f8360028110610e0a57fe5b73ffffffffffffffffffffffffffffffffffffffff8616600090815291016020526040902054610ebc670de0b6b3a76400006107bf610e8a600d8860028110610e4f57fe5b73ffffffffffffffffffffffffffffffffffffffff8b16600090815291016020526040902054610e7e896111d5565b9063ffffffff6118c016565b73ffffffffffffffffffffffffffffffffffffffff89166000908152601260205260409020549063ffffffff6117c916565b9063ffffffff61193716565b90505b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b600f826002811061048257fe5b60025473ffffffffffffffffffffffffffffffffffffffff163314610f8057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f216f776e65720000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60035473ffffffffffffffffffffffffffffffffffffffff8281169116141561100a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f63616e6e6f74207769746864726177207374616b696e6720746f6b656e000000604482015290519081900360640190fd5b600254604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8085169363a9059cbb9391169184916370a08231916024808301926020929190829003018186803b15801561108557600080fd5b505afa158015611099573d6000803e3d6000fd5b505050506040513d60208110156110af57600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff909316600484015260248301919091525160448083019260209291908290030181600087803b15801561112557600080fd5b505af1158015611139573d6000803e3d6000fd5b505050506040513d602081101561114f57600080fd5b505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526012602052604090205490565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b600781600281106111a557fe5b015473ffffffffffffffffffffffffffffffffffffffff16905081565b60006111d042600554611c9c565b905090565b6000601154600014156111f857600b82600281106111ef57fe5b015490506104bb565b6104b86112396011546107bf670de0b6b3a764000061122d6009886002811061121d57fe5b015461122d600454610e7e6111c2565b9063ffffffff6117c916565b600b846002811061124657fe5b01549063ffffffff61193716565b600b816002811061126157fe5b0154905081565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b600180548101908190553361129960006111d5565b600b5560085473ffffffffffffffffffffffffffffffffffffffff16156112c8576112c460016111d5565b600c555b6112d06111c2565b60045573ffffffffffffffffffffffffffffffffffffffff81161561136f576112fa816000610df8565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600f602052604090205561132b816001610df8565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260106020908152604080832093909355600b54600d825283832055600c54600e909152919020555b610c0a83611cb2565b60045481565b6009816002811061126157fe5b60018054810190819055336113a060006111d5565b600b5560085473ffffffffffffffffffffffffffffffffffffffff16156113cf576113cb60016111d5565b600c555b6113d76111c2565b60045573ffffffffffffffffffffffffffffffffffffffff81161561147657611401816000610df8565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600f6020526040902055611432816001610df8565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260106020908152604080832093909355600b54600d825283832055600c54600e909152919020555b61147f836119ab565b6114896000611ac2565b610c0a6001611ac2565b60055481565b60018054810190819055336114ae60006111d5565b600b5560085473ffffffffffffffffffffffffffffffffffffffff16156114dd576114d960016111d5565b600c555b6114e56111c2565b60045573ffffffffffffffffffffffffffffffffffffffff8116156115845761150f816000610df8565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600f6020526040902055611540816001610df8565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260106020908152604080832093909355600b54600d825283832055600c54600e909152919020555b600087116115f357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b601154611606908863ffffffff61193716565b60115533600090815260126020526040902054611629908863ffffffff61193716565b336000818152601260205260408082209390935560035483517fd505accf0000000000000000000000000000000000000000000000000000000081526004810193909352306024840152604483018b9052606483018a905260ff8916608484015260a4830188905260c48301879052925173ffffffffffffffffffffffffffffffffffffffff9093169263d505accf9260e480820193929182900301818387803b1580156116d657600080fd5b505af11580156116ea573d6000803e3d6000fd5b505060035461171a925073ffffffffffffffffffffffffffffffffffffffff16905033308a63ffffffff611dca16565b60408051888152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25060015481146117c157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b505050505050565b6000826117d857506000610ecb565b828202828482816117e557fe5b0414610ec8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061212d6021913960400191505060405180910390fd5b60008082116118ac57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b60008284816118b757fe5b04949350505050565b60008282111561193157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015610ec857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008111611a1a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f43616e6e6f7420756e7374616b65203000000000000000000000000000000000604482015290519081900360640190fd5b601154611a2d908263ffffffff6118c016565b60115533600090815260126020526040902054611a50908263ffffffff6118c016565b33600081815260126020526040902091909155600354611a899173ffffffffffffffffffffffffffffffffffffffff9091169083611e5f565b60408051828152905133917f0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75919081900360200190a250565b6000600f8260028110611ad157fe5b3360009081529101602052604090205490508015610c7b57600060078360028110611af857fe5b0154604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b158015611b6857600080fd5b505afa158015611b7c573d6000803e3d6000fd5b505050506040513d6020811015611b9257600080fd5b5051905080611ba2575050610def565b818110611baf5781611bb1565b805b9150611be082600f8560028110611bc457fe5b336000908152910160205260409020549063ffffffff6118c016565b600f8460028110611bed57fe5b336000818152919092016020526040902091909155611c39908360078660028110611c1457fe5b015473ffffffffffffffffffffffffffffffffffffffff16919063ffffffff611e5f16565b60078360028110611c4657fe5b015460408051848152905173ffffffffffffffffffffffffffffffffffffffff9092169133917f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e919081900360200190a3505050565b6000818310611cab5781610ec8565b5090919050565b60008111611d2157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b601154611d34908263ffffffff61193716565b60115533600090815260126020526040902054611d57908263ffffffff61193716565b33600081815260126020526040902091909155600354611d919173ffffffffffffffffffffffffffffffffffffffff909116903084611dca565b60408051828152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610b10908590611ee8565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261114f9084905b611f078273ffffffffffffffffffffffffffffffffffffffff16612126565b611f7257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310611fdb57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611f9e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461203d576040519150601f19603f3d011682016040523d82523d6000602084013e612042565b606091505b5091509150816120b357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610b10578080602001905160208110156120cf57600080fd5b5051610b10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061214e602a913960400191505060405180910390fd5b3b15159056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820fc6791b5d9cc825b3824d70cc25c2622dd0896c3a9a456e162c3c610c9e7336b64736f6c63430005100032

Deployed Bytecode Sourcemap

15377:9405:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15377:9405:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16185:60;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16185:60:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;18131:163;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18131:163:0;;:::i;17910:93::-;;;:::i;22503:1993::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22503:1993:0;;;;;;;:::i;:::-;;20577:115;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20577:115:0;;:::i;20772:131::-;;;:::i;16030:30::-;;;:::i;18945:424::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18945:424:0;;;;;;;;;:::i;15040:33::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16252:54;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16252:54:0;;;;;;;;;:::i;24504:275::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24504:275:0;;;;:::i;18011:112::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18011:112:0;;;;:::i;15927:26::-;;;:::i;16069:29::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16069:29:0;;:::i;18302:131::-;;;:::i;18441:496::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18441:496:0;;:::i;16140:38::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16140:38:0;;:::i;15900:20::-;;;:::i;20130:111::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20130:111:0;;:::i;15960:29::-;;;:::i;16105:28::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16105:28:0;;:::i;20249:228::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20249:228:0;;:::i;15996:27::-;;;:::i;19431:691::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;19431:691:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;16185:60::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16185:60:0;:::o;18131:163::-;18210:7;18237:49;18270:15;;18237:10;18248:16;18237:28;;;;;;;;;;:49;:32;:49;:::i;:::-;18230:56;;18131:163;;;;:::o;17910:93::-;17983:12;;17910:93;:::o;22503:1993::-;15149:18;;;;15135:10;:32;15127:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22648:1;17345:17;17360:1;17345:14;:17::i;:::-;17319:20;:43;17385:15;;;;17377:38;17373:87;;17443:17;17458:1;17443:14;:17::i;:::-;17417:23;:43;17373:87;17488:26;:24;:26::i;:::-;17471:14;:43;17529:21;;;;17525:317;;17598:18;17605:7;17614:1;17598:6;:18::i;:::-;17567:28;;;17584:1;17567:28;;;:16;:28;;;;;:49;17662:18;17567:28;17678:1;17662:6;:18::i;:::-;17631:28;;;;;;;:19;:28;;;;;;;;:49;;;;17732:20;:23;17695:22;:34;;;;;:60;17807:23;;17770:25;:34;;;;;;:60;17525:317;22685:1;22676:6;:10;:29;;;;22704:1;22690:11;:15;22676:29;22668:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22736:15;;22732:119;;22784:15;;;;22768:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22884:12;;22865:15;:31;22861:601;;22940:15;;22929:27;;:6;;:27;:10;:27;:::i;:::-;22913:10;:43;22975:15;;22971:69;;23024:15;;23008:32;;:11;;:32;:15;:32;:::i;:::-;22992:13;:48;22971:69;22861:601;;;23093:12;;23073:17;;23093:33;;23110:15;23093:33;:16;:33;:::i;:::-;23073:53;-1:-1:-1;23141:16:0;23160:28;23174:10;23141:16;23174:13;;;23160:9;;:28;:13;:28;:::i;:::-;23244:15;;23141:47;;-1:-1:-1;23219:41:0;;:20;:6;23141:47;23219:20;:10;:20;:::i;:::-;:24;:41;:24;:41;:::i;:::-;23203:10;:57;23279:15;;23275:176;;23326:28;23340:10;23351:1;23340:13;;23326:28;23419:15;;23315:39;;-1:-1:-1;23389:46:0;;:25;:11;23315:39;23389:25;:15;:25;:::i;:46::-;23373:13;:62;23275:176;22861:601;;;23840:12;:15;:40;;;;;;23874:4;23840:40;;;;;;23822:15;;23840;;;:25;;:40;;;;;;;;;;;;;;:15;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;23840:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23840:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23840:40:0;23928:15;;23840:40;;-1:-1:-1;23916:28:0;;23840:40;;23916:28;:11;:28;:::i;:::-;23899:10;:13;:45;;23891:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23988:15;;23984:250;;24030:15;;:40;;;;;;24064:4;24030:40;;;;;;:15;;;;;:25;;:40;;;;;;;;;;;;;;;:15;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;24030:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24030:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24030:40:0;24140:15;;24030:40;;-1:-1:-1;24128:28:0;;24030:40;;24128:28;:11;:28;:::i;:::-;24111:13;;:45;;24085:137;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24263:15;24246:14;:32;;;24324:15;;24304:36;;24263:15;24304:36;:19;:36;:::i;:::-;24289:12;:51;24376:12;:15;24356:45;;;;;;;;24376:15;;;;;24356:45;;;;;;;;;24416:15;;24412:76;;24458:15;;24438:50;;;;;;;;24458:15;;;;;24438:50;;;;;;;;;24412:76;17852:1;15202;22503:1993;;:::o;20577:115::-;13615:1;13598:18;;;;;;;;20645:10;17345:17;13598:13;17345:14;:17::i;:::-;17319:20;:43;17385:15;;;;17377:38;17373:87;;17443:17;17458:1;17443:14;:17::i;:::-;17417:23;:43;17373:87;17488:26;:24;:26::i;:::-;17471:14;:43;17529:21;;;;17525:317;;17598:18;17605:7;17614:1;17598:6;:18::i;:::-;17567:28;;;17584:1;17567:28;;;:16;:28;;;;;:49;17662:18;17567:28;17678:1;17662:6;:18::i;:::-;17631:28;;;;;;;:19;:28;;;;;;;;:49;;;;17732:20;:23;17695:22;:34;;;;;:60;17807:23;;17770:25;:34;;;;;;:60;17525:317;20668:16;20677:6;20668:8;:16::i;:::-;13674:1;13710:13;;13694:12;:29;13686:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20577:115;;:::o;20772:131::-;13615:1;13598:18;;;;;;;;20831:10;17345:17;13598:13;17345:14;:17::i;:::-;17319:20;:43;17385:15;;;;17377:38;17373:87;;17443:17;17458:1;17443:14;:17::i;:::-;17417:23;:43;17373:87;17488:26;:24;:26::i;:::-;17471:14;:43;17529:21;;;;17525:317;;17598:18;17605:7;17614:1;17598:6;:18::i;:::-;17567:28;;;17584:1;17567:28;;;:16;:28;;;;;:49;17662:18;17567:28;17678:1;17662:6;:18::i;:::-;17631:28;;;;;;;:19;:28;;;;;;;;:49;;;;17732:20;:23;17695:22;:34;;;;;:60;17807:23;;17770:25;:34;;;;;;:60;17525:317;20854:15;20867:1;20854:12;:15::i;:::-;20880;20893:1;20880:12;:15::i;:::-;13674:1;13710:13;;13694:12;:29;13686:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20772:131;:::o;16030:30::-;;;;:::o;18945:424::-;19025:7;19065:296;19317:16;19334;19317:34;;;;;;;:43;;;;;;;:34;;:43;;;;;;19065:229;19289:4;19065:201;19124:127;19183:22;19206:16;19183:40;;;;;;;:49;;;;;;;:40;;:49;;;;;;19124:32;19139:16;19124:14;:32::i;:::-;:36;:127;:36;:127;:::i;:::-;19065:18;;;;;;;:9;:18;;;;;;;:201;:40;:201;:::i;:229::-;:251;:296;:251;:296;:::i;:::-;19045:316;;18945:424;;;;;:::o;15040:33::-;;;;;;:::o;16252:54::-;;;;;;;;;24504:275;24589:5;;;;24575:10;:19;24567:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24642:12;;;24624:31;;;24642:12;;24624:31;;24616:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24724:5;;24731:39;;;;;;24764:4;24731:39;;;;;;24700:23;;;;;;;24724:5;;;24700:23;;24731:24;;:39;;;;;;;;;;;;;;24700:23;24731:39;;;5:2:-1;;;;30:1;27;20:12;5:2;24731:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24731:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24731:39:0;24700:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24731:39;;24700:71;;;;;;;-1:-1:-1;24700:71:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;24700:71:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24700:71:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;24504:275:0:o;18011:112::-;18097:18;;18070:7;18097:18;;;:9;:18;;;;;;;18011:112::o;15927:26::-;;;;;;:::o;16069:29::-;;;;;;;;;;;;;;;-1:-1:-1;16069:29:0;:::o;18302:131::-;18359:7;18386:39;18395:15;18412:12;;18386:8;:39::i;:::-;18379:46;;18302:131;:::o;18441:496::-;18512:7;18536:12;;18552:1;18536:17;18532:95;;;18577:20;18598:16;18577:38;;;;;;;;;18570:45;;;;18532:95;18657:272;18718:196;18901:12;;18718:156;18869:4;18718:124;18813:10;18824:16;18813:28;;;;;;;;;18718:68;18771:14;;18718:26;:24;:26::i;:68::-;:94;:124;:94;:124;:::i;:196::-;18657:20;18678:16;18657:38;;;;;;;;;;:272;:42;:272;:::i;16140:38::-;;;;;;;;;;;;;-1:-1:-1;16140:38:0;:::o;15900:20::-;;;;;;:::o;20130:111::-;13615:1;13598:18;;;;;;;;20196:10;17345:17;13598:13;17345:14;:17::i;:::-;17319:20;:43;17385:15;;;;17377:38;17373:87;;17443:17;17458:1;17443:14;:17::i;:::-;17417:23;:43;17373:87;17488:26;:24;:26::i;:::-;17471:14;:43;17529:21;;;;17525:317;;17598:18;17605:7;17614:1;17598:6;:18::i;:::-;17567:28;;;17584:1;17567:28;;;:16;:28;;;;;:49;17662:18;17567:28;17678:1;17662:6;:18::i;:::-;17631:28;;;;;;;:19;:28;;;;;;;;:49;;;;17732:20;:23;17695:22;:34;;;;;:60;17807:23;;17770:25;:34;;;;;;:60;17525:317;20219:14;20226:6;20219;:14::i;15960:29::-;;;;:::o;16105:28::-;;;;;;;;;20249:228;13615:1;13598:18;;;;;;;;20366:10;17345:17;13598:13;17345:14;:17::i;:::-;17319:20;:43;17385:15;;;;17377:38;17373:87;;17443:17;17458:1;17443:14;:17::i;:::-;17417:23;:43;17373:87;17488:26;:24;:26::i;:::-;17471:14;:43;17529:21;;;;17525:317;;17598:18;17605:7;17614:1;17598:6;:18::i;:::-;17567:28;;;17584:1;17567:28;;;:16;:28;;;;;:49;17662:18;17567:28;17678:1;17662:6;:18::i;:::-;17631:28;;;;;;;:19;:28;;;;;;;;:49;;;;17732:20;:23;17695:22;:34;;;;;:60;17807:23;;17770:25;:34;;;;;;:60;17525:317;20394:23;20403:13;20394:8;:23::i;:::-;20428:15;20441:1;20428:12;:15::i;:::-;20454;20467:1;20454:12;:15::i;15996:27::-;;;;:::o;19431:691::-;13615:1;13598:18;;;;;;;;19608:10;17345:17;13598:13;17345:14;:17::i;:::-;17319:20;:43;17385:15;;;;17377:38;17373:87;;17443:17;17458:1;17443:14;:17::i;:::-;17417:23;:43;17373:87;17488:26;:24;:26::i;:::-;17471:14;:43;17529:21;;;;17525:317;;17598:18;17605:7;17614:1;17598:6;:18::i;:::-;17567:28;;;17584:1;17567:28;;;:16;:28;;;;;:49;17662:18;17567:28;17678:1;17662:6;:18::i;:::-;17631:28;;;;;;;:19;:28;;;;;;;;:49;;;;17732:20;:23;17695:22;:34;;;;;:60;17807:23;;17770:25;:34;;;;;;:60;17525:317;19648:1;19639:6;:10;19631:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19694:12;;:24;;19711:6;19694:24;:16;:24;:::i;:::-;19679:12;:39;19763:10;19753:21;;;;:9;:21;;;;;;:33;;19779:6;19753:33;:25;:33;:::i;:::-;19739:10;19729:21;;;;:9;:21;;;;;;:57;;;;19820:12;;19797:200;;;;;;;;;;;;19889:4;19797:200;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19729:21;19820:12;;;;19797:44;;:200;;;;;19729:21;19797:200;;;;;;19729:21;19820:12;19797:200;;;5:2:-1;;;;30:1;27;20:12;5:2;19797:200:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;20008:12:0;;:64;;-1:-1:-1;20008:12:0;;;-1:-1:-1;20038:10:0;20058:4;20065:6;20008:64;:29;:64;:::i;:::-;20088:26;;;;;;;;20095:10;;20088:26;;;;;;;;;;13674:1;13710:13;;13694:12;:29;13686:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19431:691;;;;;;:::o;6625:470::-;6683:7;6927:6;6923:47;;-1:-1:-1;6957:1:0;6950:8;;6923:47;6994:5;;;6998:1;6994;:5;:1;7018:5;;;;;:10;7010:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7563:333;7621:7;7720:1;7716;:5;7708:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7763:9;7779:1;7775;:5;;;;;;;7563:333;-1:-1:-1;;;;7563:333:0:o;6190:184::-;6248:7;6281:1;6276;:6;;6268:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6340:5:0;;;6190:184::o;5734:181::-;5792:7;5824:5;;;5848:6;;;;5840:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21303:318;21373:1;21364:6;:10;21356:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21421:12;;:24;;21438:6;21421:24;:16;:24;:::i;:::-;21406:12;:39;21490:10;21480:21;;;;:9;:21;;;;;;:33;;21506:6;21480:33;:25;:33;:::i;:::-;21466:10;21456:21;;;;:9;:21;;;;;:57;;;;21524:12;;:45;;21456:21;21524:12;;;;21562:6;21524:25;:45::i;:::-;21585:28;;;;;;;;21594:10;;21585:28;;;;;;;;;;21303:318;:::o;21629:810::-;21696:20;21719:16;21736;21719:34;;;;;;;21754:10;21719:46;;;;:34;;:46;;;;;;;-1:-1:-1;21780:16:0;;21776:656;;21813:18;21834:12;21847:16;21834:30;;;;;;;;;:55;;;;;;21883:4;21834:55;;;;;;:30;;;;;:40;;:55;;;;;;;;;;;;;;;:30;:55;;;5:2:-1;;;;30:1;27;20:12;5:2;21834:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21834:55:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21834:55:0;;-1:-1:-1;21908:15:0;21904:28;;21925:7;;;;21904:28;22035:12;22022:10;:25;:53;;22063:12;22022:53;;;22050:10;22022:53;22007:68;;22139:100;22226:12;22139:16;22156;22139:34;;;;;;;22174:28;22139:64;;;;:34;;:64;;;;;;;:100;:86;:100;:::i;:::-;22090:16;22107;22090:34;;;;;;;22125:10;22090:46;;;;:34;;;;:46;;;;;:149;;;;22254:69;;22310:12;22254;22267:16;22254:30;;;;;;;;;;;;:69;;:43;:69;:::i;:::-;22374:12;22387:16;22374:30;;;;;;;;;22343:77;;;;;;;;22374:30;;;;;22354:10;;22343:77;;;;;;;;;;21776:656;21629:810;;:::o;4380:106::-;4438:7;4469:1;4465;:5;:13;;4477:1;4465:13;;;-1:-1:-1;4473:1:0;;4380:106;-1:-1:-1;4380:106:0:o;20964:331::-;21032:1;21023:6;:10;21015:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21078:12;;:24;;21095:6;21078:24;:16;:24;:::i;:::-;21063:12;:39;21147:10;21137:21;;;;:9;:21;;;;;;:33;;21163:6;21137:33;:25;:33;:::i;:::-;21123:10;21113:21;;;;:9;:21;;;;;:57;;;;21181:12;;:64;;21113:21;21181:12;;;;21231:4;21238:6;21181:29;:64::i;:::-;21261:26;;;;;;;;21268:10;;21261:26;;;;;;;;;;20964:331;:::o;9256:204::-;9383:68;;;9406:18;9383:68;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;9383:68:0;;;;;;;;25:18:-1;;61:17;;9383:68:0;182:15:-1;9406:27:0;179:29:-1;160:49;;9357:95:0;;9376:5;;9357:18;:95::i;9072:176::-;9181:58;;;9204:14;9181:58;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;9181:58:0;;;;;;;;25:18:-1;;61:17;;9181:58:0;182:15:-1;9204:23:0;179:29:-1;160:49;;9155:85:0;;9174:5;;11066:1114;11670:27;11678:5;11670:25;;;:27::i;:::-;11662:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11807:12;11821:23;11856:5;11848:19;;11868:4;11848:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;11848:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;11806:67:0;;;;11892:7;11884:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11953:17;;:21;11949:224;;12095:10;12084:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12084:30:0;12076:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;626:422;993:20;1032:8;;;626:422::o

Swarm Source

bzzr://fc6791b5d9cc825b3824d70cc25c2622dd0896c3a9a456e162c3c610c9e7336b

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  ]
[ 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.