Contract 0x5382beF068Cc5b9541335Ddd561cb5A9181fFd9B

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0xe0d08feab6a8040e5ae8d93cc14d6bee80c271cd821e174cafba40dca60707a7Withdraw221128962021-12-04 4:39:33481 days 6 hrs ago0x8bb299854f34fa850f63d8b192de3854b6a960c3 IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0078673530
0xb449948aad0f09c92ffb863c8f1681362d1ce480253656b30e8e6184c305975bWithdraw219831212021-11-30 18:23:38484 days 16 hrs ago ahmedabbas.wallet  IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0093928830.000000001
0xd889d50dad4939d3cd8053e5ffb9bb0275cff47f987cbe73c82dd03b5bbf4af9Deposit218986662021-11-28 12:22:42486 days 22 hrs ago ahmedabbas.wallet  IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.00590013019630.000001
0xc3b91153c7039ca160f756d2cba694f9a11bb606b3bda1fb576dff202a549cebWithdraw218888182021-11-28 6:13:04487 days 4 hrs agoTimeleap Finance: Deployer IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0093928830
0xccd592dd51105d4ea2b91323917f0852964d9ca8ba7757c3215d2ab2fa49a2e6Deposit218482052021-11-27 5:08:46488 days 5 hrs ago0x2875c42ab13c0133d97379325bda27aaad825bb5 IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0064134930
0x8b4f334f695d3b1e5406bcd0e377b971b2d83d60c125384794ca0cb0ad80a1edDeposit218481222021-11-27 5:05:52488 days 5 hrs ago0x2875c42ab13c0133d97379325bda27aaad825bb5 IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0080212530
0x5fa1b2ec7070d95aba232a4baed35767af5fe095a84cbc445e5c21991eabc86fDeposit218334852021-11-26 20:12:41488 days 14 hrs ago ahmedabbas.wallet  IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.00538713000130.00000001
0xe16d4ee59d436c5fb4d95d402633b73512cb7d39578a57215050298bcc9e7ee3Withdraw218333842021-11-26 20:09:11488 days 14 hrs ago ahmedabbas.wallet  IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.00054398522.200000002
0x1329a5d1d90646e0a4866ee27e661561c0d8d7f7af14028e28f6060db9d61aafDeposit218333722021-11-26 20:08:47488 days 14 hrs ago ahmedabbas.wallet  IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0009833569665.00001
0x221a14cff15385f29993e9a787f10bceb6e9e6d9116c69f5bb620d6f9c51686aDeposit217547132021-11-24 18:23:24490 days 16 hrs ago ahmedabbas.wallet  IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0059001330
0xb96c80aaad4cff318bd4ba043823c3a9e5d2c3f3f41db9d30eb6bb42d11c3e85Withdraw217404402021-11-24 9:15:52491 days 1 hr ago0xdb9d71e2236e5c678f432a270e85d41daf0ed46e IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0093932430
0x212e8095af5b95586822c5c889e75ca58e5d6510e37adeebfcbe4948612d0958Deposit217257212021-11-24 0:25:31491 days 10 hrs ago0xdb9d71e2236e5c678f432a270e85d41daf0ed46e IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0059008530
0x59152b828ce63290728e4e2c56580862cc7f7303e9c975cbbd695d5e81ffde8fDeposit217248592021-11-23 23:55:51491 days 10 hrs ago0xdb9d71e2236e5c678f432a270e85d41daf0ed46e IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0059008530
0x4af0af4b9521605a518b1f1cca1cd572ca4037f4af8eb9dd46a908d401858538Deposit217199002021-11-23 20:52:44491 days 13 hrs ago ahmedabbas.wallet  IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0059001330.000000001
0x0c3c1bcaaf7da9980b8b04c526d4bd065e0657437fcc236aed4ee08e0bbf28b0Withdraw217006322021-11-23 8:12:53492 days 2 hrs ago0xdb9d71e2236e5c678f432a270e85d41daf0ed46e IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0093932430
0x7ee398aaf840076fc359c0d230c20709340bd8d7db4e4d3dac7bbfc24fd0434aDeposit216979132021-11-23 6:29:25492 days 4 hrs ago0x18a456132d95c027a55113222233b6128777edb8 IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0064134930
0xe3728020528f888a6e53c08166ea1784da2c2c2d194d0fc71c4a69b748f79a5fWithdraw216979082021-11-23 6:29:15492 days 4 hrs ago0x18a456132d95c027a55113222233b6128777edb8 IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0074173530
0x8b54bab500dfe6fe9eb9044a06a4464de6e92889816734a93935da88d3887337Deposit216919772021-11-23 1:46:22492 days 8 hrs ago0xdb9d71e2236e5c678f432a270e85d41daf0ed46e IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0059004930
0x6b2dfe6d6bd32e83c258e261dc6ad6db79de31dcb5a240e161b81090c488d7afDeposit216766732021-11-22 16:14:14492 days 18 hrs ago ahmedabbas.wallet  IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0059001330
0x1b8de4307d8f2452fa0d4bffea9f91c077a6a3e84f4c7c3b977cd8954f83c7edWithdraw216534312021-11-22 1:56:51493 days 8 hrs ago0xdb9d71e2236e5c678f432a270e85d41daf0ed46e IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0018786966
0x2549594513fb4c68dcae5be8167055126461e486df8934f3d7e0cc2a4955b703Withdraw216513932021-11-22 0:44:35493 days 9 hrs ago0xdb9d71e2236e5c678f432a270e85d41daf0ed46e IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0083668830
0x841186a1d9c1fd6f9b6e70355feba1d43eb3c21f786cbe46a42e6773f9117110Withdraw216513312021-11-22 0:42:27493 days 9 hrs ago0xdb9d71e2236e5c678f432a270e85d41daf0ed46e IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0088780830
0x616727de7f3b8c35369bef0d7576a50828b471bae852203b660ddf02498c490eWithdraw216380952021-11-21 16:25:41493 days 18 hrs ago ahmedabbas.wallet  IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0093928830
0xcad92279a4bc4d7151eaea47e820e1c81730f3ad198cdc005d5eb099bdf183a5Withdraw216331792021-11-21 13:26:11493 days 21 hrs ago0x684037dc618059a28358d88a50ce1f0c33808320 IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.015654850
0x517a3e266cd4b72eb591e8e00273aac5ea73f12600c3edb35683010d6146b9f2Withdraw216318652021-11-21 12:38:49493 days 22 hrs ago0xfe30daa1bd0f0152868e1fc4620ee7334997cc35 IN  0x5382bef068cc5b9541335ddd561cb5a9181ffd9b0 MATIC0.0093931230
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DimChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-10-14
*/

