FTM Price: $1.01 (+1.25%)
Gas: 127 GWei

Contract

0x094cF2089162B5Cb5b51f7703A4530a8f8c1745A
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Deposit709609842023-11-21 11:43:44128 days ago1700567024IN
0x094cF208...8f8c1745A
0 FTM0.0161476133.21459862
Withdraw646316262023-06-25 5:26:55277 days ago1687670815IN
0x094cF208...8f8c1745A
0 FTM0.0054286962.90632865
Withdraw628911312023-05-23 3:44:54310 days ago1684813494IN
0x094cF208...8f8c1745A
0 FTM0.100466691,164.3588
Withdraw628579832023-05-22 14:58:40311 days ago1684767520IN
0x094cF208...8f8c1745A
0 FTM0.0040797547.28228208
Withdraw628578762023-05-22 14:55:05311 days ago1684767305IN
0x094cF208...8f8c1745A
0 FTM0.0041196947.73805158
Withdraw628170182023-05-21 19:00:32312 days ago1684695632IN
0x094cF208...8f8c1745A
0 FTM0.00873236107.171939
Withdraw618874872023-05-10 0:20:26323 days ago1683678026IN
0x094cF208...8f8c1745A
0 FTM0.01630866133.45006936
Withdraw609131492023-04-27 13:33:48336 days ago1682602428IN
0x094cF208...8f8c1745A
0 FTM0.03887514318.1064027
Emergency Withdr...605777872023-04-23 1:42:24340 days ago1682214144IN
0x094cF208...8f8c1745A
0 FTM0.0081328168.22425726
Withdraw601745732023-04-17 21:42:17346 days ago1681767737IN
0x094cF208...8f8c1745A
0 FTM0.01077981103.40049999
Withdraw599526912023-04-15 2:44:06348 days ago1681526646IN
0x094cF208...8f8c1745A
0 FTM0.00863843100.11511264
Withdraw595868572023-04-10 21:40:26353 days ago1681162826IN
0x094cF208...8f8c1745A
0 FTM0.0057967155.60234256
Withdraw595512132023-04-10 10:55:17353 days ago1681124117IN
0x094cF208...8f8c1745A
0 FTM0.0050727941.5094948
Withdraw590749082023-04-04 17:43:34359 days ago1680630214IN
0x094cF208...8f8c1745A
0 FTM0.0036770135.2745263
Withdraw590455492023-04-04 8:46:56359 days ago1680598016IN
0x094cF208...8f8c1745A
0 FTM0.0033937534.41807628
Withdraw586727202023-03-29 23:39:24364 days ago1680133164IN
0x094cF208...8f8c1745A
0 FTM0.03729375432.34127665
Withdraw581981392023-03-23 11:15:33371 days ago1679570133IN
0x094cF208...8f8c1745A
0 FTM0.0038633431.61936691
Withdraw580522342023-03-21 12:00:33373 days ago1679400033IN
0x094cF208...8f8c1745A
0 FTM0.0032063437.15428119
Withdraw578002562023-03-17 21:19:33377 days ago1679087973IN
0x094cF208...8f8c1745A
0 FTM0.00871769101.0184725
Withdraw575750582023-03-14 15:57:47380 days ago1678809467IN
0x094cF208...8f8c1745A
0 FTM0.02362582273.77027468
Withdraw575722712023-03-14 15:11:27380 days ago1678806687IN
0x094cF208...8f8c1745A
0 FTM0.03976502381.4757243
Withdraw575314262023-03-13 20:17:25381 days ago1678738645IN
0x094cF208...8f8c1745A
0 FTM0.0108505133.12852226
Withdraw575083072023-03-13 11:43:57381 days ago1678707837IN
0x094cF208...8f8c1745A
0 FTM0.00877146101.65687544
Withdraw575061262023-03-13 10:41:36381 days ago1678704096IN
0x094cF208...8f8c1745A
0 FTM0.00949278110
Withdraw574666542023-03-12 20:55:31382 days ago1678654531IN
0x094cF208...8f8c1745A
0 FTM0.01553612149.02328289
View all transactions

Latest 1 internal transaction

Parent Txn Hash Block From To Value
492444542022-10-15 17:52:57530 days ago1665856377  Contract Creation0 FTM
Loading...
Loading

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

Contract Name:
SmartChefInitializable

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2021-11-23
*/

/**
 *Submitted for verification at BscScan.com on 2021-10-23
*/

/**
 *Submitted for verification at BscScan.com on 2021-09-28
*/

/**
 *Submitted for verification at BscScan.com on 2021-05-05
*/

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual 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/access/Ownable.sol

pragma solidity >=0.6.0 <0.8.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.
 *
 * 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.
 */
abstract 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 virtual 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 virtual 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 virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: bsc-library/contracts/IBEP20.sol

pragma solidity >=0.4.0;

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

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

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

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

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

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

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

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

pragma solidity >=0.6.0 <0.8.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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

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

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

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract 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;
    }
}

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

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: bsc-library/contracts/SafeBEP20.sol

pragma solidity ^0.6.0;

/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

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

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

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IBEP20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeBEP20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed");
        }
    }
}

// File: contracts/SmartChefInitializable.sol

pragma solidity 0.6.12;

