MATIC Price: $1.01 (-1.81%)
Gas: 163 GWei
 

Sponsored

Transaction Hash
Method
Block
From
To
Value
Withdraw202011212021-10-14 6:57:05896 days ago1634194625IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0087975930
Withdraw201747392021-10-13 13:29:45896 days ago1634131785IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0086120430
Withdraw201385022021-10-12 13:24:33897 days ago1634045073IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0092588832
Withdraw201000362021-10-11 13:34:55898 days ago1633959295IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0094996431
Withdraw200664072021-10-10 15:22:06899 days ago1633879326IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.008812331
Withdraw200267352021-10-09 15:18:42900 days ago1633792722IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0089695431
Withdraw199866682021-10-08 14:27:37901 days ago1633703257IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0094996431
Withdraw199468072021-10-07 13:53:18902 days ago1633614798IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0090426431.5
Withdraw199092002021-10-06 13:53:38903 days ago1633528418IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0092588832
Withdraw198729832021-10-05 13:58:17904 days ago1633442297IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0098060832
Withdraw198351332021-10-04 14:03:53905 days ago1633356233IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0042640215
Withdraw197977772021-10-03 13:45:07906 days ago1633268707IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.000578682
Withdraw197619402021-10-02 15:00:46907 days ago1633186846IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.00759125
Withdraw197002812021-10-01 1:19:35909 days ago1633051175IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.000598532
Withdraw193318082021-09-21 1:52:54919 days ago1632189174IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.001095524
Withdraw192763852021-09-19 14:18:16920 days ago1632061096IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.000374161.221
Withdraw192588752021-09-19 2:22:02921 days ago1632018122IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.000318271.1
Withdraw192573682021-09-19 1:19:35921 days ago1632014375IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.000578682
Withdraw192433342021-09-18 15:31:17921 days ago1631979077IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.000353281.221
Withdraw192242922021-09-18 2:01:45922 days ago1631930505IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.000355931.100113
Withdraw192085342021-09-17 15:15:45922 days ago1631891745IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.000608332
Withdraw191892302021-09-17 2:11:05923 days ago1631844665IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.001317764.55438853
Withdraw191773532021-09-16 17:23:26923 days ago1631813006IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.0002119210
Withdraw191745852021-09-16 15:15:09923 days ago1631805309IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.004340115
Withdraw191569872021-09-16 2:50:12924 days ago1631760612IN
0x85A37b1a...ccd7E8EA3
0 MATIC0.00151825
View all transactions

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

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

Contract Name:
PledgePool

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-07-17
*/

// 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: @openzeppelin/contracts/token/ERC20/IERC20.sol


pragma solidity >=0.6.0 <0.8.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: @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/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: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


pragma solidity >=0.6.0 <0.8.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: contracts/PledgePool.sol


pragma solidity ^0.6.12;




interface IMasterChef {
    function pendingOre(uint256 _pid, address _user) external view returns (uint256);
    function getMultiplier(uint256 _from, uint256 _to) external view returns (uint256);
    function orePerBlock() external view returns (uint256);
    function totalAllocPoint() external view returns (uint256);
    function deposit(uint256 _pid, uint256 _amount) external;
    function withdraw(uint256 _pid, uint256 _amount) external;
    function poolInfo(uint256 _pid) external view returns (address,uint256,uint256,uint256);
}

interface ICertificate {
    function mint(address _to, uint256 _amount) external;
    function burn(address _account, uint256 _amount) external;
    function transferOwnership(address newOwner) external;
}



