ETH Price: $3,366.12 (-1.54%)

Contract

0xc3d8ffe9cA0bb1D4F9760297490D31A6Ba352544
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Get Reward206619542024-09-02 9:20:59115 days ago1725268859IN
0xc3d8ffe9...6Ba352544
0 ETH0.000628922.7236131
Get Reward198367622024-05-10 2:49:35231 days ago1715309375IN
0xc3d8ffe9...6Ba352544
0 ETH0.001006144.40171936
Withdraw172859682023-05-18 10:54:35588 days ago1684407275IN
0xc3d8ffe9...6Ba352544
0 ETH0.0045069638.97783928
Transfer Ownersh...168393452023-03-16 8:52:47651 days ago1678956767IN
0xc3d8ffe9...6Ba352544
0 ETH0.0005407418.76332454
Exit165856992023-02-08 18:00:47687 days ago1675879247IN
0xc3d8ffe9...6Ba352544
0 ETH0.0145265353.66283827
Get Reward153599002022-08-17 16:54:21862 days ago1660755261IN
0xc3d8ffe9...6Ba352544
0 ETH0.000570610.51164371
Exit153598762022-08-17 16:49:30862 days ago1660754970IN
0xc3d8ffe9...6Ba352544
0 ETH0.0028536110.52249759
Get Reward153597802022-08-17 16:29:08862 days ago1660753748IN
0xc3d8ffe9...6Ba352544
0 ETH0.005044320.57974564
Withdraw152034532022-07-24 5:29:32887 days ago1658640572IN
0xc3d8ffe9...6Ba352544
0 ETH0.000782176.76623611
Get Reward151846852022-07-21 7:52:03889 days ago1658389923IN
0xc3d8ffe9...6Ba352544
0 ETH0.0023783710.5079739
Stake151846852022-07-21 7:52:03889 days ago1658389923IN
0xc3d8ffe9...6Ba352544
0 ETH0.000767879.09462535
Withdraw151733792022-07-19 13:38:04891 days ago1658237884IN
0xc3d8ffe9...6Ba352544
0 ETH0.006504958.68678495
Stake148670182022-05-29 14:41:17942 days ago1653835277IN
0xc3d8ffe9...6Ba352544
0 ETH0.0013262514.2749258
Withdraw148641542022-05-29 3:26:51943 days ago1653794811IN
0xc3d8ffe9...6Ba352544
0 ETH0.0018661922.65327199
Get Reward148641542022-05-29 3:26:51943 days ago1653794811IN
0xc3d8ffe9...6Ba352544
0 ETH0.0040465617.48505562
Get Reward148168462022-05-21 10:56:22950 days ago1653130582IN
0xc3d8ffe9...6Ba352544
0 ETH0.0024459510
Withdraw147928862022-05-17 13:50:35954 days ago1652795435IN
0xc3d8ffe9...6Ba352544
0 ETH0.003483530.134412
Get Reward147509152022-05-10 21:28:58961 days ago1652218138IN
0xc3d8ffe9...6Ba352544
0 ETH0.0111056648.09418006
Withdraw147223802022-05-06 8:03:44965 days ago1651824224IN
0xc3d8ffe9...6Ba352544
0 ETH0.0036142836.69357742
Withdraw146776102022-04-29 6:28:11973 days ago1651213691IN
0xc3d8ffe9...6Ba352544
0 ETH0.0038432733.24661352
Get Reward146723822022-04-28 10:41:45973 days ago1651142505IN
0xc3d8ffe9...6Ba352544
0 ETH0.0093554438.24873742
Withdraw144654622022-03-27 2:05:251006 days ago1648346725IN
0xc3d8ffe9...6Ba352544
0 ETH0.0028942329.37627877
Get Reward144555292022-03-25 12:51:531007 days ago1648212713IN
0xc3d8ffe9...6Ba352544
0 ETH0.0089785438.81171709
Withdraw144555262022-03-25 12:51:181007 days ago1648212678IN
0xc3d8ffe9...6Ba352544
0 ETH0.0066887160.35489882
Stake143709332022-03-12 8:42:261020 days ago1647074546IN
0xc3d8ffe9...6Ba352544
0 ETH0.0013836914.44488989
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:
AuricRewards

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

/**
 *Submitted for verification at Etherscan.io on 2020-10-23
*/

// File: contracts/distribution/SnxPool.sol

///
/// Cloned from https://etherscan.io/address/0xDCB6A51eA3CA5d3Fd898Fd6564757c7aAeC3ca92#code
///
/// Changes: 
///   - CurveRewards were renamed to AuricRewards
///   - Added constructor the AuricRewards instead of a hardcoded token
///   - Added constructor the LPTokenWrapper instead of a hardcoded token
///   - rewardDistribution address was made public
///

/**
* Submitted for verification at Etherscan.io on 2020-04-22
*/

