MATIC Price: $1.00 (-0.86%)
Gas: 56 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw541954882024-03-02 23:31:1625 days ago1709422276IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0056151458.64444377
Withdraw541850212024-03-02 17:08:0426 days ago1709399284IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0048843750.48296845
Deposit541848932024-03-02 17:03:1926 days ago1709398999IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0048131972.61261391
Withdraw541785342024-03-02 13:16:4426 days ago1709385404IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0063709273.12814893
Deposit541785232024-03-02 13:16:2026 days ago1709385380IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0049418574.55354126
Deposit540796782024-02-29 1:32:4028 days ago1709170360IN
Gamma: Quickswap Masterchef 2
0 MATIC0.00616346155.56848047
Withdraw540795392024-02-29 1:27:4628 days ago1709170066IN
Gamma: Quickswap Masterchef 2
0 MATIC0.01296532135.75114353
Withdraw537110182024-02-19 15:11:2638 days ago1708355486IN
Gamma: Quickswap Masterchef 2
0 MATIC0.01268358120.64785153
Withdraw536292742024-02-17 13:03:1640 days ago1708174996IN
Gamma: Quickswap Masterchef 2
0 MATIC0.006757260
Withdraw531873392024-02-06 9:34:4951 days ago1707212089IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0049011856.28116296
Deposit531872652024-02-06 9:32:1351 days ago1707211933IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0046565470.26204217
Withdraw531787112024-02-06 4:23:4551 days ago1707193425IN
Gamma: Quickswap Masterchef 2
0 MATIC0.003212636.87559369
Deposit531786862024-02-06 4:22:5151 days ago1707193371IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0022700634.24648686
Deposit531624952024-02-05 18:35:4252 days ago1707158142IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0036053291
Withdraw530832232024-02-03 17:09:3754 days ago1706980177IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0041551742.95683525
Deposit530831392024-02-03 17:06:3954 days ago1706979999IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0026555748.2077689
Deposit530828452024-02-03 16:56:1254 days ago1706979372IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0029979745.22788711
Emergency Withdr...522923742024-01-14 0:24:4674 days ago1705191886IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0019268130.00000003
Emergency Withdr...522919242024-01-14 0:07:0074 days ago1705190820IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0019264530.00000002
Withdraw520802262024-01-08 10:35:1880 days ago1704710118IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0039029144.68185123
Deposit520802152024-01-08 10:34:5480 days ago1704710094IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0030348745.78455143
Withdraw514120452023-12-22 5:57:0797 days ago1703224627IN
Gamma: Quickswap Masterchef 2
0 MATIC0.03752614356.871828
Withdraw512189562023-12-17 2:34:02102 days ago1702780442IN
Gamma: Quickswap Masterchef 2
0 MATIC0.02276512261.45174423
Deposit512189162023-12-17 2:32:12102 days ago1702780332IN
Gamma: Quickswap Masterchef 2
0 MATIC0.00911416165.48938889
Deposit512188932023-12-17 2:31:22102 days ago1702780282IN
Gamma: Quickswap Masterchef 2
0 MATIC0.0108028163.00217058
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

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

Contract Name:
Farmv3

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-08-12
*/

// Sources flattened with hardhat v2.9.7 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

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/math/[email protected]

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/utils/[email protected]

pragma solidity ^0.5.5;

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

    /**
     * @dev 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/[email protected]

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 @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.5.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * As of v2.5.0, only `address` sets are supported.
 *
 * Include with `using EnumerableSet for EnumerableSet.AddressSet;`.
 *
 * _Available since v2.5.0._
 *
 * @author Alberto Cuesta Cañada
 */