contract PledgePool is Ownable {

    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    address public apple = 0xABD1CbbF2a7F53C54946ce3d1557DB625c911126;

    address public masterChef = 0x5Aa110DE97562124A112FB354eC4705E735E6397;
    
    uint256 public period = 604800;

    address public certificate;

    address public token;

    uint256 public pid;

    address public taxAddress = 0xaF5CBF9aD651De40Bf0c8d5fD5f751956B51A51C;

    uint256 public taxRadio = 50;

    struct PoolInfo {
        uint256 allocPoint;
        uint256 lastRewardBlock;
        uint256 accOrePerShare;
    }

    struct UserInfo {
        uint256 amount;
        uint256 rewardDebt;
        uint256 created_at;
    }

    PoolInfo public poolInfo;

    mapping (address => UserInfo) public userInfo; 

    event Deposit(address indexed user, uint256 amount);
    event Withdraw(address indexed user, uint256 amount);
    
    constructor(address _token, address _certificate, uint256 _pid) public 
    {
        token = _token;
        certificate = _certificate;
        pid = _pid;
        (,uint256 _allocPoint,,) = IMasterChef(masterChef).poolInfo(_pid);
        poolInfo.allocPoint = _allocPoint;
        IERC20(certificate).safeApprove(masterChef, 0);
        IERC20(certificate).safeApprove(masterChef, uint(-1));
    }

    function setPeriod(uint256 _period) public onlyOwner {
        period = _period;
    }

    function setPid(uint256 _pid) public onlyOwner {
        pid = _pid;
        (,uint256 _allocPoint,,) = IMasterChef(masterChef).poolInfo(pid);
        poolInfo.allocPoint = _allocPoint;
    }

    function setTax(address _address) public onlyOwner {
        require(_address != address(0), "MasterChef: taxAddress not 0");
        taxAddress = _address;
        
    }

    function setRadio(uint256 _radio) public onlyOwner {
        require(_radio < 1000, "MasterChef: taxRadio too big");
        taxRadio = _radio;
    }

    function mintCertificate(uint256 _amount) private{
        IERC20(token).safeTransferFrom(address(msg.sender), address(this), _amount);
        ICertificate(certificate).mint(address(this), _amount);
    }
    
    function burnCertificate(address _address, uint256 _amount) private{
        ICertificate(certificate).burn(address(this), _amount);
        IERC20(token).transfer(_address, _amount);
    }

    function migrate(address _address) public onlyOwner{
        require(address(_address) != address(0), "migrate: no migrator");
        IERC20(apple).transfer(_address, IERC20(apple).balanceOf(address(this)));
    }

    function updatePool() private {
        if (block.number <= poolInfo.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = IERC20(token).balanceOf(address(this));
        if (lpSupply == 0) {
            poolInfo.lastRewardBlock = block.number;
            return;
        }
        (,uint256 _allocPoint,,) = IMasterChef(masterChef).poolInfo(pid);
        poolInfo.allocPoint = _allocPoint;
        uint256 multiplier = IMasterChef(masterChef).getMultiplier(poolInfo.lastRewardBlock, block.number);
        uint256 oreReward = multiplier.mul(IMasterChef(masterChef).orePerBlock()).mul(poolInfo.allocPoint).div(IMasterChef(masterChef).totalAllocPoint());
        IMasterChef(masterChef).deposit(pid, 0);
        poolInfo.accOrePerShare = poolInfo.accOrePerShare.add(oreReward.mul(1e12).div(lpSupply));
        poolInfo.lastRewardBlock = block.number;
    } 


    function pendingOre(address _user) external view returns (uint256) {
        UserInfo storage user = userInfo[_user];
        uint256 lpSupply = IERC20(token).balanceOf(address(this));
        uint256 accOrePerShare = poolInfo.accOrePerShare;
        if (block.number > poolInfo.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = IMasterChef(masterChef).getMultiplier(poolInfo.lastRewardBlock, block.number);
            uint256 oreReward = multiplier.mul(IMasterChef(masterChef).orePerBlock()).mul(poolInfo.allocPoint).div(IMasterChef(masterChef).totalAllocPoint());
            accOrePerShare = accOrePerShare.add(oreReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accOrePerShare).div(1e12).sub(user.rewardDebt);
    }


    function deposit(uint256 _amount) public {
        UserInfo storage user = userInfo[msg.sender];
        updatePool();
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(poolInfo.accOrePerShare).div(1e12).sub(user.rewardDebt);
            safeAppleTransfer(msg.sender, pending);
        }
        mintCertificate(_amount);
        IMasterChef(masterChef).deposit(pid, _amount);
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(poolInfo.accOrePerShare).div(1e12);
        user.created_at = block.timestamp;
        emit Deposit(msg.sender, _amount);
    }


    function withdraw(uint256 _amount) public {
        UserInfo storage user = userInfo[msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool();
        uint256 pending = user.amount.mul(poolInfo.accOrePerShare).div(1e12).sub(user.rewardDebt);
        IMasterChef(masterChef).withdraw(pid, _amount);
        safeAppleTransfer(msg.sender, pending);
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(poolInfo.accOrePerShare).div(1e12);
        uint256 time = block.timestamp;
        if(time.sub(user.created_at) < period && taxRadio > 0){
            burnCertificate(taxAddress, _amount.mul(taxRadio).div(1000));
            burnCertificate(msg.sender, _amount.mul(1000 - taxRadio).div(1000));
        }else{
            burnCertificate(msg.sender, _amount);
        }
        emit Withdraw(msg.sender, _amount);
    }


    function emergencyWithdraw() public {
        UserInfo storage user = userInfo[msg.sender];
        uint256 time = block.timestamp;
        if(time.sub(user.created_at) < period && taxRadio > 0){
            safeAppleTransfer(taxAddress,user.amount.mul(taxRadio).div(1000));
            safeAppleTransfer(msg.sender,user.amount.mul(1000 - taxRadio).div(1000));
        }else{
            safeAppleTransfer(msg.sender, user.amount);
        }
        user.amount = 0;
        user.rewardDebt = 0;
    }

    function safeAppleTransfer(address _to, uint256 _amount) internal {
        uint256 oreBal = IERC20(apple).balanceOf(address(this));
        if (_amount > oreBal) {
            IERC20(apple).transfer(_to, oreBal);
        }else{
            IERC20(apple).transfer(_to, _amount);
        }
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_certificate","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"apple","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"certificate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"masterChef","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingOre","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"period","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolInfo","outputs":[{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accOrePerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"setPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"setPid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_radio","type":"uint256"}],"name":"setRadio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"taxAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRadio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","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"},{"internalType":"uint256","name":"created_at","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c80638da5cb5b116100b8578063db2e21bc1161007c578063db2e21bc1461049d578063dc5e40c4146104a7578063ef78d4fd146104d5578063f1068454146104f3578063f2fde38b14610511578063fc0c546a1461055557610142565b80638da5cb5b1461036b5780638ee299ca1461039f578063b6b55f25146103f7578063b7bda68f14610425578063ce5494bb1461045957610142565b80632e1a7d4d1161010a5780632e1a7d4d14610281578063521afe57146102af578063575a86b2146102cd5780635a2f3d09146103015780635e88bc141461032d578063715018a61461036157610142565b80630d237151146101475780630f3a9f651461018b5780631959a002146101b95780631b0d8aab1461021f5780632dbf7b981461024d575b600080fd5b6101896004803603602081101561015d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610589565b005b6101b7600480360360208110156101a157600080fd5b810190808035906020019092919050505061071f565b005b6101fb600480360360208110156101cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107d8565b60405180848152602001838152602001828152602001935050505060405180910390f35b61024b6004803603602081101561023557600080fd5b8101908080359060200190929190505050610802565b005b61025561099b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102ad6004803603602081101561029757600080fd5b81019080803590602001909291905050506109c1565b005b6102b7610cef565b6040518082815260200191505060405180910390f35b6102d5610cf5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610309610d1b565b60405180848152602001838152602001828152602001935050505060405180910390f35b610335610d33565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610369610d59565b005b610373610ec6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103e1600480360360208110156103b557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610eef565b6040518082815260200191505060405180910390f35b6104236004803603602081101561040d57600080fd5b81019080803590602001909291905050506112f1565b005b61042d6114f7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049b6004803603602081101561046f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061151d565b005b6104a5611804565b005b6104d3600480360360208110156104bd57600080fd5b8101908080359060200190929190505050611938565b005b6104dd611a68565b6040518082815260200191505060405180910390f35b6104fb611a6e565b6040518082815260200191505060405180910390f35b6105536004803603602081101561052757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a74565b005b61055d611c66565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610591611e69565b73ffffffffffffffffffffffffffffffffffffffff166105af610ec6565b73ffffffffffffffffffffffffffffffffffffffff1614610638576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156106db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4d6173746572436865663a2074617841646472657373206e6f7420300000000081525060200191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610727611e69565b73ffffffffffffffffffffffffffffffffffffffff16610745610ec6565b73ffffffffffffffffffffffffffffffffffffffff16146107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060038190555050565b600c6020528060005260406000206000915090508060000154908060010154908060020154905083565b61080a611e69565b73ffffffffffffffffffffffffffffffffffffffff16610828610ec6565b73ffffffffffffffffffffffffffffffffffffffff16146108b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806006819055506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631526fe276006546040518263ffffffff1660e01b81526004018082815260200191505060806040518083038186803b15801561092f57600080fd5b505afa158015610943573d6000803e3d6000fd5b505050506040513d608081101561095957600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050505050915050806009600001819055505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015610a7e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610a86611e71565b6000610ad18260010154610ac364e8d4a51000610ab5600960020154876000015461237890919063ffffffff16565b6123fe90919063ffffffff16565b61248790919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663441a3e70600654856040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015610b5257600080fd5b505af1158015610b66573d6000803e3d6000fd5b50505050610b74338261250a565b610b8b83836000015461248790919063ffffffff16565b8260000181905550610bc664e8d4a51000610bb8600960020154856000015461237890919063ffffffff16565b6123fe90919063ffffffff16565b82600101819055506000429050600354610bed84600201548361248790919063ffffffff16565b108015610bfc57506000600854115b15610c9057610c55600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610c506103e8610c426008548961237890919063ffffffff16565b6123fe90919063ffffffff16565b612783565b610c8b33610c866103e8610c786008546103e8038961237890919063ffffffff16565b6123fe90919063ffffffff16565b612783565b610c9b565b610c9a3385612783565b5b3373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364856040518082815260200191505060405180910390a250505050565b60085481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60098060000154908060010154908060020154905083565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d61611e69565b73ffffffffffffffffffffffffffffffffffffffff16610d7f610ec6565b73ffffffffffffffffffffffffffffffffffffffff1614610e08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610fbe57600080fd5b505afa158015610fd2573d6000803e3d6000fd5b505050506040513d6020811015610fe857600080fd5b81019080805190602001909291905050509050600060096002015490506009600101544311801561101a575060008214155b156112a3576000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638dbb1e3a600960010154436040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d60208110156110cb57600080fd5b810190808051906020019092919050505090506000611260600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166317caf6f16040518163ffffffff1660e01b815260040160206040518083038186803b15801561114b57600080fd5b505afa15801561115f573d6000803e3d6000fd5b505050506040513d602081101561117557600080fd5b8101908080519060200190929190505050611252600960000154611244600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632d09b9c76040518163ffffffff1660e01b815260040160206040518083038186803b1580156111fa57600080fd5b505afa15801561120e573d6000803e3d6000fd5b505050506040513d602081101561122457600080fd5b81019080805190602001909291905050508761237890919063ffffffff16565b61237890919063ffffffff16565b6123fe90919063ffffffff16565b905061129e61128f8561128164e8d4a510008561237890919063ffffffff16565b6123fe90919063ffffffff16565b8461290190919063ffffffff16565b925050505b6112e783600101546112d964e8d4a510006112cb85886000015461237890919063ffffffff16565b6123fe90919063ffffffff16565b61248790919063ffffffff16565b9350505050919050565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061133c611e71565b6000816000015411156113a2576000611394826001015461138664e8d4a51000611378600960020154876000015461237890919063ffffffff16565b6123fe90919063ffffffff16565b61248790919063ffffffff16565b90506113a0338261250a565b505b6113ab82612989565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb158600654846040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561142a57600080fd5b505af115801561143e573d6000803e3d6000fd5b5050505061145982826000015461290190919063ffffffff16565b816000018190555061149464e8d4a51000611486600960020154846000015461237890919063ffffffff16565b6123fe90919063ffffffff16565b81600101819055504281600201819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040518082815260200191505060405180910390a25050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611525611e69565b73ffffffffffffffffffffffffffffffffffffffff16611543610ec6565b73ffffffffffffffffffffffffffffffffffffffff16146115cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561166f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6d6967726174653a206e6f206d69677261746f7200000000000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561173757600080fd5b505afa15801561174b573d6000803e3d6000fd5b505050506040513d602081101561176157600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156117c557600080fd5b505af11580156117d9573d6000803e3d6000fd5b505050506040513d60208110156117ef57600080fd5b81019080805190602001909291905050505050565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600042905060035461186683600201548361248790919063ffffffff16565b10801561187557506000600854115b15611911576118d2600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166118cd6103e86118bf600854876000015461237890919063ffffffff16565b6123fe90919063ffffffff16565b61250a565b61190c336119076103e86118f96008546103e803876000015461237890919063ffffffff16565b6123fe90919063ffffffff16565b61250a565b611920565b61191f33836000015461250a565b5b60008260000181905550600082600101819055505050565b611940611e69565b73ffffffffffffffffffffffffffffffffffffffff1661195e610ec6565b73ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6103e88110611a5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4d6173746572436865663a20746178526164696f20746f6f206269670000000081525060200191505060405180910390fd5b8060088190555050565b60035481565b60065481565b611a7c611e69565b73ffffffffffffffffffffffffffffffffffffffff16611a9a610ec6565b73ffffffffffffffffffffffffffffffffffffffff1614611b23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612ebf6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000811480611d5a575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015611d1d57600080fd5b505afa158015611d31573d6000803e3d6000fd5b505050506040513d6020811015611d4757600080fd5b8101908080519060200190929190505050145b611daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180612f566036913960400191505060405180910390fd5b611e4c8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a86565b505050565b6060611e608484600085612b75565b90509392505050565b600033905090565b6009600101544311611e8257612376565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611f0d57600080fd5b505afa158015611f21573d6000803e3d6000fd5b505050506040513d6020811015611f3757600080fd5b810190808051906020019092919050505090506000811415611f63574360096001018190555050612376565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631526fe276006546040518263ffffffff1660e01b81526004018082815260200191505060806040518083038186803b158015611fda57600080fd5b505afa158015611fee573d6000803e3d6000fd5b505050506040513d608081101561200457600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050505050915050806009600001819055506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638dbb1e3a600960010154436040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b1580156120c457600080fd5b505afa1580156120d8573d6000803e3d6000fd5b505050506040513d60208110156120ee57600080fd5b810190808051906020019092919050505090506000612283600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166317caf6f16040518163ffffffff1660e01b815260040160206040518083038186803b15801561216e57600080fd5b505afa158015612182573d6000803e3d6000fd5b505050506040513d602081101561219857600080fd5b8101908080519060200190929190505050612275600960000154612267600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632d09b9c76040518163ffffffff1660e01b815260040160206040518083038186803b15801561221d57600080fd5b505afa158015612231573d6000803e3d6000fd5b505050506040513d602081101561224757600080fd5b81019080805190602001909291905050508761237890919063ffffffff16565b61237890919063ffffffff16565b6123fe90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb15860065460006040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561230557600080fd5b505af1158015612319573d6000803e3d6000fd5b5050505061235e61234a8561233c64e8d4a510008561237890919063ffffffff16565b6123fe90919063ffffffff16565b60096002015461290190919063ffffffff16565b60096002018190555043600960010181905550505050505b565b60008083141561238b57600090506123f8565b600082840290508284828161239c57fe5b04146123f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f0b6021913960400191505060405180910390fd5b809150505b92915050565b6000808211612475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161247e57fe5b04905092915050565b6000828211156124ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561259557600080fd5b505afa1580156125a9573d6000803e3d6000fd5b505050506040513d60208110156125bf57600080fd5b81019080805190602001909291905050509050808211156126ae57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561266d57600080fd5b505af1158015612681573d6000803e3d6000fd5b505050506040513d602081101561269757600080fd5b81019080805190602001909291905050505061277e565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561274157600080fd5b505af1158015612755573d6000803e3d6000fd5b505050506040513d602081101561276b57600080fd5b8101908080519060200190929190505050505b505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac30836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561281657600080fd5b505af115801561282a573d6000803e3d6000fd5b50505050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156128c157600080fd5b505af11580156128d5573d6000803e3d6000fd5b505050506040513d60208110156128eb57600080fd5b8101908080519060200190929190505050505050565b60008082840190508381101561297f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6129d8333083600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d1e909392919063ffffffff16565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015612a6b57600080fd5b505af1158015612a7f573d6000803e3d6000fd5b5050505050565b6060612ae8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611e519092919063ffffffff16565b9050600081511115612b7057808060200190516020811015612b0957600080fd5b8101908080519060200190929190505050612b6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612f2c602a913960400191505060405180910390fd5b5b505050565b606082471015612bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612ee56026913960400191505060405180910390fd5b612bd985612ddf565b612c4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612c9b5780518252602082019150602081019050602083039250612c78565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612cfd576040519150601f19603f3d011682016040523d82523d6000602084013e612d02565b606091505b5091509150612d12828286612df2565b92505050949350505050565b612dd9846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a86565b50505050565b600080823b905060008111915050919050565b60608315612e0257829050612eb7565b600083511115612e155782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612e7c578082015181840152602081019050612e61565b50505050905090810190601f168015612ea95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220f5644ca6908a4d47762721d838141902ac1d16d744f2a8b9c24f6a3ffbebe6cd64736f6c634300060c0033

Deployed Bytecode Sourcemap

26218:6750:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27899:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27600:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27005:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27696:195;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26522:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31220:912;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26692:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26400:70;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26972:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26326:65;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2781:148;;;:::i;:::-;;2130:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29792:774;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30576:634;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26613:70;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28662:217;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32142:512;;;:::i;:::-;;28082:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26483:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26586:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3084:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26557:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27899:175;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27989:1:::1;27969:22;;:8;:22;;;;27961:63;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;28048:8;28035:10;;:21;;;;;;;;;;;;;;;;;;27899:175:::0;:::o;27600:88::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27673:7:::1;27664:6;:16;;;;27600:88:::0;:::o;27005:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;27696:195::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27760:4:::1;27754:3;:10;;;;27777:19;27814:10;;;;;;;;;;;27802:32;;;27835:3;;27802:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27775:64;;;;;27872:11;27850:8;:19;;:33;;;;2421:1;27696:195:::0;:::o;26522:26::-;;;;;;;;;;;;;:::o;31220:912::-;31273:21;31297:8;:20;31306:10;31297:20;;;;;;;;;;;;;;;31273:44;;31351:7;31336:4;:11;;;:22;;31328:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31392:12;:10;:12::i;:::-;31415:15;31433:71;31488:4;:15;;;31433:50;31478:4;31433:40;31449:8;:23;;;31433:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;31415:89;;31527:10;;;;;;;;;;;31515:32;;;31548:3;;31553:7;31515:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31572:38;31590:10;31602:7;31572:17;:38::i;:::-;31635:24;31651:7;31635:4;:11;;;:15;;:24;;;;:::i;:::-;31621:4;:11;;:38;;;;31688:50;31733:4;31688:40;31704:8;:23;;;31688:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;31670:4;:15;;:68;;;;31749:12;31764:15;31749:30;;31821:6;;31793:25;31802:4;:15;;;31793:4;:8;;:25;;;;:::i;:::-;:34;:50;;;;;31842:1;31831:8;;:12;31793:50;31790:290;;;31859:60;31875:10;;;;;;;;;;;31887:31;31913:4;31887:21;31899:8;;31887:7;:11;;:21;;;;:::i;:::-;:25;;:31;;;;:::i;:::-;31859:15;:60::i;:::-;31934:67;31950:10;31962:38;31995:4;31962:28;31981:8;;31974:4;:15;31962:7;:11;;:28;;;;:::i;:::-;:32;;:38;;;;:::i;:::-;31934:15;:67::i;:::-;31790:290;;;32032:36;32048:10;32060:7;32032:15;:36::i;:::-;31790:290;32104:10;32095:29;;;32116:7;32095:29;;;;;;;;;;;;;;;;;;31220:912;;;;:::o;26692:28::-;;;;:::o;26400:70::-;;;;;;;;;;;;;:::o;26972:24::-;;;;;;;;;;;;;;;;;;;:::o;26326:65::-;;;;;;;;;;;;;:::o;2781:148::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2888:1:::1;2851:40;;2872:6;::::0;::::1;;;;;;;;2851:40;;;;;;;;;;;;2919:1;2902:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2781:148::o:0;2130:87::-;2176:7;2203:6;;;;;;;;;;;2196:13;;2130:87;:::o;29792:774::-;29850:7;29870:21;29894:8;:15;29903:5;29894:15;;;;;;;;;;;;;;;29870:39;;29920:16;29946:5;;;;;;;;;;;29939:23;;;29971:4;29939:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29920:57;;29988:22;30013:8;:23;;;29988:48;;30066:8;:24;;;30051:12;:39;:56;;;;;30106:1;30094:8;:13;;30051:56;30047:432;;;30124:18;30157:10;;;;;;;;;;;30145:37;;;30183:8;:24;;;30209:12;30145:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30124:98;;30237:17;30257:125;30352:10;;;;;;;;;;;30340:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30257:78;30315:8;:19;;;30257:53;30284:10;;;;;;;;;;;30272:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30257:10;:14;;:53;;;;:::i;:::-;:57;;:78;;;;:::i;:::-;:82;;:125;;;;:::i;:::-;30237:145;;30414:53;30433:33;30457:8;30433:19;30447:4;30433:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;30414:14;:18;;:53;;;;:::i;:::-;30397:70;;30047:432;;;30496:62;30542:4;:15;;;30496:41;30532:4;30496:31;30512:14;30496:4;:11;;;:15;;:31;;;;:::i;:::-;:35;;:41;;;;:::i;:::-;:45;;:62;;;;:::i;:::-;30489:69;;;;;29792:774;;;:::o;30576:634::-;30628:21;30652:8;:20;30661:10;30652:20;;;;;;;;;;;;;;;30628:44;;30683:12;:10;:12::i;:::-;30724:1;30710:4;:11;;;:15;30706:190;;;30742:15;30760:71;30815:4;:15;;;30760:50;30805:4;30760:40;30776:8;:23;;;30760:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;30742:89;;30846:38;30864:10;30876:7;30846:17;:38::i;:::-;30706:190;;30906:24;30922:7;30906:15;:24::i;:::-;30953:10;;;;;;;;;;;30941:31;;;30973:3;;30978:7;30941:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31011:24;31027:7;31011:4;:11;;;:15;;:24;;;;:::i;:::-;30997:4;:11;;:38;;;;31064:50;31109:4;31064:40;31080:8;:23;;;31064:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;31046:4;:15;;:68;;;;31143:15;31125:4;:15;;:33;;;;31182:10;31174:28;;;31194:7;31174:28;;;;;;;;;;;;;;;;;;30576:634;;:::o;26613:70::-;;;;;;;;;;;;;:::o;28662:217::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28761:1:::1;28732:31;;28740:8;28732:31;;;;28724:64;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;28806:5;;;;;;;;;;;28799:22;;;28822:8;28839:5;;;;;;;;;;;28832:23;;;28864:4;28832:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;28799:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;28662:217:::0;:::o;32142:512::-;32189:21;32213:8;:20;32222:10;32213:20;;;;;;;;;;;;;;;32189:44;;32244:12;32259:15;32244:30;;32316:6;;32288:25;32297:4;:15;;;32288:4;:8;;:25;;;;:::i;:::-;:34;:50;;;;;32337:1;32326:8;;:12;32288:50;32285:306;;;32354:65;32372:10;;;;;;;;;;;32383:35;32413:4;32383:25;32399:8;;32383:4;:11;;;:15;;:25;;;;:::i;:::-;:29;;:35;;;;:::i;:::-;32354:17;:65::i;:::-;32434:72;32452:10;32463:42;32500:4;32463:32;32486:8;;32479:4;:15;32463:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:42;;;;:::i;:::-;32434:17;:72::i;:::-;32285:306;;;32537:42;32555:10;32567:4;:11;;;32537:17;:42::i;:::-;32285:306;32615:1;32601:4;:11;;:15;;;;32645:1;32627:4;:15;;:19;;;;32142:512;;:::o;28082:152::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28161:4:::1;28152:6;:13;28144:54;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;28220:6;28209:8;:17;;;;28082:152:::0;:::o;26483:30::-;;;;:::o;26586:18::-;;;;:::o;3084:244::-;2361:12;:10;:12::i;:::-;2350:23;;:7;:5;:7::i;:::-;:23;;;2342:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3193:1:::1;3173:22;;:8;:22;;;;3165:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3283:8;3254:38;;3275:6;::::0;::::1;;;;;;;;3254:38;;;;;;;;;;;;3312:8;3303:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;3084:244:::0;:::o;26557:20::-;;;;;;;;;;;;;:::o;22960:622::-;23339:1;23330:5;:10;23329:62;;;;23389:1;23346:5;:15;;;23370:4;23377:7;23346:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;23329:62;23321:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23484:90;23504:5;23534:22;;;23558:7;23567:5;23511:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23484:19;:90::i;:::-;22960:622;;;:::o;17296:195::-;17399:12;17431:52;17453:6;17461:4;17467:1;17470:12;17431:21;:52::i;:::-;17424:59;;17296:195;;;;;:::o;667:106::-;720:15;755:10;748:17;;667:106;:::o;28887:894::-;28948:8;:24;;;28932:12;:40;28928:79;;28989:7;;28928:79;29017:16;29043:5;;;;;;;;;;;29036:23;;;29068:4;29036:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29017:57;;29101:1;29089:8;:13;29085:106;;;29146:12;29119:8;:24;;:39;;;;29173:7;;;29085:106;29203:19;29240:10;;;;;;;;;;;29228:32;;;29261:3;;29228:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29201:64;;;;;29298:11;29276:8;:19;;:33;;;;29320:18;29353:10;;;;;;;;;;;29341:37;;;29379:8;:24;;;29405:12;29341:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29320:98;;29429:17;29449:125;29544:10;;;;;;;;;;;29532:39;;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29449:78;29507:8;:19;;;29449:53;29476:10;;;;;;;;;;;29464:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29449:10;:14;;:53;;;;:::i;:::-;:57;;:78;;;;:::i;:::-;:82;;:125;;;;:::i;:::-;29429:145;;29597:10;;;;;;;;;;;29585:31;;;29617:3;;29622:1;29585:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29661:62;29689:33;29713:8;29689:19;29703:4;29689:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;29661:8;:23;;;:27;;:62;;;;:::i;:::-;29635:8;:23;;:88;;;;29761:12;29734:8;:24;;:39;;;;28887:894;;;;;:::o;9818:220::-;9876:7;9905:1;9900;:6;9896:20;;;9915:1;9908:8;;;;9896:20;9927:9;9943:1;9939;:5;9927:17;;9972:1;9967;9963;:5;;;;;;:10;9955:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10029:1;10022:8;;;9818:220;;;;;:::o;10516:153::-;10574:7;10606:1;10602;:5;10594:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10660:1;10656;:5;;;;;;10649:12;;10516:153;;;;:::o;9401:158::-;9459:7;9492:1;9487;:6;;9479:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9550:1;9546;:5;9539:12;;9401:158;;;;:::o;32662:301::-;32739:14;32763:5;;;;;;;;;;;32756:23;;;32788:4;32756:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32739:55;;32819:6;32809:7;:16;32805:151;;;32849:5;;;;;;;;;;;32842:22;;;32865:3;32870:6;32842:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32805:151;;;32915:5;;;;;;;;;;;32908:22;;;32931:3;32936:7;32908:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32805:151;32662:301;;;:::o;28462:192::-;28553:11;;;;;;;;;;;28540:30;;;28579:4;28586:7;28540:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28612:5;;;;;;;;;;;28605:22;;;28628:8;28638:7;28605:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28462:192;;:::o;8939:179::-;8997:7;9017:9;9033:1;9029;:5;9017:17;;9058:1;9053;:6;;9045:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9109:1;9102:8;;;8939:179;;;;:::o;28242:208::-;28302:75;28341:10;28362:4;28369:7;28309:5;;;;;;;;;;;28302:30;;;;:75;;;;;;:::i;:::-;28401:11;;;;;;;;;;;28388:30;;;28427:4;28434:7;28388:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28242:208;:::o;24606:761::-;25030:23;25056:69;25084:4;25056:69;;;;;;;;;;;;;;;;;25064:5;25056:27;;;;:69;;;;;:::i;:::-;25030:95;;25160:1;25140:10;:17;:21;25136:224;;;25282:10;25271:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25263:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25136:224;24606:761;;;:::o;18348:530::-;18475:12;18533:5;18508:21;:30;;18500:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18600:18;18611:6;18600:10;:18::i;:::-;18592:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18726:12;18740:23;18767:6;:11;;18787:5;18795:4;18767:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18725:75;;;;18818:52;18836:7;18845:10;18857:12;18818:17;:52::i;:::-;18811:59;;;;18348:530;;;;;;:::o;22486:205::-;22587:96;22607:5;22637:27;;;22666:4;22672:2;22676:5;22614:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22587:19;:96::i;:::-;22486:205;;;;:::o;14378:422::-;14438:4;14646:12;14757:7;14745:20;14737:28;;14791:1;14784:4;:8;14777:15;;;14378:422;;;:::o;20888:742::-;21003:12;21032:7;21028:595;;;21063:10;21056:17;;;;21028:595;21197:1;21177:10;:17;:21;21173:439;;;21440:10;21434:17;21501:15;21488:10;21484:2;21480:19;21473:44;21388:148;21583:12;21576:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20888:742;;;;;;:::o

Swarm Source

ipfs://f5644ca6908a4d47762721d838141902ac1d16d744f2a8b9c24f6a3ffbebe6cd

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.