/*
   ____            __   __        __   _
  / __/__ __ ___  / /_ / /  ___  / /_ (_)__ __
 _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
     /___/

* Synthetix: CurveRewards.sol
*
* Docs: https://docs.synthetix.io/
*
*
* MIT License
* ===========
*
* Copyright (c) 2020 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

// File: @openzeppelin/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/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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.5.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

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

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

// File: @openzeppelin/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;

/**
 * @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.
 *
 * 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 Ownable is Context {
    address private _owner;

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

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

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _owner;
    }

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

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

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

// File: @openzeppelin/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.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.5.5;

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

        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

pragma solidity ^0.5.0;




/**
 * @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, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(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: contracts/IRewardDistributionRecipient.sol

pragma solidity ^0.5.0;



contract IRewardDistributionRecipient is Ownable {
    address public rewardDistribution;

    function notifyRewardAmount(uint256 reward) external;

    modifier onlyRewardDistribution() {
        require(_msgSender() == rewardDistribution, "Caller is not reward distribution");
        _;
    }

    function setRewardDistribution(address _rewardDistribution)
        external
        onlyOwner
    {
        rewardDistribution = _rewardDistribution;
    }
}

// File: contracts/CurveRewards.sol

pragma solidity ^0.5.0;






contract LPTokenWrapper {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public uni;

    constructor (address _uni) public {
        uni = IERC20(_uni);
    }

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

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

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

    function stake(uint256 amount) public {
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        uni.safeTransferFrom(msg.sender, address(this), amount);
    }

    function withdraw(uint256 amount) public {
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        uni.safeTransfer(msg.sender, amount);
    }
}

interface IERC20Burnable {
    function burn(uint256 amount) external;
}

interface IERC20Mintable {
    function mint(address to, uint256 amount) external;
}

contract PoolEscrow {

    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    modifier onlyGov() {
        require(msg.sender == governance, "only governance");
        _;
    }

    address public shareToken;
    address public pool;
    address public ausc;
    address public secondary;
    address public development;
    address public governancePool;
    address public dao;
    address public governance;

    constructor(address _shareToken,
        address _pool,
        address _ausc,
        address _secondary,
        address _development,
        address _governancePool,
        address _dao) public {
        shareToken = _shareToken;
        pool = _pool;
        ausc = _ausc;
        secondary = _secondary;
        development = _development;
        governancePool = _governancePool;
        dao = _dao;
        governance = msg.sender;
    }

    function setSecondary(address account) external onlyGov {
        secondary = account;
    }

    function setDevelopment(address account) external onlyGov {
        development = account;
    }

    function setGovernancePool(address account) external onlyGov {
        governancePool = account;
    }

    function setDao(address account) external onlyGov {
        dao = account;
    }

    function setGovernance(address account) external onlyGov {
        governance = account;
    }

    function release(address recipient, uint256 shareAmount) external {
        require(msg.sender == pool, "only pool can release tokens");
        IERC20(shareToken).safeTransferFrom(msg.sender, address(this), shareAmount);
        uint256 endowment = getTokenNumber(shareAmount).mul(5).div(100);
        uint256 reward = getTokenNumber(shareAmount);
        if (secondary != address(0)) {
            IERC20(ausc).safeApprove(secondary, 0);
            IERC20(ausc).safeApprove(secondary, endowment);
            PoolEscrow(secondary).notifySecondaryTokens(endowment);
            reward = reward.sub(endowment);
        }
        if (development != address(0)) {
            IERC20(ausc).safeTransfer(development, endowment);
            reward = reward.sub(endowment);
        }
        if (governancePool != address(0)) {
            IERC20(ausc).safeTransfer(governancePool, endowment);
            reward = reward.sub(endowment);
        }
        if (dao != address(0)) {
            IERC20(ausc).safeTransfer(dao, endowment);
            reward = reward.sub(endowment);
        }
        IERC20(ausc).safeTransfer(recipient, reward);
        IERC20Burnable(shareToken).burn(shareAmount);
    }

    function getTokenNumber(uint256 shareAmount) public view returns(uint256) {
        return IERC20(ausc).balanceOf(address(this))
            .mul(shareAmount)
            .div(IERC20(shareToken).totalSupply());
    }

    /**
    * Functionality for secondary pool escrow. Transfers AUSC tokens from msg.sender to this
    * escrow. At most per day, mints a fixed number of escrow tokens to the pool, and notifies
    * the pool. The period 1 day should match the secondary pool.
    */
    function notifySecondaryTokens(uint256 number) external {
        IERC20(ausc).safeTransferFrom(msg.sender, address(this), number);
        uint256 freshMint = number;
        IERC20Mintable(shareToken).mint(pool, freshMint);
        AuricRewards(pool).notifyRewardAmount(freshMint);
    }
}