// SPDX-License-Identifier: MIT

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/utils/Address.sol
pragma solidity ^0.6.2;

/**
 * @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 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/math/SafeMath.sol
pragma solidity ^0.6.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.
     */
    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.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        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.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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



// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/GSN/Context.sol
pragma solidity ^0.6.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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/access/Ownable.sol
pragma solidity ^0.6.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.
 */
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 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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/token/ERC20/SafeERC20.sol
pragma solidity ^0.6.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 IERC20;` 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));
    }

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

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).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. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/utils/EnumerableSet.sol
pragma solidity ^0.6.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.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

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

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value 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 _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

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

   /**
    * @dev Returns the value 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 at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

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

   /**
    * @dev Returns the value 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 at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.1.0/contracts/utils/ReentrancyGuard.sol
pragma solidity ^0.6.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].
 */
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: contracts/libs/IDimStrategy.sol
pragma solidity 0.6.12;

// For interacting with our own DimStrat
interface IDimStrategy {
    // Want address
    function wantAddress() external view returns (address);

    // Earned address
    function earnedAddress() external view returns (address);

    // Total number of tokens managed by DimStrat that is currently staked in StakingRewardsAddr
    function wantLockedTotal() external view returns (uint256);

    // Sum of all shares of users to wantLockedTotal
    function sharesTotal() external view returns (uint256);

    // Calling tunnel() will auto-compound earned tokens and add them back to staking rewards
    function tunnel() external;

    // Transfer want tokens DimensionChef -> strategy
    function deposit(address _userAddress, uint256 _wantAmt) external returns (uint256);

    // Transfer want tokens strategy -> DimensionChef
    function withdraw(address _userAddress, uint256 _wantAmt) external returns (uint256);
}

// File: contracts/DimChef.sol
pragma solidity 0.6.12;

contract DimChef is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 shares; // How many deposited tokens the user has provided.
    }

    struct PoolInfo {
        IERC20 want; // Address of the want token.
        IERC20 earned; // Address of the earned token.
        address dimStrat; // Strategy address that will autocompound want tokens
    }

    PoolInfo[] public poolInfo; // Info of each pool.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Info of each user for shares of want tokens.
    mapping(address => bool) private dimStrats;

    event AddPool(address indexed dimStrat);
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event ResetAllowances();
    event ResetSingleAllowance(uint256 pid);

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    /**
     * @dev Add a new want to the pool. Can only be called by the owner.
     */
    function addPool(address _dimStrat) external onlyOwner nonReentrant {
        require(!dimStrats[_dimStrat], "Existing strategy");
        IERC20(IDimStrategy(_dimStrat).wantAddress()).allowance(address(this), address(_dimStrat));

        poolInfo.push(
            PoolInfo({
                want: IERC20(IDimStrategy(_dimStrat).wantAddress()),
                earned: IERC20(IDimStrategy(_dimStrat).earnedAddress()),
                dimStrat: _dimStrat
            })
        );

        dimStrats[_dimStrat] = true;
        resetSingleAllowance(poolInfo.length.sub(1));
        emit AddPool(_dimStrat);
    }

    // View function to see staked want tokens on frontend.
    function stakedWantTokens(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];

        uint256 sharesTotal = IDimStrategy(pool.dimStrat).sharesTotal();
        uint256 wantLockedTotal = IDimStrategy(poolInfo[_pid].dimStrat).wantLockedTotal();
        if (sharesTotal == 0) {
            return 0;
        }
        return user.shares.mul(wantLockedTotal).div(sharesTotal);
    }

    // Want tokens moved from user -> this -> dimStrat (staking)
    function deposit(uint256 _pid, uint256 _wantAmt) external nonReentrant {
        _deposit(_pid, _wantAmt, msg.sender);
    }

    function _deposit(uint256 _pid, uint256 _wantAmt, address _to) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_to];

        if (_wantAmt > 0) {
            // _before _after check for deflationary tokens
            uint256 _before = pool.want.balanceOf(address(this));
            pool.want.safeTransferFrom(msg.sender, address(this), _wantAmt);
            uint256 _after = pool.want.balanceOf(address(this));

            _wantAmt = _after.sub(_before); // Additional check for deflationary tokens

            uint256 sharesAdded = IDimStrategy(poolInfo[_pid].dimStrat).deposit(_to, _wantAmt);
            user.shares = user.shares.add(sharesAdded);
        }
        emit Deposit(_to, _pid, _wantAmt);
    }

    // Withdraw want tokens from DimChef.
    function withdraw(uint256 _pid, uint256 _wantAmt) external nonReentrant {
        _withdraw(_pid, _wantAmt, msg.sender);
    }

    function _withdraw(uint256 _pid, uint256 _wantAmt, address _to) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint256 wantLockedTotal = IDimStrategy(poolInfo[_pid].dimStrat).wantLockedTotal();
        uint256 sharesTotal = IDimStrategy(poolInfo[_pid].dimStrat).sharesTotal();

        require(user.shares > 0, "user.shares is 0");
        require(sharesTotal > 0, "sharesTotal is 0");

        // Withdraw want tokens
        uint256 amount = user.shares.mul(wantLockedTotal).div(sharesTotal);
        if (_wantAmt > amount) {
            _wantAmt = amount;
        }
        if (_wantAmt > 0) {
            uint256 sharesRemoved = IDimStrategy(poolInfo[_pid].dimStrat).withdraw(msg.sender, _wantAmt);

            if (sharesRemoved > user.shares) {
                user.shares = 0;
            } else {
                user.shares = user.shares.sub(sharesRemoved);
            }

            uint256 wantBal = IERC20(pool.want).balanceOf(address(this));
            if (wantBal < _wantAmt) {
                _wantAmt = wantBal;
            }
            pool.want.safeTransfer(_to, _wantAmt);
        }
        emit Withdraw(msg.sender, _pid, _wantAmt);
    }

    // Withdraw everything from pool for yourself
    function withdrawAll(uint256 _pid) external nonReentrant {
        _withdraw(_pid, uint256(-1), msg.sender);
    }

    function resetAllowances() external onlyOwner {
        for (uint256 i=0; i<poolInfo.length; i++) {
            PoolInfo storage pool = poolInfo[i];
            pool.want.safeApprove(pool.dimStrat, uint256(0));
            pool.want.safeIncreaseAllowance(pool.dimStrat, uint256(-1));
        }
        emit ResetAllowances();
    }

    function resetSingleAllowance(uint256 _pid) public onlyOwner {
        PoolInfo storage pool = poolInfo[_pid];
        pool.want.safeApprove(pool.dimStrat, uint256(0));
        pool.want.safeIncreaseAllowance(pool.dimStrat, uint256(-1));
        emit ResetSingleAllowance(_pid);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dimStrat","type":"address"}],"name":"AddPool","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":"Deposit","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":[],"name":"ResetAllowances","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"pid","type":"uint256"}],"name":"ResetSingleAllowance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_dimStrat","type":"address"}],"name":"addPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"want","type":"address"},{"internalType":"contract IERC20","name":"earned","type":"address"},{"internalType":"address","name":"dimStrat","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetAllowances","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"resetSingleAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"stakedWantTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600061001b61006e565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055610072565b3390565b611b59806100816000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80637b84daec1161008c578063958e2d3111610066578063958e2d3114610204578063d914cd4b14610221578063e2bbb15814610247578063f2fde38b1461026a576100cf565b80637b84daec146101885780638da5cb5b146101b457806393f1a40b146101d8576100cf565b8063081e3eda146100d45780631526fe27146100ee57806323e1ad7d146101365780633505b09f14610155578063441a3e701461015d578063715018a614610180575b600080fd5b6100dc610290565b60408051918252519081900360200190f35b61010b6004803603602081101561010457600080fd5b5035610296565b604080516001600160a01b039485168152928416602084015292168183015290519081900360600190f35b6101536004803603602081101561014c57600080fd5b50356102d5565b005b6101536103c6565b6101536004803603604081101561017357600080fd5b50803590602001356104c2565b610153610520565b6100dc6004803603604081101561019e57600080fd5b50803590602001356001600160a01b03166105c2565b6101bc610737565b604080516001600160a01b039092168252519081900360200190f35b6100dc600480360360408110156101ee57600080fd5b50803590602001356001600160a01b0316610746565b6101536004803603602081101561021a57600080fd5b5035610763565b6101536004803603602081101561023757600080fd5b50356001600160a01b03166107c2565b6101536004803603604081101561025d57600080fd5b5080359060200135610b6d565b6101536004803603602081101561028057600080fd5b50356001600160a01b0316610bc3565b60025490565b600281815481106102a357fe5b60009182526020909120600390910201805460018201546002909201546001600160a01b039182169350918116911683565b6102dd610cbb565b6000546001600160a01b0390811691161461032d576040805162461bcd60e51b81526020600482018190526024820152600080516020611aa4833981519152604482015290519081900360640190fd5b60006002828154811061033c57fe5b600091825260208220600260039092020190810154815491935061036f926001600160a01b039283169290911690610cbf565b6002810154815461038f916001600160a01b039182169116600019610dd7565b6040805183815290517f4b3aae9b37fe1eef5c6315a42f0a2ac82c99349f1e72b7f4fff5a034b37ff64b9181900360200190a15050565b6103ce610cbb565b6000546001600160a01b0390811691161461041e576040805162461bcd60e51b81526020600482018190526024820152600080516020611aa4833981519152604482015290519081900360640190fd5b60005b6002548110156104965760006002828154811061043a57fe5b600091825260208220600260039092020190810154815491935061046d926001600160a01b039283169290911690610cbf565b6002810154815461048d916001600160a01b039182169116600019610dd7565b50600101610421565b506040517ff02d1f4fa39e3ca09cf6e4274f9790281a3249d378ee354cdb1fa66ce71c421d90600090a1565b60026001541415610508576040805162461bcd60e51b815260206004820152601f6024820152600080516020611a3d833981519152604482015290519081900360640190fd5b6002600155610518828233610ec8565b505060018055565b610528610cbb565b6000546001600160a01b03908116911614610578576040805162461bcd60e51b81526020600482018190526024820152600080516020611aa4833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600080600284815481106105d257fe5b60009182526020808320878452600380835260408086206001600160a01b038a811688529085528187209590920290920160028101548351632251caaf60e11b81529351919750949594909116926344a3955e9260048082019391829003018186803b15801561064157600080fd5b505afa158015610655573d6000803e3d6000fd5b505050506040513d602081101561066b57600080fd5b5051600280549192506000918890811061068157fe5b600091825260209182902060026003909202010154604080516342da4eb360e01b815290516001600160a01b03909216926342da4eb392600480840193829003018186803b1580156106d257600080fd5b505afa1580156106e6573d6000803e3d6000fd5b505050506040513d60208110156106fc57600080fd5b5051905081610712576000945050505050610731565b825461072a908390610724908461127c565b906112dc565b9450505050505b92915050565b6000546001600160a01b031690565b600360209081526000928352604080842090915290825290205481565b600260015414156107a9576040805162461bcd60e51b815260206004820152601f6024820152600080516020611a3d833981519152604482015290519081900360640190fd5b60026001556107bb8160001933610ec8565b5060018055565b6107ca610cbb565b6000546001600160a01b0390811691161461081a576040805162461bcd60e51b81526020600482018190526024820152600080516020611aa4833981519152604482015290519081900360640190fd5b60026001541415610860576040805162461bcd60e51b815260206004820152601f6024820152600080516020611a3d833981519152604482015290519081900360640190fd5b60026001556001600160a01b03811660009081526004602052604090205460ff16156108c7576040805162461bcd60e51b81526020600482015260116024820152704578697374696e6720737472617465677960781b604482015290519081900360640190fd5b806001600160a01b031663e7a036796040518163ffffffff1660e01b815260040160206040518083038186803b15801561090057600080fd5b505afa158015610914573d6000803e3d6000fd5b505050506040513d602081101561092a57600080fd5b505160408051636eb1769f60e11b81523060048201526001600160a01b0384811660248301529151919092169163dd62ed3e916044808301926020929190829003018186803b15801561097c57600080fd5b505afa158015610990573d6000803e3d6000fd5b505050506040513d60208110156109a657600080fd5b5050604080516060810180835263e7a0367960e01b905290516002919081906001600160a01b0385169063e7a0367990606480850191602091818703018186803b1580156109f357600080fd5b505afa158015610a07573d6000803e3d6000fd5b505050506040513d6020811015610a1d57600080fd5b50516001600160a01b039081168252604080516339c6611d60e21b815290516020938401939287169263e71984749260048082019391829003018186803b158015610a6757600080fd5b505afa158015610a7b573d6000803e3d6000fd5b505050506040513d6020811015610a9157600080fd5b50516001600160a01b03908116825284811660209283018190528454600181810187556000968752848720865160039093020180549285166001600160a01b03199384161781558686015181830180549187169185169190911790556040968701516002918201805491909616931692909217909355908552600490925291909220805460ff1916821790559054610b3291610b2d919061131e565b6102d5565b6040516001600160a01b038216907f8c82d670bc9247c2cfb6964089bc9cff0255f9caade6fbc74a13368083e5546690600090a25060018055565b60026001541415610bb3576040805162461bcd60e51b815260206004820152601f6024820152600080516020611a3d833981519152604482015290519081900360640190fd5b6002600155610518828233611360565b610bcb610cbb565b6000546001600160a01b03908116911614610c1b576040805162461bcd60e51b81526020600482018190526024820152600080516020611aa4833981519152604482015290519081900360640190fd5b6001600160a01b038116610c605760405162461bcd60e51b8152600401808060200182810382526026815260200180611a5d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b801580610d45575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610d1757600080fd5b505afa158015610d2b573d6000803e3d6000fd5b505050506040513d6020811015610d4157600080fd5b5051155b610d805760405162461bcd60e51b8152600401808060200182810382526036815260200180611aee6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610dd29084906115cc565b505050565b6000610e6d82856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b158015610e3b57600080fd5b505afa158015610e4f573d6000803e3d6000fd5b505050506040513d6020811015610e6557600080fd5b50519061167d565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052909150610ec29085906115cc565b50505050565b600060028481548110610ed757fe5b600091825260208083208784526003808352604080862033875290935291842060028054949093029091019450929187908110610f1057fe5b600091825260209182902060026003909202010154604080516342da4eb360e01b815290516001600160a01b03909216926342da4eb392600480840193829003018186803b158015610f6157600080fd5b505afa158015610f75573d6000803e3d6000fd5b505050506040513d6020811015610f8b57600080fd5b50516002805491925060009188908110610fa157fe5b60009182526020918290206002600390920201015460408051632251caaf60e11b815290516001600160a01b03909216926344a3955e92600480840193829003018186803b158015610ff257600080fd5b505afa158015611006573d6000803e3d6000fd5b505050506040513d602081101561101c57600080fd5b50518354909150611067576040805162461bcd60e51b815260206004820152601060248201526f0757365722e73686172657320697320360841b604482015290519081900360640190fd5b600081116110af576040805162461bcd60e51b815260206004820152601060248201526f0736861726573546f74616c20697320360841b604482015290519081900360640190fd5b82546000906110c4908390610724908661127c565b9050808711156110d2578096505b861561123b576000600289815481106110e757fe5b60009182526020808320600260039093020191909101546040805163f3fef3a360e01b8152336004820152602481018d905290516001600160a01b039092169363f3fef3a39360448084019491939192918390030190829087803b15801561114e57600080fd5b505af1158015611162573d6000803e3d6000fd5b505050506040513d602081101561117857600080fd5b5051855490915081111561118f576000855561119e565b845461119b908261131e565b85555b8554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156111e857600080fd5b505afa1580156111fc573d6000803e3d6000fd5b505050506040513d602081101561121257600080fd5b5051905088811015611222578098505b8654611238906001600160a01b0316898b6116d7565b50505b604080518881529051899133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050505050565b60008261128b57506000610731565b8282028284828161129857fe5b04146112d55760405162461bcd60e51b8152600401808060200182810382526021815260200180611a836021913960400191505060405180910390fd5b9392505050565b60006112d583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611729565b60006112d583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117cb565b60006002848154811061136f57fe5b60009182526020808320878452600380835260408086206001600160a01b038916875290935291909320910290910191508315611585578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156113f057600080fd5b505afa158015611404573d6000803e3d6000fd5b505050506040513d602081101561141a57600080fd5b50518354909150611436906001600160a01b0316333088611825565b8254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561148057600080fd5b505afa158015611494573d6000803e3d6000fd5b505050506040513d60208110156114aa57600080fd5b505190506114b8818361131e565b95506000600288815481106114c957fe5b906000526020600020906003020160020160009054906101000a90046001600160a01b03166001600160a01b03166347e7ef2487896040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561154457600080fd5b505af1158015611558573d6000803e3d6000fd5b505050506040513d602081101561156e57600080fd5b5051845490915061157f908261167d565b84555050505b60408051858152905186916001600160a01b038616917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b6060611621826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661187f9092919063ffffffff16565b805190915015610dd25780806020019051602081101561164057600080fd5b5051610dd25760405162461bcd60e51b815260040180806020018281038252602a815260200180611ac4602a913960400191505060405180910390fd5b6000828201838110156112d5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610dd29084906115cc565b600081836117b55760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561177a578181015183820152602001611762565b50505050905090810190601f1680156117a75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816117c157fe5b0495945050505050565b6000818484111561181d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561177a578181015183820152602001611762565b505050900390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610ec29085906115cc565b606061188e8484600085611896565b949350505050565b60606118a185611a03565b6118f2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106119315780518252601f199092019160209182019101611912565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611993576040519150601f19603f3d011682016040523d82523d6000602084013e611998565b606091505b509150915081156119ac57915061188e9050565b8051156119bc5780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561177a578181015183820152602001611762565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061188e57505015159291505056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220dbc15cc9302f92c0fd3380742f16e8c42aee1eb20db43342c126e5cafdca5b7b64736f6c634300060c0033

Deployed ByteCode Sourcemap

33737:5656:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34723:95;;;:::i;:::-;;;;;;;;;;;;;;;;34215:26;;;;;;;;;;;;;;;;-1:-1:-1;34215:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;34215:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39101:289;;;;;;;;;;;;;;;;-1:-1:-1;39101:289:0;;:::i;:::-;;38755:338;;;:::i;37163:128::-;;;;;;;;;;;;;;;;-1:-1:-1;37163:128:0;;;;;;;:::i;17462:148::-;;;:::i;35614:502::-;;;;;;;;;;;;;;;;-1:-1:-1;35614:502:0;;;;;;-1:-1:-1;;;;;35614:502:0;;:::i;16820:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;16820:79:0;;;;;;;;;;;;;;34270:64;;;;;;;;;;;;;;;;-1:-1:-1;34270:64:0;;;;;;-1:-1:-1;;;;;34270:64:0;;:::i;38631:116::-;;;;;;;;;;;;;;;;-1:-1:-1;38631:116:0;;:::i;34918:627::-;;;;;;;;;;;;;;;;-1:-1:-1;34918:627:0;-1:-1:-1;;;;;34918:627:0;;:::i;36190:126::-;;;;;;;;;;;;;;;;-1:-1:-1;36190:126:0;;;;;;;:::i;17765:244::-;;;;;;;;;;;;;;;;-1:-1:-1;17765:244:0;-1:-1:-1;;;;;17765:244:0;;:::i;34723:95::-;34795:8;:15;34723:95;:::o;34215:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34215:26:0;;;;-1:-1:-1;34215:26:0;;;;;;:::o;39101:289::-;17042:12;:10;:12::i;:::-;17032:6;;-1:-1:-1;;;;;17032:6:0;;;:22;;;17024:67;;;;;-1:-1:-1;;;17024:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17024:67:0;;;;;;;;;;;;;;;39173:21:::1;39197:8;39206:4;39197:14;;;;;;;;;::::0;;;::::1;::::0;;39244:13:::1;39197:14;::::0;;::::1;;39244:13:::0;;::::1;::::0;39222:9;;39197:14;;-1:-1:-1;39222:48:0::1;::::0;-1:-1:-1;;;;;39222:9:0;;::::1;::::0;39244:13;;::::1;::::0;39222:21:::1;:48::i;:::-;39313:13;::::0;::::1;::::0;39281:9;;:59:::1;::::0;-1:-1:-1;;;;;39281:9:0;;::::1;::::0;39313:13:::1;-1:-1:-1::0;;39281:31:0::1;:59::i;:::-;39356:26;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;17102:1;39101:289:::0;:::o;38755:338::-;17042:12;:10;:12::i;:::-;17032:6;;-1:-1:-1;;;;;17032:6:0;;;:22;;;17024:67;;;;;-1:-1:-1;;;17024:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17024:67:0;;;;;;;;;;;;;;;38817:9:::1;38812:241;38832:8;:15:::0;38830:17;::::1;38812:241;;;38869:21;38893:8;38902:1;38893:11;;;;;;;;;::::0;;;::::1;::::0;;38941:13:::1;38893:11;::::0;;::::1;;38941:13:::0;;::::1;::::0;38919:9;;38893:11;;-1:-1:-1;38919:48:0::1;::::0;-1:-1:-1;;;;;38919:9:0;;::::1;::::0;38941:13;;::::1;::::0;38919:21:::1;:48::i;:::-;39014:13;::::0;::::1;::::0;38982:9;;:59:::1;::::0;-1:-1:-1;;;;;38982:9:0;;::::1;::::0;39014:13:::1;-1:-1:-1::0;;38982:31:0::1;:59::i;:::-;-1:-1:-1::0;38849:3:0::1;;38812:241;;;-1:-1:-1::0;39068:17:0::1;::::0;::::1;::::0;;;::::1;38755:338::o:0;37163:128::-;31704:1;32310:7;;:19;;32302:63;;;;;-1:-1:-1;;;32302:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32302:63:0;;;;;;;;;;;;;;;31704:1;32443:7;:18;37246:37:::1;37256:4:::0;37262:8;37272:10:::1;37246:9;:37::i;:::-;-1:-1:-1::0;;31660:1:0;32622:22;;37163:128::o;17462:148::-;17042:12;:10;:12::i;:::-;17032:6;;-1:-1:-1;;;;;17032:6:0;;;:22;;;17024:67;;;;;-1:-1:-1;;;17024:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17024:67:0;;;;;;;;;;;;;;;17569:1:::1;17553:6:::0;;17532:40:::1;::::0;-1:-1:-1;;;;;17553:6:0;;::::1;::::0;17532:40:::1;::::0;17569:1;;17532:40:::1;17600:1;17583:19:::0;;-1:-1:-1;;;;;;17583:19:0::1;::::0;;17462:148::o;35614:502::-;35692:7;35712:21;35736:8;35745:4;35736:14;;;;;;;;;;;;;;;;35785;;;35736;35785;;;;;;;-1:-1:-1;;;;;35785:21:0;;;;;;;;;;;35736:14;;;;;;;35854:13;;;;35841:41;;-1:-1:-1;;;35841:41:0;;;;35736:14;;-1:-1:-1;35785:21:0;;35736:14;35854:13;;;;35841:39;;:41;;;;;;;;;;;35854:13;35841:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35841:41:0;35932:8;:14;;35841:41;;-1:-1:-1;35893:23:0;;35941:4;;35932:14;;;;;;;;;;;;;;;:23;:14;;;;;:23;;35919:55;;;-1:-1:-1;;;35919:55:0;;;;-1:-1:-1;;;;;35932:23:0;;;;35919:53;;:55;;;;;;;;;;35932:23;35919:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35919:55:0;;-1:-1:-1;35989:16:0;35985:57;;36029:1;36022:8;;;;;;;;35985:57;36059:11;;:49;;36096:11;;36059:32;;36075:15;36059;:32::i;:::-;:36;;:49::i;:::-;36052:56;;;;;;35614:502;;;;;:::o;16820:79::-;16858:7;16885:6;-1:-1:-1;;;;;16885:6:0;16820:79;:::o;34270:64::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;38631:116::-;31704:1;32310:7;;:19;;32302:63;;;;;-1:-1:-1;;;32302:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32302:63:0;;;;;;;;;;;;;;;31704:1;32443:7;:18;38699:40:::1;38709:4:::0;-1:-1:-1;;38728:10:0::1;38699:9;:40::i;:::-;-1:-1:-1::0;31660:1:0;32622:22;;38631:116::o;34918:627::-;17042:12;:10;:12::i;:::-;17032:6;;-1:-1:-1;;;;;17032:6:0;;;:22;;;17024:67;;;;;-1:-1:-1;;;17024:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17024:67:0;;;;;;;;;;;;;;;31704:1:::1;32310:7;;:19;;32302:63;;;::::0;;-1:-1:-1;;;32302:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;32302:63:0;;;;;;;;;;;;;::::1;;31704:1;32443:7;:18:::0;-1:-1:-1;;;;;35006:20:0;::::2;;::::0;;;:9:::2;:20;::::0;;;;;::::2;;35005:21;34997:51;;;::::0;;-1:-1:-1;;;34997:51:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;34997:51:0;;;;;;;;;;;;;::::2;;35079:9;-1:-1:-1::0;;;;;35066:35:0::2;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;35066:37:0;35059:90:::2;::::0;;-1:-1:-1;;;35059:90:0;;35123:4:::2;35059:90;::::0;::::2;::::0;-1:-1:-1;;;;;35059:90:0;;::::2;::::0;;;;;;:55;;;::::2;::::0;::::2;::::0;:90;;;;;35066:37:::2;::::0;35059:90;;;;;;;:55;:90;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;;35190:207:0::2;::::0;;::::2;::::0;::::2;::::0;;;-1:-1:-1;;;35231:37:0;;;;35162:8:::2;::::0;35190:207;;;-1:-1:-1;;;;;35231:35:0;::::2;::::0;::::2;::::0;:37;;;;;35059:90:::2;::::0;35231:37;;;;;:35;:37;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;35231:37:0;-1:-1:-1;;;;;35190:207:0;;::::2;::::0;;35303:39:::2;::::0;;-1:-1:-1;;;35303:39:0;;;;35231:37:::2;35190:207:::0;;::::2;::::0;35303:37;;::::2;::::0;::::2;::::0;:39:::2;::::0;;::::2;::::0;;;;;;;:37;:39;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;35303:39:0;-1:-1:-1;;;;;35190:207:0;;::::2;::::0;;;;::::2;35303:39;35190:207:::0;;::::2;::::0;;;35162:246;;::::2;::::0;;::::2;::::0;;-1:-1:-1;35162:246:0;;;;;;;;::::2;::::0;;::::2;;::::0;;;;::::2;-1:-1:-1::0;;;;;;35162:246:0;;::::2;;::::0;;;;::::2;::::0;;;::::2;::::0;;;;::::2;::::0;;::::2;::::0;;;::::2;::::0;;::::2;::::0;;::::2;::::0;::::2;::::0;;::::2;::::0;;;;;::::2;::::0;::::2;::::0;;;::::2;::::0;;;35421:20;;;:9:::2;:20:::0;;;;;;;:27;;-1:-1:-1;;35421:27:0::2;::::0;::::2;::::0;;35480:15;;35459:44:::2;::::0;35480:22:::2;::::0;:15;:19:::2;:22::i;:::-;35459:20;:44::i;:::-;35519:18;::::0;-1:-1:-1;;;;;35519:18:0;::::2;::::0;::::2;::::0;;;::::2;-1:-1:-1::0;31660:1:0::1;32622:22:::0;;34918:627::o;36190:126::-;31704:1;32310:7;;:19;;32302:63;;;;;-1:-1:-1;;;32302:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32302:63:0;;;;;;;;;;;;;;;31704:1;32443:7;:18;36272:36:::1;36281:4:::0;36287:8;36297:10:::1;36272:8;:36::i;17765:244::-:0;17042:12;:10;:12::i;:::-;17032:6;;-1:-1:-1;;;;;17032:6:0;;;:22;;;17024:67;;;;;-1:-1:-1;;;17024:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17024:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;17854:22:0;::::1;17846:73;;;;-1:-1:-1::0;;;17846:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17956:6;::::0;;17935:38:::1;::::0;-1:-1:-1;;;;;17935:38:0;;::::1;::::0;17956:6;::::1;::::0;17935:38:::1;::::0;::::1;17984:6;:17:::0;;-1:-1:-1;;;;;;17984:17:0::1;-1:-1:-1::0;;;;;17984:17:0;;;::::1;::::0;;;::::1;::::0;;17765:244::o;15317:106::-;15405:10;15317:106;:::o;19384:622::-;19754:10;;;19753:62;;-1:-1:-1;19770:39:0;;;-1:-1:-1;;;19770:39:0;;19794:4;19770:39;;;;-1:-1:-1;;;;;19770:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19770:39:0;:44;19753:62;19745:152;;;;-1:-1:-1;;;19745:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19935:62;;;-1:-1:-1;;;;;19935:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19935:62:0;-1:-1:-1;;;19935:62:0;;;19908:90;;19928:5;;19908:19;:90::i;:::-;19384:622;;;:::o;20014:286::-;20111:20;20134:50;20178:5;20134;-1:-1:-1;;;;;20134:15:0;;20158:4;20165:7;20134:39;;;;;;;;;;;;;-1:-1:-1;;;;;20134:39:0;;;;;;-1:-1:-1;;;;;20134:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20134:39:0;;:43;:50::i;:::-;20222:69;;;-1:-1:-1;;;;;20222:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20222:69:0;-1:-1:-1;;;20222:69:0;;;20111:73;;-1:-1:-1;20195:97:0;;20215:5;;20195:19;:97::i;:::-;20014:286;;;;:::o;37299:1273::-;37383:21;37407:8;37416:4;37407:14;;;;;;;;;;;;;;;;37456;;;37407;37456;;;;;;;37471:10;37456:26;;;;;;;;37534:8;:14;;37407;;;;;;;;-1:-1:-1;37456:26:0;37407:14;37456;;37534;;;;;;;;;;;;;;;:23;:14;;;;;:23;;37521:55;;;-1:-1:-1;;;37521:55:0;;;;-1:-1:-1;;;;;37534:23:0;;;;37521:53;;:55;;;;;;;;;;37534:23;37521:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37521:55:0;37622:8;:14;;37521:55;;-1:-1:-1;37587:19:0;;37631:4;;37622:14;;;;;;;;;;;;;;;:23;:14;;;;;:23;;37609:51;;;-1:-1:-1;;;37609:51:0;;;;-1:-1:-1;;;;;37622:23:0;;;;37609:49;;:51;;;;;;;;;;37622:23;37609:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37609:51:0;37681:11;;37609:51;;-1:-1:-1;37673:44:0;;;;;-1:-1:-1;;;37673:44:0;;;;;;;;;;;;-1:-1:-1;;;37673:44:0;;;;;;;;;;;;;;;37750:1;37736:11;:15;37728:44;;;;;-1:-1:-1;;;37728:44:0;;;;;;;;;;;;-1:-1:-1;;;37728:44:0;;;;;;;;;;;;;;;37835:11;;37818:14;;37835:49;;37872:11;;37835:32;;37851:15;37835;:32::i;:49::-;37818:66;;37910:6;37899:8;:17;37895:67;;;37944:6;37933:17;;37895:67;37976:12;;37972:541;;38005:21;38042:8;38051:4;38042:14;;;;;;;;;;;;;;;;:23;:14;;;;;:23;;;;;38029:68;;;-1:-1:-1;;;38029:68:0;;38076:10;38029:68;;;;;;;;;;;;-1:-1:-1;;;;;38042:23:0;;;;38029:46;;:68;;;;;38042:14;;38029:68;;;;;;;;;;38042:23;38029:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38029:68:0;38134:11;;38029:68;;-1:-1:-1;38118:27:0;;38114:168;;;38180:1;38166:15;;38114:168;;;38236:11;;:30;;38252:13;38236:15;:30::i;:::-;38222:44;;38114:168;38323:9;;38316:42;;;-1:-1:-1;;;38316:42:0;;38352:4;38316:42;;;;;;38298:15;;-1:-1:-1;;;;;38323:9:0;;38316:27;;:42;;;;;;;;;;;;;;38323:9;38316:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38316:42:0;;-1:-1:-1;38377:18:0;;;38373:77;;;38427:7;38416:18;;38373:77;38464:9;;:37;;-1:-1:-1;;;;;38464:9:0;38487:3;38492:8;38464:22;:37::i;:::-;37972:541;;;38528:36;;;;;;;;38549:4;;38537:10;;38528:36;;;;;;;;;37299:1273;;;;;;;;:::o;8668:471::-;8726:7;8971:6;8967:47;;-1:-1:-1;9001:1:0;8994:8;;8967:47;9038:5;;;9042:1;9038;:5;:1;9062:5;;;;;:10;9054:56;;;;-1:-1:-1;;;9054:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9130:1;8668:471;-1:-1:-1;;;8668:471:0:o;9615:132::-;9673:7;9700:39;9704:1;9707;9700:39;;;;;;;;;;;;;;;;;:3;:39::i;7778:136::-;7836:7;7863:43;7867:1;7870;7863:43;;;;;;;;;;;;;;;;;:3;:43::i;36324:788::-;36407:21;36431:8;36440:4;36431:14;;;;;;;;;;;;;;;;36480;;;36431;36480;;;;;;;-1:-1:-1;;;;;36480:19:0;;;;;;;;;;;36431:14;;;;;;-1:-1:-1;36516:12:0;;36512:549;;36624:9;;:34;;;-1:-1:-1;;;36624:34:0;;36652:4;36624:34;;;;;;36606:15;;-1:-1:-1;;;;;36624:9:0;;:19;;:34;;;;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36624:34:0;36673:9;;36624:34;;-1:-1:-1;36673:63:0;;-1:-1:-1;;;;;36673:9:0;36700:10;36720:4;36727:8;36673:26;:63::i;:::-;36768:9;;:34;;;-1:-1:-1;;;36768:34:0;;36796:4;36768:34;;;;;;36751:14;;-1:-1:-1;;;;;36768:9:0;;:19;;:34;;;;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36768:34:0;;-1:-1:-1;36830:19:0;36768:34;36841:7;36830:10;:19::i;:::-;36819:30;;36910:19;36945:8;36954:4;36945:14;;;;;;;;;;;;;;;;;;:23;;;;;;;;;;-1:-1:-1;;;;;36945:23:0;-1:-1:-1;;;;;36932:45:0;;36978:3;36983:8;36932:60;;;;;;;;;;;;;-1:-1:-1;;;;;36932:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36932:60:0;37021:11;;36932:60;;-1:-1:-1;37021:28:0;;36932:60;37021:15;:28::i;:::-;37007:42;;-1:-1:-1;;;36512:549:0;37076:28;;;;;;;;37089:4;;-1:-1:-1;;;;;37076:28:0;;;;;;;;;;;;36324:788;;;;;:::o;21030:761::-;21454:23;21480:69;21508:4;21480:69;;;;;;;;;;;;;;;;;21488:5;-1:-1:-1;;;;;21480:27:0;;;:69;;;;;:::i;:::-;21564:17;;21454:95;;-1:-1:-1;21564:21:0;21560:224;;21706:10;21695:30;;;;;;;;;;;;;;;-1:-1:-1;21695:30:0;21687:85;;;;-1:-1:-1;;;21687:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7314:181;7372:7;7404:5;;;7428:6;;;;7420:46;;;;;-1:-1:-1;;;7420:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18725:177;18835:58;;;-1:-1:-1;;;;;18835:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18835:58:0;-1:-1:-1;;;18835:58:0;;;18808:86;;18828:5;;18808:19;:86::i;10243:278::-;10329:7;10364:12;10357:5;10349:28;;;;-1:-1:-1;;;10349:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10388:9;10404:1;10400;:5;;;;;;;10243:278;-1:-1:-1;;;;;10243:278:0:o;8217:192::-;8303:7;8339:12;8331:6;;;;8323:29;;;;-1:-1:-1;;;8323:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8375:5:0;;;8217:192::o;18910:205::-;19038:68;;;-1:-1:-1;;;;;19038:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19038:68:0;-1:-1:-1;;;19038:68:0;;;19011:96;;19031:5;;19011:19;:96::i;3971:196::-;4074:12;4106:53;4129:6;4137:4;4143:1;4146:12;4106:22;:53::i;:::-;4099:60;3971:196;-1:-1:-1;;;;3971:196:0:o;5348:979::-;5478:12;5511:18;5522:6;5511:10;:18::i;:::-;5503:60;;;;;-1:-1:-1;;;5503:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5637:12;5651:23;5678:6;-1:-1:-1;;;;;5678:11:0;5698:8;5709:4;5678:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5678:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5636:78;;;;5729:7;5725:595;;;5760:10;-1:-1:-1;5753:17:0;;-1:-1:-1;5753:17:0;5725:595;5874:17;;:21;5870:439;;6137:10;6131:17;6198:15;6185:10;6181:2;6177:19;6170:44;6085:148;6273:20;;-1:-1:-1;;;6273:20:0;;;;;;;;;;;;;;;;;6280:12;;6273:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;856:619;916:4;1384:20;;1227:66;1424:23;;;;;;:42;;-1:-1:-1;;1451:15:0;;;1416:51;-1:-1:-1;;856:619:0:o

Swarm Source

ipfs://dbc15cc9302f92c0fd3380742f16e8c42aee1eb20db43342c126e5cafdca5b7b
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.