contract SmartChefInitializable is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // The address of the smart chef factory
    address public SMART_CHEF_FACTORY;

    // Whether a limit is set for users
    bool public hasUserLimit;

    // Whether it is initialized
    bool public isInitialized;

    // Accrued token per share
    uint256 public accTokenPerShare;

    // The block number when CAKE mining ends.
    uint256 public bonusEndBlock;

    // The block number when CAKE mining starts.
    uint256 public startBlock;

    // The block number of the last pool update
    uint256 public lastRewardBlock;

    // The pool limit (0 if none)
    uint256 public poolLimitPerUser;

    // CAKE tokens created per block.
    uint256 public rewardPerBlock;

    // The precision factor
    uint256 public PRECISION_FACTOR;

    // The reward token
    IBEP20 public rewardToken;

    // The staked token
    IBEP20 public stakedToken;

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

    struct UserInfo {
        uint256 amount; // How many staked tokens the user has provided
        uint256 rewardDebt; // Reward debt
    }

    event AdminTokenRecovery(address tokenRecovered, uint256 amount);
    event Deposit(address indexed user, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 amount);
    event NewStartAndEndBlocks(uint256 startBlock, uint256 endBlock);
    event NewRewardPerBlock(uint256 rewardPerBlock);
    event NewPoolLimit(uint256 poolLimitPerUser);
    event RewardsStop(uint256 blockNumber);
    event Withdraw(address indexed user, uint256 amount);

    constructor() public {
        SMART_CHEF_FACTORY = msg.sender;
    }

    /*
     * @notice Initialize the contract
     * @param _stakedToken: staked token address
     * @param _rewardToken: reward token address
     * @param _rewardPerBlock: reward per block (in rewardToken)
     * @param _startBlock: start block
     * @param _bonusEndBlock: end block
     * @param _poolLimitPerUser: pool limit per user in stakedToken (if any, else 0)
     * @param _admin: admin address with ownership
     */
    function initialize(
        IBEP20 _stakedToken,
        IBEP20 _rewardToken,
        uint256 _rewardPerBlock,
        uint256 _startBlock,
        uint256 _bonusEndBlock,
        uint256 _poolLimitPerUser,
        address _admin
    ) external {
        require(!isInitialized, "Already initialized");
        require(msg.sender == SMART_CHEF_FACTORY, "Not factory");

        // Make this contract initialized
        isInitialized = true;

        stakedToken = _stakedToken;
        rewardToken = _rewardToken;
        rewardPerBlock = _rewardPerBlock;
        startBlock = _startBlock;
        bonusEndBlock = _bonusEndBlock;

        if (_poolLimitPerUser > 0) {
            hasUserLimit = true;
            poolLimitPerUser = _poolLimitPerUser;
        }

        uint256 decimalsRewardToken = uint256(rewardToken.decimals());
        require(decimalsRewardToken < 30, "Must be inferior to 30");

        PRECISION_FACTOR = uint256(10**(uint256(30).sub(decimalsRewardToken)));

        // Set the lastRewardBlock as the startBlock
        lastRewardBlock = startBlock;

        // Transfer ownership to the admin address who becomes owner of the contract
        transferOwnership(_admin);
    }

    /*
     * @notice Deposit staked tokens and collect reward tokens (if any)
     * @param _amount: amount to withdraw (in rewardToken)
     */
    function deposit(uint256 _amount) external nonReentrant {
        UserInfo storage user = userInfo[msg.sender];

        if (hasUserLimit) {
            require(_amount.add(user.amount) <= poolLimitPerUser, "User amount above limit");
        }

        _updatePool();

        if (user.amount > 0) {
            uint256 pending = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt);
            if (pending > 0) {
                rewardToken.safeTransfer(address(msg.sender), pending);
            }
        }

        if (_amount > 0) {
            user.amount = user.amount.add(_amount);
            stakedToken.safeTransferFrom(address(msg.sender), address(this), _amount);
        }

        user.rewardDebt = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR);

        emit Deposit(msg.sender, _amount);
    }

    /*
     * @notice Withdraw staked tokens and collect reward tokens
     * @param _amount: amount to withdraw (in rewardToken)
     */
    function withdraw(uint256 _amount) external nonReentrant {
        UserInfo storage user = userInfo[msg.sender];
        require(user.amount >= _amount, "Amount to withdraw too high");

        _updatePool();

        uint256 pending = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt);

        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            stakedToken.safeTransfer(address(msg.sender), _amount);
        }

        if (pending > 0) {
            rewardToken.safeTransfer(address(msg.sender), pending);
        }

        user.rewardDebt = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR);

        emit Withdraw(msg.sender, _amount);
    }

    /*
     * @notice Withdraw staked tokens without caring about rewards rewards
     * @dev Needs to be for emergency.
     */
    function emergencyWithdraw() external nonReentrant {
        UserInfo storage user = userInfo[msg.sender];
        uint256 amountToTransfer = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;

        if (amountToTransfer > 0) {
            stakedToken.safeTransfer(address(msg.sender), amountToTransfer);
        }

        emit EmergencyWithdraw(msg.sender, user.amount);
    }

    /*
     * @notice Stop rewards
     * @dev Only callable by owner. Needs to be for emergency.
     */
    function emergencyRewardWithdraw(uint256 _amount) external onlyOwner {
        rewardToken.safeTransfer(address(msg.sender), _amount);
    }

    /**
     * @notice It allows the admin to recover wrong tokens sent to the contract
     * @param _tokenAddress: the address of the token to withdraw
     * @param _tokenAmount: the number of tokens to withdraw
     * @dev This function is only callable by admin.
     */
    function recoverWrongTokens(address _tokenAddress, uint256 _tokenAmount) external onlyOwner {
        require(_tokenAddress != address(stakedToken), "Cannot be staked token");
        require(_tokenAddress != address(rewardToken), "Cannot be reward token");

        IBEP20(_tokenAddress).safeTransfer(address(msg.sender), _tokenAmount);

        emit AdminTokenRecovery(_tokenAddress, _tokenAmount);
    }

    /*
     * @notice Stop rewards
     * @dev Only callable by owner
     */
    function stopReward() external onlyOwner {
        bonusEndBlock = block.number;
    }

    /*
     * @notice Update pool limit per user
     * @dev Only callable by owner.
     * @param _hasUserLimit: whether the limit remains forced
     * @param _poolLimitPerUser: new pool limit per user
     */
    function updatePoolLimitPerUser(bool _hasUserLimit, uint256 _poolLimitPerUser) external onlyOwner {
        require(hasUserLimit, "Must be set");
        if (_hasUserLimit) {
            require(_poolLimitPerUser > poolLimitPerUser, "New limit must be higher");
            poolLimitPerUser = _poolLimitPerUser;
        } else {
            hasUserLimit = _hasUserLimit;
            poolLimitPerUser = 0;
        }
        emit NewPoolLimit(poolLimitPerUser);
    }

    /*
     * @notice Update reward per block
     * @dev Only callable by owner.
     * @param _rewardPerBlock: the reward per block
     */
    function updateRewardPerBlock(uint256 _rewardPerBlock) external onlyOwner {
        require(block.number < startBlock, "Pool has started");
        rewardPerBlock = _rewardPerBlock;
        emit NewRewardPerBlock(_rewardPerBlock);
    }

    /**
     * @notice It allows the admin to update start and end blocks
     * @dev This function is only callable by owner.
     * @param _startBlock: the new start block
     * @param _bonusEndBlock: the new end block
     */
    function updateStartAndEndBlocks(uint256 _startBlock, uint256 _bonusEndBlock) external onlyOwner {
        require(block.number < startBlock, "Pool has started");
        require(_startBlock < _bonusEndBlock, "New startBlock must be lower than new endBlock");
        require(block.number < _startBlock, "New startBlock must be higher than current block");

        startBlock = _startBlock;
        bonusEndBlock = _bonusEndBlock;

        // Set the lastRewardBlock as the startBlock
        lastRewardBlock = startBlock;

        emit NewStartAndEndBlocks(_startBlock, _bonusEndBlock);
    }

    /*
     * @notice View function to see pending reward on frontend.
     * @param _user: user address
     * @return Pending reward for a given user
     */
    function pendingReward(address _user) external view returns (uint256) {
        UserInfo storage user = userInfo[_user];
        uint256 stakedTokenSupply = stakedToken.balanceOf(address(this));
        if (block.number > lastRewardBlock && stakedTokenSupply != 0) {
            uint256 multiplier = _getMultiplier(lastRewardBlock, block.number);
            uint256 cakeReward = multiplier.mul(rewardPerBlock);
            uint256 adjustedTokenPerShare =
                accTokenPerShare.add(cakeReward.mul(PRECISION_FACTOR).div(stakedTokenSupply));
            return user.amount.mul(adjustedTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt);
        } else {
            return user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt);
        }
    }

    /*
     * @notice Update reward variables of the given pool to be up-to-date.
     */
    function _updatePool() internal {
        if (block.number <= lastRewardBlock) {
            return;
        }

        uint256 stakedTokenSupply = stakedToken.balanceOf(address(this));

        if (stakedTokenSupply == 0) {
            lastRewardBlock = block.number;
            return;
        }

        uint256 multiplier = _getMultiplier(lastRewardBlock, block.number);
        uint256 cakeReward = multiplier.mul(rewardPerBlock);
        accTokenPerShare = accTokenPerShare.add(cakeReward.mul(PRECISION_FACTOR).div(stakedTokenSupply));
        lastRewardBlock = block.number;
    }

    /*
     * @notice Return reward multiplier over the given _from to _to block.
     * @param _from: block to start
     * @param _to: block to finish
     */
    function _getMultiplier(uint256 _from, uint256 _to) internal view returns (uint256) {
        if (_to <= bonusEndBlock) {
            return _to.sub(_from);
        } else if (_from >= bonusEndBlock) {
            return 0;
        } else {
            return bonusEndBlock.sub(_from);
        }
    }
}