contract AuricRewards is LPTokenWrapper, IRewardDistributionRecipient {
    IERC20 public snx;
    uint256 public constant DURATION = 10 days;

    address public escrow;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);

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

    constructor (address _token, address _lp) LPTokenWrapper(_lp) public {
      snx = IERC20(_token);
    }

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

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

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

    // returns the earned amount as it will be paid out by the escrow (accounting for rebases)
    function earnedAusc(address account) public view returns (uint256) {
        return PoolEscrow(escrow).getTokenNumber(
            balanceOf(account)
                .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
                .div(1e18)
                .add(rewards[account])
        );
    }

    // stake visibility is public as overriding LPTokenWrapper's stake() function
    function stake(uint256 amount) public updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        super.stake(amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        super.withdraw(amount);
        emit Withdrawn(msg.sender, amount);
    }

    function exit() external {
        withdraw(balanceOf(msg.sender));
        getReward();
    }

    function getReward() public updateReward(msg.sender) {
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            // the pool is distributing placeholder tokens with fixed supply
            snx.safeApprove(escrow, 0);
            snx.safeApprove(escrow, reward);
            PoolEscrow(escrow).release(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function notifyRewardAmount(uint256 reward)
        external
        onlyRewardDistribution
        updateReward(address(0))
    {
        // overflow fix https://sips.synthetix.io/sips/sip-77
        require(reward < uint256(-1) / 1e18, "amount too high");

        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(DURATION);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(DURATION);
        }
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(DURATION);
        emit RewardAdded(reward);
    }

    function setEscrow(address newEscrow) external onlyOwner {
        require(escrow == address(0), "escrow already set");
        escrow = newEscrow;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_lp","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","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":"Withdrawn","type":"event"},{"constant":true,"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earnedAusc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"escrow","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"reward","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":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newEscrow","type":"address"}],"name":"setEscrow","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"snx","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"uni","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040526000600755600060085534801561001a57600080fd5b5060405162002a1b38038062002a1b8339818101604052604081101561003f57600080fd5b81019080805190602001909291908051906020019092919050505080806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506100aa6101af60201b60201c565b600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a381600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506101b7565b600033905090565b61285480620001c76000396000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c80638b876347116100f9578063df136d6511610097578063e9fad8ee11610071578063e9fad8ee146106c2578063ebe2b12b146106cc578063edc9af95146106ea578063f2fde38b14610734576101c3565b8063df136d6514610610578063e2fdcc171461062e578063e7d2799814610678576101c3565b8063a694fc3a116100d3578063a694fc3a14610562578063c10c354614610590578063c8f33c91146105d4578063cd3daf9d146105f2576101c3565b80638b8763471461049e5780638da5cb5b146104f65780638f32d59b14610540576101c3565b80633c6b16ab11610166578063715018a611610140578063715018a6146104005780637b0a47ee1461040a57806380faa57d146104285780638999076b14610446576101c3565b80633c6b16ab146103705780633d18b9121461039e57806370a08231146103a8576101c3565b8063101114cf116101a2578063101114cf146102bc57806318160ddd146103065780631be05289146103245780632e1a7d4d14610342576101c3565b80628cc262146101c85780630700037d146102205780630d68b76114610278575b600080fd5b61020a600480360360208110156101de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610778565b6040518082815260200191505060405180910390f35b6102626004803603602081101561023657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061085f565b6040518082815260200191505060405180910390f35b6102ba6004803603602081101561028e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610877565b005b6102c4610935565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61030e61095b565b6040518082815260200191505060405180910390f35b61032c610965565b6040518082815260200191505060405180910390f35b61036e6004803603602081101561035857600080fd5b810190808035906020019092919050505061096c565b005b61039c6004803603602081101561038657600080fd5b8101908080359060200190929190505050610b21565b005b6103a6610e44565b005b6103ea600480360360208110156103be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611176565b6040518082815260200191505060405180910390f35b6104086111bf565b005b6104126112fa565b6040518082815260200191505060405180910390f35b610430611300565b6040518082815260200191505060405180910390f35b6104886004803603602081101561045c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611313565b6040518082815260200191505060405180910390f35b6104e0600480360360208110156104b457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114a7565b6040518082815260200191505060405180910390f35b6104fe6114bf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105486114e9565b604051808215151515815260200191505060405180910390f35b61058e6004803603602081101561057857600080fd5b8101908080359060200190929190505050611548565b005b6105d2600480360360208110156105a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116fd565b005b6105dc61187f565b6040518082815260200191505060405180910390f35b6105fa611885565b6040518082815260200191505060405180910390f35b61061861191d565b6040518082815260200191505060405180910390f35b610636611923565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610680611949565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ca61196f565b005b6106d461198a565b6040518082815260200191505060405180910390f35b6106f2611990565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107766004803603602081101561074a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119b5565b005b6000610858600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461084a670de0b6b3a764000061083c610825600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610817611885565b611a3b90919063ffffffff16565b61082e88611176565b611a8590919063ffffffff16565b611b0b90919063ffffffff16565b611b5590919063ffffffff16565b9050919050565b600c6020528060005260406000206000915090505481565b61087f6114e9565b6108f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600154905090565b620d2f0081565b33610975611885565b600a81905550610983611300565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a50576109c681610778565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610ac6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610acf82611bdd565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610b62611cdc565b73ffffffffffffffffffffffffffffffffffffffff1614610bce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061279f6021913960400191505060405180910390fd5b6000610bd8611885565b600a81905550610be6611300565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cb357610c2981610778565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b670de0b6b3a76400007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81610ce457fe5b048210610d59576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f616d6f756e7420746f6f2068696768000000000000000000000000000000000081525060200191505060405180910390fd5b6007544210610d8357610d78620d2f0083611b0b90919063ffffffff16565b600881905550610de6565b6000610d9a42600754611a3b90919063ffffffff16565b90506000610db360085483611a8590919063ffffffff16565b9050610ddd620d2f00610dcf8387611b5590919063ffffffff16565b611b0b90919063ffffffff16565b60088190555050505b42600981905550610e03620d2f0042611b5590919063ffffffff16565b6007819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b33610e4d611885565b600a81905550610e5b611300565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f2857610e9e81610778565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000610f3333610778565b90506000811115611172576000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ff3600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ce49092919063ffffffff16565b611062600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ce49092919063ffffffff16565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630357371d33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b5050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111c76114e9565b611239576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60085481565b600061130e42600754611f04565b905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8952fad611431600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611423670de0b6b3a76400006114156113fe600b60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113f0611885565b611a3b90919063ffffffff16565b6114078a611176565b611a8590919063ffffffff16565b611b0b90919063ffffffff16565b611b5590919063ffffffff16565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561146557600080fd5b505afa158015611479573d6000803e3d6000fd5b505050506040513d602081101561148f57600080fd5b81019080805190602001909291905050509050919050565b600b6020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661152c611cdc565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b33611551611885565b600a8190555061155f611300565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461162c576115a281610778565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6116ab82611f1d565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b6117056114e9565b611777576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461183b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f657363726f7720616c726561647920736574000000000000000000000000000081525060200191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60095481565b60008061189061095b565b14156118a057600a54905061191a565b6119176119066118ae61095b565b6118f8670de0b6b3a76400006118ea6008546118dc6009546118ce611300565b611a3b90919063ffffffff16565b611a8590919063ffffffff16565b611a8590919063ffffffff16565b611b0b90919063ffffffff16565b600a54611b5590919063ffffffff16565b90505b90565b600a5481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61198061197b33611176565b61096c565b611988610e44565b565b60075481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6119bd6114e9565b611a2f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611a388161201e565b50565b6000611a7d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612164565b905092915050565b600080831415611a985760009050611b05565b6000828402905082848281611aa957fe5b0414611b00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061277e6021913960400191505060405180910390fd5b809150505b92915050565b6000611b4d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612224565b905092915050565b600080828401905083811015611bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611bf281600154611a3b90919063ffffffff16565b600181905550611c4a81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a3b90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611cd933826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ea9092919063ffffffff16565b50565b600033905090565b6000811480611dde575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015611da157600080fd5b505afa158015611db5573d6000803e3d6000fd5b505050506040513d6020811015611dcb57600080fd5b8101908080519060200190929190505050145b611e33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806127ea6036913960400191505060405180910390fd5b611eff838473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123bb565b505050565b6000818310611f135781611f15565b825b905092915050565b611f3281600154611b5590919063ffffffff16565b600181905550611f8a81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b5590919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061201b3330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612606909392919063ffffffff16565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127586026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000838311158290612211576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121d65780820151818401526020810190506121bb565b50505050905090810190601f1680156122035780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906122d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561229557808201518184015260208101905061227a565b50505050905090810190601f1680156122c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816122dc57fe5b049050809150509392505050565b6123b6838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123bb565b505050565b6123da8273ffffffffffffffffffffffffffffffffffffffff1661270c565b61244c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061249b5780518252602082019150602081019050602083039250612478565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146124fd576040519150601f19603f3d011682016040523d82523d6000602084013e612502565b606091505b50915091508161257a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156126005780806020019051602081101561259957600080fd5b81019080805190602001909291905050506125ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127c0602a913960400191505060405180910390fd5b5b50505050565b612706848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123bb565b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b821415801561274e5750808214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a723158200a4544ad18f8ee9fde9f430c8dcae1642011245f81eb21dad55925aca399dab264736f6c63430005100032000000000000000000000000fb3ef4c7492a4e5f137b85f12e7a8ba2b2af7a8d00000000000000000000000095a5543111343ab2a66a06bc663a1170acf050b9

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c35760003560e01c80638b876347116100f9578063df136d6511610097578063e9fad8ee11610071578063e9fad8ee146106c2578063ebe2b12b146106cc578063edc9af95146106ea578063f2fde38b14610734576101c3565b8063df136d6514610610578063e2fdcc171461062e578063e7d2799814610678576101c3565b8063a694fc3a116100d3578063a694fc3a14610562578063c10c354614610590578063c8f33c91146105d4578063cd3daf9d146105f2576101c3565b80638b8763471461049e5780638da5cb5b146104f65780638f32d59b14610540576101c3565b80633c6b16ab11610166578063715018a611610140578063715018a6146104005780637b0a47ee1461040a57806380faa57d146104285780638999076b14610446576101c3565b80633c6b16ab146103705780633d18b9121461039e57806370a08231146103a8576101c3565b8063101114cf116101a2578063101114cf146102bc57806318160ddd146103065780631be05289146103245780632e1a7d4d14610342576101c3565b80628cc262146101c85780630700037d146102205780630d68b76114610278575b600080fd5b61020a600480360360208110156101de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610778565b6040518082815260200191505060405180910390f35b6102626004803603602081101561023657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061085f565b6040518082815260200191505060405180910390f35b6102ba6004803603602081101561028e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610877565b005b6102c4610935565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61030e61095b565b6040518082815260200191505060405180910390f35b61032c610965565b6040518082815260200191505060405180910390f35b61036e6004803603602081101561035857600080fd5b810190808035906020019092919050505061096c565b005b61039c6004803603602081101561038657600080fd5b8101908080359060200190929190505050610b21565b005b6103a6610e44565b005b6103ea600480360360208110156103be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611176565b6040518082815260200191505060405180910390f35b6104086111bf565b005b6104126112fa565b6040518082815260200191505060405180910390f35b610430611300565b6040518082815260200191505060405180910390f35b6104886004803603602081101561045c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611313565b6040518082815260200191505060405180910390f35b6104e0600480360360208110156104b457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114a7565b6040518082815260200191505060405180910390f35b6104fe6114bf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105486114e9565b604051808215151515815260200191505060405180910390f35b61058e6004803603602081101561057857600080fd5b8101908080359060200190929190505050611548565b005b6105d2600480360360208110156105a657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116fd565b005b6105dc61187f565b6040518082815260200191505060405180910390f35b6105fa611885565b6040518082815260200191505060405180910390f35b61061861191d565b6040518082815260200191505060405180910390f35b610636611923565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610680611949565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ca61196f565b005b6106d461198a565b6040518082815260200191505060405180910390f35b6106f2611990565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107766004803603602081101561074a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119b5565b005b6000610858600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461084a670de0b6b3a764000061083c610825600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610817611885565b611a3b90919063ffffffff16565b61082e88611176565b611a8590919063ffffffff16565b611b0b90919063ffffffff16565b611b5590919063ffffffff16565b9050919050565b600c6020528060005260406000206000915090505481565b61087f6114e9565b6108f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600154905090565b620d2f0081565b33610975611885565b600a81905550610983611300565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a50576109c681610778565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610ac6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610acf82611bdd565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610b62611cdc565b73ffffffffffffffffffffffffffffffffffffffff1614610bce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061279f6021913960400191505060405180910390fd5b6000610bd8611885565b600a81905550610be6611300565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cb357610c2981610778565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b670de0b6b3a76400007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81610ce457fe5b048210610d59576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f616d6f756e7420746f6f2068696768000000000000000000000000000000000081525060200191505060405180910390fd5b6007544210610d8357610d78620d2f0083611b0b90919063ffffffff16565b600881905550610de6565b6000610d9a42600754611a3b90919063ffffffff16565b90506000610db360085483611a8590919063ffffffff16565b9050610ddd620d2f00610dcf8387611b5590919063ffffffff16565b611b0b90919063ffffffff16565b60088190555050505b42600981905550610e03620d2f0042611b5590919063ffffffff16565b6007819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b33610e4d611885565b600a81905550610e5b611300565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f2857610e9e81610778565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000610f3333610778565b90506000811115611172576000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ff3600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ce49092919063ffffffff16565b611062600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ce49092919063ffffffff16565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630357371d33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561110b57600080fd5b505af115801561111f573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b5050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111c76114e9565b611239576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60085481565b600061130e42600754611f04565b905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8952fad611431600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611423670de0b6b3a76400006114156113fe600b60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113f0611885565b611a3b90919063ffffffff16565b6114078a611176565b611a8590919063ffffffff16565b611b0b90919063ffffffff16565b611b5590919063ffffffff16565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561146557600080fd5b505afa158015611479573d6000803e3d6000fd5b505050506040513d602081101561148f57600080fd5b81019080805190602001909291905050509050919050565b600b6020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661152c611cdc565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b33611551611885565b600a8190555061155f611300565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461162c576115a281610778565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6116ab82611f1d565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b6117056114e9565b611777576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461183b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f657363726f7720616c726561647920736574000000000000000000000000000081525060200191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60095481565b60008061189061095b565b14156118a057600a54905061191a565b6119176119066118ae61095b565b6118f8670de0b6b3a76400006118ea6008546118dc6009546118ce611300565b611a3b90919063ffffffff16565b611a8590919063ffffffff16565b611a8590919063ffffffff16565b611b0b90919063ffffffff16565b600a54611b5590919063ffffffff16565b90505b90565b600a5481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61198061197b33611176565b61096c565b611988610e44565b565b60075481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6119bd6114e9565b611a2f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611a388161201e565b50565b6000611a7d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612164565b905092915050565b600080831415611a985760009050611b05565b6000828402905082848281611aa957fe5b0414611b00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061277e6021913960400191505060405180910390fd5b809150505b92915050565b6000611b4d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612224565b905092915050565b600080828401905083811015611bd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611bf281600154611a3b90919063ffffffff16565b600181905550611c4a81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a3b90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611cd933826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ea9092919063ffffffff16565b50565b600033905090565b6000811480611dde575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015611da157600080fd5b505afa158015611db5573d6000803e3d6000fd5b505050506040513d6020811015611dcb57600080fd5b8101908080519060200190929190505050145b611e33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806127ea6036913960400191505060405180910390fd5b611eff838473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123bb565b505050565b6000818310611f135781611f15565b825b905092915050565b611f3281600154611b5590919063ffffffff16565b600181905550611f8a81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b5590919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061201b3330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612606909392919063ffffffff16565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127586026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000838311158290612211576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121d65780820151818401526020810190506121bb565b50505050905090810190601f1680156122035780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906122d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561229557808201518184015260208101905061227a565b50505050905090810190601f1680156122c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816122dc57fe5b049050809150509392505050565b6123b6838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123bb565b505050565b6123da8273ffffffffffffffffffffffffffffffffffffffff1661270c565b61244c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061249b5780518252602082019150602081019050602083039250612478565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146124fd576040519150601f19603f3d011682016040523d82523d6000602084013e612502565b606091505b50915091508161257a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156126005780806020019051602081101561259957600080fd5b81019080805190602001909291905050506125ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127c0602a913960400191505060405180910390fd5b5b50505050565b612706848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123bb565b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b821415801561274e5750808214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a723158200a4544ad18f8ee9fde9f430c8dcae1642011245f81eb21dad55925aca399dab264736f6c63430005100032

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