library EnumerableSet {

    struct AddressSet {
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (address => uint256) index;
        address[] values;
    }

    /**
     * @dev Add a value to a set. O(1).
     * Returns false if the value was already in the set.
     */
    function add(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        if (!contains(set, value)){
            set.index[value] = set.values.push(value);
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     * Returns false if the value was not present in the set.
     */
    function remove(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        if (contains(set, value)){
            uint256 toDeleteIndex = set.index[value] - 1;
            uint256 lastIndex = set.values.length - 1;

            // If the element we're deleting is the last one, we can just remove it without doing a swap
            if (lastIndex != toDeleteIndex) {
                address lastValue = set.values[lastIndex];

                // Move the last value to the index where the deleted value is
                set.values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set.index[lastValue] = toDeleteIndex + 1; // All indexes are 1-based
            }

            // Delete the index entry for the deleted value
            delete set.index[value];

            // Delete the old entry for the moved value
            set.values.pop();

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value)
        internal
        view
        returns (bool)
    {
        return set.index[value] != 0;
    }

    /**
     * @dev Returns an array with all values in the set. O(N).
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.

     * WARNING: This function may run out of gas on large sets: use {length} and
     * {get} instead in these cases.
     */
    function enumerate(AddressSet storage set)
        internal
        view
        returns (address[] memory)
    {
        address[] memory output = new address[](set.values.length);
        for (uint256 i; i < set.values.length; i++){
            output[i] = set.values[i];
        }
        return output;
    }

    /**
     * @dev Returns the number of elements on the set. O(1).
     */
    function length(AddressSet storage set)
        internal
        view
        returns (uint256)
    {
        return set.values.length;
    }

   /** @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function get(AddressSet storage set, uint256 index)
        internal
        view
        returns (address)
    {
        return set.values[index];
    }
}


// File contracts/GSN/context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.5.17;

/*
 * @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 {
    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 contracts/Ownable.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.5.17;

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// File contracts/StakingRewardsV3.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.5.0;

// this should work by rewards per second





contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

// Farm distributes the ERC20 rewards based on staked LP to each user.
// v2 includes an update-able deposit fee. with a max value bc we care <3
// v3 adds block.timestamp instead of block.number so we can ez track rewards per second.
// Cloned from https://github.com/SashimiProject/sashimiswap/blob/master/contracts/MasterChef.sol
// Modified by Mai Finance to work for non-mintable ERC20.
contract Farmv3 is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;     // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of ERC20s
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accERC20PerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accERC20PerShare` (and `lastRewardTimestamp`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;             // Address of LP token contract.
        uint256 allocPoint;         // How many allocation points assigned to this pool. ERC20s to distribute per second.
        uint256 lastRewardTimestamp;    // Last block number that ERC20s distribution occurs.
        uint256 accERC20PerShare;   // Accumulated ERC20s per share, times 1e12.
        uint16 depositFeeBP;        // Deposit fee in basis points
    }

    // Address of the ERC20 Token contract.
    IERC20 public erc20;
    // The total amount of ERC20 that's paid out as reward.
    uint256 public paidOut = 0;
    // ERC20 tokens rewarded per second.
    uint256 public rewardPerSecond;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;

    // The block number when farming starts.
    uint256 public startTimestamp;
    // The block number when farming ends.
    uint256 public endTimestamp;
    
    // Deposit Fee address
    address public feeAddress;

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

    constructor(IERC20 _erc20, uint256 _rewardPerSecond, uint256 _startTimestamp, address _feeAddress) public {
        erc20 = _erc20;
        rewardPerSecond = _rewardPerSecond;
        startTimestamp = _startTimestamp;
        endTimestamp = _startTimestamp;
        feeAddress = _feeAddress;
    }
    
    function setFeeAddress(address _feeAddress) public {
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");
        feeAddress = _feeAddress;
    }

    // Number of LP pools
    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Fund the farm, increase the end block
    function fund(uint256 _amount) public onlyOwner {
        require(block.timestamp < endTimestamp, "fund: too late, the farm is closed");

        erc20.safeTransferFrom(address(msg.sender), address(this), _amount);
        endTimestamp += _amount.div(rewardPerSecond);
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate, uint16 _depositFeeBP) public onlyOwner {
        require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardTimestamp = block.timestamp > startTimestamp ? block.timestamp : startTimestamp;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardTimestamp: lastRewardTimestamp,
            accERC20PerShare: 0,
            depositFeeBP : _depositFeeBP
        }));
    }

    // Update the given pool's ERC20 allocation point. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // View function to see deposited LP for a user.
    function deposited(uint256 _pid, address _user) external view returns (uint256) {
        UserInfo storage user = userInfo[_pid][_user];
        return user.amount;
    }

    // View function to see pending ERC20s for a user.
    function pending(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accERC20PerShare = pool.accERC20PerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));

        if (block.timestamp > pool.lastRewardTimestamp && lpSupply != 0) {
            uint256 lastTime = block.timestamp < endTimestamp ? block.timestamp : endTimestamp;
            uint256 nrOfSeconds = lastTime.sub(pool.lastRewardTimestamp);
            uint256 erc20Reward = nrOfSeconds.mul(rewardPerSecond).mul(pool.allocPoint).div(totalAllocPoint);
            accERC20PerShare = accERC20PerShare.add(erc20Reward.mul(1e12).div(lpSupply));
        }

        return user.amount.mul(accERC20PerShare).div(1e12).sub(user.rewardDebt);
    }

    // View function for total reward the farm has yet to pay out.
    function totalPending() external view returns (uint256) {
        if (block.timestamp <= startTimestamp) {
            return 0;
        }

        uint256 lastTime = block.timestamp < endTimestamp ? block.timestamp : endTimestamp;
        return rewardPerSecond.mul(lastTime - startTimestamp).sub(paidOut);
    }

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

    function updatePoolDepositFee(uint256 _pid, uint16 _depositFeeBP) public onlyOwner() {
        require(_depositFeeBP<=100, "updatePoolDepositFee: fee must be under 1%");
        PoolInfo storage pool = poolInfo[_pid];
        pool.depositFeeBP = _depositFeeBP;
    }

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

        if (lastTime <= pool.lastRewardTimestamp) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardTimestamp = lastTime;
            return;
        }

        uint256 nrOfSeconds = lastTime.sub(pool.lastRewardTimestamp);
        uint256 erc20Reward = nrOfSeconds.mul(rewardPerSecond).mul(pool.allocPoint).div(totalAllocPoint);

        pool.accERC20PerShare = pool.accERC20PerShare.add(erc20Reward.mul(1e12).div(lpSupply));
        pool.lastRewardTimestamp = block.timestamp;
    }

    // Deposit LP tokens to Farm for ERC20 allocation.
    function deposit(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pendingAmount = user.amount.mul(pool.accERC20PerShare).div(1e12).sub(user.rewardDebt);
            erc20Transfer(msg.sender, pendingAmount);
        }
        
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(feeAddress, depositFee);
                user.amount = user.amount.add(_amount).sub(depositFee);
            } else {
                user.amount = user.amount.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accERC20PerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from Farm.
    function withdraw(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: can't withdraw more than deposit");
        updatePool(_pid);
        uint256 pendingAmount = user.amount.mul(pool.accERC20PerShare).div(1e12).sub(user.rewardDebt);
        erc20Transfer(msg.sender, pendingAmount);
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accERC20PerShare).div(1e12);
        pool.lpToken.safeTransfer(address(msg.sender), _amount);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        pool.lpToken.safeTransfer(address(msg.sender), user.amount);
        emit EmergencyWithdraw(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
    }

    // Transfer ERC20 and update the required ERC20 to payout all rewards
    function erc20Transfer(address _to, uint256 _amount) internal {
        erc20.transfer(_to, _amount);
        paidOut += _amount;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_erc20","type":"address"},{"internalType":"uint256","name":"_rewardPerSecond","type":"uint256"},{"internalType":"uint256","name":"_startTimestamp","type":"uint256"},{"internalType":"address","name":"_feeAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"add","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"deposited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"endTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"erc20","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"fund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"massUpdatePools","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":"paidOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"internalType":"uint256","name":"accERC20PerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"poolLength","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":"rewardPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalPending","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":false,"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"updatePoolDepositFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ae5760003560e01c8063785e9e86116100ee578063a85adeab11610097578063e4c75c2711610071578063e4c75c271461042e578063e6fd48bc1461045a578063f2fde38b14610462578063f579ecb914610488576101ae565b8063a85adeab146103e6578063ca1d209d146103ee578063e2bbb1581461040b576101ae565b80638f10369a116100c85780638f10369a1461036d57806393f1a40b14610375578063a2383106146103ba576101ae565b8063785e9e86146103375780638705fcd41461033f5780638da5cb5b14610365576101ae565b806347a55b7c1161015b5780635c76ca2d116101355780635c76ca2d146102f4578063630b5ba1146102fc57806364482f7914610304578063715018a61461032f576101ae565b806347a55b7c1461027c57806351eb05a6146102ba5780635312ea8e146102d7576101ae565b80633f90916a1161018c5780633f90916a1461022b5780634127535814610233578063441a3e7014610257576101ae565b8063081e3eda146101b35780631526fe27146101cd57806317caf6f114610223575b600080fd5b6101bb6104af565b60408051918252519081900360200190f35b6101ea600480360360208110156101e357600080fd5b50356104b6565b604080516001600160a01b039096168652602086019490945284840192909252606084015261ffff166080830152519081900360a00190f35b6101bb610502565b6101bb610508565b61023b610563565b604080516001600160a01b039092168252519081900360200190f35b61027a6004803603604081101561026d57600080fd5b5080359060200135610572565b005b61027a6004803603608081101561029257600080fd5b5080359060208101356001600160a01b03169060408101351515906060013561ffff16610730565b61027a600480360360208110156102d057600080fd5b503561095d565b61027a600480360360208110156102ed57600080fd5b5035610ad9565b6101bb610bdc565b61027a610be2565b61027a6004803603606081101561031a57600080fd5b50803590602081013590604001351515610c05565b61027a610cee565b61023b610daf565b61027a6004803603602081101561035557600080fd5b50356001600160a01b0316610dbe565b61023b610e4c565b6101bb610e5b565b6103a16004803603604081101561038b57600080fd5b50803590602001356001600160a01b0316610e61565b6040805192835260208301919091528051918290030190f35b6101bb600480360360408110156103d057600080fd5b50803590602001356001600160a01b0316610e85565b6101bb610eaf565b61027a6004803603602081101561040457600080fd5b5035610eb5565b61027a6004803603604081101561042157600080fd5b5080359060200135610f9d565b6101bb6004803603604081101561044457600080fd5b50803590602001356001600160a01b0316611197565b6101bb61133b565b61027a6004803603602081101561047857600080fd5b50356001600160a01b0316611341565b61027a6004803603604081101561049e57600080fd5b508035906020013561ffff16611458565b6005545b90565b600581815481106104c357fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff1685565b60075481565b6000600854421161051b575060006104b3565b6000600954421061052e57600954610530565b425b905061055d600354610551600854840360045461154190919063ffffffff16565b9063ffffffff6115a116565b91505090565b600a546001600160a01b031681565b600260015414156105ca576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026001819055506000600583815481106105e157fe5b6000918252602080832086845260068252604080852033865290925292208054600590920290920192508311156106495760405162461bcd60e51b815260040180806020018281038252602a815260200180611bda602a913960400191505060405180910390fd5b6106528461095d565b600061068c826001015461055164e8d4a510006106808760030154876000015461154190919063ffffffff16565b9063ffffffff6115e316565b90506106983382611625565b81546106aa908563ffffffff6115a116565b80835560038401546106cd9164e8d4a5100091610680919063ffffffff61154116565b600183015582546106ee906001600160a01b0316338663ffffffff6116cc16565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060018055505050565b610738611751565b6000546001600160a01b0390811691161461079a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6127108161ffff1611156107df5760405162461bcd60e51b8152600401808060200182810382526025815260200180611b4c6025913960400191505060405180910390fd5b81156107ed576107ed610be2565b6000600854421161080057600854610802565b425b600754909150610818908663ffffffff61175516565b6007556040805160a0810182526001600160a01b0395861681526020810196875290810191825260006060820181815261ffff94851660808401908152600580546001810182559381905293517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db093909402928301805473ffffffffffffffffffffffffffffffffffffffff1916949098169390931790965595517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db187015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db286015592517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db385015591517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db4909301805461ffff19169390921692909217905550565b60006005828154811061096c57fe5b906000526020600020906005020190506000600954421061098f57600954610991565b425b9050816002015481116109a5575050610ad6565b8154604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a0857600080fd5b505afa158015610a1c573d6000803e3d6000fd5b505050506040513d6020811015610a3257600080fd5b5051905080610a475750600290910155610ad6565b6000610a608460020154846115a190919063ffffffff16565b90506000610a936007546106808760010154610a876004548761154190919063ffffffff16565b9063ffffffff61154116565b9050610ac2610ab1846106808464e8d4a5100063ffffffff61154116565b60038701549063ffffffff61175516565b600386015550504260029093019290925550505b50565b60026001541415610b31576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060058281548110610b4857fe5b60009182526020808320858452600682526040808520338087529352909320805460059093029093018054909450610b93926001600160a01b0391909116919063ffffffff6116cc16565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3600080825560019182015580555050565b60035481565b60055460005b81811015610c0157610bf98161095d565b600101610be8565b5050565b610c0d611751565b6000546001600160a01b03908116911614610c6f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8015610c7d57610c7d610be2565b610cc082610cb460058681548110610c9157fe5b9060005260206000209060050201600101546007546115a190919063ffffffff16565b9063ffffffff61175516565b6007819055508160058481548110610cd457fe5b906000526020600020906005020160010181905550505050565b610cf6611751565b6000546001600160a01b03908116911614610d58576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6002546001600160a01b031681565b600a546001600160a01b03163314610e1d576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b60045481565b60066020908152600092835260408084209091529082529020805460019091015482565b60008281526006602090815260408083206001600160a01b03851684529091529020545b92915050565b60095481565b610ebd611751565b6000546001600160a01b03908116911614610f1f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6009544210610f5f5760405162461bcd60e51b8152600401808060200182810382526022815260200180611bb86022913960400191505060405180910390fd5b600254610f7d906001600160a01b031633308463ffffffff6117af16565b600454610f9190829063ffffffff6115e316565b60098054909101905550565b60026001541415610ff5576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006005838154811061100c57fe5b6000918252602080832086845260068252604080852033865290925292206005909102909101915061103d8461095d565b805415611080576000611072826001015461055164e8d4a510006106808760030154876000015461154190919063ffffffff16565b905061107e3382611625565b505b82156111305781546110a3906001600160a01b031633308663ffffffff6117af16565b600482015461ffff161561111b5760048201546000906110d6906127109061068090879061ffff1663ffffffff61154116565b600a5484549192506110fb916001600160a01b0390811691168363ffffffff6116cc16565b8154611113908290610551908763ffffffff61175516565b825550611130565b805461112d908463ffffffff61175516565b81555b600382015481546111519164e8d4a51000916106809163ffffffff61154116565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050600180555050565b600080600584815481106111a757fe5b600091825260208083208784526006825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b15801561123a57600080fd5b505afa15801561124e573d6000803e3d6000fd5b505050506040513d602081101561126457600080fd5b505160028501549091504211801561127b57508015155b15611308576000600954421061129357600954611295565b425b905060006112b08660020154836115a190919063ffffffff16565b905060006112d76007546106808960010154610a876004548761154190919063ffffffff16565b90506113026112f5856106808464e8d4a5100063ffffffff61154116565b869063ffffffff61175516565b94505050505b611330836001015461055164e8d4a5100061068086886000015461154190919063ffffffff16565b979650505050505050565b60085481565b611349611751565b6000546001600160a01b039081169116146113ab576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166113f05760405162461bcd60e51b8152600401808060200182810382526026815260200180611b716026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b611460611751565b6000546001600160a01b039081169116146114c2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60648161ffff1611156115065760405162461bcd60e51b815260040180806020018281038252602a815260200180611c04602a913960400191505060405180910390fd5b60006005838154811061151557fe5b60009182526020909120600590910201600401805461ffff191661ffff93909316929092179091555050565b60008261155057506000610ea9565b8282028284828161155d57fe5b041461159a5760405162461bcd60e51b8152600401808060200182810382526021815260200180611b976021913960400191505060405180910390fd5b9392505050565b600061159a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061183d565b600061159a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506118d4565b600254604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561169457600080fd5b505af11580156116a8573d6000803e3d6000fd5b505050506040513d60208110156116be57600080fd5b505060038054909101905550565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261174c908490611939565b505050565b3390565b60008282018381101561159a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611837908590611939565b50505050565b600081848411156118cc5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611891578181015183820152602001611879565b50505050905090810190601f1680156118be5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836119235760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611891578181015183820152602001611879565b50600083858161192f57fe5b0495945050505050565b61194b826001600160a01b0316611b0f565b61199c576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106119f857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016119bb565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611a5a576040519150601f19603f3d011682016040523d82523d6000602084013e611a5f565b606091505b509150915081611ab6576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561183757808060200190516020811015611ad257600080fd5b50516118375760405162461bcd60e51b815260040180806020018281038252602a815260200180611c2e602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611b4357508115155b94935050505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7766756e643a20746f6f206c6174652c20746865206661726d20697320636c6f73656477697468647261773a2063616e2774207769746864726177206d6f7265207468616e206465706f736974757064617465506f6f6c4465706f7369744665653a20666565206d75737420626520756e6465722031255361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820606c160dc351e1326181ec20d8337d992359e11f50fecddd086d4f764a87268564736f6c63430005110032

Deployed Bytecode Sourcemap

25179:10169:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25179:10169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28185:95;;;:::i;:::-;;;;;;;;;;;;;;;;26905:26;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26905:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;26905:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27148:34;;;:::i;31106:320::-;;;:::i;27385:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;27385:25:0;;;;;;;;;;;;;;33984:700;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33984:700:0;;;;;;;:::i;:::-;;28778:688;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;28778:688:0;;;;;;;-1:-1:-1;;;;;28778:688:0;;;;;;;;;;;;;;;:::i;32043:789::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32043:789:0;;:::i;34755:369::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34755:369:0;;:::i;26764:26::-;;;:::i;31509:180::-;;;:::i;29563:304::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29563:304:0;;;;;;;;;;;;;;:::i;22257:140::-;;;:::i;26677:19::-;;;:::i;27984:166::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27984:166:0;-1:-1:-1;;;;;27984:166:0;;:::i;21615:79::-;;;:::i;26839:30::-;;;:::i;26987:66::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26987:66:0;;;;;;-1:-1:-1;;;;;26987:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29929:173;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29929:173:0;;;;;;-1:-1:-1;;;;;29929:173:0;;:::i;27317:27::-;;;:::i;28334:279::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28334:279:0;;:::i;32896:1042::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32896:1042:0;;;;;;;:::i;30166:864::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30166:864:0;;;;;;-1:-1:-1;;;;;30166:864:0;;:::i;27237:29::-;;;:::i;22552:236::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22552:236:0;-1:-1:-1;;;;;22552:236:0;;:::i;31697:270::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31697:270:0;;;;;;;;;:::i;28185:95::-;28257:8;:15;28185:95;;:::o;26905:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26905:26:0;;;;-1:-1:-1;26905:26:0;;;;;;;:::o;27148:34::-;;;;:::o;31106:320::-;31153:7;31196:14;;31177:15;:33;31173:74;;-1:-1:-1;31234:1:0;31227:8;;31173:74;31259:16;31296:12;;31278:15;:30;:63;;31329:12;;31278:63;;;31311:15;31278:63;31259:82;;31359:59;31410:7;;31359:46;31390:14;;31379:8;:25;31359:15;;:19;;:46;;;;:::i;:::-;:50;:59;:50;:59;:::i;:::-;31352:66;;;31106:320;:::o;27385:25::-;;;-1:-1:-1;;;;;27385:25:0;;:::o;33984:700::-;23827:1;24433:7;;:19;;24425:63;;;;;-1:-1:-1;;;24425:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23827:1;24566:7;:18;;;;34064:21;34088:8;34097:4;34088:14;;;;;;;;;;;;;;;;34137;;;:8;:14;;;;;;34152:10;34137:26;;;;;;;34182:11;;34088:14;;;;;;;;-1:-1:-1;34182:22:0;-1:-1:-1;34182:22:0;34174:77;;;;-1:-1:-1;;;34174:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34262:16;34273:4;34262:10;:16::i;:::-;34289:21;34313:69;34366:4;:15;;;34313:48;34356:4;34313:38;34329:4;:21;;;34313:4;:11;;;:15;;:38;;;;:::i;:::-;:42;:48;:42;:48;:::i;:69::-;34289:93;;34393:40;34407:10;34419:13;34393;:40::i;:::-;34458:11;;:24;;34474:7;34458:24;:15;:24;:::i;:::-;34444:38;;;34527:21;;;;34511:48;;34554:4;;34511:38;;34444;34511;:15;:38;:::i;:48::-;34493:15;;;:66;34570:12;;:55;;-1:-1:-1;;;;;34570:12:0;34604:10;34617:7;34570:55;:25;:55;:::i;:::-;34641:35;;;;;;;;34662:4;;34650:10;;34641:35;;;;;;;;;-1:-1:-1;;23783:1:0;24745:22;;-1:-1:-1;;;33984:700:0:o;28778:688::-;21837:12;:10;:12::i;:::-;21827:6;;-1:-1:-1;;;;;21827:6:0;;;:22;;;21819:67;;;;;-1:-1:-1;;;21819:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28922:5;28905:13;:22;;;;28897:72;;;;-1:-1:-1;;;28897:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28984:11;28980:61;;;29012:17;:15;:17::i;:::-;29051:27;29099:14;;29081:15;:32;:67;;29134:14;;29081:67;;;29116:15;29081:67;29177:15;;29051:97;;-1:-1:-1;29177:32:0;;29197:11;29177:32;:19;:32;:::i;:::-;29159:15;:50;29234:223;;;;;;;;-1:-1:-1;;;;;29234:223:0;;;;;;;;;;;;;;;;;-1:-1:-1;29234:223:0;;;;;;;;;;;;;;;;29220:8;27:10:-1;;39:1;23:18;;45:23;;29220:238:0;;;;;;;;;;;;;;;;-1:-1:-1;;29220:238:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29220:238:0;;;;;;;;;;;-1:-1:-1;28778:688:0:o;32043:789::-;32095:21;32119:8;32128:4;32119:14;;;;;;;;;;;;;;;;;;32095:38;;32144:16;32181:12;;32163:15;:30;:63;;32214:12;;32163:63;;;32196:15;32163:63;32144:82;;32255:4;:24;;;32243:8;:36;32239:75;;32296:7;;;;32239:75;32343:12;;:37;;;;;;32374:4;32343:37;;;;;;32324:16;;-1:-1:-1;;;;;32343:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;32343:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32343:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32343:37:0;;-1:-1:-1;32395:13:0;32391:102;;-1:-1:-1;32425:24:0;;;;:35;32475:7;;32391:102;32505:19;32527:38;32540:4;:24;;;32527:8;:12;;:38;;;;:::i;:::-;32505:60;;32576:19;32598:74;32656:15;;32598:53;32635:4;:15;;;32598:32;32614:15;;32598:11;:15;;:32;;;;:::i;:::-;:36;:53;:36;:53;:::i;:74::-;32576:96;-1:-1:-1;32709:62:0;32735:35;32761:8;32735:21;32576:96;32751:4;32735:21;:15;:21;:::i;:35::-;32709:21;;;;;:62;:25;:62;:::i;:::-;32685:21;;;:86;-1:-1:-1;;32809:15:0;32782:24;;;;:42;;;;-1:-1:-1;;32043:789:0;;:::o;34755:369::-;23827:1;24433:7;;:19;;24425:63;;;;;-1:-1:-1;;;24425:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23827:1;24566:7;:18;;;;34827:21;34851:8;34860:4;34851:14;;;;;;;;;;;;;;;;34900;;;:8;:14;;;;;;34915:10;34900:26;;;;;;;;34984:11;;34851:14;;;;;;;34937:12;;34851:14;;-1:-1:-1;34937:59:0;;-1:-1:-1;;;;;34937:12:0;;;;;34915:10;34937:59;:25;:59;:::i;:::-;35048:11;;35012:48;;;;;;;35042:4;;35030:10;;35012:48;;;;;;;;;35085:1;35071:15;;;35097;;;;:19;24745:22;;-1:-1:-1;;34755:369:0:o;26764:26::-;;;;:::o;31509:180::-;31571:8;:15;31554:14;31597:85;31625:6;31619:3;:12;31597:85;;;31655:15;31666:3;31655:10;:15::i;:::-;31633:5;;31597:85;;;;31509:180;:::o;29563:304::-;21837:12;:10;:12::i;:::-;21827:6;;-1:-1:-1;;;;;21827:6:0;;;:22;;;21819:67;;;;;-1:-1:-1;;;21819:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29661:11;29657:61;;;29689:17;:15;:17::i;:::-;29746:63;29797:11;29746:46;29766:8;29775:4;29766:14;;;;;;;;;;;;;;;;;;:25;;;29746:15;;:19;;:46;;;;:::i;:::-;:50;:63;:50;:63;:::i;:::-;29728:15;:81;;;;29848:11;29820:8;29829:4;29820:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;29563:304;;;:::o;22257:140::-;21837:12;:10;:12::i;:::-;21827:6;;-1:-1:-1;;;;;21827:6:0;;;:22;;;21819:67;;;;;-1:-1:-1;;;21819:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22356:1;22340:6;;22319:40;;-1:-1:-1;;;;;22340:6:0;;;;22319:40;;22356:1;;22319:40;22387:1;22370:19;;-1:-1:-1;;22370:19:0;;;22257:140::o;26677:19::-;;;-1:-1:-1;;;;;26677:19:0;;:::o;27984:166::-;28068:10;;-1:-1:-1;;;;;28068:10:0;28054;:24;28046:61;;;;;-1:-1:-1;;;28046:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28118:10;:24;;-1:-1:-1;;28118:24:0;-1:-1:-1;;;;;28118:24:0;;;;;;;;;;27984:166::o;21615:79::-;21653:7;21680:6;-1:-1:-1;;;;;21680:6:0;21615:79;:::o;26839:30::-;;;;:::o;26987:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;29929:173::-;30000:7;30044:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;30044:21:0;;;;;;;;;30083:11;29929:173;;;;;:::o;27317:27::-;;;;:::o;28334:279::-;21837:12;:10;:12::i;:::-;21827:6;;-1:-1:-1;;;;;21827:6:0;;;:22;;;21819:67;;;;;-1:-1:-1;;;21819:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28419:12;;28401:15;:30;28393:77;;;;-1:-1:-1;;;28393:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28483:5;;:67;;-1:-1:-1;;;;;28483:5:0;28514:10;28535:4;28542:7;28483:67;:22;:67;:::i;:::-;28589:15;;28577:28;;:7;;:28;:11;:28;:::i;:::-;28561:12;:44;;;;;;;-1:-1:-1;28334:279:0:o;32896:1042::-;23827:1;24433:7;;:19;;24425:63;;;;;-1:-1:-1;;;24425:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23827:1;24566:7;:18;;;;32975:21;32999:8;33008:4;32999:14;;;;;;;;;;;;;;;;33048;;;:8;:14;;;;;;33063:10;33048:26;;;;;;;32999:14;;;;;;;;-1:-1:-1;33085:16:0;33057:4;33085:10;:16::i;:::-;33116:11;;:15;33112:196;;33148:21;33172:69;33225:4;:15;;;33172:48;33215:4;33172:38;33188:4;:21;;;33172:4;:11;;;:15;;:38;;;;:::i;:69::-;33148:93;;33256:40;33270:10;33282:13;33256;:40::i;:::-;33112:196;;33332:11;;33328:476;;33360:12;;:74;;-1:-1:-1;;;;;33360:12:0;33398:10;33419:4;33426:7;33360:74;:29;:74;:::i;:::-;33453:17;;;;;;:21;33449:344;;33528:17;;;;33495:18;;33516:41;;33551:5;;33516:30;;:7;;33528:17;;33516:30;:11;:30;:::i;:41::-;33602:10;;33576:12;;33495:62;;-1:-1:-1;33576:49:0;;-1:-1:-1;;;;;33576:12:0;;;;33602:10;33495:62;33576:49;:25;:49;:::i;:::-;33658:11;;:40;;33687:10;;33658:24;;33674:7;33658:24;:15;:24;:::i;:40::-;33644:54;;-1:-1:-1;33449:344:0;;;33753:11;;:24;;33769:7;33753:24;:15;:24;:::i;:::-;33739:38;;33449:344;33848:21;;;;33832:11;;:48;;33875:4;;33832:38;;;:15;:38;:::i;:48::-;33814:15;;;:66;33896:34;;;;;;;;33916:4;;33904:10;;33896:34;;;;;;;;;-1:-1:-1;;23783:1:0;24745:22;;-1:-1:-1;;32896:1042:0:o;30166:864::-;30235:7;30255:21;30279:8;30288:4;30279:14;;;;;;;;;;;;;;;;30328;;;:8;:14;;;;;;-1:-1:-1;;;;;30328:21:0;;;;;;;;;;;30279:14;;;;;;;;30387:21;;;;30438:12;;:37;;;;;30469:4;30438:37;;;;;;30279:14;;-1:-1:-1;30328:21:0;;30387;;30279:14;;30438:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;30438:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30438:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30438:37:0;30510:24;;;;30438:37;;-1:-1:-1;30492:15:0;:42;:59;;;;-1:-1:-1;30538:13:0;;;30492:59;30488:451;;;30568:16;30605:12;;30587:15;:30;:63;;30638:12;;30587:63;;;30620:15;30587:63;30568:82;;30665:19;30687:38;30700:4;:24;;;30687:8;:12;;:38;;;;:::i;:::-;30665:60;;30740:19;30762:74;30820:15;;30762:53;30799:4;:15;;;30762:32;30778:15;;30762:11;:15;;:32;;;;:::i;:74::-;30740:96;-1:-1:-1;30870:57:0;30891:35;30917:8;30891:21;30740:96;30907:4;30891:21;:15;:21;:::i;:35::-;30870:16;;:57;:20;:57;:::i;:::-;30851:76;;30488:451;;;;30958:64;31006:4;:15;;;30958:43;30996:4;30958:33;30974:16;30958:4;:11;;;:15;;:33;;;;:::i;:64::-;30951:71;30166:864;-1:-1:-1;;;;;;;30166:864:0:o;27237:29::-;;;;:::o;22552:236::-;21837:12;:10;:12::i;:::-;21827:6;;-1:-1:-1;;;;;21827:6:0;;;:22;;;21819:67;;;;;-1:-1:-1;;;21819:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22633:22:0;;22625:73;;;;-1:-1:-1;;;22625:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22735:6;;;22714:38;;-1:-1:-1;;;;;22714:38:0;;;;22735:6;;;22714:38;;;22763:6;:17;;-1:-1:-1;;22763:17:0;-1:-1:-1;;;;;22763:17:0;;;;;;;;;;22552:236::o;31697:270::-;21837:12;:10;:12::i;:::-;21827:6;;-1:-1:-1;;;;;21827:6:0;;;:22;;;21819:67;;;;;-1:-1:-1;;;21819:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31816:3;31801:13;:18;;;;31793:73;;;;-1:-1:-1;;;31793:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31877:21;31901:8;31910:4;31901:14;;;;;;;;;;;;;;;;;;;;;31926:17;;:33;;-1:-1:-1;;31926:33:0;;;;;;;;;;;;;-1:-1:-1;;31697:270:0:o;5243:471::-;5301:7;5546:6;5542:47;;-1:-1:-1;5576:1:0;5569:8;;5542:47;5613:5;;;5617:1;5613;:5;:1;5637:5;;;;;:10;5629:56;;;;-1:-1:-1;;;5629:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5705:1;5243:471;-1:-1:-1;;;5243:471:0:o;4327:136::-;4385:7;4412:43;4416:1;4419;4412:43;;;;;;;;;;;;;;;;;:3;:43::i;6182:132::-;6240:7;6267:39;6271:1;6274;6267:39;;;;;;;;;;;;;;;;;:3;:39::i;35207:138::-;35280:5;;:28;;;;;;-1:-1:-1;;;;;35280:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;5:2:-1;;;;30:1;27;20:12;5:2;35280:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35280:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;35319:7:0;:18;;;;;;;-1:-1:-1;35207:138:0:o;12216:176::-;12325:58;;;-1:-1:-1;;;;;12325:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12325:58:0;;;;;;;;25:18:-1;;61:17;;12325:58:0;182:15:-1;12348:23:0;179:29:-1;160:49;;12299:85:0;;12318:5;;12299:18;:85::i;:::-;12216:176;;;:::o;20171:98::-;20251:10;20171:98;:::o;3871:181::-;3929:7;3961:5;;;3985:6;;;;3977:46;;;;;-1:-1:-1;;;3977:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;12400:204;12527:68;;;-1:-1:-1;;;;;12527:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12527:68:0;;;;;;;;25:18:-1;;61:17;;12527:68:0;182:15:-1;12550:27:0;179:29:-1;160:49;;12501:95:0;;12520:5;;12501:18;:95::i;:::-;12400:204;;;;:::o;4800:192::-;4886:7;4922:12;4914:6;;;;4906:29;;;;-1:-1:-1;;;4906:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4906:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4958:5:0;;;4800:192::o;6844:345::-;6930:7;7032:12;7025:5;7017:28;;;;-1:-1:-1;;;7017:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;7017:28:0;;7056:9;7072:1;7068;:5;;;;;;;6844:345;-1:-1:-1;;;;;6844:345:0:o;14255:1114::-;14859:27;14867:5;-1:-1:-1;;;;;14859:25:0;;:27::i;:::-;14851:71;;;;;-1:-1:-1;;;14851:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14996:12;15010:23;15045:5;-1:-1:-1;;;;;15037:19:0;15057:4;15037:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;15037: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;;14995:67:0;;;;15081:7;15073:52;;;;;-1:-1:-1;;;15073:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15142:17;;:21;15138:224;;15284:10;15273:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15273:30:0;15265:85;;;;-1:-1:-1;;;15265:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9239:619;9299:4;9767:20;;9610:66;9807:23;;;;;;:42;;-1:-1:-1;9834:15:0;;;9807:42;9799:51;9239:619;-1:-1:-1;;;;9239:619:0:o

Swarm Source

bzzr://606c160dc351e1326181ec20d8337d992359e11f50fecddd086d4f764a872685

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.