// File: contracts/SmartChefFactory.sol

pragma solidity 0.6.12;

contract SmartChefFactory is Ownable {
    event NewSmartChefContract(address indexed smartChef);

    constructor() public {
        //
    }

    /*
     * @notice Deploy the pool
     * @param _stakedToken: staked token address
     * @param _rewardToken: reward token address
     * @param _rewardPerBlock: reward per block (in rewardToken)
     * @param _startBlock: start block
     * @param _endBlock: end block
     * @param _poolLimitPerUser: pool limit per user in stakedToken (if any, else 0)
     * @param _admin: admin address with ownership
     * @return address of new smart chef contract
     */
    function deployPool(
        IBEP20 _stakedToken,
        IBEP20 _rewardToken,
        uint256 _rewardPerBlock,
        uint256 _startBlock,
        uint256 _bonusEndBlock,
        uint256 _poolLimitPerUser,
        address _admin
    ) external onlyOwner {
        require(_stakedToken.totalSupply() >= 0);
        require(_rewardToken.totalSupply() >= 0);
        require(_stakedToken != _rewardToken, "Tokens must be be different");

        bytes memory bytecode = type(SmartChefInitializable).creationCode;
        bytes32 salt = keccak256(abi.encodePacked(_stakedToken, _rewardToken, _startBlock));
        address smartChefAddress;

        assembly {
            smartChefAddress := create2(0, add(bytecode, 32), mload(bytecode), salt)
        }

        SmartChefInitializable(smartChefAddress).initialize(
            _stakedToken,
            _rewardToken,
            _rewardPerBlock,
            _startBlock,
            _bonusEndBlock,
            _poolLimitPerUser,
            _admin
        );

        emit NewSmartChefContract(smartChefAddress);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenRecovered","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AdminTokenRecovery","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"poolLimitPerUser","type":"uint256"}],"name":"NewPoolLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardPerBlock","type":"uint256"}],"name":"NewRewardPerBlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endBlock","type":"uint256"}],"name":"NewStartAndEndBlocks","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":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"RewardsStop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"PRECISION_FACTOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SMART_CHEF_FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accTokenPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyRewardWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hasUserLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"_stakedToken","type":"address"},{"internalType":"contract IBEP20","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"},{"internalType":"uint256","name":"_poolLimitPerUser","type":"uint256"},{"internalType":"address","name":"_admin","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRewardBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLimitPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"recoverWrongTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakedToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_hasUserLimit","type":"bool"},{"internalType":"uint256","name":"_poolLimitPerUser","type":"uint256"}],"name":"updatePoolLimitPerUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"}],"name":"updateRewardPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"name":"updateStartAndEndBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80638da5cb5b116100f9578063bd61719111610097578063db2e21bc11610071578063db2e21bc146105f3578063f2fde38b146105fd578063f40f0f5214610641578063f7c618c114610699576101a9565b8063bd6171911461056d578063cc7a262e146105a1578063ccd34cd5146105d5576101a9565b80639513997f116100d35780639513997f146104af578063a0b40905146104e7578063a9f8d18114610521578063b6b55f251461053f576101a9565b80638da5cb5b1461043d5780638f6629151461047157806392e8990e1461048f576101a9565b80633f138d4b11610166578063715018a611610140578063715018a61461035f57806380dc06721461036957806383a5041c146103735780638ae39cac1461041f576101a9565b80633f138d4b146102d557806348cd4cb11461032357806366fe9f8a14610341576101a9565b806301f8a976146101ae5780631959a002146101dc5780631aed65531461023b5780632e1a7d4d146102595780633279beab14610287578063392e53cd146102b5575b600080fd5b6101da600480360360208110156101c457600080fd5b81019080803590602001909291905050506106cd565b005b61021e600480360360208110156101f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610834565b604051808381526020018281526020019250505060405180910390f35b610243610858565b6040518082815260200191505060405180910390f35b6102856004803603602081101561026f57600080fd5b810190808035906020019092919050505061085e565b005b6102b36004803603602081101561029d57600080fd5b8101908080359060200190929190505050610b47565b005b6102bd610c46565b60405180821515815260200191505060405180910390f35b610321600480360360408110156102eb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c59565b005b61032b610f14565b6040518082815260200191505060405180910390f35b610349610f1a565b6040518082815260200191505060405180910390f35b610367610f20565b005b61037161108d565b005b61041d600480360360e081101561038957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611145565b005b6104276114c2565b6040518082815260200191505060405180910390f35b6104456114c8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104796114f1565b6040518082815260200191505060405180910390f35b6104976114f7565b60405180821515815260200191505060405180910390f35b6104e5600480360360408110156104c557600080fd5b81019080803590602001909291908035906020019092919050505061150a565b005b61051f600480360360408110156104fd57600080fd5b810190808035151590602001909291908035906020019092919050505061173a565b005b610529611954565b6040518082815260200191505060405180910390f35b61056b6004803603602081101561055557600080fd5b810190808035906020019092919050505061195a565b005b610575611c7d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105a9611ca3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105dd611cc9565b6040518082815260200191505060405180910390f35b6105fb611ccf565b005b61063f6004803603602081101561061357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e64565b005b6106836004803603602081101561065757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612056565b6040518082815260200191505060405180910390f35b6106a161227b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106d56122a1565b73ffffffffffffffffffffffffffffffffffffffff166106f36114c8565b73ffffffffffffffffffffffffffffffffffffffff161461077c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60055443106107f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f506f6f6c2068617320737461727465640000000000000000000000000000000081525060200191505060405180910390fd5b806008819055507f0c4d677eef92893ac7ec52faf8140fc6c851ab4736302b4f3a89dfb20696a0df816040518082815260200191505060405180910390a150565b600c6020528060005260406000206000915090508060000154908060010154905082565b60045481565b600260015414156108d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050818160000154101561099c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f416d6f756e7420746f20776974686472617720746f6f2068696768000000000081525060200191505060405180910390fd5b6109a46122a9565b60006109e982600101546109db6009546109cd600354876000015461240c90919063ffffffff16565b61249290919063ffffffff16565b61251b90919063ffffffff16565b90506000831115610a6157610a0b83836000015461251b90919063ffffffff16565b8260000181905550610a603384600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b5b6000811115610ab857610ab73382600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b5b610ae5600954610ad7600354856000015461240c90919063ffffffff16565b61249290919063ffffffff16565b82600101819055503373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364846040518082815260200191505060405180910390a250506001808190555050565b610b4f6122a1565b73ffffffffffffffffffffffffffffffffffffffff16610b6d6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614610bf6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610c433382600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b50565b600260159054906101000a900460ff1681565b610c616122a1565b73ffffffffffffffffffffffffffffffffffffffff16610c7f6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614610d08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dcc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e6e6f74206265207374616b656420746f6b656e0000000000000000000081525060200191505060405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e90576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e6e6f742062652072657761726420746f6b656e0000000000000000000081525060200191505060405180910390fd5b610ebb33828473ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b7f74545154aac348a3eac92596bd1971957ca94795f4e954ec5f613b55fab781298282604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b60055481565b60075481565b610f286122a1565b73ffffffffffffffffffffffffffffffffffffffff16610f466114c8565b73ffffffffffffffffffffffffffffffffffffffff1614610fcf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6110956122a1565b73ffffffffffffffffffffffffffffffffffffffff166110b36114c8565b73ffffffffffffffffffffffffffffffffffffffff161461113c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b43600481905550565b600260159054906101000a900460ff16156111c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f416c726561647920696e697469616c697a65640000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461128b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e6f7420666163746f727900000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001600260156101000a81548160ff02191690831515021790555086600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460088190555083600581905550826004819055506000821115611369576001600260146101000a81548160ff021916908315150217905550816007819055505b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156113d357600080fd5b505afa1580156113e7573d6000803e3d6000fd5b505050506040513d60208110156113fd57600080fd5b810190808051906020019092919050505060ff169050601e8110611489576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4d75737420626520696e666572696f7220746f2033300000000000000000000081525060200191505060405180910390fd5b61149d81601e61251b90919063ffffffff16565b600a0a6009819055506005546006819055506114b882611e64565b5050505050505050565b60085481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60035481565b600260149054906101000a900460ff1681565b6115126122a1565b73ffffffffffffffffffffffffffffffffffffffff166115306114c8565b73ffffffffffffffffffffffffffffffffffffffff16146115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6005544310611630576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f506f6f6c2068617320737461727465640000000000000000000000000000000081525060200191505060405180910390fd5b808210611688576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612bbe602e913960400191505060405180910390fd5b8143106116e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180612c126030913960400191505060405180910390fd5b81600581905550806004819055506005546006819055507f7cd0ab87d19036f3dfadadb232c78aa4879dda3f0c994a9d637532410ee2ce068282604051808381526020018281526020019250505060405180910390a15050565b6117426122a1565b73ffffffffffffffffffffffffffffffffffffffff166117606114c8565b73ffffffffffffffffffffffffffffffffffffffff16146117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600260149054906101000a900460ff1661186b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4d7573742062652073657400000000000000000000000000000000000000000081525060200191505060405180910390fd5b81156118f45760075481116118e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4e6577206c696d6974206d75737420626520686967686572000000000000000081525060200191505060405180910390fd5b80600781905550611917565b81600260146101000a81548160ff02191690831515021790555060006007819055505b7f241f67ee5f41b7a5cabf911367329be7215900f602ebfc47f89dce2a6bcd847c6007546040518082815260200191505060405180910390a15050565b60065481565b600260015414156119d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600260149054906101000a900460ff1615611ac257600754611a4d82600001548461264090919063ffffffff16565b1115611ac1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5573657220616d6f756e742061626f7665206c696d697400000000000000000081525060200191505060405180910390fd5b5b611aca6122a9565b600081600001541115611b77576000611b1c8260010154611b0e600954611b00600354876000015461240c90919063ffffffff16565b61249290919063ffffffff16565b61251b90919063ffffffff16565b90506000811115611b7557611b743382600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b5b505b6000821115611bef57611b9782826000015461264090919063ffffffff16565b8160000181905550611bee333084600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126c8909392919063ffffffff16565b5b611c1c600954611c0e600354846000015461240c90919063ffffffff16565b61249290919063ffffffff16565b81600101819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040518082815260200191505060405180910390a2506001808190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b60026001541415611d48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260000181905550600082600101819055506000811115611e0757611e063382600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259e9092919063ffffffff16565b5b3373ffffffffffffffffffffffffffffffffffffffff167f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd969583600001546040518082815260200191505060405180910390a2505060018081905550565b611e6c6122a1565b73ffffffffffffffffffffffffffffffffffffffff16611e8a6114c8565b73ffffffffffffffffffffffffffffffffffffffff1614611f13576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612b986026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561212557600080fd5b505afa158015612139573d6000803e3d6000fd5b505050506040513d602081101561214f57600080fd5b8101908080519060200190929190505050905060065443118015612174575060008114155b1561222e57600061218760065443612789565b905060006121a06008548361240c90919063ffffffff16565b905060006121df6121ce856121c06009548661240c90919063ffffffff16565b61249290919063ffffffff16565b60035461264090919063ffffffff16565b90506122228560010154612214600954612206858a6000015461240c90919063ffffffff16565b61249290919063ffffffff16565b61251b90919063ffffffff16565b95505050505050612276565b6122718260010154612263600954612255600354876000015461240c90919063ffffffff16565b61249290919063ffffffff16565b61251b90919063ffffffff16565b925050505b919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60065443116122b75761240a565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561234257600080fd5b505afa158015612356573d6000803e3d6000fd5b505050506040513d602081101561236c57600080fd5b81019080805190602001909291905050509050600081141561239557436006819055505061240a565b60006123a360065443612789565b905060006123bc6008548361240c90919063ffffffff16565b90506123f96123e8846123da6009548561240c90919063ffffffff16565b61249290919063ffffffff16565b60035461264090919063ffffffff16565b600381905550436006819055505050505b565b60008083141561241f576000905061248c565b600082840290508284828161243057fe5b0414612487576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612c426021913960400191505060405180910390fd5b809150505b92915050565b6000808211612509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161251257fe5b04905092915050565b600082821115612593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b61263b8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127de565b505050565b6000808284019050838110156126be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b612783846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127de565b50505050565b600060045482116127ae576127a7838361251b90919063ffffffff16565b90506127d8565b60045483106127c057600090506127d8565b6127d58360045461251b90919063ffffffff16565b90505b92915050565b6060612840826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166128cd9092919063ffffffff16565b90506000815111156128c85780806020019051602081101561286157600080fd5b81019080805190602001909291905050506128c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612b6e602a913960400191505060405180910390fd5b5b505050565b60606128dc84846000856128e5565b90509392505050565b606082471015612940576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612bec6026913960400191505060405180910390fd5b61294985612a8e565b6129bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612a0b57805182526020820191506020810190506020830392506129e8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a6d576040519150601f19603f3d011682016040523d82523d6000602084013e612a72565b606091505b5091509150612a82828286612aa1565b92505050949350505050565b600080823b905060008111915050919050565b60608315612ab157829050612b66565b600083511115612ac45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b2b578082015181840152602081019050612b10565b50505050905090810190601f168015612b585780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734e6577207374617274426c6f636b206d757374206265206c6f776572207468616e206e657720656e64426c6f636b416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4e6577207374617274426c6f636b206d75737420626520686967686572207468616e2063757272656e7420626c6f636b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212201f3515fec57158642b9d8f2c13a619d4a85e8182c02894d2aae04ab35a1db94464736f6c634300060c0033

Deployed Bytecode Sourcemap

29293:11236:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37281:240;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30385:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;29778:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34004:732;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35402:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29624:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;35834:413;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29865:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30022:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2988:148;;;:::i;:::-;;36337:88;;;:::i;:::-;;31587:1239;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30101:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2337:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29690:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29557:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37765:606;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36651:475;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29948:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32984:870;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29474:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30292:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30168:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34877:407;;;:::i;:::-;;3291:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38544:794;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30233:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37281:240;2568:12;:10;:12::i;:::-;2557:23;;:7;:5;:7::i;:::-;:23;;;2549:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37389:10:::1;;37374:12;:25;37366:54;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;37448:15;37431:14;:32;;;;37479:34;37497:15;37479:34;;;;;;;;;;;;;;;;;;37281:240:::0;:::o;30385:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;29778:28::-;;;;:::o;34004:732::-;16074:1;16679:7;;:19;;16671:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16074:1;16812:7;:18;;;;34072:21:::1;34096:8;:20;34105:10;34096:20;;;;;;;;;;;;;;;34072:44;;34150:7;34135:4;:11;;;:22;;34127:62;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;34202:13;:11;:13::i;:::-;34228:15;34246:76;34306:4;:15;;;34246:55;34284:16;;34246:33;34262:16;;34246:4;:11;;;:15;;:33;;;;:::i;:::-;:37;;:55;;;;:::i;:::-;:59;;:76;;;;:::i;:::-;34228:94;;34349:1;34339:7;:11;34335:151;;;34381:24;34397:7;34381:4;:11;;;:15;;:24;;;;:::i;:::-;34367:4;:11;;:38;;;;34420:54;34453:10;34466:7;34420:11;;;;;;;;;;;:24;;;;:54;;;;;:::i;:::-;34335:151;34512:1;34502:7;:11;34498:98;;;34530:54;34563:10;34576:7;34530:11;;;;;;;;;;;:24;;;;:54;;;;;:::i;:::-;34498:98;34626:55;34664:16;;34626:33;34642:16;;34626:4;:11;;;:15;;:33;;;;:::i;:::-;:37;;:55;;;;:::i;:::-;34608:4;:15;;:73;;;;34708:10;34699:29;;;34720:7;34699:29;;;;;;;;;;;;;;;;;;16843:1;;16030::::0;16991:7;:22;;;;34004:732;:::o;35402:142::-;2568:12;:10;:12::i;:::-;2557:23;;:7;:5;:7::i;:::-;:23;;;2549:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35482:54:::1;35515:10;35528:7;35482:11;;;;;;;;;;;:24;;;;:54;;;;;:::i;:::-;35402:142:::0;:::o;29624:25::-;;;;;;;;;;;;;:::o;35834:413::-;2568:12;:10;:12::i;:::-;2557:23;;:7;:5;:7::i;:::-;:23;;;2549:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35970:11:::1;;;;;;;;;;;35945:37;;:13;:37;;;;35937:72;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36053:11;;;;;;;;;;;36028:37;;:13;:37;;;;36020:72;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36105:69;36148:10;36161:12;36112:13;36105:34;;;;:69;;;;;:::i;:::-;36192:47;36211:13;36226:12;36192:47;;;;;;;;;;;;;;;;;;;;;;;;;;35834:413:::0;;:::o;29865:25::-;;;;:::o;30022:31::-;;;;:::o;2988:148::-;2568:12;:10;:12::i;:::-;2557:23;;:7;:5;:7::i;:::-;:23;;;2549:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3095:1:::1;3058:40;;3079:6;::::0;::::1;;;;;;;;3058:40;;;;;;;;;;;;3126:1;3109:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2988:148::o:0;36337:88::-;2568:12;:10;:12::i;:::-;2557:23;;:7;:5;:7::i;:::-;:23;;;2549:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36405:12:::1;36389:13;:28;;;;36337:88::o:0;31587:1239::-;31861:13;;;;;;;;;;;31860:14;31852:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31931:18;;;;;;;;;;;31917:32;;:10;:32;;;31909:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32037:4;32021:13;;:20;;;;;;;;;;;;;;;;;;32068:12;32054:11;;:26;;;;;;;;;;;;;;;;;;32105:12;32091:11;;:26;;;;;;;;;;;;;;;;;;32145:15;32128:14;:32;;;;32184:11;32171:10;:24;;;;32222:14;32206:13;:30;;;;32273:1;32253:17;:21;32249:124;;;32306:4;32291:12;;:19;;;;;;;;;;;;;;;;;;32344:17;32325:16;:36;;;;32249:124;32385:27;32423:11;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32415:31;;32385:61;;32487:2;32465:19;:24;32457:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32561:36;32577:19;32569:2;32561:15;;:36;;;;:::i;:::-;32556:2;:42;32529:16;:70;;;;32684:10;;32666:15;:28;;;;32793:25;32811:6;32793:17;:25::i;:::-;31587:1239;;;;;;;;:::o;30101:29::-;;;;:::o;2337:87::-;2383:7;2410:6;;;;;;;;;;;2403:13;;2337:87;:::o;29690:31::-;;;;:::o;29557:24::-;;;;;;;;;;;;;:::o;37765:606::-;2568:12;:10;:12::i;:::-;2557:23;;:7;:5;:7::i;:::-;:23;;;2549:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37896:10:::1;;37881:12;:25;37873:54;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;37960:14;37946:11;:28;37938:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38059:11;38044:12;:26;38036:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38149:11;38136:10;:24;;;;38187:14;38171:13;:30;;;;38286:10;;38268:15;:28;;;;38314:49;38335:11;38348:14;38314:49;;;;;;;;;;;;;;;;;;;;;;;;37765:606:::0;;:::o;36651:475::-;2568:12;:10;:12::i;:::-;2557:23;;:7;:5;:7::i;:::-;:23;;;2549:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36768:12:::1;;;;;;;;;;;36760:36;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36811:13;36807:266;;;36869:16;;36849:17;:36;36841:73;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36948:17;36929:16;:36;;;;36807:266;;;37013:13;36998:12;;:28;;;;;;;;;;;;;;;;;;37060:1;37041:16;:20;;;;36807:266;37088:30;37101:16;;37088:30;;;;;;;;;;;;;;;;;;36651:475:::0;;:::o;29948:30::-;;;;:::o;32984:870::-;16074:1;16679:7;;:19;;16671:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16074:1;16812:7;:18;;;;33051:21:::1;33075:8;:20;33084:10;33075:20;;;;;;;;;;;;;;;33051:44;;33112:12;;;;;;;;;;;33108:125;;;33177:16;;33149:24;33161:4;:11;;;33149:7;:11;;:24;;;;:::i;:::-;:44;;33141:80;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;33108:125;33245:13;:11;:13::i;:::-;33289:1;33275:4;:11;;;:15;33271:262;;;33307:15;33325:76;33385:4;:15;;;33325:55;33363:16;;33325:33;33341:16;;33325:4;:11;;;:15;;:33;;;;:::i;:::-;:37;;:55;;;;:::i;:::-;:59;;:76;;;;:::i;:::-;33307:94;;33430:1;33420:7;:11;33416:106;;;33452:54;33485:10;33498:7;33452:11;;;;;;;;;;;:24;;;;:54;;;;;:::i;:::-;33416:106;33271:262;;33559:1;33549:7;:11;33545:170;;;33591:24;33607:7;33591:4;:11;;;:15;;:24;;;;:::i;:::-;33577:4;:11;;:38;;;;33630:73;33667:10;33688:4;33695:7;33630:11;;;;;;;;;;;:28;;;;:73;;;;;;:::i;:::-;33545:170;33745:55;33783:16;;33745:33;33761:16;;33745:4;:11;;;:15;;:33;;;;:::i;:::-;:37;;:55;;;;:::i;:::-;33727:4;:15;;:73;;;;33826:10;33818:28;;;33838:7;33818:28;;;;;;;;;;;;;;;;;;16843:1;16030::::0;16991:7;:22;;;;32984:870;:::o;29474:33::-;;;;;;;;;;;;;:::o;30292:25::-;;;;;;;;;;;;;:::o;30168:31::-;;;;:::o;34877:407::-;16074:1;16679:7;;:19;;16671:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16074:1;16812:7;:18;;;;34939:21:::1;34963:8;:20;34972:10;34963:20;;;;;;;;;;;;;;;34939:44;;34994:24;35021:4;:11;;;34994:38;;35057:1;35043:4;:11;;:15;;;;35087:1;35069:4;:15;;:19;;;;35124:1;35105:16;:20;35101:116;;;35142:63;35175:10;35188:16;35142:11;;;;;;;;;;;:24;;;;:63;;;;;:::i;:::-;35101:116;35252:10;35234:42;;;35264:4;:11;;;35234:42;;;;;;;;;;;;;;;;;;16843:1;;16030::::0;16991:7;:22;;;;34877:407::o;3291:244::-;2568:12;:10;:12::i;:::-;2557:23;;:7;:5;:7::i;:::-;:23;;;2549:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3400:1:::1;3380:22;;:8;:22;;;;3372:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3490:8;3461:38;;3482:6;::::0;::::1;;;;;;;;3461:38;;;;;;;;;;;;3519:8;3510:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;3291:244:::0;:::o;38544:794::-;38605:7;38625:21;38649:8;:15;38658:5;38649:15;;;;;;;;;;;;;;;38625:39;;38675:25;38703:11;;;;;;;;;;;:21;;;38733:4;38703:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38675:64;;38769:15;;38754:12;:30;:56;;;;;38809:1;38788:17;:22;;38754:56;38750:581;;;38827:18;38848:45;38863:15;;38880:12;38848:14;:45::i;:::-;38827:66;;38908:18;38929:30;38944:14;;38929:10;:14;;:30;;;;:::i;:::-;38908:51;;38974:29;39023:77;39044:55;39081:17;39044:32;39059:16;;39044:10;:14;;:32;;;;:::i;:::-;:36;;:55;;;;:::i;:::-;39023:16;;:20;;:77;;;;:::i;:::-;38974:126;;39122:81;39187:4;:15;;;39122:60;39165:16;;39122:38;39138:21;39122:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:60;;;;:::i;:::-;:64;;:81;;;;:::i;:::-;39115:88;;;;;;;;;38750:581;39243:76;39303:4;:15;;;39243:55;39281:16;;39243:33;39259:16;;39243:4;:11;;;:15;;:33;;;;:::i;:::-;:37;;:55;;;;:::i;:::-;:59;;:76;;;;:::i;:::-;39236:83;;;;38544:794;;;;:::o;30233:25::-;;;;;;;;;;;;;:::o;877:106::-;930:15;965:10;958:17;;877:106;:::o;39439:604::-;39502:15;;39486:12;:31;39482:70;;39534:7;;39482:70;39564:25;39592:11;;;;;;;;;;;:21;;;39622:4;39592:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39564:64;;39666:1;39645:17;:22;39641:106;;;39702:12;39684:15;:30;;;;39729:7;;;39641:106;39759:18;39780:45;39795:15;;39812:12;39780:14;:45::i;:::-;39759:66;;39836:18;39857:30;39872:14;;39857:10;:14;;:30;;;;:::i;:::-;39836:51;;39917:77;39938:55;39975:17;39938:32;39953:16;;39938:10;:14;;:32;;;;:::i;:::-;:36;;:55;;;;:::i;:::-;39917:16;;:20;;:77;;;;:::i;:::-;39898:16;:96;;;;40023:12;40005:15;:30;;;;39439:604;;;;:::o;10436:220::-;10494:7;10523:1;10518;:6;10514:20;;;10533:1;10526:8;;;;10514:20;10545:9;10561:1;10557;:5;10545:17;;10590:1;10585;10581;:5;;;;;;:10;10573:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10647:1;10640:8;;;10436:220;;;;;:::o;11134:153::-;11192:7;11224:1;11220;:5;11212:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11278:1;11274;:5;;;;;;11267:12;;11134:153;;;;:::o;10019:158::-;10077:7;10110:1;10105;:6;;10097:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10168:1;10164;:5;10157:12;;10019:158;;;;:::o;25925:211::-;26042:86;26062:5;26092:23;;;26117:2;26121:5;26069:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26042:19;:86::i;:::-;25925:211;;;:::o;9557:179::-;9615:7;9635:9;9651:1;9647;:5;9635:17;;9676:1;9671;:6;;9663:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9727:1;9720:8;;;9557:179;;;;:::o;26144:248::-;26288:96;26308:5;26338:27;;;26367:4;26373:2;26377:5;26315:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26288:19;:96::i;:::-;26144:248;;;;:::o;40217:309::-;40292:7;40323:13;;40316:3;:20;40312:207;;40360:14;40368:5;40360:3;:7;;:14;;;;:::i;:::-;40353:21;;;;40312:207;40405:13;;40396:5;:22;40392:127;;40442:1;40435:8;;;;40392:127;40483:24;40501:5;40483:13;;:17;;:24;;;;:::i;:::-;40476:31;;40217:309;;;;;:::o;28436:774::-;28860:23;28886:69;28914:4;28886:69;;;;;;;;;;;;;;;;;28894:5;28886:27;;;;:69;;;;;:::i;:::-;28860:95;;28990:1;28970:10;:17;:21;28966:237;;;29125:10;29114:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29106:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28966:237;28436:774;;;:::o;20738:229::-;20875:12;20907:52;20929:6;20937:4;20943:1;20946:12;20907:21;:52::i;:::-;20900:59;;20738:229;;;;;:::o;21858:571::-;22028:12;22086:5;22061:21;:30;;22053:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22153:18;22164:6;22153:10;:18::i;:::-;22145:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22279:12;22293:23;22320:6;:11;;22339:5;22346:4;22320:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22278:73;;;;22369:52;22387:7;22396:10;22408:12;22369:17;:52::i;:::-;22362:59;;;;21858:571;;;;;;:::o;17798:444::-;17858:4;18066:12;18190:7;18178:20;18170:28;;18233:1;18226:4;:8;18219:15;;;17798:444;;;:::o;24507:777::-;24657:12;24686:7;24682:595;;;24717:10;24710:17;;;;24682:595;24851:1;24831:10;:17;:21;24827:439;;;25094:10;25088:17;25155:15;25142:10;25138:2;25134:19;25127:44;25042:148;25237:12;25230:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24507:777;;;;;;:::o

Swarm Source

ipfs://1f3515fec57158642b9d8f2c13a619d4a85e8182c02894d2aae04ab35a1db944

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