000000000000000000000000fb3ef4c7492a4e5f137b85f12e7a8ba2b2af7a8d00000000000000000000000095a5543111343ab2a66a06bc663a1170acf050b9

-----Decoded View---------------
Arg [0] : _token (address): 0xfb3Ef4c7492A4e5F137b85F12e7A8bA2B2Af7a8D
Arg [1] : _lp (address): 0x95a5543111343aB2A66a06bc663a1170AcF050b9

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000fb3ef4c7492a4e5f137b85f12e7a8ba2b2af7a8d
Arg [1] : 00000000000000000000000095a5543111343ab2a66a06bc663a1170acf050b9


Deployed Bytecode Sourcemap

27081:4329:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27081:4329:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28767:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28767:265:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27477:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27477:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22231:161;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22231:161:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;21975:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22768:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27182:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29741:203;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29741:203:0;;;;;;;;;;;;;;;;;:::i;:::-;;30524:719;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;30524:719:0;;;;;;;;;;;;;;;;;:::i;:::-;;30057:459;;;:::i;:::-;;22867:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22867:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11257:140;;;:::i;:::-;;27299:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28200:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29136:315;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29136:315:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27413:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27413:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10446:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;10812:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29542:191;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29542:191:0;;;;;;;;;;;;;;;;;:::i;:::-;;31251:156;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;31251:156:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;27335:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28339:420;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27371:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27233:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;27158:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29952:97;;;:::i;:::-;;27261:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22574:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11552:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11552:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;28767:265;28821:7;28861:163;29007:7;:16;29015:7;29007:16;;;;;;;;;;;;;;;;28861:123;28979:4;28861:95;28902:53;28923:22;:31;28946:7;28923:31;;;;;;;;;;;;;;;;28902:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;28861:18;28871:7;28861:9;:18::i;:::-;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:163;;;;:::i;:::-;28841:183;;28767:265;;;:::o;27477:42::-;;;;;;;;;;;;;;;;;:::o;22231:161::-;10658:9;:7;:9::i;:::-;10650:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22365:19;22344:18;;:40;;;;;;;;;;;;;;;;;;22231:161;:::o;21975:33::-;;;;;;;;;;;;;:::o;22768:91::-;22812:7;22839:12;;22832:19;;22768:91;:::o;27182:42::-;27217:7;27182:42;:::o;29741:203::-;29795:10;27821:16;:14;:16::i;:::-;27798:20;:39;;;;27865:26;:24;:26::i;:::-;27848:14;:43;;;;27925:1;27906:21;;:7;:21;;;27902:157;;27963:15;27970:7;27963:6;:15::i;:::-;27944:7;:16;27952:7;27944:16;;;;;;;;;;;;;;;:34;;;;28027:20;;27993:22;:31;28016:7;27993:31;;;;;;;;;;;;;;;:54;;;;27902:157;29835:1;29826:6;:10;29818:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29869:22;29884:6;29869:14;:22::i;:::-;29917:10;29907:29;;;29929:6;29907:29;;;;;;;;;;;;;;;;;;29741:203;;:::o;30524:719::-;22147:18;;;;;;;;;;;22131:34;;:12;:10;:12::i;:::-;:34;;;22123:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30648:1;27821:16;:14;:16::i;:::-;27798:20;:39;;;;27865:26;:24;:26::i;:::-;27848:14;:43;;;;27925:1;27906:21;;:7;:21;;;27902:157;;27963:15;27970:7;27963:6;:15::i;:::-;27944:7;:16;27952:7;27944:16;;;;;;;;;;;;;;;:34;;;;28027:20;;27993:22;:31;28016:7;27993:31;;;;;;;;;;;;;;;:54;;;;27902:157;30762:4;30756:2;30748:18;;;;;;30739:6;:27;30731:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30822:12;;30803:15;:31;30799:304;;30864:20;27217:7;30864:6;:10;;:20;;;;:::i;:::-;30851:10;:33;;;;30799:304;;;30917:17;30937:33;30954:15;30937:12;;:16;;:33;;;;:::i;:::-;30917:53;;30985:16;31004:25;31018:10;;31004:9;:13;;:25;;;;:::i;:::-;30985:44;;31057:34;27217:7;31057:20;31068:8;31057:6;:10;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;31044:10;:47;;;;30799:304;;;31130:15;31113:14;:32;;;;31171:29;27217:7;31171:15;:19;;:29;;;;:::i;:::-;31156:12;:44;;;;31216:19;31228:6;31216:19;;;;;;;;;;;;;;;;;;22214:1;30524:719;:::o;30057:459::-;30098:10;27821:16;:14;:16::i;:::-;27798:20;:39;;;;27865:26;:24;:26::i;:::-;27848:14;:43;;;;27925:1;27906:21;;:7;:21;;;27902:157;;27963:15;27970:7;27963:6;:15::i;:::-;27944:7;:16;27952:7;27944:16;;;;;;;;;;;;;;;:34;;;;28027:20;;27993:22;:31;28016:7;27993:31;;;;;;;;;;;;;;;:54;;;;27902:157;30121:14;30138:18;30145:10;30138:6;:18::i;:::-;30121:35;;30180:1;30171:6;:10;30167:342;;;30220:1;30198:7;:19;30206:10;30198:19;;;;;;;;;;;;;;;:23;;;;30314:26;30330:6;;;;;;;;;;;30338:1;30314:3;;;;;;;;;;;:15;;;;:26;;;;;:::i;:::-;30355:31;30371:6;;;;;;;;;;;30379;30355:3;;;;;;;;;;;:15;;;;:31;;;;;:::i;:::-;30412:6;;;;;;;;;;;30401:26;;;30428:10;30440:6;30401:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30401:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30401:46:0;;;;30478:10;30467:30;;;30490:6;30467:30;;;;;;;;;;;;;;;;;;30167:342;28069:1;30057:459;:::o;22867:110::-;22924:7;22951:9;:18;22961:7;22951:18;;;;;;;;;;;;;;;;22944:25;;22867:110;;;:::o;11257:140::-;10658:9;:7;:9::i;:::-;10650:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11356:1;11319:40;;11340:6;;;;;;;;;;;11319:40;;;;;;;;;;;;11387:1;11370:6;;:19;;;;;;;;;;;;;;;;;;11257:140::o;27299:29::-;;;;:::o;28200:131::-;28257:7;28284:39;28293:15;28310:12;;28284:8;:39::i;:::-;28277:46;;28200:131;:::o;29136:315::-;29194:7;29232:6;;;;;;;;;;;29221:33;;;29269:163;29415:7;:16;29423:7;29415:16;;;;;;;;;;;;;;;;29269:123;29387:4;29269:95;29310:53;29331:22;:31;29354:7;29331:31;;;;;;;;;;;;;;;;29310:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;29269:18;29279:7;29269:9;:18::i;:::-;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:163;;;;:::i;:::-;29221:222;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29221:222:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29221:222:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29221:222:0;;;;;;;;;;;;;;;;29214:229;;29136:315;;;:::o;27413:57::-;;;;;;;;;;;;;;;;;:::o;10446:79::-;10484:7;10511:6;;;;;;;;;;;10504:13;;10446:79;:::o;10812:94::-;10852:4;10892:6;;;;;;;;;;;10876:22;;:12;:10;:12::i;:::-;:22;;;10869:29;;10812:94;:::o;29542:191::-;29593:10;27821:16;:14;:16::i;:::-;27798:20;:39;;;;27865:26;:24;:26::i;:::-;27848:14;:43;;;;27925:1;27906:21;;:7;:21;;;27902:157;;27963:15;27970:7;27963:6;:15::i;:::-;27944:7;:16;27952:7;27944:16;;;;;;;;;;;;;;;:34;;;;28027:20;;27993:22;:31;28016:7;27993:31;;;;;;;;;;;;;;;:54;;;;27902:157;29633:1;29624:6;:10;29616:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29664:19;29676:6;29664:11;:19::i;:::-;29706:10;29699:26;;;29718:6;29699:26;;;;;;;;;;;;;;;;;;29542:191;;:::o;31251:156::-;10658:9;:7;:9::i;:::-;10650:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31345:1;31327:20;;:6;;;;;;;;;;;:20;;;31319:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31390:9;31381:6;;:18;;;;;;;;;;;;;;;;;;31251:156;:::o;27335:29::-;;;;:::o;28339:420::-;28386:7;28427:1;28410:13;:11;:13::i;:::-;:18;28406:78;;;28452:20;;28445:27;;;;28406:78;28514:237;28557:179;28722:13;:11;:13::i;:::-;28557:138;28690:4;28557:106;28652:10;;28557:68;28610:14;;28557:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:179;;;;:::i;:::-;28514:20;;:24;;:237;;;;:::i;:::-;28494:257;;28339:420;;:::o;27371:35::-;;;;:::o;27233:21::-;;;;;;;;;;;;;:::o;27158:17::-;;;;;;;;;;;;;:::o;29952:97::-;29988:31;29997:21;30007:10;29997:9;:21::i;:::-;29988:8;:31::i;:::-;30030:11;:9;:11::i;:::-;29952:97::o;27261:31::-;;;;:::o;22574:17::-;;;;;;;;;;;;;:::o;11552:109::-;10658:9;:7;:9::i;:::-;10650:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11625:28;11644:8;11625:18;:28::i;:::-;11552:109;:::o;4196:136::-;4254:7;4281:43;4285:1;4288;4281:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4274:50;;4196:136;;;;:::o;5112:471::-;5170:7;5420:1;5415;:6;5411:47;;;5445:1;5438:8;;;;5411:47;5470:9;5486:1;5482;:5;5470:17;;5515:1;5510;5506;:5;;;;;;:10;5498:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5574:1;5567:8;;;5112:471;;;;;:::o;6051:132::-;6109:7;6136:39;6140:1;6143;6136:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;6129:46;;6051:132;;;;:::o;3740:181::-;3798:7;3818:9;3834:1;3830;:5;3818:17;;3859:1;3854;:6;;3846:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3912:1;3905:8;;;3740:181;;;;:::o;23223:214::-;23290:24;23307:6;23290:12;;:16;;:24;;;;:::i;:::-;23275:12;:39;;;;23349:33;23375:6;23349:9;:21;23359:10;23349:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;23325:9;:21;23335:10;23325:21;;;;;;;;;;;;;;;:57;;;;23393:36;23410:10;23422:6;23393:3;;;;;;;;;;;:16;;;;:36;;;;;:::i;:::-;23223:214;:::o;9195:98::-;9240:15;9275:10;9268:17;;9195:98;:::o;19069:621::-;19448:1;19439:5;:10;19438:62;;;;19498:1;19455:5;:15;;;19479:4;19486:7;19455:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19455:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19455:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;19455:39:0;;;;;;;;;;;;;;;;:44;19438:62;19430:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19593:89;19612:5;19642;:13;;;:22;;;;19666:7;19675:5;19619:62;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;19619:62:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;19619:62:0;19593:18;:89::i;:::-;19069:621;;;:::o;2402:106::-;2460:7;2491:1;2487;:5;:13;;2499:1;2487:13;;;2495:1;2487:13;2480:20;;2402:106;;;;:::o;22985:230::-;23049:24;23066:6;23049:12;;:16;;:24;;;;:::i;:::-;23034:12;:39;;;;23108:33;23134:6;23108:9;:21;23118:10;23108:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;23084:9;:21;23094:10;23084:21;;;;;;;;;;;;;;;:57;;;;23152:55;23173:10;23193:4;23200:6;23152:3;;;;;;;;;;;:20;;;;:55;;;;;;:::i;:::-;22985:230;:::o;11767:229::-;11861:1;11841:22;;:8;:22;;;;11833:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11951:8;11922:38;;11943:6;;;;;;;;;;;11922:38;;;;;;;;;;;;11980:8;11971:6;;:17;;;;;;;;;;;;;;;;;;11767:229;:::o;4669:192::-;4755:7;4788:1;4783;:6;;4791:12;4775:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;4775:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4815:9;4831:1;4827;:5;4815:17;;4852:1;4845:8;;;4669:192;;;;;:::o;6713:345::-;6799:7;6898:1;6894;:5;6901:12;6886:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;6886:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6925:9;6941:1;6937;:5;;;;;;6925:17;;7049:1;7042:8;;;6713:345;;;;;:::o;18673:176::-;18756:85;18775:5;18805;:14;;;:23;;;;18830:2;18834:5;18782:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;18782:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;18782:58:0;18756:18;:85::i;:::-;18673:176;;;:::o;20712:1114::-;21316:27;21324:5;21316:25;;;:27::i;:::-;21308:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21453:12;21467:23;21502:5;21494:19;;21514:4;21494:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;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;;;21494: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;;21452:67:0;;;;21538:7;21530:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21619:1;21599:10;:17;:21;21595:224;;;21741:10;21730:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21730:30:0;;;;;;;;;;;;;;;;21722:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21595:224;20712:1114;;;;:::o;18857:204::-;18958:95;18977:5;19007;:18;;;:27;;;;19036:4;19042:2;19046:5;18984:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;18984:68:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;18984:68:0;18958:18;:95::i;:::-;18857:204;;;;:::o;15511:810::-;15571:4;16024:16;16051:19;16073:66;16051:88;;;;16242:7;16230:20;16218:32;;16282:3;16270:15;;:8;:15;;:42;;;;;16301:11;16289:8;:23;;16270:42;16262:51;;;;15511:810;;;:::o

Swarm Source

bzzr://0a4544ad18f8ee9fde9f430c8dcae1642011245f81eb21dad55925aca399dab2

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.